JP2001245139A - Digital image recording apparatus and method, and transmission method - Google Patents
Digital image recording apparatus and method, and transmission methodInfo
- Publication number
- JP2001245139A JP2001245139A JP2000056001A JP2000056001A JP2001245139A JP 2001245139 A JP2001245139 A JP 2001245139A JP 2000056001 A JP2000056001 A JP 2000056001A JP 2000056001 A JP2000056001 A JP 2000056001A JP 2001245139 A JP2001245139 A JP 2001245139A
- Authority
- JP
- Japan
- Prior art keywords
- image
- recording
- threshold value
- digital
- binary
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims description 83
- 230000005540 biological transmission Effects 0.000 title claims description 18
- 238000012545 processing Methods 0.000 claims abstract description 84
- 238000009826 distribution Methods 0.000 claims abstract description 7
- 238000001454 recorded image Methods 0.000 claims abstract description 6
- 230000008569 process Effects 0.000 claims description 34
- 238000004891 communication Methods 0.000 claims description 15
- 238000006243 chemical reaction Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 13
- 238000009795 derivation Methods 0.000 description 9
- 238000007906 compression Methods 0.000 description 8
- 230000006835 compression Effects 0.000 description 8
- 239000003086 colorant Substances 0.000 description 6
- 230000002093 peripheral effect Effects 0.000 description 5
- 238000003384 imaging method Methods 0.000 description 4
- 238000013144 data compression Methods 0.000 description 3
- 230000006866 deterioration Effects 0.000 description 3
- 230000002427 irreversible effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 102100036738 Guanine nucleotide-binding protein subunit alpha-11 Human genes 0.000 description 1
- 101100283445 Homo sapiens GNA11 gene Proteins 0.000 description 1
- 101100346764 Mus musculus Mtln gene Proteins 0.000 description 1
- 102100031083 Uteroglobin Human genes 0.000 description 1
- 108090000203 Uteroglobin Proteins 0.000 description 1
- 239000008186 active pharmaceutical agent Substances 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- Facsimile Image Signal Circuits (AREA)
- Television Signal Processing For Recording (AREA)
- Closed-Circuit Television Systems (AREA)
- Color Television Image Signal Generators (AREA)
- Color Image Communication Systems (AREA)
- Studio Devices (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】この発明は、例えばディジタ
ルカメラ装置に適用することができるディジタル画像記
録装置および方法、並びに伝送方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital image recording apparatus and method applicable to, for example, a digital camera apparatus, and a transmission method.
【0002】[0002]
【従来の技術】最近では、フラッシュメモリ等の不揮発
性半導体記憶素子やハードディスクやフロッピーディス
ク等の記録媒体を用い、この記録媒体に対して被写体像
を画像データとして記録するディジタルスチルカメラ等
のディジタル画像記録装置が急速に普及しつつある。デ
ィジタ画像記録装置は、撮影した被写体像をディジタル
画像信号に変換して圧縮し、圧縮した画像情報を記録媒
体に記録する構成とされている。ディジタル画像記録装
置において、自然画像をカラー画像として取り込み、J
PEGで圧縮するものが知られている。2. Description of the Related Art Recently, a digital image is recorded on a digital still camera or the like using a nonvolatile semiconductor memory device such as a flash memory or a recording medium such as a hard disk or a floppy disk, and recording an object image as image data on the recording medium. Recording devices are rapidly becoming widespread. The digital image recording apparatus is configured to convert a photographed subject image into a digital image signal, compress the digital image signal, and record the compressed image information on a recording medium. In a digital image recording apparatus, a natural image is captured as a color image, and J
What compresses with PEG is known.
【0003】文字原稿、ホワイトボード等を撮影する時
には、カラー画像として記録する方法よりも、撮影した
カラー画像を2値化して記録することが好ましい。すな
わち、図16Aは、文字原稿を撮影したカラー画像を示
し、図16Bは、カラー画像を2値画像に変換した画像
を示す。図から分かるように、2値画像は、カラー画像
に比して被写体の文字と背景とが鮮明に区別され、文字
が読みやすくなる。When photographing a character document, a white board, or the like, it is preferable to record the photographed color image in binary form rather than recording it as a color image. That is, FIG. 16A shows a color image obtained by photographing a character document, and FIG. 16B shows an image obtained by converting the color image into a binary image. As can be seen from the figure, in the binary image, the character of the subject and the background are more clearly distinguished than in the color image, and the character becomes easier to read.
【0004】カラ−画像を2値化するには、撮影したカ
ラー画像をしきい値によって各画素を白と黒とに弁別す
る必要がある。図16Bは、最適なしきい値を使用した
場合である。若し、しきい値が最適しきい値よりも高す
ぎると図16Cに示すように、2値化画像が全体的に暗
くなり、また、しきい値が最適しきい値よりも低すぎる
と図16Dに示すように、2値化画像が全体的に明るく
なり、文字が見にくくなる。In order to binarize a color image, it is necessary to discriminate each pixel into white and black by a threshold value in a photographed color image. FIG. 16B shows a case where an optimal threshold value is used. If the threshold value is too high than the optimum threshold value, the binarized image becomes dark as a whole as shown in FIG. 16C, and if the threshold value is too low below the optimum threshold value, as shown in FIG. As shown in FIG. 16D, the binarized image becomes bright overall and characters are difficult to see.
【0005】[0005]
【発明が解決しようとする課題】特に、ディジタルカラ
−画像記録装置により画像を撮影した場合には、文字お
よび背景画像の一方が常に固定値をとるわけではなく、
両者とも色空間内のどの値もとりうるので、予め固定の
しきい値を設定することはできない。したがって、撮影
した画像の全画素データを使用してしきい値を求めるこ
とが必要となる。その場合には、次のような問題が生じ
る。In particular, when an image is taken by a digital color image recording apparatus, one of a character and a background image does not always take a fixed value.
Since both values can take any value in the color space, a fixed threshold cannot be set in advance. Therefore, it is necessary to obtain a threshold value using all pixel data of a captured image. In that case, the following problem occurs.
【0006】記録する画像の画素数またはサイズが複数
種類あるときに、処理するデータ量が異なり、しきい値
の導出処理に要する時間が異なり、また、全画素数が異
なるために、しきい値導出のアルゴリズムを共通化でき
ない。全画素データを使用することは、処理時間が長く
なる問題が生じる。さらに、全画素データを使用する
と、画像周辺に含まれるノイズ、劣化、周辺の不要不用
な物体等の情報がしきい値の導出に影響し、正しいしき
い値を求めることができない。例えば2値化したい文字
原稿、ホワイトボ−ド等の被写体以外の周辺の物体が画
像内に含まれてしまうこともあり、正しいしきい値の導
出が妨げられる。When the number of pixels or the size of an image to be recorded is plural, the amount of data to be processed is different, the time required for deriving the threshold is different, and the total number of pixels is different. The derivation algorithm cannot be shared. The use of all pixel data causes a problem that the processing time becomes longer. Furthermore, when all pixel data is used, information such as noise, deterioration, and unnecessary unnecessary objects in the periphery of the image affects the derivation of the threshold value, and a correct threshold value cannot be obtained. For example, peripheral objects other than the subject, such as a character document or a white board to be binarized, may be included in the image, which hinders the derivation of a correct threshold value.
【0007】したがって、この発明の目的は、取り込ま
れた画像毎に2値化のしきい値を求める際に、上述した
問題を解決することを可能とするディジタル画像記録装
置および方法、並びに伝送方法を提供することにある。SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a digital image recording apparatus and method, and a transmission method capable of solving the above-mentioned problems when obtaining a threshold value for binarization for each captured image. Is to provide.
【0008】[0008]
【課題を解決するための手段】上述した課題を解決する
ために、請求項1の発明は、記録メディアに画像をディ
ジタル信号として記録するディジタル画像記録装置にお
いて、カラ−画像を取り込む画像取り込み手段と、取り
込まれたカラ−画像を2値画像に変換する画像処理手段
と、画像処理手段の出力を記録メディアに記録する記録
手段とを備え、画像処理手段は、取り込まれたカラ−画
像を一定のサイズまたは画素数の画像に変換し、変換後
の画像に基づいてしきい値を決定し、しきい値によって
2値画像を生成することを特徴とするディジタル画像記
録装置である。請求項9の発明は、このようにカラ−画
像を2値画像へ変換して記録する方法である。SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, a first aspect of the present invention is a digital image recording apparatus for recording an image as a digital signal on a recording medium. Image processing means for converting a captured color image into a binary image, and recording means for recording the output of the image processing means on a recording medium, wherein the image processing means converts the captured color image into a fixed image. A digital image recording apparatus is characterized in that it is converted into an image having a size or the number of pixels, a threshold value is determined based on the converted image, and a binary image is generated based on the threshold value. The invention according to claim 9 is a method for converting a color image into a binary image and recording it.
【0009】請求項2の発明は、記録メディアに画像を
ディジタル信号として記録するディジタル画像記録装置
において、カラ−画像を取り込む画像取り込み手段と、
取り込まれたカラ−画像を2値画像に変換する画像処理
手段と、画像処理手段の出力を記録メディアに記録する
記録手段とを備え、画像処理手段は、取り込まれたカラ
−画像を間引き処理することによって間引き画像を生成
し、間引き画像に基づいてしきい値を決定し、しきい値
によって2値画像を生成することを特徴とするディジタ
ル画像記録装置である。請求項10の発明は、このよう
にカラ−画像を2値画像へ変換して記録する方法であ
る。According to a second aspect of the present invention, there is provided a digital image recording apparatus for recording an image as a digital signal on a recording medium, comprising: an image capturing means for capturing a color image;
Image processing means for converting the captured color image into a binary image, and recording means for recording the output of the image processing means on a recording medium, wherein the image processing means thins out the captured color image. A digital image recording apparatus characterized in that a thinned image is generated by the above method, a threshold value is determined based on the thinned image, and a binary image is generated by the threshold value. A tenth aspect of the present invention is a method of converting a color image into a binary image and recording it.
【0010】請求項3の発明は、記録メディアに画像を
ディジタル信号として記録するディジタル画像記録装置
において、カラ−画像を取り込む画像取り込み手段と、
取り込まれたカラ−画像を2値画像に変換する画像処理
手段と、画像処理手段の出力を記録メディアに記録する
記録手段とを備え、画像処理手段は、取り込まれたカラ
−画像内で、2値化の対象となる被写体を含む部分画像
に基づいてしきい値を決定し、しきい値によって2値画
像を生成することを特徴とするディジタル画像記録装置
である。請求項11の発明は、このようにカラ−画像を
2値画像へ変換して記録する方法である。According to a third aspect of the present invention, there is provided a digital image recording apparatus for recording an image as a digital signal on a recording medium, comprising: an image capturing means for capturing a color image;
Image processing means for converting the captured color image into a binary image; and recording means for recording the output of the image processing means on a recording medium. A digital image recording apparatus characterized in that a threshold value is determined based on a partial image including a subject to be binarized, and a binary image is generated based on the threshold value. The invention according to claim 11 is a method for converting a color image into a binary image and recording the converted image.
【0011】請求項12の発明は、通信メディアに画像
をディジタル信号として送出するディジタル画像伝送方
法において、取り込まれたカラ−画像をしきい値によっ
て2値画像へ変換するステップと、2値画像を通信メデ
ィアに送出するステップとを備え、取り込まれたカラ−
画像を一定のサイズまたは画素数の画像に変換し、変換
後の画像に基づいてしきい値を決定し、しきい値によっ
て2値画像を生成することを特徴とするディジタル画像
伝送方法である。According to a twelfth aspect of the present invention, there is provided a digital image transmission method for transmitting an image as a digital signal to a communication medium, comprising the steps of: converting a captured color image into a binary image by a threshold value; Transmitting to a communication medium.
A digital image transmission method characterized by converting an image into an image having a fixed size or the number of pixels, determining a threshold value based on the converted image, and generating a binary image based on the threshold value.
【0012】請求項13の発明は、通信メディアに画像
をディジタル信号として送出するディジタル画像伝送方
法において、取り込まれたカラ−画像をしきい値によっ
て2値画像へ変換するステップと、2値画像を通信メデ
ィアに送出するステップとを備え、取り込まれたカラ−
画像を間引き処理することによって間引き画像を生成
し、間引き画像に基づいてしきい値を決定し、しきい値
によって2値画像を生成することを特徴とするディジタ
ル画像伝送方法である。According to a thirteenth aspect of the present invention, there is provided a digital image transmission method for transmitting an image as a digital signal to a communication medium, comprising the steps of: converting a captured color image into a binary image by a threshold value; Transmitting to a communication medium.
A digital image transmission method characterized by generating a thinned image by thinning an image, determining a threshold value based on the thinned image, and generating a binary image by the threshold value.
【0013】請求項14の発明は、通信メディアに画像
をディジタル信号として送出するディジタル画像伝送方
法において、取り込まれたカラ−画像をしきい値によっ
て2値画像へ変換するステップと、2値画像を通信メデ
ィアに送出するステップとを備え、取り込まれたカラ−
画像内で、2値化の対象となる被写体を含む部分画像に
基づいてしきい値を決定し、しきい値によって2値画像
を生成することを特徴とするディジタル画像伝送方法で
ある。According to a fourteenth aspect of the present invention, there is provided a digital image transmission method for transmitting an image as a digital signal to a communication medium, comprising the steps of: converting a captured color image into a binary image by a threshold value; Transmitting to a communication medium.
A digital image transmission method characterized in that a threshold value is determined based on a partial image including a subject to be binarized in an image, and a binary image is generated based on the threshold value.
【0014】請求項1、9、12の発明に依れば、記録
する画像のサイズにかかわらず、リサイズした画像を用
いてしきい値を求めるので、しきい値導出のアルゴリズ
ムを一貫して適用することが可能となり、また、処理時
間が変動することを防止できる。According to the first, ninth and twelfth aspects of the present invention, the threshold value is obtained by using the resized image regardless of the size of the image to be recorded. And the processing time can be prevented from fluctuating.
【0015】請求項2、10、13の発明に依れば、間
引き画像を用いてしきい値を求めるので、しきい値導出
に支障を生じることなく、処理の高速化が可能となる。
間引きの処理を被写体に応じて可変することによって、
最小限のデータ数で正しいしきい値を導出することが可
能となる。According to the second, tenth, and thirteenth aspects of the present invention, since the threshold value is obtained by using the thinned image, the processing can be speeded up without any trouble in deriving the threshold value.
By changing the thinning process according to the subject,
It is possible to derive a correct threshold value with a minimum number of data.
【0016】請求項3、11、14の発明に依れば、全
画像のデータを用いるのではなく、部分画像の情報を用
いてしきい値を導出することによって、不要な情報の影
響を受けずに意図した部分を最適に2値化するための正
しいしきい値の導出が可能となる。また、使用する部分
画像の設定をユーザが任意に行うことを可能とすること
によって、ユーザが2値化したい部分を任意に選択する
ことが可能となる。According to the third, eleventh and fourteenth aspects of the present invention, the threshold value is derived using the information of the partial image instead of using the data of the entire image, so that it is affected by unnecessary information. It is possible to derive a correct threshold value for optimally binarizing an intended portion without any need. Further, by enabling the user to arbitrarily set the partial image to be used, the user can arbitrarily select a portion to be binarized.
【0017】[0017]
【発明の実施の形態】以下、この発明の一実施形態につ
いて説明する。図1は、本実施形態のシステム構成を示
し、1がCCD(Charge Coupled Device)を示す。CC
D1の画素数(水平画素数×垂直画素数)は、例えばU
XGA(1600 ×1280) 画素とされている。撮影画像(カ
ラー画像)の画素数に対して記録画像の画素数は、UX
GAに加えて、SXGA(1280 ×1024) 画素、XGA(1
024 ×768)画素、VGA(640×480)画素が選択可能とさ
れている。CCD1は、図示しないレンズ部を介された
被写体像を撮像信号として出力する。レンズ部において
は、自動絞り制御動作や自動焦点制御動作がなされる。
撮像信号がカメラブロック2に供給される。DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. FIG. 1 shows a system configuration of the present embodiment, and 1 indicates a CCD (Charge Coupled Device). CC
The number of pixels of D1 (the number of horizontal pixels × the number of vertical pixels) is, for example, U
XGA (1600 × 1280) pixels. The number of pixels of the recorded image is UX relative to the number of pixels of the captured image (color image).
In addition to GA, SXGA (1280 x 1024) pixels, XGA (1
024 × 768) pixels and VGA (640 × 480) pixels can be selected. The CCD 1 outputs a subject image passed through a lens unit (not shown) as an imaging signal. In the lens unit, an automatic aperture control operation and an automatic focus control operation are performed.
An imaging signal is supplied to the camera block 2.
【0018】なお、CCD1がイメージスキャナと同様
に文書を読み取る動作を行うことが可能とされていても
良い。また、CCD以外に他の装置、通信メディアから
受け取ったディジタルカラー画像を処理する場合にも、
この発明を適用できる。さらに、処理後の画像を記録メ
ディアに記録するのに限らず、通信メディアに対して送
出する場合にもこの発明を適用することができる。Note that the CCD 1 may be capable of performing an operation of reading a document in the same manner as an image scanner. Also, when processing digital color images received from other devices and communication media besides the CCD,
The present invention can be applied. Further, the present invention is not limited to recording the processed image on a recording medium, and may be applied to a case where the processed image is transmitted to a communication medium.
【0019】カメラブロック2は、クランプ回路、輝度
信号処理回路、輪郭補正回路、欠陥補償回路、自動絞り
制御回路、自動焦点制御回路、自動ホワイトバランス補
正回路等が含まれる。カメラブロック2から例えばRG
B信号から変換された輝度信号および色差信号からなる
コンポーネント信号の形式でディジタル撮像信号が発生
する。ディジタル撮像信号がメモリコントロールブロッ
ク3に供給される。The camera block 2 includes a clamp circuit, a luminance signal processing circuit, a contour correction circuit, a defect compensation circuit, an automatic aperture control circuit, an automatic focus control circuit, an automatic white balance correction circuit, and the like. For example, RG from the camera block 2
A digital imaging signal is generated in the form of a component signal composed of a luminance signal and a color difference signal converted from the B signal. The digital imaging signal is supplied to the memory control block 3.
【0020】メモリコントロールブロック3は、信号切
り換え部、表示用バッファメモリ、D/A変換器等を有
する。メモリコントロールブロック3に表示装置4およ
びデータ伝送路5が接続される。メモリコントロールブ
ロック3において、生成されたRGB信号がD/A変換
器を介して表示装置4に供給される。表示装置4は、カ
メラと一体に設けられたLCD(Liquid Crystal Displ
ay) 等の表示デバイスで構成されたものである。カメラ
ブロック2からの画像信号が表示装置4に供給されるこ
とによって、撮影中の画像が表示され、また、データ伝
送路5を介して供給される記録メディア9の読み出し画
像が表示される。表示装置4は、VGA(640×480)画像
を表示する。The memory control block 3 has a signal switching section, a display buffer memory, a D / A converter, and the like. The display device 4 and the data transmission path 5 are connected to the memory control block 3. In the memory control block 3, the generated RGB signals are supplied to the display device 4 via the D / A converter. The display device 4 is a liquid crystal display (LCD) provided integrally with the camera.
ay) and other display devices. When the image signal from the camera block 2 is supplied to the display device 4, the image being captured is displayed, and the read image of the recording medium 9 supplied via the data transmission path 5 is displayed. The display device 4 displays a VGA (640 × 480) image.
【0021】データ伝送路5に対しては、DRAM(Dyn
amic Random Access Memory)6およびマイコン(マイク
ロコンピュータ)で構成された画像処理ブロック7が接
続される。DRAM6は、メモリコントロールブロック
3または画像処理ブロック7によって制御され、メモリ
コントロールブロック3を介された原画像を蓄える領域
と、画像処理ブロック7による画像処理後の画像データ
を蓄える領域とを有する。For the data transmission line 5, a DRAM (Dyn
amic Random Access Memory) 6 and an image processing block 7 composed of a microcomputer. The DRAM 6 is controlled by the memory control block 3 or the image processing block 7 and has an area for storing an original image via the memory control block 3 and an area for storing image data after image processing by the image processing block 7.
【0022】画像処理ブロック7には、操作入力部8お
よび記録メディア9がそれぞれインターフェースを介し
て接続される。画像処理ブロック7から制御情報が各部
に供給されることによって、画像データの処理がなさ
れ、DRAM6へのデータの書込みおよび読み出しがな
され、記録メディア9への書込み、読み出しが実行され
る。An operation input unit 8 and a recording medium 9 are connected to the image processing block 7 via interfaces. When control information is supplied from the image processing block 7 to each unit, image data is processed, data is written to and read from the DRAM 6, and writing and reading to and from the recording medium 9 are executed.
【0023】操作入力部8は、シャッターボタン、モー
ド指定スイッチ、その他の撮影者が操作する各種のスイ
ッチを有する。例えば主として自然画像を撮影する時に
指定される第1モードと、主として文字原稿、ホワイト
ボード等の文字からなる画像を撮影する時に指定される
第2モードとが選択可能とされている。操作入力部8か
らの操作入力が画像処理ブロック7に供給される。記録
メディア9は、メモリカード(ICカード)、フロッピ
ーディスク、書き換え可能な光ディスク等であり、スチ
ルカメラ本体に対して着脱自在とされたものである。記
録メディア9以外に、インターネット等の通信メディア
を使用しても良い。The operation input unit 8 has a shutter button, a mode designation switch, and other various switches operated by the photographer. For example, a first mode designated mainly when photographing a natural image and a second mode designated mainly when photographing an image mainly composed of characters such as a text document and a white board can be selected. An operation input from the operation input unit 8 is supplied to the image processing block 7. The recording medium 9 is a memory card (IC card), a floppy disk, a rewritable optical disk, or the like, and is detachable from the still camera body. In addition to the recording medium 9, a communication medium such as the Internet may be used.
【0024】画像処理ブロック7では、自然画像撮影用
に主として使用される第1モードと文字画像撮影用に主
として使用される第2モードとで、画像処理方法が異な
るものとされる。第1モードでは、例えばJPEG(Jo
int Photographic Experts Group) が使用される。第2
モードでは、画像の2値化の処理がされ、LZW(Lemp
el Ziv Welch) 方式によりデータを圧縮し、圧縮データ
に対して必要な構成要素を付加して2値画像をGIFフ
ァイル化する処理がなされる。In the image processing block 7, the image processing method differs between the first mode mainly used for photographing natural images and the second mode mainly used for photographing character images. In the first mode, for example, JPEG (Jo
int Photographic Experts Group) is used. Second
In the mode, the image is binarized, and the LZW (Lemp
(el Ziv Welch) method, and a process of adding necessary components to the compressed data to convert the binary image into a GIF file.
【0025】JPEGは、カラー静止画像を圧縮する標
準的符号化方法であり、可逆符号化方式と非可逆符号化
方式とがある。可逆符号化方式として、空間内予測符号
化方式が採用され、非可逆符号化方式として、DCT(D
iscrete Cosine Transform)による圧縮方法が採用され
ている。通常は、非可逆符号化方式による多少の画質の
劣化は、実用上問題ないものとされ、DCTによる符号
化方式がJPEGとして使用されている。本明細書にお
いても、JPEGの用語は、DCTとDCTで発生した
係数データを量子化し、量子化出力をエントロピー符号
化で符号化する非可逆符号化を指すものとする。JPEG is a standard encoding method for compressing a color still image, and includes a lossless encoding method and an irreversible encoding method. As a lossless encoding method, an intra-space prediction encoding method is adopted, and as an irreversible encoding method, DCT (D
A compression method using iscrete cosine transform) is employed. Normally, it is considered that a slight deterioration in image quality due to the irreversible coding method does not cause any practical problem, and the coding method using DCT is used as JPEG. Also in this specification, the term JPEG refers to DCT and lossy encoding in which coefficient data generated by DCT is quantized and the quantized output is encoded by entropy encoding.
【0026】また、画像処理ブロック7は、記録メディ
ア9に対するデータの書き込みと読み出しを制御する。
DRAM6に蓄えられている画像データ、すなわち、第
1モードで得られたJPEGファイル、または第2モー
ドで得られたGIFファイルを記録メディア9に対して
出力する。記録メディア9から読み出したこれらの画像
ファイルが画像処理ブロック7によってDRAM6に記
憶される。The image processing block 7 controls writing and reading of data to and from the recording medium 9.
The image data stored in the DRAM 6, that is, the JPEG file obtained in the first mode or the GIF file obtained in the second mode is output to the recording medium 9. These image files read from the recording medium 9 are stored in the DRAM 6 by the image processing block 7.
【0027】さらに、解像度変換部10が設けられ、解
像度変換部10によって撮影画像を選択された記録画像
の解像度に変換する処理がなされる。DRAM6には、
解像度変換された画像がはられる。解像度変換処理は、
画像処理ブロック7で行うようにしても良い。Further, a resolution conversion unit 10 is provided, and the resolution conversion unit 10 performs a process of converting the photographed image into the resolution of the selected recording image. In the DRAM 6,
An image whose resolution has been converted is obtained. The resolution conversion process is
The processing may be performed in the image processing block 7.
【0028】上述した一実施形態において、撮影者がシ
ャッターボタン(操作入力部8)を押すと、CCD1で
撮像されたカラー画像信号がカメラブロック2に供給さ
れ、カメラ信号処理がされ、解像度変換後の原画像デー
タがメモリコントロールブロック3の制御によってDR
AM6に記憶される。In the above-described embodiment, when the photographer presses the shutter button (operation input section 8), a color image signal captured by the CCD 1 is supplied to the camera block 2, the camera signal is processed, and the resolution is converted. Of the original image data under the control of the memory control block 3
Stored in AM6.
【0029】原画像データがDRAM6に格納される
と、画像処理ブロック7のによって原画像データが処理
され、圧縮画像データ(JPEGファイルまたはGIF
ファイル)がDRAM6の他の領域に格納される。そし
て、画像処理ブロック7によってDRAM6から読み出
された圧縮画像データが記録メディア9に書き込まれ
る。When the original image data is stored in the DRAM 6, the original image data is processed by the image processing block 7, and the compressed image data (JPEG file or GIF) is processed.
File) is stored in another area of the DRAM 6. Then, the compressed image data read from the DRAM 6 by the image processing block 7 is written to the recording medium 9.
【0030】圧縮画像データを記録する場合にファイル
名が画像処理ブロック7において付けられる。記録メデ
ィア9がメモリカードの場合には、静止画用ディレクト
リ(DCIM)が規定され、静止画用ディレクトリ(D
CIM)には、MSDCF等のサブディレクトリが規定
されている。サブディレクトリは、アルバムに相当する
ものである。JPEGで圧縮した1枚の画像であれば、
サブディレクトリ例えば100MSDCFに対してDS
C00001.jpgのファイル名と拡張子とが付加さ
れる。次にメモリカードに記録される画像データがGI
Fファイルであれば、ディレクトリおよびサブディレク
トリが同じで、TXT00002.gifのファイル名
と拡張子とが付加される。DSC0およびTXT0のそ
れぞれの後に、(0001)から(9999)までの番
号が付加される。When recording compressed image data, a file name is given in the image processing block 7. When the recording medium 9 is a memory card, a still image directory (DCIM) is defined, and the still image directory (D
CIM) defines subdirectories such as MSDCF. A subdirectory is equivalent to an album. If it is one image compressed by JPEG,
DS for subdirectory eg 100MSDCF
C00001. jpg file name and extension are added. Next, the image data recorded on the memory card is GI
F file, the directory and subdirectory are the same, and TXT00002. The file name and extension of the gif are added. Numbers from (0001) to (9999) are added after each of DSC0 and TXT0.
【0031】記録メディア9に記憶されている画像を再
生する時には、ファイル名を指定することによって所望
の圧縮画像データを記録メディア9から読み出し、画像
処理ブロック7によって伸張する。伸張した画像データ
をDRAM6に書き込む。そして、DRAM6に格納さ
れている画像データをメモリコントロールブロック3を
介して表示装置4に表示する。When an image stored in the recording medium 9 is reproduced, desired compressed image data is read from the recording medium 9 by designating a file name, and decompressed by the image processing block 7. The decompressed image data is written to the DRAM 6. Then, the image data stored in the DRAM 6 is displayed on the display device 4 via the memory control block 3.
【0032】上述した一実施形態において、文字原稿等
の撮影に主として使用される第2モードにおける画像処
理についてより詳細に説明する。第2モードにおいて
は、画像処理ブロック7によって画像の2値化処理がな
される。すなわち、DRAM6に取り込まれたカラー画
像データに基づいて最適なしきい値が算出され、このし
きい値を用いて、カラー画像データを2値(白および
黒)に変換する。カラー画像データの内の輝度データが
2値化される。CCD1において2値化する処理も可能
であるが、画像処理ブロック7において2値化の処理を
行う方法は、しきい値の設定等の処理を画像処理ブロッ
ク7において行うことが可能となる。In the above-described embodiment, the image processing in the second mode mainly used for photographing a character document or the like will be described in more detail. In the second mode, the image processing block 7 performs an image binarization process. That is, an optimum threshold value is calculated based on the color image data taken into the DRAM 6, and the color image data is converted into binary (white and black) using this threshold value. The luminance data in the color image data is binarized. Although the binarization process can be performed in the CCD 1, the binarization process in the image processing block 7 allows the image processing block 7 to perform a process such as setting a threshold value.
【0033】後で詳細に説明するように、処理の対象の
画像の1枚毎に輝度データの分布を調べ、その分布に基
づいて文字と背景とを弁別することができるしきい値が
算出される。しきい値算出のために、原画像のデータを
使用すると、画素数が多いので、原画像を間引き処理し
た画像データ、または原画像中の例えば中央部付近の画
像データのみを使用することが好ましい。As will be described later in detail, the distribution of luminance data is examined for each image to be processed, and a threshold value for discriminating a character from a background is calculated based on the distribution. You. When the data of the original image is used for calculating the threshold value, the number of pixels is large. Therefore, it is preferable to use only the image data obtained by thinning out the original image or only the image data near the center, for example, in the original image. .
【0034】次に、GIFファイル化のために、LZW
方式によるデータ圧縮がなされる。LZW方式は、デー
タストリーム中に表れる任意の長さのパターンを辞書
(コードテーブル)に登録し、次にそれと同じパターン
が表れたときには、登録番号(可変長符号)を符号化出
力とするものである。符号化に先立ってパターンを登録
する辞書を編集する必要がなく、データを読み込みなが
ら辞書を作成するようになされる。Next, to create a GIF file, the LZW
Data compression is performed according to the method. In the LZW method, a pattern of an arbitrary length appearing in a data stream is registered in a dictionary (code table), and when the same pattern appears next, a registration number (variable length code) is used as an encoded output. is there. There is no need to edit a dictionary for registering a pattern prior to encoding, and a dictionary is created while reading data.
【0035】圧縮データからGIFファイルが作成され
る。GIFファイルの構造について具体的に説明する。
図2は、一般的なGIFファイルのファイル構造の一例
を示す。GIFファイルは、大別してヘッダブロック1
1、論理画面記述ブロック12、アプリケーション拡張
ブロック13、グラフィック制御拡張ブロック14、イ
メージデータブロック15、トレーラブロック16によ
り構成される。これらのブロックを作成することによっ
て、GIFファイルが作成される。A GIF file is created from the compressed data. The structure of the GIF file will be specifically described.
FIG. 2 shows an example of a file structure of a general GIF file. GIF files are roughly divided into header block 1
1, a logical screen description block 12, an application extension block 13, a graphic control extension block 14, an image data block 15, and a trailer block 16. By creating these blocks, a GIF file is created.
【0036】ヘッダブロック11は、例えば、6バイト
で構成され、先頭に配される。このヘッダブロック11
によりデータストリームがGIF形式であることが示さ
れる。ヘッダブロック11は、データストリームの開始
を示すシグニチャフィールドと、デコード処理を完全に
行うのに必要なバージョンフィールドからなる。なお、
ヘッダブロックは、データストリームに一つ必須であ
る。The header block 11 is composed of, for example, 6 bytes and is arranged at the head. This header block 11
Indicates that the data stream is in GIF format. The header block 11 includes a signature field indicating the start of the data stream, and a version field necessary for performing decoding completely. In addition,
One header block is required for the data stream.
【0037】ヘッダブロック11の次に配されているの
が論理画面記述ブロック12である。この論理画面記述
ブロック12は、イメージをレンダリングするイメージ
プレーン(表示デバイス)の領域を定義するのに必要な
パラメータ(サイズ、縦横比、色の深さ)を定義する。
また、論理画面記述ブロック12は、グローバルカラー
テーブルの有無およびその各種のパラメータを定義す
る。この論理画面記述ブロックも必須であり、データス
トリームには必ず一つだけ存在しなければならない。Following the header block 11 is a logical screen description block 12. The logical screen description block 12 defines parameters (size, aspect ratio, color depth) necessary to define an area of an image plane (display device) for rendering an image.
The logical screen description block 12 defines the presence / absence of a global color table and various parameters thereof. This logical screen description block is also mandatory, and there must be exactly one in the data stream.
【0038】論理画面記述ブロック12の次に配されて
いるのがグローバルカラーテーブルブロック12aであ
る。カラーテーブルとは、その画像に使用される全ての
色を3バイト(24ビット)を1組としてRGB値を表
すパレットである。GIFは、最大256色をサポート
しているため、グローバルカラーテーブルは、最高で2
56×3バイトを含む。これは、デフォルトパレットで
あり、以降のイメージに専用のローカルパレットがない
場合に使用される。また、このブロックはオプションで
あるが一つのデータストリームに指定できるグローバル
カラーテーブル数は、最高一つである。Following the logical screen description block 12 is a global color table block 12a. The color table is a palette that represents RGB values for all colors used in the image as a set of 3 bytes (24 bits). Since the GIF supports up to 256 colors, the global color table can be up to 2 colors.
Includes 56 x 3 bytes. This is the default palette and is used when subsequent images do not have a dedicated local palette. Although this block is optional, the maximum number of global color tables that can be specified for one data stream is one.
【0039】グローバルカラーテーブルブロック12a
の次に配されているのがアプリケーション拡張ブロック
13である。アプリケーション拡張ブロック13は、特
定のアプリケーションのみがイメージデータに対して特
別な処理を行うための固有の情報を含む。Global color table block 12a
The application extension block 13 is placed next to the application. The application extension block 13 includes unique information for only a specific application to perform special processing on image data.
【0040】アプリケーション拡張ブロック13の次に
配されているのがグラフィック制御拡張ブロック14で
ある。グラフィック制御拡張ブロック14は、イメージ
の表示方法を制御するためのパラメータを含む。適応範
囲は、直後に続く先頭のイメージのみである。なお、こ
のブロック13を配することなくGIFファイルを構成
することが可能であり、イメージデータの前に配するこ
とができるグラフィック制御拡張ブロック14は、一つ
である。The graphic control extension block 14 is provided next to the application extension block 13. The graphic control extension block 14 includes parameters for controlling a method of displaying an image. The adaptation range is only the first image immediately following. Note that a GIF file can be configured without disposing the block 13, and one graphic control extension block 14 can be disposed before the image data.
【0041】グラフィック拡張ブロック14の次に配さ
れているのがイメージデータブロック15であり、デー
タストリームの個々のイメージは、イメージ記述子ブロ
ック15aと、圧縮データ15cとにより構成されてい
る。The image data block 15 is arranged next to the graphic extension block 14. Each image of the data stream is composed of an image descriptor block 15a and compressed data 15c.
【0042】イメージ記述子ブロック15aは、テーブ
ルベースのイメージを処理するのに必要なパラメータを
含む。このブロックで指定される座標は、論理画面の座
標を示し、ピクセル単位である。また、イメージ記述子
ブロック15aは、グラフィックレンダリングブロック
であり、この前に一つあるいはそれ以上のグラフィック
制限拡張などの制御ブロックがある場合や、後ろにロー
カルカラーテーブルが続く場合がある。なお、イメージ
記述子ブロック15aの後ろには、必ず圧縮データ15
cが続く。つまり、イメージ記述子ブロック15aは、
イメージにとって必須であり、各データストリームに存
在するイメージに対して指定できるイメージ記述子は、
一つだけである。なお、データストリームに存在するイ
メージの数に制限はない。The image descriptor block 15a contains the parameters needed to process a table-based image. The coordinates specified in this block indicate the coordinates of the logical screen, and are in pixel units. The image descriptor block 15a is a graphic rendering block, which may be preceded by one or more control blocks such as a graphic restriction extension, or may be followed by a local color table. Note that, after the image descriptor block 15a, the compressed data 15
c follows. That is, the image descriptor block 15a
Image descriptors that are mandatory for the image and can be specified for the image present in each data stream are:
There is only one. Note that there is no limit on the number of images present in the data stream.
【0043】テーブルベースの圧縮データ15cは、サ
ブブロックの並びから構成されている。圧縮データ15
cを構成する各サブブロックは、最大で255バイトで
あり、カラーテーブルに対するインデックスを含む。The table-based compressed data 15c is composed of an array of sub-blocks. Compressed data 15
Each sub-block making up c is 255 bytes at maximum and contains an index to the color table.
【0044】そして、上述したグラフィック制御拡張ブ
ロック14と、イメージデータブロック15が連続画像
として表示する枚数分繰り返され、ファイルの最後に
は、トレーラブロック16が配される。トレーラブロッ
ク16は、GIFデータストリームの終わりを示す単一
のフィールドから構成されているブロックである。な
お、GIFファイルの場合は、必ずトレーラブロック1
6で終了するように構成され、このトレーラブロック1
6は、変更不可能とされている。Then, the graphic control extension block 14 and the image data block 15 described above are repeated by the number of images to be displayed as continuous images, and a trailer block 16 is arranged at the end of the file. The trailer block 16 is a block composed of a single field indicating the end of the GIF data stream. In the case of a GIF file, be sure to use trailer block 1
6 and the trailer block 1
No. 6 cannot be changed.
【0045】イメージデータブロック15を作成するた
めには、原画像を2値画像に変換し、2値画像をGIF
のカラーパレット番号を指すインデックス値に変換す
る。後述するように、この2値化の処理と、インデック
ス値への変換を一度に行うようにしても良い。その場合
には、2値化処理に使用するメモリを有効に利用するこ
とができる。To create the image data block 15, the original image is converted to a binary image, and the binary image is converted to a GIF.
Is converted to an index value indicating the color palette number. As described later, the binarization process and the conversion to the index value may be performed at once. In that case, the memory used for the binarization processing can be effectively used.
【0046】上述したように、一実施形態では、LZW
方式によるデータ圧縮がなされる。LZW方式では、デ
ータストリーム中に表れるパターンの数が少ないほど、
辞書の登録内容と一致する可能性が高くなり、圧縮率を
高くすることができる。2値画像は、2つの値(0およ
び1)のみからなるデータストリームであり、表れるパ
ターン数は、カラー画像に比して頗る少なくなり、圧縮
率を高くすることができる。言い換えると、圧縮後の画
像データのデータサイズが小さくなる。As described above, in one embodiment, LZW
Data compression is performed according to the method. In the LZW method, the smaller the number of patterns appearing in a data stream,
The possibility of matching with the registered contents of the dictionary is increased, and the compression ratio can be increased. A binary image is a data stream consisting of only two values (0 and 1), and the number of patterns that appear is significantly smaller than that of a color image, so that the compression ratio can be increased. In other words, the data size of the compressed image data is reduced.
【0047】一例として、(640×480)画素の場合では、
取り込まれた原カラー画像データの約370kB(キロ
バイト)のデータサイズである。このカラー画像を、若
し、JPEGで圧縮すると、約70kBのデータサイズ
となる。一実施形態のように、LZW方式によるデータ
圧縮を行い、GIFファイルとすることで、約10kB
のデータサイズとなる。このように、JPEG圧縮で
は、約1/4〜1/5程度の圧縮率が、LZWでは、約
1/30にまで圧縮される。As an example, in the case of (640 × 480) pixels,
The data size is about 370 kB (kilobytes) of the captured original color image data. If this color image is compressed by JPEG, the data size becomes about 70 kB. As in one embodiment, data compression by the LZW method is performed, and the data is converted into a GIF file.
Data size. As described above, the compression ratio of about 4 to J in JPEG compression is compressed to about 1/30 in LZW.
【0048】また、LZW方式は、辞書の登録番号の並
びから圧縮前のデータストリームを完全に復元すること
ができる、すなわち、圧縮データから元のデータと同じ
ものを復元できる、可逆圧縮方法である。一方、JPE
Gは、非可逆圧縮である。2値画像は、色数が極端に少
なく、且つシャープなエッジが多い画像であるため、J
PEGを使用して圧縮、伸張した時には、伸張画像中に
画像ノイズが多く含まれる欠点がある。画質の点でも、
GIFファイル化が有利である。The LZW method is a reversible compression method in which a data stream before compression can be completely restored from a sequence of dictionary registration numbers, that is, the same data as original data can be restored from compressed data. . Meanwhile, JPE
G is lossy compression. A binary image is an image having an extremely small number of colors and many sharp edges.
When compressed and decompressed using PEG, there is a disadvantage that the decompressed image contains much image noise. In terms of image quality,
GIF files are advantageous.
【0049】次に、画像を2値化した2値画像をGIF
形式に変換する処理の一例について説明する。GIFフ
ァイルは、図2に示すようなブロックを生成することで
ある。処理の一例について図3を参照して説明する。Next, a binary image obtained by binarizing the image is converted to a GIF.
An example of a process of converting to a format will be described. The GIF file is to generate blocks as shown in FIG. An example of the processing will be described with reference to FIG.
【0050】図3Aは、取り込まれたカラー画像データ
ストリームを示す。RGBの3バイトのデータによって
1画素が表現される。次に、カラー画像が2値化処理さ
れ、図3Bに示すように、2値化した画像データのスト
リームが得られる。2値化処理では、黒を表す画素デー
タを(R=G=B=0)に変換し、白を表す画素データ
を(R=G=B=255)に変換する。そして、図3C
に示すように、カラーパレットを指すインデックス値の
0(黒)または1(白)に変換する。FIG. 3A shows a captured color image data stream. One pixel is represented by RGB 3-byte data. Next, the color image is subjected to binarization processing to obtain a stream of binarized image data as shown in FIG. 3B. In the binarization processing, pixel data representing black is converted into (R = G = B = 0), and pixel data representing white is converted into (R = G = B = 255). And FIG. 3C
As shown in (2), the index value is converted to 0 (black) or 1 (white) of the index value indicating the color palette.
【0051】図3に示す処理は、元のカラー画像から2
値画像への変換処理と、2値画像からインデックス値へ
の変換処理とを必要とする。2回の変換処理によって、
処理時間が長くなり、また、メモリ(DRAM6)の有
効利用の点で問題が生じる。そこで、一実施形態では、
以下に述べる方法によって、2値化とGIFファイルの
作成処理を行うものである。The processing shown in FIG.
A conversion process to a value image and a conversion process from a binary image to an index value are required. By two conversion processes,
Processing time becomes longer, and a problem arises in terms of effective use of the memory (DRAM 6). Thus, in one embodiment,
By the method described below, binarization and GIF file creation processing are performed.
【0052】図2中のグローバルカラーテーブルブロッ
ク12aにおけるカラーテーブルは、2値画像であるた
めに、画像に使用される色は、白および黒の2色のみか
らなるものと、予め決めることができる。つまり、カラ
ーテーブルの構成は、図4に示すように、インデックス
値0が黒(R、G、B=0)に対応し、インデックス値
1が白(R、G、B=255)に対応するものと、予め
決めることができる。カラー画像の各コンポーネントが
Y(輝度信号)、Cb(青の色差信号)、Cr(赤の色
差信号)で表す場合にも、この発明を適用できる。その
場合には、黒を表す情報が(Y=0,Cb=Cr=12
8)となり、白を表す情報が(Y=255,Cb=Cr
=128)となる。Since the color table in the global color table block 12a in FIG. 2 is a binary image, the colors used for the image can be determined in advance to include only two colors, white and black. . That is, in the configuration of the color table, as shown in FIG. 4, the index value 0 corresponds to black (R, G, B = 0), and the index value 1 corresponds to white (R, G, B = 255). Can be predetermined. The present invention is also applicable to a case where each component of a color image is represented by Y (luminance signal), Cb (blue color difference signal), and Cr (red color difference signal). In that case, the information representing black is (Y = 0, Cb = Cr = 12
8), and the information representing white is (Y = 255, Cb = Cr)
= 128).
【0053】次に、データブロック15において、実際
にLZWによって圧縮されているストリームは、元の画
像データストリームそのものではなく、元の画像の各画
素の色を示すカラーパレット番号を指すインデックス値
のストリームである。図4に示すカラーテーブルを持つ
白黒の2値画像であれば、図5に示すように、インデッ
クス値"0" および"1" の2値からなるストリームが圧縮
される。Next, in the data block 15, the stream actually compressed by the LZW is not the original image data stream itself but a stream of index values indicating the color of each pixel of the original image. It is. In the case of a black and white binary image having the color table shown in FIG. 4, a stream composed of binary values of index values "0" and "1" is compressed as shown in FIG.
【0054】このように、2値画像の場合には、白およ
び黒の画素を予めインデックス値の"1" および"0" に決
めることができるので、図6Aに示すような元のカラー
画像データストリームを2値化する処理と、インデック
ス値に変換する処理とを一度に行うことによって、図6
Bに示すようなインデックス値のストリームが得られ
る。したがって、図3に示す処理と比較すると、処理を
簡略化することができ、処理時間を短縮することができ
る。また、図3Aに示すように、元の画像情報が1画素
当たりで3バイトで表現されているので、1回目の変換
後のデータも、図3Bに示すように、1画素当たりで3
バイトのメモリ領域を必要とする。これに対して、図6
に示す処理によれば、1回目の変換後のデータは、イン
デックス値のストリームとなるので、1画素当たりで1
バイトのメモリ領域しか必要とせず、メモリ(DRAM
6)の有効利用を図ることができる。As described above, in the case of a binary image, the white and black pixels can be determined to have index values "1" and "0" in advance, so that the original color image data as shown in FIG. By performing a process of binarizing a stream and a process of converting the stream into index values at a time, FIG.
A stream having an index value as shown in FIG. Therefore, as compared with the processing shown in FIG. 3, the processing can be simplified and the processing time can be reduced. Also, as shown in FIG. 3A, the original image information is represented by 3 bytes per pixel, so that the data after the first conversion is 3 bytes per pixel as shown in FIG. 3B.
Requires a byte memory area. In contrast, FIG.
According to the processing shown in (1), since the data after the first conversion is a stream of index values, one data per pixel
It requires only a byte memory area, and has no memory (DRAM
6) can be effectively used.
【0055】ここで、この発明の理解の助けとするた
め、既存の2値化処理について、図7を参照して説明す
る。ステップS11では、キャプチャ画像がDRAM6
にはりつけられる。キャプチャ画像は、記録画像、すな
わち、選択されたサイズまたは画素数の画像である。そ
して、ステップS13では、キャプチャ画像のカラ−画
像データをもとに最適なしきい値を導出する。ステップ
S14で、求めた最適しきい値を用いてキャプチャ画像
のカラ−画像データを2値化する。Here, in order to facilitate understanding of the present invention, an existing binarization process will be described with reference to FIG. In step S11, the captured image is stored in the DRAM 6
I can be attached. The capture image is a recorded image, that is, an image of a selected size or number of pixels. Then, in step S13, an optimum threshold value is derived based on the color image data of the captured image. In step S14, the color image data of the captured image is binarized using the obtained optimum threshold value.
【0056】記録できる画像サイズまたは画素数は、ユ
ーザの操作によって選択可能であり、同じシステム内で
複数種類の画像を記録できる。例えばSXGA,XG
A,VGAのいずれかを記録画像のサイズとして選択可
能とされる。解像度変換部10によって画素数の変換が
なされる。したがって、DRAM6にはられる画像は、
撮影時に選択されたサイズによって異なり、画素数が異
なる。解像度変換部10ではなく、画像処理ブロック7
によって画素数変換を行うようにしても良い。The recordable image size or the number of pixels can be selected by a user operation, and a plurality of types of images can be recorded in the same system. For example, SXGA, XG
Any of A and VGA can be selected as the size of the recorded image. The resolution conversion unit 10 converts the number of pixels. Therefore, the image stored in the DRAM 6 is
The number of pixels differs depending on the size selected at the time of shooting. Not the resolution conversion unit 10 but the image processing block 7
May be used to convert the number of pixels.
【0057】既存の方法は、DRAM6にはられる画像
を使用するために、しきい値を導出する処理において、
画素数の相違によって演算回数が異なり、処理時間も異
なる。また、画像サイズが異なる場合、しきい値を導出
するアルゴリズムを共通とすることができない。例えば
しきい値の導出にヒストグラムを使用する場合におい
て、サイズの相違のために総画素数が異なり、ヒストグ
ラムの正規化等の処理が必要となる。In the existing method, in order to use an image stored in the DRAM 6, a process for deriving a threshold value includes the following steps.
The number of operations differs depending on the number of pixels, and the processing time also differs. Further, when the image sizes are different, the algorithm for deriving the threshold cannot be common. For example, when a histogram is used to derive a threshold, the total number of pixels differs due to a difference in size, and processing such as normalization of the histogram is required.
【0058】これらの問題を解決できるこの発明の一実
施形態の処理を図8に示す。ステップS21で、キャプ
チャ画像をDRAM6にはりつけた後で、最適なしきい
値を導出するステップS23に移行する前に、キャプチ
ャ画像を決まった一定サイズにリサイズし、DRAM6
上に、キャプチャ画像の領域と別の領域に格納する(ス
テップS22)。リサイズとは、元の画像を高精度に縮
小し、画像の色情報等は変化させずに、全体のデータ数
を相対的に削減する画像処理を意味する。FIG. 8 shows a process according to an embodiment of the present invention which can solve these problems. In step S21, after the captured image is attached to the DRAM 6, before the process proceeds to step S23 for deriving an optimal threshold value, the captured image is resized to a predetermined fixed size.
Above, it is stored in an area different from the area of the captured image (step S22). The term “resizing” means an image processing for reducing the original image with high accuracy and relatively reducing the total number of data without changing the color information or the like of the image.
【0059】図9は、DRAM6上にキャプチャ画像と
リサイズした画像の両者が格納されている状態を示して
いる。リサイズは、解像度変換部10によって例えばV
GAのサイズにキャプチャ画像のサイズを変換する。こ
の例では、記録画像のサイズがVGAである場合には、
特にリサイズの処理を行う必要がない。FIG. 9 shows a state where both a captured image and a resized image are stored in the DRAM 6. The resizing is performed by, for example, V
Convert the size of the captured image to the size of GA. In this example, if the size of the recorded image is VGA,
In particular, there is no need to perform resizing processing.
【0060】ステップS23では、リサイズした画像の
カラ−画像データをもとに最適しきい値を導出する。元
の画像とリサイズした画像の色情報の分布が相対的に同
一であるので、何れの画像を使用しても同一のしきい値
を求めることができる。予め決まったサイズの画像にリ
サイズしてからしきい値を導出するので、選択される記
録画像のサイズにかかわらず、常に同じアルゴリズムを
適用することができ、しきい値の導出に要する処理時間
も一定とすることができる。また、リサイズした画像を
DRAM6の取り込んだ画像とは別の領域に格納するの
で、取り込んだ画像が壊されないので、しきい値導出後
の処理は、既存のアルゴリズムを使用した場合と変更す
る必要がない。In step S23, an optimum threshold is derived based on the color image data of the resized image. Since the color information distributions of the original image and the resized image are relatively the same, the same threshold value can be obtained regardless of which image is used. Since the threshold is derived after resizing to an image of a predetermined size, the same algorithm can always be applied regardless of the size of the selected recording image, and the processing time required for deriving the threshold is also reduced. It can be constant. In addition, since the resized image is stored in an area different from the image captured by the DRAM 6, the captured image is not destroyed. Therefore, the processing after deriving the threshold value needs to be changed from the case where the existing algorithm is used. Absent.
【0061】画像処理ブロック7でなされる2値化に使
用するしきい値の導出処理の一例について説明する。図
10は、しきい値を導出する処理のフローチャートであ
る。しきい値導出の開始のステップS1ではリサイズし
た画像がDRAM6にはりつけられる。DRAM6に取
り込まれた画像の輝度データのヒストグラムが作成され
る(ステップS2)。作成されたヒストグラムは、例え
ば画像処理ブロック7のメモリに蓄えられる。An example of a process of deriving a threshold value used for binarization performed in the image processing block 7 will be described. FIG. 10 is a flowchart of a process for deriving a threshold. In step S1 for starting the derivation of the threshold value, the resized image is attached to the DRAM 6. A histogram of the luminance data of the image taken into the DRAM 6 is created (step S2). The created histogram is stored in a memory of the image processing block 7, for example.
【0062】図11は、作成されたヒストグラムの一例
を示す。横軸が輝度データのレベル(8ビットデータの
場合で、0から255までの値)を示し、縦軸が画素数
を示す。白地に黒文字を撮影した場合、図11に示すよ
うに、白側に背景に対応した高いピ−クと、黒側に文字
に対応した低いピ−クが現れる。黒板に白墨で書いた文
字の画像では、図11とピ−クの高さが反対となるが、
以下のしきい値の導出処理を何ら変更する必要がない。FIG. 11 shows an example of the created histogram. The horizontal axis indicates the level of the luminance data (values from 0 to 255 in the case of 8-bit data), and the vertical axis indicates the number of pixels. When a black character is photographed on a white background, as shown in FIG. 11, a high peak corresponding to the background appears on the white side, and a low peak corresponding to the character appears on the black side. In the image of the characters written in black ink on the blackboard, the height of the peak is opposite to that of FIG.
There is no need to change the following threshold derivation process.
【0063】ステップS3では、ヒストグラムから輝度
の最小値Ymin と最大値Ymax が求められる。この場
合、画像に含まれるノイズや無効画素データを取り除く
ために、黒側のオフセット値offset1 と白側のオフセッ
ト値offset2 とを設定した上で、最小値Ymin と最大値
Ymax が求められる。より具体的には、(Y=0)から
ヒストグラムを上向き(図11では、右向き)にたど
り、画素数がオフセットoffset1 を越えた時点でYmin
が求まり、(Y=255)からヒストグラムを下向き
(図11では、左向き)にたどり、画素数がオフセット
offset2 を越えた時点でYmax が求まる。In step S3, a minimum value Ymin and a maximum value Ymax of luminance are obtained from the histogram. In this case, in order to remove noise and invalid pixel data contained in the image, a minimum value Ymin and a maximum value Ymax are obtained after setting a black-side offset value offset1 and a white-side offset value offset2. More specifically, the histogram is traced upward (in FIG. 11, rightward) from (Y = 0), and when the number of pixels exceeds the offset offset1, Ymin
Is calculated, and the histogram is traced downward (leftward in FIG. 11) from (Y = 255), and the number of pixels is offset.
Ymax is obtained when offset2 is exceeded.
【0064】そして、ステップS4では、差Ydiff(=
Ymax −Ymin )が求められ、差Ydiffが予め設定され
ているリミット範囲Yrange と比較される。Ydiff>Y
range の場合には、ステップS5において、しきい値T
hrが次の式(1)で計算される。Then, in step S4, the difference Ydiff (=
Ymax-Ymin) is obtained, and the difference Ydiff is compared with a preset limit range Yrange. Ydiff> Y
In the case of range, in step S5, the threshold T
hr is calculated by the following equation (1).
【0065】Thr=(Ymin +Ymax )/2 (1) しきい値は、この式(1)によってほぼ正確に求められ
るが、カメラ部における撮影画像の設定方法によって
は、しきい値に微調整を加えることによってより鮮明な
2値画像が得られる場合がある。その場合には、式
(1)に対して調整値の項を追加して、しきい値Thrと
する。調整値の範囲を±Adjとすると、 Thr=(Ymin +Ymax )/2±Adj (2) でしきい値が計算される。Thr = (Ymin + Ymax) / 2 (1) The threshold value can be obtained almost accurately by the equation (1). By adding, a clearer binary image may be obtained. In that case, a term of the adjustment value is added to the equation (1), and is set as the threshold value Thr. Assuming that the range of the adjustment value is ± Adj, the threshold value is calculated as follows: Thr = (Ymin + Ymax) / 2 ± Adj (2)
【0066】取り込んだ画像毎にヒストグラムを作成
し、最大値および最小値を画像毎に求めなおし、しきい
値Thrを式(2)によって決定する。したがって、カメ
ラ部の設定の変更例えば全体の明るさの調整によって、
取り込んだ画像のヒストグラムのピークの位置が変動し
ても、その画像に応じた最適しきい値を導出することが
できる。A histogram is created for each fetched image, the maximum value and the minimum value are obtained again for each image, and the threshold value Thr is determined by equation (2). Therefore, by changing the setting of the camera unit, for example, by adjusting the overall brightness,
Even if the position of the peak of the histogram of the captured image fluctuates, it is possible to derive an optimum threshold value according to the image.
【0067】さらに、ステップS4において、求めた差
Ydiffが設定した範囲Yrange 以下の場合には、しきい
値を固定値に設定する(ステップS6)。差YdiffがY
range 以下となる画像は、図12に示すように、一つの
ピークのみからなるヒストグラムを生じさせる画像、す
なわち、文字が無く、背景のみの画像であると推定され
る。そのような画像に関しては、式(1)または式
(2)によりしきい値を導出することは、不適切である
ので、予め設定している固定値をしきい値として使用す
る。例えば8ビットの輝度信号の中間値(128)が固
定値として使用される。Further, if the obtained difference Ydiff is equal to or smaller than the set range Yrange in step S4, the threshold value is set to a fixed value (step S6). Difference Y diff is Y
As shown in FIG. 12, an image having a size equal to or smaller than the range is estimated to be an image that generates a histogram including only one peak, that is, an image having no characters and only a background. For such an image, it is inappropriate to derive the threshold value by the equation (1) or (2), so a preset fixed value is used as the threshold value. For example, an intermediate value (128) of an 8-bit luminance signal is used as a fixed value.
【0068】以上の処理でしきい値導出処理が終了し、
求められたしきい値Thrによって取り込んだ画像が2値
化される(ステップS7)。上述したしきい値導出の処
理において、オフセット値および中間値からの調整値
は、撮影画像の特徴に依存しているので、ディジタル画
像記録装置によって異なる値に設定する必要がある。し
たがって、ディジタル画像記録装置の依存性を少なく
し、汎用性を持たせるために、これらの値は、任意の値
に設定可能とされている。With the above processing, the threshold derivation processing is completed.
The captured image is binarized by the obtained threshold value Thr (step S7). In the above-described threshold deriving process, since the adjustment value from the offset value and the intermediate value depends on the characteristics of the captured image, it is necessary to set different values depending on the digital image recording device. Therefore, these values can be set to arbitrary values in order to reduce the dependence of the digital image recording apparatus and to provide versatility.
【0069】次に、この発明の他の実施形態について説
明する。上述した一実施形態では、キャプチャ画像を一
定のサイズの画像にリサイズするようにしたが、他の実
施形態は、画像の間引き処理を行い間引き画像を生成す
るものである。間引き処理は、色情報の分布を元の画像
と変えない程度に、画素数を間引くものである。例えば
垂直方向に行(ライン)を均等間隔で間引くものであ
る。Next, another embodiment of the present invention will be described. In one embodiment described above, the captured image is resized to an image of a fixed size. However, in another embodiment, a thinned image is generated by performing an image thinning process. The thinning-out processing thins out the number of pixels so as not to change the distribution of the color information from the original image. For example, rows (lines) are thinned out at equal intervals in the vertical direction.
【0070】キャプチャ画像を2値化するためのしきい
値を導出する際に、重要なことは、キャプチャ画像にお
ける色情報の分布を把握することである。したがって、
全画素のデータを忠実に考慮する必要がなく、適度の行
数を間引いても、ヒストグラムを使用して、正しくしき
い値を導出することができ、処理の高速化を達成するこ
とができる。また、被写体によって間引く行数を変化さ
せることによって、最小限のデータ数で正しいしきい値
を導出することができる。When deriving a threshold for binarizing a captured image, it is important to grasp the distribution of color information in the captured image. Therefore,
There is no need to faithfully consider the data of all pixels, and even if the number of rows is appropriately reduced, the threshold can be correctly derived using the histogram, and the processing can be speeded up. Also, by changing the number of rows to be thinned out depending on the subject, a correct threshold value can be derived with a minimum number of data.
【0071】この発明のさらに他の実施形態について説
明する。さらに他の実施形態は、撮影画像の内部に、枠
を設定し、枠内部の情報のみを用いてしきい値を導出す
るものである。この処理によって、画像周辺部のノイ
ズ、並びに文字と背景以外の不要な周辺画像の影響を排
除でき、しきい値を正しく導出することができる。A description will be given of still another embodiment of the present invention. In still another embodiment, a frame is set inside a captured image, and a threshold value is derived using only information inside the frame. By this processing, the noise at the peripheral portion of the image and the influence of unnecessary peripheral images other than the characters and the background can be eliminated, and the threshold value can be correctly derived.
【0072】すなわち、カメラ信号処理の不具合によっ
て、画像周辺部に劣化が発生し、ノイズ等が発生したと
きに、ノイズ等を含む情報をしきい値導出に用いると、
正しいしきい値を求めることができない。さらに、ホワ
イトボ−ド、または離れた所にある文字原稿を撮影する
と、ホワイトボ−ド、文字原稿以外の周辺の不要な物体
が撮影画像中に含まれてしまい、しきい値を正しく求め
ることができない。That is, when deterioration occurs in a peripheral portion of an image due to a defect in camera signal processing and noise or the like occurs, information including noise or the like is used for deriving a threshold value.
The correct threshold cannot be determined. Further, when a white board or a character document at a remote place is photographed, unnecessary objects around the board other than the white board and the character document are included in the photographed image, and the threshold value cannot be obtained correctly. .
【0073】図13Aは、ホワイトボ−ドを撮影した画
像の一例である。ホワイトボ−ド以外に、その周辺の不
要な物体が撮影されている。この撮影画像の全データを
使用すると、正しいしきい値を導出できないので、2値
化した画像は、図13Bに示すように、文字が不鮮明と
なってしまう。さらに他の実施形態では、図13Aにお
いて、点線で示すような画像中央の部分画像をカバ−す
る枠を設定し、枠内の画像情報のみを使用してしきい値
を導出する。それによって、周辺画像の影響を受けずに
しきい値を正しく導出することが可能となり、2値画像
は、図13Cに示すように、鮮明なものとなり、文字の
判読が容易となる。FIG. 13A is an example of an image obtained by photographing a whiteboard. In addition to the whiteboard, unnecessary objects around the whiteboard are photographed. If all the data of the photographed image is used, a correct threshold value cannot be derived, and thus the character of the binarized image becomes unclear as shown in FIG. 13B. In still another embodiment, in FIG. 13A, a frame covering a partial image at the center of the image as shown by a dotted line is set, and a threshold value is derived using only image information in the frame. This makes it possible to correctly derive the threshold value without being affected by the peripheral image, and the binary image becomes clear as shown in FIG. 13C, and the character can be easily read.
【0074】しきい値の導出に使用する情報を示す枠
は、撮影画像の略中央部の所定の大きさとされる。しか
しながら、実際の撮影画像は、種々のものがありうるの
で、枠の位置と大きさを被写体に合わせて設定できるこ
とがより好ましい。図14AおよびB、図15Aおよび
Bは、撮影画像中の文字が書かれているホワイトボ−ド
の位置と大きさに合わせて枠(点線で示す)を設定し、
枠内の情報を使用してしきい値を求め、そのしきい値に
よって2値化された画像の例を示している。The frame indicating the information used to derive the threshold has a predetermined size at the approximate center of the photographed image. However, since there are various kinds of actual captured images, it is more preferable that the position and size of the frame can be set according to the subject. FIGS. 14A and 14B and FIGS. 15A and 15B set a frame (indicated by a dotted line) in accordance with the position and size of a whiteboard on which characters in a photographed image are written.
An example of an image binarized by a threshold value obtained using information in a frame and obtaining the threshold value is shown.
【0075】枠を設定するには、撮影画像を表示装置4
に表示するときに、枠の位置と大きさを示す表示例えば
点線の枠を撮影画像に重ねて表示する。枠の位置を操作
入力部8の方向キ−によって移動可能とし、枠の大きさ
を画像拡大または縮小用のキ−で調整可能とする。枠の
表示は、点線以外のものを使用しても良く、その位置と
大きさを変える操作方法は、種々のものを使用できる。
このように、必要な被写体に合わせてしきい値導出に利
用する部分画像を選択可能とすることによって、しきい
値をより高精度に求めることができる。To set the frame, the photographed image is displayed on the display device 4.
, A display indicating the position and size of the frame, for example, a dotted frame is displayed so as to overlap the captured image. The position of the frame can be moved by a direction key of the operation input unit 8, and the size of the frame can be adjusted by a key for image enlargement or reduction. The display of the frame may be something other than the dotted line, and various methods for changing the position and size can be used.
As described above, by making it possible to select a partial image to be used for deriving a threshold value according to a required subject, the threshold value can be obtained with higher accuracy.
【0076】この発明は、上述した実施形態等に限定さ
れるものでは無く、この発明の要旨を逸脱しない範囲内
で様々な変形や応用が可能である。例えば上述した3個
の実施形態を組み合わせることで、処理時間をより短縮
でき、より正確なしきい値の導出が可能となる。例え
ば、一定のサイズにリサイズするときに、行の間引きを
行うようにしても良い。また、枠による部分画像の選択
処理とリサイズとを組み合わせるようにしても良い。ま
た、この発明は、ディジタルカメラに限らず、他のディ
ジタル画像記録装置に対しても適用できる。例えば動画
記録用のディジタル画像記録装置の1つの機能としてス
チル画像記録機能を持たせる場合、CCDを備える携帯
型パーソナルコンピュータによって、撮影画像を処理す
る場合等にこの発明を適用できる。The present invention is not limited to the above-described embodiments and the like, and various modifications and applications can be made without departing from the gist of the present invention. For example, by combining the above-described three embodiments, the processing time can be further reduced, and a more accurate derivation of the threshold can be achieved. For example, when resizing to a fixed size, rows may be thinned out. Further, the selection processing of the partial image by the frame and the resizing may be combined. Further, the present invention is not limited to a digital camera and can be applied to other digital image recording apparatuses. For example, the present invention can be applied to a case where a still image recording function is provided as one function of a digital image recording device for recording a moving image, a case where a photographed image is processed by a portable personal computer having a CCD, and the like.
【0077】[0077]
【発明の効果】この発明に依れば、記録する画像のサイ
ズにかかわらず、リサイズした画像を用いてしきい値を
求めるので、しきい値導出のアルゴリズムを一貫して適
用することが可能となり、また、処理時間が変動するこ
とを防止できる。According to the present invention, since the threshold value is obtained using the resized image regardless of the size of the image to be recorded, the algorithm for deriving the threshold value can be applied consistently. In addition, it is possible to prevent the processing time from fluctuating.
【0078】また、この発明に依れば、間引き画像を用
いてしきい値を求めるので、しきい値導出に支障を生じ
ることなく、処理の高速化が可能となる。間引きの処理
を被写体に応じて可変することによって、最小限のデー
タ数で正しいしきい値を導出することが可能となる。Further, according to the present invention, since the threshold value is obtained by using the thinned image, the processing can be speeded up without any trouble in deriving the threshold value. By varying the thinning process according to the subject, it is possible to derive a correct threshold value with a minimum number of data.
【0079】さらに、この発明に依れば、全画像のデー
タを用いるのではなく、部分画像の情報を用いてしきい
値を導出することによって、不要な情報の影響を受けず
に意図した部分を最適に2値化するための正しいしきい
値の導出が可能となる。また、使用する部分画像の設定
をユーザが任意に行うことを可能とすることによって、
ユーザが2値化したい部分を任意に選択することが可能
となる。Further, according to the present invention, instead of using the data of the entire image, the threshold value is derived using the information of the partial image, so that the intended portion is not affected by unnecessary information. It is possible to derive a correct threshold value for optimally binarizing. Also, by allowing the user to arbitrarily set the partial image to be used,
The user can arbitrarily select a part to be binarized.
【図1】この発明の一実施形態の全体構成を示すブロッ
ク図である。FIG. 1 is a block diagram showing an overall configuration of an embodiment of the present invention.
【図2】この発明の一実施形態におけるGIFファイル
の構造を示す略線図である。FIG. 2 is a schematic diagram illustrating the structure of a GIF file according to an embodiment of the present invention.
【図3】文字原稿等の撮影画像の2値化処理とGIFフ
ァイルへの変換処理の一例の説明に用いる略線図であ
る。FIG. 3 is a schematic diagram used for describing an example of a binarization process of a captured image of a character document or the like and a conversion process to a GIF file.
【図4】文字原稿等の撮影画像のGIFファイルへの変
換処理の一例の説明に用いる略線図である。FIG. 4 is a schematic diagram used for explaining an example of a process of converting a captured image such as a text document into a GIF file.
【図5】GIFデータブロックにおいて圧縮するデータ
ストリームの説明に用いる略線図である。FIG. 5 is a schematic diagram used to describe a data stream to be compressed in a GIF data block.
【図6】この発明の一実施形態における文字原稿等の撮
影画像の2値化処理とGIFファイルへの変換処理の説
明に用いる略線図である。FIG. 6 is a schematic diagram used for explaining a binarization process of a photographed image of a character document or the like and a conversion process to a GIF file according to the embodiment of the present invention.
【図7】既存の2値化の処理を説明するためのフローチ
ャートである。FIG. 7 is a flowchart for explaining existing binarization processing.
【図8】この発明の一実施形態における2値化の処理を
説明するためのフローチャートである。FIG. 8 is a flowchart illustrating a binarization process according to an embodiment of the present invention.
【図9】この発明の一実施形態におけるリサイズされた
画像をDRAMに格納した状態を概略的に示す略線図で
ある。FIG. 9 is a schematic diagram schematically showing a state in which a resized image is stored in a DRAM according to an embodiment of the present invention.
【図10】この発明の一実施形態におけるしきい値導出
処理を説明するためのフローチャートである。FIG. 10 is a flowchart illustrating a threshold deriving process according to an embodiment of the present invention.
【図11】しきい値導出処理に使用するヒストグラムの
一例の略線図である。FIG. 11 is a schematic diagram illustrating an example of a histogram used for threshold value derivation processing.
【図12】しきい値導出処理に使用するヒストグラムの
他の例の略線図である。FIG. 12 is a schematic diagram of another example of a histogram used for threshold derivation processing.
【図13】この発明のさらに他の実施形態を説明するた
めの略線図である。FIG. 13 is a schematic diagram for explaining still another embodiment of the present invention.
【図14】この発明のさらに他の実施形態を説明するた
めの略線図である。FIG. 14 is a schematic diagram for explaining still another embodiment of the present invention.
【図15】この発明のさらに他の実施形態を説明するた
めの略線図である。FIG. 15 is a schematic diagram for explaining still another embodiment of the present invention.
【図16】文字原稿を2値化するためのしきい値を説明
するための略線図である。FIG. 16 is a schematic diagram for explaining a threshold value for binarizing a character document;
1・・・CCD、2・・・カメラブロック、3・・・メ
モリコントロールブロック、4・・・表示装置、6・・
・DRAM、7・・・画像処理ブロック、8・・・操作
入力部、9・・・記録メディア1 ... CCD, 2 ... Camera block, 3 ... Memory control block, 4 ... Display device, 6 ...
・ DRAM, 7 ・ ・ ・ Image processing block, 8 ・ ・ ・ Operation input unit, 9 ・ ・ ・ Recording media
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 7/18 G06F 15/68 310A 5C076 9/04 H04N 1/40 103C 5C077 // H04N 101:00 1/46 C 5C079 5/92 H Fターム(参考) 5B057 AA01 BA02 CA01 CA08 CA16 CB01 CB06 CB16 CD07 CE12 5C022 AA13 AB12 AB22 AC03 AC32 AC42 5C053 FA09 FA27 GA11 GB36 JA16 LA06 5C054 AA05 CA04 CC02 EA01 EA07 EB05 EB07 ED09 ED17 EE07 FA02 FB01 FC04 FC05 GA04 GB02 GB15 GC01 GD03 5C065 BB02 BB04 BB08 BB11 BB48 CC01 CC09 CC10 DD02 FF02 FF03 GG18 GG30 GG32 GG44 GG49 GG50 5C076 AA22 BA06 BB06 CA02 5C077 LL19 MP08 PP20 PP43 PQ08 PQ19 RR02 RR15 RR16 RR18 TT09 5C079 HA01 HA13 HB01 LA28 LA31 LA34 LA37 MA17 NA11 NA29 PA00 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04N 7/18 G06F 15/68 310A 5C076 9/04 H04N 1/40 103C 5C077 // H04N 101: 00 1 / 46 C 5C079 5/92 HF term (reference) 5B057 AA01 BA02 CA01 CA08 CA16 CB01 CB06 CB16 CD07 CE12 5C022 AA13 AB12 AB22 AC03 AC32 AC42 5C053 FA09 FA27 GA11 GB36 JA16 LA06 5C054 AA05 CA04 CC02 EA01 EA07 EB07 FA05 FC04 FC05 GA04 GB02 GB15 GC01 GD03 5C065 BB02 BB04 BB08 BB11 BB48 CC01 CC09 CC10 DD02 FF02 FF03 GG18 GG30 GG32 GG44 GG49 GG50 5C076 AA22 BA06 BB06 CA02 5C077 LL19 MP08 PP20 PP43 PQ08 RR13P01 RR19 MA17 NA11 NA29 PA00
Claims (14)
して記録するディジタル画像記録装置において、 カラ−画像を取り込む画像取り込み手段と、 取り込まれたカラ−画像を2値画像に変換する画像処理
手段と、 上記画像処理手段の出力を記録メディアに記録する記録
手段とを備え、 上記画像処理手段は、取り込まれたカラ−画像を一定の
サイズまたは画素数の画像に変換し、上記変換後の画像
に基づいてしきい値を決定し、上記しきい値によって2
値画像を生成することを特徴とするディジタル画像記録
装置。1. A digital image recording apparatus for recording an image as a digital signal on a recording medium, comprising: an image capturing means for capturing a color image; an image processing means for converting the captured color image into a binary image; Recording means for recording the output of the image processing means on a recording medium, wherein the image processing means converts the fetched color image into an image of a fixed size or the number of pixels, based on the converted image. The threshold is determined, and 2
A digital image recording device for generating a value image.
して記録するディジタル画像記録装置において、 カラ−画像を取り込む画像取り込み手段と、 取り込まれたカラ−画像を2値画像に変換する画像処理
手段と、 上記画像処理手段の出力を記録メディアに記録する記録
手段とを備え、 上記画像処理手段は、取り込まれたカラ−画像を間引き
処理することによって間引き画像を生成し、上記間引き
画像に基づいてしきい値を決定し、上記しきい値によっ
て2値画像を生成することを特徴とするディジタル画像
記録装置。2. A digital image recording apparatus for recording an image as a digital signal on a recording medium, comprising: image capturing means for capturing a color image; image processing means for converting the captured color image into a binary image; Recording means for recording the output of the image processing means on a recording medium, wherein the image processing means generates a thinned image by thinning the captured color image, and sets a threshold value based on the thinned image. And a binary image is generated based on the threshold value.
して記録するディジタル画像記録装置において、 カラ−画像を取り込む画像取り込み手段と、 取り込まれたカラ−画像を2値画像に変換する画像処理
手段と、 上記画像処理手段の出力を記録メディアに記録する記録
手段とを備え、 上記画像処理手段は、取り込まれたカラ−画像内で、2
値化の対象となる被写体を含む部分画像に基づいてしき
い値を決定し、上記しきい値によって2値画像を生成す
ることを特徴とするディジタル画像記録装置。3. A digital image recording apparatus for recording an image as a digital signal on a recording medium, comprising: image capturing means for capturing a color image; image processing means for converting the captured color image into a binary image; Recording means for recording the output of the image processing means on a recording medium, wherein the image processing means stores
A digital image recording apparatus, wherein a threshold value is determined based on a partial image including a subject to be binarized, and a binary image is generated based on the threshold value.
の記録画像に変換することが可能なことを特徴とするデ
ィジタル画像処理装置。4. A digital image processing apparatus according to claim 1, wherein the captured color image can be converted into a recorded image of a selected size or the number of pixels.
の画素数の分布を表すヒストグラムを生成し、上記ヒス
トグラムの最大値および最小値を検出し、上記最大値お
よび最小値の中間値を上記しきい値とすることを特徴と
するディジタル画像記録装置。5. The image processing device according to claim 1, wherein the image processing means generates a histogram representing a distribution of the number of pixels of the luminance data in the converted image, and determines a maximum value and a minimum value of the histogram. A digital image recording apparatus, wherein the threshold value is detected and an intermediate value between the maximum value and the minimum value is used as the threshold value.
するディジタル画像記録装置。6. The digital image recording apparatus according to claim 2, wherein the thinning-out processing is processing for thinning out rows.
徴とするディジタル画像記録装置。7. The digital image recording apparatus according to claim 2, wherein the thinning process can be changed depending on a subject.
置および大きさを変更可能としたことを特徴とするディ
ジタル画像記録装置。8. The digital image recording apparatus according to claim 3, wherein a display corresponding to the partial image is performed, and a position and a size of the partial image can be changed.
して記録するディジタル画像記録方法において、 取り込まれたカラ−画像をしきい値によって2値画像へ
変換するステップと、 上記2値画像を記録メディアに記録するステップとを備
え、 取り込まれたカラ−画像を一定のサイズまたは画素数の
画像に変換し、上記変換後の画像に基づいてしきい値を
決定し、上記しきい値によって2値画像を生成すること
を特徴とするディジタル画像記録方法。9. A digital image recording method for recording an image as a digital signal on a recording medium, comprising the steps of: converting a captured color image into a binary image by using a threshold value; and recording the binary image on a recording medium. Converting the captured color image into an image of a fixed size or the number of pixels, determining a threshold value based on the converted image, and generating a binary image based on the threshold value. A digital image recording method.
として記録するディジタル画像記録方法において、 取り込まれたカラ−画像をしきい値によって2値画像へ
変換するステップと、上記2値画像を記録メディアに記
録するステップとを備え、 取り込まれたカラ−画像を間引き処理することによって
間引き画像を生成し、上記間引き画像に基づいてしきい
値を決定し、上記しきい値によって2値画像を生成する
ことを特徴とするディジタル画像記録方法。10. A digital image recording method for recording an image as a digital signal on a recording medium, comprising the steps of: converting a captured color image into a binary image by a threshold value; and recording the binary image on a recording medium. Generating a thinned image by thinning the captured color image, determining a threshold value based on the thinned image, and generating a binary image based on the threshold value. Characteristic digital image recording method.
として記録するディジタル画像記録方法において、 取り込まれたカラ−画像をしきい値によって2値画像へ
変換するステップと、 上記2値画像を記録メディアに記録するステップとを備
え、 取り込まれたカラ−画像内で、2値化の対象となる被写
体を含む部分画像に基づいてしきい値を決定し、上記し
きい値によって2値画像を生成することを特徴とするデ
ィジタル画像記録方法。11. A digital image recording method for recording an image as a digital signal on a recording medium, comprising the steps of: converting a captured color image into a binary image by a threshold value; and recording the binary image on a recording medium. Determining a threshold value in the captured color image based on a partial image including a subject to be binarized, and generating a binary image based on the threshold value. Characteristic digital image recording method.
として送出するディジタル画像伝送方法において、 取り込まれたカラ−画像をしきい値によって2値画像へ
変換するステップと、上記2値画像を通信メディアに送
出するステップとを備え、 取り込まれたカラ−画像を一定のサイズまたは画素数の
画像に変換し、上記変換後の画像に基づいてしきい値を
決定し、上記しきい値によって2値画像を生成すること
を特徴とするディジタル画像伝送方法。12. A digital image transmission method for transmitting an image as a digital signal to a communication medium, comprising the steps of: converting a captured color image into a binary image by using a threshold value; and transmitting the binary image to a communication medium. Converting the captured color image into an image of a fixed size or the number of pixels, determining a threshold value based on the converted image, and generating a binary image based on the threshold value. A digital image transmission method.
として送出するディジタル画像伝送方法において、 取り込まれたカラ−画像をしきい値によって2値画像へ
変換するステップと、上記2値画像を通信メディアに送
出するステップとを備え、 取り込まれたカラ−画像を間引き処理することによって
間引き画像を生成し、上記間引き画像に基づいてしきい
値を決定し、上記しきい値によって2値画像を生成する
ことを特徴とするディジタル画像伝送方法。13. A digital image transmission method for transmitting an image as a digital signal to a communication medium, comprising the steps of: converting a captured color image into a binary image by using a threshold value; and transmitting the binary image to a communication medium. Generating a thinned image by thinning the captured color image, determining a threshold value based on the thinned image, and generating a binary image based on the threshold value. Characteristic digital image transmission method.
として送出するディジタル画像伝送方法において、 取り込まれたカラ−画像をしきい値によって2値画像へ
変換するステップと、上記2値画像を通信メディアに送
出するステップとを備え、 取り込まれたカラ−画像内で、2値化の対象となる被写
体を含む部分画像に基づいてしきい値を決定し、上記し
きい値によって2値画像を生成することを特徴とするデ
ィジタル画像伝送方法。14. A digital image transmission method for transmitting an image as a digital signal to a communication medium, comprising the steps of: converting a captured color image into a binary image by using a threshold value; and transmitting the binary image to a communication medium. Determining a threshold value in the captured color image based on a partial image including a subject to be binarized, and generating a binary image based on the threshold value. Characteristic digital image transmission method.
Priority Applications (8)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000056001A JP2001245139A (en) | 2000-02-28 | 2000-02-28 | Digital image recording apparatus and method, and transmission method |
TW090101347A TW514876B (en) | 2000-01-31 | 2001-01-19 | Digital picture signal processing apparatus, method thereof, digital picture recording apparatus, method thereof, transmitting method thereof, and data record medium thereof |
EP01300597A EP1122691A3 (en) | 2000-01-31 | 2001-01-24 | Method and apparatus for digital image compression |
US09/772,150 US6961460B2 (en) | 2000-01-31 | 2001-01-29 | Dual mode digital picture signal processing |
KR1020010004213A KR100742851B1 (en) | 2000-01-31 | 2001-01-30 | Digital picture signal processing apparatus, method thereof, digital picture recording apparatus, method thereof, transmitting method thereof, and data record medium thereof |
CNA2005100689049A CN1674683A (en) | 2000-01-31 | 2001-01-31 | Digital picture signal processing apparatus, method thereof. digital picture recording apparatus and method |
CNB01116560XA CN1210953C (en) | 2000-01-31 | 2001-01-31 | Digital image signal processing, digital image recording apparatus and method, and recording medium |
US11/153,022 US7483566B2 (en) | 2000-01-31 | 2005-06-14 | Digital picture signal processing apparatus, method thereof, digital picture recording apparatus, method thereof, transmitting method thereof, and data record medium thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000056001A JP2001245139A (en) | 2000-02-28 | 2000-02-28 | Digital image recording apparatus and method, and transmission method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2001245139A true JP2001245139A (en) | 2001-09-07 |
Family
ID=18577033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000056001A Pending JP2001245139A (en) | 2000-01-31 | 2000-02-28 | Digital image recording apparatus and method, and transmission method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2001245139A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004093433A1 (en) * | 2003-04-15 | 2004-10-28 | Fujitsu Limited | Code recognizing method and device |
WO2005027506A1 (en) * | 2003-09-15 | 2005-03-24 | Multivia Co., Ltd. | Methods of compressing still pictures for mobile devices |
KR100716692B1 (en) * | 2005-04-21 | 2007-05-09 | 후지쯔 가부시끼가이샤 | Code recognition method and device |
US8059757B2 (en) | 2005-06-21 | 2011-11-15 | Nec Corporation | Signal processing device and method |
-
2000
- 2000-02-28 JP JP2000056001A patent/JP2001245139A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004093433A1 (en) * | 2003-04-15 | 2004-10-28 | Fujitsu Limited | Code recognizing method and device |
US7764835B2 (en) | 2003-04-15 | 2010-07-27 | Fujitsu Limited | Method and apparatus for recognizing code |
WO2005027506A1 (en) * | 2003-09-15 | 2005-03-24 | Multivia Co., Ltd. | Methods of compressing still pictures for mobile devices |
KR100716692B1 (en) * | 2005-04-21 | 2007-05-09 | 후지쯔 가부시끼가이샤 | Code recognition method and device |
US8059757B2 (en) | 2005-06-21 | 2011-11-15 | Nec Corporation | Signal processing device and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7483566B2 (en) | Digital picture signal processing apparatus, method thereof, digital picture recording apparatus, method thereof, transmitting method thereof, and data record medium thereof | |
US7557940B2 (en) | Image capture apparatus | |
JP4385841B2 (en) | Image processing device | |
US20050012829A1 (en) | Resolution selector for image capturing system | |
JP2014204175A (en) | Image processing apparatus and control method thereof | |
JP4288398B2 (en) | Image recording apparatus, image reproducing apparatus, and recording medium recording image processing program | |
US20030099404A1 (en) | Image encoding apparatus and method, image display apparatus and method, image processing system and image sensing apparatus | |
US10965925B2 (en) | Image capturing apparatus, client apparatus, control method, and storage medium | |
JP2001245177A (en) | Device and method for digital image processing, device and method for digital image recording | |
KR20120038203A (en) | Image processing apparatus and method having function of image correction based on luminous intensity around | |
JP2001245139A (en) | Digital image recording apparatus and method, and transmission method | |
JP2002084440A (en) | Digital camera, image processing method and recording medium | |
JP2000216985A (en) | Digital watermark embedding device and method and recording medium for storing digital watermark embedding program and digital camera and method for controlling the same | |
JP2001218065A (en) | Device and method for processing digital image signal, device and method for recording digital image and data recording medium | |
JP4086580B2 (en) | Image processing apparatus, program, and method | |
JP7114387B2 (en) | IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD AND PROGRAM | |
JP2003283909A (en) | Color image photographing apparatus with name card intake function | |
JP2004118018A (en) | On-screen display device and digital camera | |
JP4305473B2 (en) | Electronic still camera, image information erasing method, and image information state setting method | |
JPH0863573A (en) | System for filing digital image | |
JP7277082B2 (en) | IMAGING DEVICE, CLIENT DEVICE, CONTROL METHOD AND PROGRAM | |
JP2018019122A (en) | Image data processor and imaging apparatus | |
JPH09147095A (en) | Image recorder | |
KR100577646B1 (en) | Memory Operation Device and Operation Method of Digital Still Camera | |
JP2732941B2 (en) | Image signal processing device |