JP2004112532A - Image processing apparatus, image reading apparatus, image forming apparatus, television camera, image outputting apparatus, information processing apparatus, program, and storage medium - Google Patents

Image processing apparatus, image reading apparatus, image forming apparatus, television camera, image outputting apparatus, information processing apparatus, program, and storage medium Download PDF

Info

Publication number
JP2004112532A
JP2004112532A JP2002274012A JP2002274012A JP2004112532A JP 2004112532 A JP2004112532 A JP 2004112532A JP 2002274012 A JP2002274012 A JP 2002274012A JP 2002274012 A JP2002274012 A JP 2002274012A JP 2004112532 A JP2004112532 A JP 2004112532A
Authority
JP
Japan
Prior art keywords
image
quantization
anisotropy
scanning direction
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2002274012A
Other languages
Japanese (ja)
Other versions
JP4014087B2 (en
Inventor
Junichi Hara
原 潤一
Toshio Miyazawa
宮澤 利夫
Yasuyuki Nomizu
野水 泰之
Hiroyuki Sakuyama
作山 宏幸
Atsuka Matsuura
松浦 熱河
Takanori Yano
矢野 隆則
Taku Kodama
児玉 卓
Yasuyuki Shinkai
新海 康行
Takayuki Nishimura
西村 隆之
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2002274012A priority Critical patent/JP4014087B2/en
Publication of JP2004112532A publication Critical patent/JP2004112532A/en
Application granted granted Critical
Publication of JP4014087B2 publication Critical patent/JP4014087B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To improve the image quality of an image reproduced in compressing and encoding image data having an anisotropy in vertical and horizontal directions like the case that variable power processing is different in vertical and horizontal directions. <P>SOLUTION: When a main scanning direction in which edge rounding is likely to occur by applying electric variable power processing by an interpolation method is in the horizontal direction of wavelet transform processing with respect to a sub-scanning direction to which mechanical variable power processing is applied, a quantization level assigned to wavelet coefficients positioned at hierarchies 1LH, 2LH and so on of a sub-band LH system is relatively suppressed (made to be a low compression rate) so as to be lower than a quantization level assigned to wavelet coefficients positioned at hierarchies 1HL, 2HL and so on of the other sub-band HL system, thereby reducing the influence of the edge rounding on the image quality to improve the image quality of an image to be reproduced. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、各種画像データを扱う画像処理装置、画像読取装置、画像形成装置、テレビジョンカメラ、画像出力装置、情報処理装置、プログラム及び記憶媒体に関する。
【0002】
【従来の技術】
近年、画像入出力技術の進歩により、画像に対する高精細化の要求が高まっている。画像入力装置の一例として、デジタルカメラを例に挙げると、300万以上の画素数を持つ高性能な電荷結合素子の低価格化が進み、普及価格帯の製品においても広く用いられるようになっている。また、画像出力装置や画像表示装置の技術分野に関しても、レーザプリンタ、インクジェットプリンタ等のハードコピー分野における高精細化や低価格化は目を見張るものがあり、このような現象は、複写機や複合機(MFP)等の画像形成装置の分野においても例外ではない。
【0003】
こうした高性能で低価格な画像入出力製品の市場投入効果によって、高精細画像の大衆化が始まっており、今後は、あらゆる場面で高精細画像の需要が高まると予想されている。
【0004】
以上のようなことを背景として、高精細画像を容易に取扱うことのできる圧縮伸長技術に対する要求も、今後ますます高まっていくことは必至と思われる。そこで、そのような要求を満たす画像圧縮技術の一つとして、従来、高精細画像を小さい単位に分割して処理することが可能であり、高圧縮率でも高画質な画像を復号可能なJPEG2000という技術がある。
【0005】
従って、複写機や複合機等の画像形成装置においても、メモリの節約等を図るため、JPEG2000等の高精細画像圧縮伸長技術が搭載され、読取った原稿画像を一旦圧縮符号化して符号データとしてメモリに格納した後、逆の手順で符号データを伸長させて画像データとしてプリンタ側に出力させることでコピー印刷動作が実行されるように構成される傾向にある。
【0006】
ところで、複写機や複合機等にあっては、その一つの機能として拡大/縮小変倍機能を備えているものが多い。この変倍処理としては、一般に、主走査方向は周知のキュービックコンボリューション補間法等の電気的な変倍処理により行い、副走査方向は副走査手段(スキャナのキャリッジ)の移動速度を変えるというメカニカルな変倍処理で行うようにしている。
【0007】
例えば、図20を参照して縦横2倍に拡大する場合の例を説明すると、同図(a)に示すように原稿Dに対する主走査方向、副走査方向が設定されているとすると、まず、キャリッジの移動速度を変倍率2倍に合わせて変更して(等倍時の1/2の速度)、スキャナにより原稿Dの読取りを行うことより、同図(b)に示すように副走査方向の変倍(2倍)がメカニカルに行われる。そして、このような副走査変倍処理を受けてスキャナにより読取られた画像データに対して、その主走査方向にキュービックコンボリューション補間法による電気的な変倍処理を施すことにより、同図(c)に示すように主走査方向の変倍(2倍)が電気的に行われ、結果として、縦横2倍に拡大された画像データが得られる。
【0008】
このようにして変倍処理を受けた画像データは、JPEG2000アルゴリズム等に従い、一旦圧縮符号化して符号データとしてメモリに格納した後、逆の手順で符号データを伸長させて画像データとしてプリンタ側に出力させることでコピー印刷動作が実行される。
【0009】
【発明が解決しようとする課題】
ところが、主走査方向の変倍に用いられる電気的な補間法は、最も精度が高いといわれているキュービックコンボリューション補間法であっても、高精度なメカニカル変倍処理に比して、エッジなまりが出てしまう不具合がある。即ち、上述のように縦横で変倍処理が異なる2次元の画像データは、性質として、その縦方向と横方向とで異方性を持つものといえる。
【0010】
例えば、図21に示すような矩形パルス状の画像を読取る場合を考える。等倍時には○印で示す各サンプリング点S1,S2,…で原稿画像を副走査、主走査を行い、画像上でも対応する点でその画像データを取得するものとすると、例えば、2倍拡大時には、副走査方向のサンプリング速度が1/2になるため、○印で示す各サンプリング点S1,S2,…の中間の×印で示す点でも原稿画像を読取ることとなるため、画像から得られる画像データは○印、×印で示す両方のデータとなる。よって、その画像データの様子を再現すると、図21(b)中に実線で示すようにエッジなまりのない高精度なデータ状態となる。これに対し、主走査方向のサンプリング点は○印で示す各サンプリング点S1,S2,…のままであり、各○印で示す画像データ間を電気的な補間法により補うため、図21(b)中に破線で示すようにエッジなまりが出てしまいやすい。
【0011】
このような変倍処理を受けた画像データは、前述のように圧縮符号化処理を経て符号化されることとなるが、その途中の量子化の過程において、等倍時と同じ量子化のスレッシュレベルを用いて量子化を行っているものであり、図21(b)からも判るように、量子化のスレッシュレベルによってはエッジなまりを生ずる主走査方向の画像データが細くなりやすい。この結果、その符合データを復号化して伸長した画像データにより拡大印刷した場合には、図22に示すように主走査方向の画像がぼやけやすくなり(図示例の格子画像の横線が薄くなったり細くなったりしてぼやける)、エッジなまりのない副走査方向の画像との間で画質差を生じてしまう。
【0012】
上述の説明は、変倍処理中、拡大変倍時の処理例で説明したが、縮小変倍時にも、拡大変倍時よりも程度が低いことが多いものの、電気的な変倍処理を行う主走査方向の画像データに関してそのエッジがなまることがある。
【0013】
また、このような事情(2次元画像データについての縦方向と横方向との異方性)は、複写機等における縦横方向で変倍処理が異なることを要因とする場合だけでなく、各種ケースがある。
【0014】
例えば、パーソナルコンピュータ等の情報処理装置においても、取り込んだ画像データに対して縦横比の異なる縦長変倍或いは横長変倍なる編集操作を行うようなケースでは、縦横の変倍率の違いによる異方性を有することとなる。この場合、何れの方向の変倍処理も電気的な変倍処理となるが、変倍率の大きいほうがエッジなまりの程度も大きくなるので、結果的に、再現される画像品質に縦横で差が出てしまう。
【0015】
また、複写機やプリンタ等においても、元の画像データは正常であっても、例えば現像条件とか転写条件等を要因として、当該複写機やプリンタが、例えば図23に示すように常に縦線が横線よりも太く出てしまう(或いは、逆)癖を持っているケースもあり、出力形態において画像データの縦方向と横方向とに異方性を有するといえる。特に、図示例のような格子画像を含む文書画像等の場合には顕著に出てしまうことがある。従って、このような複写機の場合であれば、変倍コピー時だけでなく等倍コピー時であっても縦横方向で画質差を生じてしまうこととなる。
【0016】
さらには、撮像対象を撮像素子により2次元にインターレース方式によりラスタースキャニングして読取るテレビジョンカメラにおいても、インターレース方式のラスタースキャニングを要因として画像データについて縦方向(垂直方向)と横方向(水平方向)とで既知の異方性を有し、さらには、水平方向と垂直方向とのアスペクト比4:3或いは16:9といった違いもあるため、ラスタースキャニング方向となる水平方向をエッジなまりの出やすい方向といえる。
【0017】
本発明の目的は、縦横で変倍処理が異なる場合の如く、縦横で異方性を有する画像データを圧縮符号化する場合に、再現される画像の高画質化を図れるようにすることである。
【0018】
【課題を解決するための手段】
請求項1記載の発明は、画像データを、2次元ウェーブレット係数への変換、量子化及び符号化という手順で圧縮符号化する画像処理装置において、圧縮符号化の対象となる2次元の画像データについて縦方向と横方向との異方性の有無を判定する異方性判定手段と、この異方性判定手段により異方性を有すると判定された画像データに対してその異方性の要因に基づき2次元ウェーブレット係数に対して同一階層のサブバンド位置に応じて圧縮率の異なる量子化を行う量子化手段と、を備える。
【0019】
従って、縦方向と横方向との異方性を有する画像データに対して、その異方性の要因に基づき2次元ウェーブレット係数に対して同一階層であってもそのサブバンド位置に応じて圧縮率の異なる量子化を行うことで、異方性に起因する画質差を圧縮率の異なる量子化により吸収することができ、再現される画像の高画質化を図れる。
【0020】
請求項2記載の発明は、請求項1記載の画像処理装置において、前記量子化手段は、判定された異方性の要因によりエッジなまりの出やすい方向の圧縮率を他方向の圧縮率に対して相対的に抑えるように圧縮率の異なる量子化を行う。
【0021】
従って、異方性の要因によりエッジなまりの出やすい方向の圧縮率、即ち、量子化を相対的に抑制することにより、そのエッジなまりによる画質への影響を軽減でき、再現される画像の高画質化を図れる。逆にいえば、エッジなまりの出にくい方向の圧縮率は相対的に大きくしても画質への影響が出にくいので、全体としては効率のよい圧縮符号化が可能となる。
【0022】
請求項3記載の発明は、請求項1又は2記載の画像処理装置において、前記量子化手段は、判定された異方性の要因によりエッジなまりの出やすい方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルをウェーブレット変換処理の他方向に位置するウェーブレット係数に割り当てる量子化レベルに対して相対的に低くすることで圧縮率の異なる量子化を行う。
【0023】
従って、具体的には、異方性の要因によりエッジなまりの出やすい方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルを相対的に抑制することにより、そのエッジなまりによる画質への影響を軽減でき、再現される画像の高画質化を図れる。逆にいえば、エッジなまりの出にくい方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルは相対的に大きくしても画質への影響が出にくいので、全体としては効率のよい圧縮符号化が可能となる。
【0024】
請求項4記載の発明は、請求項3記載の画像処理装置において、前記量子化手段は、エッジなまりの出やすい方向が、ウェーブレット変換処理の水平方向である場合、サブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルをサブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルに対して相対的に低くする。
【0025】
従って、より具体的には、エッジなまりの出やすい方向が、ウェーブレット変換処理の水平方向である場合、サブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルを相対的に抑制することにより、そのエッジなまりによる画質への影響を軽減でき、再現される画像の高画質化を図れる。逆にいえば、エッジなまりの出にくい方向に対応するサブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルは相対的に大きくしても画質への影響が出にくいので、全体としては効率のよい圧縮符号化が可能となる。
【0026】
請求項5記載の発明は、請求項3記載の画像処理装置において、前記量子化手段は、エッジなまりの出やすい方向が、ウェーブレット変換処理の垂直方向である場合、サブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルをサブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルに対して相対的に低くする。
【0027】
従って、より具体的には、エッジなまりの出やすい方向が、ウェーブレット変換処理の垂直方向である場合、サブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルを相対的に抑制することにより、そのエッジなまりによる画質への影響を軽減でき、再現される画像の高画質化を図れる。逆にいえば、エッジなまりの出にくい方向に対応するサブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルは相対的に大きくしても画質への影響が出にくいので、全体としては効率のよい圧縮符号化が可能となる。
【0028】
請求項6記載の発明は、請求項2ないし5の何れか一記載の画像処理装置において、前記異方性判定手段は、異方性の要因の程度も判定し、前記量子化手段は、判定された異方性の要因の程度に応じてエッジなまりの出やすい方向の圧縮率の程度を異ならせる。
【0029】
従って、異方性の要因の程度によってエッジなまりの程度も異なるので、異方性の要因の程度に応じてエッジなまりの出やすい方向の圧縮率の程度を異ならせることで、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0030】
請求項7記載の発明は、請求項6記載の画像処理装置において、前記量子化手段は、判定された異方性の要因の程度に応じてエッジなまりの出やすい方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルを異ならせる。
【0031】
従って、異方性の要因の程度によってエッジなまりの程度も異なるので、異方性の要因の程度に応じてエッジなまりの出やすい方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルの程度を異ならせることで、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0032】
請求項8記載の発明は、請求項7記載の画像処理装置において、前記量子化手段は、エッジなまりの出やすい方向が、ウェーブレット変換処理の水平方向である場合、判定された異方性の要因の程度に応じてサブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルを異ならせる。
【0033】
従って、異方性の要因の程度によってエッジなまりの程度も異なるので、より具体的には、エッジなまりの出やすい方向が、ウェーブレット変換処理の水平方向である場合、サブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルを異ならせることで、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0034】
請求項9記載の発明は、請求項7記載の画像処理装置において、記量子化手段は、エッジなまりの出やすい方向が、ウェーブレット変換処理の垂直方向である場合、判定された異方性の要因の程度に応じてサブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルを異ならせる。
【0035】
従って、異方性の要因の程度によってエッジなまりの程度も異なるので、より具体的には、エッジなまりの出やすい方向が、ウェーブレット変換処理の垂直方向である場合、サブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルを異ならせることで、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0036】
請求項10記載の発明は、請求項7ないし9の何れか一記載の画像処理装置において、前記量子化手段は、サブバンドの階層に応じてウェーブレット係数に割り当てる量子化レベルを異ならせる。
【0037】
従って、細線はより高域の階層のウェーブレット係数として現れるので、サブバンドの階層によってもエッジなまりによる画質の影響の度合いが異なるので、サブバンドの階層に応じてウェーブレット係数に割り当てる量子化レベルを異ならせることで、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0038】
請求項11記載の発明は、原稿を露光する露光手段と、前記原稿と前記露光手段とを相対的に副走査方向に移動させる副走査手段と、副走査方向に露光走査される前記原稿からの反射光を受光しその画像を変換して読取る光電変換素子とを備えるとともに、前記光電変換素子により読取られた画像データの主走査方向の変倍を電気的な変倍処理により行い、副走査方向の変倍を前記副走査手段の機械的な変倍処理により行う変倍機能を有する画像読取装置において、変倍処理後の2次元の画像データを圧縮符号化の対象とする請求項1ないし10の何れか一記載の画像処理装置と、この画像処理装置により圧縮符号化された符号データを記憶する記憶装置と、を備え、前記画像処理装置が備える前記異方性判定手段は、主走査方向と副走査方向との変倍処理の違いを要因として前記画像データについて縦方向と横方向とで既知の異方性を有し、主走査方向がエッジなまりの出やすい方向と判定する。
【0039】
従って、請求項1ないし10の何れか一記載の画像処理装置を備えることにより、主走査方向と副走査方向との変倍処理の違いを要因として画像データについて縦方向と横方向とで既知の異方性を有し、主走査方向がエッジなまりの出やすい方向と判定される画像読取装置について、変倍処理後の画像データについて縦横で画質差の少ない圧縮符号化が可能となり、プリンタ等で再現される画像の高画質化を図れる。
【0040】
請求項12記載の発明は、請求項11記載の画像読取装置において、前記量子化手段は、主走査方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルをウェーブレット変換処理の他方向に位置するウェーブレット係数に割り当てる量子化レベルに対して相対的に低くすることで圧縮率の異なる量子化を行う。
【0041】
従って、具体的には、異方性の要因によりエッジなまりの出やすい主走査方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルを相対的に抑制することにより、そのエッジなまりによる画質への影響を軽減でき、再現される画像の高画質化を図れる。逆にいえば、エッジなまりの出にくい副走査方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルは相対的に大きくしても画質への影響が出にくいので、全体としては効率のよい圧縮符号化が可能となる。
【0042】
請求項13記載の発明は、請求項12記載の画像読取装置において、前記量子化手段は、主走査方向が、ウェーブレット変換処理の水平方向である場合、サブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルをサブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルに対して相対的に低くする。
【0043】
従って、より具体的には、エッジなまりの出やすい主走査方向が、ウェーブレット変換処理の水平方向である場合、サブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルを相対的に抑制することにより、そのエッジなまりによる画質への影響を軽減でき、再現される画像の高画質化を図れる。逆にいえば、エッジなまりの出にくい副走査方向に対応するサブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルは相対的に大きくしても画質への影響が出にくいので、全体としては効率のよい圧縮符号化が可能となる。
【0044】
請求項14記載の発明は、請求項12記載の画像読取装置において、前記量子化手段は、主走査方向が、ウェーブレット変換処理の垂直方向である場合、サブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルをサブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルに対して相対的に低くする。
【0045】
従って、より具体的には、エッジなまりの出やすい主走査方向が、ウェーブレット変換処理の垂直方向である場合、サブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルを相対的に抑制することにより、そのエッジなまりによる画質への影響を軽減でき、再現される画像の高画質化を図れる。逆にいえば、エッジなまりの出にくい副走査方向に対応するサブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルは相対的に大きくしても画質への影響が出にくいので、全体としては効率のよい圧縮符号化が可能となる。
【0046】
請求項15記載の発明は、請求項11ないし14の何れか一記載の画像読取装置において、前記量子化手段は、主走査方向の変倍率が縮小変倍の場合には拡大変倍の場合よりも主走査方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルを高くする。
【0047】
従って、縮小変倍の場合も電気的変倍処理を行う主走査方向にエッジなまりが生ずることがあるものの、一般には、拡大変倍時よりもその程度が低いことが多いので、拡大変倍時よりも量子化レベルを高くすることで、適正に対処できる。
【0048】
請求項16記載の発明は、請求項11ないし15の何れか一記載の画像読取装置において、前記異方性判定手段は、指定された主走査方向の変倍率を異方性の要因の程度として判定し、前記量子化手段は、主走査方向の変倍率に応じて主走査方向の圧縮率の程度を異ならせる。
【0049】
従って、異方性の要因となる主走査方向の変倍率によってエッジなまりの程度も異なり、変倍率が大きくなればエッジなまりの程度も大きくなるので、その変倍率に応じてエッジなまりの出やすい方向の圧縮率の程度を異ならせることで、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0050】
請求項17記載の発明は、請求項16記載の画像読取装置において、前記量子化手段は、主走査方向の変倍率に応じて主走査方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルを異ならせる。
【0051】
従って、異方性の要因となる主走査方向の変倍率によってエッジなまりの程度も異なり、変倍率が大きくなればエッジなまりの程度も大きくなるので、変倍率に応じてエッジなまりの出やすい方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルの程度を異ならせることで、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0052】
請求項18記載の発明は、請求項17記載の画像読取装置において、前記量子化手段は、主走査方向がウェーブレット変換処理の水平方向である場合、主走査方向の変倍率に応じてサブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルを異ならせる。
【0053】
従って、異方性の要因となる主走査方向の変倍率によってエッジなまりの程度も異なり、変倍率が大きくなればエッジなまりの程度も大きくなるので、より具体的には、エッジなまりの出やすい方向が、ウェーブレット変換処理の水平方向である場合、サブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルを異ならせることで、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0054】
請求項19記載の発明は、請求項17記載の画像読取装置において、前記量子化手段は、主走査方向がウェーブレット変換処理の垂直方向である場合、主走査方向の変倍率に応じてサブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルを異ならせる。
【0055】
従って、異方性の要因となる主走査方向の変倍率によってエッジなまりの程度も異なり、変倍率が大きくなればエッジなまりの程度も大きくなるので、より具体的には、エッジなまりの出やすい方向が、ウェーブレット変換処理の垂直方向である場合、サブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルを異ならせることで、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0056】
請求項20記載の発明は、請求項17ないし19の何れか一記載の画像読取装置において、前記量子化手段は、サブバンドの階層に応じてウェーブレット係数に割り当てる量子化レベルを異ならせる。
【0057】
従って、細線はより高域の階層のウェーブレット係数として現れるので、サブバンドの階層によってもエッジなまりによる画質の影響の度合いが異なるので、サブバンドの階層に応じてウェーブレット係数に割り当てる量子化レベルを異ならせることで、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0058】
請求項21記載の発明の画像形成装置は、請求項11ないし20の何れか一記載の画像読取装置と、この画像読取装置により読取られその画像処理装置により画像処理された符号データから復号化手段により伸長された画像データに基づき用紙上に画像を形成するプリンタエンジンと、を備える。
【0059】
従って、請求項11ないし20の何れか一記載の画像読取装置を備えることにより、変倍処理後の画像データについて縦横で画質差の少ない圧縮符号化が可能となり、プリンタエンジンで再現される画像の高画質化を図れる。
【0060】
請求項22記載の発明は、撮像対象を撮像素子により2次元にインターレース方式によりラスタースキャニングして読取るテレビジョンカメラにおいて、撮像された2次元の画像データを圧縮符号化の対象とする請求項1ないし10の何れか一記載の画像処理装置と、この画像処理装置により圧縮符号化された符号データを記憶する記憶装置と、を備え、前記画像処理装置が備える前記異方性判定手段は、前記インターレース方式のラスタースキャニングを要因として前記画像データについて縦方向と横方向とで既知の異方性を有し、ラスタースキャニング方向となる水平方向をエッジなまりの出やすい方向と判定する。
【0061】
従って、請求項1ないし10の何れか一記載の画像処理装置を備えることにより、インターレース方式のラスタースキャニングを要因として画像データについて縦方向と横方向とで既知の異方性を有し、ラスタースキャニング方向となる水平査方向がエッジなまりの出やすい方向と判定されるテレビジョンカメラについて、撮像後の画像データについて縦横で画質差の少ない圧縮符号化が可能となり、テレビジョン等で再現される画像の高画質化を図れる。
【0062】
請求項23記載の発明は、画像データを入力する入力手段と、この入力手段により入力された2次元の画像データを圧縮符号化の対象とする請求項1ないし10の何れか一記載の画像処理装置と、この画像処理装置により圧縮符号化された符号データを記憶する記憶装置と、この記憶装置に記憶された符号データを画像データに復号する復号手段と、縦方向と横方向とでの既知の出力特性の違いを有し、前記復号手段により復号された画像データに基づき2次元画像の出力処理を行う出力手段と、を備え、前記画像処理装置が備える前記異方性判定手段は、前記出力手段における縦方向と横方向とでの既知の出力特性の違いを要因として前記画像データについて縦方向と横方向とで既知の異方性を有し、既知の出力特性の違いによりエッジなまりの出やすい方向を判定する。
【0063】
従って、請求項1ないし10の何れか一記載の画像処理装置を備えることにより、出力手段における縦方向と横方向とでの既知の出力特性の違いを要因として画像データについて縦方向と横方向とで既知の異方性を有し、既知の出力特性の違いによりエッジなまりの出やすい方向と判定される画像出力装置について、出力手段における異方性が解消されるように画像データの量子化の段階で逆の異方性を持たせて相殺させることにより、出力手段で再現される画像の高画質化を図れる。
【0064】
請求項24記載の発明は、請求項22記載の画像出力装置において、前記入力手段がスキャナであり、前記出力手段がプリンタであり、縦方向と横方向とでの既知の出力特性の違いが印刷画像上で太線/細線の出る方向の違いである。
【0065】
従って、請求項22記載の画像出力装置が複写機であって、印刷出力の特性として縦方向又は横方向の何れかの方向に太線が出やすいような癖を持つ機種の場合に、その癖が相殺されて縦方向と横方向とで画質差のない高画質のコピー画像を得ることができる。
【0066】
請求項25記載の発明は、画像データを取得するデータ取得手段と、このデータ取得手段により取得された2次元の画像データについてユーザ操作に従い編集処理を圧縮符号化の対象とする請求項1ないし10の何れか一記載の画像処理装置と、この画像処理装置により圧縮符号化された符号データを記憶する記憶装置と、この記憶装置に記憶された符号データを画像データに復号する復号手段と、を備え、前記画像処理装置が備える前記異方性判定手段は、編集処理に対するユーザ操作の指定内容を要因として前記画像データについて縦方向と横方向とで異方性を有すると推定する。
【0067】
従って、請求項1ないし10の何れか一記載の画像処理装置を備えることにより、編集処理に対するユーザ操作の指定内容を要因として画像データについて縦方向と横方向とで異方性を有すると推定されるパソコン等の情報処理装置について、編集操作後の画像データについて縦横で画質差の少ない圧縮符号化が可能となり、ディスプレイ、プリンタ等で再現される画像の高画質化を図れる。
【0068】
請求項26記載の発明のプログラムは、請求項1ないし10の何れか一記載の画像処理装置における各手段の機能を当該画像処理装置が備えるコンピュータに実行させる。
【0069】
従って、請求項1ないし10の何れか一記載の発明と同様な作用を奏する。
【0070】
請求項27記載の発明のコンピュータに読取り可能な記憶媒体は、請求項26記載のプログラムを記憶している。
【0071】
従って、請求項26記載の発明と同様な作用を奏する。
【0072】
【発明の実施の形態】
本発明の第一の実施の形態を図1ないし図17に基づいて説明する。
【0073】
[JPEG2000について概略説明]
まず、JPEG2000について概略説明する。
【0074】
図1は、JPEG2000アルゴリズムの基本を説明するための機能ブロック図である。図1に示すように、JPEG2000アルゴリズムは、色空間変換・逆変換部101、2次元ウェーブレット変換・逆変換部102、量子化・逆量子化部103、エントロピー符号化・復号化部104、タグ処理部105によって構成されている。以下、各部について説明する。
【0075】
色空間変換・逆変換部101及び2次元ウェーブレット変換・逆変換部102について図2及び図3を参照しながら説明する。
【0076】
図2は、カラー画像である原画像の分割された各コンポーネントの一例を示す模式図である。カラー画像は、一般に、図2に示すように、原画像の各コンポーネントR、G、B(111)が、例えばRGB原色系によって分離されている。そして、原画像の各コンポーネントR、G、Bは、さらに、矩形をした領域であるタイル112によって分割される。個々のタイル112、例えば、R00,R01,…,R15/G00,G01,…,G15/B00,B01,…,B15は、圧縮伸長プロセスを実行する際の基本単位を構成する。従って、圧縮伸長動作は、コンポーネントR、G、B(111)毎、そしてタイル112毎に、独立して行なわれる。
【0077】
ここで、画像データの符号化時、各タイル112のデータは、図1に示す色空間変換・逆変換部101に入力され、色空間変換を施された後、2次元ウェーブレット変換・逆変換部102で2次元ウェーブレット変換(順変換)が適用されて周波数帯に空間分割される。
【0078】
図3は、デコンポジションレベル数が3であるの場合の各デコンポジションレベルにおけるサブバンドを示す模式図である。2次元ウェーブレット変換・逆変換部102は、原画像のタイル分割によって得られたタイル原画像(0LL)(デコンポジションレベル0)に対して、2次元ウェーブレット変換を施し、デコンポジションレベル1に示すサブバンド(1LL,1HL,1LH,1HH)を分離する。そして、2次元ウェーブレット変換・逆変換部102は、引き続き、この階層における低周波成分1LLに対して、2次元ウェーブレット変換を施し、デコンポジションレベル2に示すサブバンド(2LL,2HL,2LH,2HH)を分離する。2次元ウェーブレット変換・逆変換部102は、順次同様に、低周波成分2LLに対しても、2次元ウェーブレット変換を施し、デコンポジションレベル3に示すサブバンド(3LL,3HL,3LH,3HH)を分離する。図3中、各デコンポジションレベルにおいて符号化の対象となるサブバンドはグレーで示されている。例えば、デコンポジションレベル数を3とした場合、グレーで示したサブバンド(3HL,3LH,3HH,2HL,2LH,2HH,1HL,1LH,1HH)が符号化対象となり、3LLサブバンドは符号化されない。
【0079】
次いで、量子化・逆量子化部103では、指定した符号化の順番で符号化の対象となるビットが定められた後、対象ビット周辺のビットからコンテキストが生成される。
【0080】
図4は、プレシンクトを例示する模式図である。量子化の処理が終わったウェーブレット係数は、個々のサブバンド毎に、「プレシンクト」と呼ばれる重複しない矩形に分割される。これは、インプリメンテーションでメモリを効率的に使うために導入されたものである。図4に示すように、一つのプレシンクトは、空間的に一致した3つの矩形領域からなっている。さらに、個々のプレシンクトは、重複しない矩形の「コードブロック」に分けられる。これは、エントロピーコーディングを行う際の基本単位となる。
【0081】
図5は、2次元ウェーブレット変換後の2次元ウェーブレット係数の値を「ビットプレーン」単位に分解し、画素或いはコードブロック毎に「ビットプレーン」に順位付けを行う処理の概要を示す模式図である。ウェーブレット変換後の係数値は、そのまま量子化し符号化することも可能であるが、JPEG2000では符号化効率を上げるために、係数値を「ビットプレーン」単位に分解し、画素或いはコードブロック毎に「ビットプレーン」に順位付けを行うことができる。図5には、その手順を簡単に示した。この例は、原画像(32×32画素)を16×16画素のタイル4つで分割した場合の例であり、デコンポジションレベル1のプレシンクトとコードブロックとの大きさは、各々8×8画素と4×4画素としている。プレシンクトとコードブロックの番号とは、ラスター順に付けられる。タイル境界外に対する画素拡張にはミラーリング法を使い、可逆(5,3)フィルタでウェーブレット変換を行い、デコンポジションレベル1のウェーブレット係数値を求めている。
【0082】
また、図5には、タイル0/プレシンクト3/コードブロック3について、代表的な「レイヤ」についての概念的な模式図も併せて示している。レイヤの構造は、ウェーブレット係数値を横方向(ビットプレーン方向)から見ると理解し易い。1つのレイヤは任意の数のビットプレーンから構成される。この例では、レイヤ0、1、2、3は、各々、1、3、1という3つのビットプレーンからなっている。そして、LSBに近いビットプレーンを含むレイヤ程、先に量子化の対象となり、逆に、MSBに近いレイヤは最後まで量子化されずに残ることになる。LSBに近いレイヤから破棄する方法はトランケーションと呼ばれ、量子化率を細かく制御することが可能である。
【0083】
次いで、エントロピー符号化・復号化部104について図6を参照しながら説明する。図6は、符号化された画像データのコードストリームを例示する模式図である。エントロピー符号化・復号化部104(図1参照)では、コンテキストと対象ビットとから、確率推定によって各コンポーネントRGBのタイル112に対する符号化を行う。こうして、原画像の全てのコンポーネントRGBについて、タイル112単位で符号化処理が行われる。
【0084】
次いで、タグ処理部105について説明する。タグ処理部105は、エントロピー符号化・復号化部104からの全符号化データを1本のコードストリームに結合するとともに、それにタグを付加する処理を行う。図6に、コードストリームの構造を簡単に示している。このようなコードストリームの先頭と各タイル112を構成する部分タイルの先頭には、ヘッダと呼ばれるタグ情報が付加され、その後に、各タイル112の符号化データが続く。そして、コードストリームの終端には、再びタグが置かれる。
【0085】
一方、復号化時には、符号化時とは逆に、各コンポーネントRGBの各タイル112のコードストリームから画像データを生成する。このような処理について、図1を用いて簡単に説明する。タグ処理部105は、外部より入力したコードストリームに付加されたタグ情報を解釈し、コードストリームを各コンポーネントRGBの各タイル112のコードストリームに分解し、その各コンポーネントRGBの各タイル112のコードストリーム毎に復号化処理を行う。この際、コードストリーム内のタグ情報に基づく順番で復号化の対象となるビットの位置が定められるとともに、量子化・逆量子化部103において、その対象ビット位置の周辺ビット(既に復号化を終えている)の並びからコンテキストを生成する。そして、エントロピー符号化・復号化部104では、そのコンテキストとコードストリームとから確率推定によって復号化を行なって対象ビットを生成し、それを対象ビットの位置に書き込む。このようにして復号化されたデータは、周波数帯域毎に空間分割されているため、これを2次元ウェーブレット変換・逆変換部102で2次元ウェーブレット逆変換を行うことにより、画像データ中の各コンポーネントRGBにおける各タイル112が復元される。復元されたデータは、色空間変換・逆変換部101によって元の表色系のデータに変換される。
【0086】
[画像処理装置及び画像読取装置を含む画像形成装置の構成例]
本実施の形態は、前述のJPEG2000の機能を画像処理装置中に備える画像形成装置としてのデジタルフルカラー複写機への適用例を示すもので、図7にその概略構成例を示す。
【0087】
このデジタルカラー複写機1は、後述するように複合機としての機能を持つもので、プリンタエンジンとして機能するカラープリンタであるプリンタ2と、プリンタ2の上部に設置された画像読取装置としてのカラーイメージスキャナであるスキャナ3とから構成されている。
【0088】
プリンタ2は、スキャナ3で光学的に読取られた原稿の画像データや外部装置から送信された画像データ等に基づいて作像ユニット4で電子写真方式による画像形成を行い、この画像を給紙部5から用紙搬送部6で用紙搬送路7を経て搬送される記録媒体である用紙Pに転写し、画像が転写された用紙Pを搬送ベルト8で定着部9に搬送し、用紙Pの転写画像を定着部9で加熱加圧することにより定着して排紙トレイ10に排紙する構造である。
【0089】
作像ユニット4は、回転するドラム状の感光体11の周囲に、感光体11の表面を一様に帯電させる帯電部12、一様帯電した感光体11の表面に対する露光走査によって色毎の画像データに基づく静電潜像を感光体11上に形成する露光部13、シアン(C),マゼンタ(M),イエロー(Y),ブラック(K)のトナーを有して色毎の静電潜像に対応するトナーを付着させて可視像であるトナー像を形成するリボルバー方式のカラー現像部14、順次色毎のトナー像を複数のローラに支持された中間転写ベルト15上に転写させる中間転写部16、中間転写ベルト15上に転写されず感光体11上に残留するトナーを掻き落す感光体クリーニング部17、感光体11上の電荷を除電する除電部18等を配置することにより形成されており、さらに、中間転写ベルト15上のトナー像を用紙P上に一括転写させる転写部19、用紙P上に一括転写されず中間転写ベルト15上に残留するトナーを掻き落すベルトクリーニング部20を配置することにより形成されている。
【0090】
次に、スキャナ3について説明する。スキャナ3は、スキャナ本体21と、スキャナ本体21の上部に設けられた原稿搬送部であるADF(自動原稿搬送装置)22とから構成されている。スキャナ本体21の筐体23の上面には、原稿固定モードでの原稿画像の読取時に原稿が載置される載置原稿用ガラス24と、原稿搬送モードでの原稿画像の読取時に使用される搬送原稿用ガラス25とが設けられている。ここで、原稿固定モードとは、載置原稿用ガラス24上に載置された状態の原稿の画像を読取る動作モードであり、原稿搬送モードとは、ADF22により原稿を自動給紙し、自動給紙された原稿が搬送原稿用ガラス25上を通過する際にその原稿の画像を読取る動作モードである。
【0091】
また、筐体23の内部であって載置原稿用ガラス24に下方から対向する位置には、原稿に光を照射する露光手段としての照明ランプ(高輝度Xeランプ)26及びミラー27を備える第一走行体28が、載置原稿用ガラス24に沿って副走査方向に移動自在に配置されている。第一走行体28の反射光路には、2個のミラー29,30を備える第二走行体31が、載置原稿用ガラス24に沿って副走査方向に移動自在に配置されており、この第二走行体31の反射光路には、レンズ32を介してカラーラインセンサであるCCD(Charge Coupled Device)33を搭載したSBU(Sensor Board Unit)34が位置している。なお、CCD33が光電変換素子として機能する。
【0092】
副走査手段としての第一走行体28と第二走行体31とには、ステッピングモータ35がプーリやワイヤなど(いずれも図示せず)により連結されており、第一走行体28と第二走行体31とは、図7中左側から右側へ2:1の速度比で同一の副走査方向に移動自在とされている。なお、本実施の形態のデジタルカラー複写機1は、変倍機能を備えるものであり、拡大/縮小変倍コピー時には、その変倍率に応じてステッピングモータ35の速度を制御することにより、第一,第二走行体28,31の原稿に対する移動速度を変更させることにより、副走査方向の変倍処理がメカ的に行われる。主走査方向の変倍は後述するような電気的変倍処理により実行される。
【0093】
次に、図8はこのようなデジタルカラー複写機1の電気的な接続を示すブロック図である。原稿画像を光学的に読取るスキャナ3中の読取りユニット(CCD)33は前述のようにSBU34に搭載され、読取りユニット(CCD)33において電気信号に変換された画像信号はデジタル画像信号に変換された後、SBU34から出力される。SBU34から出力される画像信号はCDIC(圧縮/伸長及びデータインターフェイス制御部)41に入力される。機能デバイス及びデータバス間における画像データの伝送はCDIC41が全て制御する。CDIC41は画像データに関し、SBU34、パラレルバス42、IPP(画像処理プロッセッサ)43間のデータ転送、本システムの全体制御を司るシステムコントローラ(CPU)44と画像データに対するプロセスコントローラ45との間の通信を行う。符号44a,44bは、システムコントローラ44が使用するROM、RAMである。各々SBU34からの画像信号は、CDIC41を経由してIPP43に転送され、光学系及びデジタル画像信号への量子化に伴う信号劣化(スキャナ系の信号劣化とする)が補正されて、再度CDIC41へ出力される。
【0094】
即ち、システムコントローラ44は、CPUを有し、ROM44aに書き込まれた制御プログラムに従って、RAM44bを作業領域として使用しながら、装置各部を制御するマイクロコンピュータである。ROM44aは、システムコントローラ44が上記装置各部を制御するための画像処理用プログラム、その他の制御プログラムが記憶されているメモリである。つまり、本実施の形態では、ROM44aに後述するような各種機能を実現するための画像処理用プログラムが格納されており、このROM44aがプログラムを記憶した記憶媒体として機能している。このため、本実施の形態では、ROM44aが例えばEEPROMやフラッシュメモリにより構成され、ROM44a記憶されているプログラムが書換え自在とされている。なお、特に図示しないが、ネットワーク経由でプログラムをダウンロードさせる場合であれば、ネットワークインタフェースを付加すればよい。
【0095】
このデジタルカラー複写機1では、読取りユニット33による読取り画像をメモリに蓄積して再利用するジョブと、メモリに蓄積しないジョブとがあり、以下では各々の場合について説明する。メモリに蓄積する例としては、1枚の同一原稿を複数枚複写する場合、読取りユニット33で1回だけ原稿の読取動作を行い、メモリに蓄積し、蓄積データを複数回読み出す使い方がある。メモリを使わない例としては、1枚の原稿を1枚だけ複写する場合、読取り画像をそのまま印刷すればよいので、メモリアクセスを行う必要はない。
【0096】
まず、メモリを使わない場合、IPP43からCDIC41へ転送された画像データは、再度CDIC41からIPP43へ戻される。IPP43においてCCD33による輝度データを面積階調に変換するための画質処理を行う。この画質処理後の画像データはIPP43からVDC(ビデオ・データ制御)46に転送する。そして、面積階調に変化された信号に対し、ドット配置に関する後処理及びドットを再現するためのパルス制御を行い、電子写真方式で画像形成するプリンタエンジンである作像ユニット4により、転写紙P上に再生画像を形成する。
【0097】
メモリに画像データを蓄積し、画像データの読み出し時に付加的な処理、例えば、画像方向の回転、画像の合成等を行う場合の画像データの流れを説明する。IPP43からCDIC41へ転送された画像データは、CDIC41からパラレルバス42を経由してIMAC19(画像メモリアクセス制御)47に送られる。IMAC47では、システムコントローラ44の制御に基づき画像データの、記憶装置であるMEM(メモリモジュール)48へのアクセス制御、外部のPC(パソコン)49へのプリント用データの展開、MEM48のメモリ有効活用のための画像データの圧縮/伸長を行う。IMAC47へ送られた画像データはデータ圧縮後MEM48へ蓄積され、この蓄積データは必要に応じて読み出される。読み出した画像データは伸長されて本来の画像データに戻され、IMAC47からパラレルバス経由でCDIC41へ戻される。
【0098】
CDIC41からIPP43への転送後は画像データに対して画質処理及びVDC46でのパルス制御を行い、その画像データにより作像ユニット4において転写紙P上に画像形成する。
【0099】
このデジタルカラー複写機1は、いわゆる複合機であり、FAX送信機能を備えている。このFAX送信機能は、読取り画像データにIPP43にて画像処理を実施し、CDIC41及びパラレルバス42を経由してFCU(FAX制御ユニット)50へ転送する。FCU50にて通信網へのデータ変換を行い、PN(公衆回線)51へFAXデータとして送信する。FAX受信は、PN51からの回線データをFCU50で画像データへ変換し、パラレルバス42及びCDIC41を経由してIPP43へ転送する。この場合、特別な画質処理は行わず、VDC46においてドット再配置及びパルス制御を行い、作像ユニット4において転写紙P上に再生画像を形成する。
【0100】
複数のジョブ、例えば、コピー機能、FAX送受信機能、プリンタ出力機能が並行に動作する状況において、読取りユニット33、作像ユニット4及びパラレルバス42の使用権のジョブへの割り振りをシステムコントローラ44及びプロセスコントローラ45で制御する。
【0101】
プロセスコントローラ(CPU)45は画像データの流れを制御し、システムコントローラ44はシステム全体を制御し、各リソースの起動を管理する。符号45a,45bは、プロセスコントローラ45が使用するROM、RAMである。
【0102】
ユーザは、操作パネル52を選択入力することで各種の機能の選択を行い、コピー機能、FAX機能等の処理内容を設定する。
【0103】
システムコントローラ44とプロセスコントローラ45はパラレルバス42、CDIC41及びシリアルバス53を介して相互に通信を行う。この際、CDIC41内においては、パラレルバス42とシリアルバス53とのデータインターフェイスのためのデータフォーマット変換を行う。
【0104】
図9は、IPP43の構成を示すブロック図である。読取り画像はSBU34、CDIC41を介してIPP43の入力I/F61からスキャナ画像処理部62へ伝達される。スキャナ画像処理部62が行う処理は、読取り画像信号の劣化補正が目的で、シェーディング補正、スキャナγ補正、MTF補正等を行う。補正処理ではないが、本実施の形態で対象となる主走査方向の電気的な拡大/縮小の変倍処理もキュービックコンボリューション補間法等を用いて行う。読取り画像データの補正処理終了後、出力I/F63を介してCDIC41へ画像データを転送する。転写紙への出力はCDIC41からの画像データを入力I/F64より受け、画質処理部65において面積階調処理を行う。画質処理後のデータは出力I/F66を介してVDC46へ出力される。面積階調処理は濃度変換、ディザ処理、誤差拡散処理等が有り、階調情報の面積近似を主な処理とする。一旦、スキャナ画像処理された画像データをメモリ48に蓄積しておけば、画質処理を変えることによって種々の再生画像を確認することができる。例えば、再生画像の濃度を振ってみたり、ディザマトリクスの線数を変更してみたりすることで、再生画像の雰囲気を変更できる。この時、処理を変更する度に画像を読取りユニット38から読み込み直す必要はなく、MEM20から格納画像を読み出せば同一データに対し、何度でも異なる処理を実施できる。
【0105】
図10は、IMAC47の構成を示すブロック図である。図10に示すように、IMAC47は、パラレルデータI/F71において、パラレルバス42との間で画像データのインターフェイスを管理する。IMAC47は、構成的にはMEM48への画像データの格納/読み出しと、主に外部のPC49から入力されるコードデータの画像データへの展開を制御する。ここでいうMEM48の例としては、半導体メモリ、ハードディスク、若しくはその両方がある。PC49から入力されたコードデータは、ラインバッファ72において、ローカル領域でのデータの格納を行う。ラインバッファ72に格納されたコードデータは、システムコントローラI/F73を介して入力されたシステムコントローラ44からの展開処理命令に基づき、ビデオ制御部74において画像データに展開される。展開された画像データ若しくはパラレルデータI/F71を介してパラレルバス42から入力された画像データは、MEM48に格納される。この場合、データ変換部75において格納対象となる画像データを選択し、データ圧縮部76においてメモリ使用効率を上げるために、必要に応じてデータ圧縮を行い、メモリアクセス制御部77にてMEM48のアドレスを管理しながらMEM48に画像データを格納する。MEM48に格納された画像データの読み出しは、メモリアクセス制御部77において読み出し先アドレスを制御し、読み出されたデータは、必要に応じてデータ伸長部78で伸長される。データ圧縮部76、データ伸長部78ででの圧縮伸長に使われる符号化方式の一例としては、MEM48のメモリ領域の節約に適した高能率な符号化方式が挙げられる。これは前述したCDIC41に要求される機能重視の符号化方式と異なり、効率重視の符号化方式であり、本実施の形態では前述したようなJPEG2000フォーマットが利用されている。即ち、データ圧縮部76が画像データを2次元ウェーブレット変換、量子化及び符号化という手順で符号データに圧縮符号化するJPEG2000フォーマットの符号化手段として構成され、データ伸長部78は圧縮符号化された符号データを復号化、逆量子化及び2次元ウェーブレット逆変換という逆の手順で伸長するJPEG2000フォーマットの復号化手段として構成されている。伸長された画像データをパラレルバス42へ転送する場合、パラレルデータI/F71を介してデータ転送を行う。
【0106】
[変倍コピー動作]
本実施の形態のデジタルカラー複写機1は、前述したように拡大/縮小変倍機能を有するものであるが、従来と同様に、主走査方向はスキャナ画像処理部62において周知のキュービックコンボリューション補間法等の電気的な変倍処理により行い、副走査方向はその変倍率に応じてステッピングモータ35の速度を制御することにより、第一走行体28の移動速度を変えるというメカニカルな変倍処理で行うものである。
【0107】
例えば、図11を参照して縦横2倍に拡大する場合の例を説明すると、同図(a)に示すように原稿Dに対する主走査方向、副走査方向が設定されているとすると、まず、第一走行体28の移動速度を変倍率2倍に合わせて変更して(等倍時の1/2の速度)、スキャナ3により原稿Dの読取りを行うことより、同図(b)に示すように副走査方向の変倍(2倍)がメカニカルに行われる。そして、このような副走査変倍処理を受けてスキャナ3より読取られた画像データに対して、はスキャナ画像処理部62においてその主走査方向にキュービックコンボリューション補間法による電気的な変倍処理を施すことにより、同図(c)に示すように主走査方向の変倍(2倍)が電気的に行われ、結果として、縦横2倍に拡大された画像データが得られる。
【0108】
このようにして変倍処理を受けた画像データは、JPEG2000アルゴリズム等に従い、一旦圧縮符号化して符号データとしてMEM48に格納した後、逆の手順で符号データを伸長させて画像データとして作像ユニット4側に出力させることでコピー印刷動作が実行される。
【0109】
ここに、主走査方向と副走査方向との変倍処理の違いを要因として画像データについて縦方向と横方向とで当該デジタルカラー複写機1について既知の異方性を有し、電気的変倍処理を行う主走査方向がエッジなまりの出やすい方向であると予め自己判定している状況下に、JPEG2000アルゴリズムに従う圧縮符号化処理中の量子化過程において、2次元ウェーブレット係数に対して同一階層のサブバンド位置に応じて圧縮率の異なる量子化を行う量子化手段ないしは量子化機能を持たせているものである。即ち、図11(d)中に低圧縮率、高圧縮率として示すように、主走査方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベル(圧縮率)をウェーブレット変換処理の他方向に位置するウェーブレット係数に割り当てる量子化レベル(圧縮率)に対して相対的に低くすることで圧縮率の異なる量子化を行うようにしている。
【0110】
これは、JPEG2000アルゴリズムにおいて図3等で説明したウェーブレット変換の特徴を利用したものである。いま、図12(a)に示すような原稿Dの画像データをウェーブレット変換すると、その変換結果は、図12(b)に示すように表すことができる。即ち、水平方向低周波・垂直方向低周波成分となるサブバンドLLには画像データ中の全体像が1/2に縮小されて現れ、水平方向低周波・垂直方向高周波成分となるサブバンドLHには横線(水平方向の線)画像が現れ、水平方向高周波・垂直方向低周波成分となるサブバンドHLには縦線(垂直方向の線)画像が現れ、水平方向高周波・垂直方向高周波成分となるサブバンドHHには斜め線画像が現れる特性を有する。
【0111】
従って、例えば図13(デコンポジションレベル=2)に示すように主走査方向がウェーブレット変換処理の水平方向に相当し、副走査方向がウェーブレット変換処理の縦方向に相当する場合、主走査方向のエッジなまりの生じやすい画像データ成分はサブバンドLH系の階層のウェーブレット係数に現れ、副走査方向の画像データ成分はサブバンドHL系の階層のウェーブレット係数に現れる。よって、通常は、ウェーブレット係数に対して同一の量子化レベルが割り当てられる同一階層のサブバンド1LH,1HL、サブバンド2HL,2LHについて、サブバンド1LH,2LH側の量子化レベルの方がサブバンド1HL,2HL側の量子化レベルよりも相対的に低くなるようにその量子化レベルを異ならせ、電気的変倍処理を行う主走査方向側についての量子化を抑制することにより、そのエッジなまりによる画質への影響を軽減でき、再現される画像の高画質化を図れることが理解できる。逆にいえば、エッジなまりの出にくい副走査方向に対応するサブバンド1HL,2HLに位置するウェーブレット係数に割り当てる量子化レベルは相対的に大きくしても画質への影響が出にくいので、全体としては効率のよい圧縮符号化が可能となることも理解できる。
【0112】
このため、本実施の形態では、例えば図13に示すような条件(デコンポジションレベル=2、主走査方向=水平方向、副走査方向=垂直方向)とした場合、拡大変倍処理について、図14に示すようなサブバンド毎の量子化レベルに関するテーブルが予めROM44a等に用意されている。この場合の量子化レベルはウェーブレット係数を量子化するための分母で表現しており、“1”は2であって量子化しないことを示しており、“2”は2、“4”は2、“8”は2を各々表している。このテーブルによれば、等倍時には、サブバンド2HL,2LHに同じ量子化レベル“2”が割り当てられ、サブバンド1HL,1LHに同じ量子化レベル“4”が割り当てられているが、2倍なる拡大変倍時には、サブバンド2HLの量子化レベル“2”に対して同一階層のサブバンド2LHには量子化レベル“1”が割り当てられてその量子化が抑制され(低圧縮率化)、サブバンド1HLの量子化レベル“4”に対して同一階層のサブバンド1LHには量子化レベル“2”が割り当てられてその量子化が抑制(低圧縮率化)されている。また、4倍なる拡大変倍時も同様であるが、例えば、サブバンド1LHには量子化レベル“1”が割り当てられてその量子化がより一層抑制(低圧縮率化)されている。
【0113】
異方性の要因となる主走査方向の変倍率によってエッジなまりの程度も異なり、変倍率が大きくなればエッジなまりの程度も大きくなるので、このテーブルに示す数値例のように、その変倍率に応じてサブバンド1LHのウェーブレット係数に割り当てる量子化レベルを異ならせることで、そのエッジなまりによる画質への影響を、より軽減させることができる。また、細線はより高域の階層のウェーブレット係数として現れ、サブバンドの階層によってもエッジなまりによる画質の影響の度合いが異なるので、このテーブルに示す数値例のように、サブバンド2LH,1LHの階層に応じてウェーブレット係数に割り当てる量子化レベルを異ならせることで、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0114】
このようなテーブルを参照するコピー動作時の処理制御例を概略的に示す図15のフローチャートを参照して説明する。コピー動作は、オペレータがコピー枚数、変倍率等のコピー条件を設定後、スタートキーを押下することにより開始される(S1のY)。そこで、コピー条件設定段階で変倍指定されているかをチェックする(S2)。このステップS2の処理が異方性判定手段の機能として実行され、変倍指定されている場合には、その変倍率により異方性の程度が判定される。なお、圧縮符号化の対象となる2次元の画像データについて縦方向と横方向との異方性を有するか否かの判定は、当該デジタルカラー複写機1においては主走査方向と副走査方向との変倍処理の違いを要因として既知の異方性があるものと認識済みであり、変倍指定によりこの既知の情報が有効となる。
【0115】
変倍指定されていない場合には(S2のN)、スキャナ3に通常の等倍時の読取り動作を行わせ(S3)、原稿についての読取り画像データを取得する。一方、変倍指定されている場合には(S2のY)、その変倍率に応じてスキャナ3(ステッピングモータ35)を制御して副走査方向にメカ変倍を行わせながら読取り動作を行わせ(S4)、得られた副走査変倍済みの画像データについてスキャナ画像処理部62においてその主走査方向にキュービックコンボリューション補間法による電気的な変倍処理を施す(S5)。
【0116】
このようにして取得された画像データは、データ圧縮部76において2次元ウェーブレット変換され(S6)、さらに、前述したテーブルを参照し量子化及び符号化という手順で符号データに圧縮符号化する(S7)。このステップS7の処理が量子化手段の機能として実行される。この処理において、変倍コピー時にはテーブル中に示される量子化レベルが用いられるため、エッジなまりが出やすい主走査方向のウェーブレット係数の圧縮率は抑制される。
【0117】
符号化されたデータは、一旦、MEM48に格納され(S8)、再度、MEM48から読み出されてデータ伸長部78により圧縮符号化された符号データを復号化、逆量子化及び2次元ウェーブレット逆変換という逆の手順で元の画像データへの復号化処理が行われ(S9)、作像ユニット4側に出力させることでコピー印刷動作が実行される。
【0118】
従って、本実施の形態によれば、変倍処理後の画像データについて縦横で画質差の少ない圧縮符号化が可能となり、作像ユニット4側で再現される画像の高画質化を図れる。
【0119】
なお、上述の説明では、拡大変倍時を想定したが、1/2倍、1/4倍、…のような縮小変倍時についても同様であり、例えば図16に示すような縮小変倍率毎に各サブバンドに割り当てる量子化レベルを規定したテーブルを参照するようにすればよい。この場合、縮小変倍の場合も電気的変倍処理を行う主走査方向にエッジなまりが生ずることがあるものの、一般には、拡大変倍時よりもその程度が低いことが多いので、拡大変倍時よりも量子化レベルを高くすることで、適正に対処することができる。図示例では、サブバンド1LHについて、拡大時の量子化レベル“2”“1”よりもその量子化レベルが“3”“2”のように高くされている。
【0120】
また、上述の説明では、ウェーブレット係数を符号化する段階で線形量子化を施す場合の量子化レベルに着目したが、符号化した後の不要なビットプレーンの符号を破棄する(トランケート)レベルを異ならせるようにしてもよい。この場合、例えば図18に示すような拡大変倍率毎に各サブバンドに割り当てるビットプレーンのトランケートを規定したテーブルを参照するようにすればよい。各数値“0”〜“3”は2〜2に相当するべき数を示しており、“0”はビットプレーンを破棄しないこと、“1”は最下位1ビット分のビットプレーンを破棄すること、“2”は最下位2ビット分のビットプレーンを破棄すること、“3”は最下位3ビット分のビットプレーンを破棄することを表している。
【0121】
このテーブルによれば、等倍時には、サブバンド2HL,2LHに同じトランケート“1”が割り当てられ、サブバンド1HL,1LHに同じトランケート“2”が割り当てられているが、2倍なる拡大変倍時には、サブバンド2HLのトランケート“1”に対して同一階層のサブバンド2LHにはトランケート“0”が割り当てられてその量子化が抑制され(低圧縮率化)、サブバンド1HLのトランケート“2”に対して同一階層のサブバンド1LHにはトランケート“1”が割り当てられてその量子化が抑制(低圧縮率化)されている。また、4倍なる拡大変倍時も同様であるが、例えば、サブバンド1LHにはトランケート“0”が割り当てられてその量子化がより一層抑制(低圧縮率化)されている。
【0122】
さらに、上述の説明では、縦横等しい相似変倍の例で説明したが、縦横で比率の異なる縦長又は横長変倍の場合でも同様に適用できる。この場合、メカ的変倍処理を行居エッジなまりのない副走査方向の変倍率は特に関係なく、電気的変倍処理を行う主走査方向の変倍率に着目すればよい。
【0123】
また、本実施の形態では、スキャナ3における走査方向と2次元ウェーブレット変換処理の方向との関係を、図13に示したように、主走査方向=水平方向、副走査方向=垂直方向とした例で説明したが、主走査方向=垂直方向、副走査方向=水平方向となる関係の場合には、サブバンドLH系に代えて主走査方向に対応する垂直方向なるサブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルを抑制するようにすればよい(サブバンドLH系とサブバンドHL系との量子化レベルを入替えればよい)。
【0124】
本発明の第二の実施の形態を図18に基づいて説明する。前述の実施の形態では、2次元の画像データについて縦方向と横方向とに異方性を有する典型例として主走査方向と副走査方向との変倍処理の違いを要因とするスキャナの例で説明したが、本実施の形態は、2次元の画像データについて縦方向と横方向とに異方性を有する他の例としてテレビジョンカメラへの適用例を示す。
【0125】
図18は、テレビジョンカメラ80が備えるハードウェア構成の概略を示すブロック図である。このテレビションカメラ80は、画像入力装置81と画像圧縮装置82とを備えており、これらの画像入力装置81、画像圧縮装置82は、バス83を介してCPU84に接続されている。この他、メモリ85、操作パネル86、外部出力インタフェース87等を備えている。
【0126】
ここで、画像入力装置81は、CCD、MOSイメージセンサ等の撮像素子を備え、撮像対象を2次元にインターレース方式によりラスタースキャニングして読取り、その読取り画像データを画像圧縮装置82に出力する。この画像圧縮装置82は、画像処理装置中の量子化手段等の圧縮処理系を代表して表現したものであり、JPEG2000アルゴリズムに従い圧縮符号化する。生成された符号列データは外部出力インタフェース87を介して外部に出力される。
【0127】
このようなテレビジョンカメラ80について、本実施の形態では、インターレース方式のラスタースキャニングを要因として画像データについて縦方向と横方向とで既知の異方性を有し、ラスタースキャニング方向となる水平方向をエッジなまりの出やすい方向として自己判定しているものである。さらには、水平方向と垂直方向とのアスペクト比4:3或いは16:9といった違いもあるため、ラスタースキャニング方向となる水平方向をエッジなまりの出やすい方向といえる。そこで、このような異方性についても前述した実施の形態の場合と同様に、画像圧縮装置82における量子化処理の段階でエッジなまりの出やすい方向であるラスタースキャニング方向(水平方向)とその他の方向である縦方向とで量子化の程度を異ならせるようにしたものである。これにより、撮像後の画像データについて縦横で画質差の少ない圧縮符号化が可能となり、テレビジョン等で再現される画像の高画質化を図れる。
【0128】
本発明の第三の実施の形態を図19に基づいて説明する。本実施の形態は、2次元の画像データについて縦方向と横方向とに異方性を有する他の例として情報処理装置であるパーソナルコンピュータ(PC)への適用例を示す。
【0129】
図19は、PC90が備えるハードウェア構成の概略を示すブロック図である。このPC90は、情報処理を行うCPU91、情報を格納するROM92及びRAM93等の1次記憶装置、インタネット、その他のネットワーク94を介して外部からダウンロードした圧縮符号を記憶するHDD(Hard Disk Drive)95、情報を保管したり外部に情報を配布したり外部から情報を入手するためのCD−ROMドライブ96、ネットワーク94を介して外部の他のコンピュータ等と通信により情報を伝達するための通信制御装置97、処理経過や結果等を操作者に表示するCRT(Cathode Ray Tube)やLCD(Liquid Crystal Display)等の表示装置98、並びに操作者がCPU91に命令や情報等を入力するためのキーボードやマウス等の入力装置99等から構成されており、これらの各部間で送受信されるデータをバスコントローラ100が調停して動作する。
【0130】
このようなPC90は、ROM92に各種制御プログラムとともに、画像処理の一環として、JPEG2000アルゴリズムに従い圧縮符号化処理を行う機能と復号化処理を行う機能とを実現するためのプログラムも格納されており、圧縮符号化手段や復号手段の機能を有する構成とされている。また、ユーザ操作を受付ける入力装置99が画像データを取得するデータ取得手段としても機能する。
【0131】
一般に、この種のPC90では、画像編集ソフトが組み込まれており、取り込んだ画像データに対して縦横比の異なる縦長変倍或いは横長変倍なる編集操作も可能とされている。このような場合、縦横の変倍率の違いにより縦横方向に異方性を有することとなる。即ち、何れの方向の変倍処理も補間法等による電気的な変倍処理となるが、変倍率の大きいほうがエッジなまりの程度も大きくなるので、結果的に、再現される画像品質に縦横で差が出てしまう。
【0132】
そこで、本実施の形態では、画像データの編集処理に対してユーザ操作として縦横の変倍率の異なる変倍処理が指定された場合、縦横の変倍率の違いを要因として画像データについて縦方向と横方向とで異方性を有するものと推定し(異方性判定手段)、電気的変倍処理の影響が大きい方(変倍率の大きい方)がエッジなまりの出やすい方向と推定して、その方向と他の方向とで前述した実施の形態の場合と同様に異なる量子化を施すようにしたものである。
【0133】
これにより、編集操作後の画像データについて縦横で画質差の少ない圧縮符号化が可能となり、ディスプレイ、プリンタ等で再現される画像の高画質化を図ることができる。例えば、縦長拡大変倍の場合であれば、垂直方向の画像データに対する量子化を抑制すればよいこととなる。
【0134】
本発明の第四の実施の形態について説明する。本実施の形態は、画像出力装置に関するものであるが、具体的には、例えば第一の実施の形態で説明したような複写機やプリンタ等を想定している。即ち、画像データを入力する入力手段(スキャナ3)と、この入力手段(スキャナ3)により入力された2次元の画像データを圧縮符号化の対象とする第一の実施の形態の場合と同様な画像処理装置と、この画像処理装置により圧縮符号化された符号データを記憶する記憶装置(MEM48)と、この記憶装置(MEM48)に記憶された符号データを画像データに復号する復号手段と、復号手段により復号された画像データに基づき2次元画像の出力処理を行う出力手段(プリンタ2)と、を備えている。
【0135】
このような複写機1において、元の画像データは正常であっても、例えば現像条件とか転写条件等を要因として、当該複写機やプリンタが、例えば図23に示したように常に縦線が横線よりも太く出てしまう(或いは、逆)癖を持っているケースもあり、出力形態において2次元の画像データについて縦方向と横方向とに異方性を有するといえる。特に、図示例のような格子画像を含む文書画像等の場合には顕著に出てしまうことがある。従って、このような複写機の場合であれば、変倍コピー時だけでなく等倍コピー時であっても縦横方向で画質差を生じてしまうこととなる。
【0136】
そこで、本実施の形態では、入力側だけでなく、このような出力側を要因とする縦方向と横方向とで異方性を有する場合にも、同様に適用することにより適切に対処できるようにしたものである。即ち、本実施の形態の複写機1は、自己の出力手段(プリンタ2)における縦方向と横方向とでの線の太さが異なるという既知の出力特性の違いを要因として画像データについて縦方向と横方向とで既知の異方性を有するものと自己判定している。そして、異方性判定手段は、このような既知の出力特性の違いによりエッジなまりの出やすい方向を判定する。このような判定結果に基づき、本来は縦方向と横方向とで均等な画像データについて、出力手段(プリンタ2)における出力異方性が解消されるように画像データの量子化の段階で前述した実施の形態の場合と同様に縦方向と横方向とで量子化の程度を異ならせて意図的に逆の異方性を持たせて相殺させることにより、出力手段(プリンタ2)で再現される画像の高画質化を図れるようにしたものである。
【0137】
即ち、プリンタ2の印刷出力の特性として縦方向又は横方向の何れかの方向に太線が出やすいような癖を持つ機種の場合に、その癖が相殺されて縦方向と横方向とで画質差のない高画質のコピー画像を得ることができる。より具体的には、太線が出る方向(印刷画像が太くなる方向)の量子化レベルを他方向に対して相対的に高くなる(圧縮率を高くする)ように、量子化レベルをウェーブレット変換の方向によって異ならせるようにすればよい。
【0138】
【発明の効果】
請求項1記載の発明の画像処理装置によれば、縦方向と横方向との異方性を有する画像データに対して、その異方性の要因に基づき2次元ウェーブレット係数に対して同一階層であってもそのサブバンド位置に応じて圧縮率の異なる量子化を行うようにしたので、異方性に起因する画質差を圧縮率の異なる量子化により吸収することができ、再現される画像の高画質化を図ることができる。
【0139】
請求項2記載の発明によれば、請求項1記載の画像処理装置において、異方性の要因によりエッジなまりの出やすい方向の圧縮率、即ち、量子化を相対的に抑制するようにしたので、そのエッジなまりによる画質への影響を軽減でき、再現される画像の高画質化を図ることができ、逆にいえば、エッジなまりの出にくい方向の圧縮率は相対的に大きくしても画質への影響が出にくいので、全体としては効率のよい圧縮符号化を可能にすることができる。
【0140】
請求項3記載の発明によれば、請求項1又は2記載の画像処理装置において、具体的には、異方性の要因によりエッジなまりの出やすい方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルを相対的に抑制するようにしたので、そのエッジなまりによる画質への影響を軽減でき、再現される画像の高画質化を図ることができ、逆にいえば、エッジなまりの出にくい方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルは相対的に大きくしても画質への影響が出にくいので、全体としては効率のよい圧縮符号化を可能にすることができる。
【0141】
請求項4記載の発明によれば、請求項3記載の画像処理装置において、より具体的には、エッジなまりの出やすい方向が、ウェーブレット変換処理の水平方向である場合、サブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルを相対的に抑制するようにしたので、そのエッジなまりによる画質への影響を軽減でき、再現される画像の高画質化を図ることができ、逆にいえば、エッジなまりの出にくい方向に対応するサブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルは相対的に大きくしても画質への影響が出にくいので、全体としては効率のよい圧縮符号化を可能にすることができる。
【0142】
請求項5記載の発明によれば、請求項3記載の画像処理装置において、より具体的には、エッジなまりの出やすい方向が、ウェーブレット変換処理の垂直方向である場合、サブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルを相対的に抑制するようにしたので、そのエッジなまりによる画質への影響を軽減でき、再現される画像の高画質化を図ることができ、逆にいえば、エッジなまりの出にくい方向に対応するサブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルは相対的に大きくしても画質への影響が出にくいので、全体としては効率のよい圧縮符号化を可能にすることができる。
【0143】
請求項6記載の発明によれば、請求項2ないし5の何れか一記載の画像処理装置において、異方性の要因の程度によってエッジなまりの程度も異なるので、異方性の要因の程度に応じてエッジなまりの出やすい方向の圧縮率の程度を異ならせるようにしたので、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0144】
請求項7記載の発明によれば、請求項6記載の画像処理装置において、異方性の要因の程度によってエッジなまりの程度も異なるので、異方性の要因の程度に応じてエッジなまりの出やすい方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルの程度を異ならせるようにしたので、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0145】
請求項8記載の発明によれば、請求項7記載の画像処理装置において、異方性の要因の程度によってエッジなまりの程度も異なるので、より具体的には、エッジなまりの出やすい方向が、ウェーブレット変換処理の水平方向である場合、サブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルを異ならせるようにしたので、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0146】
請求項9記載の発明によれば、請求項7記載の画像処理装置において、異方性の要因の程度によってエッジなまりの程度も異なるので、より具体的には、エッジなまりの出やすい方向が、ウェーブレット変換処理の垂直方向である場合、サブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルを異ならせるようにしたので、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0147】
請求項10記載の発明によれば、請求項7ないし9の何れか一記載の画像処理装置において、細線はより高域の階層のウェーブレット係数として現れるので、サブバンドの階層によってもエッジなまりによる画質の影響の度合いが異なるので、サブバンドの階層に応じてウェーブレット係数に割り当てる量子化レベルを異ならせるようにしたので、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0148】
請求項11記載の発明によれば、請求項1ないし10の何れか一記載の画像処理装置を備えることにより、主走査方向と副走査方向との変倍処理の違いを要因として画像データについて縦方向と横方向とで既知の異方性を有し、主走査方向がエッジなまりの出やすい方向と判定される画像読取装置について、変倍処理後の画像データについて縦横で画質差の少ない圧縮符号化が可能となり、プリンタ等で再現される画像の高画質化を図ることができる。
【0149】
請求項12記載の発明によれば、請求項11記載の画像読取装置において、具体的には、異方性の要因によりエッジなまりの出やすい主走査方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルを相対的に抑制するようにしたので、そのエッジなまりによる画質への影響を軽減でき、再現される画像の高画質化を図ることができ、逆にいえば、エッジなまりの出にくい副走査方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルは相対的に大きくしても画質への影響が出にくいので、全体としては効率のよい圧縮符号化を可能にすることができる。
【0150】
請求項13記載の発明によれば、請求項12記載の画像読取装置において、より具体的には、エッジなまりの出やすい主走査方向が、ウェーブレット変換処理の水平方向である場合、サブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルを相対的に抑制するようにしたので、そのエッジなまりによる画質への影響を軽減でき、再現される画像の高画質化を図ることができ、逆にいえば、エッジなまりの出にくい副走査方向に対応するサブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルは相対的に大きくしても画質への影響が出にくいので、全体としては効率のよい圧縮符号化を可能にすることができる。
【0151】
請求項14記載の発明によれば、請求項12記載の画像読取装置において、より具体的には、エッジなまりの出やすい主走査方向が、ウェーブレット変換処理の垂直方向である場合、サブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルを相対的に抑制するようにしたので、そのエッジなまりによる画質への影響を軽減でき、再現される画像の高画質化を図ることができ、逆にいえば、エッジなまりの出にくい副走査方向に対応するサブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルは相対的に大きくしても画質への影響が出にくいので、全体としては効率のよい圧縮符号化を可能にすることができる。
【0152】
請求項15記載の発明によれば、請求項11ないし14の何れか一記載の画像読取装置において、縮小変倍の場合も電気的変倍処理を行う主走査方向にエッジなまりが生ずることがあるものの、一般には、拡大変倍時よりもその程度が低いことが多いので、拡大変倍時よりも量子化レベルを低くするようにしたので、適正に対処することができる。
【0153】
請求項16記載の発明によれば、請求項11ないし15の何れか一記載の画像読取装置において、異方性の要因となる主走査方向の変倍率によってエッジなまりの程度も異なり、変倍率が大きくなればエッジなまりの程度も大きくなるので、その変倍率に応じてエッジなまりの出やすい方向の圧縮率の程度を異ならせるようにしたので、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0154】
請求項17記載の発明によれば、請求項16記載の画像読取装置において、異方性の要因となる主走査方向の変倍率によってエッジなまりの程度も異なり、変倍率が大きくなればエッジなまりの程度も大きくなるので、変倍率に応じてエッジなまりの出やすい方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルの程度を異ならせるようにしたので、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0155】
請求項18記載の発明によれば、請求項17記載の画像読取装置において、異方性の要因となる主走査方向の変倍率によってエッジなまりの程度も異なり、変倍率が大きくなればエッジなまりの程度も大きくなるので、より具体的には、エッジなまりの出やすい方向が、ウェーブレット変換処理の水平方向である場合、サブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルを異ならせるようにしたので、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0156】
請求項19記載の発明によれば、請求項17記載の画像読取装置において、異方性の要因となる主走査方向の変倍率によってエッジなまりの程度も異なり、変倍率が大きくなればエッジなまりの程度も大きくなるので、より具体的には、エッジなまりの出やすい方向が、ウェーブレット変換処理の垂直方向である場合、サブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルを異ならせるようにしたので、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0157】
請求項20記載の発明によれば、請求項17ないし19の何れか一記載の画像読取装置において、細線はより高域の階層のウェーブレット係数として現れるので、サブバンドの階層によってもエッジなまりによる画質の影響の度合いが異なるので、サブバンドの階層に応じてウェーブレット係数に割り当てる量子化レベルを異ならせるようにしたので、そのエッジなまりによる画質への影響を、より軽減させることができる。
【0158】
請求項21記載の発明の画像形成装置によれば、請求項11ないし20の何れか一記載の画像読取装置を備えるので、変倍処理後の画像データについて縦横で画質差の少ない圧縮符号化が可能となり、プリンタエンジンで再現される画像の高画質化を図ることができる。
【0159】
請求項22記載の発明によれば、請求項1ないし10の何れか一記載の画像処理装置を備えるので、インターレース方式のラスタースキャニングを要因として画像データについて縦方向と横方向とで既知の異方性を有し、ラスタースキャニング方向となる水平査方向がエッジなまりの出やすい方向と判定されるテレビジョンカメラについて、撮像後の画像データについて縦横で画質差の少ない圧縮符号化が可能となり、テレビジョン等で再現される画像の高画質化を図ることができる。
【0160】
請求項23記載の発明によれば、請求項1ないし10の何れか一記載の画像処理装置を備えるので、出力手段における縦方向と横方向とでの既知の出力特性の違いを要因として画像データについて縦方向と横方向とで既知の異方性を有し、既知の出力特性の違いによりエッジなまりの出やすい方向と判定される画像出力装置について、出力手段における異方性が解消されるように画像データの量子化の段階で逆の異方性を持たせて相殺させることにより、出力手段で再現される画像の高画質化を図ることができる。
【0161】
請求項24記載の発明によれば、請求項22記載の画像出力装置が複写機であって、印刷出力の特性として縦方向又は横方向の何れかの方向に太線が出やすいような癖を持つ機種の場合に、その癖が相殺されて縦方向と横方向とで画質差のない高画質のコピー画像を得ることができる。
【0162】
請求項25記載の発明によれば、請求項1ないし10の何れか一記載の画像処理装置を備えることにより、編集処理に対するユーザ操作の指定内容を要因として画像データについて縦方向と横方向とで異方性を有すると判定されるパソコン等の情報処理装置について、編集操作後の画像データについて縦横で画質差の少ない圧縮符号化が可能となり、ディスプレイ、プリンタ等で再現される画像の高画質化を図ることができる。
【0163】
請求項26記載の発明のプログラムによれば、請求項1ないし10の何れか一記載の発明と同様な効果を奏することができる。
【0164】
請求項27記載の発明のコンピュータに読取り可能な記憶媒体によれば、請求項26記載の発明と同様な効果を奏することができる。
【図面の簡単な説明】
【図1】本発明の第一の実施の形態の前提となるJPEG2000方式の基本となるアルゴリズムを実現するシステムの機能ブロック図である。
【図2】原画像の各コンポーネントの分割された矩形領域を示す説明図である。
【図3】デコンポジションレベル数が3の場合の、各デコンポジションレベルにおけるサブバンドを示す説明図である。
【図4】プレシンクトを示す説明図である。
【図5】ビットプレーンに順位付けする手順の一例を示す説明図である。である。
【図6】符号化された画像データのコードストリームを例示する模式図である。
【図7】本実施の形態が適用されるデジタルフルカラー複写機の概略構成図である。
【図8】その電気的な接続を示すブロック図である。
【図9】そのうちのIPPの構成例を示すブロック図である。
【図10】そのうちのIMACの構成例を示すブロック図である。
【図11】主走査方向と副走査方向との変倍処理の違いを模式的に示す説明図である。
【図12】ウェーブレット変換処理による各サブバンドの特徴を模式的に示す説明図である。
【図13】サブバンドの階層構造と主走査方向/副走査方向との関係を示す説明図である。
【図14】量子化レベルの割り当てテーブル例を示す説明図である。
【図15】変倍コピー動作の制御例を示す概略フローチャートである。
【図16】縮小変倍時の量子化レベルの割り当てテーブル例を示す説明図である。
【図17】ビットプレーンのトランケートによる量子化レベルの割り当てテーブル例を示す説明図である。
【図18】本発明の第二の実施の形態のテレビジョンカメラのハードウェア構成例を示す概略ブロック図である。
【図19】本発明の第三の実施の形態のPCのハードウェア構成例を示す概略ブロック図である。
【図20】主走査方向と副走査方向との変倍処理の違いを模式的に示す説明図である。
【図21】変倍処理の違いによるエッジなまりについての説明図である。
【図22】エッジなまりの影響を受けた印刷出力例を示す説明図である。
【図23】プリンタが有する癖による印刷出力例を示す説明図である。
【符号の説明】
2   プリンタ、出力手段
3   スキャナ、入力手段
26   露光手段
28   副走査手段
33   光電変換素子
48   記憶装置
81   画像入力装置
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image processing device that handles various types of image data, an image reading device, an image forming device, a television camera, an image output device, an information processing device, a program, and a storage medium.
[0002]
[Prior art]
In recent years, with the progress of image input / output technology, demands for higher definition of images have been increasing. As an example of an image input device, taking a digital camera as an example, the price of a high-performance charge-coupled device having more than 3 million pixels has been reduced, and it has been widely used in products in a popular price range. I have. In the technical field of image output devices and image display devices, high definition and low cost in hard copy fields such as laser printers and ink jet printers are remarkable. The field of an image forming apparatus such as a multifunction peripheral (MFP) is no exception.
[0003]
With the effect of bringing high-performance, low-cost image input / output products to the market, the popularization of high-definition images has begun, and in the future, demand for high-definition images is expected to increase in all situations.
[0004]
Against the background of the above, the demand for compression / decompression technology that can easily handle high-definition images will inevitably increase in the future. Therefore, as one of the image compression techniques satisfying such a demand, conventionally, JPEG2000, which can process a high-definition image by dividing it into small units and can decode a high-quality image even at a high compression ratio, is known. There is technology.
[0005]
Accordingly, high-definition image compression / decompression technology such as JPEG2000 is also installed in image forming apparatuses such as copiers and multifunction peripherals to save memory and the like. After that, the code data is decompressed in the reverse procedure and output to the printer as image data, whereby the copy printing operation tends to be executed.
[0006]
By the way, many copiers and multifunction peripherals have an enlargement / reduction scaling function as one of the functions. In general, the scaling process is performed by an electrical scaling process such as a well-known cubic convolution interpolation method in the main scanning direction, and the moving speed of the sub-scanning means (scanner carriage) is changed in the sub-scanning direction. It is performed by a variable magnification process.
[0007]
For example, with reference to FIG. 20, an example of a case in which the image is enlarged twice vertically and horizontally will be described. Assuming that the main scanning direction and the sub-scanning direction for the document D are set as shown in FIG. By changing the moving speed of the carriage according to the scaling factor of 2 (1/2 the speed at the same magnification) and reading the original D by the scanner, as shown in FIG. (2 times) is mechanically performed. The image data read by the scanner in response to the sub-scanning scaling process is subjected to an electrical scaling process in the main scanning direction by a cubic convolution interpolation method. As shown in ()), the magnification (2 times) in the main scanning direction is electrically performed, and as a result, image data enlarged to 2 times vertically and horizontally is obtained.
[0008]
The image data that has been subjected to the scaling process in this manner is compressed and encoded once in accordance with the JPEG2000 algorithm or the like, and stored in a memory as code data. Then, the code data is decompressed in the reverse procedure and output to the printer as image data. By doing so, a copy printing operation is executed.
[0009]
[Problems to be solved by the invention]
However, the electrical interpolation method used for scaling in the main scanning direction, even with the cubic convolution interpolation method, which is said to be the most accurate, has a sharper edge than the highly accurate mechanical scaling processing. There is a problem that comes out. That is, as described above, two-dimensional image data having different scaling processes in the vertical and horizontal directions can be said to have anisotropy in the vertical and horizontal directions.
[0010]
For example, consider the case where a rectangular pulse-shaped image as shown in FIG. 21 is read. When the original image is subjected to sub-scanning and main scanning at each sampling point S1, S2,... Indicated by a circle at the same magnification, and the image data is acquired at the corresponding point on the image, for example, at the time of double magnification, Since the sampling speed in the sub-scanning direction is halved, the original image is also read at a point indicated by a cross mark between the sampling points S1, S2,. The data is both data indicated by a mark and a mark. Therefore, when the state of the image data is reproduced, a high-precision data state without edge rounding is obtained as shown by a solid line in FIG. On the other hand, the sampling points in the main scanning direction remain at the sampling points S1, S2,... Shown by the circles, and the image data shown by the circles are supplemented by an electrical interpolation method. As shown by the broken line in FIG.
[0011]
Image data that has undergone such scaling processing is coded through compression coding processing as described above, but during the quantization process in the middle thereof, the same quantization threshold as in the case of equal magnification is used. The quantization is performed using the level, and as can be seen from FIG. 21B, the image data in the main scanning direction that causes edge rounding tends to be thin depending on the threshold level of the quantization. As a result, when the code data is decoded and expanded by image data expanded, the image in the main scanning direction is easily blurred as shown in FIG. 22 (the horizontal line of the grid image in the illustrated example is thin or thin). This causes a difference in image quality between the image and the image in the sub-scanning direction without edge rounding.
[0012]
Although the above description has been given of the processing example at the time of enlargement / magnification during the magnification / reduction processing, the electric magnification / reduction processing is performed at the time of reduction / enlargement, although the degree is often lower than at the time of enlargement / magnification. The edges of the image data in the main scanning direction may become dull.
[0013]
Such a situation (anisotropic in the vertical and horizontal directions for two-dimensional image data) is caused not only by the fact that the magnification process differs in the vertical and horizontal directions in a copying machine or the like, but also in various cases. There is.
[0014]
For example, even in an information processing apparatus such as a personal computer, in the case where an editing operation with a different vertical / horizontal ratio or a different horizontal / horizontal magnification is performed on captured image data, anisotropy due to a difference in vertical / horizontal magnification is required. Will be provided. In this case, the scaling process in any direction is an electrical scaling process, but the larger the scaling ratio, the greater the degree of edge rounding, resulting in a difference in the reproduced image quality in the vertical and horizontal directions. Would.
[0015]
Also, in a copying machine or a printer, even if the original image data is normal, the copying machine or the printer always has vertical lines as shown in FIG. 23 due to, for example, development conditions and transfer conditions. In some cases, the image data has a tendency to appear thicker (or opposite) than the horizontal line, and it can be said that the image data has anisotropy in the vertical and horizontal directions in the output form. In particular, in the case of a document image including a lattice image as shown in the illustrated example, it may appear remarkably. Therefore, in the case of such a copying machine, a difference in image quality occurs in the vertical and horizontal directions not only at the time of the variable-size copy but also at the time of the same-size copy.
[0016]
Further, even in a television camera which reads an image of an object to be imaged by performing two-dimensional raster scanning by an interlace method using an image sensor, image data is vertically (horizontally) and horizontally (horizontally) due to interlaced raster scanning. And the aspect ratio between the horizontal direction and the vertical direction is 4: 3 or 16: 9, so that the horizontal direction, which is the raster scanning direction, is a direction in which edge rounding is likely to occur. It can be said that.
[0017]
SUMMARY OF THE INVENTION It is an object of the present invention to improve the quality of a reproduced image when compressing and encoding image data having anisotropy in both the vertical and horizontal directions, such as in the case where scaling processing is different in vertical and horizontal directions. .
[0018]
[Means for Solving the Problems]
According to the first aspect of the present invention, there is provided an image processing apparatus for compressing and encoding image data in a sequence of conversion, quantization, and encoding into two-dimensional wavelet coefficients. Anisotropy determining means for determining the presence or absence of anisotropy in the vertical direction and the horizontal direction; and anisotropy factors for image data determined to have anisotropy by the anisotropy determining means. Quantizing means for performing quantization with different compression ratios on the two-dimensional wavelet coefficients in accordance with the sub-band positions in the same layer based on the two-dimensional wavelet coefficients.
[0019]
Therefore, for image data having anisotropy in the vertical direction and the horizontal direction, the compression ratio is determined in accordance with the subband position even in the same layer with respect to the two-dimensional wavelet coefficient based on the anisotropy factor. , The image quality difference caused by the anisotropy can be absorbed by the quantization having different compression rates, and the quality of the reproduced image can be improved.
[0020]
According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the quantizing means sets a compression ratio in a direction in which edge rounding is likely to occur due to the determined anisotropy factor to a compression ratio in another direction. Quantizations with different compression ratios are performed so as to relatively suppress each other.
[0021]
Therefore, by relatively suppressing the compression ratio in the direction in which edge rounding is likely to occur due to the anisotropy factor, that is, by relatively suppressing quantization, it is possible to reduce the influence on the image quality due to the edge rounding, and to achieve high image quality of the reproduced image. Can be achieved. Conversely, even if the compression ratio in the direction in which edge rounding is less likely to occur is relatively large, the image quality is hardly affected, so that efficient compression encoding can be performed as a whole.
[0022]
According to a third aspect of the present invention, in the image processing apparatus according to the first or second aspect, the quantizing means determines a direction of a wavelet transform process corresponding to a direction in which edge rounding is likely to occur due to the determined anisotropy factor. By setting the quantization level assigned to the located wavelet coefficient relatively lower than the quantization level assigned to the wavelet coefficient located in the other direction of the wavelet transform processing, quantization having different compression rates is performed.
[0023]
Therefore, specifically, by relatively suppressing the quantization level assigned to the wavelet coefficient located in the direction of the wavelet transform processing corresponding to the direction in which edge rounding is likely to occur due to anisotropic factors, the edge rounding is suppressed. The influence on the image quality can be reduced, and the quality of the reproduced image can be improved. Conversely, if the quantization level assigned to the wavelet coefficient located in the direction of the wavelet transform processing corresponding to the direction in which edge rounding is less likely to occur is relatively small, it does not affect the image quality even if it is relatively large. Compression encoding is possible.
[0024]
According to a fourth aspect of the present invention, in the image processing apparatus according to the third aspect, when the direction in which edge rounding is likely to occur is a horizontal direction of wavelet transform processing, the quantization means is located in a subband LH system hierarchy. The quantization level assigned to the wavelet coefficient to be assigned is relatively lower than the quantization level assigned to the wavelet coefficient located in the subband HL system hierarchy.
[0025]
Therefore, more specifically, when the direction in which edge rounding is likely to occur is the horizontal direction of the wavelet transform process, the quantization level assigned to the wavelet coefficient located in the subband LH system hierarchy is relatively suppressed. In addition, the influence on the image quality due to the edge rounding can be reduced, and the quality of the reproduced image can be improved. Conversely, if the quantization level assigned to the wavelet coefficient located in the subband HL system hierarchy corresponding to the direction in which edge rounding is less likely to occur is relatively small, it does not easily affect the image quality. Efficient compression encoding is possible.
[0026]
According to a fifth aspect of the present invention, in the image processing apparatus according to the third aspect, when the direction in which edge rounding is likely to occur is a vertical direction of a wavelet transform process, the quantization unit is located in a subband HL system hierarchy. The quantization level assigned to the wavelet coefficient to be assigned is relatively lower than the quantization level assigned to the wavelet coefficient located in the subband HL system hierarchy.
[0027]
Therefore, more specifically, when the direction in which edge rounding is likely to occur is the vertical direction of the wavelet transform process, the quantization level assigned to the wavelet coefficient located in the subband HL hierarchy is relatively suppressed. In addition, the influence on the image quality due to the edge rounding can be reduced, and the quality of the reproduced image can be improved. Conversely, if the quantization level assigned to the wavelet coefficient located in the subband LH system layer corresponding to the direction in which edge rounding is less likely to occur does not affect the image quality even if the quantization level is relatively large, the overall effect is low. Efficient compression encoding is possible.
[0028]
According to a sixth aspect of the present invention, in the image processing apparatus according to any one of the second to fifth aspects, the anisotropy determining unit determines a degree of an anisotropic factor, and the quantizing unit determines The degree of compression ratio in the direction in which edge rounding is likely to occur varies according to the degree of the anisotropy factor.
[0029]
Therefore, the degree of edge rounding varies depending on the degree of the anisotropy factor. Therefore, by changing the degree of compression ratio in the direction in which edge rounding is likely to occur according to the degree of the anisotropy factor, the image quality due to the edge rounding is improved. Impact on the vehicle can be further reduced.
[0030]
According to a seventh aspect of the present invention, in the image processing apparatus according to the sixth aspect, the quantization means performs a wavelet transform process corresponding to a direction in which edge rounding is likely to occur according to the degree of the determined anisotropy factor. The quantization levels assigned to the wavelet coefficients located in the directions are made different.
[0031]
Therefore, the degree of edge rounding differs depending on the degree of the anisotropy factor. Therefore, the quantum assigned to the wavelet coefficient located in the direction of the wavelet transform processing corresponding to the direction in which edge rounding is likely to occur according to the degree of the anisotropy factor. By changing the level of the conversion level, the influence on the image quality due to the rounded edge can be further reduced.
[0032]
According to an eighth aspect of the present invention, in the image processing apparatus of the seventh aspect, the quantizing means determines that the factor of the determined anisotropy is such that a direction in which edge rounding is likely to occur is a horizontal direction of wavelet transform processing. The quantization levels assigned to the wavelet coefficients located in the sub-band LH system hierarchy are made different according to the degree of.
[0033]
Therefore, the degree of edge rounding differs depending on the degree of the anisotropy factor. More specifically, when the direction in which edge rounding is likely to occur is the horizontal direction of the wavelet transform processing, it is located in the subband LH system hierarchy. By making the quantization levels assigned to the wavelet coefficients different from each other, the influence on the image quality due to the edge rounding can be further reduced.
[0034]
According to a ninth aspect of the present invention, in the image processing apparatus according to the seventh aspect, the quantizing means determines the factor of the determined anisotropy when the direction in which edge rounding is likely to occur is a vertical direction of the wavelet transform processing. The quantization levels assigned to the wavelet coefficients located in the subband HL system hierarchy are made different according to the degree of.
[0035]
Therefore, the degree of edge rounding varies depending on the degree of the anisotropy factor. More specifically, if the direction in which edge rounding is likely to occur is the vertical direction of the wavelet transform processing, the edge is positioned in the subband HL hierarchy. By making the quantization levels assigned to the wavelet coefficients different from each other, the influence on the image quality due to the edge rounding can be further reduced.
[0036]
According to a tenth aspect of the present invention, in the image processing apparatus according to any one of the seventh to ninth aspects, the quantization means changes a quantization level assigned to a wavelet coefficient according to a subband hierarchy.
[0037]
Therefore, since the thin line appears as a wavelet coefficient of a higher band hierarchy, the degree of the effect of image quality due to edge rounding differs depending on the subband hierarchy, so that the quantization level assigned to the wavelet coefficient differs depending on the subband hierarchy. By doing so, the influence on the image quality due to the edge rounding can be further reduced.
[0038]
The invention according to claim 11 is an exposure unit that exposes a document, a sub-scanning unit that relatively moves the document and the exposure unit in a sub-scanning direction, and a scanning unit that exposes and scans the document in the sub-scanning direction. A photoelectric conversion element that receives the reflected light, converts the image, and reads the image, and performs magnification in the main scanning direction of the image data read by the photoelectric conversion element by electrical scaling processing, 11. An image reading apparatus having a scaling function for performing scaling by a mechanical scaling process of the sub-scanning means, wherein two-dimensional image data after the scaling process is subjected to compression encoding. The image processing apparatus according to any one of the above, and a storage device that stores code data compression-encoded by the image processing apparatus, the anisotropy determination unit provided in the image processing apparatus, the main scanning direction And sub-scanning method It has known anisotropic in the vertical direction and the horizontal direction of the difference of the magnification processing on the image data as a factor in the main scanning direction is determined and prone direction of the edge rounding.
[0039]
Therefore, by providing the image processing device according to any one of claims 1 to 10, the image data is known in the vertical direction and the horizontal direction due to the difference in the scaling process between the main scanning direction and the sub-scanning direction. For an image reading device having anisotropy and in which the main scanning direction is determined to be a direction in which edge rounding is likely to occur, compression encoding of image data after scaling processing with small vertical and horizontal image quality differences can be performed. The quality of the reproduced image can be improved.
[0040]
According to a twelfth aspect of the present invention, in the image reading apparatus according to the eleventh aspect, the quantization means assigns a quantization level to be assigned to a wavelet coefficient located in a direction of the wavelet transform corresponding to the main scanning direction. Quantization with a different compression ratio is performed by making the quantization level relatively lower than the quantization level assigned to the wavelet coefficient located in the other direction.
[0041]
Therefore, specifically, the quantization level assigned to the wavelet coefficient located in the direction of the wavelet transform processing corresponding to the main scanning direction in which edge rounding is likely to occur due to the anisotropy factor is relatively suppressed, so that the edge The effect on image quality due to rounding can be reduced, and the quality of reproduced images can be improved. Conversely, if the quantization level assigned to the wavelet coefficient located in the direction of the wavelet transform processing corresponding to the sub-scanning direction in which edge rounding is less likely to occur is relatively small, the image quality is hardly affected even if it is relatively large. Enables efficient compression encoding.
[0042]
According to a thirteenth aspect of the present invention, in the image reading device according to the twelfth aspect, when the main scanning direction is the horizontal direction of the wavelet transform processing, the quantization means may include a wavelet coefficient located in a subband LH system hierarchy. Is relatively lower than the quantization level assigned to the wavelet coefficients located in the subband HL hierarchy.
[0043]
Therefore, more specifically, when the main scanning direction in which edge rounding is likely to occur is the horizontal direction of the wavelet transform processing, the quantization level assigned to the wavelet coefficients located in the subband LH system hierarchy is relatively suppressed. As a result, the influence of the edge rounding on the image quality can be reduced, and the quality of the reproduced image can be improved. Conversely, if the quantization level assigned to the wavelet coefficient located in the subband HL hierarchy corresponding to the sub-scanning direction in which edge rounding is less likely to occur, the image quality is hardly affected even if the quantization level is relatively large. As a result, efficient compression encoding becomes possible.
[0044]
According to a fourteenth aspect of the present invention, in the image reading apparatus according to the twelfth aspect, when the main scanning direction is a vertical direction of the wavelet transform processing, the quantization means may include a wavelet coefficient located in a subband HL hierarchy. Is relatively lower than the quantization level assigned to the wavelet coefficients located in the subband HL hierarchy.
[0045]
Therefore, more specifically, when the main scanning direction in which edge rounding is likely to occur is the vertical direction of the wavelet transform processing, the quantization level assigned to the wavelet coefficients located in the subband HL system hierarchy is relatively suppressed. As a result, the influence of the edge rounding on the image quality can be reduced, and the quality of the reproduced image can be improved. Conversely, if the quantization level assigned to the wavelet coefficient located in the sub-band LH layer corresponding to the sub-scanning direction in which edge rounding is less likely to occur, the image quality is hardly affected even if the quantization level is relatively large. As a result, efficient compression encoding becomes possible.
[0046]
According to a fifteenth aspect of the present invention, in the image reading apparatus according to any one of the eleventh to fourteenth aspects, the quantizing unit is configured such that, when the magnification in the main scanning direction is a reduction / magnification, it is larger than when the magnification / magnification is used. Also, the quantization level assigned to the wavelet coefficient located in the direction of the wavelet transform processing corresponding to the main scanning direction is increased.
[0047]
Therefore, even in the case of the reduction / magnification, the edge may be rounded in the main scanning direction in which the electric magnification processing is performed. However, in general, the degree thereof is often lower than that in the magnification / magnification. By setting the quantization level higher than that, it is possible to appropriately cope with the problem.
[0048]
According to a sixteenth aspect of the present invention, in the image reading apparatus according to any one of the eleventh to fifteenth aspects, the anisotropy determining unit determines a designated magnification in the main scanning direction as a factor of the anisotropy. Then, the quantizing means changes the degree of compression in the main scanning direction in accordance with the magnification in the main scanning direction.
[0049]
Therefore, the degree of edge rounding differs depending on the magnification in the main scanning direction, which is a factor of anisotropy, and the degree of edge rounding increases as the magnification increases. By varying the degree of compression ratio, the influence on the image quality due to the edge rounding can be further reduced.
[0050]
According to a seventeenth aspect of the present invention, in the image reading apparatus according to the sixteenth aspect, the quantizing means converts the wavelet coefficient located in the direction of the wavelet transform processing corresponding to the main scanning direction in accordance with the magnification in the main scanning direction. Different quantization levels are assigned.
[0051]
Therefore, the degree of edge rounding varies depending on the magnification in the main scanning direction that causes anisotropy, and the degree of edge rounding increases as the magnification increases, so that edge rounding tends to occur depending on the magnification. By changing the degree of the quantization level assigned to the wavelet coefficient located in the direction of the corresponding wavelet transform processing, the influence on the image quality due to the rounded edge can be further reduced.
[0052]
According to an eighteenth aspect of the present invention, in the image reading apparatus according to the seventeenth aspect, when the main scanning direction is the horizontal direction of the wavelet transform processing, the quantization unit may determine the subband LH according to the magnification in the main scanning direction. Different quantization levels are assigned to the wavelet coefficients located in the system hierarchy.
[0053]
Therefore, the degree of edge rounding varies depending on the magnification in the main scanning direction which causes anisotropy. The degree of edge rounding increases as the magnification increases, and more specifically, the direction in which edge rounding is likely to occur. Is in the horizontal direction of the wavelet transform processing, by changing the quantization levels assigned to the wavelet coefficients located in the subband LH system hierarchy, the influence on the image quality due to the edge rounding can be further reduced. .
[0054]
According to a nineteenth aspect of the present invention, in the image reading device according to the seventeenth aspect, when the main scanning direction is the vertical direction of the wavelet transform processing, the quantization means may control the sub-band HL according to the magnification in the main scanning direction. Different quantization levels are assigned to the wavelet coefficients located in the system hierarchy.
[0055]
Therefore, the degree of edge rounding varies depending on the magnification in the main scanning direction which causes anisotropy. The degree of edge rounding increases as the magnification increases, and more specifically, the direction in which edge rounding is likely to occur. Is in the vertical direction of the wavelet transform processing, by changing the quantization level assigned to the wavelet coefficients located in the subband HL system hierarchy, the influence on the image quality due to the edge rounding can be further reduced. .
[0056]
According to a twentieth aspect of the present invention, in the image reading apparatus according to any one of the seventeenth to nineteenth aspects, the quantization means varies a quantization level to be assigned to a wavelet coefficient according to a subband hierarchy.
[0057]
Therefore, since the thin line appears as a wavelet coefficient of a higher band hierarchy, the degree of the effect of image quality due to edge rounding differs depending on the subband hierarchy, so that the quantization level assigned to the wavelet coefficient differs depending on the subband hierarchy. By doing so, the influence on the image quality due to the edge rounding can be further reduced.
[0058]
According to a twenty-first aspect of the present invention, there is provided an image forming apparatus, comprising: an image reading device according to any one of the eleventh to twentieth aspects; and decoding means for decoding code data read by the image reading device and subjected to image processing by the image processing device. A printer engine for forming an image on a sheet based on the image data decompressed by the printer engine.
[0059]
Therefore, by providing the image reading device according to any one of claims 11 to 20, it is possible to perform compression encoding on image data after scaling processing with a small difference in image quality in the vertical and horizontal directions, and to perform image encoding of an image reproduced by the printer engine. High image quality can be achieved.
[0060]
According to a twenty-second aspect of the present invention, in a television camera which reads an object to be imaged in a two-dimensional manner by an image sensor in a two-dimensional raster scanning manner, two-dimensional image data taken is to be subjected to compression encoding. 10. The image processing apparatus according to claim 10, further comprising: a storage device configured to store code data compression-encoded by the image processing device. Due to the raster scanning of the system, the image data has a known anisotropy in the vertical and horizontal directions, and the horizontal direction, which is the raster scanning direction, is determined as the direction in which edge rounding is likely to occur.
[0061]
Therefore, by providing the image processing apparatus according to any one of claims 1 to 10, the image data has a known anisotropy in the vertical direction and the horizontal direction due to the interlaced raster scanning, and the raster scanning is performed. For a television camera in which the horizontal scanning direction is determined to be a direction in which edge rounding is likely to occur, compression encoding with small vertical and horizontal image quality differences becomes possible for image data after image capturing, and an image reproduced on a television or the like can be encoded. High image quality can be achieved.
[0062]
According to a twenty-third aspect of the present invention, there is provided an image processing apparatus as set forth in any one of the first to tenth aspects, wherein input means for inputting image data, and two-dimensional image data input by the input means are subjected to compression encoding. Device, a storage device for storing code data compressed and encoded by the image processing device, decoding means for decoding the code data stored in the storage device into image data, and a known device in the vertical direction and the horizontal direction. And output means for performing a two-dimensional image output process based on the image data decoded by the decoding means, wherein the anisotropy determination means provided in the image processing apparatus, The image data has a known anisotropy in the vertical direction and the horizontal direction due to a difference in the known output characteristics between the vertical direction and the horizontal direction in the output unit. Judges prone direction of Ri.
[0063]
Therefore, by providing the image processing device according to any one of claims 1 to 10, the image data is output in the vertical direction and the horizontal direction due to a difference in known output characteristics between the vertical direction and the horizontal direction in the output unit. In an image output device having a known anisotropy in an output direction determined as a direction in which edge rounding is likely to occur due to a difference in a known output characteristic, quantization of image data is performed so that anisotropy in an output unit is eliminated. By giving the opposite anisotropy at each stage and canceling each other, it is possible to improve the image quality of the image reproduced by the output unit.
[0064]
According to a twenty-fourth aspect of the present invention, in the image output device according to the twenty-second aspect, the input means is a scanner, the output means is a printer, and the difference between the known output characteristics in the vertical direction and the horizontal direction is printed. This is the difference in the direction in which the thick line / thin line appears on the image.
[0065]
Therefore, in the case where the image output apparatus according to claim 22 is a copying machine, and the model has a characteristic that printout characteristics are likely to produce a thick line in either the vertical direction or the horizontal direction, the characteristic is It is possible to obtain a high-quality copy image that is canceled out and has no difference in image quality between the vertical direction and the horizontal direction.
[0066]
According to a twenty-fifth aspect of the present invention, the data acquisition means for acquiring image data, and the two-dimensional image data acquired by the data acquisition means is subjected to a compression encoding in accordance with a user operation. An image processing device according to any one of the above, a storage device that stores code data that has been compression-encoded by the image processing device, and a decoding unit that decodes the code data stored in the storage device into image data. And the anisotropy determination means included in the image processing apparatus estimates that the image data has anisotropy in the vertical direction and the horizontal direction due to a specification of a user operation for editing processing.
[0067]
Therefore, by providing the image processing apparatus according to any one of claims 1 to 10, it is estimated that the image data has anisotropy in the vertical direction and the horizontal direction due to the specified content of the user operation for the editing process. With respect to an information processing device such as a personal computer, it is possible to perform compression encoding on image data after an editing operation with a small difference in image quality in the vertical and horizontal directions, thereby improving the image quality of an image reproduced by a display, a printer, or the like.
[0068]
A program according to a twenty-sixth aspect causes a computer of the image processing apparatus to execute the function of each unit in the image processing apparatus according to any one of the first to tenth aspects.
[0069]
Therefore, the same operation as the invention according to any one of claims 1 to 10 is achieved.
[0070]
A computer-readable storage medium according to a twenty-seventh aspect stores the program according to the twenty-sixth aspect.
[0071]
Accordingly, an effect similar to that of the twenty-second aspect is obtained.
[0072]
BEST MODE FOR CARRYING OUT THE INVENTION
A first embodiment of the present invention will be described with reference to FIGS.
[0073]
[Outline of JPEG2000]
First, JPEG2000 will be briefly described.
[0074]
FIG. 1 is a functional block diagram for explaining the basics of the JPEG2000 algorithm. As shown in FIG. 1, the JPEG2000 algorithm includes a color space transform / inverse transform unit 101, a two-dimensional wavelet transform / inverse transform unit 102, a quantization / inverse quantize unit 103, an entropy encoding / decode unit 104, a tag process It is configured by the unit 105. Hereinafter, each unit will be described.
[0075]
The color space transform / inverse transform unit 101 and the two-dimensional wavelet transform / inverse transform unit 102 will be described with reference to FIGS.
[0076]
FIG. 2 is a schematic diagram illustrating an example of each of the divided components of an original image that is a color image. In a color image, as shown in FIG. 2, components R, G, and B (111) of the original image are generally separated by, for example, an RGB primary color system. Then, the components R, G, and B of the original image are further divided by the tiles 112, which are rectangular regions. Each tile 112, for example, R00, R01, ..., R15 / G00, G01, ..., G15 / B00, B01, ..., B15 constitutes a basic unit when executing the compression / decompression process. Therefore, the compression / expansion operation is performed independently for each of the components R, G, B (111) and for each tile 112.
[0077]
Here, at the time of encoding the image data, the data of each tile 112 is input to the color space conversion / inverse conversion unit 101 shown in FIG. At 102, a two-dimensional wavelet transform (forward transform) is applied and spatially divided into frequency bands.
[0078]
FIG. 3 is a schematic diagram showing subbands at each decomposition level when the number of decomposition levels is three. The two-dimensional wavelet transform / inverse transform unit 102 performs a two-dimensional wavelet transform on the tile original image (0LL) (decomposition level 0) obtained by dividing the original image into tiles, Separate the bands (1LL, 1HL, 1LH, 1HH). Then, the two-dimensional wavelet transform / inverse transform unit 102 continuously performs a two-dimensional wavelet transform on the low-frequency component 1LL in this layer, and outputs the sub-bands (2LL, 2HL, 2LH, 2HH) shown in the decomposition level 2. Is separated. Similarly, the two-dimensional wavelet transform / inverse transform unit 102 sequentially performs the two-dimensional wavelet transform on the low-frequency component 2LL, and separates the sub-bands (3LL, 3HL, 3LH, 3HH) shown in the decomposition level 3. I do. In FIG. 3, the subbands to be coded at each decomposition level are shown in gray. For example, if the number of decomposition levels is 3, the gray subbands (3HL, 3LH, 3HH, 2HL, 2LH, 2HH, 1HL, 1LH, 1HH) are to be encoded, and the 3LL subband is not encoded. .
[0079]
Next, in the quantization / inverse quantization unit 103, after bits to be encoded are determined in the specified encoding order, a context is generated from bits around the target bits.
[0080]
FIG. 4 is a schematic diagram illustrating a precinct. The wavelet coefficients after the quantization process are divided into non-overlapping rectangles called “precincts” for each subband. This was introduced to make efficient use of memory in the implementation. As shown in FIG. 4, one precinct is composed of three rectangular regions that spatially match. Furthermore, each precinct is divided into non-overlapping rectangular “code blocks”. This is a basic unit when performing entropy coding.
[0081]
FIG. 5 is a schematic diagram showing an outline of a process of decomposing the values of the two-dimensional wavelet coefficients after the two-dimensional wavelet transform into “bit planes” and ranking the “bit planes” for each pixel or code block. . The coefficient value after the wavelet transform can be quantized and coded as it is. However, in JPEG2000, in order to increase the coding efficiency, the coefficient value is decomposed into "bit planes" and " A "bit plane" can be ranked. FIG. 5 briefly shows the procedure. In this example, the original image (32 × 32 pixels) is divided into four 16 × 16 pixel tiles, and the size of the precinct at the decomposition level 1 and the size of the code block are each 8 × 8 pixels. And 4 × 4 pixels. The precinct and code block numbers are assigned in raster order. The pixel expansion outside the tile boundary is performed by using a mirroring method, performing a wavelet transform using a reversible (5, 3) filter, and obtaining a wavelet coefficient value of decomposition level 1.
[0082]
FIG. 5 also shows a conceptual schematic diagram of a representative “layer” for tile 0 / precinct 3 / code block 3. The layer structure is easy to understand when the wavelet coefficient value is viewed from the horizontal direction (bit plane direction). One layer is composed of an arbitrary number of bit planes. In this example, layers 0, 1, 2, and 3 are each composed of three bit planes of 1, 3, and 1. Then, a layer including a bit plane closer to the LSB is subject to quantization first, and conversely, a layer closer to the MSB remains unquantized to the end. A method of discarding from a layer close to the LSB is called truncation, and it is possible to finely control the quantization rate.
[0083]
Next, the entropy encoding / decoding unit 104 will be described with reference to FIG. FIG. 6 is a schematic diagram illustrating a code stream of encoded image data. The entropy encoding / decoding unit 104 (see FIG. 1) encodes each component RGB tile 112 by probability estimation from the context and the target bit. In this way, the encoding process is performed on all the components RGB of the original image in tile 112 units.
[0084]
Next, the tag processing unit 105 will be described. The tag processing unit 105 combines all encoded data from the entropy encoding / decoding unit 104 into one code stream and performs a process of adding a tag to the code stream. FIG. 6 briefly shows the structure of the code stream. Tag information called a header is added to the head of such a code stream and the head of a partial tile constituting each tile 112, and thereafter, encoded data of each tile 112 follows. Then, a tag is placed again at the end of the code stream.
[0085]
On the other hand, at the time of decoding, image data is generated from the code stream of each tile 112 of each component RGB, contrary to the encoding. Such a process will be briefly described with reference to FIG. The tag processing unit 105 interprets the tag information added to the code stream input from the outside, decomposes the code stream into a code stream of each tile 112 of each component RGB, and a code stream of each tile 112 of each component RGB. A decryption process is performed for each. At this time, the positions of the bits to be decoded are determined in the order based on the tag information in the code stream, and the quantization / dequantization unit 103 sets the peripheral bits of the target bit positions (decoding has already been performed. Is generated from the sequence of Then, the entropy coding / decoding section 104 performs decoding by probability estimation from the context and the code stream to generate a target bit, and writes it to the position of the target bit. Since the data decoded in this manner is spatially divided for each frequency band, the two-dimensional wavelet transform / inverse transform unit 102 performs an inverse two-dimensional wavelet transform on the data to obtain each component in the image data. Each tile 112 in RGB is restored. The restored data is converted into the original color system data by the color space conversion / inversion unit 101.
[0086]
[Configuration Example of Image Forming Apparatus Including Image Processing Apparatus and Image Reading Apparatus]
This embodiment shows an example of application to a digital full-color copying machine as an image forming apparatus having the above-described JPEG2000 function in an image processing apparatus, and FIG. 7 shows a schematic configuration example thereof.
[0087]
The digital color copying machine 1 has a function as a multifunction machine as will be described later. The printer 2 is a color printer functioning as a printer engine, and a color image as an image reading device installed on the printer 2. And a scanner 3 which is a scanner.
[0088]
The printer 2 forms an image by an electrophotographic method in an image forming unit 4 based on image data of a document optically read by a scanner 3 and image data transmitted from an external device, and sends the image to a paper feeding unit. 5 is transferred to a sheet P which is a recording medium conveyed through a sheet conveying path 7 by a sheet conveying section 6, and the sheet P on which an image is transferred is conveyed to a fixing section 9 by a conveying belt 8, and the transferred image of the sheet P is transferred. Is heated and pressurized by a fixing unit 9 and is discharged and discharged to a discharge tray 10.
[0089]
The image forming unit 4 includes a charging unit 12 that uniformly charges the surface of the photoconductor 11 around the rotating drum-shaped photoconductor 11, and an image for each color obtained by exposing and scanning the uniformly charged surface of the photoconductor 11. Exposure unit 13 for forming an electrostatic latent image based on data on photoconductor 11, electrostatic latent image for each color including cyan (C), magenta (M), yellow (Y), and black (K) toners A revolver type color developing unit 14 for forming a visible toner image by adhering toner corresponding to the image, and an intermediate for sequentially transferring toner images of respective colors onto an intermediate transfer belt 15 supported by a plurality of rollers. The transfer unit 16 is formed by arranging a photoconductor cleaning unit 17 for scraping off toner remaining on the photoconductor 11 without being transferred onto the intermediate transfer belt 15, a charge removing unit 18 for removing charges on the photoconductor 11, and the like. Have Further, a transfer unit 19 for collectively transferring the toner images on the intermediate transfer belt 15 onto the sheet P and a belt cleaning unit 20 for scraping off the toner remaining on the intermediate transfer belt 15 without being collectively transferred onto the sheet P are provided. Is formed.
[0090]
Next, the scanner 3 will be described. The scanner 3 includes a scanner body 21 and an ADF (automatic document feeder) 22 which is a document feeder provided on the upper part of the scanner body 21. On the upper surface of the housing 23 of the scanner body 21, a placed original glass 24 on which an original is placed when reading an original image in the original fixed mode, and a transport used when reading the original image in the original transport mode. A document glass 25 is provided. Here, the document fixing mode is an operation mode for reading an image of a document placed on the placed document glass 24, and the document transport mode is for automatically feeding a document by the ADF 22 and automatically feeding the document. This is an operation mode in which an image of a paper document is read when the paper document passes over the glass sheet 25 for conveyance.
[0091]
Further, an illumination lamp (high-intensity Xe lamp) 26 and a mirror 27 as exposure means for irradiating the original with light are provided at a position inside the housing 23 and facing the placed original glass 24 from below. One traveling body 28 is disposed movably in the sub-scanning direction along the placed original glass 24. A second traveling body 31 including two mirrors 29 and 30 is arranged on the reflected light path of the first traveling body 28 so as to be movable in the sub-scanning direction along the placed document glass 24. An SBU (Sensor Board Unit) 34 mounted with a CCD (Charge Coupled Device) 33 which is a color line sensor via a lens 32 is located in the reflected light path of the two-wheeled vehicle 31. Note that the CCD 33 functions as a photoelectric conversion element.
[0092]
A stepping motor 35 is connected to the first traveling body 28 and the second traveling body 31 as sub-scanning means by pulleys, wires, or the like (neither is shown). The body 31 is movable in the same sub-scanning direction from the left side to the right side in FIG. 7 at a speed ratio of 2: 1. Note that the digital color copying machine 1 of the present embodiment has a scaling function, and at the time of enlarging / reducing copying, the speed of the stepping motor 35 is controlled in accordance with the scaling factor, thereby making the first step. By changing the moving speed of the second traveling bodies 28 and 31 with respect to the original, the magnification change processing in the sub-scanning direction is mechanically performed. The scaling in the main scanning direction is performed by an electrical scaling process described later.
[0093]
Next, FIG. 8 is a block diagram showing the electrical connection of such a digital color copying machine 1. The reading unit (CCD) 33 in the scanner 3 for optically reading a document image is mounted on the SBU 34 as described above, and the image signal converted into an electric signal in the reading unit (CCD) 33 is converted into a digital image signal. Thereafter, the data is output from the SBU 34. The image signal output from the SBU 34 is input to a CDIC (compression / decompression and data interface control unit) 41. The transmission of image data between the functional device and the data bus is entirely controlled by the CDIC 41. The CDIC 41 performs data transfer between the SBU 34, parallel bus 42, and IPP (image processing processor) 43, and communication between a system controller (CPU) 44 that controls the entire system and a process controller 45 for image data. Do. Reference numerals 44a and 44b are ROM and RAM used by the system controller 44. The image signal from each SBU 34 is transferred to the IPP 43 via the CDIC 41, and the signal deterioration (referred to as the signal deterioration of the scanner system) due to the quantization into the optical system and the digital image signal is corrected and output to the CDIC 41 again. Is done.
[0094]
That is, the system controller 44 is a microcomputer that has a CPU and controls each unit of the apparatus according to a control program written in the ROM 44a while using the RAM 44b as a work area. The ROM 44a is a memory that stores an image processing program for the system controller 44 to control each unit of the above-described apparatus, and other control programs. That is, in the present embodiment, the ROM 44a stores an image processing program for realizing various functions described later, and the ROM 44a functions as a storage medium storing the program. For this reason, in the present embodiment, the ROM 44a is composed of, for example, an EEPROM or a flash memory, and the program stored in the ROM 44a is rewritable. Although not shown, if a program is to be downloaded via a network, a network interface may be added.
[0095]
In the digital color copying machine 1, there are a job for storing the image read by the reading unit 33 in the memory for reuse and a job for not storing the image in the memory. Each case will be described below. As an example of storing the data in the memory, when a plurality of copies of the same document are copied, the reading unit 33 performs the reading operation of the document only once, stores the document in the memory, and reads the stored data a plurality of times. As an example in which no memory is used, when only one document is copied, the read image may be printed as it is, so that it is not necessary to access the memory.
[0096]
First, when the memory is not used, the image data transferred from the IPP 43 to the CDIC 41 is returned from the CDIC 41 to the IPP 43 again. In the IPP 43, image quality processing for converting the luminance data by the CCD 33 into the area gradation is performed. The image data after the image quality processing is transferred from the IPP 43 to the VDC (video data control) 46. The post-processing relating to the dot arrangement and the pulse control for reproducing the dots are performed on the signal changed to the area gradation, and the image forming unit 4 which is a printer engine for forming an image in an electrophotographic system performs transfer paper P. A reproduced image is formed thereon.
[0097]
The flow of image data in the case where image data is stored in a memory and additional processing such as rotation in the image direction and image synthesis are performed when image data is read will be described. The image data transferred from the IPP 43 to the CDIC 41 is sent from the CDIC 41 to the IMAC 19 (image memory access control) 47 via the parallel bus 42. The IMAC 47 controls access of image data to a MEM (memory module) 48 as a storage device, develops print data to an external PC (personal computer) 49, and effectively utilizes the memory of the MEM 48 under the control of the system controller 44. Compression / decompression of image data for The image data sent to the IMAC 47 is stored in the MEM 48 after data compression, and the stored data is read out as needed. The read image data is decompressed and returned to the original image data, and is returned from the IMAC 47 to the CDIC 41 via the parallel bus.
[0098]
After the transfer from the CDIC 41 to the IPP 43, the image data is subjected to image quality processing and pulse control by the VDC 46, and an image is formed on the transfer paper P in the image forming unit 4 using the image data.
[0099]
The digital color copying machine 1 is a so-called multifunction machine, and has a facsimile transmission function. The FAX transmission function performs image processing on the read image data by the IPP 43 and transfers the read image data to the FCU (FAX control unit) 50 via the CDIC 41 and the parallel bus 42. The FCU 50 converts the data into a communication network, and transmits the data to a PN (public line) 51 as FAX data. For FAX reception, the line data from the PN 51 is converted into image data by the FCU 50 and transferred to the IPP 43 via the parallel bus 42 and the CDIC 41. In this case, the VDC 46 performs dot rearrangement and pulse control without performing any special image quality processing, and the image forming unit 4 forms a reproduced image on the transfer paper P.
[0100]
In a situation where a plurality of jobs, for example, a copy function, a facsimile transmission / reception function, and a printer output function operate in parallel, the assignment of the right to use the reading unit 33, the imaging unit 4, and the parallel bus 42 to the job is performed by the system controller 44 and the process. It is controlled by the controller 45.
[0101]
A process controller (CPU) 45 controls the flow of image data, and a system controller 44 controls the entire system and manages activation of each resource. Reference numerals 45a and 45b denote ROM and RAM used by the process controller 45.
[0102]
The user selects various functions by selecting and inputting the operation panel 52, and sets processing contents such as a copy function and a FAX function.
[0103]
The system controller 44 and the process controller 45 communicate with each other via the parallel bus 42, the CDIC 41, and the serial bus 53. At this time, in the CDIC 41, data format conversion for a data interface between the parallel bus 42 and the serial bus 53 is performed.
[0104]
FIG. 9 is a block diagram showing a configuration of the IPP 43. The read image is transmitted from the input I / F 61 of the IPP 43 to the scanner image processing unit 62 via the SBU 34 and the CDIC 41. The processing performed by the scanner image processing unit 62 performs shading correction, scanner γ correction, MTF correction, and the like for the purpose of correcting the deterioration of the read image signal. Although not a correction process, the electric enlargement / reduction scaling process in the main scanning direction, which is a target in the present embodiment, is also performed using a cubic convolution interpolation method or the like. After the correction processing of the read image data is completed, the image data is transferred to the CDIC 41 via the output I / F 63. For output to transfer paper, image data from the CDIC 41 is received from the input I / F 64, and the image quality processing unit 65 performs area gradation processing. The data after the image quality processing is output to the VDC 46 via the output I / F 66. The area gradation processing includes density conversion, dither processing, error diffusion processing and the like, and the main processing is area approximation of gradation information. Once the image data subjected to the scanner image processing is stored in the memory 48, various reproduced images can be confirmed by changing the image quality processing. For example, by changing the density of the reproduced image or changing the number of lines of the dither matrix, the atmosphere of the reproduced image can be changed. At this time, it is not necessary to reread the image from the reading unit 38 every time the processing is changed, and if the stored image is read from the MEM 20, different processing can be performed on the same data any number of times.
[0105]
FIG. 10 is a block diagram showing the configuration of the IMAC 47. As shown in FIG. 10, the IMAC 47 manages an interface of image data with the parallel bus 42 in the parallel data I / F 71. The IMAC 47 controls storage / reading of image data to / from the MEM 48 and expansion of code data mainly input from the external PC 49 into image data. Examples of the MEM 48 here include a semiconductor memory, a hard disk, or both. The code data input from the PC 49 is stored in the local area in the line buffer 72. The code data stored in the line buffer 72 is developed into image data in the video control unit 74 based on a development processing command from the system controller 44 input via the system controller I / F 73. The expanded image data or the image data input from the parallel bus 42 via the parallel data I / F 71 is stored in the MEM 48. In this case, the image data to be stored is selected by the data conversion unit 75, data compression is performed as necessary in order to increase the memory use efficiency in the data compression unit 76, and the address of the MEM 48 is stored in the memory access control unit 77. While storing image data in the MEM 48. When reading the image data stored in the MEM 48, the memory access control unit 77 controls the read destination address, and the read data is expanded by the data expansion unit 78 as necessary. An example of an encoding method used for compression and decompression in the data compression unit 76 and the data decompression unit 78 is a highly efficient encoding method suitable for saving the memory area of the MEM 48. This is an encoding system that emphasizes efficiency, unlike the encoding system that emphasizes functions required for the CDIC 41 described above. In the present embodiment, the JPEG2000 format as described above is used. That is, the data compression unit 76 is configured as a JPEG2000 format encoding unit that compresses and encodes image data into code data in the order of two-dimensional wavelet transform, quantization, and encoding, and the data decompression unit 78 performs compression encoding. It is configured as JPEG2000 format decoding means for expanding code data in the reverse order of decoding, inverse quantization, and inverse two-dimensional wavelet transform. When transferring the decompressed image data to the parallel bus 42, the data transfer is performed via the parallel data I / F 71.
[0106]
[Resize copy operation]
The digital color copying machine 1 according to the present embodiment has an enlargement / reduction scaling function as described above, but the cubic convolution interpolation known in the scanner image processing unit 62 is performed in the main scanning direction as in the related art. In the sub-scanning direction, the speed of the stepping motor 35 is controlled in accordance with the magnification to change the moving speed of the first traveling body 28. Is what you do.
[0107]
For example, with reference to FIG. 11, a description will be given of an example of the case where the image is enlarged twice in length and width. Assuming that the main scanning direction and the sub-scanning direction for the document D are set as shown in FIG. The original D is read by the scanner 3 by changing the moving speed of the first traveling body 28 in accordance with the scaling factor of 2 (1/2 the speed at the same magnification), and as shown in FIG. Thus, the magnification (2 times) in the sub-scanning direction is mechanically performed. Then, the image data read by the scanner 3 after receiving the sub-scanning scaling process is subjected to an electrical scaling process by the cubic convolution interpolation method in the main scanning direction in the scanner image processing unit 62. As a result, the magnification (2 times) in the main scanning direction is electrically performed as shown in FIG. 3 (c), and as a result, image data that is enlarged twice and vertically and horizontally is obtained.
[0108]
The image data that has been subjected to the scaling process in this manner is compressed and encoded according to the JPEG2000 algorithm or the like, and stored in the MEM 48 as code data. The copy print operation is executed by outputting the print data to the printer.
[0109]
Here, the image data has a known anisotropy in the vertical and horizontal directions for the digital color copying machine 1 due to the difference in the magnification processing between the main scanning direction and the sub-scanning direction. Under the situation where the main scanning direction in which the processing is performed is a direction in which edge rounding is likely to occur, the two-dimensional wavelet coefficient is subjected to the same hierarchy as the two-dimensional wavelet coefficient in the quantization process during the compression encoding processing according to the JPEG2000 algorithm. It has a quantizing means or a quantizing function for performing a quantization with a different compression ratio according to the subband position. That is, as shown as a low compression rate and a high compression rate in FIG. 11D, the quantization level (compression rate) assigned to the wavelet coefficient located in the direction of the wavelet transform processing corresponding to the main scanning direction is determined by the wavelet transform processing. Quantization with a different compression ratio is performed by making the quantization level (compression ratio) relatively lower than the quantization level (compression ratio) assigned to the wavelet coefficient located in the other direction.
[0110]
This utilizes the feature of the wavelet transform described in FIG. 3 and the like in the JPEG2000 algorithm. Now, when the image data of the document D as shown in FIG. 12A is subjected to the wavelet transform, the result of the conversion can be represented as shown in FIG. 12B. That is, the entire image in the image data appears in the sub-band LL as a low-frequency component in the horizontal direction and the low-frequency component in the vertical direction, which is reduced to 1 /, and becomes a sub-band LH as a low-frequency component in the horizontal direction and a high-frequency component in the vertical direction. Indicates a horizontal line (horizontal line) image, and a vertical band (vertical line) image appears in the subband HL, which is a horizontal high frequency / vertical low frequency component, and is a horizontal high frequency / vertical high frequency component. The sub-band HH has a characteristic that an oblique line image appears.
[0111]
Therefore, for example, as shown in FIG. 13 (decomposition level = 2), when the main scanning direction corresponds to the horizontal direction of the wavelet transform processing and the sub-scanning direction corresponds to the vertical direction of the wavelet transform processing, the edge in the main scanning direction Image data components that are likely to be rounded appear in the wavelet coefficients of the subband LH system hierarchy, and image data components in the sub-scanning direction appear in the wavelet coefficients of the subband HL system hierarchy. Therefore, the subbands 1LH and 1HL and the subbands 2HL and 2LH of the same layer, to which the same quantization level is assigned to the wavelet coefficients, usually have the subband 1HL at the quantization level on the subband 1LH and 2LH side. , And 2HL, the quantization level is made different so as to be relatively lower than the quantization level on the side of the main scanning direction in which the electrical scaling process is performed. It can be understood that the influence on the image can be reduced and the quality of the reproduced image can be improved. Conversely, if the quantization level assigned to the wavelet coefficients located in the sub-bands 1HL and 2HL corresponding to the sub-scanning direction in which edge rounding is less likely to occur, the image quality is hardly affected even if the quantization level is relatively large. Can also be understood that efficient compression encoding becomes possible.
[0112]
For this reason, in the present embodiment, for example, when the conditions shown in FIG. 13 (decomposition level = 2, main scanning direction = horizontal direction, sub-scanning direction = vertical direction) are set, the enlargement / reduction processing is performed as shown in FIG. A table relating to the quantization level for each subband as shown in FIG. The quantization level in this case is represented by a denominator for quantizing the wavelet coefficients, and “1” is 2 0 "2" indicates that quantization is not performed. 1 , "4" is 2 2 , "8" is 2 3 Respectively. According to this table, at the same magnification, the same quantization level “2” is assigned to the sub-bands 2HL and 2LH, and the same quantization level “4” is assigned to the sub-bands 1HL and 1LH. At the time of enlargement / reduction, the quantization level “1” is assigned to the sub-band 2LH of the same hierarchy with respect to the quantization level “2” of the sub-band 2HL, and the quantization is suppressed (low compression ratio). With respect to the quantization level "4" of the band 1HL, the quantization level "2" is assigned to the sub-band 1LH in the same hierarchy, and the quantization is suppressed (low compression rate). The same applies to the enlargement / reduction by four times. For example, the quantization level “1” is assigned to the subband 1LH, and the quantization is further suppressed (lower compression ratio).
[0113]
The degree of edge rounding varies depending on the magnification in the main scanning direction, which is a factor of anisotropy. The degree of edge rounding increases as the magnification increases, and as shown in the numerical example shown in this table, By changing the quantization levels assigned to the wavelet coefficients of the sub-band 1LH accordingly, it is possible to further reduce the influence of the rounded edges on the image quality. Further, the thin line appears as a wavelet coefficient of a higher band hierarchy, and the degree of the influence of the rounded edge on the image quality differs depending on the subband hierarchy. Therefore, as shown in the numerical example shown in this table, the subband 2LH and 1LH hierarchy By changing the quantization level assigned to the wavelet coefficient in accordance with, the influence on the image quality due to the edge rounding can be further reduced.
[0114]
A description will be given with reference to the flowchart of FIG. 15 schematically illustrating an example of processing control at the time of a copy operation that refers to such a table. The copying operation is started when the operator presses a start key after setting copy conditions such as the number of copies and a magnification (Y in S1). Then, it is checked whether or not the magnification is designated at the copy condition setting stage (S2). The process of step S2 is executed as a function of the anisotropy determination unit, and when magnification is designated, the degree of anisotropy is determined based on the magnification. Note that whether or not the two-dimensional image data to be compression-encoded has anisotropy in the vertical and horizontal directions is determined by the digital color copier 1 in the main scanning direction and the sub-scanning direction. It has been recognized that there is a known anisotropy due to the difference in the scaling processing of the above, and this known information becomes valid by specifying the scaling.
[0115]
If the magnification is not specified (N in S2), the scanner 3 performs the normal reading operation at the same magnification (S3), and acquires the read image data of the original. On the other hand, when magnification is designated (Y in S2), the scanner 3 (stepping motor 35) is controlled in accordance with the magnification to perform the reading operation while performing mechanical magnification in the sub-scanning direction. (S4) The scanner image processing unit 62 performs electrical scaling processing by cubic convolution interpolation in the main scanning direction on the obtained sub-scan scaled image data (S5).
[0116]
The image data obtained in this manner is subjected to two-dimensional wavelet transform in the data compression unit 76 (S6), and is further compression-coded into code data by a procedure of quantization and coding with reference to the table described above (S7). ). The processing in step S7 is executed as a function of the quantization means. In this processing, the quantization level shown in the table is used at the time of variable-size copying, so that the compression ratio of the wavelet coefficient in the main scanning direction in which edge rounding is likely to occur is suppressed.
[0117]
The encoded data is temporarily stored in the MEM 48 (S8), and the encoded data read out of the MEM 48 and compressed and encoded by the data decompression unit 78 is decoded, inversely quantized, and inversely transformed by the two-dimensional wavelet. The decoding process for the original image data is performed in the reverse procedure (S9), and the image data is output to the image forming unit 4 to execute the copy printing operation.
[0118]
Therefore, according to the present embodiment, it is possible to perform compression coding on the image data after the scaling process with little difference in image quality in the vertical and horizontal directions, and to improve the image quality of the image reproduced on the image forming unit 4 side.
[0119]
In the above description, the magnification / magnification is assumed. However, the same applies to reduction / magnification such as 1/2, 1/4,..., For example, as shown in FIG. What is necessary is just to refer to the table which prescribed the quantization level allocated to each subband for every. In this case, even in the case of the reduction / magnification, the edge may be rounded in the main scanning direction in which the electric magnification processing is performed. However, in general, the degree thereof is often lower than that in the case of the magnification / magnification. By setting the quantization level higher than at the time, it is possible to appropriately cope with the situation. In the illustrated example, the quantization level of the sub-band 1LH is higher than the quantization level “2” “1” at the time of enlargement, such as “3” “2”.
[0120]
In the above description, attention has been paid to the quantization level in the case where linear quantization is performed at the stage of encoding the wavelet coefficients. However, if the level at which the code of the unnecessary bit plane after encoding is discarded (truncated) is different, You may make it do. In this case, for example, a table defining the truncation of the bit plane to be allocated to each sub-band for each magnification ratio as shown in FIG. 18 may be referred to. Each value “0” to “3” is 2 0 ~ 2 3 "0" indicates that the bit plane is not discarded, "1" indicates that the least significant bit plane is discarded, and "2" indicates the least significant bit plane. Is discarded, and "3" indicates that the least significant three bit planes are discarded.
[0121]
According to this table, at the same magnification, the same truncation “1” is allocated to the subbands 2HL and 2LH and the same truncation “2” is allocated to the subbands 1HL and 1LH. In contrast to the truncation "1" of the subband 2HL, the truncation "0" is allocated to the subband 2LH of the same layer, and the quantization thereof is suppressed (low compression ratio), and the truncation "2" of the subband 1HL is reduced. On the other hand, a truncation “1” is assigned to the sub-band 1LH in the same hierarchy, and the quantization thereof is suppressed (low compression ratio). The same applies to the enlargement / reduction of four times. For example, a truncation “0” is assigned to the sub-band 1LH, and the quantization is further suppressed (lower compression ratio).
[0122]
Further, in the above description, an example of similar scaling in the vertical and horizontal directions has been described. In this case, the magnification in the sub-scanning direction where the mechanical magnification processing is performed and the edge is not rounded does not particularly matter, and the magnification in the main scanning direction in which the electric magnification processing is performed may be focused.
[0123]
In the present embodiment, the relationship between the scanning direction in the scanner 3 and the direction of the two-dimensional wavelet transform processing is such that the main scanning direction = horizontal direction and the sub-scanning direction = vertical direction, as shown in FIG. However, in the case where the relationship of the main scanning direction = vertical direction and the sub-scanning direction = horizontal direction is satisfied, the sub-band LH system is replaced with the sub-band HL system hierarchy corresponding to the main scanning direction. (The quantization levels of the subband LH system and the subband HL system may be interchanged).
[0124]
A second embodiment of the present invention will be described with reference to FIG. In the above-described embodiment, as a typical example of two-dimensional image data having anisotropy in the vertical direction and the horizontal direction, a scanner is used which is caused by a difference in scaling between the main scanning direction and the sub-scanning direction. As described above, the present embodiment shows an example of application to a television camera as another example in which two-dimensional image data has anisotropy in the vertical and horizontal directions.
[0125]
FIG. 18 is a block diagram schematically illustrating a hardware configuration of the television camera 80. The television camera 80 includes an image input device 81 and an image compression device 82. The image input device 81 and the image compression device 82 are connected to a CPU 84 via a bus 83. In addition, a memory 85, an operation panel 86, an external output interface 87, and the like are provided.
[0126]
Here, the image input device 81 includes an image sensor such as a CCD or a MOS image sensor, and reads an image of an object to be imaged by raster scanning in a two-dimensional interlaced manner, and outputs the read image data to the image compression device 82. The image compression device 82 is a representative representation of a compression processing system such as a quantization unit in the image processing device, and performs compression encoding according to the JPEG2000 algorithm. The generated code string data is output to the outside via the external output interface 87.
[0127]
In such a television camera 80, in the present embodiment, the image data has known anisotropy in the vertical direction and the horizontal direction due to the interlaced raster scanning, and the horizontal direction that is the raster scanning direction is The self-determination is performed as a direction in which edge rounding is likely to occur. Furthermore, since there is a difference between the horizontal direction and the vertical direction such as an aspect ratio of 4: 3 or 16: 9, it can be said that the horizontal direction which is the raster scanning direction is a direction in which edge rounding is likely to occur. Therefore, as in the case of the above-described embodiment, the raster scanning direction (horizontal direction), which is a direction in which edge rounding is likely to occur at the stage of quantization processing in the image compression device 82, is also performed for such anisotropy. The degree of quantization differs between the vertical direction, which is the direction. As a result, it is possible to perform compression encoding of image data after image pickup with little difference in image quality in the vertical and horizontal directions, and to improve the image quality of an image reproduced on a television or the like.
[0128]
A third embodiment of the present invention will be described with reference to FIG. This embodiment shows an example of application to a personal computer (PC), which is an information processing device, as another example having two-dimensional image data having anisotropy in the vertical and horizontal directions.
[0129]
FIG. 19 is a block diagram schematically illustrating a hardware configuration of the PC 90. The PC 90 includes a CPU 91 for performing information processing, a primary storage device such as a ROM 92 and a RAM 93 for storing information, an HDD (Hard Disk Drive) 95 for storing compression codes downloaded from the outside via the Internet or another network 94, A CD-ROM drive 96 for storing information, distributing information to the outside, and obtaining information from the outside, and a communication control device 97 for transmitting information by communication with another external computer or the like via a network 94. A display device 98 such as a CRT (Cathode Ray Tube) or an LCD (Liquid Crystal Display) for displaying the progress and results of processing to the operator, and a keyboard and a mouse for the operator to input commands and information to the CPU 91. Of the input device 99 etc. Cage, the data between these units is a bus controller 100 operates to arbitrate.
[0130]
In the PC 90, a program for realizing a function of performing a compression encoding process and a function of performing a decoding process in accordance with the JPEG2000 algorithm as part of image processing is stored in the ROM 92 together with various control programs. It is configured to have functions of an encoding unit and a decoding unit. Further, the input device 99 that accepts a user operation also functions as a data acquisition unit that acquires image data.
[0131]
In general, this type of PC 90 incorporates image editing software, and can perform an editing operation of changing the aspect ratio of the captured image data to a different vertical or horizontal length. In such a case, there is anisotropy in the vertical and horizontal directions due to the difference in the vertical and horizontal scaling factors. In other words, the scaling process in any direction is an electrical scaling process using an interpolation method or the like. However, the larger the scaling ratio, the greater the degree of edge rounding. The difference comes out.
[0132]
Therefore, in the present embodiment, when a magnification process with different vertical / horizontal scaling factors is specified as a user operation for editing image data, the vertical and horizontal scaling factors of the image data are caused by the difference in vertical / horizontal scaling factors. It is estimated that the direction has anisotropy in both directions (anisotropy determination means), and the direction that is more affected by the electrical scaling process (the direction with the larger scaling ratio) is estimated to be the direction in which edge rounding is likely to occur. Different quantization is applied to the direction and other directions in the same manner as in the above-described embodiment.
[0133]
As a result, the image data after the editing operation can be compressed and encoded with a small difference in image quality in the vertical and horizontal directions, and the quality of an image reproduced by a display, a printer, or the like can be improved. For example, in the case of the vertical enlargement / reduction, the quantization of the image data in the vertical direction may be suppressed.
[0134]
A fourth embodiment of the present invention will be described. The present embodiment relates to an image output apparatus. Specifically, for example, a copier or a printer as described in the first embodiment is assumed. That is, the input unit (scanner 3) for inputting image data and the two-dimensional image data input by the input unit (scanner 3) are the same as those in the first embodiment in which compression encoding is performed. An image processing device, a storage device (MEM48) for storing code data compressed and encoded by the image processing device, decoding means for decoding the code data stored in the storage device (MEM48) into image data, and decoding. Output means (printer 2) for outputting a two-dimensional image based on the image data decoded by the means.
[0135]
In such a copying machine 1, even if the original image data is normal, the copying machine or the printer always has vertical lines as shown in FIG. 23, for example, due to factors such as development conditions and transfer conditions. In some cases, the two-dimensional image data has an anisotropy in the vertical direction and the horizontal direction in the output form in some cases. In particular, in the case of a document image including a lattice image as shown in the illustrated example, it may appear remarkably. Therefore, in the case of such a copying machine, a difference in image quality occurs in the vertical and horizontal directions not only at the time of the variable-size copy but also at the time of the same-size copy.
[0136]
Therefore, in the present embodiment, not only the input side but also the case where the output side has anisotropy in the vertical direction and the horizontal direction can be appropriately dealt with by applying the same manner. It was made. That is, the copying machine 1 according to the present embodiment is configured to output image data in the vertical direction due to a difference in the known output characteristic that the line thickness of the output means (printer 2) in the vertical direction and the horizontal direction is different. Is determined to have a known anisotropy in the lateral direction. Then, the anisotropy determination unit determines a direction in which edge rounding is likely to occur due to such a difference in the known output characteristics. Based on such a determination result, image data that is originally uniform in the vertical direction and the horizontal direction is described above at the stage of image data quantization so that output anisotropy in the output unit (printer 2) is eliminated. As in the case of the embodiment, the degree of quantization is made different in the vertical direction and the horizontal direction to intentionally have the opposite anisotropy to cancel each other out, so that it is reproduced by the output means (printer 2). This is to improve the image quality of the image.
[0137]
That is, in the case of a model having a characteristic in which a thick line is likely to appear in either the vertical direction or the horizontal direction as a characteristic of the print output of the printer 2, the characteristic is canceled and the image quality difference between the vertical direction and the horizontal direction is canceled out. It is possible to obtain a high-quality copy image without the image. More specifically, the quantization level of the wavelet transform is set so that the quantization level in the direction in which the thick line appears (the direction in which the print image becomes thicker) is relatively higher than the other direction (the compression ratio is increased). What is necessary is just to make it different according to a direction.
[0138]
【The invention's effect】
According to the image processing apparatus of the first aspect, image data having anisotropy in the vertical direction and the horizontal direction is assigned to the two-dimensional wavelet coefficient in the same hierarchy based on the anisotropy factor. Even so, quantization with different compression ratios is performed according to the subband position, so that image quality differences due to anisotropy can be absorbed by quantization with different compression ratios, and the reproduced image Higher image quality can be achieved.
[0139]
According to the second aspect of the present invention, in the image processing apparatus according to the first aspect, a compression ratio in a direction in which edge rounding is likely to occur due to an anisotropy factor, that is, quantization is relatively suppressed. In addition, the effect on the image quality due to the edge rounding can be reduced, and the quality of the reproduced image can be improved. Therefore, it is possible to perform efficient compression encoding as a whole.
[0140]
According to the third aspect of the present invention, in the image processing apparatus according to the first or second aspect, specifically, the image processing apparatus is located in a direction of the wavelet transform processing corresponding to a direction in which edge rounding is likely to occur due to anisotropic factors. Since the quantization level assigned to the wavelet coefficient is relatively suppressed, the influence on the image quality due to the edge rounding can be reduced, and the image quality of the reproduced image can be improved. Even if the quantization level assigned to the wavelet coefficient located in the direction of the wavelet transform processing corresponding to the direction in which dullness is less likely to occur, even if the quantization level is relatively large, the image quality is hardly affected. Can be made possible.
[0141]
According to the fourth aspect of the present invention, in the image processing apparatus according to the third aspect, more specifically, when the direction in which edge rounding is likely to occur is the horizontal direction of the wavelet transform processing, the subband LH system hierarchy is used. , The quantization level assigned to the wavelet coefficient located at the position is relatively suppressed, so that the effect on the image quality due to the edge rounding can be reduced, and the image quality of the reproduced image can be improved. For example, even if a relatively large quantization level is assigned to a wavelet coefficient located in a subband HL system layer corresponding to a direction in which edge rounding is unlikely to occur, image quality is hardly affected even if the quantization level is relatively large. Compression encoding can be enabled.
[0142]
According to the fifth aspect of the present invention, in the image processing apparatus according to the third aspect, more specifically, when the direction in which edge rounding is likely to occur is the vertical direction of the wavelet transform processing, the subband HL system hierarchy is used. , The quantization level assigned to the wavelet coefficient located at the position is relatively suppressed, so that the effect on the image quality due to the edge rounding can be reduced, and the image quality of the reproduced image can be improved. For example, even if the quantization level assigned to the wavelet coefficient located in the sub-band LH system layer corresponding to the direction in which edge rounding is less likely to occur, the image quality is hardly affected even if the quantization level is relatively large, so that the overall efficiency is high. Compression encoding can be enabled.
[0143]
According to the sixth aspect of the present invention, in the image processing apparatus according to any one of the second to fifth aspects, the degree of edge rounding varies depending on the degree of the anisotropy factor. The degree of compression ratio in the direction in which edge rounding is likely to occur is made different accordingly, so that the influence of edge rounding on image quality can be further reduced.
[0144]
According to the seventh aspect of the present invention, in the image processing apparatus according to the sixth aspect, the degree of edge rounding varies depending on the degree of the anisotropy factor. Since the degree of quantization level assigned to the wavelet coefficient located in the direction of the wavelet transform process corresponding to the easy direction is made different, the influence on the image quality due to the rounded edge can be further reduced.
[0145]
According to the eighth aspect of the present invention, in the image processing apparatus according to the seventh aspect, the degree of edge rounding varies depending on the degree of the anisotropy factor. In the horizontal direction of the wavelet transform processing, the quantization levels assigned to the wavelet coefficients located in the subband LH system hierarchy are made different, so that the influence of the rounded edges on the image quality can be further reduced. .
[0146]
According to the ninth aspect of the present invention, in the image processing apparatus according to the seventh aspect, the degree of edge rounding varies depending on the degree of the anisotropy factor. In the vertical direction of the wavelet transform processing, the quantization levels assigned to the wavelet coefficients located in the subband HL hierarchy are made different, so that the influence of the rounded edges on the image quality can be further reduced. .
[0147]
According to the tenth aspect of the present invention, in the image processing apparatus according to any one of the seventh to ninth aspects, the thin line appears as a wavelet coefficient of a higher band hierarchy, so that the image quality due to edge rounding also depends on the subband hierarchy. Since the degree of influence is different, the quantization level assigned to the wavelet coefficient is changed according to the sub-band hierarchy, so that the influence of the rounded edge on the image quality can be further reduced.
[0148]
According to an eleventh aspect of the present invention, by providing the image processing apparatus of any one of the first to tenth aspects, the image data is vertically lengthened due to a difference in magnification processing between the main scanning direction and the sub-scanning direction. For image reading devices that have a known anisotropy in the direction and the horizontal direction, and in which the main scanning direction is determined to be a direction in which edge rounding is likely to occur, a compression code with small vertical and horizontal image quality differences for image data after scaling processing. It is possible to improve the quality of an image reproduced by a printer or the like.
[0149]
According to the twelfth aspect of the present invention, in the image reading apparatus according to the eleventh aspect, specifically, the image reading apparatus is positioned in a direction of the wavelet transform processing corresponding to a main scanning direction in which edge rounding is likely to occur due to anisotropic factors. Since the quantization level assigned to the wavelet coefficient is relatively suppressed, the influence on the image quality due to the edge rounding can be reduced, and the image quality of the reproduced image can be improved. Even if the quantization level assigned to the wavelet coefficient located in the direction of the wavelet transform processing corresponding to the sub-scanning direction in which dullness is less likely to occur, even if the quantization level is relatively large, the image quality is hardly affected. Can be made possible.
[0150]
According to a thirteenth aspect of the present invention, in the image reading device according to the twelfth aspect, more specifically, when the main scanning direction in which edge rounding is likely to occur is the horizontal direction of the wavelet transform processing, the sub-band LH system is used. Since the quantization level assigned to the wavelet coefficients located in the hierarchy of is relatively suppressed, the influence on the image quality due to the edge rounding can be reduced, and the image quality of the reproduced image can be improved. In other words, even if the quantization level assigned to the wavelet coefficient located in the subband HL hierarchy corresponding to the sub-scanning direction in which edge rounding is less likely to occur, the image quality is hardly affected even if the quantization level is relatively large. Can enable efficient compression encoding.
[0151]
According to the fourteenth aspect of the present invention, in the image reading apparatus according to the twelfth aspect, more specifically, when the main scanning direction in which edge rounding is likely to occur is the vertical direction of the wavelet transform processing, the subband HL system is used. Since the quantization level assigned to the wavelet coefficients located in the hierarchy of is relatively suppressed, the influence on the image quality due to the edge rounding can be reduced, and the image quality of the reproduced image can be improved. In other words, even if the quantization level assigned to the wavelet coefficient located in the sub-band LH system hierarchy corresponding to the sub-scanning direction in which edge rounding is less likely to occur, the image quality is hardly affected even if the quantization level is relatively large. Can enable efficient compression encoding.
[0152]
According to the fifteenth aspect, in the image reading apparatus according to any one of the eleventh to fourteenth aspects, even in the case of reduction / magnification, edge rounding may occur in the main scanning direction in which the electric magnification processing is performed. However, in general, the level is often lower than at the time of enlargement / reduction, so that the quantization level is set lower than at the time of enlargement / reduction, so that appropriate measures can be taken.
[0153]
According to the sixteenth aspect of the present invention, in the image reading apparatus according to any one of the eleventh to fifteenth aspects, the degree of edge rounding varies depending on the magnification in the main scanning direction which causes anisotropy. The larger the size, the greater the degree of edge rounding, so the degree of compression in the direction in which edge rounding is likely to be varied according to the scaling factor, further reducing the effect on image quality due to edge rounding. be able to.
[0154]
According to the seventeenth aspect of the present invention, in the image reading apparatus according to the sixteenth aspect, the degree of edge rounding varies depending on the magnification in the main scanning direction which causes anisotropy. The degree of quantization increases, so the degree of quantization assigned to the wavelet coefficient located in the direction of the wavelet transform processing corresponding to the direction in which edge rounding is likely to occur varies according to the scaling factor. Impact on the vehicle can be further reduced.
[0155]
According to the eighteenth aspect of the present invention, in the image reading apparatus according to the seventeenth aspect, the degree of edge rounding varies depending on the magnification in the main scanning direction which causes anisotropy. More specifically, if the direction in which edge rounding is likely to occur is the horizontal direction of the wavelet transform processing, the quantization levels assigned to the wavelet coefficients located in the subband LH system hierarchy are made different. Therefore, the influence of the rounded edge on the image quality can be further reduced.
[0156]
According to the nineteenth aspect of the present invention, in the image reading apparatus according to the seventeenth aspect, the degree of edge rounding varies depending on the magnification in the main scanning direction which causes anisotropy. More specifically, if the direction in which edge rounding is likely to occur is the vertical direction of the wavelet transform processing, the quantization levels assigned to the wavelet coefficients located in the subband HL system hierarchy are made different. Therefore, the influence of the rounded edge on the image quality can be further reduced.
[0157]
According to the twentieth aspect, in the image reading apparatus according to any one of the seventeenth to nineteenth aspects, the thin line appears as a wavelet coefficient in a higher-band hierarchy, so that the image quality due to edge rounding also depends on the sub-band hierarchy. Since the degree of influence is different, the quantization level assigned to the wavelet coefficient is changed according to the sub-band hierarchy, so that the influence of the rounded edge on the image quality can be further reduced.
[0158]
According to the image forming apparatus of the present invention, since the image reading apparatus of any one of claims 11 to 20 is provided, it is possible to perform the compression encoding of the image data after the scaling process with small vertical and horizontal image quality differences. This makes it possible to improve the quality of an image reproduced by the printer engine.
[0159]
According to the twenty-second aspect of the present invention, since the image processing apparatus according to any one of the first to tenth aspects is provided, the known anisotropy of the image data in the vertical direction and the horizontal direction due to the raster scanning of the interlace method is caused. With respect to a television camera which has a characteristic and a horizontal scanning direction which is a raster scanning direction is determined to be a direction in which edge rounding is likely to occur, it is possible to perform compression encoding of image data after imaging with little difference in image quality in vertical and horizontal directions, It is possible to improve the image quality of the image reproduced by the above method.
[0160]
According to a twenty-third aspect of the present invention, since the image processing apparatus according to any one of the first to tenth aspects is provided, image data is generated by a difference in known output characteristics between a vertical direction and a horizontal direction in output means. For an image output device that has a known anisotropy in the vertical direction and the horizontal direction, and is determined to be in a direction in which edge rounding is likely to occur due to a difference in known output characteristics, the anisotropy in the output unit is eliminated. By imparting the opposite anisotropy at the stage of quantizing the image data to cancel each other, it is possible to improve the image quality of the image reproduced by the output unit.
[0161]
According to a twenty-fourth aspect of the present invention, the image output apparatus according to the twenty-second aspect is a copier, and has a characteristic that a thick line is likely to appear in either the vertical direction or the horizontal direction as print output characteristics. In the case of a model, the habit is canceled and a high-quality copy image having no image quality difference between the vertical direction and the horizontal direction can be obtained.
[0162]
According to the twenty-fifth aspect, by providing the image processing device according to any one of the first to tenth aspects, the image data can be vertically and horizontally shifted in accordance with the specification of the user operation for the editing process. For information processing devices such as personal computers that are determined to have anisotropy, image data after editing operations can be compressed and encoded with little difference in image quality in the vertical and horizontal directions, resulting in higher image quality of images reproduced on displays, printers, etc. Can be achieved.
[0163]
According to the program of the twenty-sixth aspect, the same effects as those of the first aspect can be obtained.
[0164]
According to the computer-readable storage medium of the twenty-seventh aspect, the same effects as those of the twenty-sixth aspect can be obtained.
[Brief description of the drawings]
FIG. 1 is a functional block diagram of a system for realizing a basic algorithm of the JPEG2000 system which is a premise of a first embodiment of the present invention.
FIG. 2 is an explanatory diagram showing a divided rectangular area of each component of an original image.
FIG. 3 is an explanatory diagram showing subbands at each decomposition level when the number of decomposition levels is three.
FIG. 4 is an explanatory diagram showing a precinct.
FIG. 5 is an explanatory diagram showing an example of a procedure for ranking bit planes. It is.
FIG. 6 is a schematic diagram illustrating a code stream of encoded image data.
FIG. 7 is a schematic configuration diagram of a digital full-color copying machine to which the embodiment is applied;
FIG. 8 is a block diagram showing the electrical connection.
FIG. 9 is a block diagram showing a configuration example of the IPP.
FIG. 10 is a block diagram showing a configuration example of an IMAC.
FIG. 11 is an explanatory diagram schematically showing a difference in scaling processing between a main scanning direction and a sub-scanning direction.
FIG. 12 is an explanatory diagram schematically showing characteristics of each subband by a wavelet transform process.
FIG. 13 is an explanatory diagram showing the relationship between the hierarchical structure of subbands and the main scanning direction / sub-scanning direction.
FIG. 14 is an explanatory diagram showing an example of a quantization level assignment table.
FIG. 15 is a schematic flowchart illustrating a control example of a variable-size copy operation.
FIG. 16 is an explanatory diagram showing an example of a quantization level assignment table during scaling.
FIG. 17 is an explanatory diagram showing an example of a quantization level assignment table by truncating bit planes.
FIG. 18 is a schematic block diagram illustrating a hardware configuration example of a television camera according to a second embodiment of the present invention.
FIG. 19 is a schematic block diagram illustrating a hardware configuration example of a PC according to the third embodiment of this invention.
FIG. 20 is an explanatory diagram schematically showing a difference in scaling processing between the main scanning direction and the sub-scanning direction.
FIG. 21 is an explanatory diagram of edge rounding due to a difference in scaling processing.
FIG. 22 is an explanatory diagram illustrating a print output example affected by edge rounding.
FIG. 23 is an explanatory diagram illustrating a print output example based on the habit of the printer.
[Explanation of symbols]
2 Printer, output means
3 Scanner, input means
26 Exposure means
28 Sub-scanning means
33 photoelectric conversion element
48 storage device
81 Image input device

Claims (27)

画像データを、2次元ウェーブレット係数への変換、量子化及び符号化という手順で圧縮符号化する画像処理装置において、
圧縮符号化の対象となる2次元の画像データについて縦方向と横方向との異方性の有無を判定する異方性判定手段と、
この異方性判定手段により異方性を有すると判定された画像データに対してその異方性の要因に基づき2次元ウェーブレット係数に対して同一階層のサブバンド位置に応じて圧縮率の異なる量子化を行う量子化手段と、
を備える画像処理装置。
In an image processing apparatus that compresses and encodes image data in a procedure of conversion, quantization, and encoding into two-dimensional wavelet coefficients,
Anisotropic determining means for determining whether or not the two-dimensional image data to be compression-coded has anisotropy in the vertical and horizontal directions;
The image data determined to have anisotropy by the anisotropy determining means has a different compression ratio for the two-dimensional wavelet coefficient according to the subband position in the same layer based on the anisotropy factor. Quantization means for performing quantization,
An image processing apparatus comprising:
前記量子化手段は、判定された異方性の要因によりエッジなまりの出やすい方向の圧縮率を他方向の圧縮率に対して相対的に抑えるように圧縮率の異なる量子化を行う請求項1記載の画像処理装置。2. The quantization unit according to claim 1, wherein the quantization unit performs quantization with different compression ratios such that a compression ratio in a direction in which edge rounding is likely to occur is relatively suppressed with respect to a compression ratio in another direction due to the determined anisotropy factor. The image processing apparatus according to claim 1. 前記量子化手段は、判定された異方性の要因によりエッジなまりの出やすい方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルをウェーブレット変換処理の他方向に位置するウェーブレット係数に割り当てる量子化レベルに対して相対的に低くすることで圧縮率の異なる量子化を行う請求項1又は2記載の画像処理装置。The quantizing means assigns a quantization level to be assigned to a wavelet coefficient located in a direction of a wavelet transform process corresponding to a direction in which edge rounding is likely to occur due to the determined anisotropy factor. 3. The image processing apparatus according to claim 1, wherein the quantization is performed at a different compression ratio by making the quantization level relatively lower than a quantization level assigned to the coefficient. 前記量子化手段は、エッジなまりの出やすい方向が、ウェーブレット変換処理の水平方向である場合、サブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルをサブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルに対して相対的に低くする請求項3記載の画像処理装置。If the direction in which edge rounding is likely to occur is the horizontal direction of the wavelet transform processing, the quantization means positions the quantization level assigned to the wavelet coefficient located in the subband LH system hierarchy in the subband HL system hierarchy. 4. The image processing device according to claim 3, wherein the quantization level is relatively lower than a quantization level assigned to the wavelet coefficient. 前記量子化手段は、エッジなまりの出やすい方向が、ウェーブレット変換処理の垂直方向である場合、サブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルをサブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルに対して相対的に低くする請求項3記載の画像処理装置。If the direction in which edge rounding is likely to occur is the vertical direction of the wavelet transform process, the quantization means positions the quantization level assigned to the wavelet coefficient located in the subband HL hierarchy in the subband HL hierarchy. 4. The image processing device according to claim 3, wherein the quantization level is relatively lower than a quantization level assigned to the wavelet coefficient. 前記異方性判定手段は、異方性の要因の程度も判定し、
前記量子化手段は、判定された異方性の要因の程度に応じてエッジなまりの出やすい方向の圧縮率の程度を異ならせる請求項2ないし5の何れか一記載の画像処理装置。
The anisotropy determination means also determines the degree of an anisotropy factor,
The image processing apparatus according to claim 2, wherein the quantization unit changes a degree of a compression ratio in a direction in which edge rounding is likely to occur according to the determined degree of an anisotropy factor.
前記量子化手段は、判定された異方性の要因の程度に応じてエッジなまりの出やすい方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルを異ならせる請求項6記載の画像処理装置。7. The quantization unit according to claim 6, wherein the quantization unit changes a quantization level to be assigned to a wavelet coefficient located in a direction of a wavelet transform process corresponding to a direction in which edge rounding is likely to occur according to the degree of the determined anisotropy factor. Image processing device. 前記量子化手段は、エッジなまりの出やすい方向が、ウェーブレット変換処理の水平方向である場合、判定された異方性の要因の程度に応じてサブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルを異ならせる請求項7記載の画像処理装置。If the direction in which edge rounding is likely to occur is the horizontal direction of the wavelet transform processing, the quantization means allocates the wavelet coefficients located in the subband LH system hierarchy according to the determined anisotropy factor. 8. The image processing apparatus according to claim 7, wherein the quantization levels are different. 前記量子化手段は、エッジなまりの出やすい方向が、ウェーブレット変換処理の垂直方向である場合、判定された異方性の要因の程度に応じてサブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルを異ならせる請求項7記載の画像処理装置。If the direction in which edge rounding is likely to occur is the vertical direction of the wavelet transform processing, the quantization means allocates the wavelet coefficients located in the subband HL hierarchy according to the determined degree of the anisotropy factor. 8. The image processing apparatus according to claim 7, wherein the quantization levels are different. 前記量子化手段は、サブバンドの階層に応じてウェーブレット係数に割り当てる量子化レベルを異ならせる請求項7ないし9の何れか一記載の画像処理装置。The image processing apparatus according to claim 7, wherein the quantization unit changes a quantization level assigned to a wavelet coefficient according to a subband hierarchy. 原稿を露光する露光手段と、前記原稿と前記露光手段とを相対的に副走査方向に移動させる副走査手段と、副走査方向に露光走査される前記原稿からの反射光を受光しその画像を変換して読取る光電変換素子とを備えるとともに、前記光電変換素子により読取られた画像データの主走査方向の変倍を電気的な変倍処理により行い、副走査方向の変倍を前記副走査手段の機械的な変倍処理により行う変倍機能を有する画像読取装置において、
変倍処理後の2次元の画像データを圧縮符号化の対象とする請求項1ないし10の何れか一記載の画像処理装置と、
この画像処理装置により圧縮符号化された符号データを記憶する記憶装置と、を備え、
前記画像処理装置が備える前記異方性判定手段は、主走査方向と副走査方向との変倍処理の違いを要因として前記画像データについて縦方向と横方向とで既知の異方性を有し、主走査方向がエッジなまりの出やすい方向と判定する、
ことを特徴とする画像読取装置。
Exposure means for exposing a document, sub-scanning means for relatively moving the document and the exposure means in the sub-scanning direction, receiving reflected light from the document which is exposed and scanned in the sub-scanning direction, and A photoelectric conversion element that converts and reads the image data, performs magnification in the main scanning direction of the image data read by the photoelectric conversion element by an electric magnification process, and performs magnification in the sub-scanning direction by the sub-scanning means. In an image reading apparatus having a scaling function performed by mechanical scaling processing,
The image processing apparatus according to claim 1, wherein two-dimensional image data after the scaling processing is to be subjected to compression encoding.
A storage device that stores code data that has been compression-encoded by the image processing device,
The anisotropy determination means provided in the image processing apparatus has a known anisotropy in the vertical direction and the horizontal direction with respect to the image data due to a difference in magnification processing between the main scanning direction and the sub-scanning direction. Determining that the main scanning direction is a direction in which edge rounding is likely to occur.
An image reading apparatus, comprising:
前記量子化手段は、主走査方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルをウェーブレット変換処理の他方向に位置するウェーブレット係数に割り当てる量子化レベルに対して相対的に低くすることで圧縮率の異なる量子化を行う請求項11記載の画像読取装置。The quantization means assigns a quantization level assigned to a wavelet coefficient located in the direction of the wavelet transform process corresponding to the main scanning direction relative to a quantization level assigned to a wavelet coefficient located in the other direction of the wavelet transform process. 12. The image reading apparatus according to claim 11, wherein quantization with different compression ratios is performed by lowering the quantization. 前記量子化手段は、主走査方向が、ウェーブレット変換処理の水平方向である場合、サブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルをサブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルに対して相対的に低くする請求項12記載の画像読取装置。When the main scanning direction is the horizontal direction of the wavelet transform process, the quantization means assigns a quantization level to be assigned to a wavelet coefficient located in the subband LH layer to a wavelet coefficient located in the subband HL layer. 13. The image reading device according to claim 12, wherein the quantization level is set relatively low with respect to the assigned quantization level. 前記量子化手段は、主走査方向が、ウェーブレット変換処理の垂直方向である場合、サブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルをサブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルに対して相対的に低くする請求項12記載の画像読取装置。When the main scanning direction is the vertical direction of the wavelet transform processing, the quantization means assigns a quantization level to be assigned to a wavelet coefficient located in the subband HL hierarchy to a wavelet coefficient located in the subband HL hierarchy. 13. The image reading device according to claim 12, wherein the quantization level is set relatively low with respect to the assigned quantization level. 前記量子化手段は、主走査方向の変倍率が縮小変倍の場合には拡大変倍の場合よりも主走査方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルを高くする請求項11ないし14の何れか一記載の画像読取装置。The quantizing means increases the quantization level assigned to the wavelet coefficient located in the direction of the wavelet transform process corresponding to the main scanning direction when the magnification in the main scanning direction is reduction / magnification, compared with the case of enlargement / magnification. The image reading device according to claim 11, wherein the image reading device performs the image reading. 前記異方性判定手段は、指定された主走査方向の変倍率を異方性の要因の程度として判定し、
前記量子化手段は、主走査方向の変倍率に応じて主走査方向の圧縮率の程度を異ならせる請求項11ないし15の何れか一記載の画像読取装置。
The anisotropy determination means determines the designated magnification in the main scanning direction as a degree of an anisotropy factor,
16. The image reading device according to claim 11, wherein the quantization unit changes a degree of a compression ratio in the main scanning direction according to a magnification in the main scanning direction.
前記量子化手段は、主走査方向の変倍率に応じて主走査方向に対応するウェーブレット変換処理の方向に位置するウェーブレット係数に割り当てる量子化レベルを異ならせる請求項16記載の画像読取装置。17. The image reading apparatus according to claim 16, wherein the quantization means changes a quantization level assigned to a wavelet coefficient located in a direction of a wavelet transform process corresponding to the main scanning direction according to a magnification in the main scanning direction. 前記量子化手段は、主走査方向がウェーブレット変換処理の水平方向である場合、主走査方向の変倍率に応じてサブバンドLH系の階層に位置するウェーブレット係数に割り当てる量子化レベルを異ならせる請求項17記載の画像読取装置。When the main scanning direction is the horizontal direction of the wavelet transform processing, the quantization means changes a quantization level to be assigned to a wavelet coefficient located in a subband LH hierarchy according to a scaling factor in the main scanning direction. 18. The image reading device according to item 17. 前記量子化手段は、主走査方向がウェーブレット変換処理の垂直方向である場合、主走査方向の変倍率に応じてサブバンドHL系の階層に位置するウェーブレット係数に割り当てる量子化レベルを異ならせる請求項17記載の画像読取装置。When the main scanning direction is the vertical direction of the wavelet transform processing, the quantization means changes a quantization level to be assigned to a wavelet coefficient located in a subband HL hierarchy according to a scaling factor in the main scanning direction. 18. The image reading device according to item 17. 前記量子化手段は、サブバンドの階層に応じてウェーブレット係数に割り当てる量子化レベルを異ならせる請求項17ないし19の何れか一記載の画像読取装置。20. The image reading apparatus according to claim 17, wherein the quantization unit changes a quantization level assigned to a wavelet coefficient according to a subband hierarchy. 請求項11ないし20の何れか一記載の画像読取装置と、
この画像読取装置により読取られその画像処理装置により画像処理された符号データから復号化手段により伸長された画像データに基づき用紙上に画像を形成するプリンタエンジンと、
を備える画像形成装置。
An image reading device according to any one of claims 11 to 20,
A printer engine for forming an image on a sheet based on image data read by the image reading device and decompressed by decoding means from code data image-processed by the image processing device;
An image forming apparatus comprising:
撮像対象を撮像素子により2次元にインターレース方式によりラスタースキャニングして読取るテレビジョンカメラにおいて、
撮像された2次元の画像データを圧縮符号化の対象とする請求項1ないし10の何れか一記載の画像処理装置と、
この画像処理装置により圧縮符号化された符号データを記憶する記憶装置と、を備え、
前記画像処理装置が備える前記異方性判定手段は、前記インターレース方式のラスタースキャニングを要因として前記画像データについて縦方向と横方向とで既知の異方性を有し、ラスタースキャニング方向となる水平方向をエッジなまりの出やすい方向と判定する、
ことを特徴とするテレビジョンカメラ。
2. Description of the Related Art In a television camera which reads an object to be imaged by raster scanning in a two-dimensional manner by an image sensor using an interlace method,
The image processing apparatus according to claim 1, wherein the captured two-dimensional image data is a target of compression encoding.
A storage device that stores code data that has been compression-encoded by the image processing device,
The anisotropy determination unit included in the image processing apparatus has a known anisotropy in the vertical direction and the horizontal direction with respect to the image data due to the interlaced raster scanning, and the horizontal direction becomes a raster scanning direction. Is determined as a direction in which edge rounding is likely to occur,
A television camera, characterized in that:
画像データを入力する入力手段と、
この入力手段により入力された2次元の画像データを圧縮符号化の対象とする請求項1ないし10の何れか一記載の画像処理装置と、
この画像処理装置により圧縮符号化された符号データを記憶する記憶装置と、
この記憶装置に記憶された符号データを画像データに復号する復号手段と、
縦方向と横方向とでの既知の出力特性の違いを有し、前記復号手段により復号された画像データに基づき2次元画像の出力処理を行う出力手段と、
を備え、
前記画像処理装置が備える前記異方性判定手段は、前記出力手段における縦方向と横方向とでの既知の出力特性の違いを要因として前記画像データについて縦方向と横方向とで既知の異方性を有し、既知の出力特性の違いによりエッジなまりの出やすい方向を判定する、
ことを特徴とする画像出力装置。
Input means for inputting image data;
The image processing apparatus according to claim 1, wherein two-dimensional image data input by the input unit is to be subjected to compression encoding.
A storage device for storing code data compressed and encoded by the image processing device;
Decoding means for decoding the code data stored in the storage device into image data;
An output unit having a known output characteristic difference between the vertical direction and the horizontal direction, and performing a two-dimensional image output process based on the image data decoded by the decoding unit;
With
The anisotropy determining means included in the image processing apparatus is configured to determine a known anisotropy in the vertical direction and the horizontal direction of the image data due to a difference in a known output characteristic between the vertical direction and the horizontal direction in the output unit. Has a property, and determines a direction in which edge rounding is likely to occur due to a difference in known output characteristics.
An image output device characterized by the above-mentioned.
前記入力手段がスキャナであり、前記出力手段がプリンタであり、縦方向と横方向とでの既知の出力特性の違いが印刷画像上で太線/細線の出る方向の違いである、ことを特徴とする請求項22記載の画像出力装置。Wherein the input means is a scanner, the output means is a printer, and a difference between known output characteristics in the vertical direction and the horizontal direction is a difference in a direction in which a thick line / thin line appears on a print image. 23. The image output device according to claim 22, wherein: 画像データを取得するデータ取得手段と、
このデータ取得手段により取得された2次元の画像データについてユーザ操作に従い編集処理を圧縮符号化の対象とする請求項1ないし10の何れか一記載の画像処理装置と、
この画像処理装置により圧縮符号化された符号データを記憶する記憶装置と、
この記憶装置に記憶された符号データを画像データに復号する復号手段と、
を備え、
前記画像処理装置が備える前記異方性判定手段は、編集処理に対するユーザ操作の指定内容を要因として前記画像データについて縦方向と横方向とで異方性を有すると推定する、
ことを特徴とする情報処理装置。
Data acquisition means for acquiring image data;
The image processing apparatus according to any one of claims 1 to 10, wherein the two-dimensional image data acquired by the data acquisition unit is subjected to compression encoding according to a user operation.
A storage device for storing code data compressed and encoded by the image processing device;
Decoding means for decoding the code data stored in the storage device into image data;
With
The anisotropy determination unit included in the image processing apparatus estimates that the image data has anisotropy in the vertical direction and the horizontal direction due to a specified content of a user operation for an editing process,
An information processing apparatus characterized by the above-mentioned.
請求項1ないし10の何れか一記載の画像処理装置における各手段の機能を当該画像処理装置が備えるコンピュータに実行させるプログラム。A program for causing a computer of the image processing apparatus to execute a function of each unit in the image processing apparatus according to any one of claims 1 to 10. 請求項26記載のプログラムを記憶しているコンピュータに読取り可能な記憶媒体。A computer-readable storage medium storing the program according to claim 26.
JP2002274012A 2002-09-19 2002-09-19 Image processing apparatus, image processing method, program, and storage medium Expired - Fee Related JP4014087B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002274012A JP4014087B2 (en) 2002-09-19 2002-09-19 Image processing apparatus, image processing method, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002274012A JP4014087B2 (en) 2002-09-19 2002-09-19 Image processing apparatus, image processing method, program, and storage medium

Publications (2)

Publication Number Publication Date
JP2004112532A true JP2004112532A (en) 2004-04-08
JP4014087B2 JP4014087B2 (en) 2007-11-28

Family

ID=32270617

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002274012A Expired - Fee Related JP4014087B2 (en) 2002-09-19 2002-09-19 Image processing apparatus, image processing method, program, and storage medium

Country Status (1)

Country Link
JP (1) JP4014087B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100776822B1 (en) 2006-04-11 2007-11-19 고려대학교 산학협력단 Method for encoding stereo residual image and Apparatus thereof
CN108337511A (en) * 2011-11-07 2018-07-27 佳能株式会社 Image encoding apparatus
CN110113619A (en) * 2019-04-17 2019-08-09 浙江大华技术股份有限公司 A kind of coding method, device, electronic equipment and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100776822B1 (en) 2006-04-11 2007-11-19 고려대학교 산학협력단 Method for encoding stereo residual image and Apparatus thereof
CN108337511A (en) * 2011-11-07 2018-07-27 佳能株式会社 Image encoding apparatus
US10645401B2 (en) 2011-11-07 2020-05-05 Canon Kabushiki Kaisha Image coding apparatus, image coding method, image decoding apparatus, image decoding method, and storage medium
US10652554B2 (en) 2011-11-07 2020-05-12 Canon Kabushiki Kaisha Image coding apparatus, image coding method, image decoding apparatus, image decoding method, and storage medium
US10750192B2 (en) 2011-11-07 2020-08-18 Canon Kabushiki Kaisha Image coding apparatus, image coding method, image decoding apparatus, image decoding method, and storage medium
CN108337511B (en) * 2011-11-07 2020-09-04 佳能株式会社 Image encoding apparatus
CN110113619A (en) * 2019-04-17 2019-08-09 浙江大华技术股份有限公司 A kind of coding method, device, electronic equipment and storage medium
CN110113619B (en) * 2019-04-17 2021-06-15 浙江大华技术股份有限公司 Encoding method, encoding device, electronic equipment and storage medium

Also Published As

Publication number Publication date
JP4014087B2 (en) 2007-11-28

Similar Documents

Publication Publication Date Title
US7336852B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus and recording medium for image processing program
US20080247655A1 (en) Image processing apparatus
JP4136951B2 (en) Image processing apparatus, program, and storage medium
JP2004236299A (en) Image processing apparatus, image forming apparatus, image processing method, program and storage medium
EP1635576A1 (en) Image processing device and image processing program
JP4014087B2 (en) Image processing apparatus, image processing method, program, and storage medium
JP2004227406A (en) Image processor, program and storage medium
JP4169190B2 (en) Image reading apparatus, image forming apparatus, image reading processing method, program, and storage medium
JP4013721B2 (en) Image processing device
JP3912752B2 (en) Image processing apparatus, program, and storage medium
JP4093871B2 (en) Image forming apparatus, program, and storage medium
JP5078199B2 (en) Image encoding apparatus and method, program code, and storage medium
JP3784755B2 (en) Image processing apparatus, image forming apparatus, program, and storage medium
JP4090352B2 (en) Image processing apparatus, image processing method, image forming apparatus, program, and storage medium
JP4194373B2 (en) Image processing apparatus, program, and storage medium
JP4010452B2 (en) Image processing apparatus and image processing method
JP2004228952A (en) Image processor, program for processing image, and storage medium
JP4111863B2 (en) Image processing apparatus, image forming apparatus, image processing program, and storage medium
JP2004236295A (en) Image processing apparatus, program for image processing and storage medium
JP2004236230A (en) Image processing apparatus, program, and storage medium
JP4175613B2 (en) Image reading apparatus, image forming apparatus, image reading processing method, program, and storage medium
JP2004229097A (en) Image processor, program and storage medium
JP2006246378A (en) Device and method for processing image, and computer-readable recording medium having recorded program for executing image processing method by computer
JP2004236219A (en) Image compression apparatus, decoder, image forming apparatus, program, and storage medium
JP2005130244A (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20041007

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050223

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050526

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20060925

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070611

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070810

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070906

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100921

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4014087

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100921

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110921

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120921

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130921

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees