JP6157234B2 - Image processing apparatus, image processing method, and program - Google Patents

Image processing apparatus, image processing method, and program Download PDF

Info

Publication number
JP6157234B2
JP6157234B2 JP2013127789A JP2013127789A JP6157234B2 JP 6157234 B2 JP6157234 B2 JP 6157234B2 JP 2013127789 A JP2013127789 A JP 2013127789A JP 2013127789 A JP2013127789 A JP 2013127789A JP 6157234 B2 JP6157234 B2 JP 6157234B2
Authority
JP
Japan
Prior art keywords
pixel
signal value
resolution
phase
shifted
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
JP2013127789A
Other languages
Japanese (ja)
Other versions
JP2015002532A (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 JP2013127789A priority Critical patent/JP6157234B2/en
Publication of JP2015002532A publication Critical patent/JP2015002532A/en
Application granted granted Critical
Publication of JP6157234B2 publication Critical patent/JP6157234B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

本発明は、画像データの低解像度化処理に関する。   The present invention relates to a resolution reduction process for image data.

スキャナ等の画像読み取り装置により取得した低解像度の画像データを高解像度で印刷する場合には、画像データの解像度を低解像度から高解像度に変換する必要がある。また、ネットワークを介して画像データを転送する際にネットワーク負荷を考慮して高解像度の画像データを低解像度化して転送した際には、ネットワーク先において高解像度に戻してから表示及びプリントする必要がある。   When printing low resolution image data acquired by an image reading device such as a scanner at high resolution, it is necessary to convert the resolution of the image data from low resolution to high resolution. In addition, when transferring image data via a network, when high-resolution image data is transferred at a lower resolution in consideration of the network load, it is necessary to display and print after returning to high resolution at the network destination. is there.

従来、入力される低解像度の画像を高解像度に変換する方法として多くの方法が提案されている。多階調の画像に対して解像度変換を行う場合に多く用いられる内挿法として、例えば、最近隣内挿法(Nearest Neighbor法)は、内挿を行いたい内挿点から最も近い格子点の信号値を内挿点の信号値としてそのまま決定する方法である。また、共一次内挿法(Bi-Linear法)では、内挿点の周囲2×2画素(4画素)の格子点の信号値を元に線形式により内挿点の信号値を決定する。更に、三次畳み込み内挿法(Bi-Cubic法)では、内挿点の周囲4×4画素(16画素)から三次式により内挿点の信号値を決定する。   Conventionally, many methods have been proposed as a method for converting an input low resolution image into a high resolution. For example, the nearest neighbor method (Nearest Neighbor method) is an interpolation method often used when performing resolution conversion on multi-gradation images. In this method, the signal value is determined as it is as the signal value of the interpolation point. Further, in the bilinear interpolation method (Bi-Linear method), the signal value of the interpolation point is determined by a linear format based on the signal value of the lattice points of 2 × 2 pixels (4 pixels) around the interpolation point. Further, in the cubic convolution interpolation method (Bi-Cubic method), the signal value of the interpolation point is determined by a cubic equation from 4 × 4 pixels (16 pixels) around the interpolation point.

特開平6−227048号公報JP-A-6-227048

上記の従来方法を用いて解像度変換を行った場合には次に示すような欠点がある。   When resolution conversion is performed using the above conventional method, there are the following drawbacks.

まず、最近隣内挿法の場合は、アルゴリズムが簡単で高速に処理を行うことは可能であるが、拡大比率が高くなるにつれエッジ部においてはモザイク状の模様が、斜線部においてはジャギー等の画質劣化が見られる。   First, in the case of nearest neighbor interpolation, the algorithm is simple and it is possible to perform processing at high speed.However, as the enlargement ratio increases, a mosaic pattern is formed at the edge portion, and a jaggy or the like is formed at the shaded portion. Degradation of image quality is observed.

また、内挿点を複数個の周辺画素の信号値を元に決定する共一次内挿法や三次畳み込み内挿法の場合は、最近隣内挿法に比べジャギー等の画質劣化は低減されるが、複数点の信号値が平均化されることで、画像が平滑化されてしまう。よって、画像のエッジ部や文字などのシャープな画質が求められる部分においてはなまりが目立ってしまう。また、一度低解像度化した画像を高解像度化させる場合、小ポイントの文字といった詳細復元が必要な部分については細かく復元することはできない。   In addition, in the case of bilinear interpolation or cubic convolution interpolation in which interpolation points are determined based on signal values of a plurality of neighboring pixels, image quality degradation such as jaggy is reduced compared to nearest neighbor interpolation. However, when the signal values at a plurality of points are averaged, the image is smoothed. Therefore, rounding becomes conspicuous in a portion where sharp image quality is required, such as an edge portion of an image or characters. Further, when an image whose resolution has been reduced once is increased in resolution, a portion that needs to be restored in detail, such as small-point characters, cannot be finely restored.

さらに、輪郭部に対してパターンマッチングを用いてスムージングする手法も提案されている(特許文献1参照)。この場合、ジャギーや平滑化等の問題に対しては使用するパターン作成もMTF(Modulation Transfer Function)特性を加味するなどの工夫により低減は可能である。しかしながら、特許文献1の手法の場合も、一度低解像度化した画像を高解像度化させる場合、小ポイントの文字といった詳細復元が必要な部分については細かく復元することはできない。   Furthermore, a method of performing smoothing on the contour portion using pattern matching has been proposed (see Patent Document 1). In this case, it is possible to reduce the generation of a pattern to be used for problems such as jaggies and smoothing by taking into account MTF (Modulation Transfer Function) characteristics. However, even in the case of the technique disclosed in Patent Document 1, when an image once reduced in resolution is increased in resolution, a portion that needs to be restored in detail, such as small-point characters, cannot be finely restored.

本発明に係る装置は、入力された画像の解像度を低解像度に変換する装置であって、前記入力された画像における注目画素及び当該注目画素から所定の画素数だけ位相がずれた位相ずれ画素の信号値の階調数を減らす階調数変換手段と、階調数が減った注目画素の信号値と階調数が減った位相ずれ画素の信号値を統合して、低解像度化後の画像における前記注目画素及び前記位相ずれ画素に対応する画素の信号値を決定する、信号値統合手段と、を備え、前記所定の画素数は、前記低解像度化の度合いに応じて決定されることを特徴とする。
An apparatus according to the present invention is an apparatus for converting the resolution of an input image to a low resolution, and includes a target pixel in the input image and a phase-shifted pixel whose phase is shifted from the target pixel by a predetermined number of pixels. An image after resolution reduction by integrating the tone number conversion means for reducing the tone number of the signal value and the signal value of the target pixel having the reduced tone number and the signal value of the phase shift pixel having the reduced tone number Signal value integration means for determining signal values of the pixels corresponding to the target pixel and the phase-shifted pixel, and the predetermined number of pixels is determined according to the degree of resolution reduction. Features.

本発明に係る低解像度化処理によれば、低解像度化された画像を後で高解像度の画像に戻す際に、詳細部分を正確に復元することができる。   According to the low resolution processing according to the present invention, when a reduced resolution image is later returned to a high resolution image, the detailed portion can be accurately restored.

実施例1に係る低解像度化処理を行う画像形成装置を含むシステム構成の一例を示す図である。1 is a diagram illustrating an example of a system configuration including an image forming apparatus that performs resolution reduction processing according to Embodiment 1. FIG. (a)はMFPのハードウェア構成を示す図、(b)はプリンタのハードウェア構成を示す図、(c)はクラウドサーバのハードウェア構成を示す図である。(A) is a diagram showing the hardware configuration of the MFP, (b) is a diagram showing the hardware configuration of the printer, and (c) is a diagram showing the hardware configuration of the cloud server. 実施例1のシステム構成における、MFPでの画像データの取得から、プリンタでの画像データの印刷出力までの大まかな処理の流れを示すフローチャートである。3 is a flowchart showing a rough processing flow from acquisition of image data by an MFP to print output of image data by a printer in the system configuration of the first embodiment. 実施例1に係る解像度変換部の内部構成を示すブロック図である。FIG. 3 is a block diagram illustrating an internal configuration of a resolution conversion unit according to the first embodiment. 実施例1に係る低解像度化処理の流れを示すフローチャートである。6 is a flowchart illustrating a flow of a resolution reduction process according to the first embodiment. 画像の解像度を横1/2倍、縦1/2倍の解像度に変換する場合における階調数変換処理の様子を説明する図である。It is a figure explaining the mode of the gradation number conversion process in the case of converting the resolution of an image into the resolution of 1/2 horizontal and 1/2 vertical. 低解像度化後の画像における対応画素の信号値が決定される過程を説明する図である。It is a figure explaining the process in which the signal value of the corresponding pixel in the image after resolution reduction is determined. 取得した信号値を、高解像度変換後の画像における新規注目画素及び新規位相ずれ画素の信号値として分割する様子を説明する図である。It is a figure explaining a mode that the acquired signal value is divided | segmented as a signal value of the new attention pixel and new phase shift | offset | difference pixel in the image after high resolution conversion. 、新規注目画素及び新規位相ずれ画素の分割された信号値がどのように対象座標に再配置されるのかを示す図である。It is a figure which shows how the signal value into which the new attention pixel and the new phase shift pixel were divided | segmented is rearranged to an object coordinate. 信号値勾配パターンマッチング部の詳細を示す図である。It is a figure which shows the detail of a signal value gradient pattern matching part. パターンマッチング処理の様子を説明する図である。It is a figure explaining the mode of a pattern matching process. 実施例2に係る解像度変換部内の低解像度処理部の内部構成を示すブロック図である。FIG. 10 is a block diagram illustrating an internal configuration of a low resolution processing unit in a resolution conversion unit according to a second embodiment. 実施例2に係る低解像度処理部における低解像度化処理の流れを示すフローチャートである。10 is a flowchart illustrating a flow of a resolution reduction process in a low resolution processing unit according to the second embodiment. 実施例2の概要を説明する図である。FIG. 6 is a diagram illustrating an outline of Example 2. 実施例3に係る解像度変換部内の低解像度処理部の内部構成を示すブロック図である。FIG. 10 is a block diagram illustrating an internal configuration of a low resolution processing unit in a resolution conversion unit according to a third embodiment. 実施例3に係る低解像度処理部における低解像度化処理の流れを示すフローチャートである。14 is a flowchart illustrating a flow of a resolution reduction process in a low resolution processing unit according to the third embodiment. 補助情報埋め込み判定処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of an auxiliary information embedding determination process. 実施例3における低解像度化処理を説明する図であり、(a)は低解像度化処理前の画像、(b)は低解像度化処理後の画像の一部をそれぞれ示す。FIG. 10 is a diagram for explaining a resolution reduction process in Embodiment 3, where (a) shows an image before the resolution reduction process, and (b) shows a part of the image after the resolution reduction process.

以下、図面を用いて本発明に係る実施形態を詳細に説明する。   Hereinafter, embodiments according to the present invention will be described in detail with reference to the drawings.

図1は、本実施例に係る低解像度化処理を行う画像形成装置を含むシステム構成の一例を示す図である。図1に示したシステム100は、スキャナ機能を有した画像形成装置(MFP)101、画像処理モジュールを備えた情報処理装置(クラウドサーバ)102、スキャナ機能を有しない画像形成装置(プリンタ)103で構成され、ネットワーク104を介して相互に接続されている。図1の例では、MFP101のスキャナで取得された画像データがクラウドサーバ102に送られ、クラウドサーバ102での色処理等の画像処理を経て転送された画像データがプリンタ103に送られて出力される様子を示している。   FIG. 1 is a diagram illustrating an example of a system configuration including an image forming apparatus that performs resolution reduction processing according to the present embodiment. A system 100 shown in FIG. 1 includes an image forming apparatus (MFP) 101 having a scanner function, an information processing apparatus (cloud server) 102 having an image processing module, and an image forming apparatus (printer) 103 having no scanner function. Configured and connected to each other via a network 104. In the example of FIG. 1, image data acquired by the scanner of the MFP 101 is sent to the cloud server 102, and image data transferred through image processing such as color processing in the cloud server 102 is sent to the printer 103 and output. It shows how it works.

図2の(a)はMFP101のハードウェア構成を示す図、同(b)はプリンタ103のハードウェア構成を示す図、同(c)はクラウドサーバ102のハードウェア構成を示す図である。   2A is a diagram illustrating a hardware configuration of the MFP 101, FIG. 2B is a diagram illustrating a hardware configuration of the printer 103, and FIG. 2C is a diagram illustrating a hardware configuration of the cloud server 102.

図2の(a)において、CPU201はMFP101を統括的に制御するプロセッサであって、内部バス209を介して接続された各部を制御するものである。表示部202は、タッチスクリーン機能を有する液晶パネルなどで構成され、種々の情報が表示される他、ユーザは、表示部202に表示される画面を介してスキャン指示などを行う。スキャナ部203は、原稿をスキャンして画像データを取得する機能を有する。プリンタ部204は、紙等の記録媒体上に画像を印字する機能を有する。メモリ205は、CPU201がMFP101を制御するために実行する各種命令(アプリケーションプログラム含む)や各種データを記憶するROMとCPU201のワークエリアとして機能するRAMで構成される。HDD206には、スキャナ部203でスキャンされた画像データ等が一時保存される。ネットワークインタフェース207は、CPU201に従いネットワーク104を介して画像データ等の送受信を行う。解像度変換部208は、各種画像の解像度を変換する処理を行う。解像度変換部208の詳細については後述する。   In FIG. 2A, a CPU 201 is a processor that comprehensively controls the MFP 101, and controls each unit connected via the internal bus 209. The display unit 202 includes a liquid crystal panel having a touch screen function and displays various information, and the user gives a scan instruction via a screen displayed on the display unit 202. The scanner unit 203 has a function of scanning a document and acquiring image data. The printer unit 204 has a function of printing an image on a recording medium such as paper. The memory 205 includes a ROM that stores various commands (including application programs) executed by the CPU 201 to control the MFP 101 and various data, and a RAM that functions as a work area for the CPU 201. The HDD 206 temporarily stores image data scanned by the scanner unit 203. The network interface 207 transmits and receives image data and the like via the network 104 according to the CPU 201. The resolution conversion unit 208 performs processing for converting the resolution of various images. Details of the resolution conversion unit 208 will be described later.

図2の(b)において、CPU211はプリンタ103を統括的に制御するプロセッサであって、内部バス218を介して接続された各部を制御するものである。表示部212は、液晶パネルなどで構成され、種々の情報が表示される。プリンタ部213は、紙等の記録媒体上に画像を印字する機能を有する。メモリ214は、CPU211がプリンタ103を制御するために実行する各種命令(アプリケーションプログラム含む)や各種データを記憶するROMとCPU211のワークエリアとして機能するRAMで構成される。HDD215には、受信した画像データ等が一時保存される。ネットワークインタフェース216は、CPU211に従いネットワーク104を介して画像データ等の送受信を行う。解像度変換部217は、各種画像の解像度を変換する処理を行う。解像度変換部217の詳細については後述する。   In FIG. 2B, a CPU 211 is a processor that comprehensively controls the printer 103, and controls each unit connected via the internal bus 218. The display unit 212 is composed of a liquid crystal panel or the like, and displays various information. The printer unit 213 has a function of printing an image on a recording medium such as paper. The memory 214 includes a ROM that stores various commands (including application programs) executed by the CPU 211 to control the printer 103 and various data, and a RAM that functions as a work area for the CPU 211. The HDD 215 temporarily stores received image data and the like. The network interface 216 transmits and receives image data and the like via the network 104 according to the CPU 211. The resolution conversion unit 217 performs processing for converting the resolution of various images. Details of the resolution conversion unit 217 will be described later.

図2の(c)において、CPU221はクラウドサーバ102を統括的に制御するプロセッサであって、内部バス227を介して接続された各部を制御するものである。メモリ222は、CPU221がクラウドサーバ102を制御するために実行する各種命令等を記憶するROMとCPU221のワークエリアとして機能するRAMで構成される。キーボードコントローラ223は、キーボード230からのキー入力を制御する。ディスプレイコントローラ224は、ディスプレイ240の表示を制御する。ディスクコントローラ225は、各種データを記憶する外部メモリ250(ハードディスクドライブ(HDD等)におけるデータアクセスを制御する。ネットワークインタフェース226は、CPU221に従いネットワーク104を介して画像データ等の送受信を行う。   In FIG. 2C, a CPU 221 is a processor that comprehensively controls the cloud server 102 and controls each unit connected via the internal bus 227. The memory 222 includes a ROM that stores various commands executed by the CPU 221 to control the cloud server 102 and a RAM that functions as a work area for the CPU 221. The keyboard controller 223 controls key input from the keyboard 230. The display controller 224 controls display on the display 240. The disk controller 225 controls data access in an external memory 250 (hard disk drive (HDD or the like)) that stores various data, and the network interface 226 transmits and receives image data and the like via the network 104 in accordance with the CPU 221.

上記で示したMFP101、クラウドサーバ102及びプリンタ103のハードウェア構成は一例にすぎず、上記構成に限定されるものでないことは言うまでもない。   It goes without saying that the hardware configurations of the MFP 101, the cloud server 102, and the printer 103 described above are merely examples, and are not limited to the above configurations.

図3は、図1に示したシステム構成における、MFP101での画像データの取得から、プリンタ103での画像データの印刷出力までの大まかな処理の流れを示すフローチャートである。   FIG. 3 is a flowchart showing a rough process flow from acquisition of image data in the MFP 101 to print output of image data in the printer 103 in the system configuration shown in FIG.

ステップ301において、MFP101は、入力画像データを取得する。例えば、カメラで撮像された撮像画像データや、パソコン等で作成したラスタ画像データが、USBメモリ等の可搬記録媒体やネットワーク104を介して取得される。   In step 301, the MFP 101 acquires input image data. For example, captured image data captured by a camera and raster image data created by a personal computer or the like are acquired via a portable recording medium such as a USB memory or the network 104.

ステップ302において、MFP101は、取得した入力画像データに対し、ネットワーク負荷やメモリ負荷等の低減を考慮した解像度変換処理を解像度変換部208にて行い、画像の解像度を下げた低解像度画像を生成する。この解像度変換処理(低解像度化処理)においては、低解像度画像を高解像度画像に戻す際に使用する補助情報の埋め込み処理も併せて行う。この低解像度化処理の詳細については後述する。   In step 302, the MFP 101 performs resolution conversion processing in consideration of reduction of network load, memory load, and the like on the acquired input image data in the resolution conversion unit 208, and generates a low resolution image with a reduced image resolution. . In this resolution conversion processing (resolution reduction processing), auxiliary information embedding processing used when returning a low resolution image to a high resolution image is also performed. Details of the resolution reduction processing will be described later.

ステップ303において、MFP101は、低解像度化処理によって生成された画像データ(以下、「低解像度画像データ」と呼ぶ。)を、ネットワークインタフェース207を介してクラウドサーバ102に送信する。   In step 303, the MFP 101 transmits the image data generated by the resolution reduction processing (hereinafter referred to as “low resolution image data”) to the cloud server 102 via the network interface 207.

ステップ304において、クラウドサーバ102は、受け取った低解像度画像データに対し、各種画像処理を実施する。   In step 304, the cloud server 102 performs various image processing on the received low-resolution image data.

ステップ305において、クラウドサーバ102は、所定の画像処理を施した低解像度画像データをプリンタ103に送信する。   In step 305, the cloud server 102 transmits low-resolution image data subjected to predetermined image processing to the printer 103.

ステップ306において、プリンタ103は、受け取った低解像度画像データに対し、上記補助情報を用いた解像度変換処理(高解像度化処理)を解像度変換部217にて行い、高解像度画像を生成する。   In step 306, the printer 103 performs resolution conversion processing (high resolution processing) using the auxiliary information on the received low resolution image data by the resolution conversion unit 217 to generate a high resolution image.

ステップ307において、プリンタ103は、高解像度化処理によって生成された画像データ(以下、「高解像度画像データ」と呼ぶ。)を印刷出力する。
図4は、本実施例に係る解像度変換部208/217の内部構成を示すブロック図である。解像度変換部208/217は、低解像度処理部410と高解像度処理部420とで構成される。
In step 307, the printer 103 prints out the image data generated by the high resolution processing (hereinafter referred to as “high resolution image data”).
FIG. 4 is a block diagram illustrating an internal configuration of the resolution conversion unit 208/217 according to the present embodiment. The resolution converter 208/217 includes a low resolution processor 410 and a high resolution processor 420.

<低解像度化処理>
まず、低解像度処理部410について説明する。低解像度処理部410は、階調数変換部411と信号値統合部412とで構成され、入力された画像データのサイズを低減させるため、画像の解像度を下げる処理を行う。
<Low resolution processing>
First, the low resolution processing unit 410 will be described. The low resolution processing unit 410 includes a gradation number conversion unit 411 and a signal value integration unit 412. The low resolution processing unit 410 performs processing for reducing the resolution of an image in order to reduce the size of input image data.

階調数変換部411は、入力された画像データの階調数(bit数)を減らす階調数変換処理を行う。例えば、入力画像データにおける各画素が8bitの信号値であった場合に、それを4bitの信号値に変換する処理を行う。この階調数変換処理は、画像の全画素に対してではなく、注目画素と当該注目画素から所定の画素数だけ位相がずれた画素(以下、「位相ずれ画素」と呼ぶ。)に対してのみ行う。例えば、画像の解像度を横1/2倍、縦1/2倍の解像度に変換する場合には、注目画素と、当該注目画素から横方向と縦方向に各1画素ずつ位相をずらした位置にある画素に対して階調数変換処理がなされる。画像の解像度を横1/3倍、縦1/3倍の解像度に変換する場合であれば、注目画素と、当該注目画素から横方向と縦方向に各2画素ずつ位相をずらした位置にある画素に対して階調数変換処理がなされることになる。つまり、位相ずれ画素における注目画素からの位相のずれ量は、入力画像データの低解像度化の度合いに応じて決まる。   The gradation number conversion unit 411 performs gradation number conversion processing for reducing the number of gradations (bit number) of the input image data. For example, when each pixel in the input image data has an 8-bit signal value, a process of converting the pixel value into a 4-bit signal value is performed. This gradation number conversion process is not performed on all pixels of an image, but on a pixel of interest and a pixel whose phase is shifted from the pixel of interest by a predetermined number of pixels (hereinafter referred to as “phase-shifted pixel”). Only do. For example, when converting the resolution of an image to a resolution of 1/2 times horizontal and 1/2 times vertical, the target pixel and the pixel shifted from the target pixel by one pixel each in the horizontal and vertical directions. A gradation number conversion process is performed on a certain pixel. If the resolution of the image is to be converted to 1/3 horizontal and 1/3 vertical resolution, the pixel of interest is in a position that is shifted in phase by 2 pixels in the horizontal and vertical directions from the pixel of interest. The gradation number conversion process is performed on the pixel. That is, the phase shift amount from the target pixel in the phase shift pixel is determined according to the degree of resolution reduction of the input image data.

信号値統合部412は、各4bit化された注目画素及び位相ずれ画素の信号値を、低解像度化後の画像における対応する画素(以下、「対応画素」と呼ぶ。)内に統合して埋め込む処理を行う。   The signal value integration unit 412 integrates and embeds the signal values of each pixel of interest and phase-shifted pixels that have been converted into 4 bits into corresponding pixels (hereinafter referred to as “corresponding pixels”) in the reduced-resolution image. Process.

図5は、低解像度処理部410における低解像度化処理の流れを示すフローチャートである。なお、この一連の処理は、以下に示す手順を記述したコンピュータ実行可能なプログラムを、MFP101又はプリンタ103内のHDDからメモリ上に読み込んだ後に、CPUによって該プログラムを実行することによって実施される。ここでは、MFP101において、入力された画像の解像度を横1/2倍、縦1/2倍に変換する場合を例に説明するものとする。また、入力画像の階調数は8bitとし、出力画像の階調数も同じ8bitを維持するものとする。   FIG. 5 is a flowchart showing the flow of the resolution reduction processing in the low resolution processing unit 410. This series of processing is performed by reading a computer-executable program describing the following procedure from the HDD in the MFP 101 or the printer 103 into a memory and then executing the program by the CPU. Here, a case will be described as an example in which the resolution of the input image is converted to 1/2 horizontal and 1/2 vertical in the MFP 101. The number of gradations of the input image is 8 bits, and the same number of gradations of the output image is maintained.

ステップ501において、低解像度処理部410は、入力画像データ(高解像度画像データ)を取得する。取得した入力画像データは、階調数変換部411に送られる。   In step 501, the low resolution processing unit 410 acquires input image data (high resolution image data). The acquired input image data is sent to the tone number conversion unit 411.

ステップ502において、階調数変換部411は、取得した入力画像データが示す画像における注目画素と位相ずれ画素を決定する。図6は、画像の解像度を横1/2倍、縦1/2倍の解像度に変換する場合における階調数変換処理の様子を説明する図であり、(a)は入力された画像(高解像度画像)内の文字「あ」の部分を拡大した図である。図6の(a)では、まず注目画素として画素601が決定され、この画素601に対しX軸方向及びY軸方向に各1画素ずつ位相がずれた位置にある画素602が位相ずれ画素として決定されている。   In step 502, the gradation number conversion unit 411 determines a target pixel and a phase shift pixel in the image indicated by the acquired input image data. FIG. 6 is a diagram for explaining the state of tone number conversion processing when the resolution of an image is converted to a resolution of ½ times horizontal and ½ times vertical. FIG. It is the figure which expanded the part of the character "A" in resolution image. In FIG. 6A, first, a pixel 601 is determined as a pixel of interest, and a pixel 602 that is out of phase with the pixel 601 in the X-axis direction and the Y-axis direction is determined as a phase-shifted pixel. Has been.

ステップ503において、階調数変換部411は、決定された注目画素及び位相ずれ画素の信号値を取得してその階調数(ビット数)を減らす処理を行う。具体的には、注目画素及び位相ずれ画素の信号値のビット数を、1/N(Nは2以上の自然数)に変換する。例えば、入力画像の階調数が24bitである場合において、出力画像の階調数が24bit、16bit、8bitであったとする。このとき、Nの値はそれぞれ2、3、4となる。本実施例では入力画像と出力画像の階調数は同じ8bitなので、N=2となり、注目画素である画素601の信号値と位相ずれ画素である画素602の信号値の階調数はそれぞれ8bitから4bitへと変換される。図6の(b)は、注目画素601の4bit化後の画素601’及び位相ずれ画素602の4bit化後の画素602’を示している。階調数が減らされた注目画素及び位相ずれ画素の信号値は信号値統合部412に送られる。   In step 503, the gradation number conversion unit 411 performs processing to acquire the signal values of the determined target pixel and phase shift pixel and reduce the gradation number (bit number). Specifically, the number of bits of the signal value of the target pixel and the phase shift pixel is converted to 1 / N (N is a natural number of 2 or more). For example, when the number of gradations of the input image is 24 bits, it is assumed that the number of gradations of the output image is 24 bits, 16 bits, and 8 bits. At this time, the values of N are 2, 3, and 4, respectively. In this embodiment, since the number of gradations of the input image and the output image is the same 8 bits, N = 2, and the number of gradations of the signal value of the pixel 601 that is the target pixel and the signal value of the pixel 602 that is the phase shift pixel is 8 bits, respectively. To 4 bits. FIG. 6B shows a pixel 601 ′ after the 4-bit conversion of the pixel of interest 601 and a pixel 602 ′ after the 4-bit conversion of the phase shift pixel 602. The signal values of the target pixel and the phase shift pixel with the reduced number of gradations are sent to the signal value integration unit 412.

ステップ504において、信号値統合部412は、階調数の減った注目画素及び位相ずれ画素の信号値を用いて、低解像度化後の画像における対応する画素(以下、「対応画素」と呼ぶ。)の信号値を決定する。具体的には、階調数の減った(ここでは各4bit化された)注目画素及び位相ずれ画素の信号値を、対応画素における上位ビット及び下位ビットとして統合し埋め込む処理を行う。従来手法である最近隣内挿法の場合には、低解像度化後の画像における対応画素の信号値は最近隣の画素を元に決定される。そのため、図6に示す例では、注目画素601の8bitの値がそのまま保持されことになる(図6の(c)を参照)。これに対し、本実施例に係る手法では、4bit化した注目画素601’の信号値と4bit化した位相ずれ画素602’の信号値とを統合した8bitの信号値が、対応画素(画素604))の信号値として保持される(図6の(d)を参照)。この場合の、位相ずれ画素602’における下位4bitの信号値が前述の補助情報となる。図7は、図6の(d)で示される対応画素604の信号値が決定される過程を説明する図である。まず、入力される各8bitの注目画素601とその位相ずれ画素602について、それぞれ上位4bitの信号値(図7の例では、“1010”と“1101”)を取得する。次に、取得した上位各4bitの信号値のうち、注目画素601の上位4bit“1010”を対応画素604の上位4bit側に、位相ずれ画素602の上位4bit“1110”を下位4bit側に入れる。こうして得られた8bitの信号値“10101101”が、低解像度化後の画像の対応画素604における信号値として保持されることになる。   In step 504, the signal value integration unit 412 uses the signal values of the target pixel and the phase shift pixel with the reduced number of gradations, and calls the corresponding pixel in the image after the resolution reduction (hereinafter referred to as “corresponding pixel”). ) Is determined. Specifically, processing is performed to integrate and embed signal values of the target pixel and the phase-shifted pixel with the reduced number of gradations (here, 4 bits each) as upper bits and lower bits in the corresponding pixels. In the case of the nearest neighbor interpolation method, which is a conventional method, the signal value of the corresponding pixel in the image after resolution reduction is determined based on the nearest pixel. Therefore, in the example shown in FIG. 6, the 8-bit value of the pixel of interest 601 is held as it is (see FIG. 6C). On the other hand, in the method according to the present embodiment, the 8-bit signal value obtained by integrating the 4-bit signal value of the pixel of interest 601 ′ and the 4-bit signal value of the phase shift pixel 602 ′ is a corresponding pixel (pixel 604). ) (See FIG. 6D). In this case, the lower 4-bit signal value in the phase-shifted pixel 602 'is the above-described auxiliary information. FIG. 7 is a diagram illustrating a process in which the signal value of the corresponding pixel 604 shown in (d) of FIG. 6 is determined. First, the upper 4-bit signal values (“1010” and “1101” in the example of FIG. 7) are acquired for each 8-bit target pixel 601 and its phase shift pixel 602 that are input. Next, among the acquired upper 4-bit signal values, the upper 4 bits “1010” of the target pixel 601 are input to the upper 4 bits of the corresponding pixel 604, and the upper 4 bits “1110” of the phase shift pixel 602 are input to the lower 4 bits. The 8-bit signal value “10101101” obtained in this way is held as the signal value in the corresponding pixel 604 of the image after resolution reduction.

ステップ505において、低解像度処理部410は、入力画像データが示す画像において未処理の画素がないかを判定する。未処理の画素があればステップ502に戻り、次の注目画素と位相ずれ画素が決定される。未処理の画素がなければ本処理を終える。   In step 505, the low resolution processing unit 410 determines whether there is an unprocessed pixel in the image indicated by the input image data. If there is an unprocessed pixel, the process returns to step 502, and the next pixel of interest and phase shift pixel are determined. If there is no unprocessed pixel, the present process is terminated.

以上のようにして、入力画像の解像度が、例えば横1/2倍、縦1/2倍の解像度に変換される。   As described above, the resolution of the input image is converted to, for example, a resolution of 1/2 times horizontal and 1/2 times vertical.

上述のとおり、本手法による低解像度化処理によって生成される低解像度画像データにおける各対応画素の信号値の上位のbit(本実施例では上位4bit)は、最近隣画素の信号値(図6では601’)で統一される。このため、最近隣内挿法で解像度変換を行った画像と同等の画像が得られることとなる。   As described above, the upper bit (upper 4 bits in this embodiment) of the signal value of each corresponding pixel in the low resolution image data generated by the resolution reduction processing according to this method is the signal value of the nearest pixel (in FIG. 6). 601 ′). For this reason, an image equivalent to an image subjected to resolution conversion by the nearest neighbor interpolation method is obtained.

なお、上記で述べた変換率(1/2倍)や入出力画像の階調数(8bit)はあくまで一例であり、これらに限定されるものでないことはいうまでもない。   The conversion rate (1/2 times) and the number of gradations of input / output images (8 bits) described above are merely examples, and needless to say, the invention is not limited to these.

また、本実施例では注目画素、及び位相ズレ画素の信号値をそのまま最近隣の値を使用したが、例えば周辺画素の重み付き平均等し縮小後に失われてしまう周辺画素を考慮することも可能である。図6の(e)及び(f)を参照して説明する。いま、画素aを注目画素とし、画素a、画素c、画素dの信号値が255で、画素bの信号値が30であったとする。上述の手法では、画素a及び画素dの信号値のみを考慮され、画素bの信号値については考慮されることがない。そのため、元画像である高解像画像では存在していた画素bの信号値30が完全に消失してしまう。そこで、注目画素及び位相ズレ画素の信号値として最近隣画素の値をそのまま使用するのではなく、周辺画素の重み付き平均を行う。例えば、以下の式を用いて、注目画素及び8近傍画素の移動平均を行って、注目画素の値を決める。
(x’,y’)=((x−1,y−1)+(x,y−1)+(x+1,y−1)+(x−1,y)+(x,y)+(x+1,y)+(x−1,y+1)+(x,y+1)+(x+1,y+1))/9
In this embodiment, the nearest neighbor value is used as the signal value of the target pixel and the phase shift pixel, but it is also possible to consider the peripheral pixel that is lost after the reduction, for example, by weighted averaging of the peripheral pixels. It is. This will be described with reference to FIGS. 6 (e) and (f). Assume that the pixel a is a pixel of interest, the signal values of the pixels a, c, and d are 255 and the signal value of the pixel b is 30. In the above-described method, only the signal values of the pixel a and the pixel d are considered, and the signal value of the pixel b is not considered. For this reason, the signal value 30 of the pixel b that existed in the high-resolution image that is the original image is completely lost. Therefore, the value of the nearest neighbor pixel is not used as it is as the signal value of the target pixel and the phase shift pixel, but a weighted average of the peripheral pixels is performed. For example, the value of the target pixel is determined by performing a moving average of the target pixel and eight neighboring pixels using the following formula.
(X ′, y ′) = ((x−1, y−1) + (x, y−1) + (x + 1, y−1) + (x−1, y) + (x, y) + ( x + 1, y) + (x-1, y + 1) + (x, y + 1) + (x + 1, y + 1)) / 9

また、より単純に、以下の式を用いて、注目画素及び4近傍画素の移動平均を行って、注目画素の値を決めてもよい。
(x’,y’)=((x,y−1)+(x−1,y)+(x,y)+(x+1,y)+(x,y+1))/5
In addition, the value of the target pixel may be determined by performing a moving average of the target pixel and four neighboring pixels using the following formula.
(X ′, y ′) = ((x, y−1) + (x−1, y) + (x, y) + (x + 1, y) + (x, y + 1)) / 5

さらに、移動平均によって画像がぼやけてしまうことを考慮し、以下の式を用いて注目画素に重みを付けるようにしてもよい。
(x’,y’)=((x,y−1)+(x−1,y)+(x,y)*2+(x+1,y)+(x, y+1))/6
Further, considering that the image is blurred due to the moving average, the pixel of interest may be weighted using the following equation.
(X ′, y ′) = ((x, y−1) + (x−1, y) + (x, y) * 2 + (x + 1, y) + (x, y + 1)) / 6

このような重み付き平均を全画素に行った後で上述した低解像度化処理を行うことで、低解像度化処理によって消失してしまう画素の信号値を考慮することが可能になる。   By performing the above-described resolution reduction processing after performing such a weighted average on all the pixels, it is possible to consider the signal values of the pixels that are lost by the resolution reduction processing.

<高解像度化処理>
次に、高解像度処理部420について説明する。
<High resolution processing>
Next, the high resolution processing unit 420 will be described.

高解像度処理部420は、信号値取得部421、信号値分割部422、分割信号値再配置部423及び信号値勾配パターンマッチング部424で構成され、画像の解像度を上げる処理を行う。ここでは、上述の図6及び図7で説明した横1/2倍、縦1/2倍に変換された画像の解像度を、横2倍、縦2倍に変換する場合を例に説明するものとする。なお、低解像度処理部410と同様、ここで述べる変換率(2倍)や階調数(8bit)はあくまで一例であり、これらに限定されるものでないことはいうまでもない。   The high resolution processing unit 420 includes a signal value acquisition unit 421, a signal value division unit 422, a divided signal value rearrangement unit 423, and a signal value gradient pattern matching unit 424, and performs a process of increasing the resolution of an image. Here, an example will be described in which the resolution of an image converted to 1/2 horizontal and 1/2 vertical described with reference to FIGS. 6 and 7 is converted to horizontal and vertical twice. And Note that, as with the low resolution processing unit 410, the conversion rate (doubled) and the number of gradations (8 bits) described here are merely examples, and it goes without saying that the present invention is not limited to these.

信号値取得部421は、入力された画像(低解像度画像)における注目画素の信号値(本実施例では8bit)を取得する。   The signal value acquisition unit 421 acquires the signal value (8 bits in this embodiment) of the pixel of interest in the input image (low-resolution image).

信号値分割部422は、信号値取得部411で取得した注目画素の信号値を高解像度変換後の画像における新規注目画素N及び新規位相ずれ画素Sの信号値として分割する処理を行う。図8は、取得した8bitの信号値を、高解像度変換後の画像における新規注目画素N及び新規位相ずれ画素Sの信号値として分割する様子を説明する図である。ここでは、図6の(d)で示した画素604の8bitの信号値“10101101”が信号値取得部421で取得された場合を想定している。この場合、取得した8bitの信号値“10101101”のうち上位4bit“1010”は注目画素601’の信号値、下位4bit“1101”は位相ずれ画素602’の信号値である。その為、取得された8bitの信号値のうち上位4bitは新規注目画素Nの上位4bit、下位4bitは新規位相ずれ画素Sの上位4bitとして分割される。   The signal value dividing unit 422 performs a process of dividing the signal value of the target pixel acquired by the signal value acquiring unit 411 as the signal value of the new target pixel N and the new phase shift pixel S in the image after high resolution conversion. FIG. 8 is a diagram for explaining how the acquired 8-bit signal value is divided as the signal value of the new target pixel N and the new phase shift pixel S in the image after high resolution conversion. Here, it is assumed that the signal value acquisition unit 421 acquires the 8-bit signal value “10101101” of the pixel 604 illustrated in FIG. In this case, of the acquired 8-bit signal value “10101101”, the upper 4 bits “1010” is the signal value of the target pixel 601 ′, and the lower 4 bits “1101” is the signal value of the phase shift pixel 602 ′. Therefore, of the acquired 8-bit signal value, the upper 4 bits are divided into the upper 4 bits of the new target pixel N, and the lower 4 bits are divided into the upper 4 bits of the new phase shift pixel S.

分割信号値再配置部423は、信号値分割部422で分割した新規注目画素Nの上位4bit及び新規位相ずれ画素Sの上位4bitを、解像度変換後(高解像度化後)の画像の対象座標に再配置する。図9は、新規注目画素N及び新規位相ずれ画素Sの分割された信号値(分割信号値)がどのように対象座標に再配置されるのかを示す図である。図9において、空白部分は信号値が未知の画素を示している。   The divided signal value rearrangement unit 423 converts the upper 4 bits of the new pixel of interest N and the upper 4 bits of the new phase shift pixel S divided by the signal value dividing unit 422 into the target coordinates of the image after resolution conversion (after high resolution). Rearrange. FIG. 9 is a diagram illustrating how the signal values (divided signal values) obtained by dividing the new target pixel N and the new phase shift pixel S are rearranged at the target coordinates. In FIG. 9, blank portions indicate pixels whose signal values are unknown.

信号値勾配パターンマッチング部424は、分割信号値再配置部423で再配置された新規注目画素N及び新規位相ずれ画素Sの分割信号値の勾配に基づいて、信号値が未知の画素の信号値を決定する処理を行う。図10は、信号値勾配パターンマッチング部424の詳細を示す図である。信号値勾配パターンマッチング部424は、周辺画素信号値取得部1001、パターンマッチング部1002、低・高解像度対応信号値パターンテーブル1003及び信号値置換部1004で構成される。   The signal value gradient pattern matching unit 424 determines the signal value of a pixel whose signal value is unknown based on the gradient of the divided signal values of the new pixel of interest N and the new phase shift pixel S rearranged by the divided signal value rearrangement unit 423. The process of determining is performed. FIG. 10 is a diagram illustrating details of the signal value gradient pattern matching unit 424. The signal value gradient pattern matching unit 424 includes a peripheral pixel signal value acquisition unit 1001, a pattern matching unit 1002, a low / high resolution correspondence signal value pattern table 1003, and a signal value replacement unit 1004.

周辺画素信号値取得部1001は、分割信号値再配置部423で分割信号値が再配置された画像データを取得し、取得した画像内の所定の領域における各画素の信号値を、信号値パターンとして取得する。具体的には、低解像度画像から高解像度画像に変換した際に補間が必要な信号値が未知の画素(図9を参照)を囲む領域(例えば、3×3画素)の信号値を、低解像度信号値パターンとして取得する。取得した低解像度信号値パターンは、パターンマッチング部1002に送られる。   The peripheral pixel signal value acquisition unit 1001 acquires the image data in which the division signal value is rearranged by the division signal value rearrangement unit 423, and the signal value of each pixel in a predetermined region in the acquired image is obtained as a signal value pattern. Get as. Specifically, when converting from a low-resolution image to a high-resolution image, the signal value of an area (for example, 3 × 3 pixels) surrounding a pixel (see FIG. 9) whose signal value needs to be interpolated is unknown. Obtained as a resolution signal value pattern. The acquired low resolution signal value pattern is sent to the pattern matching unit 1002.

パターンマッチング部1002は、まず、受け取った低解像度信号値パターンと一致する又は最も近い信号値パターンを持つ信号値パターン(以下、「マッチングパターン」と呼ぶ。)を、予め用意された低像度信号値パターンリストから検索し取得する。そして、得られたマッチングパターンに対応付けられた多階調の信号値置換パターン(高解像度信号値パターン)を、高解像度信号値パターンリストから検索し取得する。図11は、このようなパターンマッチング処理の様子を説明する図である。図11において、1101は、新規注目画素Nの上位4bit、新規位相ずれ画素Sの上位4bitの信号値を持つABCDの4つの画素の他、5つの信号値が未知の画素を囲む3×3画素の低解像度信号値パターンである。この低解像度信号値パターン1101の中心にある未知画素iの信号値が、高解像度信号値パターンリストから得られた高解像度信号値パターン1102によって得られることになる。高解像度信号値パターンリストは、低解像度信号値パターンがA(X,Y−1)、B(X−1,Y)、C(X+1,Y)、D(X,Y+1)の場合には、その組合せに対応するA(X,Y−1)、B(X−1,Y)、C(X+1,Y)、D(X,Y+1)、E(X,Y)の高解像度信号値パターンで構成される。図11において、輝度信号値が、A=11110000(240)、B=11010000(208)、C=10000000(64)、D=11000000(48)からなる低解像度信号値パターン1103が取得された場合の例を示している。この低解像度信号値パターン1103に一致するパターンが低解像度信号値パターンリストから取得され、それに対応する高解像度信号値パターンが高解像度信号値パターンリストから取得されることになる。その結果、低解像度信号値パターン1103は、未知画素iの信号値としてE=10100000(80)を有する高解像度信号値パターン1104に置き換えられることになる。   The pattern matching unit 1002 first prepares a signal value pattern (hereinafter referred to as a “matching pattern”) having a signal value pattern that matches or is closest to the received low resolution signal value pattern. Retrieve from the value pattern list. Then, the multi-tone signal value replacement pattern (high resolution signal value pattern) associated with the obtained matching pattern is retrieved from the high resolution signal value pattern list and acquired. FIG. 11 is a diagram for explaining the pattern matching process. In FIG. 11, reference numeral 1101 denotes a 3 × 3 pixel surrounding four pixels having unknown signal values in addition to four pixels of ABCD having a signal value of the upper 4 bits of the new target pixel N and the upper 4 bits of the new phase shift pixel S. This is a low resolution signal value pattern. The signal value of the unknown pixel i at the center of the low resolution signal value pattern 1101 is obtained by the high resolution signal value pattern 1102 obtained from the high resolution signal value pattern list. The high resolution signal value pattern list is obtained when the low resolution signal value pattern is A (X, Y-1), B (X-1, Y), C (X + 1, Y), D (X, Y + 1). A high resolution signal value pattern of A (X, Y-1), B (X-1, Y), C (X + 1, Y), D (X, Y + 1), E (X, Y) corresponding to the combination. Composed. In FIG. 11, when the low resolution signal value pattern 1103 in which the luminance signal values are A = 11110000 (240), B = 11010000 (208), C = 10000000 (64), and D = 11000000 (48) is acquired. An example is shown. A pattern that matches the low resolution signal value pattern 1103 is acquired from the low resolution signal value pattern list, and a corresponding high resolution signal value pattern is acquired from the high resolution signal value pattern list. As a result, the low resolution signal value pattern 1103 is replaced with a high resolution signal value pattern 1104 having E = 10100000 (80) as the signal value of the unknown pixel i.

低・高解像度対応信号値パターンテーブルにおける低解像度信号値パターンリスト及び高解像度信号値パターンリスト内の各信号値パターンの数を増やすことでより精度よく、高階調数で復元させることが可能となる。なお、本実施例では十字状の形状(上下左右の4近傍)の信号値パターンから未知画素の信号値を求める場合について説明したが、これに限定されるものではなく、他の形状の信号値パターンを持ってもよい。取得した高解像度信号値パターンは、信号値置換部1004に送られる。   By increasing the number of signal value patterns in the low resolution signal value pattern list and the high resolution signal value pattern list in the low / high resolution compatible signal value pattern table, it is possible to restore more accurately and with a high number of gradations. . In the present embodiment, the case where the signal value of the unknown pixel is obtained from the signal value pattern having a cross shape (upper, lower, left, and right four vicinity) has been described. However, the present invention is not limited to this. You may have a pattern. The acquired high resolution signal value pattern is sent to the signal value replacement unit 1004.

信号値置換部1004は、受け取った高解像度信号パターンを用いて、高解像度画像における未知画素iの信号値を置き換える処理(未知画素iに補間信号値を埋める処理)を行う。   The signal value replacement unit 1004 performs processing for replacing the signal value of the unknown pixel i in the high-resolution image (processing for filling the unknown pixel i with the interpolation signal value) using the received high-resolution signal pattern.

以上の各処理を全補間座標において行うことで、低解像度画像が高解像度画像に変換される。   By performing the above processes for all the interpolation coordinates, the low resolution image is converted into the high resolution image.

本実施例によれば、低解像度化処理の際に注目画素に対する位相ずれ画素の信号値が補助情報として組み込まれる。そして、高解像度の画像に戻すときに補助情報を使用することで、小ポイントの文字やエッジ部において詳細に復元することが可能となる。   According to the present embodiment, the signal value of the phase shift pixel with respect to the target pixel is incorporated as auxiliary information during the resolution reduction process. Then, by using auxiliary information when returning to a high-resolution image, it is possible to restore in detail at small-point characters and edge portions.

実施例1では、入力画像の解像度を低解像度に変換する際に、画像全体に対して補助情報を埋め込んでいた。これにより、文字の詳細復元が可能となるが、一方で写真などの階調数を多く必要とする部分においては疑似輪郭が目立ってしまう可能性がある。次に、文字、写真、グラフィックといった複数の属性のオブジェクトが画像内に含まれる場合に、像域分離等の属性判定処理を行って、属性ごとに補助情報の埋め込み処理の有無を切り替える態様について、実施例2として説明する。なお、実施例1と共通する部分については、説明を簡略化ないしは省略し、差異点を中心に説明するものとする。   In the first embodiment, auxiliary information is embedded in the entire image when the resolution of the input image is converted to a low resolution. This makes it possible to restore the details of the characters, but on the other hand, there is a possibility that the pseudo contour will be conspicuous in a portion that requires a large number of gradations such as a photograph. Next, when an object having a plurality of attributes such as characters, photographs, and graphics is included in the image, an attribute determination process such as image area separation is performed, and the mode for switching the auxiliary information embedding process for each attribute is switched. This will be described as Example 2. In addition, about the part which is common in Example 1, description is simplified or abbreviate | omitted and it shall explain centering on difference.

図12は、本実施例に係る、解像度変換部208/217内の低解像度処理部1200の内部構成を示すブロック図である。実施例1に係る低解像度処理部410と比較すると、像域分離/判定部1201と一般低解像度変換部1202が追加されている。   FIG. 12 is a block diagram illustrating an internal configuration of the low resolution processing unit 1200 in the resolution conversion unit 208/217 according to the present embodiment. Compared to the low resolution processing unit 410 according to the first embodiment, an image area separation / determination unit 1201 and a general low resolution conversion unit 1202 are added.

像域分離/判定部1201は、入力画像内のオブジェクトごとに、文字、写真、グラフィックなどの属性を判定し、補助情報(位相ずれ画素の信号値)を埋め込む処理を行うかどうかを判定する処理を行う。   The image area separation / determination unit 1201 determines, for each object in the input image, an attribute such as a character, a photograph, or a graphic, and determines whether to perform a process of embedding auxiliary information (phase-shifted pixel signal value). I do.

一般低解像度変換部1202は、像域分離/判定部1201における判定の結果、補助情報の埋め込みを行わないと判定されたオブジェクトに対して、最近隣内挿法や共一次内挿法、三次畳み込み内挿法などの一般的な手法による低解像度化処理を行う。   The general low resolution conversion unit 1202 performs nearest neighbor interpolation, bilinear interpolation, and cubic convolution on an object that is determined not to embed auxiliary information as a result of determination in the image region separation / determination unit 1201. A resolution reduction process is performed by a general method such as interpolation.

図13は、本実施例に係る低解像度処理部1200における低解像度化処理の流れを示すフローチャートである。なお、この一連の処理は、以下に示す手順を記述したコンピュータ実行可能なプログラムを、MFP101又はプリンタ103内のHDDからメモリ上に読み込んだ後に、CPUによって該プログラムを実行することによって実施される。   FIG. 13 is a flowchart showing the flow of the resolution reduction processing in the low resolution processing unit 1200 according to the present embodiment. This series of processing is performed by reading a computer-executable program describing the following procedure from the HDD in the MFP 101 or the printer 103 into a memory and then executing the program by the CPU.

ステップ1301において、低解像度処理部1200は、入力画像データを取得する。取得した入力画像データは、像域分離/判定部1201に送られる。   In step 1301, the low resolution processing unit 1200 acquires input image data. The acquired input image data is sent to the image area separation / determination unit 1201.

ステップ1302において、像域分離/判定部1201は、入力画像データに対し像域分離処理を行って、文字、写真、グラフィックなどの属性毎のオブジェクトに分離する。   In step 1302, the image area separation / determination unit 1201 performs image area separation processing on the input image data, and separates into objects for each attribute such as characters, photographs, and graphics.

ステップ1303において、像域分離/判定部1201は、分離された各オブジェクトのうち処理対象となるオブジェクトに対して、実施例1で述べた補助情報の埋め込みを行うかどうかを判定する。本実施例では、オブジェクトの属性が文字の場合のみ補助情報の埋め込みを行うものとしている。処理対象のオブジェクトの属性が文字であると判定された場合は、補助情報の埋め込みを行うべくステップ1303に進む。一方、写真やグラフィックなどの文字以外の属性のオブジェクトであると判定されれば、一般的な低解像度化処理を行うべくステップ1308に進む。本実施例では、オブジェクトの属性が文字の場合のみ補助情報の埋め込みを行うものとしたが、補助情報の埋め込みを行うオブジェクトの属性を何にするのかは任意に設定可能である。   In step 1303, the image area separation / determination unit 1201 determines whether or not auxiliary information described in the first embodiment is to be embedded in an object to be processed among the separated objects. In this embodiment, auxiliary information is embedded only when the object attribute is a character. If it is determined that the attribute of the object to be processed is a character, the process proceeds to step 1303 to embed auxiliary information. On the other hand, if it is determined that the object has an attribute other than characters, such as a photograph or graphic, the process proceeds to step 1308 to perform a general resolution reduction process. In this embodiment, the auxiliary information is embedded only when the object attribute is a character. However, it is possible to arbitrarily set the attribute of the object for which the auxiliary information is embedded.

ステップ1304〜ステップ1307の各処理は実施例1における図5のフローチャートのステップ502〜505と同じであるため、説明は省略する。   Since each process of step 1304 to step 1307 is the same as steps 502 to 505 in the flowchart of FIG. 5 in the first embodiment, description thereof will be omitted.

ステップ1308において、一般低解像度変換部1202は、写真やグラフィックといった文字以外の属性のオブジェクトに対し、最近隣内挿法や共一次内挿法、三次畳み込み内挿法などの一般的な手法によって低解像度化処理を行う。   In step 1308, the general low resolution conversion unit 1202 reduces the object having an attribute other than characters, such as a photograph and a graphic, by a general method such as nearest neighbor interpolation, bilinear interpolation, and cubic convolution interpolation. Perform resolution processing.

ステップ1309において、低解像度処理部1200は、未処理のオブジェクトがあるかどうかを判定する。未処理のオブジェクトがあれば、ステップ1303に戻り、次の処理対象のオブジェクトに対して補助情報の埋め込みを行うかどうかを判定する。一方、未処理のオブジェクトがなければ本処理を終える。   In step 1309, the low resolution processing unit 1200 determines whether there is an unprocessed object. If there is an unprocessed object, the process returns to step 1303 to determine whether auxiliary information is embedded in the next object to be processed. On the other hand, if there is no unprocessed object, this process is terminated.

以上のようにして、入力画像に含まれるオブジェクトの属性に応じた低解像度化処理が実行される。   As described above, the resolution reduction process according to the attribute of the object included in the input image is executed.

図14は、本実施例の概要を説明する図である。   FIG. 14 is a diagram for explaining the outline of the present embodiment.

図14の(a)は、低解像度化処理を施す前の入力画像を示している。図14の(b)は、(a)の入力画像に対し像域分離/属性判定処理を行った結果、写真と文字の2種類のオブジェクトに分離された状態を示している。図14の(c)は、写真オブジェクトに対しては入力画像における注目画素の信号値(8bit)がそのまま保持され、文字オブジェクトに対しては位相ずれ画素の4bit化された信号値が補助情報として埋め込まれた状態を示している。   FIG. 14A shows an input image before the resolution reduction process is performed. FIG. 14B shows a state where the image area separation / attribute determination process is performed on the input image shown in FIG. FIG. 14C shows the signal value (8 bits) of the pixel of interest in the input image as it is for the photographic object, and the 4-bit signal value of the phase shift pixel as auxiliary information for the character object. The embedded state is shown.

なお、本実施例に係る手法によって低解像度化された画像を高解像度画像に戻す際には、低解像度化された画像内のオブジェクトの属性に応じた高解像度化処理を行うことになる。具体的には、低解像度化された画像に対して像域分離を行ってオブジェクト毎に分離し、補助情報が埋め込まれている文字属性のオブジェクトに対しては実施例1と同じ方法で高解像度化処理を行う。そして、補助情報が埋め込まれていない文字属性以外のオブジェクトについては、最近隣内挿法や共一次内挿法、三次畳み込み内挿法などの一般に用いられる手法によって高解像度化処理を行う。   Note that, when an image whose resolution has been reduced by the method according to the present embodiment is returned to a high-resolution image, high-resolution processing corresponding to the attribute of the object in the image whose resolution has been reduced is performed. Specifically, image area separation is performed on an image whose resolution has been reduced, and the image is separated for each object. For a character attribute object in which auxiliary information is embedded, high resolution is obtained in the same manner as in the first embodiment. Process. For objects other than the character attribute in which the auxiliary information is not embedded, the resolution enhancement processing is performed by a commonly used technique such as nearest neighbor interpolation, bilinear interpolation, or cubic convolution interpolation.

本実施例によれば、文字等の詳細復元が必要なオブジェクトに対してのみ補助情報の埋め込みを行うので、写真等の高階調数を必要とし詳細復元が不必要なオブジェクトについては高階調数のまま復元することができる。   According to the present embodiment, auxiliary information is embedded only for objects that need to be restored in detail, such as characters. Therefore, an object that requires a high gradation number such as a photograph and does not require detailed restoration has a high gradation number. It can be restored as it is.

実施例2では低解像度化処理の際に像域分離/属性判定処理を行い、オブジェクトの属性に応じて補助情報の埋め込み処理の有無を切り替える態様について説明した。実施例2の手法の場合、像域分離後の1のオブジェクトに対してはすべて同じ処理となり、同一オブジェクト内において画素ごとに切り替えることはない。よって、例えば、写真部分のうち詳細復元が必要と考えられるエッジ部で詳細に復元を行いたいといったケースには対応できない。また、例えば、文字部部分のうち高階調数を必要とするグラデーション部や大ポイントのエッジ内で疑似輪郭が発生する可能性がある。   In the second embodiment, an aspect has been described in which image area separation / attribute determination processing is performed in the resolution reduction processing, and the presence / absence of auxiliary information embedding processing is switched according to the attribute of the object. In the case of the method according to the second embodiment, the same processing is performed for all objects after image area separation, and switching is not performed for each pixel in the same object. Therefore, for example, it is not possible to deal with a case in which detailed restoration is desired at an edge portion where detailed restoration is necessary in the photo portion. In addition, for example, there is a possibility that a pseudo contour is generated in a gradation portion that requires a high number of gradations in a character portion or an edge of a large point.

そこで、詳細復元が必要で階調数が重要視されないエッジ部等の画素に対しては補助情報の埋め込みを行う一方、詳細復元が不要で階調数が重要視される平坦部等の画素に対しては補助情報の埋め込みを行わない態様を、実施例3として説明する。なお、実施例1及び2と共通する部分については、説明を簡略化ないしは省略し、差異点を中心に説明するものとする。   Therefore, auxiliary information is embedded in pixels such as edges where detailed restoration is necessary and the number of gradations is not important, while pixels such as flat parts where detailed restoration is unnecessary and the number of gradations is important are embedded. An embodiment in which auxiliary information is not embedded will be described as a third embodiment. In addition, about the part which is common in Example 1 and 2, description is simplified or abbreviate | omitted and it shall explain centering on difference.

図15は、本実施例に係る、解像度変換部208/217内の低解像度処理部1500の内部構成を示すブロック図である。実施例1に係る低解像度処理部410と比較すると、補助情報埋め込み判定部1501と一般低解像度変換部1502が追加されている。一般解像度変換部1502は、実施例2における一般低解像度変換部1202に対応する。   FIG. 15 is a block diagram illustrating an internal configuration of the low resolution processing unit 1500 in the resolution conversion unit 208/217 according to the present embodiment. Compared to the low resolution processing unit 410 according to the first embodiment, an auxiliary information embedding determination unit 1501 and a general low resolution conversion unit 1502 are added. The general resolution conversion unit 1502 corresponds to the general low resolution conversion unit 1202 in the second embodiment.

補助情報埋め込み判定部1501は、低解像度化処理の際に補助情報として位相ずれ画素の信号値を埋め込む処理を行うかどうかを画素単位で判定する処理を行う。   The auxiliary information embedding determination unit 1501 performs processing for determining whether to perform processing for embedding a signal value of a phase-shifted pixel as auxiliary information during the resolution reduction processing.

一般低解像度変換部1502は、補助情報埋め込み判定部1501における判定の結果、補助情報の埋め込みを行わないと判定された画素に対して、最近隣内挿法や共一次内挿法、三次畳み込み内挿法などの一般的な手法による低解像度化処理を行う。   The general low resolution conversion unit 1502 performs nearest neighbor interpolation, bilinear interpolation, and cubic convolution on pixels that are determined not to embed auxiliary information as a result of determination by the auxiliary information embedding determination unit 1501. A resolution reduction process is performed by a general method such as an insertion method.

図16は、本実施例に係る低解像度処理部1500における低解像度化処理の流れを示すフローチャートである。なお、この一連の処理は、以下に示す手順を記述したコンピュータ実行可能なプログラムを、MFP101又はプリンタ103内のHDDからメモリ上に読み込んだ後に、CPUによって該プログラムを実行することによって実施される。   FIG. 16 is a flowchart showing the flow of the resolution reduction processing in the low resolution processing unit 1500 according to the present embodiment. This series of processing is performed by reading a computer-executable program describing the following procedure from the HDD in the MFP 101 or the printer 103 into a memory and then executing the program by the CPU.

ステップ1601において、低解像度処理部1500は、入力画像データを取得する。取得した入力画像データは、補助情報埋め込み判定部1501に送られる。   In step 1601, the low resolution processing unit 1500 acquires input image data. The acquired input image data is sent to the auxiliary information embedding determination unit 1501.

ステップ1602において、補助情報埋め込み判定部1501は、補助情報として位相ずれ画素の信号値を埋め込む処理を行うかどうかを所定の画素単位で判定する。ここで、所定の画素単位は、低解像度化後の画像における最小の画素の単位であり、例えば入力画像に対して横1/2倍、縦1/2倍の解像度に変換する場合であれば、入力画像における2×2画素の画素群が所定の画素単位となる。図17は、補助情報埋め込み判定処理の詳細を示すフローチャートである。   In step 1602, the auxiliary information embedding determination unit 1501 determines whether or not to perform the process of embedding the signal value of the phase-shifted pixel as auxiliary information in a predetermined pixel unit. Here, the predetermined pixel unit is a minimum pixel unit in the image after the reduction in resolution. For example, in the case of converting the input image to a resolution of 1/2 horizontal and 1/2 vertical. A pixel group of 2 × 2 pixels in the input image is a predetermined pixel unit. FIG. 17 is a flowchart showing details of the auxiliary information embedding determination process.

ステップ1701において、補助情報埋め込み判定部1501は、所定の画素単位における注目画素に対応する処理対象画素の信号値とその周辺画素の信号値を取得する。図18は、本実施例における低解像度化処理を説明する図であり、(a)は低解像度化処理前の画像、同(b)は低解像度化処理後の画像の一部をそれぞれ示している。図18の(a)の画像において、注目画素に対応する処理対象画素がNであった場合には、周辺画素としてN、N、Nの3つの画素の信号値が取得されることになる。 In step 1701, the auxiliary information embedding determination unit 1501 acquires the signal value of the processing target pixel corresponding to the target pixel in a predetermined pixel unit and the signal values of the surrounding pixels. 18A and 18B are diagrams for explaining the resolution reduction processing in this embodiment. FIG. 18A shows an image before the resolution reduction processing, and FIG. 18B shows a part of the image after the resolution reduction processing. Yes. In the image of (a) of FIG. 18, if the processing target pixel corresponding to the pixel of interest is a N 1, the signal value of the three pixels of N 2, N 3, N 4 is obtained as the peripheral pixel It will be.

ステップ1702において、補助情報埋め込み判定部1501は、取得した注目画素に対応する処理対象画素の信号値と各周辺画素の信号値との差分をそれぞれ算出する。図18の場合であれば、NとN、NとN、NとNの間でそれぞれ信号値の差分が算出される。 In step 1702, the auxiliary information embedding determination unit 1501 calculates a difference between the signal value of the processing target pixel corresponding to the acquired target pixel and the signal value of each peripheral pixel. In the case of FIG. 18, signal value differences are calculated between N 1 and N 2 , N 1 and N 3 , and N 1 and N 4 , respectively.

ステップ1703において、補助情報埋め込み判定部1501は、算出された差分に基づいて補助情報の埋め込みを行うかどうかを判定する。例えば、算出された複数の差分のうちいずれかの差分が閾値より大きい場合には補助情報の埋め込みを行うといった具合に判定がなされる。なお、低解像度化後の画像では無くなってしまう画素(図18の(a)における空白画素)の信号値を考慮する為に、事前に例えば3×3画素のフィルタをかけておくことも可能である。   In step 1703, the auxiliary information embedding determination unit 1501 determines whether to embed auxiliary information based on the calculated difference. For example, if any of the calculated differences is greater than the threshold, the determination is made such that auxiliary information is embedded. In order to take into account the signal values of pixels (blank pixels in FIG. 18A) that will be lost in the low resolution image, it is possible to apply a 3 × 3 pixel filter in advance, for example. is there.

図16のフローチャートの説明に戻る。   Returning to the flowchart of FIG.

ステップ1603において、低解像度処理部1500は、補助情報埋め込み判定部1501における判定の結果に従い、注目画素が補助情報の埋め込みの対象の場合にはステップ1604に進み、そうでなければステップ1607に進む。   In step 1603, the low-resolution processing unit 1500 proceeds to step 1604 if the target pixel is a target for embedding auxiliary information according to the determination result in the auxiliary information embedding determination unit 1501, and proceeds to step 1607 otherwise.

ステップ1604において、階調数変換部411は、処理対象画素を注目画素に決定し、その位相ずれ画素を決定する。図18の(a)において、仮に処理対象画素がNであれば、当該Nの画素が注目画素に決定され、そしてSの画素がその位相ずれ画素に決定されることになる。 In step 1604, the gradation number conversion unit 411 determines the processing target pixel as a target pixel and determines the phase shift pixel. In FIG. 18A, if the processing target pixel is N 1 , the N 1 pixel is determined as the target pixel, and the S 1 pixel is determined as the phase-shifted pixel.

ステップ1605及びステップ1606の各処理は実施例1における図5のフローチャートのステップ502〜504と同じであるため、説明は省略する。   Since each processing of step 1605 and step 1606 is the same as steps 502 to 504 in the flowchart of FIG. 5 in the first embodiment, description thereof will be omitted.

ステップ1607において、一般低解像度変換部1502は、処理対象画素に対し、最近隣内挿法や共一次内挿法、三次畳み込み内挿法などの一般的な手法によって低解像度化処理を行う。   In step 1607, the general low resolution conversion unit 1502 performs a resolution reduction process on the processing target pixel by a general method such as a nearest neighbor interpolation method, a bilinear interpolation method, or a cubic convolution interpolation method.

ステップ1608において、低解像度処理部1500は、入力画像データが示す画像において未処理の画素がないかを判定する。未処理の画素があればステップ1602に戻り、次の注目画素について補助情報埋め込み判定処理がなされる。未処理の画素がなければ本処理を終える。   In step 1608, the low resolution processing unit 1500 determines whether there is an unprocessed pixel in the image indicated by the input image data. If there is an unprocessed pixel, the process returns to step 1602, and auxiliary information embedding determination processing is performed for the next target pixel. If there is no unprocessed pixel, the present process is terminated.

このような処理の結果、例えば、図18の(b)のような低解像度化された画像が得られる。図18の(b)における1801〜1803の各画素は補助情報の埋め込み処理を行うと判定された画素であり、補助情報として位相ずれ画素S、S、Sの下位4bitの信号値が埋め込まれている。これに対し1804の画素は、補助情報の埋め込み処理を行わないと判定された画素であり、Sの下位4bitの信号値が埋め込まれていない。 As a result of such processing, for example, an image with reduced resolution as shown in FIG. 18B is obtained. The pixels 1801 to 1803 in FIG. 18B are pixels determined to perform auxiliary information embedding processing, and the signal values of the lower 4 bits of the phase shift pixels S 1 , S 2 , and S 3 are used as auxiliary information. Embedded. 1804 pixel contrast is the pixel which is determined not to perform the embedding process of the auxiliary information, the signal value of the lower 4bit of S 4 is not embedded.

なお、本実施例に係る手法によって低解像度化された画像を高解像度画像に戻す際には、低解像度化された画像内の各画素に応じた高解像度化処理を行うことになる。具体的には、低解像度化画像のうち補助情報が埋め込まれている画素に対しては実施例1と同じ方法で高解像度化処理を行う。そして、補助情報が埋め込まれていない画素については、最近隣内挿法や共一次内挿法、三次畳み込み内挿法などの一般に用いられる手法によって高解像度化処理を行う。   Note that when returning an image that has been reduced in resolution by the technique according to the present embodiment to a high-resolution image, high-resolution processing corresponding to each pixel in the reduced-resolution image is performed. Specifically, resolution enhancement processing is performed on the pixels in which the auxiliary information is embedded in the resolution-reduced image by the same method as in the first embodiment. For pixels in which auxiliary information is not embedded, resolution enhancement processing is performed by commonly used techniques such as nearest neighbor interpolation, bilinear interpolation, and cubic convolution interpolation.

本実施例によれば、詳細復元が必要な画素に対してのみ補助情報の埋め込みを行うので、グラデーションを代表とする階調数が必要で、さほど詳細復元が重要視されない平坦部などは、階調数を維持することが可能となる。これにより、グラデーション部や平坦部での低階調数に伴う疑似輪郭などを防いだ上で、小ポイント文字やエッジ部などの詳細部分の復元が可能となる。   According to the present embodiment, auxiliary information is embedded only for pixels that need to be restored in detail. Therefore, a flat portion or the like that requires a number of gradations that is representative of gradation and does not place much importance on detailed restoration is used for the floor. The logarithm can be maintained. As a result, it is possible to restore a detailed portion such as a small point character or an edge portion while preventing a pseudo contour or the like associated with a low gradation number in a gradation portion or a flat portion.

(その他の実施例)
本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施例の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
(Other examples)
The present invention is also realized by executing the following processing. That is, software (program) for realizing the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed.

Claims (12)

入力された画像の解像度を低解像度に変換する装置であって、
前記入力された画像における注目画素及び当該注目画素から所定の画素数だけ位相がずれた位相ずれ画素の信号値の階調数を減らす階調数変換手段と、
階調数が減った注目画素の信号値と階調数が減った位相ずれ画素の信号値を統合して、低解像度化後の画像における前記注目画素及び前記位相ずれ画素に対応する画素の信号値を決定する、信号値統合手段と、
を備え
前記所定の画素数は、前記低解像度化の度合いに応じて決定される
ことを特徴とする装置。
An apparatus for converting the resolution of an input image to a low resolution,
A gradation number converting means for reducing the number of gradations of the signal value of the target pixel in the input image and the phase-shifted pixel whose phase is shifted from the target pixel by a predetermined number of pixels;
The signal value of the pixel corresponding to the target pixel and the phase-shifted pixel in the image after the resolution is reduced by integrating the signal value of the target pixel with the reduced number of gradations and the signal value of the phase-shifted pixel with the reduced number of gradations A signal value integrating means for determining a value;
Equipped with a,
The predetermined number of pixels is determined in accordance with the degree of resolution reduction .
入力された画像の解像度を低解像度に変換する装置であって、
前記入力された画像における注目画素及び当該注目画素から所定の画素数だけ位相がずれた位相ずれ画素の信号値の階調数を減らす階調数変換手段と、
階調数が減った注目画素の信号値と階調数が減った位相ずれ画素の信号値を統合して、低解像度化後の画像における前記注目画素及び前記位相ずれ画素に対応する画素の信号値を決定する、信号値統合手段と、
を備え、
前記階調数変換手段は、低解像度化後の画像の階調数に応じて、前記注目画素及び位相ずれ画素の信号値のビット数を1/N(Nは2以上の自然数)に減らす
ことを特徴とする装置。
An apparatus for converting the resolution of an input image to a low resolution,
A gradation number converting means for reducing the number of gradations of the signal value of the target pixel in the input image and the phase-shifted pixel whose phase is shifted from the target pixel by a predetermined number of pixels;
The signal value of the pixel corresponding to the target pixel and the phase-shifted pixel in the image after the resolution is reduced by integrating the signal value of the target pixel with the reduced number of gradations and the signal value of the phase-shifted pixel with the reduced number of gradations A signal value integrating means for determining a value;
With
The gradation number converting means reduces the number of bits of the signal value of the target pixel and the phase shift pixel to 1 / N (N is a natural number of 2 or more) according to the gradation number of the image after the resolution reduction.
A device characterized by that .
入力された画像の解像度を低解像度に変換する装置であって、
前記入力された画像における注目画素及び当該注目画素から所定の画素数だけ位相がずれた位相ずれ画素の信号値の階調数を減らす階調数変換手段と、
階調数が減った注目画素の信号値と階調数が減った位相ずれ画素の信号値を統合して、低解像度化後の画像における前記注目画素及び前記位相ずれ画素に対応する画素の信号値を決定する、信号値統合手段と、
を備え、
前記信号値統合手段は、ビット数が1/Nになった前記注目画素の信号値を上位ビット、ビット数が1/Nになった前記位相ずれ画素の信号値を下位ビットとして統合した信号値を、前記対応する画素の信号値として決定する
ことを特徴とする装置。
An apparatus for converting the resolution of an input image to a low resolution,
A gradation number converting means for reducing the number of gradations of the signal value of the target pixel in the input image and the phase-shifted pixel whose phase is shifted from the target pixel by a predetermined number of pixels;
The signal value of the pixel corresponding to the target pixel and the phase-shifted pixel in the image after the resolution is reduced by integrating the signal value of the target pixel with the reduced number of gradations and the signal value of the phase-shifted pixel with the reduced number of gradations A signal value integrating means for determining a value;
With
The signal value integrating means integrates the signal value of the pixel of interest having a bit number of 1 / N as an upper bit and the signal value of the phase shift pixel having a bit number of 1 / N as a lower bit. Is determined as the signal value of the corresponding pixel
A device characterized by that .
入力された画像の解像度を低解像度に変換する装置であって、
前記入力された画像における注目画素及び当該注目画素から所定の画素数だけ位相がずれた位相ずれ画素の信号値の階調数を減らす階調数変換手段と、
階調数が減った注目画素の信号値と階調数が減った位相ずれ画素の信号値を統合して、低解像度化後の画像における前記注目画素及び前記位相ずれ画素に対応する画素の信号値を決定する、信号値統合手段と、
を備え、
前記対応する画素における上位のビットは、最近隣内挿法を用いて低解像度に変換した場合における最近隣画素の信号値である
ことを特徴とする装置。
An apparatus for converting the resolution of an input image to a low resolution,
A gradation number converting means for reducing the number of gradations of the signal value of the target pixel in the input image and the phase-shifted pixel whose phase is shifted from the target pixel by a predetermined number of pixels;
The signal value of the pixel corresponding to the target pixel and the phase-shifted pixel in the image after the resolution is reduced by integrating the signal value of the target pixel with the reduced number of gradations and the signal value of the phase-shifted pixel with the reduced number of gradations A signal value integrating means for determining a value;
With
The upper bit in the corresponding pixel is the signal value of the nearest pixel when converted to low resolution using nearest neighbor interpolation.
A device characterized by that .
入力された画像の解像度を低解像度に変換する装置であって、
前記入力された画像における注目画素及び当該注目画素から所定の画素数だけ位相がずれた位相ずれ画素の信号値の階調数を減らす階調数変換手段と、
階調数が減った注目画素の信号値と階調数が減った位相ずれ画素の信号値を統合して、低解像度化後の画像における前記注目画素及び前記位相ずれ画素に対応する画素の信号値を決定する、信号値統合手段と、
前記入力された画像をオブジェクト毎に分離する手段と、
を備え、
前記入力された画像内の所定のオブジェクトに対してのみ、前記階調数変換手段及び前記信号値統合手段による処理を行う
ことを特徴とする装置。
An apparatus for converting the resolution of an input image to a low resolution,
A gradation number converting means for reducing the number of gradations of the signal value of the target pixel in the input image and the phase-shifted pixel whose phase is shifted from the target pixel by a predetermined number of pixels;
The signal value of the pixel corresponding to the target pixel and the phase-shifted pixel in the image after the resolution is reduced by integrating the signal value of the target pixel with the reduced number of gradations and the signal value of the phase-shifted pixel with the reduced number of gradations A signal value integrating means for determining a value;
Means for separating the input image for each object ;
With
Only the predetermined object in the input image is processed by the tone number conversion means and the signal value integration means.
A device characterized by that .
入力された画像の解像度を低解像度に変換する装置であって、
前記入力された画像における注目画素及び当該注目画素から所定の画素数だけ位相がずれた位相ずれ画素の信号値の階調数を減らす階調数変換手段と、
階調数が減った注目画素の信号値と階調数が減った位相ずれ画素の信号値を統合して、低解像度化後の画像における前記注目画素及び前記位相ずれ画素に対応する画素の信号値を決定する、信号値統合手段と、
前記入力された画像に対し、前記階調数変換手段及び前記信号値統合手段による処理を行うかどうかを所定の画素単位で判定する手段と、
を備え、
前記判定する手段で、前記階調数変換手段及び前記信号値統合手段による処理を行うと判定された前記所定の画素単位の画素に対してのみ、前記階調数変換手段及び前記信号値統合手段による処理を行う
ことを特徴とする装置。
An apparatus for converting the resolution of an input image to a low resolution,
A gradation number converting means for reducing the number of gradations of the signal value of the target pixel in the input image and the phase-shifted pixel whose phase is shifted from the target pixel by a predetermined number of pixels;
The signal value of the pixel corresponding to the target pixel and the phase-shifted pixel in the image after the resolution is reduced by integrating the signal value of the target pixel with the reduced number of gradations and the signal value of the phase-shifted pixel with the reduced number of gradations A signal value integrating means for determining a value;
Means for determining whether to perform processing by the gradation number converting means and the signal value integrating means on the input image in a predetermined pixel unit ;
With
The gradation number converting means and the signal value integrating means are only applied to the pixels in the predetermined pixel unit, which are determined to be processed by the gradation number converting means and the signal value integrating means by the determining means. Process by
A device characterized by that .
前記所定のオブジェクトは、詳細な復元が必要なオブジェクトであることを特徴とする請求項に記載の装置。 6. The apparatus according to claim 5 , wherein the predetermined object is an object that needs to be restored in detail. 前記詳細な復元が必要なオブジェクトは、その属性が文字のオブジェクトであることを特徴とする請求項7に記載の装置。   8. The apparatus according to claim 7, wherein the object that needs to be restored in detail is a character object. 前記判定する手段は、所定の画素単位における注目画素に対応する処理対象画素の信号値とその周辺画素の信号値を取得し、取得した注目画素に対応する処理対象画素の信号値と各周辺画素の信号値との差分をそれぞれ算出し、算出された差分に基づいて、前記階調数変換手段及び前記信号値統合手段による処理を行うかどうかを判定することを特徴とする請求項に記載の装置。 The determination means acquires the signal value of the processing target pixel corresponding to the target pixel in a predetermined pixel unit and the signal value of the peripheral pixel, and the signal value of the processing target pixel corresponding to the acquired target pixel and each peripheral pixel calculates a difference between signal values of each, based on the calculated difference, according to claim 6, wherein the determining whether to process by the gradation number conversion means and said signal value integrating means Equipment. 前記所定の画素単位は、低解像度化後の画像における最小の画素であることを特徴とする請求項に記載の装置。 The apparatus according to claim 6 , wherein the predetermined pixel unit is a minimum pixel in an image after resolution reduction. 入力された画像の解像度を低解像度に変換する方法であって、
階調数変換手段が、前記入力された画像における注目画素及び当該注目画素から所定の画素数だけ位相がずれた位相ずれ画素の信号値の階調数を減らすステップと、
階調数変換手段が、階調数が減った注目画素の信号値と階調数が減った位相ずれ画素の信号値を統合して、低解像度化後の画像における前記注目画素及び前記位相ずれ画素に対応する画素の信号値を決定するステップと、
を含み、
前記対応する画素における上位のビットは、最近隣内挿法を用いて低解像度に変換した場合における最近隣画素の信号値である
ことを特徴とする方法。
A method for converting the resolution of an input image to a low resolution,
A step of reducing the number of gradations of a signal value of a target pixel in the input image and a phase-shifted pixel whose phase is shifted from the target pixel by a predetermined number of pixels;
The gradation number conversion means integrates the signal value of the pixel of interest with the reduced number of gradations and the signal value of the phase shift pixel with the reduced number of gradations, so that the target pixel and the phase shift in the image after the resolution reduction Determining a signal value of a pixel corresponding to the pixel;
Only including,
The method is characterized in that the upper bit in the corresponding pixel is a signal value of the nearest pixel when converted to a low resolution using nearest neighbor interpolation .
コンピュータを、請求項1乃至10のいずれか1項に記載の装置として機能させるためのプログラム。 The program for functioning a computer as an apparatus of any one of Claims 1 thru | or 10 .
JP2013127789A 2013-06-18 2013-06-18 Image processing apparatus, image processing method, and program Active JP6157234B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013127789A JP6157234B2 (en) 2013-06-18 2013-06-18 Image processing apparatus, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013127789A JP6157234B2 (en) 2013-06-18 2013-06-18 Image processing apparatus, image processing method, and program

Publications (2)

Publication Number Publication Date
JP2015002532A JP2015002532A (en) 2015-01-05
JP6157234B2 true JP6157234B2 (en) 2017-07-05

Family

ID=52296785

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013127789A Active JP6157234B2 (en) 2013-06-18 2013-06-18 Image processing apparatus, image processing method, and program

Country Status (1)

Country Link
JP (1) JP6157234B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018003502A1 (en) * 2016-06-28 2018-01-04 ソニー株式会社 Imaging device, imaging method, and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000059719A (en) * 1998-08-12 2000-02-25 Mitsubishi Electric Corp Image processing unit
JP4006152B2 (en) * 1999-11-15 2007-11-14 キヤノン株式会社 Information processing apparatus, image processing method for information processing apparatus, and storage medium
JP4902116B2 (en) * 2004-12-27 2012-03-21 株式会社 日立ディスプレイズ Liquid crystal display

Also Published As

Publication number Publication date
JP2015002532A (en) 2015-01-05

Similar Documents

Publication Publication Date Title
JP5643574B2 (en) Image processing apparatus and image processing method
JP6781406B2 (en) Image processing equipment and computer programs
JP3176195B2 (en) Image processing device
US9639790B2 (en) Resolution conversion using dither processing
JP5388559B2 (en) Image processing apparatus, image processing method, program for executing image processing method, and storage medium
JP5042917B2 (en) Image processing apparatus and program
JP4983684B2 (en) Image processing apparatus, image processing method, and computer program for image processing
JP2011095861A (en) Image processing apparatus, control method and program
JP2006303784A (en) Image reading apparatus and method
US8743419B2 (en) Image processing apparatus and method converting low-resolution image to high-resolution using signal value patterns
JP2009171563A (en) Image processor, image processing method,program for executing image processing method, and storage medium
JP6157234B2 (en) Image processing apparatus, image processing method, and program
JP5825306B2 (en) Image scaling apparatus and image scaling method
JP2013120951A (en) Image processor
JP2009017247A (en) Image processing device and program
US9076235B2 (en) Image processing method, image processing apparatus, and non-transitory computer-readable medium
JP2004215163A (en) Image interpolation system, image interpolation method, and image interpolation program
JP3624153B2 (en) Image processing apparatus and image processing method
JP2005293265A (en) Image processing device, and method
JP2014165540A (en) Image processing device, image processing method, and program
JP4517288B2 (en) Image processing apparatus, image processing method, and program thereof
JP2009225446A (en) Image processing apparatus, image processing method, and image forming apparatus
JP2007088686A (en) Image processing apparatus, image processing method and program thereof
JP2003125197A (en) Image processing apparatus and program
JP5315637B2 (en) Image processing apparatus, electronic document system, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160617

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170228

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170418

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170606

R151 Written notification of patent or utility model registration

Ref document number: 6157234

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151