JP2019003086A - Image processing device and computer program - Google Patents

Image processing device and computer program Download PDF

Info

Publication number
JP2019003086A
JP2019003086A JP2017118371A JP2017118371A JP2019003086A JP 2019003086 A JP2019003086 A JP 2019003086A JP 2017118371 A JP2017118371 A JP 2017118371A JP 2017118371 A JP2017118371 A JP 2017118371A JP 2019003086 A JP2019003086 A JP 2019003086A
Authority
JP
Japan
Prior art keywords
display
dot
image data
evaluation value
processing apparatus
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.)
Granted
Application number
JP2017118371A
Other languages
Japanese (ja)
Other versions
JP6855333B2 (en
Inventor
研一 吉田
Kenichi Yoshida
研一 吉田
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.)
YOKOGAWA MEDICAL SOLUTIONS CORP
Yokogawa Electric Corp
Original Assignee
YOKOGAWA MEDICAL SOLUTIONS CORP
Yokogawa Electric 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 YOKOGAWA MEDICAL SOLUTIONS CORP, Yokogawa Electric Corp filed Critical YOKOGAWA MEDICAL SOLUTIONS CORP
Priority to JP2017118371A priority Critical patent/JP6855333B2/en
Publication of JP2019003086A publication Critical patent/JP2019003086A/en
Application granted granted Critical
Publication of JP6855333B2 publication Critical patent/JP6855333B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

To improve use-of-use of an image processing device conducting a dot-by-dot display.SOLUTION: An image processing device, which displays image data on resolution A*B on a display area of resolution X*Y, comprises: an evaluation setting unit that, according to a predetermined rule, determines any of X/A and Y/B as an evaluation value R; and a display control unit that when 1-dL≤R≤1+dH, using a setting value dL and a setting value dH that are smaller than 1 and are not 0, conducts a dot-by-dot display of the image data, and in other case, conducts an enlargement and contraction display of the image data on the basis of an evaluation value R.SELECTED DRAWING: Figure 1

Description

本発明は、ドットバイドット表示を行なう画像処理装置およびコンピュータプログラムに関する。   The present invention relates to an image processing apparatus and a computer program that perform dot-by-dot display.

デジタル画像データを液晶ディスプレイ等の表示装置に表示する画像処理装置が広く用いられている。一般に、デジタル画像データは縦横に並んだ画素で表現され、縦横の画素数は解像度として表される。表示装置も表示単位であるドットの縦横の並び数で解像度が表される。画像処理装置では、画面上に複数のウィンドウを生成し、ウィンドウ毎の表示領域に画像を表示することができるため、表示領域毎に解像度(縦横のドット数)が設定される。   An image processing apparatus that displays digital image data on a display device such as a liquid crystal display is widely used. In general, digital image data is represented by pixels arranged vertically and horizontally, and the number of pixels horizontally and vertically is expressed as resolution. In the display device, the resolution is expressed by the number of dots arranged vertically and horizontally as a display unit. In the image processing apparatus, since a plurality of windows can be generated on the screen and an image can be displayed in the display area for each window, the resolution (number of vertical and horizontal dots) is set for each display area.

簡単のため、縦横同サイズである解像度A×Aの画像データを、縦横同サイズである表示領域に表示する場合を考える。一般に、画像処理装置では、画像データを見やすく表示するため、表示領域のサイズに合わせて、画像データを縦横のアスペクト比を保ったまま拡大縮小して表示する。   For the sake of simplicity, let us consider a case in which image data having a resolution of A × A having the same vertical and horizontal sizes is displayed in a display area having the same vertical and horizontal sizes. In general, in an image processing apparatus, in order to display image data in an easy-to-view manner, the image data is enlarged and reduced while maintaining the aspect ratio in the vertical and horizontal directions according to the size of the display area.

このため、表示領域の解像度がX1×X1(ただし、X1<A)の場合は、図8(a)に示すように、X1/A倍の縮小処理を行ない、表示領域の解像度がX2×X2(ただし、X2>A)の場合は、図8(b)に示すように、X2/A倍の拡大処理を行なう。   For this reason, when the resolution of the display area is X1 × X1 (where X1 <A), as shown in FIG. 8A, a reduction process of X1 / A is performed, and the resolution of the display area is X2 × X2. In the case of (where X2> A), as shown in FIG. 8B, enlargement processing of X2 / A times is performed.

すなわち、図9のグラフに示すように、表示領域解像度/画像解像度Aの値に等しい表示倍率で表示が行なわれる。表示倍率がちょうど1倍になる場合を除き拡大縮小表示が行なわれ、拡大縮小表示では、最近傍法や線形補間、間引き等の補間処理が行なわれる。   That is, as shown in the graph of FIG. 9, display is performed at a display magnification equal to the value of display area resolution / image resolution A. Except when the display magnification is exactly 1, enlargement / reduction display is performed. In enlargement / reduction display, interpolation processing such as nearest neighbor method, linear interpolation, and thinning is performed.

拡大表示を行なう場合は、画像のサイズ自体は大きくなるが、補間処理により真の情報以外の情報が混入して表示されることになる。また、縮小表示を行なう場合には、画像全体を欠けることなく表示することができるが、補間処理により情報が欠落したり、真の情報以外の情報が混入して表示されることになる。   When performing enlarged display, the size of the image itself is increased, but information other than true information is mixed and displayed by interpolation processing. Further, when performing reduced display, the entire image can be displayed without being lost, but information is lost due to interpolation processing, or information other than true information is mixed and displayed.

また、拡大縮小表示は演算処理負荷が大きく、表示速度が遅くなるため、多量の画像データを表示する際にレスポンスが悪化する要因となる。   In addition, the enlargement / reduction display has a large calculation processing load and a slow display speed, which causes a deterioration in response when a large amount of image data is displayed.

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

例えば、医用画像、顕微鏡画像、科学計測画像等の表示では、元の画像データが持つ情報を過不足無く厳密に再現することが要求されることが多い。このためには、画像データの1ドットを表示装置の1ドットで表示するドットバイドット表示が有効である。   For example, in the display of medical images, microscope images, scientific measurement images, etc., it is often required to accurately reproduce the information held in the original image data without excess or deficiency. For this purpose, dot-by-dot display in which one dot of image data is displayed by one dot of the display device is effective.

ドットバイドット表示では、表示領域のサイズによらず、画像データの解像度のまま表示されるため、真の情報以外の情報が混入したり、情報が欠落することを防ぐことができる。このため、ドットバイドットモードを備えている画像処理装置が実用化されている。   In dot-by-dot display, display is performed with the resolution of the image data regardless of the size of the display area, so that it is possible to prevent information other than true information from being mixed or missing. For this reason, an image processing apparatus having a dot-by-dot mode has been put into practical use.

しかしながら、ドットバイドットモードを備えた画像処理装置では、例えば、ドットバイドット表示と全体画像を表示領域内に収めた縮小表示とを交互に行なったり、部分的に拡大を行ないたい場合等に、その都度モードを切換えなければならず、使い勝手が十分とはいえない。   However, in an image processing apparatus equipped with a dot-by-dot mode, for example, when dot-by-dot display and reduced display in which the entire image is stored in the display area are performed alternately or when partial enlargement is desired, The mode must be switched each time, and it is not easy to use.

医用画像表示等では、短時間に多量の画像を表示して観察を行なうことが多く、表示のレスポンスの向上に加え、使い勝手の向上が望まれている。   In medical image display and the like, a large amount of images are often displayed for observation in a short time, and in addition to improving the response of display, improvement in usability is desired.

そこで、本発明は、ドットバイドット表示を行なう画像処理装置の使い勝手を向上させることを目的とする。   Therefore, an object of the present invention is to improve the usability of an image processing apparatus that performs dot-by-dot display.

上記課題を解決するため、本発明の第1の態様である画像処理装置は、解像度A×Bの画像データを、解像度X×Yの表示領域に表示する画像処理装置であって、あらかじめ定められた規則に従って、X/AおよびY/Bのいずれかを評価値Rと定める評価値設定部と、1よりも小さい0でない設定値dL、設定値dHを用いて、1−dL≦R≦1+dHの場合に、前記画像データのドットバイドット表示を行ない、それ以外の場合に評価値Rに基づいて前記画像データの拡大縮小表示を行なう表示制御部と、を備えることを特徴とする。
ここで、前記表示制御部は、前記拡大縮小表示を行なう際に、nを2以上の整数として、n×dL≦R≦n+n×dHの場合に、縦横n倍の補間無し拡大表示を行ない、それ以外の場合は、縦横R倍の拡大縮小表示を行なうことができる。
また、設定値dL<設定値dHとすることができる。
また、前記あらかじめ定められた規則は、X/AとY/Bのうち小さい方を評価値Rと定めるものとすることができる。
上記課題を解決するため、本発明の第2の態様であるコンピュータプログラムは、情報処理装置を、解像度A×Bの画像データを、解像度X×Yの表示領域に表示する画像処理装置として機能させるコンピュータプログラムであって、あらかじめ定められた規則に従って、X/AおよびY/Bのいずれかを評価値Rと定める評価値設定部と、1よりも小さい0でない設定値dL、設定値dHを用いて、1−dL≦R≦1+dHの場合に、前記画像データのドットバイドット表示を行ない、それ以外の場合に評価値Rに基づいて前記画像データの拡大縮小表示を行なう表示制御部として前記情報処理装置を機能させることを特徴とする。
In order to solve the above problem, an image processing apparatus according to a first aspect of the present invention is an image processing apparatus that displays image data with a resolution of A × B in a display area with a resolution of X × Y. 1−dL ≦ R ≦ 1 + dH, using an evaluation value setting unit that determines one of X / A and Y / B as an evaluation value R, and a non-zero setting value dL and a setting value dH that are less than 1. A display control unit that performs dot-by-dot display of the image data and otherwise performs enlargement / reduction display of the image data based on an evaluation value R.
Here, when performing the enlargement / reduction display, the display control unit performs n-times non-interpolated enlarged display in the case of n × dL ≦ R ≦ n + n × dH, where n is an integer of 2 or more, In other cases, the display can be enlarged / reduced in the horizontal and vertical directions.
Also, the set value dL <the set value dH.
The predetermined rule may determine the smaller one of X / A and Y / B as the evaluation value R.
In order to solve the above problem, a computer program according to a second aspect of the present invention causes an information processing apparatus to function as an image processing apparatus that displays image data with resolution A × B in a display area with resolution X × Y. A computer program that uses an evaluation value setting unit that determines one of X / A and Y / B as an evaluation value R according to a predetermined rule, and a non-zero setting value dL and a setting value dH that are less than 1 In the case of 1−dL ≦ R ≦ 1 + dH, the information is displayed as a display control unit that performs dot-by-dot display of the image data and otherwise performs enlargement / reduction display of the image data based on the evaluation value R. The processing device is made to function.

本発明によれば、ドットバイドット表示を行なう画像処理装置の使い勝手を向上させることができる。   According to the present invention, usability of an image processing apparatus that performs dot-by-dot display can be improved.

本実施形態に係る画像処理装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the image processing apparatus which concerns on this embodiment. 本実施形態の画像処理装置の表示動作について説明するフローチャートである。It is a flowchart explaining the display operation of the image processing apparatus of this embodiment. 評価値Rの設定規則について説明する図である。It is a figure explaining the setting rule of evaluation value R. FIG. 本実施形態のドットバイドット表示と拡大縮小処理を説明する図である。It is a figure explaining the dot by dot display and enlargement / reduction processing of this embodiment. 縮小拡大を行なわずに、ドットバイドット表示を行なう例を示す図である。It is a figure which shows the example which performs a dot by dot display, without performing reduction expansion. 撮像対象物の周辺領域を説明する図である。It is a figure explaining the peripheral region of an imaging subject. 本実施形態のドットバイドット表示と拡大縮小処理の別例を説明する図である。It is a figure explaining another example of the dot by dot display and enlargement / reduction processing of this embodiment. 画像データの解像度と表示領域の解像度に応じた拡大縮小処理を説明する図である。It is a figure explaining the expansion / contraction process according to the resolution of image data, and the resolution of a display area. 従来の表示倍率を説明する図である。It is a figure explaining the conventional display magnification.

本発明の実施の形態について図面を参照して説明する。図1は、本実施形態に係る画像処理装置100の機能構成を示すブロック図である。画像処理装置100は、例えば、CPU、GPU等を備え、コンピュータプログラムに従って動作を行なうパーソナルコンピュータ等の情報処理装置を用いて構成することができる。   Embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram illustrating a functional configuration of the image processing apparatus 100 according to the present embodiment. The image processing apparatus 100 can be configured using an information processing apparatus such as a personal computer that includes a CPU, a GPU, and the like and operates according to a computer program.

本図に示すように、画像処理装置100は、画像データベース210から取得した画像データを液晶ディスプレイ等の表示装置230に表示する装置であり、画像入力部110、操作受付部120、表示領域設定部130、評価値設定部140、表示制御部150を備えている。表示装置230は、複数台接続されていてもよい。   As shown in the figure, the image processing apparatus 100 is a device that displays image data acquired from an image database 210 on a display device 230 such as a liquid crystal display, and includes an image input unit 110, an operation reception unit 120, a display area setting unit. 130, an evaluation value setting unit 140, and a display control unit 150. A plurality of display devices 230 may be connected.

画像入力部110は、画像データベース210からデジタル画像データを取得する。画像データは、一般に、ヘッダ等に解像度に関する情報が記録されている。以下では、表示対象の画像データの解像度をA×Bで表すものとする。画像データはカラー画像、モノクロ画像を問わない。なお、画像入力部110の画像データの取得先は画像データベース210に限られない。例えば、ローカルの記憶装置、可搬型の記憶装置、画像撮影装置等から画像データを取得してもよい。   The image input unit 110 acquires digital image data from the image database 210. In general, image data has resolution information recorded in a header or the like. Hereinafter, the resolution of the image data to be displayed is represented by A × B. The image data may be a color image or a monochrome image. Note that the image data acquisition source of the image input unit 110 is not limited to the image database 210. For example, the image data may be acquired from a local storage device, a portable storage device, an image capturing device, or the like.

操作受付部120は、マウス、キーボード等の入力装置220を介してユーザからの操作を受け付ける。入力装置220は、表示装置230を兼ねたタッチパネルとしてもよい。   The operation receiving unit 120 receives an operation from the user via the input device 220 such as a mouse or a keyboard. The input device 220 may be a touch panel that also serves as the display device 230.

表示領域設定部130は、操作受付部120が受け付けたユーザからの操作、例えば、ウィンドウの拡大縮小操作等に基づいて画像データの表示領域を設定する。表示領域には、縦横の解像度(ドット数)の情報が含まれる。以下では、表示領域のドット数をX×Yで表すものとする。表示領域は同時に複数個設定し、同時に複数個の画像データを表示することができるが、本実施形態ではそのうちの1つに着目して説明する。   The display area setting unit 130 sets the display area of the image data based on an operation from the user received by the operation receiving unit 120, for example, a window enlargement / reduction operation. The display area includes vertical and horizontal resolution (number of dots) information. In the following, the number of dots in the display area is represented by X × Y. A plurality of display areas can be set at the same time and a plurality of image data can be displayed at the same time. In the present embodiment, description will be given focusing on one of them.

評価値設定部140は、あらかじめ定められた規則に従って、画像データの解像度A×B、表示領域のドット数X×Yから得られるX/AとY/Bのうち、どちらを評価値Rとして用いるかを設定する。ここで、評価値Rは、表示対象の画像データについてドットバイドット表示を行なうか、拡大縮小表示を行なうかの判定に用いる値である。   The evaluation value setting unit 140 uses either X / A or Y / B obtained from the resolution A × B of the image data and the number of dots X × Y of the display area as the evaluation value R according to a predetermined rule. Is set. Here, the evaluation value R is a value used for determining whether to perform dot-by-dot display or enlargement / reduction display for image data to be displayed.

表示制御部150は、表示価値Rに基づいて、表示対象の画像データについてドットバイドット表示を行なうか、拡大縮小表示を行なうかを判定し、判定に従った画像態様で画像データを表示装置230に表示する。   Based on the display value R, the display control unit 150 determines whether to perform dot-by-dot display or enlargement / reduction display for the image data to be displayed, and displays the image data in the image mode according to the determination. To display.

次に、本実施形態の画像処理装置100の表示動作について図2のフローチャートを参照して説明する。まず、画像入力部110が表示対象の画像データを入力し、画像データの解像度(A×B)を取得する(S101)。   Next, the display operation of the image processing apparatus 100 of the present embodiment will be described with reference to the flowchart of FIG. First, the image input unit 110 inputs image data to be displayed, and acquires the resolution (A × B) of the image data (S101).

また、表示領域設定部130が、画像データを表示する領域の解像度(ドット数X×Y)を取得する(S102)。図3(a)は、解像度(A×B)の画像データとドット数(X×Y)の表示領域とを示している。   In addition, the display area setting unit 130 acquires the resolution (number of dots X × Y) of the area for displaying the image data (S102). FIG. 3A shows image data with resolution (A × B) and a display area with the number of dots (X × Y).

そして、評価値設定部140が、画像データの解像度A×B、表示領域のドット数X×Yから得られる横比率X/Aと縦比率Y/Bのうち、どちらを評価値Rとして用いるかを設定する(S103)。   Then, the evaluation value setting unit 140 uses which of the horizontal ratio X / A and the vertical ratio Y / B obtained from the resolution A × B of the image data and the number of dots X × Y of the display area as the evaluation value R. Is set (S103).

評価値Rの設定規則は、例えば、以下のようにすることができる。図3(b)に示すように、X/A≧1かつY/B≧1、すなわち、縦横とも画像データよりも表示領域の方が大きい場合は、X/AとY/Bとで小さい方の値を評価値Rとする。   The rule for setting the evaluation value R can be, for example, as follows. As shown in FIG. 3B, when X / A ≧ 1 and Y / B ≧ 1, that is, when the display area is larger than the image data both vertically and horizontally, the smaller one of X / A and Y / B Is the evaluation value R.

図3(c)に示すように、X/A<1かつY/B<1、すなわち、縦横とも画像データよりも表示領域の方が小さい場合は、X/AとY/Bとで小さい方の値を評価値Rとする。   As shown in FIG. 3C, when X / A <1 and Y / B <1, that is, when the display area is smaller than the image data both vertically and horizontally, the smaller of X / A and Y / B Is the evaluation value R.

図3(d)、図3(e)に示すように、X/A≧1かつY/B<1、あるいは、X/A<1かつY/B≧1、すなわち、縦横のいずれか一方が画像データよりも表示領域の方が小さく、他方が画像データよりも表示領域の方が大きい場合は、X/AとY/Bとで小さい方の値を評価値Rとする。これは、縦と横とで、画像データよりも表示領域が小さい方である。   As shown in FIG. 3D and FIG. 3E, X / A ≧ 1 and Y / B <1, or X / A <1 and Y / B ≧ 1, that is, either vertical or horizontal is When the display area is smaller than the image data and the other is larger than the image data, the smaller value of X / A and Y / B is set as the evaluation value R. This is the one in which the display area is smaller than the image data in the vertical and horizontal directions.

ずなわち、いずれの場合であってもX/AとY/Bとで小さい方の値を評価値Rとする。ただし、これらの評価値Rの設定規則は一例であり、他の設定規則により評価値Rを設定してもよい。   That is, in any case, the smaller value of X / A and Y / B is set as the evaluation value R. However, these setting rules for the evaluation value R are merely examples, and the evaluation value R may be set by another setting rule.

図2の説明に戻って、評価値設定部140が評価値Rを設定すると、表示制御部150が、1−dL≦評価値R≦1+dHを満たすかどうかを判定する(S104)。ここで、dL、dHは、1よりも小さい0でない設定値である。設定値dL、dHは、あらかじめ定めておくものとするが、ユーザが任意に設定できるようにしてもよい。   Returning to the description of FIG. 2, when the evaluation value setting unit 140 sets the evaluation value R, the display control unit 150 determines whether or not 1−dL ≦ evaluation value R ≦ 1 + dH is satisfied (S104). Here, dL and dH are set values other than 1 that are not 0. The setting values dL and dH are determined in advance, but may be arbitrarily set by the user.

表示制御部150は、1−dL≦評価R≦1+dHを満たす場合(S104:Yes)には、ドットバイドット表示を行なう(S105)。一方、1−dL≦評価R≦1+dHを満たさない場合(S104)は、評価値R>1であれば(S106:Yes)、その比率で拡大表示を行ない(S107)、評価値R>1でなければ(S106:No)、その比率で縮小表示を行なう(S108)。   When satisfying 1−dL ≦ evaluation R ≦ 1 + dH (S104: Yes), the display control unit 150 performs dot-by-dot display (S105). On the other hand, when 1−dL ≦ evaluation R ≦ 1 + dH is not satisfied (S104), if the evaluation value R> 1 (S106: Yes), the enlarged display is performed at the ratio (S107), and the evaluation value R> 1. If not (S106: No), reduction display is performed at the ratio (S108).

上記の評価値Rの設定規則から、1−dL≦評価R≦1+dHを満たす場合は、画像データの解像度と、表示領域のドット数とが比較的近い場合である。このため、本実施形態では、図4に示すように、画像データの解像度と、表示領域のドット数とが比較的近い範囲では、ドットバイドット表示を行ない、そうでない場合には拡大縮小表示を行なうようにしている。   If 1-dL ≦ evaluation R ≦ 1 + dH is satisfied from the setting rule for the evaluation value R, the resolution of the image data and the number of dots in the display area are relatively close. For this reason, in the present embodiment, as shown in FIG. 4, dot-by-dot display is performed in a range where the resolution of the image data and the number of dots in the display area are relatively close, and enlargement / reduction display is performed otherwise. I try to do it.

これにより、モードを切換えることなくドットバイドット表示と拡大縮小表示とを切り替えることができるようになり、画像処理装置100の使い勝手が向上する。また、ドットバイドット表示される表示領域サイズが増えるため、その分、画像表示を高速化することができる。   Thereby, it becomes possible to switch between dot-by-dot display and enlargement / reduction display without switching the mode, and the usability of the image processing apparatus 100 is improved. Further, since the display area size for dot-by-dot display increases, the image display can be speeded up accordingly.

なお、ドットバイドット表示用のビットマップをあらかじめ用意しておき、ドットバイドット表示を行なう場合には、このビットマップを用いることで、一層の表示高速化を行なうことができる。   When a dot-by-dot display bitmap is prepared in advance and dot-by-dot display is performed, this bitmap can be used to further increase the display speed.

本図から明らかなように、設定値dLは、縮小表示を行なわないでドットバイドット表示を行なう範囲を定める設定値である。この範囲では、図5(a)に示すように、表示画像の周辺がカットされることになる。一般に、画像データ、特に医用画像データ等では、周辺部には人体断面等の撮像対象物は写っていないため、周辺部をカットしても実用上の問題は発生しないことが多い。   As is clear from this figure, the set value dL is a set value that defines a range in which dot-by-dot display is performed without performing reduced display. In this range, the periphery of the display image is cut as shown in FIG. In general, in image data, particularly medical image data or the like, an imaging target such as a human body cross section is not shown in the peripheral portion, so that there are many cases where practical problems do not occur even if the peripheral portion is cut.

一方、設定値dHは、拡大表示を行なわないでドットバイドット表示を行なう範囲を定める設定値である。この範囲では、図5(b)に示すように、表示画像の周辺に余白が付加されるが、表示画像への影響はない。   On the other hand, the set value dH is a set value that defines a range in which dot-by-dot display is performed without performing enlarged display. In this range, as shown in FIG. 5B, margins are added around the display image, but there is no influence on the display image.

設定値dLは大きくするとカット部分が大きくなるため、本実施形態では、設定値dL<設定値dHとしている。例えば、設定値dLは、0.1、設定値dHは0.2とすることができるが、設定値dL=設定値dHとしてもよい。また、上述のように設定値dL、設定値dHをユーザが任意に設定できるようにしてもよい。   Since the cut portion increases as the set value dL increases, in this embodiment, the set value dL <the set value dH. For example, the set value dL can be set to 0.1 and the set value dH can be set to 0.2, but the set value dL may be set to the set value dH. Further, as described above, the user may arbitrarily set the setting value dL and the setting value dH.

また、図6に示すように、表示制御部150が、画像データの撮像対象物が写っていない領域W1、W2の大きさを認識して、設定値dLを自動的に設定するようにしてもよい。この場合、例えば、撮像対象物がカットされない範囲で、できるだけ大きな値をdLに設定することができる。   Further, as shown in FIG. 6, the display control unit 150 may recognize the size of the areas W1 and W2 in which the imaging target of the image data is not captured, and automatically set the setting value dL. Good. In this case, for example, a value as large as possible can be set to dL within a range where the imaging target is not cut.

図2の説明に戻って、ユーザの操作により表示領域がリサイズされた場合(S109:Yes)には、表示領域解像度取得(S102)以降の処理を繰り返す。画像処理装置100は、以上の処理を表示領域がクローズされるまで繰り返す(S110)。   Returning to the description of FIG. 2, when the display area is resized by the user's operation (S109: Yes), the processing after the display area resolution acquisition (S102) is repeated. The image processing apparatus 100 repeats the above processing until the display area is closed (S110).

なお、上述の例では、評価値Rが1付近の場合にドットバイドット表示を行なうようにしていたが、図7に示すように、評価値Rが2以上の整数n付近の場合に、縦横n倍の補間無し拡大表示を行なうようにしてもよい。縦横n倍の補間無し拡大表示は、元の画像データをそのまま縦横に拡大すればよいため、真の情報以外の情報が混入することが無く、また、演算負荷も低いためである。この場合は、例えば、設定値dL、dHを用いたn−n×dL≦R≦n+n×dHにより、評価値Rが2以上の整数n付近かどうかを判定することができる。ただし、他の判定方法を用いてもよい。例えば、n−dL≦R≦n+dHにより、評価値Rが2以上の整数n付近かどうかを判定してもよい。   In the above example, dot-by-dot display is performed when the evaluation value R is near 1. However, when the evaluation value R is near an integer n of 2 or more, as shown in FIG. You may make it perform n times of enlarged display without interpolation. This is because the enlargement display without interpolation of n times in the vertical and horizontal directions may enlarge the original image data as it is in the vertical and horizontal directions, so that information other than the true information is not mixed and the calculation load is low. In this case, for example, it is possible to determine whether or not the evaluation value R is in the vicinity of an integer n of 2 or more by nn × dL ≦ R ≦ n + n × dH using the set values dL and dH. However, other determination methods may be used. For example, it may be determined whether or not the evaluation value R is near an integer n of 2 or more by n−dL ≦ R ≦ n + dH.

以上説明したように、本実施形態の画像処理装置は、画像データの解像度と、表示領域のドット数とが比較的近い範囲では、ドットバイドット表示を行ない、そうでない場合には拡大縮小表示を行なうことにより、画像処理装置の使い勝手を向上させている。   As described above, the image processing apparatus according to the present embodiment performs dot-by-dot display in the range where the resolution of the image data and the number of dots in the display area are relatively close, and displays the enlarged / reduced display otherwise. By doing so, usability of the image processing apparatus is improved.

100…画像処理装置
110…画像入力部
120…操作受付部
130…表示領域設定部
140…評価値設定部
150…表示制御部
210…画像データベース
220…入力装置
230…表示装置
DESCRIPTION OF SYMBOLS 100 ... Image processing apparatus 110 ... Image input part 120 ... Operation reception part 130 ... Display area setting part 140 ... Evaluation value setting part 150 ... Display control part 210 ... Image database 220 ... Input device 230 ... Display apparatus

Claims (5)

解像度A×Bの画像データを、解像度X×Yの表示領域に表示する画像処理装置であって、
あらかじめ定められた規則に従って、X/AおよびY/Bのいずれかを評価値Rと定める評価値設定部と、
1よりも小さい0でない設定値dL、設定値dHを用いて、1−dL≦R≦1+dHの場合に、前記画像データのドットバイドット表示を行ない、それ以外の場合に評価値Rに基づいて前記画像データの拡大縮小表示を行なう表示制御部と、
を備えることを特徴とする画像処理装置。
An image processing apparatus for displaying image data of resolution A × B in a display area of resolution X × Y,
An evaluation value setting unit that determines one of X / A and Y / B as an evaluation value R according to a predetermined rule;
Based on the evaluation value R, dot-by-dot display of the image data is performed when 1−dL ≦ R ≦ 1 + dH, using a non-zero set value dL and set value dH smaller than 1. A display control unit for enlarging and reducing the image data;
An image processing apparatus comprising:
前記表示制御部は、前記拡大縮小表示を行なう際に、
nを2以上の整数として、
n−n×dL≦R≦n+n×dHの場合に、縦横n倍の補間無し拡大表示を行ない、それ以外の場合は、縦横R倍の拡大縮小表示を行なうことを特徴とする請求項1に記載の画像処理装置。
When the display control unit performs the enlargement / reduction display,
n is an integer of 2 or more,
2. In the case of n−n × dL ≦ R ≦ n + n × dH, enlargement / reduction display without interpolation of vertical / horizontal n times is performed, and in other cases, enlargement / reduction display of vertical / horizontal R times is performed. The image processing apparatus described.
設定値dL<設定値dHであることを特徴とする請求項1または2に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the setting value dL <the setting value dH. 前記あらかじめ定められた規則は、X/AとY/Bのうち小さい方を評価値Rと定めるものであることを特徴とする請求項1〜3のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the predetermined rule defines an evaluation value R that is smaller of X / A and Y / B. 情報処理装置を、解像度A×Bの画像データを、解像度X×Yの表示領域に表示する画像処理装置として機能させるコンピュータプログラムであって、
あらかじめ定められた規則に従って、X/AおよびY/Bのいずれかを評価値Rと定める評価値設定部と、
1よりも小さい0でない設定値dL、設定値dHを用いて、1−dL≦R≦1+dHの場合に、前記画像データのドットバイドット表示を行ない、それ以外の場合に評価値Rに基づいて前記画像データの拡大縮小表示を行なう表示制御部として前記情報処理装置を機能させることを特徴とするコンピュータプログラム。
A computer program that causes an information processing apparatus to function as an image processing apparatus that displays image data of resolution A × B in a display area of resolution X × Y,
An evaluation value setting unit that determines one of X / A and Y / B as an evaluation value R according to a predetermined rule;
Based on the evaluation value R, dot-by-dot display of the image data is performed when 1−dL ≦ R ≦ 1 + dH, using a non-zero set value dL and set value dH smaller than 1. A computer program that causes the information processing apparatus to function as a display control unit that performs enlargement / reduction display of the image data.
JP2017118371A 2017-06-16 2017-06-16 Image processing equipment and computer programs Active JP6855333B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017118371A JP6855333B2 (en) 2017-06-16 2017-06-16 Image processing equipment and computer programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017118371A JP6855333B2 (en) 2017-06-16 2017-06-16 Image processing equipment and computer programs

Publications (2)

Publication Number Publication Date
JP2019003086A true JP2019003086A (en) 2019-01-10
JP6855333B2 JP6855333B2 (en) 2021-04-07

Family

ID=65008064

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017118371A Active JP6855333B2 (en) 2017-06-16 2017-06-16 Image processing equipment and computer programs

Country Status (1)

Country Link
JP (1) JP6855333B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005287750A (en) * 2004-03-31 2005-10-20 Konica Minolta Medical & Graphic Inc Medical image display method, medical image display device and program
JP2012157550A (en) * 2011-02-01 2012-08-23 Fujifilm Corp Radiographic imaging apparatus and method
JP2012205772A (en) * 2011-03-30 2012-10-25 Fujifilm Corp Radiographic image capturing system and control method for the same
US20160055620A1 (en) * 2014-08-21 2016-02-25 Advanced Digital Broadcast S.A. System and method for scaling and copying graphics

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005287750A (en) * 2004-03-31 2005-10-20 Konica Minolta Medical & Graphic Inc Medical image display method, medical image display device and program
JP2012157550A (en) * 2011-02-01 2012-08-23 Fujifilm Corp Radiographic imaging apparatus and method
JP2012205772A (en) * 2011-03-30 2012-10-25 Fujifilm Corp Radiographic image capturing system and control method for the same
US20160055620A1 (en) * 2014-08-21 2016-02-25 Advanced Digital Broadcast S.A. System and method for scaling and copying graphics

Also Published As

Publication number Publication date
JP6855333B2 (en) 2021-04-07

Similar Documents

Publication Publication Date Title
JP5589366B2 (en) Information processing apparatus, information processing method, and program thereof
US10424046B2 (en) Information processing apparatus, method and program therefore
US8175417B2 (en) Apparatus, method, and computer-readable recording medium for pixel interpolation
US20080285889A1 (en) Image transform method for obtaining expanded image data, image processing apparatus and image display device therefore
CN108154474A (en) A kind of super-resolution image reconstruction method, device, medium and equipment
US20030218620A1 (en) Method for displaying an electronic document on a digital handheld device
KR20090132484A (en) Information display apparatus, information displaying method, and computer readable medium
TW389857B (en) Image drawing apparatus
US20090040230A1 (en) Vector image drawing device, method for vector image drawing, and computer readable recording medium
WO2019196662A1 (en) Local enlargement of image
WO2013132836A1 (en) Object detection device, object detection method, and object detection program
JP2007065039A (en) Image processing apparatus
JP6855333B2 (en) Image processing equipment and computer programs
JP2010079883A (en) Information processing apparatus, image processing method, and program
CN104918073A (en) Image display method and terminal
JP5573693B2 (en) Information display method, information display program, and information display device
JP2012196295A (en) Image display apparatus and image display method
CN113689340A (en) Image processing method, image processing device, computer equipment and storage medium
JP2012200287A (en) X-ray imaging system, method for controlling x-ray imaging system, information processing device, x-ray imaging apparatus and program
TWI453695B (en) Video processing method and circuit using thereof
JP2007028478A (en) Image display apparatus
US9674484B2 (en) Image processing device and image processing method
CN113721818B (en) Image processing method, device, equipment and computer readable storage medium
JPH06251115A (en) Image processor
JP2006050090A (en) Image demagnification method, image demagnification apparatus, and recording medium with image demagnification program recorded thereon

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170623

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20191016

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20191021

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200127

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210128

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: 20210224

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210317

R150 Certificate of patent or registration of utility model

Ref document number: 6855333

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250