JP6324174B2 - Image processing apparatus and image processing method - Google Patents
Image processing apparatus and image processing method Download PDFInfo
- Publication number
- JP6324174B2 JP6324174B2 JP2014077639A JP2014077639A JP6324174B2 JP 6324174 B2 JP6324174 B2 JP 6324174B2 JP 2014077639 A JP2014077639 A JP 2014077639A JP 2014077639 A JP2014077639 A JP 2014077639A JP 6324174 B2 JP6324174 B2 JP 6324174B2
- Authority
- JP
- Japan
- Prior art keywords
- image processing
- image
- storage unit
- processing apparatus
- memory
- 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
Links
- 238000003672 processing method Methods 0.000 title claims description 3
- 238000003705 background correction Methods 0.000 claims description 26
- 238000001514 detection method Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 claims description 3
- 238000000034 method Methods 0.000 description 23
- 238000003702 image correction Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 13
- 238000006243 chemical reaction Methods 0.000 description 6
- 230000005055 memory storage Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
Description
本発明は、メモリから画像データをバースト読み出しして画像を回転処理する画像処理装置および画像処理方法に関する。 The present invention relates to an image processing apparatus and an image processing method for rotating an image by burst-reading image data from a memory.
近年、画像処理装置において入力画像を任意の角度で回転させる任意角回転処理が要求されることがある。この任意角回転処理は、例えばスキャン時に原稿が傾いていた場合、スキャンした原稿の傾きを測定し、傾きを打ち消すような補正処理(斜行補正)に用いられる。回転前の画像の座標を(x,y)、 回転後の画像の座標を(X,Y)とすると、両者の関係は回転角度θを用いて以下の式(1)で与えられる。ただし、座標(X,Y)が画素の中心である場合に対応する座標(x,y)は必ずしも画素の中心とならないため、一般的に周囲の画素からの補間などによって演算される。 In recent years, an arbitrary angle rotation process for rotating an input image at an arbitrary angle in an image processing apparatus may be required. This arbitrary angle rotation processing is used for correction processing (skew correction) in which, for example, when the document is tilted during scanning, the tilt of the scanned document is measured and the tilt is canceled. If the coordinates of the image before rotation are (x, y) and the coordinates of the image after rotation are (X, Y), the relationship between them is given by the following equation (1) using the rotation angle θ. However, since the coordinate (x, y) corresponding to the case where the coordinate (X, Y) is the center of the pixel is not necessarily the center of the pixel, it is generally calculated by interpolation from surrounding pixels.
従来、画像処理装置に入力された画像データは、装置内のメモリ上で行毎に連続的に格納される。図1(a)は、画像がメモリ上で行毎に連続的に格納されている様子を示す図である。図1(a)において、画像100は幅16画素の画像であり、0,1,2,…の数字は、メモリに格納されている各画素のアドレス(16進数。以降同様。)をそれぞれ示している。例えば、座標(0,0)の画素は0番地,座標(1,0)の画素は1番地,座標(3,2)の座標は23番地に格納されている。このように格納されている入力画像100に、回転角度θの画像回転処理を行うとする(図1(b)を参照)。この時、出力画像における1行は図中の矢印に位置する。そのため、回転された画像の画素値を、補間演算を用いて近傍の画素から算出することになり、例えば図中の網点で示された部分の画素(処理対象画素)が必要となる。
Conventionally, image data input to an image processing apparatus is continuously stored for each row on a memory in the apparatus. FIG. 1A is a diagram illustrating a state in which images are continuously stored for each row in the memory. In FIG. 1A, an
メモリから処理対象画素を読み出す際、連続した領域についてはバーストアクセスによる高速読み出しが可能である。ここでバースト長を8画素分とすると、図1(b)中の網点部分の画素を全て包含するように読み出すには、1x8画素を8回読み出す必要がある(図1(c)を参照)。この場合、計64画素を読み出すことになるが必要な網点部分の画素(処理対象画素)は36画素であり、非効率的である。このように、行毎にメモリに格納されている画像データに対して斜め方向にアクセスすると、バーストアクセスの効率が上げられず読み出しに時間が掛かる。
When reading the pixel to be processed from the memory, high-speed reading by burst access is possible for continuous areas. Here, assuming that the burst length is 8 pixels, in order to read out all the pixels in the halftone dot portion in FIG. 1B, it is necessary to read out 1 × 8
この点、例えば特許文献1に記載の方法では、NxN画素単位で画像データをメモリに書き込むことで90°あるいは270°回転時のバースト読み出しを効率化している。
In this regard, for example, in the method described in
また、特許文献2に記載の方法では、回転角度に応じてブロックのサイズおよび形状を選択し、角度が補正されるようにブロック同士の相対位置をずらしながらメモリに書き込んでいる。
In the method described in
しかしながら、上記特許文献1に記載された方法では、90°および270°という2種類の回転角度のみに適用可能であり、任意の角度に対応できない。
However, the method described in
また、上記特許文献2に記載された方法では、ブロックの形状はいずれもほぼ正方形であるため、全ての角度でバーストアクセスに適した形状とはならない。
Further, in the method described in
特にスキャナでは、一般的にシェーディング補正を行った後に斜行補正を行い、その 後にフィルタ処理などの画像処理という流れでスキャンした画像データが処理される。このような処理順の下で、画像の走査方向をシェーディング補正の方向(副走査方向)に合わせたとき、当該順序で後続する斜行補正を行うと走査方向が斜行角度に応じで変わってしまう。こうなるとシステム性能が低下してしまうことになる。 In particular, in a scanner, generally, after performing shading correction, skew correction is performed, and then scanned image data is processed in a flow of image processing such as filter processing. Under such a processing order, when the scanning direction of the image is matched with the shading correction direction (sub-scanning direction), if the subsequent skew correction is performed in that order, the scanning direction changes depending on the skew angle. End up. This will reduce system performance.
本発明に係る画像処理装置は、入力画像に対し、所定の走査順序で第一の画像処理を施す手段と、前記第一の画像処理が施された画像を所定の格納単位で格納するメモリと、前記メモリから前記所定の格納単位でバースト読み出された画像に対し、任意の角度での回転処理を含む第二の画像処理を施す手段と、前記所定の格納単位を、前記任意の角度に応じて決定する決定手段と、を備えたことを特徴とする。 An image processing apparatus according to the present invention includes a unit that performs first image processing on an input image in a predetermined scanning order, and a memory that stores the image subjected to the first image processing in a predetermined storage unit. Means for performing second image processing including rotation processing at an arbitrary angle on an image read out in burst from the memory in the predetermined storage unit; and the predetermined storage unit at the arbitrary angle. And a determination means for determining the response accordingly.
本発明によれば、任意角回転処理時のバースト読み出しを効率よく行なうことができる。 According to the present invention, burst reading at the time of arbitrary angle rotation processing can be performed efficiently.
以下、本発明を実施する為の形態について図面を用いて説明する。なお、以下の実施例において示す構成は一例にすぎず、本発明は図示された構成に限定されるものではない。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. In addition, the structure shown in the following Examples is only an example, and this invention is not limited to the structure shown in figure.
本実施例では、スキャナで読み取った画像(以下、スキャン画像)に対し、斜行補正を含む一連のスキャナ補正処理を行う態様について説明する。 In this embodiment, a mode in which a series of scanner correction processes including skew correction is performed on an image read by a scanner (hereinafter referred to as a scanned image) will be described.
図2は、本実施例に係る、スキャナ補正処理を実現する画像処理装置の内部構成を示すブロック図である。スキャナ補正処理は、前段画像補正部200における処理と後段画像補正部210における処理とに大別できる。前段画像補正部200に入力される画像データは、ラインセンサにより読み取られた生データである。前段画像補正部200の処理結果は、メモリ220を経由して後段画像補正部210へと入力される。後段画像補正部210の処理結果は、補正済画像(出力画像)として外部へ出力される。また、斜行検出部230は例えば専用のセンサにより構成され、スキャナ(不図示)にセットされた原稿の傾き(搬入角度)θを測定する。測定された角度θはパラメータとして、後述するリオーダ部203および斜行補正部211に送られる。
FIG. 2 is a block diagram illustrating an internal configuration of an image processing apparatus that realizes scanner correction processing according to the present embodiment. Scanner correction processing can be broadly divided into processing in the preceding
<前段画像補正部>
まず、前段画像補正部200について詳しく説明する。前段画像補正部200は、HV変換部201、シェーディング補正部202、リオーダ部203で構成される(図2を参照)。
<Pre-stage image correction unit>
First, the pre-stage
HV変換部201は、入力画像を、所定の走査順序の画像に変換する処理を行なう。本実施例では、入力画像を副走査方向に分割した複数の領域毎に処理する。以下では、この分割された領域を「バンド」と呼ぶ。図3に示すように、入力画像300の各バンドでは副走査方向への走査が主走査方向に繰り返され、最終的に入力画像300全体が走査される。以降では、図3に示される走査順序をバンド垂直順序と呼ぶこととする。後述するように、シェーディング補正を効率化する目的で、このようなシステム固有の走査順序となっている。HV変換部201でバンド垂直順序の画像へと変換された画像データは、シェーディング補正部202に送られる。
The
シェーディング補正部202は、センサ毎のゲインを補正する処理を行なう。図4は、入力画像300とセンサとの位置関係を説明する図である。一般的なスキャナではセンサ(ラインセンサ)400は主走査方向にセンサ画素が並ぶため、バンド垂直順序の画像における1列は同一のセンサ画素により撮像された画素となる。このためバンド垂直順序では、シェーディング補正に必要なパラメータを列毎に更新すればよいことになり、効率的に処理できる。
The
図5は、1バンド分のシェーディング補正処理の流れを示すフローチャートである。 FIG. 5 is a flowchart showing the flow of shading correction processing for one band.
ステップ501において、シェーディング補正部202は、センサ画素それぞれのゲインに対応するパラメータであるシェーディングパラメータを取得する。
In
ステップ502において、シェーディング補正部202は、処理対象となるバンド内の処理対象列における注目画素を決定する。この際、注目画素は、上述したバンド垂直順序に従って決定される。
In
ステップ503において、シェーディング補正部202は、ステップ501で取得したシェーディングパラメータを用いて、決定された注目画素に対しシェーディング補正処理を行う。
In
ステップ504において、シェーディング補正部202は、注目画素が処理対象列の最後の画素かどうかを判定する。注目画素が処理対象列の最後の画素であれば、ステップ505に進む。一方、注目画素が処理対象列の最後の画素でなければステップ502に戻り、次の画素を注目画素に決定し、処理を続行する。
In step 504, the
ステップ505において、シェーディング補正部202は、注目画素が処理対象となっているバンド内の最後の画素であるかどうかを判定する。注目画素が処理対象バンド内の最後の画素でなければステップ501に戻り、次の処理対象列のシェーディングパラメータを取得し、次の処理対象列についての処理を続行する。一方、注目画素が処理対象バンド内の最後の画素であれば本処理を終える。
In
以上が、1バンド分のシェーディング補正処理の内容であり、このような処理がすべてのバンドに対して実行される。このように、走査順序をバンド垂直順序とすることで、列単位で同じシェーディングパラメータを用いることができる。これが例えばバンド内を水平方向に走査する場合は、1画素毎にシェーディングパラメータを取得する必要があるところ、本実施例ではその必要がなく、シェーディングパラメータ取得の頻度を減らすことができる。シェーディング補正された画像のデータは、リオーダ部203に送られる。
The above is the content of the shading correction processing for one band, and such processing is executed for all bands. Thus, by setting the scanning order to the band vertical order, the same shading parameter can be used for each column. For example, when the band is scanned in the horizontal direction, it is necessary to acquire a shading parameter for each pixel. However, in this embodiment, this is not necessary, and the frequency of acquiring the shading parameter can be reduced. The image data subjected to the shading correction is sent to the
リオーダ部203は、シェーディング補正された画像データに対し、斜行検出部230で検出された角度θに応じて、後続の斜行補正部211の処理に適した形へと画素列を並び替えて、メモリ220に書き込む。リオーダ部203は、その内部にバンド高さ複数列分を蓄積可能な一時メモリを持ち、これを用いて画素を所定の格納単位毎にパッキングする。図6は、メモリ220のバースト長が16画素である場合の、メモリ220への画像の格納例を示す図である。図6の(a)はタイル形状が1x16の場合、同(b)はタイル形状が2x8の場合、 同(c)はタイル形状が4x4の場合、 同(d)はタイル形状が8x2の場合、 同(e)はタイル形状が16x1の場合にそれぞれ対応している。選択されたいずれかのタイル形状の1タイルがバーストアクセスできるようにパッキングしてメモリ220に配置される。例えば8x2のタイル形状が選択された時であれば、座標(0,0)から座標(7,1)までの8行2列16画素がメモリ220の0番地からf番地に格納されることになる。ここで、タイル形状の選択方法について説明する。
The
タイル形状は、タイルの対角線と走査方向(バンド垂直順序では副走査方向)とのなす角が、検出された角度(回転角度)θと最も近いものを選択すればよい。図6の(a)〜(e)に示した1x16, 2x8, 4x4, 8x2, 16x1の各タイル形状の場合、対角線と副走査方向とのなす角は、それぞれarctan(16)、arctan(4)、arctan(1)、arctan(1/4)、arctan(1/16) で与えられる。例えば、回転角度θが45°近傍であれば4x4のタイル形状を選択すればよいことになる。そして、選択の際は、回転角度θに基づいて、タイルの対角線と走査方向とのなす角を求め、最も適切なタイル形状を選択するようにすればよい。或いは、回転角度θとタイル形状との対応関係を規定したテーブルを予め用意しておき、当該テーブルを参照して、検出された角度θに応じたタイル形状を選択するようにしてもよい。このようにして検出された角度θに応じてメモリへの格納単位を決定することで、1つのタイルに含まれ得る1走査分の画素数を最大化することができ、バーストアクセスの効率を上げることができる。 The tile shape may be selected such that the angle formed by the diagonal line of the tile and the scanning direction (sub-scanning direction in the band vertical order) is closest to the detected angle (rotation angle) θ. In the case of each tile shape of 1x16, 2x8, 4x4, 8x2, and 16x1 shown in (a) to (e) of FIG. , Arctan (1), arctan (1/4), arctan (1/16). For example, if the rotation angle θ is around 45 °, a 4 × 4 tile shape may be selected. At the time of selection, the angle formed between the diagonal line of the tile and the scanning direction may be obtained based on the rotation angle θ, and the most appropriate tile shape may be selected. Alternatively, a table that defines the correspondence between the rotation angle θ and the tile shape may be prepared in advance, and the tile shape corresponding to the detected angle θ may be selected with reference to the table. By determining the storage unit in the memory according to the detected angle θ, the number of pixels for one scan that can be included in one tile can be maximized, and the efficiency of burst access is increased. be able to.
なお、タイル形状の選択肢は、メモリ220にアクセスするバースト長をN画素分としたとき、N=PxQを満たす自然数PとQ の組合せ(縦P画素、横Q画素のタイル形状)を選択肢とすればよい。例えばN=12であれば、選択対象となるタイル形状の候補としては、1x12、2x6、 3x4、4x3、6x2、12x1となる。タイル形状をこのような縦P画素、横Q画素の矩形領域とすることで、画像をもれなくメモリ220に格納でき、またメモリアドレスも単純な演算により求めることができる。
The choice of tile shape can be a combination of natural numbers P and Q (vertical P pixel, horizontal Q pixel tile shape) satisfying N = PxQ, where the burst length for accessing the
<後段画像補正部>
次に、後段画像補正部210について詳しく説明する。
<Second-stage image correction unit>
Next, the post-stage
後段画像補正部210は、斜行補正部211、フィルタ処理部212で構成される(図2を参照)。
The post-stage
リオーダ部203によってメモリ220に格納された画像(対象画像)は、その書き込み時における格納単位でバースト読み出しされて斜行補正部211へと送られる。ここで、タイル形状として8x2が選択された場合を例に、メモリ220に格納された画像データが斜行補正部211へと送られる様子を説明する。図7の(a)はバンド垂直順序の画像1バンド分をθ回転させた状態を示す図であり、同(b)は格納単位でバースト読み出しされる際の順序を1〜39の数字で示している。斜行補正部211からの出力がこの順序となるので、斜行補正部211への入力は、図7(b)に示される順序に従い格納単位(ここでは8x2のタイル)でメモリ220から読み出されることになる。なお、角度θはページ毎に変わり得るため、この順序もページ毎に変わり得ることになる。
The image (target image) stored in the
図8は、斜行補正部211の内部構成を示すブロック図である。斜行補正部211に入力された8x2タイルのデータはまずバッファ810に蓄積される。バッファ810は、8x2タイルデータを複数保持可能であり、すべての画素が現在のバンド内で参照されなくなるまで保持する(現在のバンド内で参照されなくなった画素は随時破棄する。)。次に、バッファ810から補間に必要な所定の参照画素群を取り出し、補間演算部820へ送る。所定の参照画素群は、例えば補間演算部820での演算が線形補間であれば、処理対象画素の近傍2x2の画素群となる。座標演算部830は、処理対象画素の座標をバンド垂直順序に従って更新しながら、それに対応する回転前の座標を、角度θを用いて計算する。これにより、バッファ810に対しては、補間演算に必要な参照画素群の座標及び現在のバンド内ではもはや参照されない非参照画素の座標を送る。そして、補間演算部820に対しては、補間演算のパラメータ(位相)を送る。また、メモリ220に対しては、次に読み出す8x2タイルのメモリアドレスを送る。こうして、補間演算部820における補間演算結果(角度θに応じて回転処理を施した画素のデータ)が、バンド垂直順序でフィルタ処理部212へと出力される。
フィルタ処理部212は、任意の角度で回転処理された画素のデータに対し、バッファを用いて蓄積しながら例えば3x3フィルタ演算を実行し、ノイズ除去などを行う。フィルタ処理された画像データは外部へと出力される。
FIG. 8 is a block diagram illustrating an internal configuration of the skew feeding
The
斜行補正部211及びフィルタ処理部212では、周辺画素を参照するための一定量の遅延バッファが必要であるが、バンド垂直順序で処理することで遅延バッファの容量はバンドの高さ依存となる。すなわち、本実施例の手法によれば、原画像のサイズに依存しない画像処理装置を実現することが可能となる。
The
以上説明したように本実施例によれば、回転角度θに従って適応的にメモリへの書き込み単位の縦横比が変更される。これにより、バースト読み出しの効率を高めることができる。特に、シェーディング補正と斜行補正の双方における走査順序を考慮してメモリに格納単位を決定しているので、ページ毎に変わり得る斜行角度に依らない安定したシステム性能を実現できる。 As described above, according to the present embodiment, the aspect ratio of the write unit to the memory is adaptively changed according to the rotation angle θ. Thereby, the efficiency of burst reading can be increased. In particular, since the storage unit is determined in consideration of the scanning order in both shading correction and skew correction, stable system performance independent of the skew angle that can change from page to page can be realized.
なお、前段画像補正部200内に、回転処理に不必要なタイルを破棄する機能を持たせてもよい。例えば、図7(b)におけるバンド1の左上端のタイル710は回転処理で参照されないためメモリ220に書き込む必要はない。したがって、このような不必要なタイルを破棄する構成を別途設けてもよい。
Note that the pre-stage
また、画素の走査順序は本実施例で説明した順序に限定されるものではない。一般に、走査順序が回転角度に依らない所定の順序として回転処理後に出力する場合、回転処理への入力は回転角度に依存する斜め方向の入力順序となる。この時、回転対象の画像をメモリに書き込む際に回転角度θが分かっていれば、同様に本発明を適用することができる。 Further, the scanning order of the pixels is not limited to the order described in this embodiment. In general, when the scan order is output after the rotation process as a predetermined order that does not depend on the rotation angle, the input to the rotation process is an oblique input order that depends on the rotation angle. At this time, if the rotation angle θ is known when the rotation target image is written in the memory, the present invention can be similarly applied.
さらに、シェーディング補正部202やフィルタ処理部212は、他の処理と入れ替えてもよいし、他の処理を加えてもよい。例えば、シェーディング補正の代わりに光学歪み補正をしてもよいし、フィルタ処理の後に解像度変換をしてもよい。
Furthermore, the
また、本実施例では、メモリ220へ格子状に画像データ(タイルデータ)を書き込んでいるが、角度に応じて相対位置をずらして書き込んでもよい。図9は2x8のタイルによる位置をずらした書き込みの一例を示す図であり、(a)は1行毎に主走査方向にずらした場合、同(b)は1列毎に副走査方向にずらした場合をそれぞれ示している。このように、所定の画素分ずつずらしながら格納することにより、メモリアドレスの演算など制御が少し複雑化するものの、よりメモリアクセスを効率化できる場合がある。
なお、本発明の適用によりメモリに書き込む際の効率は低下し得る。しかしながら、任意の角度での回転処理は一般に周囲の画素を参照し、またその後段でもフィルタ処理や解像度変換といった周囲の画素を参照する処理があることが多い。よって、通常であればメモリ書き込み量よりもメモリ読み出し量の方が多いといえる。すなわち、メモリ書き込みの効率を犠牲にしてでもメモリ読み出しを効率化することでトータルでの効率化が成し遂げられる。
In this embodiment, the image data (tile data) is written in the
Note that the efficiency in writing to the memory can be reduced by applying the present invention. However, rotation processing at an arbitrary angle generally refers to surrounding pixels, and there are often processes that refer to surrounding pixels such as filter processing and resolution conversion at subsequent stages. Therefore, it can be said that the memory read amount is usually larger than the memory write amount. That is, even if the memory writing efficiency is sacrificed, the total efficiency can be improved by improving the memory reading efficiency.
次に、実施例1とは異なる走査順序でシェーディング補正を行う態様について、実施例2として説明する。なお、実施例1と共通する部分については説明を省略ないしは簡略化し、以下では差異点を中心に説明するものとする。 Next, a mode in which shading correction is performed in a scanning order different from that in the first embodiment will be described as a second embodiment. The description of the parts common to the first embodiment will be omitted or simplified, and the differences will be mainly described below.
図10は、本実施例に係る画像処理装置の内部構成を示すブロック図であり、実施例1における図2に対応している。本実施例のスキャナ補正処理が前段画像補正部1000における処理と後段画像補正部1010における処理とに大別される点は実施例1と同じである。実施例1に係る図2の構成と比較すると、本実施例の前段画像補正部1000では、HV変換部が取り除かれているのが分かる。
FIG. 10 is a block diagram illustrating an internal configuration of the image processing apparatus according to the present embodiment, and corresponds to FIG. 2 in the first embodiment. The scanner correction processing of the present embodiment is roughly the same as that of the first embodiment in that the scanner correction processing is roughly divided into processing in the preceding
本実施例における前段画像処理部1000への画像データの入力は、タイル水平順序に従うものとする。図11は、本実施例におけるタイル水平順序を説明する図であり、分割された各タイルにおいて主走査方向に走査されることが示されている。
The input of image data to the pre-stage
シェーディング補正部1002では、タイル水平順に各画素をシェーディング補正する。シェーディングパラメータは左右の画素で異なるため、1画素毎に更新する必要がある。そのため、タイル幅分に相当するシェーディングパラメータをシェーディング補正部内の一時メモリなどに蓄積しておき、1画素毎にそれを読み出して用いる。
The
リオーダ部1003では、実施例1におけるリオーダ部203と同様、回転角度に適したメモリ格納単位へと画素をパッキングして、メモリ1020に書き込む。そのため、リオーダ部1003はタイル幅の複数行を蓄積可能な一時メモリを具備し、当該一時メモリにメモリ格納単位の画素が揃い次第、随時メモリ1020へ書き込む。
In the
メモリ1020に書き込まれた時点での画像は、実施例1と同様であり、それ以降の処理も実施例1と異なるところはない。すなわち、回転処理に適したメモリ格納単位でメモリ1020に格納されているため、効率的にメモリ読み出しが実行できる。
The image at the time of writing in the
以上説明したように、一般的に使用されている水平方向の走査順序の場合でも、本発明を同様に適用することができる。 As described above, the present invention can be similarly applied even in the case of a generally used horizontal scanning order.
(その他の実施例)
本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施例の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(または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)
前記第一の画像処理が施された画像を所定の格納単位で格納するメモリと、
前記メモリから前記所定の格納単位でバースト読み出された画像に対し、任意の角度での回転処理を含む第二の画像処理を施す手段と、
前記所定の格納単位を、前記任意の角度に応じて決定する決定手段と、
を備えたことを特徴とする画像処理装置。 Means for performing first image processing on the input image in a predetermined scanning order;
A memory for storing the image subjected to the first image processing in a predetermined storage unit;
Means for performing second image processing including rotation processing at an arbitrary angle on an image read out in bursts in the predetermined storage unit from the memory;
Determining means for determining the predetermined storage unit according to the arbitrary angle;
An image processing apparatus comprising:
前記スキャナにセットされた前記原稿の傾きを検出する斜行検出手段をさらに備え、
前記任意の角度は、前記斜行検出手段で検出された角度である
ことを特徴とする請求項1乃至7のいずれか1項に記載の画像処理装置。 The input image is an image obtained by scanning a document with a scanner,
Further comprising skew detection means for detecting an inclination of the document set on the scanner,
The image processing apparatus according to claim 1, wherein the arbitrary angle is an angle detected by the skew detection unit.
前記第一の画像処理が施された画像を所定の格納単位でメモリに格納するステップと、
前記メモリから前記所定の格納単位でバースト読み出された画像に対し、任意の角度での回転処理を含む第二の画像処理を施すステップと、
前記所定の格納単位を、前記任意の角度に応じて決定する決定ステップと、
を含むことを特徴とする画像処理方法。 Performing first image processing on the input image in a predetermined scanning order;
Storing the image subjected to the first image processing in a memory in a predetermined storage unit;
Performing second image processing including rotation processing at an arbitrary angle on an image read out in bursts from the memory in the predetermined storage unit;
A determining step of determining the predetermined storage unit according to the arbitrary angle;
An image processing method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014077639A JP6324174B2 (en) | 2014-04-04 | 2014-04-04 | Image processing apparatus and image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014077639A JP6324174B2 (en) | 2014-04-04 | 2014-04-04 | Image processing apparatus and image processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015201677A JP2015201677A (en) | 2015-11-12 |
JP6324174B2 true JP6324174B2 (en) | 2018-05-16 |
Family
ID=54552631
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014077639A Active JP6324174B2 (en) | 2014-04-04 | 2014-04-04 | Image processing apparatus and image processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6324174B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106339987B (en) * | 2016-09-06 | 2019-05-10 | 北京凌云光子技术有限公司 | A kind of fault image is become a full member method and device |
JP6859781B2 (en) | 2017-03-21 | 2021-04-14 | 富士ゼロックス株式会社 | Image processing equipment, image processing methods and programs |
JP7234000B2 (en) * | 2019-03-27 | 2023-03-07 | 池上通信機株式会社 | Image data processing device for affine transformation of two-dimensional image |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4286192B2 (en) * | 2003-08-25 | 2009-06-24 | オリンパス株式会社 | Image processing apparatus and image processing method |
JP5209953B2 (en) * | 2007-12-20 | 2013-06-12 | キヤノン株式会社 | Image data supply apparatus and image data supply method |
JP5124509B2 (en) * | 2009-03-05 | 2013-01-23 | 株式会社Pfu | Image processing apparatus, tilt correction method, and program |
-
2014
- 2014-04-04 JP JP2014077639A patent/JP6324174B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015201677A (en) | 2015-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6706985B2 (en) | Image processing apparatus and control method thereof | |
JP4784500B2 (en) | Image tilt correction apparatus and image tilt correction method | |
JP6324174B2 (en) | Image processing apparatus and image processing method | |
CN110910301B (en) | Image processing device and method, and recording medium storing image processing program | |
JP2009171560A5 (en) | ||
JP6200664B2 (en) | Image data processing apparatus, image data processing method, and image data processing program | |
JP4380740B2 (en) | Image processing device | |
JP4020093B2 (en) | Edge detection method and apparatus, program, storage medium, and frame detection method, apparatus, program, and storage medium | |
US8902474B2 (en) | Image processing apparatus, control method of the same, and program | |
JP4770168B2 (en) | Scan conversion device and electronic camera | |
JP2009164674A (en) | Distortion correction device | |
JP5151999B2 (en) | Image processing apparatus and image processing method | |
JP2006203710A (en) | Image processing unit | |
JP5182587B2 (en) | Image processing apparatus and image processing method | |
JP4867757B2 (en) | Scanner device | |
US20090016619A1 (en) | Image processing device | |
JP5132542B2 (en) | Image processing apparatus, image processing method, computer program, and storage medium | |
JP2010239362A (en) | Image processing apparatus and image processing method thereof | |
JP2010152456A (en) | Image processor and image processing method and program using image processing method | |
US8078011B2 (en) | Image processing circuit and multi-function apparatus | |
JP6562687B2 (en) | Image deformation apparatus, image processing method, and program | |
JP5034131B2 (en) | Image processing controller, image processing method, and image processing program | |
JP2006295379A (en) | Image processing method and image processor | |
JP5222797B2 (en) | Image processing device | |
JP6249234B2 (en) | Image processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170404 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20171110 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20171114 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180115 |
|
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: 20180313 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180410 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6324174 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |