JP7030425B2 - 画像処理装置、画像処理方法、プログラム - Google Patents
画像処理装置、画像処理方法、プログラム Download PDFInfo
- Publication number
- JP7030425B2 JP7030425B2 JP2017101042A JP2017101042A JP7030425B2 JP 7030425 B2 JP7030425 B2 JP 7030425B2 JP 2017101042 A JP2017101042 A JP 2017101042A JP 2017101042 A JP2017101042 A JP 2017101042A JP 7030425 B2 JP7030425 B2 JP 7030425B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- binary image
- pixel
- binary
- black
- 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
- 238000012545 processing Methods 0.000 title claims description 57
- 238000003672 processing method Methods 0.000 title claims description 3
- 238000000034 method Methods 0.000 claims description 87
- 230000008569 process Effects 0.000 claims description 71
- 238000012937 correction Methods 0.000 description 23
- 239000003550 marker Substances 0.000 description 21
- 238000003702 image correction Methods 0.000 description 10
- 238000000605 extraction Methods 0.000 description 9
- 238000005286 illumination Methods 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 6
- 239000003086 colorant Substances 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- KNMAVSAGTYIFJF-UHFFFAOYSA-N 1-[2-[(2-hydroxy-3-phenoxypropyl)amino]ethylamino]-3-phenoxypropan-2-ol;dihydrochloride Chemical compound Cl.Cl.C=1C=CC=CC=1OCC(O)CNCCNCC(O)COC1=CC=CC=C1 KNMAVSAGTYIFJF-UHFFFAOYSA-N 0.000 description 4
- 230000008859 change Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 239000006185 dispersion Substances 0.000 description 3
- 238000002372 labelling Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000009466 transformation Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- PXFBZOLANLWPMH-UHFFFAOYSA-N 16-Epiaffinine Natural products C1C(C2=CC=CC=C2N2)=C2C(=O)CC2C(=CC)CN(C)C1C2CO PXFBZOLANLWPMH-UHFFFAOYSA-N 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000002156 mixing Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 230000002087 whitening effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/16—Image preprocessing
- G06V30/162—Quantising the image signal
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/136—Segmentation; Edge detection involving thresholding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/174—Segmentation; Edge detection involving the use of two or more images
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/194—Segmentation; Edge detection involving foreground-background segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/16—Image preprocessing
- G06V30/164—Noise filtering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/80—Geometric correction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Image Processing (AREA)
- Character Input (AREA)
Description
以下に、本発明を実施するための形態について図面を用いて説明する。
図1に本実施例で利用する携帯端末(情報処理装置、画像処理装置)101の外観を示す。図1(a)は、携帯端末101を表側の外観図であり、表側には、タッチパネルディスプレイ102、操作ボタン103が含まれる。図1(b)は、携帯端末101の裏側の外観図であり、裏側には、カメラ104が配置されている。また、カメラ104には図示しないオートフォーカス機構が搭載されており、これにより焦点距離や被写体距離を測定することもできる。
本実施例では、ユーザが携帯端末101を用いてホワイトボード面を撮影し、撮影画像内からホワイトボード面の部分だけを切り出して画像補正するアプリケーションを想定している。図3は、本実施例における携帯端末101が実行する処理手順を説明するフローチャートである。また、図4は、撮影画像からホワイトボード面の部分を切り出す処理の流れを示した図である。
画像補正処理の詳細について、図5を用いて説明する。
前景抽出処理の詳細について、図6および図7を用いて説明する。ここでは歪み補正後の画像を入力画像として扱う。
g(x,y)<t(x,y)のとき、b(x,y)=1(黒画素)
すなわち、入力画像(あるいはグレースケール画像)の画素のうち、二値化閾値よりも濃い(暗い)画素が黒画素に変換され、二値化閾値以上に薄い(明るい)画素が白画素に変換されることで、二値画像が生成される。
p(x,y)=1またはq(x,y)=1のとき、b(x,y)=1(黒画素)
すなわちこの処理は、2つの二値画像に基づいて、2つの二値画像の論理和の画像を生成する処理である。この論理和の画像がステップS503の画像処理の対象となる。図7(f)に、ステップS610の出力二値画像を示す。2種類の二値化結果を統合することで、711に示すようにノイズ領域を抑制しつつ、712に示すようにかすれ文字を再現可能になる。
ノイズ領域判定処理の詳細について、図8および図9を用いて説明する。図9(a)と図9(b)は、ノイズ領域判処理における入力画像である。それぞれ図9(a)は、図7(b)に示すステップS604の出力二値画像と、図9(b)は図7(d)に示すステップS607の出力二値画像と同じ画像である。ノイズ領域判定処理は、図9(b)の二値画像の各領域(各黒画素群)について、映り込みなどのノイズ領域であるかどうかを、別の二値画像を用いて、個別に評価して判定する処理である。すなわち、ここではノイズ領域である黒画素群が特定され、その特定結果がS609以降の処理で用いられる。
p(x,y)!=q(x,y)のとき、b(x,y)=1(黒画素)
すなわちこの処理は、2つの二値画像に基づいて、2つの二値画像の排他的論理和の画像を第4の二値画像として生成する処理である。差分結果画像を図9(c)に示す。901や902に示すノイズ領域や、903に示すかすれマーカー領域のように、図(a)には含まれていない領域が差分として抽出される。また、図9(b)に示すステップS607の出力二値画像は、図9(a)に示すステップS604の出力二値画像と比べてマーカー部が太く抽出されるため、903に示すように、マーカー部を縁取ったような領域が差分として抽出される。
実施例1では、照明の映り込み領域などのノイズ領域を、マーカー部などの前景領域と区別して特定する(分離する)ために、ステップS608の処理を行っていた。本変形例では、この処理の代わりに次のような処理を行う。
上記実施例では、S607の処理後にS608、S609を行っていたが、S608、S609の処理後にS607の処理を実行してもよい。
Claims (7)
- 二値化閾値よりも暗い画素を黒画素に変換する第1の二値化処理を対象画像に行うことで第1の二値画像を生成する第1の生成手段と、
前記対象画像の同じ画素に対する二値化閾値が前記第1の二値化処理で用いられる値よりも大きい第2の二値化処理を、前記対象画像に対して行うことで第2の二値画像を生成する第2の生成手段と、
所定のサイズ以下の黒画素塊を除去する孤立点除去処理を前記第2の二値画像に対して行うことで、第3の二値画像を生成する第3の生成手段と、
前記第1の二値画像と前記第3の二値画像との間の差分を示す第4の二値画像を生成する第4の生成手段と、
少なくとも1つの白画素に隣接する黒画素を白画素に変換する収縮処理を、前記第4の二値画像に対して行うことで、第5の二値画像を生成する第5の生成手段と、
前記第5の二値画像における黒画素の位置に対応する、前記第3の二値画像における黒画素群を特定する特定手段と、
前記第3の二値画像において、前記特定手段により特定された前記黒画素群を除去することにより、第6の二値画像を生成する第6の生成手段と、
前記第1の二値画像と前記第6の二値画像とを統合することにより、第7の二値画像を生成する第7の生成手段と、
を有することを特徴とする画像処理装置。 - 前記第7の二値画像に含まれる黒画素群を用いて、所定の処理を行う処理手段を更に有することを特徴とする請求項1に記載の画像処理装置。
- 前記対象画像は、カラー画像から生成された輝度画像である、ことを特徴とする請求項1または2に記載の画像処理装置。
- 前記第4の生成手段は、前記第1の二値画像と前記第3の二値画像との間の排他的論理和を求めることにより、前記第4の二値画像を生成する、ことを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置。
- 前記第7の二値画像に含まれる黒画素群の座標に対応する前記カラー画像内の画素群のうち、所定の属性であると判定された画素群に対して単色化処理を行う処理手段を更に有することを特徴とする請求項3に記載の画像処理装置。
- 二値化閾値よりも暗い画素を黒画素に変換する第1の二値化処理を対象画像に行うことで第1の二値画像を生成する第1の生成工程と、
前記対象画像の同じ画素に対する二値化閾値が前記第1の二値化処理で用いられる値よりも大きい第2の二値化処理を、前記対象画像に対して行うことで第2の二値画像を生成する第2の生成工程と、
所定のサイズ以下の黒画素塊を除去する孤立点除去処理を前記第2の二値画像に対して行うことで、第3の二値画像を生成する第3の生成工程と、
前記第1の二値画像と前記第3の二値画像との間の差分を示す第4の二値画像を生成する第4の生成工程と、
少なくとも1つの白画素に隣接する黒画素を白画素に変換する収縮処理を、前記第4の二値画像に対して行うことで、第5の二値画像を生成する第5の生成工程と、
前記第5の二値画像における黒画素の位置に対応する、前記第3の二値画像における黒画素群を特定する特定工程と、
前記第3の二値画像において、前記特定された前記黒画素群を除去することにより、第6の二値画像を生成する第6の生成工程と、
前記第1の二値画像と前記第6の二値画像とを統合することにより、第7の二値画像を生成する第7の生成工程と、
を有することを特徴とする画像処理方法。 - 請求項1乃至5の何れか1項に記載の画像処理装置としてコンピュータを機能させるためのプログラム。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017101042A JP7030425B2 (ja) | 2017-05-22 | 2017-05-22 | 画像処理装置、画像処理方法、プログラム |
EP18171662.2A EP3407252B1 (en) | 2017-05-22 | 2018-05-09 | Image processing apparatus, image processing method, and storage medium |
US15/978,673 US10846863B2 (en) | 2017-05-22 | 2018-05-14 | Pixel binarization apparatus, method, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017101042A JP7030425B2 (ja) | 2017-05-22 | 2017-05-22 | 画像処理装置、画像処理方法、プログラム |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018195262A JP2018195262A (ja) | 2018-12-06 |
JP7030425B2 true JP7030425B2 (ja) | 2022-03-07 |
Family
ID=62245143
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017101042A Active JP7030425B2 (ja) | 2017-05-22 | 2017-05-22 | 画像処理装置、画像処理方法、プログラム |
Country Status (3)
Country | Link |
---|---|
US (1) | US10846863B2 (ja) |
EP (1) | EP3407252B1 (ja) |
JP (1) | JP7030425B2 (ja) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3712851A1 (de) * | 2019-03-19 | 2020-09-23 | Bayer Animal Health GmbH | Reduzierung von videomaterial auf bewegungsabschnitte |
US11557108B2 (en) * | 2019-04-10 | 2023-01-17 | Rakuten Group, Inc. | Polygon detection device, polygon detection method, and polygon detection program |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015197851A (ja) | 2014-04-02 | 2015-11-09 | 大成建設株式会社 | 画像処理方法、画像処理用プログラム及び情報管理システム |
JP2016071855A (ja) | 2014-09-30 | 2016-05-09 | コニカ ミノルタ ラボラトリー ユー.エス.エー.,インコーポレイテッド | 文書画像における縦線および横線の検出および削除 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5820063A (ja) * | 1981-07-28 | 1983-02-05 | Ricoh Co Ltd | 画像処理装置 |
JPH06303422A (ja) * | 1993-04-14 | 1994-10-28 | Canon Inc | 画像処理装置 |
US6317223B1 (en) * | 1998-12-14 | 2001-11-13 | Eastman Kodak Company | Image processing system for reducing vertically disposed patterns on images produced by scanning |
US6282326B1 (en) * | 1998-12-14 | 2001-08-28 | Eastman Kodak Company | Artifact removal technique for skew corrected images |
US7630520B2 (en) * | 2006-07-31 | 2009-12-08 | Canadian Bank Note Company, Limited | Method and system for document comparison using cross plane comparison |
JP4630936B1 (ja) * | 2009-10-28 | 2011-02-09 | シャープ株式会社 | 画像処理装置、画像処理方法、画像処理プログラム、画像処理プログラムを記録した記録媒体 |
JP2012199652A (ja) * | 2011-03-18 | 2012-10-18 | Fujitsu Ltd | 画像処理装置、方法及びプログラム |
US9367899B1 (en) | 2015-05-29 | 2016-06-14 | Konica Minolta Laboratory U.S.A., Inc. | Document image binarization method |
JP6624827B2 (ja) | 2015-07-13 | 2019-12-25 | キヤノン株式会社 | 情報処理装置、情報処理方法、コンピュータプログラム |
-
2017
- 2017-05-22 JP JP2017101042A patent/JP7030425B2/ja active Active
-
2018
- 2018-05-09 EP EP18171662.2A patent/EP3407252B1/en active Active
- 2018-05-14 US US15/978,673 patent/US10846863B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015197851A (ja) | 2014-04-02 | 2015-11-09 | 大成建設株式会社 | 画像処理方法、画像処理用プログラム及び情報管理システム |
JP2016071855A (ja) | 2014-09-30 | 2016-05-09 | コニカ ミノルタ ラボラトリー ユー.エス.エー.,インコーポレイテッド | 文書画像における縦線および横線の検出および削除 |
Non-Patent Citations (1)
Title |
---|
西村 孝 外2名,色マークの指定による文書画像からの領域およびキーワードの抽出法,画像電子学会誌 第17巻 第5号,日本,画像電子学会,2018年12月31日,第17巻 第5号,pp. 328-336 |
Also Published As
Publication number | Publication date |
---|---|
JP2018195262A (ja) | 2018-12-06 |
EP3407252B1 (en) | 2022-11-30 |
EP3407252A1 (en) | 2018-11-28 |
US20180336685A1 (en) | 2018-11-22 |
US10846863B2 (en) | 2020-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9497355B2 (en) | Image processing apparatus and recording medium for correcting a captured image | |
CN108668093B (zh) | Hdr图像的生成方法及装置 | |
KR101662846B1 (ko) | 아웃 포커싱 촬영에서 빛망울 효과를 생성하기 위한 장치 및 방법 | |
CN107566684B (zh) | 图像处理装置、图像处理方法及存储介质 | |
US9888154B2 (en) | Information processing apparatus, method for processing information, and computer program | |
US10438376B2 (en) | Image processing apparatus replacing color of portion in image into single color, image processing method, and storage medium | |
KR102311367B1 (ko) | 화상 처리 장치, 화상 처리 방법, 및 프로그램 | |
JP2018107593A (ja) | 画像処理装置、画像処理方法およびプログラム | |
JP5541679B2 (ja) | 画像処理装置及び方法、並びに、プログラム | |
JP7030425B2 (ja) | 画像処理装置、画像処理方法、プログラム | |
JP5286215B2 (ja) | 輪郭抽出装置、輪郭抽出方法、および輪郭抽出プログラム | |
JP4831340B2 (ja) | 画像処理装置、画像処理方法、プログラム、および記録媒体 | |
US10896344B2 (en) | Information processing apparatus, information processing method, and computer program | |
JP6977425B2 (ja) | 画像処理装置、二値画像生産方法および画像処理プログラム | |
CN112997217A (zh) | 从视频图像进行文档检测 | |
JP2003219180A (ja) | 画像処理方法、画像処理装置、コンピュータ読み取り可能な記憶媒体及びコンピュータプログラム | |
JP2008147714A (ja) | 画像処理装置およびその方法 | |
JP2012114869A (ja) | 画像処理装置、画像処理方法、画像処理プログラム及びプログラム記録媒体 | |
JP2005202567A (ja) | 画像処理方法、画像処理装置及び画像処理プログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200515 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210625 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210720 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210916 |
|
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: 20220125 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220222 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 7030425 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |