JP2009141790A - 画像処理プログラム及び画像処理装置 - Google Patents
画像処理プログラム及び画像処理装置 Download PDFInfo
- Publication number
- JP2009141790A JP2009141790A JP2007317412A JP2007317412A JP2009141790A JP 2009141790 A JP2009141790 A JP 2009141790A JP 2007317412 A JP2007317412 A JP 2007317412A JP 2007317412 A JP2007317412 A JP 2007317412A JP 2009141790 A JP2009141790 A JP 2009141790A
- Authority
- JP
- Japan
- Prior art keywords
- pixel
- value
- threshold
- gradation value
- processing
- 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
Links
- 238000012545 processing Methods 0.000 claims description 187
- 238000000034 method Methods 0.000 claims description 61
- 238000007781 pre-processing Methods 0.000 claims description 5
- 230000002093 peripheral effect Effects 0.000 description 36
- 238000001514 detection method Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 230000000694 effects Effects 0.000 description 7
- 230000007423 decrease Effects 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
Landscapes
- Facsimile Image Signal Circuits (AREA)
- Image Processing (AREA)
Abstract
【解決手段】画素が多値の階調値を有する画像データを二値化するための画像処理プログラムが、階調値が所定の黒側閾値よりも低い画素を黒画素とする処理、及び又は、階調値が所定の白側閾値以上の画素を白画素とする処理を行なうステップと、二値化されていない画像データの各画素について、注目画素と階調値が一定差以上ある画素が1以上検知されるまで、注目画素に近い画素から各画素を走査し、走査した画素と注目画素の階調値の差分が一定差以上であるか否かを判定し、階調値が一定差以上ある画素の値に応じて注目画素の二値化後の値を決定するステップとをコンピュータに実行させる。
【選択図】図7
Description
処理対象画素との輝度の差が所定値以上となる周辺画素が1以上検知されるまで、当該処理対象画素の近くに位置する画素から順番に、処理対象画素から概ね離れていく方向へ周辺画素を走査し、上記検知された輝度差が所定値以上となる周辺画素の値に応じて当該処理対象画素の二値化を実行し、二値化後に残したい部分を識別しやすい状態で残すと共に処理時間も抑えようとするものである。
但し、a、b、cは、3つの合計が1となる値であればよい係数であって、例えば、a=1/3、b=1/3、c=1/3とすることができる。また、R、G、Bは、各画素が有する上記各色の濃度階調値であり、例えば、それぞれ、0〜255のいずれかの値をとる。
なお、Y[i,j]は注目画素の階調値を、Y[i−n,j−m]は周辺画素の階調値を表す。また、iは画像の水平方向位置を、jは画像の垂直方向の位置を示し、n,mは、周辺画素の位置を指定するための変数である。
Claims (6)
- 画素が多値の階調値を有する画像データを二値化する処理をコンピュータに実行させる画像処理プログラムであって、
前記階調値が所定の黒側閾値よりも低い前記画素を黒画素とする処理、及び又は、前記階調値が所定の白側閾値以上の前記画素を白画素とする処理を実行する前処理ステップと、
前記前処理ステップで二値化されていない前記画像データの各画素について、処理対象の前記画素である注目画素と前記階調値が一定差以上ある画素が1以上検知されるまで、前記注目画素に近い前記画素から、概ね前記注目画素から離れていく方向に、各画素を走査し、当該走査した画素と前記注目画素の前記階調値の差分が前記一定差以上であるか否かを判定し、前記検知された階調値が一定差以上ある画素の値に応じて、前記注目画素の二値化後の値を決定する、中間領域処理ステップとを前記コンピュータに実行させる
ことを特徴とする画像処理プログラム。 - 請求項1において、
前記中間領域処理ステップにおける各画素の走査が、前記注目画素と階調値が一定差以上ある画素であって、前記注目画素の階調値よりも階調値の小さい画素が2以上検知されるまで、あるいは、前記注目画素と階調値が一定差以上ある画素であって、前記注目画素の階調値よりも階調値の大きい画素が2以上検知されるまで行なわれる
ことを特徴とする画像処理プログラム。 - 請求項1あるいは請求項2において、
前記前処理ステップにおける前記白側閾値が、
前記階調値の所定値から、前記階調値の高い順番に前記画素を所定個数ずつグルーピングし、グループ内における最高階調値と最低階調値の差が所定値よりも大きくなる各グループにおいて、同じ階調値を有している前記画素の個数が最も少ない当該階調値を閾値候補として検出し、
前記検出された閾値候補の中から選択される
ことを特徴とする画像処理プログラム。 - 請求項3において、
前記検出された閾値候補の中から、最も階調値の高い閾値候補が前記白側閾値として選択される
ことを特徴とする画像処理プログラム。 - 請求項3において、
前記検出された閾値候補の中で最も階調値の高い閾値候補の階調値が予め定められた所定値以上である場合には、前記階調値の低い画素の個数に応じて、2番目に階調値の高い前記閾値候補が前記白側閾値として選択される
ことを特徴とする画像処理プログラム。 - 画素が多値の階調値を有する画像データを二値化する処理を実行する画像処理装置であって、
前記階調値が所定の黒側閾値よりも低い前記画素を黒画素とする処理、及び又は、前記階調値が所定の白側閾値以上の前記画素を白画素とする処理を実行し、
当該処理で二値化されていない前記画像データの各画素について、処理対象の前記画素である注目画素と前記階調値が一定差以上ある画素が1以上検知されるまで、前記注目画素に近い前記画素から、概ね前記注目画素から離れていく方向に、各画素を走査し、当該走査した画素と前記注目画素の前記階調値の差分が前記一定差以上であるか否かを判定し、前記検知された階調値が一定差以上ある画素の値に応じて、前記注目画素の二値化後の値を決定する処理を実行する
ことを特徴とする画像処理装置。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007317412A JP5251100B2 (ja) | 2007-12-07 | 2007-12-07 | 画像処理プログラム及び画像処理装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007317412A JP5251100B2 (ja) | 2007-12-07 | 2007-12-07 | 画像処理プログラム及び画像処理装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009141790A true JP2009141790A (ja) | 2009-06-25 |
JP5251100B2 JP5251100B2 (ja) | 2013-07-31 |
Family
ID=40871929
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007317412A Expired - Fee Related JP5251100B2 (ja) | 2007-12-07 | 2007-12-07 | 画像処理プログラム及び画像処理装置 |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5251100B2 (ja) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107621929A (zh) * | 2017-09-12 | 2018-01-23 | 珠海智汇网络设备有限公司 | 一种灰度热敏打印方法、热敏打印机和可读存储介质 |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001082927A (ja) * | 1999-09-16 | 2001-03-30 | Nippon Telegr & Teleph Corp <Ntt> | 三次元画像処理方法、装置、および三次元画像処理プログラムを記録した記録媒体 |
JP2001155146A (ja) * | 1999-11-26 | 2001-06-08 | Fujitsu Ltd | 画像処理装置及び画像処理方法 |
JP2001285635A (ja) * | 2000-03-28 | 2001-10-12 | Sharp Corp | 画像処理装置、画像処理方法および画像形成装置 |
JP2002218232A (ja) * | 2001-01-19 | 2002-08-02 | Sharp Corp | 画像処理装置およびそれを備えた画像形成装置並びに画像処理方法 |
JP2004094907A (ja) * | 2002-07-10 | 2004-03-25 | Ricoh Co Ltd | 2次元コードパターン、2次元コードパターンを担持するパターン担持媒体、2次元コードパターンの生成方法、2次元コード読取装置および読取方法 |
JP2005072858A (ja) * | 2003-08-22 | 2005-03-17 | Kyocera Mita Corp | 画像処理装置 |
JP2009140243A (ja) * | 2007-12-06 | 2009-06-25 | Seiko Epson Corp | 画像処理プログラム及び画像処理装置 |
JP2009140244A (ja) * | 2007-12-06 | 2009-06-25 | Seiko Epson Corp | 画像処理プログラム及び画像処理装置 |
-
2007
- 2007-12-07 JP JP2007317412A patent/JP5251100B2/ja not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001082927A (ja) * | 1999-09-16 | 2001-03-30 | Nippon Telegr & Teleph Corp <Ntt> | 三次元画像処理方法、装置、および三次元画像処理プログラムを記録した記録媒体 |
JP2001155146A (ja) * | 1999-11-26 | 2001-06-08 | Fujitsu Ltd | 画像処理装置及び画像処理方法 |
JP2001285635A (ja) * | 2000-03-28 | 2001-10-12 | Sharp Corp | 画像処理装置、画像処理方法および画像形成装置 |
JP2002218232A (ja) * | 2001-01-19 | 2002-08-02 | Sharp Corp | 画像処理装置およびそれを備えた画像形成装置並びに画像処理方法 |
JP2004094907A (ja) * | 2002-07-10 | 2004-03-25 | Ricoh Co Ltd | 2次元コードパターン、2次元コードパターンを担持するパターン担持媒体、2次元コードパターンの生成方法、2次元コード読取装置および読取方法 |
JP2005072858A (ja) * | 2003-08-22 | 2005-03-17 | Kyocera Mita Corp | 画像処理装置 |
JP2009140243A (ja) * | 2007-12-06 | 2009-06-25 | Seiko Epson Corp | 画像処理プログラム及び画像処理装置 |
JP2009140244A (ja) * | 2007-12-06 | 2009-06-25 | Seiko Epson Corp | 画像処理プログラム及び画像処理装置 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107621929A (zh) * | 2017-09-12 | 2018-01-23 | 珠海智汇网络设备有限公司 | 一种灰度热敏打印方法、热敏打印机和可读存储介质 |
CN107621929B (zh) * | 2017-09-12 | 2023-07-14 | 珠海智汇网络设备有限公司 | 一种灰度热敏打印方法、热敏打印机和可读存储介质 |
Also Published As
Publication number | Publication date |
---|---|
JP5251100B2 (ja) | 2013-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2009535899A (ja) | 走査されたカラー画像からの複調画像の生成 | |
JP4979956B2 (ja) | 電子透かし埋め込み装置および電子透かし埋め込み方法 | |
JP2007028362A (ja) | 背景画像と目的画像が混在する画像データを処理するための装置及び方法 | |
US9928417B2 (en) | Imaging process for binarization and punched hole extraction | |
JP2010218420A (ja) | 文字認識装置、画像読取装置、およびプログラム | |
KR20080006112A (ko) | 경계 영역의 선명도를 개선하는 하프토닝 방법 및 장치 | |
JP5042917B2 (ja) | 画像処理装置およびプログラム | |
JP4764903B2 (ja) | テキストマップの中からライン構造を検出する方法および画像処理装置 | |
JP4867903B2 (ja) | 画像処理プログラム及び画像処理装置 | |
JP5024574B2 (ja) | 画像処理装置及び画像処理プログラム | |
JP4771428B2 (ja) | 画像処理装置、画像処理方法、プログラムおよび記録媒体 | |
JP4502001B2 (ja) | 画像処理装置および画像処理方法 | |
JP5251100B2 (ja) | 画像処理プログラム及び画像処理装置 | |
JP2007189577A (ja) | コンピュータプログラム、画像入力装置、画像入力システムおよび画像入力方法 | |
JP5024006B2 (ja) | 画像処理プログラム及び画像処理装置 | |
US9977984B2 (en) | Computer-readable storage medium storing image processing program, image processing device, and image processing method | |
JP4771087B2 (ja) | 画像処理装置及び画像処理プログラム | |
US8260057B2 (en) | Image processing apparatus that obtains a ruled line from a multi-value image | |
JP7341758B2 (ja) | 画像処理装置、画像処理方法、及びプログラム | |
JP4084719B2 (ja) | 画像処理装置および該画像処理装置を備える画像形成装置、ならびに画像処理方法、画像処理プログラムおよびコンピュータ読み取り可能な記録媒体 | |
JP2005198157A (ja) | 画像処理装置および画像処理方法およびコンピュータが読み取り可能なプログラムを格納した記憶媒体およびプログラム | |
JP4853305B2 (ja) | 画像処理装置および方法 | |
JP6841254B2 (ja) | 画像処理装置、および、コンピュータプログラム | |
US8432555B2 (en) | Image processing apparatus, image processing method, computer-readable medium and computer data signal | |
JP2005301713A (ja) | 帳票画像の地紋除去方法及び装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20101015 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111130 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111206 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120724 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120920 |
|
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: 20130319 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130401 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5251100 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160426 Year of fee payment: 3 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |