JP6129337B2 - Image compression / decompression apparatus and image forming apparatus - Google Patents
Image compression / decompression apparatus and image forming apparatus Download PDFInfo
- Publication number
- JP6129337B2 JP6129337B2 JP2015549078A JP2015549078A JP6129337B2 JP 6129337 B2 JP6129337 B2 JP 6129337B2 JP 2015549078 A JP2015549078 A JP 2015549078A JP 2015549078 A JP2015549078 A JP 2015549078A JP 6129337 B2 JP6129337 B2 JP 6129337B2
- Authority
- JP
- Japan
- Prior art keywords
- plane
- pixel
- color difference
- pixel block
- processing unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000006835 compression Effects 0.000 title claims description 45
- 238000007906 compression Methods 0.000 title claims description 45
- 230000006837 decompression Effects 0.000 title claims description 26
- 238000012545 processing Methods 0.000 claims description 51
- 238000005070 sampling Methods 0.000 claims description 21
- 238000000034 method Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000009499 grossing Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012805 post-processing Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000006866 deterioration Effects 0.000 description 1
- 230000003467 diminishing effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/132—Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
- H04N1/56—Processing of colour picture signals
- H04N1/58—Edge or detail enhancement; Noise or error suppression, e.g. colour misregistration correction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
- H04N1/56—Processing of colour picture signals
- H04N1/60—Colour correction or control
- H04N1/6002—Corrections within particular colour systems
- H04N1/6005—Corrections within particular colour systems with luminance or chrominance signals, e.g. LC1C2, HSL or YUV
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
- H04N1/64—Systems for the transmission or the storage of the colour picture signal; Details therefor, e.g. coding or decoding means therefor
- H04N1/648—Transmitting or storing the primary (additive or subtractive) colour signals; Compression thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/136—Incoming video signal characteristics or properties
- H04N19/14—Coding unit complexity, e.g. amount of activity or edge presence estimation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/186—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/59—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
- H04N1/64—Systems for the transmission or the storage of the colour picture signal; Details therefor, e.g. coding or decoding means therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/0077—Types of the still picture apparatus
- H04N2201/0094—Multifunctional device, i.e. a device capable of all of reading, reproducing, copying, facsimile transception, file transception
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Image Processing (AREA)
Description
本発明は、画像圧縮伸張装置および画像形成装置に関するものである。 The present invention relates to an image compression / decompression apparatus and an image forming apparatus.
JPEG(Joint Photographic Experts Group)などの画像圧縮では、画像を、YCbCr空間に変換した後、DCT(Discrete Cosine Transform)などによって圧縮している。このとき、人間の目が輝度変化には敏感であるが色差の変化には鈍感であるという視覚特性を利用し、圧縮率を向上させるためにCbプレーンおよびCrプレーンをサブサンプリングすることがある(例えば特許文献1参照)。 In image compression such as JPEG (Joint Photographic Experts Group), an image is converted into a YCbCr space and then compressed by DCT (Discrete Cosine Transform) or the like. At this time, the Cb plane and the Cr plane may be sub-sampled in order to improve the compression ratio by utilizing the visual characteristic that the human eye is sensitive to a change in luminance but insensitive to a change in color difference. For example, see Patent Document 1).
しかしながら、上述のサブサンプリングは、中間階調が存在せず低濃度と高濃度の2値で表現される文字などの画像のエッジ部において、色の滲みを生じ画質低下を招く。 However, the above-described sub-sampling causes color blurring at the edge portion of an image such as a character represented by binary values of low density and high density with no intermediate gradation and causes deterioration in image quality.
さらに、これらの圧縮伸長後のエッジに対してスムージング等の処理を施す場合、エッジ部に色の滲みを生じた状態では適切に処理できない可能性がある。 Furthermore, when processing such as smoothing is performed on these edges after compression / expansion, there is a possibility that the processing cannot be appropriately performed in a state where color blur is generated in the edge portion.
本発明は、上記の問題に鑑みてなされたものであり、良好な圧縮率および良好な画質でのサブサンプリングを可能とし、伸張後のスムージング等の後処理を良好に行うことできる画像圧縮伸張装置および画像形成装置を得ることを目的とする。 The present invention has been made in view of the above problems, and is an image compression / decompression apparatus that enables sub-sampling with a good compression rate and good image quality, and that can perform post-processing such as smoothing after decompression. It is another object of the present invention to obtain an image forming apparatus.
本発明に係る画像圧縮伸張装置は、所定解像度の色差プレーンをサブサンプリングするサブサンプリング部と、輝度プレーンおよびサブサンプリング部によりサブサンプリングされた前記色差プレーンに対して圧縮処理を行う圧縮処理部と、前記圧縮処理部の圧縮処理により生成された圧縮データを前記輝度プレーンおよび前記サブサンプリングされた色差プレーンへ伸張する伸張処理部と、前記サブサンプリングされた色差プレーンに対して前記所定解像度へ戻すための補間処理を行う補間処理部とを備える。そして、前記サブサンプリング部は、前記色差プレーンにおける画素ブロック内の複数の画素の画素値を、前記所定解像度でエッジの有無を示す属性プレーンにおける前記画素ブロック内の値に応じて、前記画素ブロックに対応する1つの画素値に変換する。さらに、本発明に係る画像圧縮伸張装置では、(a)前記サブサンプリング部は、前記画素ブロック内で、前記属性プレーンにおけるエッジ有りの画素の、前記色差プレーンの前記画素値の平均値を、前記画素ブロックに対応する1つの画素値とし、前記画素ブロック内に、前記属性プレーンにおけるエッジ有りの画素が存在しない場合、前記画素ブロック内の全画素の、前記色差プレーンの前記画素値の平均値を、前記画素ブロックに対応する1つの画素値とするか、あるいは、(b)前記補間処理部は、前記画素ブロック内に、前記属性プレーンにおけるエッジ有りの画素および前記属性プレーンにおけるエッジ無しの画素が存在し、当該画素ブロック内の、前記属性プレーンにおけるエッジ無しの画素について、前記輝度プレーンの画素値が所定閾値より小さい場合、前記色差プレーンの画素値を、色差なしを示す値にセットする。
An image compression / decompression apparatus according to the present invention includes a sub-sampling unit that sub-samples a color difference plane having a predetermined resolution, a compression processing unit that performs compression processing on the color difference plane sub-sampled by a luminance plane and a sub-sampling unit, A decompression processing unit for decompressing compressed data generated by the compression processing of the compression processing unit to the luminance plane and the subsampled color difference plane; and for returning the subsampled color difference plane to the predetermined resolution. An interpolation processing unit that performs an interpolation process. The sub-sampling unit converts the pixel values of the plurality of pixels in the pixel block in the color difference plane to the pixel block according to the value in the pixel block in the attribute plane indicating the presence / absence of an edge at the predetermined resolution. Convert to one corresponding pixel value. Further, in the image compression / decompression apparatus according to the present invention, (a) the sub-sampling unit calculates an average value of the pixel values of the color difference planes of pixels with edges in the attribute plane in the pixel block. When one pixel value corresponding to the pixel block is present and no pixel with an edge in the attribute plane exists in the pixel block, an average value of the pixel values of the color difference planes of all the pixels in the pixel block is determined. One pixel value corresponding to the pixel block, or (b) the interpolation processing unit includes a pixel having an edge in the attribute plane and a pixel having no edge in the attribute plane in the pixel block. The luminance plane image of the pixel having no edge in the attribute plane in the pixel block exists. If the value is smaller than a predetermined threshold value, the pixel value of the color difference plane is set to a value indicating no color difference.
本発明に係る画像形成装置は、上記の画像圧縮伸張装置を備える。 An image forming apparatus according to the present invention includes the above-described image compression / decompression apparatus.
本発明によれば、良好な圧縮率および良好な画質でのサブサンプリングを可能とし、伸張後のスムージング等の後処理を良好に行うことできる画像圧縮伸張装置および画像形成装置が得られる。 According to the present invention, it is possible to obtain an image compression / decompression apparatus and an image forming apparatus that can perform sub-sampling with a good compression rate and good image quality and can perform post-processing such as smoothing after decompression.
以下、図に基づいて本発明の実施の形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の実施の形態に係る画像圧縮伸張装置の構成を示すブロック図である。この画像圧縮伸張装置は、例えば画像形成装置(プリンター、複写機、複合機など)に内蔵される。 FIG. 1 is a block diagram showing a configuration of an image compression / decompression apparatus according to an embodiment of the present invention. This image compression / decompression apparatus is built in, for example, an image forming apparatus (printer, copier, multifunction machine, etc.).
したがって、プリント機能の場合、PDL(Page Description Language)データから、CMYプレーン、および文字や線画のエッジの有無を1画素あたり1ビットで示す属性プレーン(Aプレーン)が生成される。ここでは、属性プレーンは、白地上の文字や線画のエッジの有無を1画素あたり1ビットで示す。 Therefore, in the case of the print function, a CMY plane and an attribute plane (A plane) indicating the presence / absence of an edge of a character or a line drawing are generated from PDL (Page Description Language) data by 1 bit per pixel. Here, the attribute plane indicates the presence / absence of a white ground character or line drawing edge by 1 bit per pixel.
また、コピー機能の場合、内蔵スキャナーで得られた画像のRGB画像データから、CMYプレーンが生成されるとともに、内蔵スキャナーで得られた画像における文字や線画の領域が検出され、上述の属性プレーンが生成される。 In the case of the copy function, a CMY plane is generated from the RGB image data of the image obtained by the built-in scanner, and a character or line drawing area in the image obtained by the built-in scanner is detected. Generated.
図1に示す画像圧縮伸張装置は、色空間変換部1、サブサンプリング部2、圧縮処理部3,4、伸張処理部5,6、補間処理部7、および色空間変換部8を有する。
The image compression / decompression apparatus shown in FIG. 1 includes a color
色空間変換部1は、上述のCMYプレーンを輝度プレーンおよび色差プレーン(ここでは、Yプレーン、並びにCbプレーンおよびCrプレーン)に変換する。Yプレーン、Cbプレーン、Crプレーン、およびAプレーンは、同一の解像度を有する。
The color
サブサンプリング部2は、色差プレーンにおける画素ブロック内の複数の画素の画素値を、属性プレーンにおける画素ブロック内の値に応じて、画素ブロックに対応する1つの画素値に変換する。これにより、色差プレーンの解像度が低くなる。 The sub-sampling unit 2 converts the pixel values of a plurality of pixels in the pixel block in the color difference plane into one pixel value corresponding to the pixel block according to the value in the pixel block in the attribute plane. This lowers the resolution of the color difference plane.
具体的には、サブサンプリング部2は、画素ブロック内で、属性プレーンにおけるエッジ有りの画素の、色差プレーンの画素値の平均値を、画素ブロックに対応する1つの画素値とし、画素ブロック内に、属性プレーンにおけるエッジ有りの画素が存在しない場合、画素ブロック内の全画素の、色差プレーンの画素値の平均値を、画素ブロックに対応する1つの画素値とする。 Specifically, the sub-sampling unit 2 sets the average value of the pixel values of the color difference plane of pixels with edges in the attribute plane in the pixel block as one pixel value corresponding to the pixel block, and stores the pixel value in the pixel block. When there is no pixel with an edge in the attribute plane, the average value of the color difference plane pixel values of all the pixels in the pixel block is set as one pixel value corresponding to the pixel block.
図2は、サブサンプリングの一例を説明する図である。図2に示すサブサンプリングの場合、画素ブロックは、2×2の画素を含む。この4つの画素について、Yプレーンには4つの画素値Y00,Y01,Y10,Y11、Cbプレーンには4つの画素値Cb00,Cb01,Cb10,Cb11、Crプレーンには4つの画素値Cr00,Cr01,Cr10,Cr11、Aプレーンには4つの画素値A00,A01,A10,A11が存在する。 FIG. 2 is a diagram for explaining an example of sub-sampling. In the case of subsampling shown in FIG. 2, the pixel block includes 2 × 2 pixels. For these four pixels, the Y plane has four pixel values Y00, Y01, Y10, Y11, the Cb plane has four pixel values Cb00, Cb01, Cb10, Cb11, and the Cr plane has four pixel values Cr00, Cr01, There are four pixel values A00, A01, A10, A11 in the Cr10, Cr11, A plane.
これらのプレーンのうち、CbプレーンおよびCrプレーンについてサブサンプリングが実行され、画素ブロック内の4つの画素値(Cb00,Cb01,Cb10,Cb11),(Cr00,Cr01,Cr10,Cr11)から、1つの画素値Cb,Crが得られる。 Among these planes, sub-sampling is executed for the Cb plane and the Cr plane, and one pixel is obtained from the four pixel values (Cb00, Cb01, Cb10, Cb11) and (Cr00, Cr01, Cr10, Cr11) in the pixel block. Values Cb and Cr are obtained.
例えば、A00=A01=1(1はエッジ有りを示す値である)かつA10=A11=0の場合、Cb=(Cb00+Cb01)/2とされ、Cr=(Cr00+Cr01)/2とされる。 For example, when A00 = A01 = 1 (1 is a value indicating the presence of an edge) and A10 = A11 = 0, Cb = (Cb00 + Cb01) / 2 and Cr = (Cr00 + Cr01) / 2.
また、A00=A01=A10=A11=0の場合、Cb=(Cb00+Cb01+Cb10+Cb11)/4とされ、Cr=(Cr00+Cr01+Cr10+Cr11)/4とされる。 When A00 = A01 = A10 = A11 = 0, Cb = (Cb00 + Cb01 + Cb10 + Cb11) / 4 and Cr = (Cr00 + Cr01 + Cr10 + Cr11) / 4.
圧縮処理部3は、輝度プレーンおよびサブサンプリング部2によりサブサンプリングされた色差プレーンに対して、DCTなどで圧縮処理を行う。 The compression processing unit 3 performs compression processing on the luminance plane and the color difference plane subsampled by the subsampling unit 2 using DCT or the like.
圧縮処理部4は、属性プレーンをロスレスで圧縮する。 The compression processing unit 4 compresses the attribute plane without loss.
伸張処理部5は、圧縮処理部4により圧縮された属性プレーンを伸張する。 The decompression processing unit 5 decompresses the attribute plane compressed by the compression processing unit 4.
伸張処理部6は、圧縮処理部3の圧縮処理により生成された圧縮データを輝度プレーンおよびサブサンプリングされた色差プレーンへ伸張する。
The
補間処理部7は、伸張処理部6による伸張で得られた、サブサンプリングされた色差プレーンに対して元の解像度へ戻すための補間処理を行う。具体的には、補間処理部7は、画素ブロックに対応する1つの画素値を、元の解像度の色差プレーンにおける画素ブロック内の複数の画素の画素値にセットする。
The interpolation processing unit 7 performs an interpolation process for returning the subsampled color difference plane obtained by the expansion by the
ただし、この実施の形態では、補間処理部7は、画素ブロック内に、属性プレーンにおけるエッジ有りの画素および属性プレーンにおけるエッジ無しの画素が存在し、かつ、当該画素ブロック内の、属性プレーンにおけるエッジ無しの画素について、輝度プレーンの画素値が所定閾値Thより小さい場合、色差プレーンの画素値を、色差なしを示す値(ここでは、Cb=128,Cr=128)にセットする。 However, in this embodiment, the interpolation processing unit 7 includes a pixel with an edge in the attribute plane and a pixel without an edge in the attribute plane in the pixel block, and an edge in the attribute plane in the pixel block. When the pixel value of the luminance plane is smaller than the predetermined threshold value Th for the non-existing pixel, the pixel value of the color difference plane is set to a value indicating no color difference (here, Cb = 128, Cr = 128).
図2において、例えばA00=A01=1かつA10=A11=0であり、Y00<Thである場合、Cb,Crの値に拘わらず、Cb00=Cr00=128とされる。 In FIG. 2, for example, when A00 = A01 = 1 and A10 = A11 = 0, and Y00 <Th, Cb00 = Cr00 = 128 regardless of the values of Cb and Cr.
色空間変換部8は、伸張処理部6による伸張で得られた輝度プレーンおよび補間処理部7による補間処理で得られた色差プレーンを、CMYプレーンに変換する。
The color space conversion unit 8 converts the luminance plane obtained by the decompression by the
次に、上記装置の動作について説明する。 Next, the operation of the above apparatus will be described.
CMYプレーンおよびAプレーンのデータが得られると、色空間変換部1は、CMYプレーンをYCbCrプレーンに変換する。
When the data of the CMY plane and the A plane are obtained, the color
サブサンプリング部2は、このうちのCbプレーンおよびCrプレーンについて、上述のようにしてサブサンプリングを行う。 The subsampling unit 2 performs subsampling on the Cb plane and the Cr plane among them as described above.
そして、圧縮処理部3は、Yプレーン並びにサブサンプリングされたCbプレーンおよびCrプレーンに対して圧縮処理を行う。また、圧縮処理部4は、属性プレーンをロスレスで圧縮する。 Then, the compression processing unit 3 performs compression processing on the Y plane and the subsampled Cb plane and Cr plane. Further, the compression processing unit 4 compresses the attribute plane without loss.
このようにして、入力されたCMYAデータに対する圧縮データが生成される。この圧縮データは、記憶装置に記憶され、元のCMYAデータを使用する際に、記憶装置から読み出された圧縮データから、元のCMYAデータが復元される。 In this way, compressed data for the input CMYA data is generated. This compressed data is stored in the storage device, and when using the original CMYA data, the original CMYA data is restored from the compressed data read from the storage device.
このとき、伸張処理部5は、圧縮されたAプレーンを伸張し、伸張処理部6は、圧縮されたYCbCrプレーンを伸張する。伸張された時点では、CbプレーンおよびCrプレーンについては、サブサンプリングされているので、補間処理部7が、上述のようにして、1つの画素値に対応する画素ブロック内の複数の画素値を特定する。これにより、CbプレーンおよびCrプレーンの解像度が、元の解像度に戻る。
At this time, the decompression processing unit 5 decompresses the compressed A plane, and the
次に、色空間変換部8は、伸張処理部6による伸張で得られたYプレーンおよび補間処理部7による補間処理で得られたCbプレーンおよびCrプレーンを、CMYプレーンに変換する。
Next, the color space conversion unit 8 converts the Y plane obtained by the expansion by the
以上のように、上記実施の形態によれば、サブサンプリング部2は、色差プレーンにおける画素ブロック内の複数の画素の画素値を、各画素におけるエッジの有無を示す属性プレーンにおける画素ブロック内の値に応じて、画素ブロックに対応する1つの画素値に変換し、圧縮処理部3は、輝度プレーンおよびサブサンプリング部2によりサブサンプリングされた色差プレーンに対して圧縮処理を行う。 As described above, according to the above embodiment, the sub-sampling unit 2 uses the pixel values of the plurality of pixels in the pixel block in the color difference plane as the values in the pixel block in the attribute plane indicating the presence / absence of an edge in each pixel. Accordingly, the compression processing unit 3 performs compression processing on the luminance plane and the color difference plane subsampled by the subsampling unit 2.
これにより、サブサンプリングによる良好な圧縮率を得つつ、エッジの有無に応じてサブサンプリングにより得られる画素値を調整しているので、良好な圧縮率および良好な画質(特に文字や線画の画質)でのサブサンプリングが可能となっており、伸張後のスムージング等の後処理を良好に行うことできる As a result, the pixel value obtained by sub-sampling is adjusted according to the presence or absence of an edge while obtaining a good compression rate by sub-sampling, so a good compression rate and good image quality (particularly character and line image quality) Sub-sampling is possible, and post-processing such as smoothing after decompression can be performed well.
なお、上述の実施の形態は、例示および説明を目的として示したものであり、これがすべてではなく、発明をこの形態に限定するものではない。 In addition, the above-mentioned embodiment is shown for the purpose of illustration and description, and this is not all, and the invention is not limited to this embodiment.
また、上述の実施の形態に対する様々な変更および修正については、当業者には明らかである。そのような変更および修正は、その主題の趣旨および範囲から離れることなく、かつ、意図された利点を弱めることなく行われてもよい。つまり、そのような変更および修正が追加請求項に含まれることを意図している。 Various changes and modifications to the above-described embodiments will be apparent to those skilled in the art. Such changes and modifications may be made without departing from the spirit and scope of the subject matter and without diminishing its intended advantages. That is, such changes and modifications are intended to be included in the appended claims.
本発明は、例えば、画像形成装置内で画像を保持する際の画像圧縮に適用可能である。 The present invention can be applied to, for example, image compression when an image is held in an image forming apparatus.
Claims (3)
輝度プレーンおよびサブサンプリング部によりサブサンプリングされた前記色差プレーンに対して圧縮処理を行う圧縮処理部と、
前記圧縮処理部の圧縮処理により生成された圧縮データを前記輝度プレーンおよび前記サブサンプリングされた色差プレーンへ伸張する伸張処理部と、
前記サブサンプリングされた色差プレーンに対して前記所定解像度へ戻すための補間処理を行う補間処理部とを備え、
前記サブサンプリング部は、前記色差プレーンにおける画素ブロック内の複数の画素の画素値を、前記所定解像度でエッジの有無を示す属性プレーンにおける前記画素ブロック内の値に応じて、前記画素ブロックに対応する1つの画素値に変換し、
前記サブサンプリング部は、前記画素ブロック内で、前記属性プレーンにおけるエッジ有りの画素の、前記色差プレーンの前記画素値の平均値を、前記画素ブロックに対応する1つの画素値とし、前記画素ブロック内に、前記属性プレーンにおけるエッジ有りの画素が存在しない場合、前記画素ブロック内の全画素の、前記色差プレーンの前記画素値の平均値を、前記画素ブロックに対応する1つの画素値とすること、
を特徴とする画像圧縮伸張装置。 A sub-sampling unit that sub-samples a color difference plane of a predetermined resolution;
A compression processing unit that performs compression processing on the color difference plane subsampled by the luminance plane and the subsampling unit;
A decompression processing unit for decompressing compressed data generated by the compression processing of the compression processing unit to the luminance plane and the subsampled color difference plane;
An interpolation processing unit that performs an interpolation process for returning the subsampled color difference plane to the predetermined resolution;
The sub-sampling unit corresponds to the pixel block with pixel values of a plurality of pixels in the pixel block in the color difference plane according to a value in the pixel block in the attribute plane indicating presence / absence of an edge at the predetermined resolution. Convert to one pixel value ,
In the pixel block, the sub-sampling unit sets an average value of the pixel values of the color difference plane of pixels having an edge in the attribute plane as one pixel value corresponding to the pixel block. In addition, when there is no pixel with an edge in the attribute plane, the average value of the pixel values of the color difference plane of all the pixels in the pixel block is set as one pixel value corresponding to the pixel block;
An image compression / decompression apparatus characterized by the above.
輝度プレーンおよびサブサンプリング部によりサブサンプリングされた前記色差プレーンに対して圧縮処理を行う圧縮処理部と、
前記圧縮処理部の圧縮処理により生成された圧縮データを前記輝度プレーンおよび前記サブサンプリングされた色差プレーンへ伸張する伸張処理部と、
前記サブサンプリングされた色差プレーンに対して前記所定解像度へ戻すための補間処理を行う補間処理部とを備え、
前記サブサンプリング部は、前記色差プレーンにおける画素ブロック内の複数の画素の画素値を、前記所定解像度でエッジの有無を示す属性プレーンにおける前記画素ブロック内の値に応じて、前記画素ブロックに対応する1つの画素値に変換し、
前記補間処理部は、前記画素ブロック内に、前記属性プレーンにおけるエッジ有りの画素および前記属性プレーンにおけるエッジ無しの画素が存在し、当該画素ブロック内の、前記属性プレーンにおけるエッジ無しの画素について、前記輝度プレーンの画素値が所定閾値より小さい場合、前記色差プレーンの画素値を、色差なしを示す値にセットすることを特徴とする画像圧縮伸張装置。 A sub-sampling unit that sub-samples a color difference plane of a predetermined resolution;
A compression processing unit that performs compression processing on the color difference plane subsampled by the luminance plane and the subsampling unit;
A decompression processing unit for decompressing compressed data generated by the compression processing of the compression processing unit to the luminance plane and the subsampled color difference plane;
An interpolation processing unit that performs an interpolation process for returning the subsampled color difference plane to the predetermined resolution;
The sub-sampling unit corresponds to the pixel block with pixel values of a plurality of pixels in the pixel block in the color difference plane according to a value in the pixel block in the attribute plane indicating presence / absence of an edge at the predetermined resolution. Convert to one pixel value,
The interpolation processing unit includes, in the pixel block, a pixel with an edge in the attribute plane and a pixel without an edge in the attribute plane, and for the pixel without an edge in the attribute plane in the pixel block, the pixel block If the pixel value of the luminance plane is smaller than a predetermined threshold value, the pixel value of the color difference plane, images decompression device characterized in that set to a value indicating no color difference.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013240291 | 2013-11-20 | ||
JP2013240291 | 2013-11-20 | ||
PCT/JP2014/079751 WO2015076139A1 (en) | 2013-11-20 | 2014-11-10 | Image compression/expansion device and image formation device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2015076139A1 JPWO2015076139A1 (en) | 2017-03-16 |
JP6129337B2 true JP6129337B2 (en) | 2017-05-17 |
Family
ID=53179406
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015549078A Active JP6129337B2 (en) | 2013-11-20 | 2014-11-10 | Image compression / decompression apparatus and image forming apparatus |
Country Status (4)
Country | Link |
---|---|
US (1) | US9497357B2 (en) |
JP (1) | JP6129337B2 (en) |
CN (1) | CN105684411B (en) |
WO (1) | WO2015076139A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6579388B2 (en) * | 2016-12-02 | 2019-09-25 | 京セラドキュメントソリューションズ株式会社 | Image reading device |
US12177447B2 (en) * | 2019-03-13 | 2024-12-24 | Hyundai Motor Company | Method and device for efficiently applying transform skip mode to data block |
CN115037937B (en) * | 2022-06-02 | 2023-04-07 | 北京新唐思创教育科技有限公司 | Image compression method, apparatus, device and medium |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05324815A (en) * | 1992-05-20 | 1993-12-10 | Ricoh Co Ltd | Compression system and output system for multivalued image |
JPH0746410A (en) * | 1993-07-27 | 1995-02-14 | Canon Inc | Color picture processing unit |
JPH07221993A (en) * | 1994-02-02 | 1995-08-18 | Kokusai Electric Co Ltd | Method and apparatus for thinning color image data, and method for compressing color image data |
US5822456A (en) | 1994-07-14 | 1998-10-13 | Johnson-Grace | Optimal spline interpolation for image compression |
JPH08294142A (en) * | 1995-04-24 | 1996-11-05 | Omron Corp | Image information compression method and image display device using this method |
JP3743389B2 (en) * | 2001-05-14 | 2006-02-08 | 株式会社ニコン | Image compression apparatus and image compression program |
JP4064127B2 (en) * | 2002-03-08 | 2008-03-19 | シャープ株式会社 | Image encoding apparatus and image decoding apparatus |
JP4402580B2 (en) * | 2004-12-17 | 2010-01-20 | キヤノン株式会社 | Image processing system |
JP5151075B2 (en) * | 2005-06-21 | 2013-02-27 | ソニー株式会社 | Image processing apparatus, image processing method, imaging apparatus, and computer program |
JP4789060B2 (en) * | 2005-07-20 | 2011-10-05 | 富士ゼロックス株式会社 | Image compression apparatus, image expansion apparatus, image processing method, and program |
US20090244633A1 (en) * | 2008-03-31 | 2009-10-01 | Konica Minolta Systems Laboratory, Inc. | Systems and Methods for Color Data Compression |
WO2011027440A1 (en) * | 2009-09-02 | 2011-03-10 | 株式会社 東芝 | Image compression device and image decompression device |
-
2014
- 2014-11-10 US US15/036,798 patent/US9497357B2/en active Active
- 2014-11-10 JP JP2015549078A patent/JP6129337B2/en active Active
- 2014-11-10 CN CN201480058917.5A patent/CN105684411B/en active Active
- 2014-11-10 WO PCT/JP2014/079751 patent/WO2015076139A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
US9497357B2 (en) | 2016-11-15 |
CN105684411B (en) | 2018-07-17 |
JPWO2015076139A1 (en) | 2017-03-16 |
US20160286096A1 (en) | 2016-09-29 |
WO2015076139A1 (en) | 2015-05-28 |
CN105684411A (en) | 2016-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10136128B2 (en) | Cell-based compression with edge detection | |
KR20160030701A (en) | Host divice transmitting print data to printer and method for rendering print data by host device | |
US9838570B2 (en) | Cell-based compression with edge detection and interleaved encoding | |
US10592766B2 (en) | Image processing apparatus and medium storing program executable by image processing apparatus | |
US20130004066A1 (en) | Determining a background color of a document | |
JP6129337B2 (en) | Image compression / decompression apparatus and image forming apparatus | |
US20090141320A1 (en) | Image processing apparatus and image processing method | |
US20110128589A1 (en) | Image processing apparatus and image processing program | |
US10447984B2 (en) | Information processing apparatus, information processing system, information processing method, and storage medium | |
JP4908382B2 (en) | Image processing apparatus and image processing method | |
JP6882043B2 (en) | Image processing equipment, programs and image processing methods | |
JP2011244285A (en) | Method for coding image data | |
JP6033461B2 (en) | Image compression / decompression apparatus and image forming apparatus | |
US9596380B1 (en) | Methods and systems for image compression | |
JP5757904B2 (en) | Image compression device | |
US9082161B2 (en) | Image processing apparatus, image processing method, and non-transitory computer readable medium | |
US8369637B2 (en) | Image processing apparatus, image processing method, and program | |
JP5557792B2 (en) | Image processing apparatus and image forming apparatus | |
US11113012B2 (en) | Reprocessing of page strips responsive to low memory condition | |
JP5761539B2 (en) | Image data encoding method | |
JP6188651B2 (en) | Image processing apparatus and image processing program | |
JP2004158980A (en) | Color image processing apparatus | |
JP2005295395A (en) | Apparatus, method, and program for image processing | |
JP2011004005A (en) | Image compression apparatus, image decompression apparatus, imaging apparatus, image forming apparatus, computer program, recording medium, image compression method and image decompression method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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: 20170316 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170411 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6129337 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |