JPH0687260B2 - Still image processing method - Google Patents

Still image processing method

Info

Publication number
JPH0687260B2
JPH0687260B2 JP17201085A JP17201085A JPH0687260B2 JP H0687260 B2 JPH0687260 B2 JP H0687260B2 JP 17201085 A JP17201085 A JP 17201085A JP 17201085 A JP17201085 A JP 17201085A JP H0687260 B2 JPH0687260 B2 JP H0687260B2
Authority
JP
Japan
Prior art keywords
image
memory
processing
still image
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP17201085A
Other languages
Japanese (ja)
Other versions
JPS6232576A (en
Inventor
裕行 木村
宏爾 高橋
一宣 漆原
進 松村
眞 勝間
宏志 大村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP17201085A priority Critical patent/JPH0687260B2/en
Publication of JPS6232576A publication Critical patent/JPS6232576A/en
Priority to US07/489,738 priority patent/US5125041A/en
Publication of JPH0687260B2 publication Critical patent/JPH0687260B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 <技術分野> 本発明は一画面静止画像の一部又は全部を所定方向にシ
フトすることにより流し処理を実行する静止画像処理方
法に関する。
Description: TECHNICAL FIELD The present invention relates to a still image processing method for performing a panning process by shifting a part or all of a one-screen still image in a predetermined direction.

<従来技術> 上記流し処理を撮影時に光学的に行う方法として流し撮
り、或は露光中ズーミング等があった。流し撮りは、シ
ヤツタ速度を遅くして動いている被写体(車,人,自転
車等)の動きに合わせて撮影することにより、動いてい
る被写体を止め、背景を移動させることによりスピード
感を得るものである。
<Prior Art> As a method of optically performing the above-mentioned flow processing at the time of photographing, there are flow photographing, zooming during exposure and the like. The follow shot captures the movement of a moving subject (car, person, bicycle, etc.) at a slow shutter speed to stop the moving subject and move the background to obtain a sense of speed. Is.

一方、露光中ズーミングは露光中にズームレンズの焦点
距離を変え、画面中心の被写体を強調し、画面周辺の画
像を放射方向に流すものであった。
On the other hand, zooming during exposure involves changing the focal length of the zoom lens during exposure to emphasize the subject at the center of the screen and let the image around the screen flow in the radial direction.

上述の如き撮影手法は非常に高度なテクニックを必要と
していた。
The shooting method as described above requires a very advanced technique.

そこで撮影時には背景が流れていない画像等に電気的画
像処理を施すことにより流し処理の効果を得ることが考
えられる。
Therefore, it is conceivable that the effect of the panning process can be obtained by performing the electric image processing on the image or the like in which the background is not flowing at the time of photographing.

しかしながら、例えば流し撮りの場合には次の様な問題
点がある。
However, for example, in the case of panning, there are the following problems.

第2図において、Aは元の静止画、Bは止めておく被写
体としての車、Cは流し処理される背景領域、Dは流し
処理される方向と量を示すベクトル矢印である。
In FIG. 2, A is an original still image, B is a car as a subject to be stopped, C is a background area to be flow processed, and D is a vector arrow indicating the direction and amount of flow processing.

流し処理を実行する場合、元の画像の背景領域の各画像
は矢印Dで示す方向にシフトされる訳であるが、領域E
には元の画像が存在しないので領域C内にシフトするこ
とができない。
When the flow process is executed, each image in the background area of the original image is shifted in the direction indicated by the arrow D, but the area E
Since there is no original image in C, it cannot be shifted into region C.

又、シフト後の領域Fには車の影になって元の画像が存
在しないのでシフトすることができない。
Further, since the original image does not exist in the area F after the shift due to the shadow of the car, the shift cannot be performed.

この為、有効な流し処理効果を得ることができないとい
う問題点がある。
For this reason, there is a problem in that it is impossible to obtain an effective flow-through treatment effect.

<目 的> 本発明の目的は、上述の様な問題点を解決し、効果のあ
る流し処理を実行できる静止画像処理方法を提供するこ
とにある。
<Objective> An object of the present invention is to provide a still image processing method capable of solving the above-mentioned problems and executing effective flow processing.

ここで、流し処理とは前述した光学的な流し撮り、或は
露光中ズーミングを画像処理により行うことを表わすも
のである。
Here, the panning process means that the above-described optical panning or zooming during exposure is performed by image processing.

本発明は、原静止画像を第1のメモリに格納し、第1の
メモリ内の画像の流される画素のデータを所定方向にシ
フトし、シフトされた画素のデータを第1のメモリに再
格納し、シフトされた画素のデータを第2のメモリに積
算し、シフト処理、再格納処理及び積算処理を繰り返す
ことによって流し処理を実行し、又原静止画像の指定さ
れた静止領域の画素のデータは第1のメモリの値を維持
することを特徴とするものである。
The present invention stores the original still image in the first memory, shifts the pixel data of the image in the first memory to be shifted in a predetermined direction, and stores the shifted pixel data again in the first memory. Then, the shifted pixel data is integrated into the second memory, and the flow processing is executed by repeating the shift processing, the re-storing processing, and the integration processing, and the data of the pixel in the specified still area of the original still image is executed. Is characterized by maintaining the value of the first memory.

<実施例> 第1図に本発明の一実施例の制御ブロツク図を示す。<Embodiment> FIG. 1 shows a control block diagram of an embodiment of the present invention.

図において11は第2図の領域B即ち静止領域を指定する
静止領域指定部でマウス等により構成される。13はCPU
で全体の制御を実行する。15はCPU13の処理に必要なデ
ータを一時格納するRAMである。17はイメージコントロ
ーラでコンピユータバスCBとイメージバスIB間のインタ
フエースである。19はROMでCPU13の制御プログラムを格
納する。20はパラメータ入力部で流し処理の方向及び距
離のパラメータを入力する。21は入力静止画信号INをデ
ジタル値に変換するA/D変換器、23はイメージ処理を実
行するイメージプロセツサ、25は入力静止画信号をR,G,
B各画面に分けて記憶するイメージメモリ、27,29,31は
イメージ処理用のワークメモリ、33は演算結果を記憶す
る積算画面メモリ、35は処理済の画像をアナログ信号に
変換して出力するD/A変換器である。
In the figure, reference numeral 11 is a region B in FIG. 2, that is, a stationary region designating unit for designating a stationary region, which is constituted by a mouse or the like. 13 is CPU
To execute the whole control. Reference numeral 15 is a RAM for temporarily storing data required for processing by the CPU 13. An image controller 17 is an interface between the computer bus CB and the image bus IB. The ROM 19 stores the control program of the CPU 13. A parameter input unit 20 inputs parameters of the direction and distance of the flow processing. 21 is an A / D converter that converts the input still image signal IN into a digital value, 23 is an image processor that executes image processing, 25 is an R, G,
B Image memory that stores each screen separately, 27, 29, 31 are work memories for image processing, 33 is an integrated screen memory that stores calculation results, and 35 is a processed image converted into an analog signal and output. It is a D / A converter.

以上の如き構成の画像処理装置を用いた場合の流し撮り
効果を得る為の処理プログラムを第3図に示す。
FIG. 3 shows a processing program for obtaining the follow shot effect when the image processing apparatus having the above-described configuration is used.

以下第3図を用いて説明する。This will be described below with reference to FIG.

まずステツプS1でオペレータは静止領域(第2図B)を
指定部11で指定し、流す方向及び距離をパラメータ入力
部20で指定する。
First, in step S1, the operator designates the stationary region (FIG. 2B) by the designating unit 11, and designates the flowing direction and distance by the parameter input unit 20.

次に、領域を定める為に指定されたループが切れている
ことがよくあるのでループのエツジ部を抽出し、抽出し
たエツジの拡散や細線化の処理等を活用して静止領域が
閉ループになる様に処理する(S2)。そして閉ループに
囲まれた静止領域を示すビツトマツプをワークメモリ1
(第1図27)に格納する(S3)。
Next, the loop specified for defining the area is often broken, so the edge part of the loop is extracted and the still area becomes a closed loop by utilizing the processing of diffusion and thinning of the extracted edge. Process (S2). Then, a work map 1 showing a bit map showing a stationary area surrounded by a closed loop
It is stored in (Fig. 1, Fig. 27) (S3).

次にワークメモリ1の内容をワークメモリ2に複写し
(S4)、更にワークメモリ2を流す方向へ距離1だけシ
フトする(S5)。
Next, the contents of the work memory 1 are copied to the work memory 2 (S4), and the work memory 2 is further shifted by the distance 1 in the flowing direction (S5).

そしてワークメモリ1のビツトマツプとワークメモリ2
のビツトマツプについて論理和を取り、そのビツトマツ
プを再びワークメモリ2へ入れる(S6)。
And the work map of work memory 1 and work memory 2
The logical sum of the above bit maps is taken and the bit map is put into the work memory 2 again (S6).

更に流す方向とは逆方向の画面端部の線(第2図G)に
対応するワークメモリ2内のビツトを立てる(S7)。
Further, a bit is set in the work memory 2 corresponding to a line at the end of the screen (FIG. 2G) in the direction opposite to the flowing direction (S7).

以上の動作により、ワークメモリ2内に静止領域と、静
止領域を距離1だけシフトした領域と、流す方向とは逆
方向の画面端部を示すビツトマツプが形成される。
By the above operation, the still area, the area obtained by shifting the still area by the distance 1 and the bit map indicating the screen end portion in the direction opposite to the flowing direction are formed in the work memory 2.

次にオリジナル画像のR画面全部をワークメモリ3へ写
し、移動した量を示すLを0にセツトする(S8)。そし
てワークメモリ3の画面を流す方向に距離1シフトして
ワークメモリ3に再び格納する(S9)。
Next, the entire R screen of the original image is copied to the work memory 3, and L indicating the moved amount is set to 0 (S8). Then, the screen of the work memory 3 is shifted by a distance of 1 in the flowing direction and stored again in the work memory 3 (S9).

ワークメモリ3の内容を順に積算画面メモリ33に加算し
ていくことになるが、単に加算して行くと静止領域まで
流れてしまう。そこで静止領域だけは元の画像位置に戻
す必要がある。また静止領域の裏側から移動した部分
(第2図F)は背景(第2図C)の画像ではない。又、
流す方向とは逆方向の画面端部については流すべき元の
画像位置(第2図E)に画像が存在しない。
The contents of the work memory 3 will be sequentially added to the integrated screen memory 33, but if they are simply added, they will flow to the still area. Therefore, only the still area needs to be returned to the original image position. Further, the portion moved from the back side of the stationary area (Fig. 2F) is not the image of the background (Fig. 2C). or,
No image exists at the original image position to be flowed (FIG. 2E) at the screen edge portion in the direction opposite to the flow direction.

そこでステップS1〜S7で作成したワークメモリ2を利用
する。即ち、ステツプS10では、ワークメモリ2でビツ
トが立っている部分のオリジナル画像(R画像:イメー
ジメモリ25内に格納されている)を取り出し、ワークメ
モリ3のその部分と置き換えて、再びワークメモリ3に
格納する。この様にすることにより、ワークメモリ3内
の静止領域部分は元の画像位置に戻される。又、静止領
域から移動した部分も元の位置の背景情報に置換され、
流す方向の逆の画面端部から移動した部分も元の位置の
背景情報に置換される。
Therefore, the work memory 2 created in steps S1 to S7 is used. That is, in step S10, the original image (R image: stored in the image memory 25) of the part where the bit is standing in the work memory 2 is taken out, replaced with that part of the work memory 3, and again the work memory 3 is read. To store. By doing so, the static area portion in the work memory 3 is returned to the original image position. Also, the part moved from the still area is replaced with the background information of the original position,
The background information at the original position is also substituted for the portion moved from the screen end opposite to the flowing direction.

以上の操作により得られたワークメモリ3内の画像を積
算画像メモリ33に加算する(S11)。そして一回の移動
が終了したのでLをインクリメントし、Lが流す距離に
達するまでS9〜S13の動作を繰返す。
The image in the work memory 3 obtained by the above operation is added to the integrated image memory 33 (S11). Then, since one movement is completed, L is incremented and the operations of S9 to S13 are repeated until the distance at which L flows is reached.

尚、積算画面メモリ33は1ドツトについて画像の最高階
調数を流す距離だけ加算してもオーバーフローしないだ
けのビツト数が必要である。
The integrated screen memory 33 needs to have a bit number that does not cause an overflow even if the distance for flowing the maximum number of gradations of the image is added to one dot.

流す距離だけ画面シフトが完了すると、積算画面メモリ
の各ドツトのデータを流した距離Lで割り、各ドツトに
ついての平均濃度を得る(S15)。以上の如くしてR画
面についての流し処理が完了する。
When the screen shift is completed by the flow distance, the data of each dot in the integrated screen memory is divided by the flow distance L to obtain the average density for each dot (S15). As described above, the flow process for the R screen is completed.

次いでG画面,B画面についてもワークメモリ3、積算画
面メモリ33の内容をリセツトしてS8〜S14の動作を繰返
せば最終的な流し撮りの画像が完成する。
Next, for the G and B screens, the contents of the work memory 3 and the integration screen memory 33 are reset and the operations of S8 to S14 are repeated to complete the final panned image.

以上の様にして得た流し撮り処理済の画像と元の画像を
夫々参考写真2,参考写真1として添付した。
The images after panning processing and the original images obtained as described above are attached as Reference Photo 2 and Reference Photo 1, respectively.

尚、本実施例においては流す方向を画像の1つのエツジ
と平行な方向に設定したが、斜め方向に設定しても良
い。この場合には流す方向の逆の画面端部が2位置にな
るが同様に処理できる。
In this embodiment, the flowing direction is set parallel to one edge of the image, but it may be set diagonally. In this case, the screen edge portion opposite to the flowing direction is at two positions, but the same processing can be performed.

又、以上の実施例においては流し処理を例に説明した
が、露光中ズーミング処理等の他の流し処理に本発明を
適用することも勿論可能である。露光中ズーミングの場
合には流す方向が放射状となるので、各方向について流
し処理を行えば良い。又、画面の一部のみを流す例につ
いて説明したが、全体を流す場合にも勿論本発明を適用
できる。
Further, in the above embodiments, the flow processing has been described as an example, but the present invention can of course be applied to other flow processing such as zooming during exposure. In the case of zooming during exposure, the flow direction is radial, so the flow processing may be performed in each direction. Further, although the example in which only a part of the screen is flown has been described, the present invention can be applied to the case where the entire screen is flown.

<効 果> 以上のごとく、本発明によれば、光学的な流し処理、露
光中ズーミング等を画像処理によって実現できるだけで
なく、静止領域は確実に静止できるので、違和感のない
新静止画像を作成できる。
<Effect> As described above, according to the present invention, not only optical flow processing, zooming during exposure, etc. can be realized by image processing, but also the still region can be surely stopped, so that a new still image without discomfort can be created. it can.

【図面の簡単な説明】[Brief description of drawings]

第1図は本実施例の画像処理装置の制御ブロツク図、第
2図は流し撮り処理の説明図、第3図は流し撮り処理の
制御フローチヤートを示す図である。
FIG. 1 is a control block diagram of the image processing apparatus of this embodiment, FIG. 2 is an explanatory diagram of follow shot processing, and FIG. 3 is a control flow chart of the follow shot processing.

フロントページの続き (72)発明者 松村 進 神奈川県川崎市高津区下野毛770番地 キ ヤノン株式会社玉川事業所内 (72)発明者 勝間 眞 神奈川県川崎市高津区下野毛770番地 キ ヤノン株式会社玉川事業所内 (72)発明者 大村 宏志 神奈川県川崎市高津区下野毛770番地 キ ヤノン株式会社玉川事業所内Front page continuation (72) Inventor Susumu Matsumura Kanagawa Prefecture Kawasaki City Takatsu-ku 770 Shimonoge Office, Tamagawa Works Canon Inc. (72) Inventor Hiroshi Omura, Tamano Works, Canon Inc., 770, Shimonoge, Takatsu-ku, Kawasaki City, Kanagawa Prefecture

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】一画面の原静止画像を構成する画素に対し
て画像処理を施すことにより、前記原静止画像の一部又
は全部が所定方向に流れたように見える新静止画像を得
る静止画像処理方法であって、 前記原静止画像を第1のメモリに格納し、 前記第1のメモリ内の画像の流される画素のデータを前
記所定方向にシフトして、 シフトされた画素のデータを前記第1のメモリに再格納
し、 前記シフト処理された画素のデータを第2のメモリに積
算し、 前記第1のメモリ内の画像に対して前記シフト処理、前
記再格納処理及び前記積算処理を複数回繰り返し、 前記原静止画像の指定された静止領域に対しては前記第
1メモリ内の前記原静止画像の画素のデータを維持する
ことを特徴とする静止画像処理方法。
1. A still image for obtaining a new still image in which a part or all of the original still image appears to flow in a predetermined direction by performing image processing on pixels constituting the original still image of one screen. A method of processing, comprising storing the original still image in a first memory, shifting pixel data of an image in the first memory in the predetermined direction, and shifting the shifted pixel data to the predetermined direction. The image data in the first memory is stored again in the first memory, the shifted pixel data is integrated in the second memory, and the shift processing, the re-storing processing, and the integration processing are performed on the image in the first memory. Repeated a plurality of times, maintaining data of pixels of the original still image in the first memory for a specified still area of the original still image.
JP17201085A 1985-08-05 1985-08-05 Still image processing method Expired - Fee Related JPH0687260B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP17201085A JPH0687260B2 (en) 1985-08-05 1985-08-05 Still image processing method
US07/489,738 US5125041A (en) 1985-08-05 1990-02-28 Still image processing method for blurring an image background and producing a visual flowing effect

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17201085A JPH0687260B2 (en) 1985-08-05 1985-08-05 Still image processing method

Publications (2)

Publication Number Publication Date
JPS6232576A JPS6232576A (en) 1987-02-12
JPH0687260B2 true JPH0687260B2 (en) 1994-11-02

Family

ID=15933850

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17201085A Expired - Fee Related JPH0687260B2 (en) 1985-08-05 1985-08-05 Still image processing method

Country Status (1)

Country Link
JP (1) JPH0687260B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6262378B1 (en) * 2017-02-09 2018-01-17 Ckd株式会社 Substrate inspection apparatus, substrate inspection method, and substrate manufacturing method

Also Published As

Publication number Publication date
JPS6232576A (en) 1987-02-12

Similar Documents

Publication Publication Date Title
BR112020006869A2 (en) image signal processor for image processing
US4536848A (en) Method and apparatus for colored computer graphic photography
US5249058A (en) Apparatus for automatically focusing a camera lens
CA1198152A (en) Computer graphic system with foreground/background discrimination
EP0880755B1 (en) Increased depth of field for photography
KR102400283B1 (en) Image processing apparatus, image processing method, and program
DE102020108640A1 (en) Voice-controlled camera with AI scene detection for precise focusing
US5125041A (en) Still image processing method for blurring an image background and producing a visual flowing effect
JPS60500237A (en) Resolution improvement and zooming by deterioration evaluation
CN106296574A (en) 3-d photographs generates method and apparatus
JP3038051B2 (en) Video region extraction device
JPH0687260B2 (en) Still image processing method
JPH07113961B2 (en) Signal processor
JP2000259823A (en) Image processor, image processing method and storage medium
CN115578260A (en) Attention method and system for direction decoupling for image super-resolution
JPH0293444A (en) Camera capable of setting trimming magnification and printing device
CN105827936A (en) Image processing method and mobile terminal
CA1203005A (en) Method and apparatus for colored computer graphic photography
JPS6344284A (en) Still picture processing method
JPS62202272A (en) Static image processing method
KR950007026B1 (en) Digital zoom function apparatus for camera
JPS6344283A (en) Still picture processing method
WO2022197001A1 (en) Method and electronic device for removing artifact in high resolution image
Wu et al. A novel multiple exposure merging method for high dynamic range image generation
JP2924528B2 (en) Labeling processing method and labeling processing apparatus

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees