JP2008104121A5 - - Google Patents

Download PDF

Info

Publication number
JP2008104121A5
JP2008104121A5 JP2006286885A JP2006286885A JP2008104121A5 JP 2008104121 A5 JP2008104121 A5 JP 2008104121A5 JP 2006286885 A JP2006286885 A JP 2006286885A JP 2006286885 A JP2006286885 A JP 2006286885A JP 2008104121 A5 JP2008104121 A5 JP 2008104121A5
Authority
JP
Japan
Prior art keywords
block
value
encoding
image
replacement
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
JP2006286885A
Other languages
Japanese (ja)
Other versions
JP2008104121A (en
JP4743884B2 (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2006286885A priority Critical patent/JP4743884B2/en
Priority claimed from JP2006286885A external-priority patent/JP4743884B2/en
Priority to US11/862,804 priority patent/US8041135B2/en
Publication of JP2008104121A publication Critical patent/JP2008104121A/en
Publication of JP2008104121A5 publication Critical patent/JP2008104121A5/ja
Application granted granted Critical
Publication of JP4743884B2 publication Critical patent/JP4743884B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Claims (7)

文字階調画像混在した画像データを符号化する画像符号化装置であって、
符号化対象の画像データを複数の画素で構成されるブロックを単位に入力する入力手段と、
入力した注目ブロックら、文字画の画素データと、当該注目ブロック内の各画素が文字線画の画素データであるか階調属性の画素データであるかを識別するための識別情報を抽出する抽出手段と、
該抽出手段で抽出した前記文字画素データを符号化する第1の符号化手段と、
前記抽出手段で抽出した前記識別情報を符号化する第2の符号化手段と、
前記注目ブロックに含まれる、直交変換を行なう単位であるサブブロックの各々に対し、当該サブブロック中の文字画として抽出した画素データを、階調属性を持つ画素データに基づいて決定される置換値で置換する置換手段と、
該置換手段で置換された後の各サブブロックの画像データを直交変換し、符号化する第3の符号化手段と、
前記第1乃至第3の符号化手段で生成された符号化データを合成し、前記注目ブロック符号化データを生成する符号列生成手段とを備え、
前記置換手段は、
前記注目ブロック内の注目サブブロックが階調属性を持つ画素のみで構成されると仮定した場合の直流成分を算出する直流成分算出手段と、
前記注目サブブロックの直前のサブブロックの直流成分値に基づいて決定される置換候補値が、前記注目サブブロック内の階調属性を持つ画素群の値の範囲内にあるか否かを判断する判断手段と、
該判断手段で、前記置換候補値が前記範囲内にあると判断した場合、前記直前のサブブロックの直流成分値と近似する値を前記注目サブブロックの前記置換値として決定し、
前記判断手段で、前記置換候補値が前記範囲外にあると判断した場合、注目サブブロックが階調属性の画素のみを持つと仮定した場合の前記注目サブブロックの直流成分値に近似させる値を、前記置換値とする決定手段と
を備えることを特徴とする画像符号化装置。
Image data character line image and tone image are mixed in an image encoding device for encoding,
Input means for inputting image data to be encoded in units of blocks composed of a plurality of pixels;
Extracting entered the block of interest or, et al., The character line image pixel data, the identification information for each pixel in the block of interest to identify whether the pixel data of one gradation attribute is a pixel data of a character line image Extraction means;
A first encoding means for encoding the pixel data of the character line image extracted by the extraction means,
Second encoding means for encoding the identification information extracted by the extraction means;
The included in the target block, for each sub-block which is a unit for performing orthogonal transformation, substitution pixel data extracted as a character line image in the sub-block is determined based on the pixel data having gradation attributes A replacement means for replacing with a value;
Third encoding means for orthogonally transforming and encoding the image data of each sub-block after being replaced by the replacement means;
Code string generation means for combining the encoded data generated by the first to third encoding means and generating encoded data of the block of interest ;
The replacement means includes
DC component calculation means for calculating a DC component when it is assumed that the target sub- block in the target block is composed only of pixels having a gradation attribute;
Replacement candidate values determined based on the DC component value of the immediately preceding sub-block of the target sub block, determines whether it is in the range of values of a pixel group having a gradation attributes of said target sub-block Judgment means,
When the determination means determines that the replacement candidate value is within the range, a value that approximates the DC component value of the immediately preceding subblock is determined as the replacement value of the target subblock ;
In the determination unit, when the replacement candidate value is determined to be outside the range, a value approximating the DC component value of the target sub-block when the target sub-block is assumed to have only the pixels of the tone attributes An image encoding apparatus comprising: a determining unit that sets the replacement value.
前記第1、第2の符号化手段は可逆符号化手段であり、前記第3の符号化手段は非可逆のJPEG符号化手段であって、
前記注目サブブロックが8×8画素で構成され、その内の文字線画の属性を持つ画素の個数をN、階調属性を持つ画素データの総和、及び、その平均値をD,Daveとし、1画素が8ビットで表わされるとしたとき、
前記直流成分算出手段は、DCT変換時に算出される直流成分DCを、次式によって求め、
DC=(D+Dave×N−128×64)/8
前記決定手段は、前記直前のサブブロックの直流成分をDC-1前記注目サブブロックの直流成分をDC0としたとき、注目サブブロックにおける前記置換値であるZを次式のいずれかに従って決定する
Z=(8×D -1−D+128×64)/N
又は、
Z=(8×D 0−D+128×64)/N
ことを特徴とする請求項1に記載の画像符号化装置。
It said first, second encoding means is a lossless coding means, the third coding means is a lossy JPEG encoding means,
The target sub-block is composed of 8 × 8 pixels, and the number of pixels having the attribute of a character line drawing of which N, the sum of the pixel data having gradation attribute, and the average value D, and Dave, 1 If a pixel is represented by 8 bits ,
The direct current component calculation means obtains a direct current component DC calculated at the time of DCT conversion by the following equation:
DC = (D + Dave × N−128 × 64) / 8
Said determining means determines the DC component of the immediately preceding sub-block DC -1, when the DC component of the target sub block and the DC 0, in accordance with any of the following equation which is the substitution value of the target sub block Z Z = (8 × D C −1 −D + 128 × 64) / N
Or
Z = (8 × D C 0 −D + 128 × 64) / N
The image coding apparatus according to claim 1.
更に、前記置換手段は、前記置換値Zを求める際に発生した剰余値Rを次式に従って求め、
R=(8×D -1−D+128×64) % N
又は、
R=(8×D 0−D+128×64) % N
(A%Bは整数Aを整数Bで除算した際の余りを返す関数)
前記文字線画として判定された「N−R」個の画素のデータを置換値Zで置換し、
前記文字線画として判定されたR個の画素のデータを「Z+1」で置換する
ことを特徴とする請求項2に記載の画像符号化装置。
Further, the replacement means determines the remainder value R generated when determining the replacement value Z according to the following equation:
R = (8 × D C −1 −D + 128 × 64)% N
Or
R = (8 × D C 0 −D + 128 × 64)% N
(A% B is a function that returns the remainder when integer A is divided by integer B)
The data of “N−R” pixels determined as the character / line image is replaced with a replacement value Z,
The image coding apparatus according to claim 2, wherein data of R pixels determined as the character / line image is replaced with "Z + 1".
前記注目サブブロックが1ブロックの先頭のサブブロックである場合、前記決定手段は、前記注目サブブロックが階調属性の画素のみを持つと仮定した場合の直流成分値に近似する値を前記置換値とすることを特徴とする請求項1に記載の画像符号化装置。 If the target sub-block is the head of the sub-blocks of a block, the determination unit, the target sub-block is the replacement value a value that approximates the DC component value when assumed to have only the pixels of the tone attributes The image encoding apparatus according to claim 1, wherein: 文字階調画像混在した画像データを符号化する画像符号化装置の制御方法であって、
符号化対象の画像データを複数の画素で構成されるブロックを単位に入力する入力工程と、
入力した注目ブロックら、文字画の画素データと、当該注目ブロック内の各画素が文字線画の画素データであるか階調属性の画素データであるかを識別するための識別情報を抽出する抽出工程と、
該抽出工程で抽出した前記文字画素データを符号化する第1の符号化工程と、
前記抽出工程で抽出した前記識別情報を符号化する第2の符号化工程と、
前記注目ブロックに含まれる、直交変換を行なう単位であるサブブロックの各々に対し、当該サブブロック中の文字画として抽出した画素データを、階調属性を持つ画素データに基づいて決定される置換値で置換する置換工程と、
該置換工程で置換された後の各サブブロックの画像データを直交変換し、符号化する第3の符号化工程と、
前記第1乃至第3の符号化工程で生成された符号化データを合成し、前記注目ブロック符号化データを生成する符号列生成工程とを備え、
前記置換工程は、
前記注目ブロック内の注目サブブロックが階調属性を持つ画素のみで構成されると仮定した場合の直流成分を算出する直流成分算出工程と、
前記注目サブブロックの直前のサブブロックの直流成分値に基づいて決定される置換候補値が、前記注目サブブロック内の階調属性を持つ画素群の値の範囲内にあるか否かを判断する判断工程と、
該判断工程で、前記置換候補値が前記範囲内にあると判断した場合、前記直前のサブブロックの直流成分値と近似する値を前記注目サブブロックの前記置換値として決定し、
前記判断工程で、前記置換候補値が前記範囲外にあると判断した場合、注目サブブロックが階調属性の画素のみを持つと仮定した場合の前記注目サブブロックの直流成分値に近似させる値を、前記置換値とする決定工程と
を備えることを特徴とする画像符号化装置の制御方法。
Image data character line image and tone image are mixed method of controlling an image encoding device for encoding,
An input process for inputting image data to be encoded in units of blocks each composed of a plurality of pixels;
Extracting entered the block of interest or, et al., The character line image pixel data, the identification information for each pixel in the block of interest to identify whether the pixel data of one gradation attribute is a pixel data of a character line image An extraction process;
A first encoding step of encoding the pixel data of the character line image extracted in the extraction step,
A second encoding step for encoding the identification information extracted in the extraction step;
The included in the target block, for each sub-block which is a unit for performing orthogonal transformation, substitution pixel data extracted as a character line image in the sub-block is determined based on the pixel data having gradation attributes A replacement step of replacing with a value;
A third encoding step of orthogonally transforming and encoding the image data of each sub-block after being replaced in the replacement step;
A code string generation step of combining the encoded data generated in the first to third encoding steps and generating encoded data of the block of interest ,
The replacement step includes
A direct current component calculation step for calculating a direct current component when it is assumed that the target sub- block in the target block includes only pixels having a gradation attribute;
Substituted candidate values determined based on the DC component value of the immediately preceding sub-block of the target sub block, determines whether it is in the range of values of a pixel group having a gradation attributes of said target sub-block A decision process;
In the determination step, when it is determined that the replacement candidate value is within the range, a value that approximates the DC component value of the immediately preceding sub-block is determined as the replacement value of the target sub-block ,
In the determination step, when the replacement candidate value is determined to be outside the range, a value approximating the DC component value of the target sub-block when the target sub-block is assumed to have only the pixels of the tone attributes And a determining step for setting the replacement value. A method for controlling an image encoding device.
コンピュータが読込み実行することで、前記コンピュータを、請求項1乃至4のいずれか1項に記載の画像符号化装置として機能させることを特徴とするコンピュータプログラム。 By computer executes reading, computer program characterized the computer function as an image encoding apparatus according to any one of claims 1 to 4. 請求項6に記載のコンピュータプログラムを格納したことを特徴とするコンピュータ可読記憶媒体。   A computer-readable storage medium storing the computer program according to claim 6.
JP2006286885A 2006-10-20 2006-10-20 Image coding apparatus and control method thereof Expired - Fee Related JP4743884B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2006286885A JP4743884B2 (en) 2006-10-20 2006-10-20 Image coding apparatus and control method thereof
US11/862,804 US8041135B2 (en) 2006-10-20 2007-09-27 Image encoding apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006286885A JP4743884B2 (en) 2006-10-20 2006-10-20 Image coding apparatus and control method thereof

Publications (3)

Publication Number Publication Date
JP2008104121A JP2008104121A (en) 2008-05-01
JP2008104121A5 true JP2008104121A5 (en) 2009-11-19
JP4743884B2 JP4743884B2 (en) 2011-08-10

Family

ID=39438078

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006286885A Expired - Fee Related JP4743884B2 (en) 2006-10-20 2006-10-20 Image coding apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP4743884B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117819160B (en) * 2024-03-04 2024-06-25 宝鸡杭叉工程机械有限责任公司 Automatic monitoring method and system for coal flow of belt conveyor based on image processing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3231800B2 (en) * 1991-04-26 2001-11-26 キヤノン株式会社 Image encoding apparatus and image encoding method

Similar Documents

Publication Publication Date Title
CN102668560B (en) Embedded graphics coding: reordered bitstream for parallel decoding
CN107818266B (en) Self-adaptive reversible information hiding method based on pixel replacement
Chang et al. A reversible compression code hiding using SOC and SMVQ indices
JP2010154486A5 (en)
JP2008042687A (en) Image processing apparatus and its control method, computer program and computer readable storage medium
CN108416724B (en) Reversible information hiding method based on multiple predictors
JP4956304B2 (en) Image encoding apparatus, control method therefor, computer program, and computer-readable storage medium
CN104010193A (en) Video steganographic method based on macro block partition mode disturbance
WO2014186886A1 (en) System and method having transparent composite model for transform coefficients
JP2008042685A5 (en)
EP2786496A1 (en) Method for determining a modifiable element in a coded bit-stream and associated device
CN110021368B (en) Comparison type gene sequencing data compression method, system and computer readable medium
Lee et al. Information hiding based on block match coding for vector quantization-compressed images
JP2004214738A5 (en)
JP2009077177A5 (en)
JP2008104121A5 (en)
Huang et al. Selection-channel-aware deep neural network to detect motion vector embedding of HEVC videos
CN107172425B (en) Thumbnail generation method and device and terminal equipment
TW201820878A (en) Methods for compressing and decompressing texture tiles and apparatuses using the same
JP2007049312A5 (en)
Ren et al. Reversible Data Hiding Scheme based on Fractal Image Coding.
CN112614196A (en) Image robustness Hash authentication method based on quaternion convolution neural network
JP2008104120A5 (en)
Wang et al. VQ-based gray watermark hiding scheme and genetic index assignment
JP4971881B2 (en) Image encoding apparatus, image decoding apparatus, and control method thereof