JPH0519367A - Negative film code deciding method - Google Patents

Negative film code deciding method

Info

Publication number
JPH0519367A
JPH0519367A JP2045991A JP2045991A JPH0519367A JP H0519367 A JPH0519367 A JP H0519367A JP 2045991 A JP2045991 A JP 2045991A JP 2045991 A JP2045991 A JP 2045991A JP H0519367 A JPH0519367 A JP H0519367A
Authority
JP
Japan
Prior art keywords
code
negative film
optical sensor
frame
threshold
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
JP2045991A
Other languages
Japanese (ja)
Inventor
Tetsuya Kurimoto
哲也 栗本
Takao Misawa
貴夫 三澤
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2045991A priority Critical patent/JPH0519367A/en
Publication of JPH0519367A publication Critical patent/JPH0519367A/en
Pending legal-status Critical Current

Links

Landscapes

  • Projection-Type Copiers In General (AREA)
  • Photographic Developing Apparatuses (AREA)

Abstract

PURPOSE:To improve the detecting rate of the code of a negative film without using a highly accurate optical sensor. CONSTITUTION:The code formed by development on the negative film F is detected by an optical sensor S, maximum and minimum extremal values are required from the output of the optical sensor S, obtained from the base part 41 of the code 40 and a code part 42, and a threshold corresponding to the base part 41 and the code part 42 is set based on the required specific extremal values and their front and rear values. Therefore, the base part 41 and the code part 42 are detected with the threshold.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、ネガフィルムに現像
で形成されるコードを判定するネガフィルムのコード判
定方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a negative film code judging method for judging a code formed on a negative film by development.

【0002】[0002]

【従来の技術】写真プリントは、例えばフィルム搬送装
置でネガフィルムを搬送して、ネガフィルムに形成され
たネガ画像の駒を露光位置で停止し、露光手段によりこ
のネガ画像を印画紙に焼付け、この印画紙を現像装置で
現像処理することで作成される。
2. Description of the Related Art In photographic printing, for example, a negative film is conveyed by a film conveying device, a frame of a negative image formed on the negative film is stopped at an exposure position, and the negative image is printed on a photographic paper by an exposing means. It is created by developing the photographic paper with a developing device.

【0003】この写真プリントを作成する際に、ネガフ
ィルムに現像で形成されたフレームコードやDXコード
を光学センサで検出して、焼き付ける駒を指定したり、
焼き付け条件を指定する場合がある。
When making this photographic print, an optical sensor detects the frame code or DX code formed on the negative film by development, and specifies the frame to be printed,
The printing conditions may be specified.

【0004】このネガフィルムに形成されたフレームコ
ード、DXコードなどを検出する光学センサとして、例
えばLEDとフォトダイオードで検出する場合があり、
ネガフィルムのコードのベース部とコード部でのフォト
ダイオードからの出力電圧は第6図のようになる。この
ような出力波形に対し、ネガフィルムのコード50のベ
ース部51のデータと、コード部52のデータとを判別
するスレッシュホルドL1として、第6図に示すように
固定値のスレッシュホルド電圧を設定するか、或いは第
7図に示すようにコード部52からベース部51へ移る
時のスレッシュホルドL2と、ベース部51からコード
部52へ移る時のスレッシュホルドL3を2つ設けた場
合などがある。
As an optical sensor for detecting a frame code, a DX code, etc. formed on the negative film, for example, an LED and a photodiode may be used for detection.
The output voltage from the photodiode at the base and the code of the negative film code is as shown in FIG. For such an output waveform, as the threshold L1 for discriminating the data of the base portion 51 of the code 50 of the negative film and the data of the code portion 52, a threshold voltage having a fixed value is set as shown in FIG. Alternatively, as shown in FIG. 7, there may be a case where two thresholds L2 are provided for moving from the cord portion 52 to the base portion 51 and two thresholds L3 for moving from the base portion 51 to the cord portion 52. ..

【0005】[0005]

【発明が解決しようとする課題】ところで、ネガフィル
ムのコード50には、例えばベース部51とコード部5
2に対して、それぞれ長コード(約1,03mm)と短
コード(約0,46mm)がある。このコード50をL
EDとフォトダイオードなどの光学センサにより検出し
た場合、第8図に示すようにベース部51の長コードの
次にコード部52の短コードがあり、次にベース部51
の長コードがくるようなパターンP1の場合、コード部
52の短コード部分を検出する際、両側のベース部51
の影響により光学センサに当る光量が十分に減少しな
い。
By the way, the cord 50 of the negative film has, for example, a base portion 51 and a cord portion 5.
2 has a long cord (about 1.03 mm) and a short cord (about 0.46 mm). This code 50 is L
When detected by an optical sensor such as an ED and a photodiode, as shown in FIG. 8, the long code of the base portion 51 is followed by the short code of the cord portion 52, and then the base portion 51
When the short code portion of the code portion 52 is detected in the pattern P1 in which the long code of
Due to the influence of, the amount of light that hits the optical sensor is not sufficiently reduced.

【0006】また、逆にコード部52の長コードの間
に、ベース部51の短コードがあるようなパターンP2
では、ベース部51の短コード部分を透過して、光学セ
ンサに当る光量が減少してしまうことがある。このた
め、固定のスレッシュホルドL1では出力が十分でない
部分のコードを読むことができなかったり、ノイズとコ
ードを間違えることがあり、ネガフィルムのコード50
を誤検出することがある。
On the contrary, the pattern P2 in which the short code of the base section 51 is located between the long codes of the code section 52
Then, the amount of light that passes through the short cord portion of the base portion 51 and strikes the optical sensor may be reduced. For this reason, the fixed threshold L1 may not be able to read the code of the portion where the output is insufficient, or the code may be mistaken for noise, and the negative film code 50
May be erroneously detected.

【0007】このように、ネガフィルムのコード50を
LEDとフォトダイオードなどの光学センサを用いて検
出する場合、その出力電圧は同じコード、例えばコード
部の短コードでも、そのコードの前後のコードパターン
により変化してしまうことがある。
As described above, when the code 50 of the negative film is detected by using the optical sensor such as the LED and the photodiode, the output voltage thereof is the same code, for example, the code pattern before and after the code even if the code is a short code. May change due to.

【0008】また、同じパターンのコードでもネガフィ
ルムの種類、現像性等により出力電圧が大きく変化する
ことがあるため、ベース部とコード部とを判定するスレ
ッシュホルドを固定値とすると、コードを誤検出するこ
とが多い。
Further, even if the code has the same pattern, the output voltage may change greatly depending on the type of the negative film, the developability, etc. Therefore, if the threshold for determining the base part and the code part is set to a fixed value, the code is erroneous. Often detected.

【0009】この発明は、かかる点に鑑みなされたもの
で、高精度の光学センサを用いることなく、ネガフィル
ムのコードの検出率を向上させることをができるネガフ
ィルムのコード判定方法を提供することを目的としてい
る。
The present invention has been made in view of the above circumstances, and provides a code determination method for a negative film, which can improve the code detection rate of the negative film without using a highly accurate optical sensor. It is an object.

【0010】[0010]

【課題を解決するための手段】前記課題を解決するた
め、この発明のネガフィルムのコード判定方法は、ネガ
フィルムに現像で形成されたコードを光学センサで検出
し、このコードのベース部とコード部から得られる光学
センサの出力から極大、極小となる極値を求め、この特
定の極値とその前後の極値に基づいてベース部とコード
部に応じたスレッシュホルドを設定し、このスレッシュ
ホルドによりベース部とコード部を検出することを特徴
としている。
In order to solve the above-mentioned problems, the negative film code judging method of the present invention detects a code formed by development on a negative film by an optical sensor, and the base portion of the code and the code. From the output of the optical sensor obtained from the section, find the extreme value that is the maximum and the minimum, and set the threshold corresponding to the base section and the code section based on this particular extreme value and the extreme values before and after this particular extreme value. Is characterized by detecting the base part and the code part.

【0011】[0011]

【作用】この発明では、ネガフィルムに現像で形成され
たコードのベース部とコード部を光学センサで検出し、
この光学センサの出力からその極大と極小となる極値を
求め、この特定の極値とその前後の極値に基づいてコー
ドのベース部とコード部に応じたスレッシュホルドを設
定する。このスレッシュホルドに基づいて、コードのベ
ース部とコード部を検出する。
In the present invention, the optical sensor detects the base portion and the cord portion of the cord formed by development on the negative film,
From the output of this optical sensor, the extreme values that are the maximum and the minimum are obtained, and the threshold corresponding to the base portion of the cord and the cord portion is set based on this particular extreme value and the extreme values before and after it. The base portion and the cord portion of the cord are detected based on this threshold.

【0012】[0012]

【実施例】以下、この発明の一実施例を添付図面に基づ
いて詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

【0013】図1はこの発明が適用されるネガフィルム
搬送装置の概略図、図2はネガフィルムの平面図であ
る。
FIG. 1 is a schematic view of a negative film conveying apparatus to which the present invention is applied, and FIG. 2 is a plan view of the negative film.

【0014】このネガフィルム搬送装置1は、ネガフィ
ルムFに形成されたネガ画像の駒Kを露光位置で停止し
図示しない露光手段によりネガ画像を印画紙に焼付ける
焼付装置に備えられる。
The negative film transporting apparatus 1 is provided in a printing apparatus which stops a negative image frame K formed on the negative film F at an exposure position and prints the negative image on photographic paper by an exposing means (not shown).

【0015】このネガフィルム搬送装置1にはネガフィ
ルムFの両端部を狭持して搬送する一対の搬送ローラ
2,3が所定の距離を隔てて配置されている。この対向
する搬送ローラ2,3のプーリ4,5にはベルト6が巻
掛けられ、さらに搬送ローラ2の端部に設けられたスプ
ロケット7には駆動モータ8のスプロケット9が噛合し
ている。
The negative film transporting device 1 is provided with a pair of transport rollers 2 and 3 for sandwiching and transporting both ends of the negative film F with a predetermined distance. A belt 6 is wound around the pulleys 4 and 5 of the conveying rollers 2 and 3 facing each other, and a sprocket 9 of a drive motor 8 is meshed with a sprocket 7 provided at an end of the conveying roller 2.

【0016】駆動モータ8には例えばステッピングモー
タが用いられ、この駆動モータ8の回転で搬送ローラ2
が回転し、この回転力はベルト6で搬送ローラ5へ伝達
され、両者は連動して回転し、これらでネガフィルムF
を露光位置Tに搬送するフィルム搬送手段Aを構成して
いる。
A stepping motor, for example, is used as the drive motor 8, and the transport roller 2 is rotated by the rotation of the drive motor 8.
Is rotated, and this rotational force is transmitted to the conveyance roller 5 by the belt 6, and both are rotated in conjunction with each other.
The film transport means A is configured to transport the film to the exposure position T.

【0017】搬送ローラ2,3の間の露光位置Tにはネ
ガマスク10が設けられ、この露光位置でネガフィルム
Fの駒のネガ画像を図示しない印画紙に焼込む。この露
光位置Tの近傍にはネガフィルムFの駒ナンバ確認用ビ
ュア11が設けられ、操作者が目視でネガフィルムFの
駒ナンバN1を確認することができ、或いはネガフィル
ムF上の駒位置を検出して、露光位置Tに焼込むべき駒
がくるように搬送することができる。
A negative mask 10 is provided at an exposure position T between the conveying rollers 2 and 3, and the negative image of the frame of the negative film F is printed on a photographic paper (not shown) at this exposure position. A frame number confirmation viewer 11 of the negative film F is provided near the exposure position T so that the operator can visually confirm the frame number N1 of the negative film F, or the frame position on the negative film F can be confirmed. It can be conveyed so that the frame to be detected and printed at the exposure position T comes.

【0018】搬送ローラ3の近傍にはネガフィルムFの
幅方向に画面検出センサ12,13が設けられている。
また、ネガフィルムFの端部に対応する位置にフレーム
コードN2を検出する光学センサSが設けられ、これが
ネガフィルムFの情報読取手段Bを構成している。この
光学センサSでネガフィルムFがフィルム搬送手段Aに
よりプリントするために搬送されると、ネガフィルムF
のフレームコードN2が読み取られ、このフレームコー
ドN2を検出することにより、そのフレームコードN2
が示す駒ナンバがわかる。
Screen detection sensors 12 and 13 are provided in the width direction of the negative film F near the transport roller 3.
Further, an optical sensor S for detecting the frame code N2 is provided at a position corresponding to the end portion of the negative film F, and this constitutes the information reading means B of the negative film F. When the negative film F is conveyed by the optical sensor S for printing by the film conveying means A, the negative film F is conveyed.
Of the frame code N2 is read, and the frame code N2 is detected by detecting the frame code N2.
You can see the piece number indicated by.

【0019】また、フレームコードN2と駒ナンバN1
の位置は定まっているので、光学センサSによりフレー
ムコードN2を検出すると、同時にフレームコードN2
のフィルム搬送手段A上の位置もわかるので駒ナンバN
1の位置も確定することができる。また、フィルム搬送
手段Aの駆動モータ8にステッピングモータを用いてス
テップ数を計数することや搬送ローラ2,3に付けられ
たエンコーダの出力を測定することにより、ネガフィル
ムFをどのくらい送ったか検出できる。
The frame code N2 and the frame number N1
Since the position of the frame code N2 is determined, the optical sensor S detects the frame code N2 at the same time.
The frame number N
The position of 1 can also be determined. Further, it is possible to detect how much the negative film F has been fed by counting the number of steps using a stepping motor as the drive motor 8 of the film feeding means A and measuring the output of the encoder attached to the feeding rollers 2 and 3. ..

【0020】このとき、ネガフィルムFに付けられた駒
ナンバN1が、どこの位置にあるかを確定する。例え
ば、光学センサSが搬送されているネガフィルムFのフ
レームコードを読み取リ、フレームコードが示す駒ナン
バを求め、駒ナンバN1がある位置を管理する。
At this time, the position of the frame number N1 attached to the negative film F is determined. For example, the optical sensor S reads the frame code of the negative film F being conveyed, obtains the frame number indicated by the frame code, and manages the position of the frame number N1.

【0021】従って、一旦駒ナンバN1の位置が確認で
きると、ネガフィルムFを搬送しても駒ナンバN1の位
置がどこに移動したかがわかる。また、逆にある駒ナン
バN1を露光位置T上に移動させるために必要な距離情
報、例えばステッピングモータを何ステップ動かすかを
計算することができる。
Therefore, once the position of the frame number N1 can be confirmed, it is possible to know where the position of the frame number N1 has moved even when the negative film F is conveyed. Further, it is possible to calculate the distance information necessary to move the frame number N1 located on the opposite side to the exposure position T, for example, how many steps the stepping motor is moved.

【0022】また、DXコードN3に駒ナンバが含まれ
ることもあり、この場合情報読取手段Bを構成する光学
センサSでDXコードN3を読取り、このDXコードN
3から駒ナンバを検出するようにしてもよい。
Further, the DX code N3 may include a frame number. In this case, the optical sensor S constituting the information reading means B reads the DX code N3, and the DX code N3 is read.
It is also possible to detect the piece number from 3.

【0023】光学センサSからの読取情報及び画面検出
センサ12,13の検出情報は、それぞれ制御手段Cに
送られる。この制御手段Cには駒ナンバ入力手段D及び
パスキー入力手段Eが接続され、操作者の操作で駒ナン
バ入力手段DからネガフィルムFの露光すべき露光駒ナ
ンバが入力される。制御手段Cは入力された露光駒ナン
バに基づきフィルム搬送手段Aを制御し、ネガフィルム
Fの所定の駒を露光位置Tへ搬送する。
The read information from the optical sensor S and the detection information from the screen detection sensors 12 and 13 are sent to the control means C, respectively. A frame number input means D and a passkey input means E are connected to the control means C, and an exposure frame number of the negative film F to be exposed is input from the frame number input means D by an operator's operation. The control means C controls the film transport means A based on the input exposure frame number to transport a predetermined frame of the negative film F to the exposure position T.

【0024】制御手段CではネガフィルムFを搬送する
時、ネガフィルムFの送り量を検出でき、例えば例駆動
モータ8にステッピングモータを用いると、このステッ
プ数を数えることにより算出し、或いは搬送ローラ2ま
たは搬送ローラ3にエンコーダを付けると、そのステッ
プ数より算出し、ネガフィルムFがどの位置にあるかを
検出することができ、露光位置Tに正確に停止される。
When the negative film F is conveyed, the control means C can detect the feed amount of the negative film F. For example, if a stepping motor is used as the drive motor 8, for example, it can be calculated by counting the number of steps, or the conveying roller. When an encoder is attached to 2 or the transport roller 3, it is possible to detect from which position the negative film F is located by calculating from the number of steps, and it is accurately stopped at the exposure position T.

【0025】制御手段Cでは情報読取手段Bからの情報
から、露光位置Tまで搬送したい駒ナンバN1の位置
と、その付近の駒Kの位置を照合して入力された駒ナン
バに最も近い駒Kが露光位置Tにくるようにネガフィル
ムFを搬送する。この制御手段CにはネガフィルムFを
現在の位置からある駒Kまで搬送したい時、搬送したい
駒Kに近い駒ナンバが登録される。
In the control means C, the position of the piece number N1 desired to be conveyed to the exposure position T and the position of the piece K in the vicinity thereof are collated from the information from the information reading means B, and the piece K closest to the inputted piece number. The negative film F is conveyed so that the image is at the exposure position T. When the negative film F is desired to be conveyed from the current position to a certain frame K, a frame number close to the frame K to be conveyed is registered in the control means C.

【0026】駒ナンバ入力手段Dでは、手入力或いはメ
モリー媒体や通信による入力が行なわれ、露光軸位置T
まで搬送したい位置にある駒の駒ナンバ、また駒ナンバ
だけでなく、駒ナンバによって示される位置例えばハー
フサイズでの連番表示でもよく、この場合は例えば1−
1Aなどを制御手段Cに登録することにより、この登録
された駒ナンバが露光位置Tにくるように搬送する。
In the frame number input means D, an input is made manually or by a memory medium or communication, and the exposure axis position T
It is also possible to display not only the piece number of the piece at the position to be conveyed to, but also the position indicated by the piece number, for example, a half-size serial number display. In this case, for example, 1-
By registering 1A or the like in the control means C, the registered frame number is conveyed so as to come to the exposure position T.

【0027】また、パスキー入力手段Eが設けられてお
り、このパスキー入力手段Eが押されることにより、ネ
ガフィルムFが搬送される。
Further, a passkey input means E is provided, and when the passkey input means E is pressed, the negative film F is conveyed.

【0028】以上のような機能を持つネガフィルム搬送
装置1にネガフィルムFをセットし、露光位置Tまで搬
送したい露光駒ナンバを、操作者が駒ナンバ入力手段D
から入力する。この駒ナンバ入力手段Dで、例えばキー
ボードなどから手入力、記憶媒体を用いる入力、通信手
段等を用いることにより、制御手段Cによりフィルム搬
送手段Aが制御され、入力された露光駒ナンバが露光位
置Tにくるように、駆動モータ8が駆動されて搬送ロー
ラ2,3を回転し、ネガフィルムFを搬送することがで
きる。
The operator sets the exposure frame number to be conveyed to the exposure position T by setting the negative film F on the negative film conveying device 1 having the above-mentioned function and the frame number input means D.
Enter from. With this frame number input means D, the film conveying means A is controlled by the control means C by using, for example, manual input from a keyboard, input using a storage medium, communication means, etc., and the input exposure frame number is the exposure position. The drive motor 8 is driven to rotate the transport rollers 2 and 3 so that the negative film F can be transported so as to reach T.

【0029】このとき、ネガフィルム搬送装置1は画面
検出センサ12,13によりネガフィルムF上の駒位置
を検出することができ、駒ナンバN1と同様にネガフィ
ルム搬送装置1上での駒位置を管理することができ、露
光位置T上で駒を停止させることができる。
At this time, the negative film transport device 1 can detect the frame position on the negative film F by the screen detection sensors 12 and 13, and the frame position on the negative film transport device 1 can be detected similarly to the frame number N1. It can be managed, and the frame can be stopped on the exposure position T.

【0030】このように、フレームコードN2と駒Kの
位置を検出した後に、前記のように露光位置Tまで搬送
したい露光駒ナンバを入力してやると、制御手段Cは駒
ナンバの位置情報と駒の位置情報とを照合して入力され
た露光駒ナンバに最も近い位置になる駒Kが露光位置T
にくるようにネガフィルムFを搬送する。その駒ナンバ
N1の近傍の画面が検出できなかった場合には、その駒
ナンバN1が露光位置T上に位置するようにネガフィル
ムFを搬送する。
As described above, after detecting the positions of the frame code N2 and the frame K and inputting the exposure frame number to be conveyed to the exposure position T as described above, the control means C causes the position information of the frame number and the position of the frame. The frame K that is the closest to the exposure frame number input by collating the information is the exposure position T.
The negative film F is conveyed so as to come to the bottom. When the screen near the frame number N1 cannot be detected, the negative film F is conveyed so that the frame number N1 is located on the exposure position T.

【0031】ネガフィルムFの駒ナンバを検出する光学
センサSは図3に示すように構成されており、ネガフィ
ルムFの搬送路の両側にスリット30aを有する遮光プ
レート30が配置され、このスリット30aに対向して
LED31及びフォトダイオード32が配置されてい
る。
The optical sensor S for detecting the frame number of the negative film F is constructed as shown in FIG. 3, and the light shielding plates 30 having the slits 30a are arranged on both sides of the conveying path of the negative film F, and the slits 30a are provided. The LED 31 and the photodiode 32 are arranged so as to face the.

【0032】ネガフィルムFを搬送する時に、LED3
1とフォトダイオード32で構成される光学センサS
で、フレームコードN2を検出すると、フォトダイオー
ド32の出力電圧は図4に示すような波形となる。
When the negative film F is conveyed, the LED 3
Optical sensor S composed of 1 and photodiode 32
When the frame code N2 is detected, the output voltage of the photodiode 32 has a waveform as shown in FIG.

【0033】即ち、駆動モータ8にステッピングモータ
を用いると、駆動モータ8が1ステップ動くと、ネガフ
ィルムFは一定量送られる(例えば0,125mm)。
制御手段Cでは駆動モータ8が1ステップ駆動する毎
に、ネガフィルムFのコード40のベース部41とコー
ド部42との透過光量を、フォトダイオード32の出力
電圧をA/Dコンバータ等によりデータ変換して取り込
む。ネガフィルムFが搬送されて、図4のようにコード
40がセンサ位置に送られてきた時、ネガフィルムFの
コード部42により、光学センサSに当る光量が落ちる
ため、コード部42がセンサ位置にきていることがわか
る。
That is, when a stepping motor is used as the drive motor 8, when the drive motor 8 moves one step, the negative film F is fed by a fixed amount (for example, 0.125 mm).
In the control means C, each time the drive motor 8 is driven by one step, the amount of light transmitted through the base portion 41 and the code portion 42 of the code 40 of the negative film F is converted into data by the output voltage of the photodiode 32 by an A / D converter or the like. And import. When the negative film F is conveyed and the cord 40 is sent to the sensor position as shown in FIG. 4, the cord portion 42 of the negative film F reduces the amount of light hitting the optical sensor S. You can see that you are coming.

【0034】制御手段Cでは、取り込んだデータを記憶
して行く。センサ位置にコード部42が達すると、徐々
に光学センサSに当る光量が減少するため取り込まれる
データの値も減少する。その後、コード部42からベー
ス部41に移動すると、逆にセンサ面に当る光量が増加
するため取り込まれるデータの値も増加する。このよう
にコード部42では低い値の極値を持ち、ベース部41
では高い値の極値を持つ。
The control means C stores the fetched data. When the code portion 42 reaches the sensor position, the amount of light that impinges on the optical sensor S gradually decreases, so that the value of the captured data also decreases. After that, when the code portion 42 is moved to the base portion 41, the amount of light that impinges on the sensor surface is increased, so that the value of the captured data is also increased. Thus, the code part 42 has a low extreme value, and the base part 41
Has a high extremum.

【0035】次に、ネガフィルムFに現像で形成された
コード40を光学センサSで検出し、このコード40の
ベース部41とコード部42から得られる光学センサS
の出力から極大、極小となる極値の求め方について詳細
に説明する。
Next, the code 40 formed by development on the negative film F is detected by the optical sensor S, and the optical sensor S obtained from the base section 41 and the code section 42 of this code 40 is detected.
A detailed description will be given of a method of obtaining an extreme value having a maximum and a minimum from the output of.

【0036】まず、制御手段Cに取り込まれたデータの
極値を検出する。これには、図4にような出力に対して
データD1〜を取り込んだ時に、前に取り込まれたデー
タのうちで最も値が小さいデータDmin と比較を行な
う。コード部42の先頭部分では、Dmin はDmin =D
1(最初に取り込まれたデータ)となる。データD2は
D2<D1なので、Dmin =D2とする。同様のことを
取り込まれたデータに行なうとDmin =D5となり、デ
ータD5移動後はDn<Dn+1となるので、データD
5が極値であることが解る。
First, the extreme value of the data taken into the control means C is detected. For this purpose, when the data D1 to D1 are fetched from the output as shown in FIG. 4, the data Dmin having the smallest value among the previously fetched data is compared. At the beginning of the code section 42, Dmin is Dmin = D
It will be 1 (the first captured data). Since the data D2 is D2 <D1, Dmin = D2. When the same operation is performed on the fetched data, Dmin = D5, and after moving the data D5, Dn <Dn + 1.
It can be seen that 5 is an extreme value.

【0037】このとき、データにはノイズ等が含まれる
ので、図5のような波形になることがある。ここで、D
n<Dm+1が成り立つデータを極値とする。本来デー
タD6がピークであるのに、データD4を極値としてし
まうことがあるため、Dn<Dn+1が成り立ってから
極値点のデータとある一定以上の差(例えばベース電圧
の30%)になるまでデータの比較を続けて、それでも
まだDnが一番小さい時にDnを極値と判定する。コー
ド40はコード部42の次にベース部41がくるので、
次に極大の極値を求める。
At this time, since the data contains noise and the like, the waveform may be as shown in FIG. Where D
Data having n <Dm + 1 is set as an extreme value. Although the data D6 is originally a peak, the data D4 may have an extreme value. Therefore, after Dn <Dn + 1 holds, there is a certain difference or more (eg, 30% of the base voltage) from the extreme value data. The data is continuously compared until then, and when Dn is still the smallest, Dn is determined to be an extreme value. Since the cord 40 has the base portion 41 next to the cord portion 42,
Next, find the maximum extremum.

【0038】極大の極値データが求められると、次には
極大となったデータをDmin の初期値として読み込まれ
たデータの極小の極値を捜す。以上の方法によりピーク
を求めることができる。
When the maximum extremal value data is obtained, the minimum extremal value of the read data is searched for with the maximum valued data as the initial value of Dmin. The peak can be obtained by the above method.

【0039】次に、特定の極値と、その前後の極値に基
づいて、コード40のベース部41とコード部42に応
じたスレッシュホルドを設定し、このスレッシュホルド
によりベース部41とコード部42の検出について説明
する。
Next, a threshold corresponding to the base portion 41 and the cord portion 42 of the cord 40 is set based on the particular extreme value and the extreme values before and after the particular extreme value, and the base portion 41 and the cord portion are set by this threshold. The detection of 42 will be described.

【0040】まず、ベース部41のコードのスレッシュ
ホルドL4を求める例として、図4のH(n)を考え
る。H(n)はベース部41なので極大の極値VHP
(n)を持つ。そして、その前後に極小の極値を2つ持
ち、これをVLP(n)とVLP(n−1)とする。こ
の三点の極値より、コードH(n)のスレッシュホルド
VthH(n)を次式により求める。 ここで、γは定数である(例えばγ=1/2)。
First, consider H (n) of FIG. 4 as an example of obtaining the threshold L4 of the cord of the base portion 41. Since H (n) is the base portion 41, the maximum extreme value VHP
Have (n). Then, it has two minimal extreme values before and after it, which are defined as VLP (n) and VLP (n-1). The threshold VthH (n) of the code H (n) is obtained from the following three extreme values by the following equation. Here, γ is a constant (eg, γ = 1/2).

【0041】VLP(n−1)からVLP(n)間のサ
ンプリングデータのうちスレッシュホルドVthH(n)
以上のデータ値を計数することにより、H(n)が長コ
ードか短コードかを判断することができる。
Of the sampling data between VLP (n-1) and VLP (n), the threshold VthH (n)
By counting the above data values, it is possible to determine whether H (n) is a long code or a short code.

【0042】同様に、コード部42のスレッシュホルド
は、求めるコード部42の極値をVLP(n)及び前後
のベース部42のコードの極値VHP(n)とVHP
(n+1)より と求めることができる。
Similarly, the threshold of the cord section 42 determines the extreme value of the code section 42 to be VLP (n) and the extreme values VHP (n) and VHP of the cords of the front and rear base sections 42.
From (n + 1) Can be asked.

【0043】VHP(n)からVHP(n+1)までの
サンプリングデータのうちVthL(n)以下のデータを
計数することにより、コードが長コードであるか短コー
ドであるかを判定することができる。
By counting the data of VthL (n) or less among the sampling data from VHP (n) to VHP (n + 1), it is possible to determine whether the code is a long code or a short code.

【0044】例えばフレームコードの場合、長コードは
約1,30mm、短コードは0,46mmであり、ネガ
フィルムの送り量が1ステップ0,125mmの場合で
あれば、スレッシュホルド以上(あるいは以下の場合)
のデータ数が6〜10といった場合には長コード、5〜
2個の場合は短コードであると判断できる。
For example, in the case of a frame code, the long code is about 1,30 mm, the short code is 0.46 mm, and if the feed amount of the negative film is 0,125 mm per step, it is above the threshold (or below). If)
If the number of data is 6 to 10, a long code, 5
If the number is two, it can be determined that the code is short.

【0045】このようにして、長コードと長コードには
さまれた短コード部分の出力は、従来の固定スレッシュ
レベル方法では検出が困難であるが、ベース部41と、
コード部42に応じてそれぞれスレッシュホルドを設定
することにより、長コードか短コードかを正確に判定す
ることができる。
In this way, it is difficult to detect the output of the long code and the short code portion sandwiched between the long codes by the conventional fixed threshold level method, but the output of the base section 41,
By setting the threshold according to the code section 42, it is possible to accurately determine whether the code is a long code or a short code.

【0046】[0046]

【発明の効果】前記したように、この発明は、ネガフィ
ルムに現像で形成されたコードを光学センサで検出し、
このコードのベース部とコード部から得られる光学セン
サの出力から極大、極小となる極値を求め、この特定の
極値とその前後の極値に基づいてベース部とコード部に
応じたスレッシュホルドを設定し、このスレッシュホル
ドによりベース部とコード部を検出するから、高精度の
光学センサを用いることなく、コードパターンが変動し
てしまう場合や異なるベース濃度のネガフィルムに対し
てもコードの誤検出が生じることなく、ネガフィルムの
コードを正しく読むことが可能で、コードの検出率を向
上させることができる。
As described above, according to the present invention, the code formed by developing on the negative film is detected by the optical sensor,
From the output of the optical sensor obtained from the base part and the code part of this code, the maximum and minimum extreme values are obtained, and the threshold value corresponding to the base part and the code part is calculated based on this particular extreme value and the extreme values before and after it. Since the threshold and the base are detected by this threshold, the code error may occur even if the code pattern fluctuates or a negative film with a different base density is used without using a high-precision optical sensor. The code on the negative film can be correctly read without detection, and the code detection rate can be improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】ネガフィルム搬送装置の概略図である。FIG. 1 is a schematic view of a negative film transport device.

【図2】ネガフィルムの平面図である。FIG. 2 is a plan view of a negative film.

【図3】光学センサの構成図である。FIG. 3 is a configuration diagram of an optical sensor.

【図4】ネガフィルムのコードと光学センサの出力電圧
を示す図である。
FIG. 4 is a diagram showing a code of a negative film and an output voltage of an optical sensor.

【図5】光学センサの出力の極値を求める図である。FIG. 5 is a diagram for obtaining an extreme value of the output of the optical sensor.

【図6】従来のネガフィルムのコードと光学センサの出
力電圧を示す図である。
FIG. 6 is a diagram showing a code of a conventional negative film and an output voltage of an optical sensor.

【図7】従来のネガフィルムのコードと光学センサの出
力電圧を示す図である。
FIG. 7 is a diagram showing a code of a conventional negative film and an output voltage of an optical sensor.

【符号の説明】[Explanation of symbols]

A フィルム搬送手段 S 光学センサ C 制御手段 F ネガフィルム N1 駒ナンバ N2 フレームコード N3 DXコード K 駒 T 露光位置 30 スリット板 31 LED 32 フォトダイオード 40 コード 41 ベース部 42 コード部 A film transport means S optical sensor C control means F negative film N1 frame number N2 frame code N3 DX code K frame T exposure position 30 slit plate 31 LED 32 photodiode 40 code 41 base part 42 code part

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成4年7月16日[Submission date] July 16, 1992

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図8[Name of item to be corrected] Figure 8

【補正方法】追加[Correction method] Added

【補正内容】[Correction content]

【図8】従来のネガフィルムのコードと光学センサの出
力電圧を示す図である。
FIG. 8 is a diagram showing a code of a conventional negative film and an output voltage of an optical sensor.

Claims (1)

【特許請求の範囲】 【請求項1】 ネガフィルムに現像で形成されたコード
を光学センサで検出し、このコードのベース部とコード
部から得られる光学センサの出力から極大、極小となる
極値を求め、この特定の極値とその前後の極値に基づい
てベース部とコード部に応じたスレッシュホルドを設定
し、このスレッシュホルドによりベース部とコード部を
検出することを特徴とするネガフィルムのコード判定方
法。
Claim: What is claimed is: 1. A code formed by developing on a negative film is detected by an optical sensor, and the maximum and minimum values are obtained from the output of the optical sensor obtained from the base part and the code part of the code. The negative film characterized by setting the threshold according to the base portion and the cord portion based on this particular extreme value and the extreme values before and after the particular extreme value, and detecting the base portion and the cord portion by this threshold. Code determination method.
JP2045991A 1991-01-21 1991-01-21 Negative film code deciding method Pending JPH0519367A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2045991A JPH0519367A (en) 1991-01-21 1991-01-21 Negative film code deciding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2045991A JPH0519367A (en) 1991-01-21 1991-01-21 Negative film code deciding method

Publications (1)

Publication Number Publication Date
JPH0519367A true JPH0519367A (en) 1993-01-29

Family

ID=12027665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2045991A Pending JPH0519367A (en) 1991-01-21 1991-01-21 Negative film code deciding method

Country Status (1)

Country Link
JP (1) JPH0519367A (en)

Similar Documents

Publication Publication Date Title
EP0331048A2 (en) Method and apparatus for reading bar code of photographic film and method of determining the orientation of photographic film
US4987440A (en) Method of and apparatus for positioning image areas of film
EP0339652B1 (en) Method of reading positional information on photographic film
JP2947090B2 (en) Method and apparatus for correcting the transport amount of a negative film
JPS62272242A (en) Photographic printing method
US5268563A (en) Device for reading bar codes on photographic film
JPH0519367A (en) Negative film code deciding method
JP3316544B2 (en) Photocopying apparatus and operation method thereof
JP2563120B2 (en) Bar code reader for photo film
US5665950A (en) Fat bit bar code reader
JP2682760B2 (en) Condition setting / maintenance print
JP2563121B2 (en) Bar code reader for photo film
JP2612445B2 (en) Photo printing method
EP0339645B1 (en) Device for reading bar codes on photographic film
JPH10171029A (en) Film carrying device
JPH04204928A (en) Negative film carrying device
JP2789659B2 (en) Image information retrieval and copying device
JPH01267628A (en) Frame positioning device
WO1991012557A1 (en) Determining web positions
JP2653897B2 (en) Copier
JPH03216065A (en) Original reader
JP2574895B2 (en) Microfilm search device
JPH0666026B2 (en) Negative film mounting abnormality detection method
JPH03297269A (en) Picture processing method
JPH07148969A (en) Image recorder