JP2004061500A - Method of detecting image defect - Google Patents

Method of detecting image defect Download PDF

Info

Publication number
JP2004061500A
JP2004061500A JP2003158226A JP2003158226A JP2004061500A JP 2004061500 A JP2004061500 A JP 2004061500A JP 2003158226 A JP2003158226 A JP 2003158226A JP 2003158226 A JP2003158226 A JP 2003158226A JP 2004061500 A JP2004061500 A JP 2004061500A
Authority
JP
Japan
Prior art keywords
image
dust
image defect
detection
scratch
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.)
Withdrawn
Application number
JP2003158226A
Other languages
Japanese (ja)
Inventor
Hiroaki Nakamura
中村 博明
Yoshibumi Dounomae
堂之前 義文
Ko Fu
傅 杭
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP2003158226A priority Critical patent/JP2004061500A/en
Publication of JP2004061500A publication Critical patent/JP2004061500A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To precisely detect an image defect caused by a foreign matter deposited on a film, a flaw in the film, a foreign matter deposited on a reading system for reading the film or a photographing system for photographing a subject, or the like, without making erroneous detection. <P>SOLUTION: An image defect candidate, of an image reproduced based on an image data, caused by a damage flaw of a document and the foreign matter deposited on the document, and the foreign matter deposited on the reading system for reading the document or the photographing system for photographing the subject, is detected out of the image data provided by the photoelectric reading for the document or the photoelectric photographing for the subject, the image defect candidate existing in a place where density exceeds a prescribed condition is removed in response to the density where the image defect candidate exists, and the rest is determined as the image defect to solve the problem herein. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、デジタル画像解析の技術分野に属し、詳しくは、フィルム等に撮影された画像等を光電的に読み取って得られた画像、または被写体をデジタルスチルカメラ(DSC)によって光電的に撮影した画像から、フィルムに付着したゴミなどの異物やフィルムの傷やフィルムを読み取る読取系、特にCCD等のイメージセンサに付着したゴミなどの異物、または被写体を撮影する撮影系、特にCCD等のイメージセンサに付着したゴミなどの異物に起因する画像欠陥を正確に検出できる画像欠陥の検出方法に関する。
【0002】
【従来の技術】
現在、ネガフィルム、リバーサルフィルム等の写真フィルム(以下、フィルムとする)に撮影された画像の感光材料(印画紙)への焼き付けは、フィルムの画像を感光材料に投影して露光する、いわゆる直接露光が主流である。
これに対し、近年では、フィルムに記録された画像を光電的に読み取って、読み取った画像をデジタル信号とした後、種々の画像処理を施して記録用の画像データとし、この画像データに応じて変調した記録光によって感光材料を露光してプリントとして出力し、また、画像データを画像ファイルとしてCD−RやHD(ハードディスク)等の記録媒体に出力することも行われている。
【0003】
このようなデジタル処理によれば、フィルムに撮影された画像を読み取って、デジタルの画像データとして画像処理を行うので、非常に好適に色や濃度を補正できるばかりか、階調補正やシャープネス処理(鮮鋭度補正)等、通常の直接露光のプリンタでは基本的に不可能な画像処理を行って、高画質な画像を得ることができる。
【0004】
ところで、フィルムを原稿とする画像の出力において、画質劣化を起こす大きな要因として、フィルムに付着したゴミや埃等の異物、摩擦等で形成されたフィルムの傷等に起因する画像欠陥(以下、ゴミ傷とする)が有る。
従来の直接露光のプリンタでは、オペレータの手作業によって、フィルムを清浄化し、また、色材で画像(フィルム)を修正することにより、このようなゴミ傷を補正したプリントの出力を行っている。これに対し、フィルムの画像を光電的に読み取り、デジタルの画像データとして取り扱うデジタルの処理では、読み取って得られた画像データを画像解析することで、ゴミ傷を検出し、かつ、画像処理によって補正することができる。
【0005】
ところで、デジタルプリンタにおいて、このようなフィルムのゴミ傷の検出方法としては、従来より、赤外光(IR光)等の非可視領でフィルムの画像を読み取って、この非可視像像を解析する方法が知られている(特許文献1、特許文献2等参照)。
すなわち、IR光は、フィルムに撮影された画像(色素)には吸収されず、ゴミ傷によって遮光/散乱されるので、IR光でフィルムを読み取った際における信号強度の変化からゴミ傷を検出することができる。
【0006】
ところが、IR光を用いるゴミ傷検出方法は、検出精度が非常に優れている反面、画像読取装置(スキャナ)にIR光による画像読取機能を付与する必要があり、装置のコストアップを生じ、さらに、読取速度の低下も生じてしまう。
また、白黒フィルムでは、画像の形成する一部の色素や還元銀がIR光の吸収成分を有する場合があり、従って、IR光によるゴミ傷検出は、このような白黒フィルムには利用できない。
【0007】
このような事情の下、R(赤)、G(緑)およびB(青)の画像データ(RGB成分)を用いて、簡易な方法でゴミ傷を検出する方法が望まれており、また、各種の方法が提案されている。
このRGB成分を用いた画像解析によって、画像のゴミ傷を検出する方法としては、一例として、エッジ検出によって条件を満たす線分を検出して、この線分を用いて傷を検出する方法(特許文献3参照)や、スムージング画像と原画像との差分の大きさからゴミ傷候補領域を検出し、形状や色の変化などの候補領域の特徴からゴミ傷を検出する方法(特許文献4参照)が知られている。
【0008】
しかしながら、画像中には、例えば、模様のついた洋服のように、ゴミ傷に類似するプロファイルを有する領域が多数存在する場合も少なくない。
そのため、これらのRGB成分を用いた画像解析によるゴミ傷検出では、本来はゴミ傷では無いにも関わらず、画像のゴミ傷として誤判定される領域が多数生じてしまうという問題があり、上述の画像解析によるゴミ傷検出に基づいて画像の補正(ゴミ傷補正)を行うと、逆に再生した画像の画質が劣化してしまう場合もある。
【0009】
【特許文献1】
特開平06−028468号公報
【特許文献2】
特開平11−075039号公報
【特許文献3】
特開2000−074846号公報
【特許文献4】
特開2000−092319号公報
【0010】
【発明が解決しようとする課題】
本発明の目的は、前記従来技術の問題点を解決することにあり、フィルム等に撮影された画像等を光電的に読み取って得られた画像、または被写体をデジタルスチルカメラによって光電的に撮影した画像から、フィルムに付着したゴミや埃等の異物や、フィルムに付いた傷や、フィルムを読み取る読取系、特にCCD等のイメージセンサに付着したゴミや埃などの異物、または被写体を撮影する撮影系、特にCCD等のイメージセンサに付着したゴミや埃などの異物等に起因する画像欠陥を、誤検出なく高精度に検出することができる画像欠陥検出方法を提供することにある。
【0011】
【課題を解決するための手段】
上記目的を達成するために、本発明は、原稿の光電的な読み取り、または被写体の光電的な撮影によって得られた画像データから、前記原稿の損傷および原稿に付着した異物、あるいはさらに前記原稿の読取系に付着した異物、または前記被写体の撮影系に付着した異物に起因する、前記画像データによって再現される画像の画像欠陥候補を検出し、前記画像欠陥候補が存在する密度に応じて、密度が所定状態を超える場所に存在する画像欠陥候補を除去して、残りを前記画像データによって再現される画像の画像欠陥とすることを特徴とする画像欠陥検出方法。を提供するものである。
【0012】
このような本発明の画像欠陥検出方法において、前記密度が所定状態を超える場所に存在する画像欠陥候補の除去として、前記画像欠陥候補を拡大して、次いで、縮小する処理を施し、この処理後の画像に所定の変動を生じた画像欠陥候補の除去、および、自身を含む一定範囲内における所定の画像欠陥候補の存在数が規定数以上の画像欠陥候補の除去の少なくとも一方を行うのが好ましく、また、前記画像データから輝度成分画像を作成し、この輝度成分画像を用いて前記画像欠陥候補の検出を行うのが好ましく、また、前記画像データがポジ画像の画像データである場合には、前記画像欠陥候補の検出よりも前に画像の反転処理を行うのが好ましく、さらに、前記画像欠陥候補の検出よりも前に、処理画像中における画像欠陥の大きさが所定範囲となるように、画像サイズに応じて予め設定された倍率で画像の変倍処理を行うのが好ましい。
また、本発明の画像欠陥検出方法を実施する際において、ごみ傷検出あるいはさらにごみ傷補正の操作画面における、ごみ傷の検出結果の表示は、ごみ傷の検出結果よりも、大きくして表示するのが好ましい。
【0013】
【発明の実施の形態】
以下、本発明の画像欠陥検出方法について、添付の図面に示される好適実施例を基に、詳細に説明する。
【0014】
図1に、本発明の画像欠陥検出方法を実施するデジタルプリントシステムの一実施例のブロック図が示される。
図1に示されるデジタルプリントシステム(以下、プリントシステムとする)10は、フィルムFに撮影された画像を光電的に読み取って、あるいは、被写体をデジタルスチルカメラ(DSC、以下、デジタルカメラとする)15によって光電的に撮影して、得られた画像を再生したプリントや、CD−R等の記録媒体にプリントに再生する画像の画像データ(画像ファイル)を出力するもので、基本的に、スキャナ(画像読取装置)12と、画像処理装置14と、プリンタ22とを有する。なお、画像処理装置14には、デジタルカメラ15のメモリから画像データを読み込むためにデジタルカメラ15を接続する接続ポート16が設けられ、または、デジタルカメラ15で撮影された画像の画像データが記録された記録媒体(メディア)から画像データを読み出すためのドライブ17が接続されている。また、画像処理装置14には、ディスプレイ18ならびに操作系20(キーボード20aおよびマウス20b)が接続される。
【0015】
スキャナ12は、フィルムFに撮影された画像を光電的に読み取る装置で、図2の概念図に示すように、光源24、ドライバ26、拡散ボックス28、キャリア30、結像レンズユニット32、読取部34、アンプ(増幅器)36、およびA/D(アナログ/デジタル)変換器38を有して構成される。
【0016】
図示例のスキャナ12において、光源24は、LED(Light Emitting Diode)を利用するもので、フィルムFに撮影された画像を読み取るためのR(赤)光、G(緑)光およびB(青)光を射出するLEDで構成される。光源24は、ドライバ26によって駆動され、R、GおよびBの各光が、順次、射出される。
光源24から射出された光は、拡散ボックス28に入射する。拡散ボックス28は、フィルムFに入射する光を、フィルム面方向で均一にするものである。
【0017】
キャリア30は、フィルムFを断続的に搬送して、フィルムFに撮影された各画像(各コマ)を、順次、所定の読取位置に搬送/保持するものである。キャリア30は、フィルムサイズ等に応じた複数種が用意され、スキャナ12の本体に着脱自在に構成される。
図示例において、キャリア30は、読取位置を挟んで配置される、フィルムFを長手方向に搬送する搬送ローラ対40aおよび40bと、所定の読取位置において、各コマの読取領域を規制するマスク42とを有する。
【0018】
結像レンズユニット32は、フィルムFの投影光を読取部34の所定位置に決結像するものである。
読取部34は、フィルムFの担持画像を光電的に読み取るためのイメージセンサとしてエリアCCDセンサを用いて、フィルムF(その投影光)を光電的に読み取るもので、キャリア30のマスク42で規制された1コマの全面を読み取る(面状光照射による画像読取)。
【0019】
このようなスキャナ12において、フィルムFを読み取る際には、キャリア30によってフィルムFを搬送し、読み取りを行うコマを読取位置に搬送する。
次いで、ドライバ26による作用の下、例えば、光源24のRのLEDを駆動して、R光を射出する。R光は、拡散ボックス28によってフィルムFの面方向で光量を均一にされた後、読取位置に入射してフィルムF(読取位置のコマ)に入射、透過して、このコマに撮影された画像を担持する投影光となる。この投影光は、結像レンズユニット32によって読取部34の所定位置(エリアCCDセンサの受光面)に結像され、このコマのR画像が光電的に読み取られる。
【0020】
次いで、光源24のGおよびBのLEDを、順次、発光して、同様にして、G画像およびB画像の読み取りを行って、このコマの読み取りを終了する。なお、スキャナ12で読み取る画像のサイズ(読取画素数)は、出力を指示されたプリントのサイズ(出力画素数)に応じて異なる。
1コマの読み取りを終了したら、キャリア30は、フィルムFを搬送して、次に読み取りを行うコマを読取位置に搬送する。
【0021】
読取部34からの出力信号は、アンプ36で増幅され、A/D変換器38によってデジタルの画像信号に変換されて、画像処理部14(データ補正部44)に出力される。
【0022】
なお、プリントシステム10においては、通常、1コマにつき、プリント等の出力のために高解像度で画像を読み取るファインスキャンと、ファインスキャンの読取条件や画像処理装置14(画像処理部50)における画像処理条件を決定するために、ファインスキャンに先立って行われる、低解像度での画像読取であるプレスキャンとの、2回の画像読取が行われる。
この際において、通常、プレスキャンとファインスキャンの出力信号は、解像度と出力レベルが異なる以外は、基本的に同じデータである。
【0023】
前述のように、スキャナ12から出力されたデジタル画像信号は、画像処理装置14に出力される。図3に、画像処理装置14の概念図を示す。
図3に示されるように、画像処理装置14は、データ補正部44、Log変換器46、フレームメモリ48(以下、FM48)、画像処理部50およびデータ変換部52を有する。また、画像処理装置14には、前述のように、DSC15の接続ポート16が設けられ、ドライブ17、ディスプレイ18および操作系20が接続される。なお、画像処理装置14は、Log変換器46から下流で分岐して、プレスキャンデータを処理して検定用のシミュレーション画像を表示するための処理経路を有してもよい。
画像処理装置14は、例えば、CPU(Central Processing Unit) やメモリなどを有して構成されるコンピュータと、このコンピュータに対応するソフトウエア等、あるいはさらにハードウエアを組み合わせて構成すればよい。
【0024】
データ補正部44は、スキャナ12から出力されたR、GおよびBの各出力データに、DCオフセット補正、暗時補正、シェーディング補正等の所定の補正を施す部位である。
Log変換器46は、データ補正部44で処理された出力データを、例えばLUT(ルックアップテーブル)等によってLog変換して、デジタル画像(濃度)データ(画像情報)とする。
Log変換器46で変換されたR、GおよびBの各画像データは、それぞれ、対応するFM48に記憶される。また、図示例において、デジタルカメラ15から接続ポート16を介して、あるいは、記録媒体等からそのドライブ17を介して、供給された画像(画像ファイル)の各画像データを処理する場合には、一例として、それぞれ対応するI/F(インターフェイス)54および55から各色のFM48に供給され、記憶される。
【0025】
画像処理部50は、FM48に記憶された画像データに、拡縮処理(電子変倍処理)、色/濃度補正、階調変換、シャープネス処理(鮮鋭度強調)、画像濃度ダイナミックレンジの圧縮(画像データ処理による覆い焼き効果の付与)等の画像補正処理や、ソフトフォーカス処理やクロスフィルタ処理等の特殊処理等の、各種の画像処理を行う部位である。
これらの画像処理は、ルックアップテーブル(LUT)、マトリクス演算、フィルタ処理等を用いた公知の方法で行えばよく、また、画像処理条件は、基本的に、プレスキャンの画像データを用いた画像解析によって設定される。
【0026】
また、画像処理部50は、画像欠陥補正(ゴミ傷補正)の実施が指示されている場合には、本発明の画像欠陥検出方法を用いて、フィルムFの傷、およびフィルムFに付着したゴミや埃等の異物、スキャナ12の読取系、特に読取部34のエリアCCDセンサの受光面に付着したゴミや埃等の異物、あるいは、被写体を撮影するデジタルカメラ15等の撮影系、特にCCD等のイメージセンサの受光面に付着したゴミや埃等の異物に起因する画像欠陥(以下、ゴミ傷とする)の検出を行い、さらに、このゴミ傷検出によって検出されたゴミ傷や、オペレータによって入力指示されたゴミ傷の補正を行う。以下の説明では、フィルムFの傷およびフィルムFに付着したゴミや埃等の異物をゴミ傷の代表例とするが、本発明はこれに限定されないのはいうまでもない。
なお、画像処理部50において、ゴミ傷検出および補正のタイミングには、特に限定はなく、他の画像処理に先立って行っても、他の画像処理が全て終了した後に行ってもよく、あるいは、画像処理の途中に組み込まれてもよい(例えば、色濃度関連の画像処理を行った後で、像構造関連の処理の前に行う等)。また、像構造特性が一致していれば、検出と補正とで、異なる状態の画像を用いて処理を行ってもよい。
【0027】
以下、図4および図5のフローチャートを参照して、本発明のゴミ傷検出方法の一例を説明する。
本例においては、好ましい態様として、まず、画像データの電子変倍処理を行って、画像サイズを規格化する。この画像サイズの規格化は、処理する画像データ量の低減を測ると共に、全てのサイズの画像で、均一のゴミ傷検出パラメータを使用することを可能にするための処理である。
【0028】
例えば、出力画像が2Lサイズであれば読取画像サイズは約2100画素×1500画素で、出力画像がワイド四ツサイズであれば、読取画像サイズは約3000画素×4500画素など、前述のように、スキャナ12における画像読取のサイズ(読取画素数)は、プリントサイズ等の出力画像のサイズ(出力画素数)に応じて異なる。
一方、フィルムFに付着する埃等の異物や、フィルムFに入る傷などの大きさ(太さ)は、フィルムサイズやフィルム種によらず、比較的、均一である。
【0029】
従って、同じコマであっても、読取画像のサイズが異なると、読み取った画像上において、ゴミ傷の大きさ(ゴミ傷の画素数)が異なってしまう。そのため、高精度なゴミ傷検出を行うためには、ゴミ傷検出のパラメータを、画像サイズに応じて設定する必要がある。
また、画像サイズが大きいと、処理に時間がかかるという問題もある。
【0030】
これに対し、図示例のゴミ傷検出においては、好ましい態様として、処理する画像のサイズを小さくすると共に、処理画像上におけるゴミ傷が所定範囲の大きさなるように、読取画像サイズとに応じた画像の電子変倍処理を行って、画像サイズの規格化を行う。
これにより、各種の画像サイズに対応して、共通のパラメータでゴミ傷検出を行うことができ、また、大きなサイズの画像でも、迅速にゴミ傷検出を行うことができる。
【0031】
規格化のための電子変倍率(拡縮率)は、例えば、ゴミ傷検出における基準的な画像サイズ(基準サイズ)を決定し、処理画像(ゴミ傷検出を行う画像)上におけるゴミ傷の大きさが、基準サイズと同様となるような電子変倍率を、適宜、決定すればよい。
ここで、規格化のための電子変倍処理は、基準サイズを除く全てのケースに対して行ってもよい。しかしながら、基準サイズよりも小さな画像サイズでは、拡大を行うことは、処理時間の増加につながり、生産性の点で不利になる。そのため、このような画像サイズの規格化は、基準サイズと同等以下のサイズには行わないようにするのも、好ましい。基準サイズと同等以下のサイズに対する画像サイズの規格化の実施の有無は、要求される処理速度と検出性能との兼ね合いで、適宜、決定すればよい。また、基準サイズと同等以下のサイズでは、規格化の有無を選択できるようにしてもよい。
【0032】
次いで、R、GおよびB画像から、Y成分画像(輝度成分画像)を作成する。なお、Y成分画像の作成方法には、特に限定はなく、公知の方法が各種利用可能であり、例えば、下記式を用いて行えばよい。
Y=0.3R+0.59G+0.11B
【0033】
さらに、原稿となった画像がポジ画像(フィルムFがリバーサルフィルム)である場合には、階調反転を行って、ネガ画像と同様のY成分画像とする。なお、階調反転の方法には、特に限定はなく、公知の方法によればよい。
すなわち、本例においては、好ましい態様として、画像サイズの規格化およびY成分抽出、さらに、ポジ画像の階調反転を行うことにより、ネガ画像やポジ画像、カラー画像やモノクロ画像などの画像の種類によらず、かつ、画像サイズによらず、全種類の画像で、共通の処理およびパラメータでの高精度なゴミ傷検出を可能にしている。
【0034】
この状態の画像の一例を、図6(A)に示す。この画像は、電飾された山車によるパレードを撮影した画像である。
この画像を画像1として、この画像1に対してモフォロジックフィルタ(Morphologic Filter)のオープニング(Opening) 処理を行って、画像2を作成する。次いで、画像1から画像2を減算してなる、差分画像を作成する。
【0035】
次いで、ゴミ傷の検出レベルに応じて設定される閾値と、差分画像の平均値とを比較し、閾値と差分画像の平均値との差が所定値以下である場合には、閾値を調整する。
【0036】
フィルムFに異物が付着している場合には、その領域の光は遮光されるので、画像濃度は高くなる。また、フィルムに傷が入っている場合には、その領域の光は拡散されるので、同様に画像濃度は高くなる。従って、上述の差分画像において、所定範囲の画像データ以外(所定輝度以下)は、画像濃度的にゴミ傷とは考えられない。図示例のゴミ傷検出においては、まず最初に、閾値を用いて、このような差分画像の中から、ゴミ傷ではないと考えられる領域を削除する。
この閾値は、後述する図9の操作画面の「検出レベル」に応じて、予め決定されている。また、「検出レベル」は、プリントシステム10を操作するオペレータによって調節可能にされている。なお、「検出レベル」が高いとは、ゴミ傷を強く検出(より低い可能性でも、ゴミ傷であると判定)するということであり、すなわち閾値は低くなる。
【0037】
ここで、前述の「画像1−画像2」によって得られた差分画像において、原稿が暗いポジ画像のような画像の場合には、差分画像に非常に多くの高輝度領域が発生してしまう。しかしながら、この高輝度領域の全てがゴミ傷ではないのは、当然のことである。
すなわち、このような画像では、検出レベルに応じた閾値は、必ずしも適正とは言い難く、その結果、ゴミ傷候補として検出される領域が増大して、これ以降の処理時間が、非常に長くなり、処理効率が低下するという問題がある。
【0038】
ここで、暗いポジ画像などの差分画像は平均値が非常に高いので、この平均値と、閾値との差を比較することによって、画像に対して、閾値が適正であるか否かを判定することができ、閾値が平均値に比して低すぎる場合には、閾値を調整することにより、時間を短縮して効率のよい処理を行うことができる。
【0039】
閾値を調節するための閾値と差分画像の平均値との差には、特に限定はなく、要求される処理時間等に応じて、適宜、設定すればよい。本発明者らの検討によれば、処理時間や検出精度等の点で、閾値が差分画像の平均値の3倍以下である場合には、閾値を調整するのが好ましい。すなわち、[閾値]/[差分画像の平均]≧3を満たさない場合には、閾値の調整を行うようにするのが好ましい。
また、閾値の調節にも、特に限定はなく、閾値を調整する閾値と差分画像との差に応じて、条件を満たすような閾値を設定すればよい。例えば、上述した例であれば、[調節された閾値]=[差分画像の平均値×3]+[検出レベルに応じた閾値]とする方法が例示される。
【0040】
なお、本発明においては、ゴミ傷の検出レベルが予め設定された所定レベルよりも高い場合、すなわち閾値が所定値よりも低い場合には、処理時間を節約するために、「画像1−画像2」によって差分画像を作成したら、これ以降は(すなわち、前記閾値と差分画像との比較判断の上から分岐して)、別の処理に入るようにしてもよい(図4および図8の矢印b参照)。
この点に関しては、後に詳述する。
【0041】
次いで、差分画像を、前述の検出レベルに応じた閾値で2値化して、閾値によて画像欠陥候補を抽出した画像3を作成する。さらに、画像3から、孤立点を削除する。
なお、孤立点とは、画像3ではゴミ傷候補として残ってはいるものの、非常に小さい領域である。前述のように、フィルムFのゴミ傷は、ある程度サイズが判明している。従って、ゴミ傷候補が抽出された画像3中において、ゴミ傷として考え得るサイズに比して小さい領域(孤立点)を削除して、以降の処理を行うことにより、迅速なゴミ傷検出を行うことができる。
孤立点のサイズは、前述の画像の規格化等に応じて、適宜決定すればよいが、精度や効率等の点で、8画素以下の領域、特に、画像3に存在する単独の1画素を孤立点として削除するのが好ましい。
【0042】
この孤立点の削除により、ゴミ傷候補(画像欠陥候補)が検出され(図6(B)参照)、これ以降の処理で、本発明の特徴的な点である、存在密度に応じたゴミ傷候補の除去が行われて、画像のゴミ傷が検出される。
【0043】
本発明者の検討によれば、R、GおよびBの画像データを用いたゴミ傷検出において、ゴミ傷として誤検出されやすいのは、洋服のように模様のついた場所、人物の髪の毛の濃淡、ビルの窓、図6のような電気的なイルミネーションなどであり、こういった場所では、密に多数のゴミ傷候補が検出されてしまう。すなわち、ゴミ傷候補が高密度で検出された場所は、誤検出である可能性が高い。
また、可視像として再生した際に目立って画質的に問題となるのは、均一濃度領域(ベタ領域)などの変動の少ない領域に存在するゴミ傷で、逆に、画像が変動している場所(画像がビジーな場所)にゴミ傷が存在して、これが可視像に再生されても、目立たず、画質的には何ら問題にならない場合も多い。
【0044】
このため、ゴミ傷候補の検出を行った後に、ゴミ傷候補が存在する密度に応じて、高密度な部分はゴミ傷では無いとして除去し、密度の低い場所に存在するゴミ傷候補のみをゴミ傷と判定することにより、大きな画質劣化につながるゴミ傷を確実に検出できると共に、誤検出を大幅に減少できる。これにより、例えば、図示例のようなプリントシステム10等でゴミ傷補正を行う際に、処理速度および処理効率の良好にでき、すなわち、生産性の高いシステムを実現できる。
【0045】
なお、本発明において、ゴミ傷候補(画像欠陥候補)の検出方法には、特に限定はなく、R,GおよびB画像を用いたゴミ傷検出を行う方法が、各種利用可能である。例えば、前述の特許文献3のようにエッジ検出を利用する方法、特許文献4のようにスムージング画像と原画像との差分を利用する方法によって、ゴミ傷候補を抽出してもよい。これ以外にも、画像解析を行って、画素の連続性や、周辺画素との色バランス等を利用して、ゴミ傷を検出する方法等も利用可能である。
【0046】
図4〜図5のフローチャートに示されるゴミ傷検出において、前述のように画像3から孤立点を削除したら、まず、孤立点を削除された画像3に存在する各ゴミ傷候補に対して、ラベリング処理(番号付け)を行い、これを画像Aとして保存する。
さらに、画像3に対してモフォロジックフィルタのクロージング(Closing) 処理を施した画像4を作成し、画像4に存在するゴミ傷候補にラベリング処理を行い、これを画像Bとして保存する。
【0047】
次いで、画像Aと画像Bとを分析して(図5)、画像Aと画像Bとで面積が所定値以上異なり、かつ、画像Aにおける所定サイズ以上(n画素以上)のゴミ傷候補が画像Bにおいて所定数(m個)以上結合した場合に、これに該当するゴミ傷候補を、削除する。すなわち、上記条件を満たすゴミ傷候補は、ゴミ傷候補の存在密度が高い場所のものであり、ゴミ傷では無いと判定して、画像3から削除する。
削除後の画像を画像5として保存する。
【0048】
モフォロジックフィルタのクロージング処理とは、いわば、画像を拡大した後に、この拡大画像に対して、基に戻す倍率で縮小を掛けるような処理である。
従って、ゴミ傷候補が低密度な場所では、クロージング処理の前後でゴミ傷候補は全く変化せず、あるいは面積等が変化しても変化量は小さい。これに対し、ゴミ傷候補が高密度な場所では、拡大によって、近隣するもの同士が結合し、この状態から縮小されるので、クロージング処理によってゴミ傷候補に大きな変化が起こる。
【0049】
従って、画像Aおよび画像Bにおける面積変動と、画像Bにおける近隣するゴミ傷候補との結合状態によって、そのゴミ傷候補が、ゴミ傷候補の存在密度の高い場所に存在するのか否かを判定することができる。
また、前述のように、ゴミ傷は、ある程度サイズが判明しているので、画像Aにおけるサイズが所定値以下のゴミ傷候補を判定の対象外とすることにより、処理を迅速に行うことができる。なお、図示例においては、このn画素以下のゴミ傷候補は、ノイズとして、後述する処理で全て削除される。
【0050】
ここで、ゴミ傷の形状は直線状とは限らず、例えば、折れ曲がりや屈曲、丸まり等を有する形状をしているものも、多数存在する。このような形状のゴミ傷をクロージング処理すると、例えば、拡大時に丸まった部分が潰れ、その結果、近隣にゴミ傷候補が存在しなくても、処理前後で面積や形状に大きな変動が生じてしまう。従って、クロージング処理による面積変動のみ判定を行うと、このようなゴミ傷候補を、ゴミ傷では無いと判定して削除してしまう可能性がある。
これに対し、クロージング処理による面積変化に加え、「クロージング処理画像(B画像)においてm個以上が結合」という判定を加えることにより、高密度な場所に存在するゴミ傷候補の削除のみならず、このようなゴミ傷候補を誤削除することも防止して、より高精度なゴミ傷検出を行うことが可能になる。
【0051】
ゴミ傷候補から除外する画像Aおよび画像Bの面積変動には、特に、限定はなく、前記画像サイズの規格化の基準サイズ等に応じて、適宜、決定すればよい。また、ノイズとしてゴミ傷候補の対象外とするn画素、および、高密度と判定する結合数であるm個にも、特に限定はなく、同様に前記基準サイズ等に応じて適宜決定すればよい。
規格化の基準サイズが2Lサイズ(約2100画素×1500画素)の場合であれば、一例として、画像Aと画像Bとで、面積が2倍以上異なり、且つ、8画素以上のゴミ傷候補が4つ以上結合したゴミ傷候補を削除するのが好ましい。
【0052】
次いで、画像5に対してラベリング処理を行い、所定領域当たりのゴミ傷候補の数(存在密度)に応じたゴミ傷候補の削除、ならびに、ノイズ(雑音)の削除を行う。この処理について、図7のフローチャートを参照して説明する。
【0053】
図7に示されるように、まず、ラベリングした画像5に対して画素[0,0]から走査(スキャン)を行って、画像5のゴミ傷候補内の画素を検出する(ラベリングされた画素の検出)。また、この走査は、画像の最後まで行われる。
ゴミ傷候補内の画素を検出したら、まず、このゴミ傷候補の画素数がn画素以下であるか否かを調べ、n画素以下である場合には、このゴミ傷候補を削除する(このラベルを削除)。なお、n画素は、前記規格化の基準サイズ等に応じて設定されるのは、前述のとおりであり、前記2Lサイズであれば、一例として8画素である。また、必要に応じて、クロージング処理による判断の画素数と、この画素数とを、異なるものとしてもよい。
【0054】
一方、このゴミ傷候補がn画素超である場合には、検出した画素を注目画素として、この注目画素を中心とした所定エリア内を検索して、この中に存在するゴミ傷候補を検出する。なお、この際における所定エリアには、特に限定は無く、同様に規格化の基準サイズ等に応じて、適宜、決定すればよいが、前記2Lサイズであれば、一例として、100画素×100画素が例示される。
この検索結果から、エリア内に、注目画素が存在するゴミ傷候補とはラベルが異なり、かつ、所定サイズのゴミ傷候補が、所定数を超えて存在する場合には、高密度な場所に存在するゴミ傷候補であると判定して、注目画素が存在するゴミ傷候補を削除する(このラベルを削除)。なお、この削除の判定基準にも特に限定はなく、同様に規格化の基準サイズ等に応じて、適宜、決定すればよいが、前記2Lサイズであれば、一例として、9画素〜100画素のものが2個以上存在する場合には削除することが例示される。
【0055】
判定を行ったら、走査を行って、次のゴミ傷候補内の画素に行き、このゴミ傷候補のラベルをチェック(上記判定)したか否かを判定し、チェックを行ったラベルである場合(Y)には、次のゴミ傷候補に行くことを繰り返す。
また、このゴミ傷候補のラベルが、チェックをしていないゴミ傷候補のラベルである場合(N)には、上に戻り、この画素が存在するゴミ傷候補の画素数の検出、所定エリア内の検索を行う。
【0056】
以上のルーチンを繰り返し行い、画像の最後に至ったら、処理を終了する。
これにより、画素数がn以上で、かつ、存在密度が低い場所のゴミ傷候補のみをゴミ傷として検出できる(図6(C)参照)。なお、この抽出結果は、誤検出の少ない、高精度なものであるのは、前述のとおりである。
【0057】
以上の操作で、基本的に、本発明のゴミ傷検出は終了する。
ここで、ゴミ傷は、通常、濃淡を有しているので、以上のゴミ傷検出で検出されたゴミ傷領域が、そのゴミ傷の全域を示していない場合もある。そのため、検出された領域のみをゴミ傷として補正を行うと、実際にはゴミ傷である領域の画像データを用いて補正を行ってしまう場合もあり、この際には、適正な補正を行うことができない。
そのため、図示例の画像処理部50においては、高精度なゴミ傷補正を可能にするために、以上のゴミ傷検出で検出したゴミ傷を膨張して、これを最終的なゴミ傷の検出結果とする。
【0058】
この際におけるゴミ傷の膨張には、特に限定はなく、一例として、画素を周辺を囲む8画素まで広げる膨張、あるいはさらにその周辺の16画素まで広げる膨張が例示される。
また、例えば、ゴミ傷補正の強度が高い程、膨張を大きくする等、後述するゴミ傷の補正レベルに応じて、この際のゴミ傷の膨張の程度を変更してもよい。
【0059】
前述のように、本発明によるゴミ傷検出においては、ゴミ傷の検出レベルが予め設定された所定値よりも高い場合、すなわち、閾値が所定の値よりも低い場合には、処理時間を節約するために、差分画像を作成したら、これ以降は、別の処理に入るようにしてもよい。
【0060】
以下、この処理について、図8のフローチャートを参照して説明する。
図4に示されるように「画像1−画像2」の処理を行って差分画像を作成したら(図4および図8の矢印b参照)、この処理では、図8に示されるように、次に差分画像を検出レベルに応じた閾値で2値化して、閾値によってごみ傷候補を抽出した画像3を作成する。次いで、画像3から孤立点を削除する。
【0061】
次いで、孤立点を削除した画像3にモフォロジックフィルタのクロージング処理を行って画像4を作成する。さらに、この画像4に対してラベリング処理を行う。
ラベリング処理した画像4から、画素数が所定範囲のゴミ傷候補を抽出して、これを画像5とする。なお、画像5で抽出するゴミ傷候補の画素数には、特に限定はなく、前記規格化における基準サイズに応じて、適宜、決定すればよい。基準サイズが前記2Lサイズであれば、一例として、8画素〜1600画素が例示される。
【0062】
抽出を終了したら、画像5と画像3のアンド(&)を取る。すなわち、画像3から、画像5と画像3の両者に存在するゴミ傷候補のみを抽出する。次いで、抽出したゴミ傷候補をラベリング処理する。
その後、このラベリング処理した画像に対し、図4〜図5のフローチャートにおける「密度に応じた除去および雑音の除去」の処理を行い(図5および図8の矢印c参照)、これ以降は、同様の処理を行い、ゴミ傷の検出を終了する。
【0063】
検出レベルが高い=閾値が低いということは、ゴミ傷候補が多数検出されるということであり、前述の方法では、処理に時間がかかってしまう。これに対し、図8に示される処理によれば、このような閾値が低い場合でも、処理時間を短縮できると共に、良好な検出精度でゴミ傷検出を行うことができる。なお、この処理に入るゴミ傷の検出レベル(閾値)は、目的とする処理時間やゴミ傷検出精度等に応じて、適宜、設定すればよい。
【0064】
なお、図4、図5および図8に示すゴミ傷検出においては、高密度な場所にあるゴミ傷候補を除去するために、より検出精度を向上できる好まし態様として、モフォロジックフィルタのクロージング処理(拡大および縮小処理)による候補の削除と、所定範囲内におけるゴミ傷候補数を用いた候補の削除の両方を行っているが、本発明は、これに限定はされず、いずれか一方の除去のみを行うものであってもよい。
【0065】
前述のように、画像処理部50は、ゴミ傷補正が指示されている場合には、このようなゴミ傷検出によって検出されたゴミ傷や、オペレータによって入力されたゴミ傷を補正する。
なお、ゴミ傷補正の方法には、特に限定はなく、ゴミ傷領域の周辺画素情報を用いた補間等の公知の方法が各種利用可能であり、図示例では、この周辺画素情報を用いた補間によってゴミ傷の補正を行う。
また、後述するが、図示例においては、ゴミ傷補正のレベル(補正強度)を変更することができる。ゴミ傷の補正レベルは、一例として、補間に用いる領域の広さで調整すればよく、またさらには、ゴミ傷検出の際の「補正のためのゴミ傷膨張」の際の膨張量によって、補正強度を変更してもよい。両者とも、広い程、補正レベルは高くなる。
【0066】
以下、このようなゴミ傷補正の操作について、その一例を説明する。この操作は、GUI(Graphical User Interface)を用いた公知の方法で行えばよい。
前述のようにしてFM48に画像データが保存され、画像処理部50がこれを読み出した際において、所定のタイミングでゴミ傷補正が指示された場合には、プリントシステム10は、ゴミ傷補正モードに入り、ディスプレイ18に図9に示すようなゴミ傷修正画面が表示される。
【0067】
図9において、左に表示されるのはゴミ傷補正を行われる画像(以下、原画とする)である。他方、右にも、同様の原画が表示されるが、この原画には、ゴミ傷の検出結果や、各種の操作を行うためのポインタや範囲指定枠などが重ねて表示される。なお、初期段階においては、ゴミ傷の検出結果などは表示されず、原画のみが表示されている。
また、表示領域を変更するための上下および左右のスクロールバーは、左側の画像にしか表示されないが、このスクロールバーの移動によって、両画像が連動して移動する。
【0068】
図示例においては、「90度回転」ボタンの押下により、画像を90°回転する。右のボタンは右回転、左のボタンは左回転である。
また、「ズームイン」ボタンの押下により画像を所定倍率で段階的に拡大し、「領域ズーム」ボタンの押下およびマウス20bによる切り出しにより画像を分的に拡大表示する。さらに、画像を拡大した状態では、「ズームアウト」ボタンの押下により画像を所定倍率毎に段階的に縮小し、「全体表示」ボタンの押下により画像を全体表示する。
さらに、通常、この操作画面では、操作性を確保するために、ディスプレイ表示用の画像を表示するが、「忠実再現」ボタンの押下により、プリントに再生される画像に近い画像を表示する。
【0069】
オペレータによって「自動検出」ボタンが押下されると、画像処理部50は、前述の図4〜図5(あるいはさらに図8)に示されるゴミ傷検出を行い、図9に示されるように、原画に着色する等の方法で強調することにより、右側の原画に重ねてゴミ傷の検出結果を表示する。図示例においては、7つのゴミ傷が検出されたとする。
ここで、細かいゴミ傷も、良好、あるいは十分に識別できるように、操作画面におけるゴミ傷は、図5に示される最終の検出結果よりも、若干、大きくして表示を行うのが好ましい。
【0070】
なお、自動検出の指示に先立ち、「検出レベル」のスライダーバーを調整することにより、ゴミ傷の検出レベル(閾値)を調整できるのは、前述のとおりである(指示が無い場合には、中央値(本例では10)となっている)。また、「レベル保存」ボタンが押下されると、設定した検出レベルを保存して、次回のゴミ傷検出は、この検出レベルで立ち上がる。
【0071】
ゴミ傷の検出結果は、例えば、最初はM(マゼンタ)に着色されることで強調表示されるが、「検出色変更」ボタンの押下に応じて、ゴミ傷の検出結果の表示を別の色、例えば、C(シアン)→Y(イエロー)→Mと、順次、変更する。
これにより、背景等によらず、確実にゴミ傷の識別を行うことができる。
【0072】
図示例においては、このようなゴミ傷検出の結果に対して、範囲指定を行って各種の操作を行うことができる。
【0073】
なお、図示例においては、マウス20bを用いた矩形の範囲指定と、手動の範囲指定とが設定されており、また、マウス20bを用いた矩形の範囲指定としては、以下の二種類の範囲指定が設定されている。
表示画面のGUIの「範囲指定」ボタンにおいて、上側のボタンの押下することにより、図10(A)に示されるように、マウス20bを用いて、画面上で指示(クリック)した任意の位置から任意の方向にドラッグすることで、このドラッグによるラインを対角線とする任意の矩形範囲を指定できる。
他方、表示画面のGUIの下側のボタンの押下することにより、同様に画面上で指示した任意の位置から任意の方向にドラッグすることで、図10(B)に示されるように、このドラッグ方向に延在する辺を有する、所定幅の矩形を描く。この矩形の描画は、ドラッグの終了によって終了し、次いで、マウスの右ボタンクリック等によって幅(ドラッグ方向と直交方向)を調整することにより、斜め方向の任意矩形で範囲指定を行う。この範囲指定方法を有することにより、斜めに入ったゴミ傷も、不要な領域を含むことなく、好適に指定できる。
【0074】
他方、「手動指定」ボタンの押下により、ペンツールや消しゴムツール、線分ツール等を用いた、手動指定を行うこともできる。なお、これらのツールによる操作方法は、公知の方法によればよい。また、手動指定の場合には、範囲指定ではなく、表示されたゴミ傷自体を指定してもよい。
ここで、「手動指定」ボタンが押下された場合には、操作画面における画像表示は、ゴミ傷が表示された画像(2画像表示の右側)のみの拡大表示となる。
【0075】
このような範囲指定は、1つの処理に対して複数箇所行うことができるのは、もちろんであり、また、1つの処理に対して、異なる種類の範囲指定を行うことができるのも、もちろんである。
【0076】
自動検出結果に対する操作として、例えば、正しく検出できなかったゴミ傷を検出(画像からはゴミ傷と考えられるのに、検出されなかったゴミ傷の検出)する際には、このような範囲指定、および検出レベルの調整を行った後に、再度、「自動検出」ボタンを押下する。画像処理部50は、これに応じて、その領域のみ、再調整した検出レベルでのゴミ傷検出を行う。
【0077】
また、誤検出されたゴミ傷(ゴミ傷ではないのに、ゴミ傷として検出された部分)を消去する際には、同様の範囲指定を行った後に、「取消」ボタンの押下する。これにより、画像処理部50は、指定された範囲内で検出したゴミ傷を削除する。なお、誤検出されたゴミ傷の消去は、誤検出領域の範囲指定を行った後、検出レベルを「0」にして、自動検出を行って実施してもよい。
あるいは、検出の正しかった領域のみを指定して、指示を出すことにより、指定されなかった領域のゴミ傷を誤検出として削除するようにしてもよい。
【0078】
以上のようなゴミ傷検出を行った後、オペレータによって「補正」ボタンが押下されると、画像処理部50は、前述のように、ゴミ傷の周辺領域の画像データを用いた補間によって、ゴミ傷の補正を行う。また、ゴミ傷補正した画像(すなわち、ゴミ傷の補正結果)を、画面の右側に表示する。
また、「補正」ボタンの押下に応じて、「補正」ボタンを「確定」ボタンに、「検出レベル」のスライダーバーを「補正レベル」のスライダーバーに、それぞれ、遷移する。
【0079】
補正後、スライダーバーによって補正レベルが調整されると、「確定」ボタンが、再度、「補正」ボタンに遷移する。この状態で「補正」ボタンを押下されたら、画像処理部50は、調整された補正レベルによって再度補正を行う。なお、再補正は、基本的に、原画に対して行われる。
また、「補正初期化」ボタンの押下により、ゴミ傷補正した画像をゴミ傷補正に入る直前に戻す。
さらに、このような再補正および補正の初期化は、前述の範囲指定に応じて、指定された範囲のみを行ってもよい。
【0080】
図示例のプリントシステム10において、ゴミ傷補正操作中に操作画面の「トライアルプリント」ボタンが押下されると、それに応じて、その時点におけるゴミ傷補正画像のプリント出力を行う(試しプリントの出力)。これにより、ゴミ傷の補正状態を、実際のプリントで確認することが可能になる。
なお、プリントの出力に関しては、後に詳述する。
【0081】
以上のようにして、ゴミ傷の補正を行い、ゴミ傷補正が適正であると判断したら、オペレータは、「確定」ボタンを押下する。これに応じて、画像補正部50は、この画像に対するゴミ傷補正を確定する。さらに、「出力−終了」ボタンが押下されると、この画像に対して、次の処理が開始されると共に、ゴミ傷検出モードが終了する。
ここで、本発明においては、ゴミ傷補正が終了して「確定」した画像を消去せず、保存しておくのが好ましい。これにより、例えば、(仕上がり)プリントを出力した後に、ゴミ傷の補正し残しや、補正ミス等が見つかった場合でも、保存した画像からの追加補正を行うことができるので、処理効率の向上や処理時間お短縮等を図ることができる。
【0082】
以上の処理の途中で「全初期化」ボタンが押下されたら、この画像に対する全ての処理を取り消して、ゴミ傷検出を行う前の初期状態に戻る。
また、同様に、「キャンセル」ボタンが押圧されたら、操作を全てキャンセルして、プリントシステム10は、ゴミ傷修正を行わないモードに戻る。
さらに、図示例のプリントシステム10においては、「枚数」のアップ/ダウンボタンを用いて、この操作画面において、ゴミ傷補正を行った画像のプリント枚数を設定することができる。
【0083】
画像処理部50で処理された画像データは、データ変換部52で処理される。データ変換部52は、例えば、三次元LUT(3D−LUT)を用いて、画像データを画像データをプリンタ22による画像出力に対応する画像データに変換する部位である。
【0084】
プリンタ22は、公知のカラープリンタである。例えば、供給されたR、GおよびBの画像データに応じて変調した光(レーザ)ビームによって、印画紙等の感光材料を二次元的に走査露光して潜像を記録し、露光済の感光材料に、現像/定着/水洗の湿式現像処理を施して潜像を顕像化した後、乾燥して、プリントとして出力するプリンタが例示される。
なお、本発明のプリントシステム10においては、プリントの出力以外にも、補正部54で処理した画像データを、例えば、JPEGの画像ファイルに変換して、CD−R等の記憶媒体に出力してもよい。
【0085】
以上、本発明の画像欠陥検出方法について詳細に説明したが、本発明は上記実施例に限定はされず、本発明の要旨を逸脱しない範囲において、各種の改良および変更を行ってもよいのはもちろんである。
【0086】
例えば、以上の例では、入力された画像の全域に渡って画像欠陥検出を行っているが、画像欠陥の検出を行うのは出力画像に対応する領域のみとしてもよく、あるいは、指定された領域のみの画像欠陥検出を行うものであってもよく、さらに、全域/出力画像領域/指定領域の画像欠陥検出のいずれかを選択できるようにしてもよい。
また、図示例では、スキャナ12によるファインスキャンデータを用いて画像欠陥の検出を行っているが、本発明は、これに限定はされず、解像度等の点で可能であれば、生産性を重視してプレスキャンデータを用いて画像欠陥の検出を行うようにしてもよい。
さらに、図示例では、フィルムF(透過原稿)のゴミ傷に起因する画像欠陥を検出しているが、本発明は、反射原稿を光電的に読み取って得られた画像データから画像欠陥を検出してもよい。上述したように、フィルムF(透過原稿)や反射原稿を光電的に読み取る読取系、特にCCDセンサ等のイメージセンサの受光面に付着するゴミ傷等の画像欠陥や、被写体を撮影するデジタルカメラ(DSC)等の撮影系特にCCDセンサ等のイメージセンサの受光面に付着するゴミ傷等の画像欠陥を検出してもよいのはもちろんである。
【0087】
【発明の効果】
以上、詳細に説明したように、本発明によれば、検出された画像欠陥候補の存在密度に応じて、誤検出された画像欠陥候補の削除を行って、最終的な画像欠陥を決定するので、画像を再生した際に大きな問題となるベタ領域等に存在する画像欠陥を確実に検出できると共に、誤検出の少ない高精度な画像欠陥検出を効率よく行うことができる。
【図面の簡単な説明】
【図1】本発明の画像欠陥検出方法を実施するプリントシステムの一実施例のブロック図である。
【図2】図1に示されるプリントシステムのスキャナの一実施例の概念図である。
【図3】図1に示されるプリントシステムの画像処理装置の一実施例のブロック図である。
【図4】本発明の画像欠陥検出方法の一例のフローチャートである。
【図5】本発明の画像欠陥検出方法の一例のフローチャートであって、図4の続きである。
【図6】(A),(B)および(C)は、本発明の画像欠陥検出方法を説明するための参考図である。
【図7】図5に示されるフローチャートを説明するためのフローチャートである。
【図8】本発明の画像欠陥検出方法の別の例のフローチャートである。
【図9】図1に示されるプリントシステムにおける画像欠陥補正の操作画面の概念図である。
【図10】(A)および(B)は、図9に示される操作画面における範囲指定方法を説明するための概念図である。
【符号の説明】
10 (デジタル)プリントシステム
12 スキャナ
14 画像処理装置
15 デジタル(スチル)カメラ
16 接続ポート
17 ドライブ
18 ディスプレイ
20 操作系
22 プリンタ
24 光源
26 ドライバ
28 拡散ボックス
30 キャリア
32 結像レンズユニット
34 読取部
36 アンプ
38 A/D変換器
40 搬送ローラ対
42 マスク
44 データ補正部
46 Log変換器
48 FM(フレームメモリ)
50 画像処理部
52 データ変換部
54,55 インターフェース
[0001]
BACKGROUND OF THE INVENTION
The present invention belongs to the technical field of digital image analysis, and more specifically, an image obtained by photoelectrically reading an image photographed on a film or the like, or a subject is photographed photoelectrically by a digital still camera (DSC). Reading system that reads foreign matter such as dust attached to the film from the image, film scratches and film, especially foreign matter such as dust attached to the image sensor such as CCD, or photographing system for photographing the subject, especially image sensor such as CCD The present invention relates to a method for detecting an image defect that can accurately detect an image defect caused by foreign matter such as dust adhering to the surface.
[0002]
[Prior art]
At present, printing of an image taken on a photographic film (hereinafter referred to as a film) such as a negative film or a reversal film onto a photosensitive material (photographic paper) is performed by projecting an image on the film onto the photosensitive material, and so-called direct exposure. Exposure is mainstream.
On the other hand, in recent years, an image recorded on a film is photoelectrically read and the read image is converted into a digital signal, and then subjected to various image processing to obtain image data for recording. The photosensitive material is exposed with modulated recording light and output as a print, and the image data is output as an image file to a recording medium such as a CD-R or HD (hard disk).
[0003]
According to such digital processing, an image photographed on a film is read and image processing is performed as digital image data, so that not only color and density can be corrected very suitably, but also gradation correction and sharpness processing ( Image processing that is basically impossible with a normal direct exposure printer, such as sharpness correction, can be performed to obtain a high-quality image.
[0004]
By the way, in the output of an image using a film as a document, a major factor causing image quality degradation is image defects (hereinafter referred to as dust) caused by foreign matters such as dust and dust attached to the film, scratches on the film formed by friction, and the like. There is a wound).
In a conventional direct exposure printer, the film is manually cleaned by an operator, and an image (film) is corrected with a color material, thereby outputting a print in which such dust scratches are corrected. On the other hand, in the digital processing that reads the film image photoelectrically and handles it as digital image data, the image data obtained by reading is analyzed by image analysis, and is detected and corrected by image processing. can do.
[0005]
By the way, in a digital printer, as a method for detecting dust scratches on such a film, conventionally, an invisible image such as infrared light (IR light) is read and the invisible image is analyzed. The method of doing is known (refer patent document 1, patent document 2, etc.).
In other words, IR light is not absorbed by the image (pigment) photographed on the film, but is shielded / scattered by dust scratches, so that dust scratches are detected from changes in signal intensity when the film is read with IR light. be able to.
[0006]
However, while the dust scratch detection method using IR light has very good detection accuracy, it is necessary to provide an image reading function using IR light to the image reading device (scanner), which increases the cost of the device. Also, the reading speed is reduced.
In black and white films, some dyes and reduced silver that form an image may have an IR light absorbing component. Therefore, dust scratch detection by IR light cannot be used for such black and white films.
[0007]
Under such circumstances, there is a demand for a method for detecting dust scratches by a simple method using R (red), G (green) and B (blue) image data (RGB components). Various methods have been proposed.
As an example of a method for detecting dust flaws in an image by image analysis using the RGB components, a method of detecting a line segment that satisfies a condition by edge detection and detecting the flaw by using the line segment (patent) Document 3), or a method for detecting dust scratch candidate areas from the size of the difference between the smoothed image and the original image, and detecting dust scratches from the characteristics of the candidate areas such as changes in shape and color (see Patent Document 4) It has been known.
[0008]
However, there are many cases in which an image has a large number of regions having a profile similar to a dust scar, such as a patterned clothes.
For this reason, dust scratch detection by image analysis using these RGB components has a problem that many areas are erroneously determined as dust scratches in the image even though they are not originally dust scratches. If image correction (dust flaw correction) is performed based on dust flaw detection by image analysis, the image quality of the reproduced image may be deteriorated.
[0009]
[Patent Document 1]
Japanese Patent Application Laid-Open No. 06-028468
[Patent Document 2]
Japanese Patent Laid-Open No. 11-075039
[Patent Document 3]
JP 2000-074846 A
[Patent Document 4]
JP 2000-092319 A
[0010]
[Problems to be solved by the invention]
An object of the present invention is to solve the above-mentioned problems of the prior art, and an image obtained by photoelectrically reading an image taken on a film or the like, or a subject is photographed photoelectrically by a digital still camera. Photographing foreign objects such as dust and dust attached to the film, scratches attached to the film, foreign matter such as dust and dirt attached to an image sensor such as a CCD, or a subject from the image, or a subject. An object of the present invention is to provide an image defect detection method capable of detecting an image defect caused by a foreign substance such as dust or dust attached to an image sensor such as a CCD or the like with high accuracy without erroneous detection.
[0011]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides an image data obtained by photoelectric reading of a manuscript or photoelectric photographing of a subject. The image defect candidate of the image reproduced by the image data caused by the foreign matter attached to the reading system or the foreign matter attached to the photographing system of the subject is detected, and the density is determined according to the density at which the image defect candidate exists. An image defect detection method characterized in that image defect candidates existing at locations exceeding a predetermined state are removed and the rest are used as image defects of an image reproduced by the image data. Is to provide.
[0012]
In such an image defect detection method of the present invention, as the removal of the image defect candidate existing in a place where the density exceeds a predetermined state, the image defect candidate is enlarged and then subjected to a reduction process. It is preferable to perform at least one of the removal of image defect candidates that have caused a predetermined variation in the image of the image and the removal of image defect candidates having a predetermined number of image defect candidates within a certain range including itself. Further, it is preferable to create a luminance component image from the image data, and to detect the image defect candidate using the luminance component image, and when the image data is image data of a positive image, It is preferable to perform an image inversion process before the detection of the image defect candidate, and further, the size of the image defect in the processed image is determined before the detection of the image defect candidate. So that a constant range is preferably performed scaling processing of the image at a preset magnification in accordance with the image size.
Further, when the image defect detection method of the present invention is carried out, the display of the detection result of the dust scar on the operation screen for dust scratch detection or further correction is displayed larger than the detection result of the dust scratch. Is preferred.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an image defect detection method of the present invention will be described in detail based on a preferred embodiment shown in the accompanying drawings.
[0014]
FIG. 1 shows a block diagram of an embodiment of a digital printing system for implementing the image defect detection method of the present invention.
A digital printing system (hereinafter referred to as a printing system) 10 shown in FIG. 1 photoelectrically reads an image taken on a film F, or a subject is a digital still camera (DSC, hereinafter referred to as a digital camera). 15 is used to output the image data (image file) of the image to be reproduced on the print or the recording medium such as a CD-R which has been photoelectrically photographed and reproduced on the recording medium. (Image reading device) 12, image processing device 14, and printer 22. Note that the image processing device 14 is provided with a connection port 16 for connecting the digital camera 15 in order to read image data from the memory of the digital camera 15, or image data of an image taken by the digital camera 15 is recorded. A drive 17 for reading image data from the recorded recording medium is connected. In addition, a display 18 and an operation system 20 (a keyboard 20a and a mouse 20b) are connected to the image processing apparatus 14.
[0015]
The scanner 12 is a device that photoelectrically reads an image photographed on the film F. As shown in the conceptual diagram of FIG. 2, the scanner 12 has a light source 24, a driver 26, a diffusion box 28, a carrier 30, an imaging lens unit 32, and a reading unit. 34, an amplifier 36, and an A / D (analog / digital) converter 38.
[0016]
In the scanner 12 of the illustrated example, the light source 24 uses an LED (Light Emitting Diode), and R (red) light, G (green) light, and B (blue) for reading an image photographed on the film F. It consists of LEDs that emit light. The light source 24 is driven by a driver 26, and R, G, and B lights are sequentially emitted.
The light emitted from the light source 24 enters the diffusion box 28. The diffusion box 28 makes light incident on the film F uniform in the film surface direction.
[0017]
The carrier 30 intermittently conveys the film F and sequentially conveys / holds each image (each frame) photographed on the film F to a predetermined reading position. A plurality of types of carriers 30 corresponding to the film size and the like are prepared, and are configured to be detachable from the main body of the scanner 12.
In the illustrated example, the carrier 30 includes a pair of transport rollers 40 a and 40 b that transport the film F in the longitudinal direction, and a mask 42 that regulates the reading area of each frame at a predetermined reading position. Have
[0018]
The imaging lens unit 32 focuses the projected light of the film F on a predetermined position of the reading unit 34.
The reading unit 34 uses an area CCD sensor as an image sensor for photoelectrically reading the image carried on the film F and photoelectrically reads the film F (its projection light) and is regulated by the mask 42 of the carrier 30. The entire surface of one frame is read (image reading by planar light irradiation).
[0019]
In such a scanner 12, when reading the film F, the film F is conveyed by the carrier 30, and the frame to be read is conveyed to the reading position.
Next, under the action of the driver 26, for example, the R LED of the light source 24 is driven to emit R light. The R light is made uniform in the surface direction of the film F by the diffusion box 28, then enters the reading position, enters and passes through the film F (the reading position frame), and the image photographed on this frame Becomes the projection light carrying This projection light is imaged at a predetermined position (light receiving surface of the area CCD sensor) of the reading unit 34 by the imaging lens unit 32, and the R image of this frame is photoelectrically read.
[0020]
Next, the G and B LEDs of the light source 24 are sequentially emitted to read the G image and the B image in the same manner, and the reading of this frame is completed. Note that the size of the image read by the scanner 12 (number of read pixels) differs depending on the size of the print (number of output pixels) instructed to be output.
When the reading of one frame is completed, the carrier 30 conveys the film F and conveys the next frame to be read to the reading position.
[0021]
An output signal from the reading unit 34 is amplified by an amplifier 36, converted into a digital image signal by an A / D converter 38, and output to the image processing unit 14 (data correction unit 44).
[0022]
In the printing system 10, a fine scan for reading an image at a high resolution for outputting a print or the like for one frame, a fine scan reading condition, and an image processing in the image processing device 14 (image processing unit 50) are usually performed. In order to determine the conditions, image scanning is performed twice, that is, pre-scanning, which is image scanning at a low resolution, performed prior to fine scanning.
In this case, normally, the output signals of the pre-scan and fine scan are basically the same data except that the resolution and the output level are different.
[0023]
As described above, the digital image signal output from the scanner 12 is output to the image processing device 14. FIG. 3 shows a conceptual diagram of the image processing apparatus 14.
As illustrated in FIG. 3, the image processing apparatus 14 includes a data correction unit 44, a Log converter 46, a frame memory 48 (hereinafter referred to as FM 48), an image processing unit 50, and a data conversion unit 52. Further, as described above, the connection port 16 of the DSC 15 is provided in the image processing apparatus 14, and the drive 17, the display 18, and the operation system 20 are connected thereto. Note that the image processing apparatus 14 may have a processing path for branching downstream from the Log converter 46, processing prescan data, and displaying a simulation image for verification.
The image processing apparatus 14 may be configured by combining, for example, a computer having a CPU (Central Processing Unit) and a memory, software corresponding to the computer, or further hardware.
[0024]
The data correction unit 44 is a part that applies predetermined corrections such as DC offset correction, dark correction, and shading correction to the R, G, and B output data output from the scanner 12.
The Log converter 46 performs Log conversion on the output data processed by the data correction unit 44 by using, for example, an LUT (Look Up Table) or the like to obtain digital image (density) data (image information).
The R, G, and B image data converted by the Log converter 46 are stored in the corresponding FM 48, respectively. Further, in the illustrated example, when processing each image data of the supplied image (image file) from the digital camera 15 via the connection port 16 or via the drive 17 from a recording medium or the like, an example is given. Are supplied from the corresponding I / F (interface) 54 and 55 to the FM 48 of each color and stored therein.
[0025]
The image processing unit 50 performs enlargement / reduction processing (electronic scaling processing), color / density correction, gradation conversion, sharpness processing (sharpness enhancement), image density dynamic range compression (image data) on the image data stored in the FM 48. This is a part that performs various image processing such as image correction processing such as dodging effect by processing) and special processing such as soft focus processing and cross filter processing.
These image processes may be performed by a known method using a look-up table (LUT), matrix calculation, filter processing, and the like. The image processing conditions are basically images using pre-scan image data. Set by analysis.
[0026]
In addition, when the image processing unit 50 is instructed to perform image defect correction (dust scratch correction), the image processing unit 50 uses the image defect detection method of the present invention to detect scratches on the film F and dust attached to the film F. An imaging system such as a digital camera 15 for capturing a foreign object such as dust or dust, a foreign matter such as dust or dust adhering to the light receiving surface of the area CCD sensor of the scanner 34, particularly a reading unit 34, or a subject such as a CCD. Detects image defects (hereinafter referred to as dust scratches) caused by foreign matters such as dust and dust attached to the light receiving surface of the image sensor, and further detects dust scratches detected by this dust scratch detection and inputs by the operator. Correct the specified dust flaw. In the following description, scratches on the film F and foreign matters such as dust and dirt adhering to the film F are used as representative examples of dust scratches, but it goes without saying that the present invention is not limited to this.
Note that the timing of dust scratch detection and correction in the image processing unit 50 is not particularly limited, and may be performed prior to other image processing or after all other image processing is completed. It may be incorporated in the middle of image processing (for example, after performing color density-related image processing and before image structure-related processing). Further, if the image structure characteristics match, processing may be performed using images in different states for detection and correction.
[0027]
Hereinafter, an example of the dust scratch detection method of the present invention will be described with reference to the flowcharts of FIGS. 4 and 5.
In this example, as a preferred mode, first, electronic scaling processing of image data is performed to normalize the image size. This standardization of the image size is a process for measuring a reduction in the amount of image data to be processed and making it possible to use uniform dust flaw detection parameters for images of all sizes.
[0028]
For example, if the output image is 2L size, the read image size is about 2100 pixels × 1500 pixels, and if the output image is wide four size, the read image size is about 3000 pixels × 4500 pixels, as described above. The image reading size (the number of read pixels) in FIG. 12 differs depending on the output image size (the number of output pixels) such as the print size.
On the other hand, the size (thickness) of foreign matters such as dust adhering to the film F and scratches entering the film F is relatively uniform regardless of the film size and film type.
[0029]
Therefore, even in the same frame, if the size of the read image is different, the size of the dust scratch (the number of pixels of the dust scratch) is different on the read image. Therefore, in order to detect dust flaws with high accuracy, it is necessary to set dust flaw detection parameters according to the image size.
In addition, when the image size is large, there is a problem that processing takes time.
[0030]
On the other hand, in the dust scratch detection of the illustrated example, as a preferred mode, the size of the image to be processed is reduced, and the dust scratch on the processed image is set in a predetermined range according to the read image size. The image is electronically scaled to normalize the image size.
Accordingly, dust scratch detection can be performed with a common parameter corresponding to various image sizes, and dust scratch detection can be quickly performed even with a large size image.
[0031]
For the electronic scaling factor (enlargement / reduction ratio) for standardization, for example, a standard image size (reference size) in dust scratch detection is determined, and the size of dust scratches on the processed image (image on which dust scratch detection is performed). However, an electronic scaling factor that is the same as the reference size may be determined as appropriate.
Here, the electronic scaling process for standardization may be performed for all cases except the reference size. However, if the image size is smaller than the reference size, enlargement leads to an increase in processing time, which is disadvantageous in terms of productivity. Therefore, it is also preferable not to perform such standardization of the image size to a size equal to or smaller than the reference size. Whether or not to standardize the image size for a size equal to or smaller than the reference size may be determined as appropriate in consideration of the required processing speed and detection performance. In addition, for the size equal to or smaller than the reference size, the presence or absence of normalization may be selected.
[0032]
Next, a Y component image (luminance component image) is created from the R, G, and B images. There are no particular limitations on the method of creating the Y component image, and various known methods can be used. For example, the following method may be used.
Y = 0.3R + 0.59G + 0.11B
[0033]
Further, when the image that is the original is a positive image (film F is a reversal film), gradation inversion is performed to obtain a Y component image similar to the negative image. The gradation inversion method is not particularly limited and may be a known method.
That is, in this example, as a preferable mode, image types such as a negative image, a positive image, a color image, and a monochrome image are obtained by normalizing the image size, extracting the Y component, and further reversing the gradation of the positive image. Regardless of the image size, regardless of the image size, it is possible to detect dust flaws with high accuracy using common processing and parameters for all types of images.
[0034]
An example of an image in this state is shown in FIG. This image is an image of a parade of illuminated floats.
Using this image as image 1, an opening process of a morphological filter is performed on image 1 to create image 2. Next, a difference image is created by subtracting image 2 from image 1.
[0035]
Next, the threshold value set according to the dust scratch detection level is compared with the average value of the difference image. If the difference between the threshold value and the average value of the difference image is equal to or less than a predetermined value, the threshold value is adjusted. .
[0036]
When foreign matter is attached to the film F, the light in that region is shielded, so that the image density becomes high. If the film is scratched, the light in that area is diffused, and the image density is similarly increased. Therefore, in the above-described difference image, the image data other than the predetermined range of image data (below the predetermined luminance) cannot be considered as dust scratches in terms of image density. In the dust scratch detection in the illustrated example, first, an area considered not to be a dust scratch is deleted from such a difference image using a threshold value.
This threshold value is determined in advance according to the “detection level” on the operation screen shown in FIG. Further, the “detection level” can be adjusted by an operator who operates the printing system 10. Note that “detection level” is high means that dust scratches are strongly detected (even if the possibility is lower, it is determined that dust scratches are present), that is, the threshold value is low.
[0037]
Here, in the difference image obtained by the “image 1-image 2” described above, if the document is an image such as a dark positive image, a very large number of high-luminance regions are generated in the difference image. However, it is natural that all of the high luminance areas are not dust scratches.
That is, in such an image, the threshold according to the detection level is not necessarily appropriate, and as a result, the area detected as a dust scratch candidate increases, and the subsequent processing time becomes very long. There is a problem that processing efficiency decreases.
[0038]
Here, since a difference image such as a dark positive image has a very high average value, it is determined whether or not the threshold value is appropriate for the image by comparing the difference between the average value and the threshold value. If the threshold is too low compared to the average value, the threshold can be adjusted to shorten the time and perform efficient processing.
[0039]
The difference between the threshold for adjusting the threshold and the average value of the difference images is not particularly limited, and may be set as appropriate according to the required processing time. According to the study by the present inventors, it is preferable to adjust the threshold when the threshold is not more than three times the average value of the difference images in terms of processing time and detection accuracy. That is, when [threshold] / [average of difference images] ≧ 3 is not satisfied, it is preferable to adjust the threshold.
Further, there is no particular limitation on the adjustment of the threshold, and a threshold that satisfies the condition may be set according to the difference between the threshold for adjusting the threshold and the difference image. For example, in the above-described example, a method of [adjusted threshold] = [average difference image × 3] + [threshold according to the detection level] is exemplified.
[0040]
In the present invention, when the dust scratch detection level is higher than a predetermined level, that is, when the threshold value is lower than the predetermined value, in order to save processing time, “image 1-image 2”. After the difference image is created by “”, another process may be entered after that (that is, after branching from the comparison judgment between the threshold value and the difference image) (arrow b in FIGS. 4 and 8). reference).
This will be described in detail later.
[0041]
Next, the difference image is binarized with a threshold value corresponding to the above-described detection level, and an image 3 in which image defect candidates are extracted based on the threshold value is created. Further, the isolated point is deleted from the image 3.
The isolated point is a very small area although it remains as a dust flaw candidate in the image 3. As described above, the size of the dust scratches on the film F is known to some extent. Therefore, in the image 3 from which the dust scratch candidates are extracted, a region (isolated point) that is smaller than the size that can be considered as dust scratches is deleted, and the subsequent processing is performed, thereby quickly detecting dust scratches. be able to.
The size of the isolated point may be determined as appropriate in accordance with the above-mentioned standardization of the image. However, in terms of accuracy and efficiency, an area of 8 pixels or less, particularly a single pixel existing in the image 3 is selected. It is preferable to delete as an isolated point.
[0042]
By deleting the isolated points, dust flaw candidates (image defect candidates) are detected (see FIG. 6B), and dust flaws corresponding to the existence density, which is a characteristic point of the present invention, are obtained in subsequent processing. Candidate removal is performed and dust flaws in the image are detected.
[0043]
According to the study of the present inventor, in the detection of dust scratches using R, G, and B image data, it is easy to mistakenly detect dust scratches in places with patterns such as clothes and the density of human hair. , Windows of buildings, electrical illumination as shown in FIG. 6, etc., and in such places, many dust scratch candidates are densely detected. In other words, a place where dust scratch candidates are detected at a high density is highly likely to be a false detection.
Also, a noticeable problem in image quality when reproduced as a visible image is dust scratches in areas with little fluctuation, such as a uniform density area (solid area), and the image fluctuates on the contrary. In many cases, there are dust scratches in a place (place where the image is busy), and even if this is reproduced as a visible image, it is not noticeable and there is no problem in image quality.
[0044]
For this reason, after detection of dust scratch candidates, depending on the density at which dust scratch candidates exist, high density portions are removed as not being dust scratches, and only dust scratch candidates present at low density locations are removed. By determining it as a flaw, it is possible to reliably detect a dust flaw that leads to a large deterioration in image quality, and to greatly reduce false detection. Thus, for example, when dust damage correction is performed with the print system 10 as shown in the drawing, the processing speed and processing efficiency can be improved, that is, a system with high productivity can be realized.
[0045]
In the present invention, there are no particular limitations on the method for detecting dust flaw candidates (image defect candidates), and various methods for detecting dust flaws using R, G, and B images can be used. For example, dust scratch candidates may be extracted by a method using edge detection as described in Patent Document 3 and a method using a difference between a smoothed image and an original image as described in Patent Document 4. In addition to this, it is also possible to use a method for detecting dust scratches by performing image analysis and utilizing pixel continuity, color balance with surrounding pixels, and the like.
[0046]
In the dust scratch detection shown in the flowcharts of FIGS. 4 to 5, when isolated points are deleted from the image 3 as described above, first, labeling is performed on each dust scratch candidate existing in the image 3 from which the isolated points have been deleted. Processing (numbering) is performed, and this is stored as image A.
Further, an image 4 is generated by performing a closing process of the morphological logic filter on the image 3, and a dust scratch candidate existing in the image 4 is labeled and stored as an image B.
[0047]
Next, the images A and B are analyzed (FIG. 5), and dust scratch candidates having different areas of the image A and the image B by a predetermined value or more and a predetermined size or more (n pixels or more) in the image A are detected. If a predetermined number (m) or more are combined in B, the corresponding dust scratch candidate is deleted. That is, the dust flaw candidate that satisfies the above conditions is a place where the density of dust flaw candidates is high and is determined not to be a dust flaw, and is deleted from the image 3.
The deleted image is saved as image 5.
[0048]
The closing process of the morphologic filter is, so to speak, a process of enlarging an image and then reducing the enlarged image at a magnification to be restored.
Accordingly, in a place where dust scratch candidates are low density, the dust scratch candidates do not change at all before and after the closing process, or the change amount is small even if the area or the like changes. On the other hand, in places where dust scratch candidates are dense, neighboring objects are joined together by enlargement and are reduced from this state, so that a large change occurs in the dust scratch candidates due to the closing process.
[0049]
Therefore, it is determined whether or not the dust flaw candidate exists in a place where the dust flaw candidate exists at a high density according to the combined state of the area variation in the images A and B and the neighboring dust flaw candidate in the image B. be able to.
Further, as described above, since the size of dust scratches is known to some extent, the processing can be quickly performed by excluding dust scratch candidates whose size in image A is equal to or smaller than a predetermined value. . In the illustrated example, all the dust scratch candidates of n pixels or less are deleted as noise in the process described later.
[0050]
Here, the shape of the dust scratches is not limited to a straight line, and there are many, for example, a shape having a bent shape, a bent shape, a round shape, or the like. When closing the dust scratches having such a shape, for example, a rounded portion is crushed during enlargement, and as a result, even if there are no dust scratch candidates in the vicinity, a large change occurs in the area and shape before and after the processing. . Therefore, if only the area variation due to the closing process is determined, such a dust scratch candidate may be determined as not being a dust scratch and deleted.
On the other hand, in addition to the area change due to the closing process, by adding a determination that “m or more pieces are combined in the closing image (B image)”, not only the deletion of dust scratch candidates existing in a high-density place, It is possible to prevent such dust flaw candidates from being erroneously deleted, and to detect dust flaws with higher accuracy.
[0051]
There is no particular limitation on the area variation of the image A and the image B to be excluded from the dust scratch candidates, and it may be determined as appropriate according to the standard size for normalization of the image size. Also, there are no particular limitations on the n pixels that are excluded from dust scratch candidates as noise, and the number m that is the number of connections determined to be high density, and may be appropriately determined according to the reference size and the like in the same manner. .
If the standard size for standardization is 2L (about 2100 pixels × 1500 pixels), for example, the image A and the image B have an area that is twice or more different from each other, and there are dust scratch candidates of 8 pixels or more. It is preferable to delete four or more dust flaw candidates that are combined.
[0052]
Next, a labeling process is performed on the image 5 to delete dust scratch candidates according to the number (presence density) of dust scratch candidates per predetermined area, and to delete noise (noise). This process will be described with reference to the flowchart of FIG.
[0053]
As shown in FIG. 7, first, the labeled image 5 is scanned (scanned) from the pixel [0, 0] to detect a pixel in the dust flaw candidate of the image 5 (of the labeled pixel). detection). This scanning is performed to the end of the image.
When a pixel in the dust scratch candidate is detected, it is first checked whether or not the number of pixels of the dust scratch candidate is n pixels or less. If the pixel is equal to or less than n pixels, the dust scratch candidate is deleted (this label Deleted). Note that the n pixels are set according to the standardized reference size and the like as described above, and as an example, the n pixels are 8 pixels. Further, if necessary, the number of pixels determined by the closing process may be different from the number of pixels.
[0054]
On the other hand, if the number of dust scratch candidates exceeds n pixels, the detected pixel is used as a target pixel, and a predetermined area centering on the target pixel is searched to detect a dust scratch candidate existing therein. . The predetermined area in this case is not particularly limited, and may be appropriately determined according to the standard size for standardization. However, as long as the size is 2L, as an example, 100 pixels × 100 pixels Is exemplified.
From this search result, if the label is different from the dust flaw candidate in which the target pixel exists in the area, and there are more than a predetermined number of dust flaw candidates of a predetermined size, they exist in a high-density place. It is determined that it is a dust flaw candidate to be deleted, and a dust flaw candidate in which the pixel of interest exists is deleted (this label is deleted). The deletion criterion is not particularly limited, and may be appropriately determined according to the standard size for standardization. However, as an example of the 2L size, 9 to 100 pixels can be used. When two or more things exist, deleting is exemplified.
[0055]
When the determination is made, scanning is performed to go to a pixel in the next dust scratch candidate, and it is determined whether or not the label of the dust scratch candidate is checked (determined above). In Y), going to the next dust wound candidate is repeated.
If this dust scratch candidate label is a label for a dust scratch candidate that has not been checked (N), the process returns to the top to detect the number of dust scratch candidate pixels in which this pixel exists, and within a predetermined area. Search for.
[0056]
The above routine is repeated, and when the end of the image is reached, the process is terminated.
Thereby, only dust scratch candidates in places where the number of pixels is n or more and the density of existence is low can be detected as dust scratches (see FIG. 6C). As described above, this extraction result is highly accurate with few false detections.
[0057]
Basically, the dust scratch detection of the present invention is completed by the above operation.
Here, since the dust scratch usually has a light and shade, the dust scratch area detected by the above dust scratch detection may not indicate the entire dust scratch. For this reason, if only the detected area is corrected as dust scratches, correction may actually be performed using image data of the area that is dust scratches. In this case, correct correction should be performed. I can't.
Therefore, in the illustrated image processing unit 50, in order to enable highly accurate dust scratch correction, the dust scratch detected by the above dust scratch detection is expanded, and this is used as a final dust scratch detection result. And
[0058]
There is no particular limitation on the expansion of dust scratches at this time, and an example is expansion that expands the pixels to 8 pixels surrounding the periphery, or expansion that further expands the surrounding pixels to 16 pixels.
In addition, for example, the degree of expansion of dust scratches at this time may be changed according to the dust scratch correction level described later, such as the greater the dust scratch correction strength, the greater the expansion.
[0059]
As described above, in dust scratch detection according to the present invention, if the dust scratch detection level is higher than a predetermined value, that is, if the threshold is lower than a predetermined value, the processing time is saved. For this reason, once the difference image is created, another process may be performed thereafter.
[0060]
Hereinafter, this process will be described with reference to the flowchart of FIG.
When the difference image is created by performing the process of “image 1-image 2” as shown in FIG. 4 (see arrow b in FIG. 4 and FIG. 8), in this process, as shown in FIG. The difference image is binarized with a threshold value corresponding to the detection level, and an image 3 in which dust wound candidates are extracted based on the threshold value is created. Next, the isolated point is deleted from the image 3.
[0061]
Next, the image 4 from which the isolated points have been deleted is subjected to a morphological logic closing process to create an image 4. Further, a labeling process is performed on the image 4.
A dust scratch candidate having a predetermined number of pixels is extracted from the image 4 that has been subjected to the labeling process, and this is used as an image 5. Note that the number of dust scratch candidate pixels extracted from the image 5 is not particularly limited, and may be determined as appropriate according to the standard size in the standardization. If the reference size is the 2L size, 8 to 1600 pixels are exemplified as an example.
[0062]
When the extraction is completed, the AND of the image 5 and the image 3 is taken. That is, from the image 3, only dust scratch candidates existing in both the image 5 and the image 3 are extracted. Next, the extracted dust flaw candidate is labeled.
Thereafter, the labeling-processed image is subjected to processing of “removal according to density and noise removal” in the flowcharts of FIGS. 4 to 5 (see arrows c in FIGS. 5 and 8). This process is performed to end the detection of dust scratches.
[0063]
A high detection level = low threshold means that a large number of dust scratch candidates are detected, and the above-described method takes time. On the other hand, according to the processing shown in FIG. 8, even when such a threshold is low, the processing time can be shortened and dust scratches can be detected with good detection accuracy. The dust scratch detection level (threshold value) entering this process may be appropriately set according to the target processing time, dust scratch detection accuracy, and the like.
[0064]
In the dust scratch detection shown in FIGS. 4, 5 and 8, the closing process of the morphologic filter is preferable as a preferred mode that can improve the detection accuracy in order to remove dust scratch candidates in a high-density place. Although both deletion of candidates by (enlargement and reduction processing) and deletion of candidates using the number of dust flaw candidates within a predetermined range are performed, the present invention is not limited to this, and either one is removed You may only do.
[0065]
As described above, when the dust scratch correction is instructed, the image processing unit 50 corrects the dust scratch detected by such dust scratch detection or the dust scratch input by the operator.
There are no particular limitations on the dust scratch correction method, and various known methods such as interpolation using the peripheral pixel information of the dust scratch area can be used. In the illustrated example, interpolation using this peripheral pixel information is possible. To correct dust scratches.
Further, as will be described later, in the illustrated example, the level of dust flaw correction (correction strength) can be changed. As an example, the dust scratch correction level may be adjusted according to the size of the area used for interpolation. Furthermore, the dust scratch correction level is corrected according to the amount of expansion during dust dust detection for dust scratch detection. The intensity may be changed. In both cases, the wider the width, the higher the correction level.
[0066]
Hereinafter, an example of such dust flaw correction operation will be described. This operation may be performed by a known method using a GUI (Graphical User Interface).
As described above, when the image data is stored in the FM 48 and the image processing unit 50 reads out the image data, if the dust scratch correction is instructed at a predetermined timing, the print system 10 enters the dust scratch correction mode. Then, a dust flaw correction screen as shown in FIG.
[0067]
In FIG. 9, the image displayed on the left (hereinafter referred to as an original image) is subjected to dust flaw correction. On the other hand, a similar original image is also displayed on the right side. This original image is displayed with a dust scratch detection result, a pointer for performing various operations, a range designation frame, and the like superimposed. Note that in the initial stage, the detection result of dust and the like is not displayed, and only the original image is displayed.
In addition, the up and down and left and right scroll bars for changing the display area are displayed only on the left image, but both images move in conjunction with the movement of the scroll bar.
[0068]
In the illustrated example, the image is rotated by 90 ° by pressing the “rotate 90 degrees” button. The right button rotates right and the left button rotates left.
Further, the image is enlarged stepwise at a predetermined magnification by pressing the “zoom-in” button, and the image is enlarged and displayed by pressing the “region zoom” button and clipping with the mouse 20b. Further, in a state where the image is enlarged, the image is reduced stepwise by a predetermined magnification by pressing the “zoom out” button, and the entire image is displayed by pressing the “entire display” button.
Further, normally, on this operation screen, an image for display display is displayed in order to ensure operability, but an image close to an image reproduced for printing is displayed by pressing the “faithful reproduction” button.
[0069]
When the “automatic detection” button is pressed by the operator, the image processing unit 50 performs dust scratch detection shown in FIGS. 4 to 5 (or FIG. 8), and the original image is displayed as shown in FIG. The detection result of dust scratches is displayed over the original image on the right side. In the illustrated example, it is assumed that seven dust scratches are detected.
Here, the dust scratches on the operation screen are preferably displayed slightly larger than the final detection result shown in FIG. 5 so that fine dust scratches can be identified well or sufficiently.
[0070]
As described above, the dust scratch detection level (threshold) can be adjusted by adjusting the “detection level” slider bar prior to the automatic detection instruction. Value (10 in this example). When the “level save” button is pressed, the set detection level is saved, and the next dust scratch detection starts at this detection level.
[0071]
For example, the dust scratch detection result is initially highlighted by being colored M (magenta), but when the “change detection color” button is pressed, the dust scratch detection result is displayed in a different color. For example, C (cyan) → Y (yellow) → M is sequentially changed.
Thereby, it is possible to reliably identify dust scratches regardless of the background or the like.
[0072]
In the illustrated example, it is possible to perform various operations by specifying a range for the result of such dust scratch detection.
[0073]
In the illustrated example, a rectangular range specification using the mouse 20b and a manual range specification are set, and the rectangular range specification using the mouse 20b includes the following two types of range specification. Is set.
By pressing the upper button in the “range specification” button on the GUI of the display screen, as shown in FIG. 10A, the mouse 20b is used to select from any position designated (clicked) on the screen. By dragging in an arbitrary direction, it is possible to specify an arbitrary rectangular range whose diagonal line is the dragged line.
On the other hand, when the button below the GUI on the display screen is pressed, dragging in an arbitrary direction from an arbitrary position designated on the screen in the same manner as shown in FIG. Draw a rectangle of predetermined width with sides extending in the direction. The drawing of the rectangle ends when the drag ends, and then the range is specified with an arbitrary rectangle in the oblique direction by adjusting the width (direction orthogonal to the drag direction) by clicking the right button of the mouse or the like. By having this range designating method, it is possible to suitably designate the dust flaws entering obliquely without including unnecessary areas.
[0074]
On the other hand, manual designation using a pen tool, an eraser tool, a line segment tool, or the like can be performed by pressing a “manual designation” button. The operation method using these tools may be a known method. In the case of manual designation, the displayed dust scratch itself may be designated instead of the range designation.
Here, when the “manual designation” button is pressed, the image display on the operation screen is an enlarged display of only the image on which dust flaws are displayed (the right side of the two-image display).
[0075]
Of course, such range designation can be performed at a plurality of locations for one process, and different types of range designation can be performed for one process. is there.
[0076]
As an operation for the automatic detection result, for example, when detecting dust scratches that could not be detected correctly (detecting dust scratches that were considered to be dust scratches from the image), such range specification, After the detection level is adjusted, the “auto detection” button is pressed again. In response to this, the image processing unit 50 performs dust scratch detection at the readjusted detection level only for that region.
[0077]
In addition, when deleting the erroneously detected dust scratch (the portion detected as a dust scratch although it is not a dust scratch), the “cancel” button is pressed after the same range is designated. Thereby, the image processing unit 50 deletes dust scratches detected within the designated range. Note that erasure of erroneously detected dust scratches may be performed by performing automatic detection with the detection level set to “0” after specifying the range of the erroneous detection area.
Alternatively, by designating only an area where detection was correct and issuing an instruction, dust damage in the area not specified may be deleted as a false detection.
[0078]
After the dust scratch detection as described above is performed, when the “correction” button is pressed by the operator, the image processing unit 50 performs the dust removal by the interpolation using the image data of the peripheral region of the dust scratch as described above. Perform scratch correction. In addition, an image subjected to dust flaw correction (that is, a dust flaw correction result) is displayed on the right side of the screen.
In response to pressing of the “Correction” button, the “Correction” button transitions to the “Confirm” button, and the “Detection level” slider bar transitions to the “Correction level” slider bar.
[0079]
After the correction, when the correction level is adjusted by the slider bar, the “confirm” button is changed to the “correction” button again. When the “Correction” button is pressed in this state, the image processing unit 50 performs correction again with the adjusted correction level. Note that the re-correction is basically performed on the original image.
In addition, by pressing the “correction initialization” button, the dust-scratch-corrected image is returned to immediately before entering the dust-scratch correction.
Further, such re-correction and correction initialization may be performed only for the specified range in accordance with the above-described range specification.
[0080]
In the print system 10 shown in the drawing, when the “trial print” button on the operation screen is pressed during the dust / scratch correction operation, a print of the dust / scratch correction image at that time is performed accordingly (output of the test print). . Thereby, it becomes possible to confirm the correction state of dust scratches by actual printing.
The print output will be described in detail later.
[0081]
As described above, dust flaw correction is performed, and when it is determined that dust flaw correction is appropriate, the operator presses a “confirm” button. In response to this, the image correction unit 50 determines dust flaw correction for this image. Further, when the “output-end” button is pressed, the next processing is started for this image, and the dust flaw detection mode is ended.
Here, in the present invention, it is preferable that the image that has been “determined” after the dust flaw correction is completed is stored without being erased. As a result, for example, after a (finished) print is output, even if a dust flaw is left uncorrected or a correction error is found, additional correction can be performed from the stored image, thereby improving processing efficiency. Processing time can be shortened.
[0082]
If the “initialize all” button is pressed during the above process, all the processes for this image are canceled and the process returns to the initial state before the dust scratch detection.
Similarly, when the “cancel” button is pressed, all the operations are canceled, and the printing system 10 returns to a mode in which dust flaw correction is not performed.
Further, in the print system 10 shown in the drawing, the number of prints of the image subjected to dust flaw correction can be set on this operation screen by using the “number of sheets” up / down buttons.
[0083]
The image data processed by the image processing unit 50 is processed by the data conversion unit 52. The data conversion unit 52 is a part that converts image data into image data corresponding to image output by the printer 22 using, for example, a three-dimensional LUT (3D-LUT).
[0084]
The printer 22 is a known color printer. For example, a photosensitive material such as photographic paper is two-dimensionally scanned and exposed by a light (laser) beam modulated according to supplied R, G, and B image data, and a latent image is recorded. An example is a printer in which a material is subjected to a development / fixing / water-washing wet development process to visualize a latent image, and then dried and output as a print.
In the print system 10 of the present invention, in addition to print output, the image data processed by the correction unit 54 is converted into, for example, a JPEG image file and output to a storage medium such as a CD-R. Also good.
[0085]
The image defect detection method of the present invention has been described in detail above. However, the present invention is not limited to the above-described embodiments, and various improvements and modifications may be made without departing from the gist of the present invention. Of course.
[0086]
For example, in the above example, the image defect is detected over the entire input image, but the image defect may be detected only in the area corresponding to the output image, or the designated area. Only image defect detection may be performed, and any one of image defect detection in the entire area / output image area / designated area may be selected.
In the illustrated example, the image defect is detected using the fine scan data by the scanner 12, but the present invention is not limited to this, and if possible in terms of resolution or the like, focus on productivity. Then, the image defect may be detected using the prescan data.
Further, in the illustrated example, image defects due to dust scratches on the film F (transparent document) are detected. However, the present invention detects image defects from image data obtained by photoelectrically reading a reflective document. May be. As described above, a reading system that photoelectrically reads a film F (transmission original) or a reflection original, particularly an image defect such as dust scratches attached to a light receiving surface of an image sensor such as a CCD sensor, or a digital camera that photographs a subject ( Needless to say, image defects such as dust scratches adhering to the light receiving surface of an image sensor such as a DSC), particularly an image sensor such as a CCD sensor, may be detected.
[0087]
【The invention's effect】
As described above in detail, according to the present invention, the final image defect is determined by deleting the erroneously detected image defect candidate according to the density of the detected image defect candidates. In addition, it is possible to reliably detect image defects existing in a solid area or the like, which is a big problem when an image is reproduced, and to efficiently perform highly accurate image defect detection with few false detections.
[Brief description of the drawings]
FIG. 1 is a block diagram of an embodiment of a printing system that implements an image defect detection method of the present invention.
FIG. 2 is a conceptual diagram of an embodiment of a scanner of the printing system shown in FIG.
FIG. 3 is a block diagram of an embodiment of the image processing apparatus of the print system shown in FIG.
FIG. 4 is a flowchart of an example of an image defect detection method of the present invention.
FIG. 5 is a flowchart of an example of the image defect detection method of the present invention, which is a continuation of FIG.
FIGS. 6A, 6B, and 6C are reference diagrams for explaining the image defect detection method of the present invention. FIGS.
FIG. 7 is a flowchart for explaining the flowchart shown in FIG. 5;
FIG. 8 is a flowchart of another example of the image defect detection method of the present invention.
FIG. 9 is a conceptual diagram of an operation screen for image defect correction in the printing system shown in FIG.
FIGS. 10A and 10B are conceptual diagrams for explaining a range specifying method on the operation screen shown in FIG. 9;
[Explanation of symbols]
10 (Digital) printing system
12 Scanner
14 Image processing device
15 Digital (still) camera
16 connection port
17 drive
18 display
20 Operation system
22 Printer
24 Light source
26 Driver
28 Diffusion box
30 career
32 Imaging lens unit
34 Reading unit
36 amplifiers
38 A / D converter
40 Conveying roller pair
42 Mask
44 Data correction unit
46 Log Converter
48 FM (frame memory)
50 Image processing section
52 Data converter
54,55 interface

Claims (5)

原稿の光電的な読み取り、または被写体の光電的な撮影によって得られた画像データから、前記原稿の損傷および原稿に付着した異物、あるいはさらに、前記原稿の読取系に付着した異物、または前記被写体の撮影系に付着した異物に起因する、前記画像データによって再現される画像の画像欠陥候補を検出し、
前記画像欠陥候補が存在する密度に応じて、密度が所定状態を超える場所に存在する画像欠陥候補を除去して、残りを前記画像データによって再現される画像の画像欠陥とすることを特徴とする画像欠陥検出方法。
From image data obtained by photoelectric reading of a document or photoelectric shooting of a subject, the document is damaged and the foreign matter attached to the document, or further, the foreign matter attached to the document reading system, or the subject Detecting image defect candidates in the image reproduced by the image data caused by foreign matter attached to the imaging system,
According to the density at which the image defect candidate exists, the image defect candidate existing at a location where the density exceeds a predetermined state is removed, and the rest is used as an image defect of an image reproduced by the image data. Image defect detection method.
前記密度が所定状態を超える場所に存在する画像欠陥候補の除去として、
前記画像欠陥候補を拡大して、次いで、縮小する処理を施し、この処理後の画像に所定の変動を生じた画像欠陥候補の除去、および、自身を含む一定範囲内における所定の画像欠陥候補の存在数が規定数以上の画像欠陥候補の除去の少なくとも一方を行う請求項1に記載の画像欠陥検出方法。
As removal of image defect candidates that exist in places where the density exceeds a predetermined state,
The image defect candidate is enlarged and then reduced, the image defect candidate having a predetermined fluctuation is removed from the processed image, and the predetermined image defect candidate within a certain range including itself is removed. The image defect detection method according to claim 1, wherein at least one of removal of image defect candidates having an existing number equal to or greater than a specified number is performed.
前記画像データから輝度成分画像を作成し、この輝度成分画像を用いて前記画像欠陥候補の検出を行う請求項1または2に記載の画像欠陥検出方法。The image defect detection method according to claim 1, wherein a luminance component image is created from the image data, and the image defect candidate is detected using the luminance component image. 前記画像データがポジ画像の画像データである場合には、前記画像欠陥候補の検出よりも前に画像の反転処理を行う請求項1〜3のいずれかに記載の画像欠陥検出方法。The image defect detection method according to claim 1, wherein when the image data is image data of a positive image, an image inversion process is performed prior to detection of the image defect candidate. 前記画像欠陥候補の検出よりも前に、処理画像中における画像欠陥の大きさが所定範囲となるように、画像サイズに応じて予め設定された倍率で画像の変倍処理を行う請求項1〜4のいずれかに記載の画像欠陥検出方法。The image scaling processing is performed at a magnification set in advance according to the image size so that the size of the image defect in the processed image falls within a predetermined range before the detection of the image defect candidate. 5. The image defect detection method according to any one of 4 above.
JP2003158226A 2002-06-03 2003-06-03 Method of detecting image defect Withdrawn JP2004061500A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003158226A JP2004061500A (en) 2002-06-03 2003-06-03 Method of detecting image defect

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002161919 2002-06-03
JP2003158226A JP2004061500A (en) 2002-06-03 2003-06-03 Method of detecting image defect

Publications (1)

Publication Number Publication Date
JP2004061500A true JP2004061500A (en) 2004-02-26

Family

ID=31949268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003158226A Withdrawn JP2004061500A (en) 2002-06-03 2003-06-03 Method of detecting image defect

Country Status (1)

Country Link
JP (1) JP2004061500A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006140654A (en) * 2004-11-11 2006-06-01 Sony Corp Circuit and method for correcting defect detection
JP2007124002A (en) * 2005-10-25 2007-05-17 Nikon Corp Camera system
JP2008244867A (en) * 2007-03-27 2008-10-09 Canon Inc Image processing device, control method thereof, storage medium and imaging apparatus
JP2009543214A (en) * 2006-07-04 2009-12-03 ヒューレット−パッカード デベロップメント カンパニー エル.ピー. Image defect removal considering image features
US8086024B2 (en) 2008-02-19 2011-12-27 Keyence Corporation Defect detection apparatus, defect detection method and computer program
JP2012016453A (en) * 2010-07-07 2012-01-26 Olympus Corp Image processing apparatus, image processing method, and image processing program
JP2013205182A (en) * 2012-03-28 2013-10-07 Hitachi Kokusai Electric Inc Image analysis device, image analysis method, and program
JP2017158167A (en) * 2016-03-01 2017-09-07 共同印刷株式会社 Image processing apparatus, image processing method and program for image processing
JP2017162035A (en) * 2016-03-07 2017-09-14 富士ゼロックス株式会社 Image processing apparatus, image processing method, image processing system, and program
JP2019091249A (en) * 2017-11-15 2019-06-13 オムロン株式会社 Defect inspection device, defect inspecting method, and program thereof
US20220230308A1 (en) * 2019-07-05 2022-07-21 E-Growth Co., Ltd. Bioimage acquiring device, converter generating device, bioimage generating method, converter generating method, and recording medium

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006140654A (en) * 2004-11-11 2006-06-01 Sony Corp Circuit and method for correcting defect detection
JP4591046B2 (en) * 2004-11-11 2010-12-01 ソニー株式会社 Defect detection correction circuit and defect detection correction method
JP2007124002A (en) * 2005-10-25 2007-05-17 Nikon Corp Camera system
JP4640108B2 (en) * 2005-10-25 2011-03-02 株式会社ニコン camera
JP2009543214A (en) * 2006-07-04 2009-12-03 ヒューレット−パッカード デベロップメント カンパニー エル.ピー. Image defect removal considering image features
JP4792109B2 (en) * 2006-07-04 2011-10-12 ヒューレット−パッカード デベロップメント カンパニー エル.ピー. Image defect removal considering image features
JP2008244867A (en) * 2007-03-27 2008-10-09 Canon Inc Image processing device, control method thereof, storage medium and imaging apparatus
US8086024B2 (en) 2008-02-19 2011-12-27 Keyence Corporation Defect detection apparatus, defect detection method and computer program
JP2012016453A (en) * 2010-07-07 2012-01-26 Olympus Corp Image processing apparatus, image processing method, and image processing program
US8989467B2 (en) 2010-07-07 2015-03-24 Olympus Corporation Image processing apparatus, method and computer readable recording medium for detecting abnormal area based on difference between pixel value and reference surface
JP2013205182A (en) * 2012-03-28 2013-10-07 Hitachi Kokusai Electric Inc Image analysis device, image analysis method, and program
JP2017158167A (en) * 2016-03-01 2017-09-07 共同印刷株式会社 Image processing apparatus, image processing method and program for image processing
JP2017162035A (en) * 2016-03-07 2017-09-14 富士ゼロックス株式会社 Image processing apparatus, image processing method, image processing system, and program
JP2019091249A (en) * 2017-11-15 2019-06-13 オムロン株式会社 Defect inspection device, defect inspecting method, and program thereof
JP7004145B2 (en) 2017-11-15 2022-01-21 オムロン株式会社 Defect inspection equipment, defect inspection methods, and their programs
US20220230308A1 (en) * 2019-07-05 2022-07-21 E-Growth Co., Ltd. Bioimage acquiring device, converter generating device, bioimage generating method, converter generating method, and recording medium

Similar Documents

Publication Publication Date Title
US20040027618A1 (en) Image defect detecting method
JP4056670B2 (en) Image processing method
JP4244018B2 (en) Defective pixel correction method, program, and defective pixel correction system for implementing the method
JP4401590B2 (en) Image data processing method and image data processing apparatus
JP2001078038A (en) Method and device for picture processing and recording medium
US7200280B2 (en) Image processing apparatus
US20060152765A1 (en) Image processing apparatus, image forming apparatus, image reading process apparatus, image processing method, image processing program, and computer-readable storage medium
JP2004061500A (en) Method of detecting image defect
JP2001148780A (en) Method for setting red-eye correction area and red-eye correction method
US7113619B1 (en) Image reading method, image reading apparatus and method of discriminating defect of image data
US20110122459A1 (en) Scanning and Capturing digital Images Using Document Characteristics Detection
JP2001358928A (en) Image correction device
US20020106134A1 (en) Multiple-orientation image defect detection and correction
JP4143279B2 (en) Image defect detection method and image reading apparatus
US7061000B2 (en) Image processing apparatus for detecting and correcting defects
JP4024737B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, image processing method, and program
JP2001197289A (en) Image processing method and image processor
JP2000341473A (en) Image processing method for flaw correction and processor therefor
JP2003179750A (en) Image processor
JP2002281250A (en) Image signal processing apparatus and method therefor, image reading system, and program and medium
JP2006253798A (en) Image processing method and image processor
JP4513006B2 (en) Emulsion scratch determination method and emulsion scratch determination system
JP2004318425A (en) Image processing method, image processor, and program
JPH10191055A (en) Image information conversion method and image recorder
JP4731695B2 (en) Image processing system using a multi-point camera

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060905