JPH033088A - Automatic id recognizing device for x-ray film - Google Patents

Automatic id recognizing device for x-ray film

Info

Publication number
JPH033088A
JPH033088A JP1137849A JP13784989A JPH033088A JP H033088 A JPH033088 A JP H033088A JP 1137849 A JP1137849 A JP 1137849A JP 13784989 A JP13784989 A JP 13784989A JP H033088 A JPH033088 A JP H033088A
Authority
JP
Japan
Prior art keywords
ray film
data
bar code
histogram
barcode
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
Application number
JP1137849A
Other languages
Japanese (ja)
Inventor
Tomosuke Ozaki
尾崎 友輔
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP1137849A priority Critical patent/JPH033088A/en
Publication of JPH033088A publication Critical patent/JPH033088A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To surely decide a boundary between a black part and a white part of a bar code by expressing the data of a bar code part by a histogram. CONSTITUTION:An X-ray film digitizer 1 digitizes a bar code printed on an X-ray film 4 as digital image data, outputs the data to a processor 2 and then stores the data in an image memory 3. The processor 2 extracts the data of the bar code part, forms a histogram based upon the extracted data, decides the black parts and white parts of the bar code, and finally outputs the decided result as the ID data of the X-ray film. Consequently, the automatic X-ray film ID recognizing device reduced at its reading error ratio can be obtained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はXIlフィルムからのID自動認識方式に関し
、特にX線フィルムに焼き付けられたバーコードの認識
装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an automatic ID recognition system from XIl film, and more particularly to a recognition device for barcodes printed on X-ray film.

〔従来の技術〕[Conventional technology]

従来、この種のID自動認識方式はあらかじめプリント
アウトさせたバーコードラベルをX線フィルム上に貼付
し、そのバーコードを通常のバーコードスキャナにより
読み収り、【Dとして認識する方法がとられていた。
Conventionally, this type of automatic ID recognition method involves pasting a pre-printed barcode label onto an was.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のX線フィルムのID自動認識方式は別途
バーコード発行装置などで通常のバーコードラベルを打
ち出し、X線フィルムに貼り付けるために手間がかかり
、人手を必要としていた。
The above-described conventional automatic ID recognition system for X-ray film is time-consuming and labor-intensive because a barcode label is printed out using a separate barcode issuing device and pasted onto the X-ray film.

又、X線フィルム上にバーコードを焼き付ける方法も試
みられてはいるが、読み収りエラー率が高く、実用に耐
えないという欠点がある。
Also, attempts have been made to print barcodes on X-ray film, but these methods have the drawback of having a high reading error rate and being impractical.

本発明の目的は前記課題を解決したX線フィルムのID
自動認識装置を提供することにある。
The object of the present invention is to develop an X-ray film ID that solves the above problems.
The purpose of the present invention is to provide an automatic recognition device.

〔課題を解決するための手段〕[Means to solve the problem]

前記目的を達成するため、本発明に係るX線フィルムの
ID自動認識装置においては、X線フィルムのバーコー
ドをディジタル画像データに変換するX線フィルムディ
ジタイザと、前記X線フィルムディジタイザより出力さ
れるバーコードのデータからヒストグラムを作成しヒス
トグラム機能を利用してX線フィルムのIDデータを出
力する処理装置とを有するものである。
In order to achieve the above object, the X-ray film ID automatic recognition device according to the present invention includes an X-ray film digitizer that converts the bar code of the X-ray film into digital image data, and an The apparatus includes a processing device that creates a histogram from barcode data and outputs ID data of the X-ray film using the histogram function.

〔実施例〕〔Example〕

以下、本発明の一実施例を図により説明する。 Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロック図、第2図は
処理フロー図である。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a processing flow diagram.

本発明はX線フィルムに直接焼き付けられたバーコード
を認識識別するものであり、第1図に示すように、X線
フィルム4のバーコードをディジタル画像データに変換
するX線フィルムディジタイザ1と、ディジタル画像デ
ータからヒストグラムを作成し、そのヒストグラム機能
を利用してX線フィルムのIDデータを出力する処理装
置2と、画像メモリ3とを有する。
The present invention recognizes and identifies barcodes printed directly on X-ray film, and as shown in FIG. It has a processing device 2 that creates a histogram from digital image data and outputs ID data of an X-ray film using the histogram function, and an image memory 3.

X線フィルムディジタイザ1はX線フィルム4に焼き付
けられているバーコードをディジタル画像データとして
ディジタル化しく第2図のステップS、)、処理装置2
へ出力する。さらに画像メモリ3へ格納する。処理装置
2ではバーコード部のデータを抽出しく第2図ステップ
S2)、それに基いてヒストグラムを作成しく第2図ス
テップS3)、バーコードの黒部分と白部分を判別しく
第2図ステップS4)、最終的にはX線フィルムのID
データとして出力する(第2図ステップS2)。
The X-ray film digitizer 1 digitizes the barcode printed on the X-ray film 4 as digital image data (step S in FIG. 2), and the processing device 2
Output to. Furthermore, it is stored in the image memory 3. The processing device 2 extracts the data of the barcode part (step S2 in Figure 2), creates a histogram based on it (step S3 in Figure 2), and distinguishes between black and white parts of the barcode (step S4 in Figure 2). , ultimately the ID of the X-ray film
Output as data (step S2 in FIG. 2).

第3図は処理装置2内で行われるバーコード部のヒスト
グラム作成及び境界線の判別方法を示す。
FIG. 3 shows a method of creating a histogram of a barcode section and determining a boundary line, which is performed within the processing device 2.

すなわち、処理装置2では画像化されたバーコード10
の一部を切り出し、ヒストグラムを作成する。
That is, the processing device 2 processes the imaged barcode 10.
Cut out a part of the image and create a histogram.

ヒストグラム縦軸12は対象領域内めあるデータの値を
持つビクセル個数であり、横軸13はデータの最小値〜
最大値を表わす、バーコードの白と黒の部分の境界はヒ
ストグラムに現われる2つの山の境目の部分の値14で
決定される。バーコードの白黒境界データ値14を条件
としてヒストグラム作成範囲11について白と黒の識別
を行う、そして、バーコードのfA域全全体渡ってこの
処理をくり返す。
The vertical axis 12 of the histogram is the number of pixels with a certain data value within the target area, and the horizontal axis 13 is the minimum value of data ~
The boundary between the white and black portions of the barcode, which represents the maximum value, is determined by the value 14 at the boundary between the two peaks appearing in the histogram. White and black are distinguished for the histogram creation range 11 using the black and white boundary data value 14 of the barcode as a condition, and this process is repeated over the entire fA area of the barcode.

すなわち、処理装置2はヒストグラムの傾斜がらバーコ
ードの白と黒を認識し、正確に焼き付けられたバーコー
ドを読み取り、IDとして認識する機能を有している。
That is, the processing device 2 has a function of recognizing the black and white of the barcode based on the slope of the histogram, reading the accurately printed barcode, and recognizing it as an ID.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明はバーコード部のデータをし
ストダラムで表わすことにより、バーコードの黒部分と
白部分の境界線をより確実に判別できる効果がある。特
に、x#s、フィルム上に焼き付けられたバーコードは
、X線の照射量や現像液の状態などにより、場所による
変動が大きく、バーコードの黒と白のレベルが一義的に
決められないという特性をもつが、本発明により変動し
たレベルに追随して白黒の判別が可能となり、IDデー
タとして認識できる効果を有する。
As described above, the present invention has the effect that the boundary between the black and white portions of the barcode can be more reliably determined by representing the data in the barcode portion in a straight line. In particular, the barcode printed on x#s film varies greatly depending on the location, depending on the amount of X-ray irradiation and the condition of the developer, so the black and white levels of the barcode cannot be determined unambiguously. However, according to the present invention, it is possible to distinguish between black and white by following the changed level, and it has the effect of being able to be recognized as ID data.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示すブロック図、第2図は
第1図の装置を用いた場合の処理フロー図、第3図は読
み取られたデータを元に作成されたヒストグラムによる
データの白黒判別方法を示す図である。 1・・・X線フィルムディジタイザ 2・・・処理装置     3・・・画像メモリ4・・
・X線フィルム 第1図 ヒーー門 り、1 第3図
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a processing flow diagram when the device shown in Fig. 1 is used, and Fig. 3 is data based on a histogram created based on the read data. FIG. 3 is a diagram showing a black and white discrimination method. 1... X-ray film digitizer 2... Processing device 3... Image memory 4...
・X-ray film Fig. 1 Heat gate, 1 Fig. 3

Claims (1)

【特許請求の範囲】[Claims] (1)X線フィルムのバーコードをディジタル画像デー
タに変換するX線フィルムディジタイザと、前記X線フ
ィルムディジタイザより出力されるバーコードのデータ
からヒストグラムを作成しヒストグラム機能を利用して
X線フィルムのIDデータを出力する処理装置とを有す
ることを特徴とするX線フィルムのID自動認識装置。
(1) An X-ray film digitizer that converts the barcode of the X-ray film into digital image data; a histogram is created from the barcode data output from the X-ray film digitizer; and the histogram function is used to convert the X-ray film into digital image data. 1. An automatic ID recognition device for X-ray film, comprising a processing device that outputs ID data.
JP1137849A 1989-05-31 1989-05-31 Automatic id recognizing device for x-ray film Pending JPH033088A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1137849A JPH033088A (en) 1989-05-31 1989-05-31 Automatic id recognizing device for x-ray film

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1137849A JPH033088A (en) 1989-05-31 1989-05-31 Automatic id recognizing device for x-ray film

Publications (1)

Publication Number Publication Date
JPH033088A true JPH033088A (en) 1991-01-09

Family

ID=15208241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1137849A Pending JPH033088A (en) 1989-05-31 1989-05-31 Automatic id recognizing device for x-ray film

Country Status (1)

Country Link
JP (1) JPH033088A (en)

Similar Documents

Publication Publication Date Title
US20030118211A1 (en) Watermark information extraction apparatus and method of controlling thereof
JP2004280334A (en) Image reading device
CN120543816A (en) Bar code detection method and device
JPH033088A (en) Automatic id recognizing device for x-ray film
JP3031579B2 (en) How to specify the character recognition area of a form
JP4804433B2 (en) Image processing apparatus, image processing method, and image processing program
JPH0373914B2 (en)
JP2812256B2 (en) Character recognition apparatus and method
JP2000057250A (en) 2D code reading method
JP2909132B2 (en) Optical character reader
JPS6074094A (en) Character recognizing device
JP2630261B2 (en) Character recognition device
JPS63101983A (en) Character string extracting system
JP2925270B2 (en) Character reader
JP3160458B2 (en) Character reading device and character reading method
JPH0586585B2 (en)
JPH10233930A (en) Image processor
JPS6334678A (en) Bar code reader
JP2001209755A (en) Wrong-word correcting device, bad-word correcting method, and computer-readable recording medium storing bad-word correcting program
JP3239965B2 (en) Character recognition device
JPH03122786A (en) Optical character reader
JPH09114924A (en) Document image processor and document method image processing
JPS5914078A (en) Reader of business form
JPH04359393A (en) Optical character reader
JPH03217993A (en) Character size recognizer