JP6456750B2 - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP6456750B2
JP6456750B2 JP2015069704A JP2015069704A JP6456750B2 JP 6456750 B2 JP6456750 B2 JP 6456750B2 JP 2015069704 A JP2015069704 A JP 2015069704A JP 2015069704 A JP2015069704 A JP 2015069704A JP 6456750 B2 JP6456750 B2 JP 6456750B2
Authority
JP
Japan
Prior art keywords
display magnification
display
target image
trimming
magnification
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.)
Active
Application number
JP2015069704A
Other languages
Japanese (ja)
Other versions
JP2016188986A (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.)
Hoya Corp
Original Assignee
Hoya Corp
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 Hoya Corp filed Critical Hoya Corp
Priority to JP2015069704A priority Critical patent/JP6456750B2/en
Publication of JP2016188986A publication Critical patent/JP2016188986A/en
Application granted granted Critical
Publication of JP6456750B2 publication Critical patent/JP6456750B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、対象画像の表示倍率を変更することが可能な画像処理装置に関する。   The present invention relates to an image processing apparatus capable of changing a display magnification of a target image.

デジタルズーム機能を備えた画像処理装置が知られている。例えば特許文献1に、この種の画像処理装置の具体的構成が記載されている。   An image processing apparatus having a digital zoom function is known. For example, Patent Document 1 describes a specific configuration of this type of image processing apparatus.

特許文献1に記載の画像処理装置は、患者の体腔内を撮影する内視鏡装置に備えられており、電子スコープによる撮影画像をデジタルズーム機能によって拡大表示又は縮小表示することが可能となっている。   The image processing apparatus described in Patent Document 1 is provided in an endoscope apparatus that images a patient's body cavity, and an image captured by an electronic scope can be enlarged or reduced by a digital zoom function. .

特開2011−172649号公報JP 2011-172649 A

図3は、特許文献1に例示される従来の画像処理装置において制御部により実行されるデジタルズーム処理(拡大ズームの場合の処理)のフローチャートを示す。図3の例では、現在の表示倍率をmと定義し、目標の表示倍率をnと定義する。   FIG. 3 is a flowchart of digital zoom processing (processing in the case of enlargement zoom) executed by the control unit in the conventional image processing apparatus exemplified in Patent Document 1. In the example of FIG. 3, the current display magnification is defined as m, and the target display magnification is defined as n.

ユーザ操作等により目標の表示倍率nが指定されると、制御部は、図3に示されるように、表示倍率をm=1に設定したうえで(S1)、対象画像のトリミングサイズ及びトリミング開始位置を算出し(S2、S3)、算出されたサイズ及び開始位置を後段の処理回路に設定してズーム処理の実行を命令する(S4)。これにより、後段の処理回路において対象画像がトリミングされ、トリミングされた対象画像がスケーリングされて、スケーリング後の対象画像がモニタの表示画面に表示される。次いで、制御部は、表示倍率をm=m+0.02に設定して(S5)、表示倍率mがnに達しているか否かを判定し(S6)、表示倍率mがnに達していなければ(S6:NO)、所定時間(例えば20ms)ウェイトして(S7)、処理ステップS2に戻る。制御部は、表示倍率mがnに達するまで(S6:YES)、処理ステップS2〜S7のループを実行する。対象画像は、処理ステップS2〜S7が実行される毎に目標の表示倍率nに近付くように拡大又は縮小されて、モニタの表示画面に表示される。   When the target display magnification n is designated by a user operation or the like, the control unit sets the display magnification to m = 1 as shown in FIG. 3 (S1), and starts trimming size and trimming of the target image. The position is calculated (S2, S3), the calculated size and start position are set in the subsequent processing circuit, and execution of zoom processing is instructed (S4). As a result, the target image is trimmed in the subsequent processing circuit, the trimmed target image is scaled, and the scaled target image is displayed on the display screen of the monitor. Next, the control unit sets the display magnification to m = m + 0.02 (S5), determines whether the display magnification m has reached n (S6), and if the display magnification m has not reached n. (S6: NO), wait for a predetermined time (for example, 20 ms) (S7), and return to processing step S2. The control unit executes a loop of processing steps S2 to S7 until the display magnification m reaches n (S6: YES). Each time processing steps S2 to S7 are executed, the target image is enlarged or reduced so as to approach the target display magnification n and displayed on the display screen of the monitor.

このように、デジタルズーム処理が目標の表示倍率nに至るまでの途中段階の倍率による対象画像の表示を可視化するものである場合、制御部は、後段の処理回路に対するズーム処理の命令を各倍率の段階で都度発行する必要がある。また、対象画像の変倍表示をユーザにスムーズに見せるためには、制御部によるズーム処理の命令発行を、映像信号の最小レート(1フィールドや1フレーム等のリフレッシュレート)と同期させる必要がある。しかし、制御部によるズーム処理の命令発行のタイミングを制御することは難しいため、例えば、対象画像が数フレーム(フィールド)続けて同じ倍率で表示されたり、本来表示すべき途中段階の倍率が抜けたりするという問題が指摘される。また、制御部は、デジタルズーム処理の実行中、ズーム処理の命令発行を短い周期で複数回実行する必要があるため、実質的に他の処理を受け付けることができないという問題も指摘される。   In this way, when the digital zoom processing is to visualize the display of the target image at the intermediate magnification until the target display magnification n reaches the target display magnification n, the control unit sends a zoom processing command to the subsequent processing circuit for each magnification. Must be issued at each stage. In addition, in order to make the zoom display of the target image appear smoothly to the user, it is necessary to synchronize the issuance of the zoom processing command by the control unit with the minimum rate of the video signal (refresh rate such as one field or one frame). . However, since it is difficult to control the timing of issuing a zoom processing command by the control unit, for example, the target image is displayed at the same magnification in succession for several frames (fields), or the magnification at the middle stage that should be displayed is lost. The problem of doing is pointed out. In addition, it is pointed out that the control unit is not able to accept other processes substantially because it is necessary to issue a zoom process command a plurality of times in a short cycle during execution of the digital zoom process.

本発明は上記の事情に鑑みてなされたものであり、その目的とするところは、デジタルズーム処理の実行に好適に構成された画像処理装置を提供することである。   The present invention has been made in view of the above circumstances, and an object thereof is to provide an image processing apparatus suitably configured to execute digital zoom processing.

本発明の一実施形態に係る画像処理装置は、基準となる第一の表示倍率から目標とする第二の表示倍率に至るまでの表示倍率に関するデータを所定の倍率値刻みで算出する算出手段と、所定の倍率値刻みで算出された、第一の表示倍率から第二の表示倍率に至るまでの各表示倍率に関するデータを保持する保持手段と、保持手段に保持された表示倍率に関するデータのうち第一の表示倍率に近い倍率値に対応するものから所定の時間間隔で順次出力する出力手段と、表示倍率に関するデータが出力される毎に、該出力された表示倍率に関するデータに基づいて対象画像のトリミング及びスケーリングを行う変倍処理手段とを備える。   An image processing apparatus according to an embodiment of the present invention includes a calculation unit that calculates data relating to a display magnification from a reference first display magnification to a target second display magnification in predetermined magnification value increments. A holding means for holding data relating to each display magnification from the first display magnification to the second display magnification, and data relating to the display magnification held in the holding means, calculated at predetermined magnification value increments; An output unit that sequentially outputs at a predetermined time interval from one corresponding to a magnification value close to the first display magnification, and a target image based on the output data relating to the display magnification each time data relating to the display magnification is outputted. Scaling processing means for performing trimming and scaling.

また、本発明の一実施形態において、所定の時間間隔は、例えば、対象画像の表示のリフレッシュレートに応じた時間間隔である。   In one embodiment of the present invention, the predetermined time interval is, for example, a time interval according to the refresh rate for displaying the target image.

また、本発明の一実施形態において、出力手段は、対象画像の表示を更新するための垂直同期信号を検知すると、その時点で保持手段に保持されている表示倍率に関するデータの中から第一の表示倍率に最も近い倍率値に対応するものを出力する構成としてもよい。   In one embodiment of the present invention, when the output unit detects a vertical synchronization signal for updating the display of the target image, the output unit selects the first of the data relating to the display magnification held in the holding unit at that time. A configuration corresponding to the magnification value closest to the display magnification may be output.

また、本発明の一実施形態において、表示倍率に関するデータは、例えば、変倍処理手段に対して対象画像のトリミングのサイズ及び開始位置を指定するものである。   In one embodiment of the present invention, the data relating to the display magnification specifies, for example, the size and start position of the target image trimming to the scaling processing means.

また、本発明の一実施形態において、保持手段は、例示的にはFIFOレジスタである。   In one embodiment of the present invention, the holding means is illustratively a FIFO register.

本発明の一実施形態によれば、デジタルズーム処理の実行に好適に構成された画像処理装置が提供される。   According to an embodiment of the present invention, an image processing apparatus suitably configured to execute digital zoom processing is provided.

本発明の一実施形態に係る電子内視鏡システムの構成を示すブロック図である。It is a block diagram which shows the structure of the electronic endoscope system which concerns on one Embodiment of this invention. 本発明の一実施形態に係る電子内視鏡システムに備えられるプロセッサにおいて実行されるデジタルズーム設定値算出処理のフローチャートを示す図である。It is a figure which shows the flowchart of the digital zoom setting value calculation process performed in the processor with which the electronic endoscope system which concerns on one Embodiment of this invention is equipped. 従来の画像処理装置において実行されるデジタルズーム処理のフローチャートを示す図である。It is a figure which shows the flowchart of the digital zoom process performed in the conventional image processing apparatus.

以下、本発明の実施形態について図面を参照しながら説明する。なお、以下においては、本発明の一実施形態として電子内視鏡システムを例に取り説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following, an electronic endoscope system will be described as an example of an embodiment of the present invention.

[電子内視鏡システム1の構成]
図1は、本発明の一実施形態に係る電子内視鏡システム1の構成を示すブロック図である。図1に示されるように、電子内視鏡システム1は、電子スコープ100、プロセッサ200及びモニタ300を備えている。
[Configuration of Electronic Endoscope System 1]
FIG. 1 is a block diagram showing a configuration of an electronic endoscope system 1 according to an embodiment of the present invention. As shown in FIG. 1, the electronic endoscope system 1 includes an electronic scope 100, a processor 200, and a monitor 300.

プロセッサ200は、システムコントローラ202及びタイミングコントローラ204を備えている。システムコントローラ202は、メモリ212に記憶された各種プログラムを実行し、電子内視鏡システム1全体を統合的に制御する。また、システムコントローラ202は、操作パネル214に接続されている。システムコントローラ202は、操作パネル214より入力される術者からの指示に応じて、電子内視鏡システム1の各動作及び各動作のためのパラメータを変更する。タイミングコントローラ204は、各部の動作のタイミングを調整するクロックパルスを電子内視鏡システム1内の各回路に出力する。   The processor 200 includes a system controller 202 and a timing controller 204. The system controller 202 executes various programs stored in the memory 212 and controls the entire electronic endoscope system 1 in an integrated manner. The system controller 202 is connected to the operation panel 214. The system controller 202 changes each operation of the electronic endoscope system 1 and parameters for each operation in accordance with an instruction from the operator input from the operation panel 214. The timing controller 204 outputs a clock pulse for adjusting the operation timing of each unit to each circuit in the electronic endoscope system 1.

ランプ208は、ランプ電源イグナイタ206による始動後、照射光Lを射出する。ランプ208は、例えば、キセノンランプ、ハロゲンランプ、水銀ランプ、メタルハライドランプ等の高輝度ランプやLED(Light Emitting Diode)である。照射光Lは、主に可視光領域から不可視である赤外光領域に広がるスペクトルを持つ光(又は少なくとも可視光領域を含む白色光)である。   The lamp 208 emits the irradiation light L after being started by the lamp power igniter 206. The lamp 208 is, for example, a high-intensity lamp such as a xenon lamp, a halogen lamp, a mercury lamp, or a metal halide lamp, or an LED (Light Emitting Diode). The irradiation light L is light having a spectrum that spreads mainly from the visible light region to the invisible infrared light region (or white light including at least the visible light region).

ランプ208より射出された照射光Lは、集光レンズ210によりLCB(Light Carrying Bundle)102の入射端面に集光されてLCB102内に入射される。   The irradiation light L emitted from the lamp 208 is condensed on the incident end face of an LCB (Light Carrying Bundle) 102 by the condenser lens 210 and is incident on the LCB 102.

LCB102内に入射された照射光Lは、LCB102内を伝播して電子スコープ100の先端に配置されたLCB102の射出端面より射出され、配光レンズ104を介して被写体に照射される。照射光Lにより照射された被写体からの戻り光は、対物レンズ106を介して固体撮像素子108の受光面上で光学像を結ぶ。   Irradiation light L incident on the LCB 102 propagates through the LCB 102, exits from the exit end face of the LCB 102 disposed at the tip of the electronic scope 100, and irradiates the subject via the light distribution lens 104. The return light from the subject irradiated with the irradiation light L forms an optical image on the light receiving surface of the solid-state image sensor 108 via the objective lens 106.

固体撮像素子108は、補色市松型画素配置を有する単板式カラーCCD(Charge Coupled Device)イメージセンサである。固体撮像素子108は、受光面上の各画素で結像した光学像を光量に応じた電荷として蓄積して、イエローYe、シアンCy、グリーンG、マゼンタMgの画像信号を生成し、生成された垂直方向に隣接する2つの画素の画像信号を加算し混合して出力する。なお、固体撮像素子108は、CCDイメージセンサに限らず、CMOS(Complementary Metal Oxide Semiconductor)イメージセンサやその他の種類の撮像装置に置き換えられてもよい。固体撮像素子108はまた、原色系フィルタ(ベイヤ配列フィルタ)を搭載したものであってもよい。   The solid-state image sensor 108 is a single-plate color CCD (Charge Coupled Device) image sensor having a complementary color checkered pixel arrangement. The solid-state image sensor 108 accumulates an optical image formed by each pixel on the light receiving surface as a charge corresponding to the amount of light, and generates image signals of yellow Ye, cyan Cy, green G, and magenta Mg. The image signals of two pixels adjacent in the vertical direction are added, mixed, and output. The solid-state imaging element 108 is not limited to a CCD image sensor, and may be replaced with a CMOS (Complementary Metal Oxide Semiconductor) image sensor or other types of imaging devices. The solid-state image sensor 108 may also be one equipped with a primary color filter (Bayer array filter).

電子スコープ100の接続部内には、ドライバ信号処理回路110が備えられている。ドライバ信号処理回路110には、画像信号がフレーム周期で固体撮像素子108より入力される。なお、以降の説明において「フレーム」は「フィールド」に置き替えてもよい。本実施形態において、フレーム周期、フィールド周期はそれぞれ、1/30秒、1/60秒である。ドライバ信号処理回路110は、固体撮像素子108より入力される画像信号に対して所定の処理を施してプロセッサ200の前段信号処理回路220に出力する。   A driver signal processing circuit 110 is provided in the connection portion of the electronic scope 100. An image signal is input to the driver signal processing circuit 110 from the solid-state imaging device 108 in a frame cycle. In the following description, “frame” may be replaced with “field”. In the present embodiment, the frame period and the field period are 1/30 seconds and 1/60 seconds, respectively. The driver signal processing circuit 110 performs predetermined processing on the image signal input from the solid-state image sensor 108 and outputs the processed image signal to the previous signal processing circuit 220 of the processor 200.

ドライバ信号処理回路110はまた、メモリ112にアクセスして電子スコープ100の固有情報を読み出す。メモリ112に記録される電子スコープ100の固有情報には、例えば、固体撮像素子108の画素数や感度、動作可能なフレームレート、型番等が含まれる。ドライバ信号処理回路110は、メモリ112より読み出された固有情報をシステムコントローラ202に出力する。   The driver signal processing circuit 110 also accesses the memory 112 and reads the unique information of the electronic scope 100. The unique information of the electronic scope 100 recorded in the memory 112 includes, for example, the number and sensitivity of the solid-state image sensor 108, the operable frame rate, the model number, and the like. The driver signal processing circuit 110 outputs the unique information read from the memory 112 to the system controller 202.

システムコントローラ202は、電子スコープ100の固有情報に基づいて各種演算を行い、制御信号を生成する。システムコントローラ202は、生成された制御信号を用いて、プロセッサ200に接続されている電子スコープに適した処理がなされるようにプロセッサ200内の各種回路の動作やタイミングを制御する。   The system controller 202 performs various calculations based on the unique information of the electronic scope 100 and generates a control signal. The system controller 202 controls the operation and timing of various circuits in the processor 200 using the generated control signal so that processing suitable for the electronic scope connected to the processor 200 is performed.

タイミングコントローラ204は、システムコントローラ202によるタイミング制御に従って、ドライバ信号処理回路110にクロックパルスを供給する。ドライバ信号処理回路110は、タイミングコントローラ204から供給されるクロックパルスに従って、固体撮像素子108をプロセッサ200側で処理される映像のフレームレートに同期したタイミングで駆動制御する。   The timing controller 204 supplies clock pulses to the driver signal processing circuit 110 according to timing control by the system controller 202. The driver signal processing circuit 110 drives and controls the solid-state imaging device 108 at a timing synchronized with the frame rate of the video processed on the processor 200 side, according to the clock pulse supplied from the timing controller 204.

前段信号処理回路220は、ドライバ信号処理回路110より1フレーム周期で入力される画像信号に対して色補間、マトリックス演算、Y/C分離等の所定の信号処理を施して、後段信号処理回路230に出力する。   The pre-stage signal processing circuit 220 performs predetermined signal processing such as color interpolation, matrix calculation, and Y / C separation on the image signal input from the driver signal processing circuit 110 in one frame period, and the post-stage signal processing circuit 230. Output to.

後段信号処理回路230は、FIFO(First In First Out)レジスタ232、トリミング回路234、スケーラ回路236及び出力回路238を備えている。FIFOレジスタ232、トリミング回路234及びスケーラ回路236は、デジタルズーム処理回路を構成する。本実施形態において、デジタルズーム処理は、対象画像の中心座標を基準としてその一部をトリミングし、トリミングされた対象画像を電子的に拡大又は縮小する処理である。   The post-stage signal processing circuit 230 includes a first in first out (FIFO) register 232, a trimming circuit 234, a scaler circuit 236, and an output circuit 238. The FIFO register 232, the trimming circuit 234, and the scaler circuit 236 constitute a digital zoom processing circuit. In the present embodiment, the digital zoom process is a process of trimming a part of the target image with reference to the center coordinates of the target image and electronically enlarging or reducing the trimmed target image.

前段信号処理回路220より入力される画像信号は、必要に応じてデジタルズーム処理が施されて、出力回路238に入力される。出力回路238に入力された画像信号は、モニタ表示用の所定のビデオフォーマット信号に変換されてモニタ300に出力される。これにより、被写体のカラー画像がモニタ300の表示画面に表示される。   The image signal input from the pre-stage signal processing circuit 220 is subjected to digital zoom processing as necessary and input to the output circuit 238. The image signal input to the output circuit 238 is converted into a predetermined video format signal for monitor display and output to the monitor 300. As a result, a color image of the subject is displayed on the display screen of the monitor 300.

[デジタルズーム設定値算出処理]
図2は、本発明の一実施形態においてシステムコントローラ202により実行されるデジタルズーム設定値算出処理のフローチャートを示す。操作パネル214には、例えば、1.2倍、1.5倍、2.0倍等の規定の倍率値を指定するための倍率値指定ボタンが複数配置されている。図2のデジタルズーム設定値算出処理は、何れか1つの倍率値指定ボタンが押されると実行開始される。なお、本実施形態では、基準となる表示倍率値(倍率値指定ボタンが押される直前の表示倍率値)をLと定義し、対象画像の現在の表示倍率値をMと定義し、目標とする表示倍率値をNと定義する。目標とする表示倍率値Nは、倍率値指定ボタンにより指定される表示倍率値と同じである。
[Digital zoom setting value calculation processing]
FIG. 2 shows a flowchart of digital zoom setting value calculation processing executed by the system controller 202 in the embodiment of the present invention. The operation panel 214 is provided with a plurality of magnification value designation buttons for designating specified magnification values such as 1.2 times, 1.5 times, and 2.0 times. The digital zoom setting value calculation process in FIG. 2 starts when any one magnification value designation button is pressed. In this embodiment, the reference display magnification value (display magnification value immediately before the magnification value designation button is pressed) is defined as L, and the current display magnification value of the target image is defined as M, which is the target. The display magnification value is defined as N. The target display magnification value N is the same as the display magnification value designated by the magnification value designation button.

[図2のS11(表示倍率値Mの設定)]
本処理ステップS11では、基準となる表示倍率値Lが対象画像の現在の表示倍率値Mとして取得され設定される。対象画像が既にデジタルズーム表示されていれば、表示倍率値M≠1に設定され、対象画像がデジタルズーム表示されていなければ、表示倍率値M=1に設定される。
[S11 in FIG. 2 (setting of display magnification value M)]
In this processing step S11, the reference display magnification value L is acquired and set as the current display magnification value M of the target image. If the target image is already displayed with the digital zoom, the display magnification value M is set to 1. If the target image is not displayed with the digital zoom, the display magnification value M is set to 1.

[図2のS12(トリミングサイズの算出)]
本処理ステップS12では、トリミング前の対象画像の縦サイズ、横サイズを、それぞれa、bと定義し、トリミング後の対象画像の縦サイズ、横サイズを、それぞれa’、b’と定義した場合に、トリミング後の対象画像のサイズが次式(1)により算出される。
式(1)
(a’,b’)=(a/M,b/M)
[S12 in FIG. 2 (Calculation of Trimming Size)]
In this processing step S12, the vertical and horizontal sizes of the target image before trimming are defined as a and b, respectively, and the vertical and horizontal sizes of the target image after trimming are defined as a ′ and b ′, respectively. In addition, the size of the target image after trimming is calculated by the following equation (1).
Formula (1)
(A ′, b ′) = (a / M, b / M)

[図2のS13(トリミング開始位置の算出)]
本処理ステップS13では、トリミング後の対象画像のトリミング開始位置(A,B)が次式(2)により算出される。
式(2)
(A,B)=((a−a’)/2,(b−b’)/2)
[S13 in FIG. 2 (Calculation of Trimming Start Position)]
In this processing step S13, the trimming start position (A, B) of the target image after trimming is calculated by the following equation (2).
Formula (2)
(A, B) = ((aa ′) / 2, (bb ′) / 2)

[図2のS14(トリミングの設定値をFIFOレジスタ232に出力)]
本処理ステップS14では、トリミングの設定値、すなわち、処理ステップS12(トリミングサイズの算出)にて算出されたトリミングサイズ(a’,b’)及び処理ステップS13(トリミング開始位置の算出)にて算出されたトリミング開始位置(A,B)がFIFOレジスタ232に出力されて書き込まれる。
[S14 in FIG. 2 (trimming setting value is output to FIFO register 232)]
In this processing step S14, the trimming setting values, that is, the trimming size (a ′, b ′) calculated in processing step S12 (calculation of trimming size) and the processing step S13 (calculation of trimming start position) are calculated. The trimming start position (A, B) is output to the FIFO register 232 and written.

[図2のS15(表示倍率値Mの更新)]
本処理ステップS15では、表示倍率値Mが更新される。具体的には、拡大表示が行われる場合は、表示倍率値Mに値0.02がインクリメントされ、縮小表示が行われる場合は、表示倍率値Mに値0.02がデクリメントされる。
[S15 in FIG. 2 (Update of Display Magnification Value M)]
In this processing step S15, the display magnification value M is updated. Specifically, when the enlarged display is performed, the value 0.02 is incremented to the display magnification value M, and when the reduced display is performed, the value 0.02 is decremented.

[図2のS16(終了判定)]
本処理ステップS16では、表示倍率値Mが表示倍率値Nに達したか否かが判定される。表示倍率値Mが表示倍率値Nに達していないと判定される場合(S16:NO)、図2のデジタルズーム設定値算出処理は、処理ステップS12(トリミングサイズの算出)に戻る。図2のデジタルズーム設定値算出処理は、表示倍率値Mが表示倍率値Nに達したと判定されるまで(S16:YES)、処理ステップS12〜S16のループを実行する。すなわち、基準となる表示倍率値Lから目標とする表示倍率値Nに至るまでの各表示倍率に対応するトリミングの設定値が0.02の倍率値刻みで算出されて、FIFOレジスタ232に順次書き込まれ、図2のデジタルズーム設定値算出処理が完了する。
[S16 in FIG. 2 (End Determination)]
In this processing step S16, it is determined whether or not the display magnification value M has reached the display magnification value N. If it is determined that the display magnification value M has not reached the display magnification value N (S16: NO), the digital zoom setting value calculation processing in FIG. 2 returns to processing step S12 (calculation of trimming size). The digital zoom set value calculation processing of FIG. 2 executes a loop of processing steps S12 to S16 until it is determined that the display magnification value M has reached the display magnification value N (S16: YES). That is, the trimming setting value corresponding to each display magnification from the reference display magnification value L to the target display magnification value N is calculated in increments of 0.02 and written sequentially into the FIFO register 232. This completes the digital zoom set value calculation process of FIG.

[デジタルズーム処理]
ドライバ信号処理回路110は、モニタ300の表示画面上で対象画像の表示を更新するための垂直同期信号を1フレーム周期で生成して出力する。この垂直同期信号は、モニタ300だけでなくFIFOレジスタ232にも1フレーム周期で入力される。FIFOレジスタ232は、垂直同期信号が入力される毎(垂直同期信号の立ち上がりが検知される毎)に、入力された時点で保持しているトリミングの設定値の中から現在の表示倍率値Mに対応するものをトリミング回路234に出力する。すなわち、FIFOレジスタ232は、表示倍率値Lから表示倍率値Nに至るまでの各表示倍率に対応するトリミングの設定値のうち、表示倍率値Lに近い倍率値に対応するものから1フレーム周期でトリミング回路234に順次出力する。
[Digital zoom processing]
The driver signal processing circuit 110 generates and outputs a vertical synchronization signal for updating the display of the target image on the display screen of the monitor 300 at a cycle of one frame. This vertical synchronization signal is input not only to the monitor 300 but also to the FIFO register 232 in one frame cycle. The FIFO register 232 sets the current display magnification value M from the trimming setting values held at the time of input each time the vertical synchronization signal is input (every time the rising of the vertical synchronization signal is detected). The corresponding one is output to the trimming circuit 234. In other words, the FIFO register 232 starts from the one corresponding to the magnification value close to the display magnification value L among the trimming setting values corresponding to each display magnification from the display magnification value L to the display magnification value N in one frame cycle. The data are sequentially output to the trimming circuit 234.

トリミング回路234は、各フレームの対象画像(トリミング処理されるのは各フレームの画像信号自体であるが、ここでは、説明の便宜上「対象画像」と表現している。)を順次、FIFOレジスタ232より入力される設定値を用いてトリミングして、スケーラ回路236に出力する。すなわち、トリミング回路234は、拡大表示の場合には1フレーム毎に徐々に範囲(トリミングサイズ及び位置)を狭めてトリミングした対象画像をスケーラ回路236に出力し、縮小表示の場合には1フレーム毎に徐々に範囲(トリミングサイズ及び位置)を拡げてトリミングした対象画像をスケーラ回路236に出力する。   The trimming circuit 234 sequentially processes the target image of each frame (the image signal itself of each frame to be trimmed is expressed as “target image” for convenience of explanation), but the FIFO register 232. Trimming is performed using the set value input from the input, and the result is output to the scaler circuit 236. That is, the trimming circuit 234 outputs the trimmed target image to the scaler circuit 236 by gradually narrowing the range (trimming size and position) for each frame for enlarged display, and for each frame for reduced display. The target image trimmed by gradually expanding the range (trimming size and position) is output to the scaler circuit 236.

スケーラ回路236は、FIFOレジスタ232より1フレーム周期で順次入力される対象画像のサイズを規定のサイズ(例えばモニタ300の表示画面サイズ)にスケーリングして、出力回路238に出力する。すなわち、スケーラ回路236は、拡大表示の場合にはトリミング回路234にてトリミングされた対象画像を規定のサイズに引き伸ばして出力回路238に出力し、縮小表示の場合にはトリミング回路234にてトリミングされた対象画像を規定のサイズに縮めて出力回路238に出力する。このような対象画像が出力回路238を介してモニタ300に順次出力されることにより、モニタ300の表示画面には、表示倍率値Lから表示倍率値Nに向けて拡縮率が連続的に(値0.02の倍率値刻みで徐々に)変化されていく状態の対象画像が表示される。   The scaler circuit 236 scales the size of the target image sequentially input from the FIFO register 232 in one frame period to a specified size (for example, the display screen size of the monitor 300), and outputs the scaled image to the output circuit 238. In other words, the scaler circuit 236 enlarges the target image trimmed by the trimming circuit 234 to a specified size in the case of enlarged display and outputs it to the output circuit 238, and is trimmed by the trimming circuit 234 in the case of reduced display. The target image is reduced to a prescribed size and output to the output circuit 238. By sequentially outputting such target images to the monitor 300 via the output circuit 238, the scaling ratio is continuously increased from the display magnification value L to the display magnification value N (value) on the display screen of the monitor 300. The target image is displayed in a state of being gradually changed (in increments of 0.02).

このように、本実施形態では、システムコントローラ202は、表示倍率値Lから表示倍率値Nに至るまでの全てのトリミングの設定値を連続的に算出し、算出された全ての設定値をFIFOレジスタ232に書き込んでいる。以後、FIFOレジスタ232に書き込まれた設定値が垂直同期信号と同期したタイミングで順次読み出され、読み出された設定値を用いてトリミング回路234及びスケーラ回路236によるデジタルズーム処理が行われる。   As described above, in the present embodiment, the system controller 202 continuously calculates all the trimming setting values from the display magnification value L to the display magnification value N, and all the calculated setting values are stored in the FIFO register. 232 is written. Thereafter, the setting values written in the FIFO register 232 are sequentially read at a timing synchronized with the vertical synchronization signal, and the digital zoom process is performed by the trimming circuit 234 and the scaler circuit 236 using the read setting values.

すなわち、本実施形態では、システムコントローラ202による命令発行のタイミングを制御する必要がなく、表示倍率値Lから表示倍率値Nに至るまでの各表示倍率の対象画像を、容易に、最小レート(1フレーム周期)と同期させた状態で(対象画像が数フレーム続けて同じ倍率で表示されたり、本来表示すべき途中段階の倍率が抜けたりすることなく)モニタ300の表示画面に表示させることができる。   In other words, in the present embodiment, it is not necessary to control the timing of command issuance by the system controller 202, and the target image of each display magnification from the display magnification value L to the display magnification value N can be easily set to the minimum rate (1 The target image can be displayed on the display screen of the monitor 300 in a state of being synchronized with the frame period (without causing the target image to be displayed at the same magnification for several frames in succession, or without losing the magnification at an intermediate stage to be originally displayed). .

また、本実施形態では、デジタルズーム処理に必要な情報(トリミングの設定値)がフレーム周期とは無関係にまとめて算出されるため、命令発行を短い周期で複数回実行する必要がない。そのため、システムコントローラ202は、デジタルズーム処理で占有されることがなく、デジタルズーム処理の実行中であっても他の処理を実行することができる。   Further, in this embodiment, since information necessary for digital zoom processing (trimming setting values) is calculated collectively regardless of the frame period, it is not necessary to execute command issuance multiple times in a short period. Therefore, the system controller 202 is not occupied by the digital zoom process, and can execute other processes even while the digital zoom process is being executed.

以上が本発明の例示的な実施形態の説明である。本発明の実施形態は、上記に説明したものに限定されず、本発明の技術的思想の範囲において様々な変形が可能である。例えば明細書中に例示的に明示される実施形態等又は自明な実施形態等を適宜組み合わせた内容も本発明の実施形態に含まれる。   The above is the description of the exemplary embodiments of the present invention. Embodiments of the present invention are not limited to those described above, and various modifications are possible within the scope of the technical idea of the present invention. For example, the embodiment of the present invention also includes contents appropriately combined with embodiments or the like clearly shown in the specification or obvious embodiments.

上記の実施形態では、対象画像の表示倍率が線形的に(0.02倍刻みで)変化する構成となっているが、本発明はこれに限らない。別の実施形態では、対象画像の表示倍率が非線形(例えば指数関数的又は対数関数的)に変化する構成が採用されてもよい。   In the above embodiment, the display magnification of the target image is configured to change linearly (in increments of 0.02), but the present invention is not limited to this. In another embodiment, a configuration may be employed in which the display magnification of the target image changes nonlinearly (eg, exponential or logarithmic).

1 電子内視鏡システム
100 電子スコープ
102 LCB
104 配光レンズ
106 対物レンズ
108 固体撮像素子
110 ドライバ信号処理回路
112 メモリ
200 プロセッサ
202 システムコントローラ
204 タイミングコントローラ
206 ランプ電源イグナイタ
208 ランプ
210 集光レンズ
212 メモリ
214 操作パネル
220 前段信号処理回路
230 後段信号処理回路
232 FIFOレジスタ
234 トリミング回路
236 スケーラ回路
238 出力回路
1 Electronic Endoscope System 100 Electronic Scope 102 LCB
104 Light distribution lens 106 Objective lens 108 Solid-state imaging device 110 Driver signal processing circuit 112 Memory 200 Processor 202 System controller 204 Timing controller 206 Lamp power source igniter 208 Lamp 210 Condensing lens 212 Memory 214 Operation panel 220 Pre-stage signal processing circuit 230 Post-stage signal processing Circuit 232 FIFO register 234 Trimming circuit 236 Scaler circuit 238 Output circuit

Claims (4)

基準となる第一の表示倍率から目標とする第二の表示倍率に至るまでの表示倍率に関するデータを所定の倍率値刻みで算出する算出手段と、
前記所定の倍率値刻みで算出された、前記第一の表示倍率から前記第二の表示倍率に至るまでの各表示倍率に関するデータを保持する保持手段と、
前記保持手段より入力される前記表示倍率に関するデータに基づいて対象画像のトリミング及びスケーリングを行う変倍処理手段と、
を備え
前記保持手段には、前記対象画像の表示を更新するための垂直同期信号が該対象画像の表示のリフレッシュレートに応じた周期で入力され、
前記保持手段は、
前記垂直同期信号が入力される毎に、該垂直同期信号の入力時点で保持している前記表示倍率に関するデータのうち前記第一の表示倍率に最も近い倍率値に対応するデータを、前記変倍処理手段に出力して前記保持手段から消去し、
前記変倍処理手段は、
前記保持手段から前記表示倍率に関するデータが入力される毎に、入力された表示倍率に関するデータに基づいて前記対象画像のトリミング及びスケーリングを行う
画像処理装置。
Calculating means for calculating data related to display magnification from the first display magnification as a reference to the target second display magnification in predetermined magnification value increments;
Holding means for holding data relating to each display magnification from the first display magnification to the second display magnification, calculated in increments of the predetermined magnification value;
Scaling processing means for trimming and scaling the target image based on data relating to the display magnification input from the holding means ;
Equipped with a,
A vertical synchronization signal for updating the display of the target image is input to the holding unit at a cycle corresponding to a refresh rate of the display of the target image,
The holding means is
Each time the vertical synchronization signal is input, the data corresponding to the magnification value closest to the first display magnification among the data relating to the display magnification held at the time of input of the vertical synchronization signal is changed to the scaling factor. Output to the processing means and erase from the holding means,
The scaling processing means includes:
Each time data related to the display magnification is input from the holding unit, trimming and scaling of the target image is performed based on the input data related to the display magnification .
Image processing device.
前記垂直同期信号は、
前記保持手段に1フレーム周期で入力される、
請求項1に記載の画像処理装置。
The vertical synchronization signal is
Input to the holding means in one frame cycle;
The image processing apparatus according to claim 1.
前記表示倍率に関するデータは、
前記変倍処理手段に対して前記対象画像のトリミングのサイズ及び開始位置を指定するものである、
請求項1又は請求項2に記載の画像処理装置。
The data regarding the display magnification is
Specifying the trimming size and start position of the target image for the scaling processing means,
The image processing apparatus according to claim 1 .
前記保持手段は、
FIFO(First In First Out)レジスタである、
請求項1から請求項の何れか一項に記載の画像処理装置。
The holding means is
FIFO (First In First Out) register,
The image processing apparatus according to any one of claims 1 to 3 .
JP2015069704A 2015-03-30 2015-03-30 Image processing device Active JP6456750B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015069704A JP6456750B2 (en) 2015-03-30 2015-03-30 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015069704A JP6456750B2 (en) 2015-03-30 2015-03-30 Image processing device

Publications (2)

Publication Number Publication Date
JP2016188986A JP2016188986A (en) 2016-11-04
JP6456750B2 true JP6456750B2 (en) 2019-01-23

Family

ID=57239766

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015069704A Active JP6456750B2 (en) 2015-03-30 2015-03-30 Image processing device

Country Status (1)

Country Link
JP (1) JP6456750B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05292397A (en) * 1992-04-16 1993-11-05 Nec Home Electron Ltd Variable magnification picture output device
JPH06167966A (en) * 1992-06-15 1994-06-14 Seiko Epson Corp Display circuit
US9578251B2 (en) * 2010-09-13 2017-02-21 Canon Kabushiki Kaisha Imaging apparatus and control method for the same
EP2442549B1 (en) * 2010-10-14 2015-10-14 Sony Corporation Image capturing device, system and method
JP6427859B2 (en) * 2013-09-19 2018-11-28 カシオ計算機株式会社 Image processing apparatus, image processing method, and program

Also Published As

Publication number Publication date
JP2016188986A (en) 2016-11-04

Similar Documents

Publication Publication Date Title
US8436930B2 (en) Apparatus and method for capturing an image utilizing a guide image and live view image corresponding to the guide image
JP5029137B2 (en) Imaging apparatus and program
JP6512810B2 (en) Image pickup apparatus, control method and program
US10986262B2 (en) Imaging apparatus, control method, and non-transitory storage medium
EP2690861B1 (en) Apparatus and method to photograph an image
JP2007221312A (en) Imaging apparatus
JP2009212960A (en) Image composition device and imaging device
US10911690B2 (en) Image capturing apparatus and control method thereof and storage medium
US20100026873A1 (en) Digital image processing apparatuses, methods of controlling the same, and computer-readable medium encoded with computer executable instructions for executing the method(s)
WO2014175130A1 (en) Image pickup apparatus
JP2009124340A (en) Imaging apparatus, photographing support method, and photographing support program
JP2017123020A (en) Image processor and imaging apparatus, control method thereof and program
US20100097485A1 (en) Method and apparatus for improving face image in digital image processor
JP2007086995A (en) Pointing device
WO2016158376A1 (en) Image processing apparatus
JP6516426B2 (en) Image pickup apparatus, image processing method and program
JP6246436B1 (en) Endoscope processor and method of operating an endoscope processor
JP6456750B2 (en) Image processing device
US11463612B2 (en) Control apparatus, control method, and program
JP6533335B2 (en) WHITE BALANCE ADJUSTMENT DEVICE, OPERATION METHOD THEREOF, AND OPERATION PROGRAM
JP2011108251A (en) Presentation controller and program
JP2012044480A (en) Image pickup apparatus and image pickup method
JP2007043329A (en) Imaging apparatus and white balance adjustment method
JP6017749B1 (en) IMAGING DEVICE AND IMAGING DEVICE OPERATING METHOD
JP7292961B2 (en) Imaging device and its control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170630

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20170717

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180418

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180426

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180622

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20181129

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181219

R150 Certificate of patent or registration of utility model

Ref document number: 6456750

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250