JPH043654A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH043654A
JPH043654A JP2104823A JP10482390A JPH043654A JP H043654 A JPH043654 A JP H043654A JP 2104823 A JP2104823 A JP 2104823A JP 10482390 A JP10482390 A JP 10482390A JP H043654 A JPH043654 A JP H043654A
Authority
JP
Japan
Prior art keywords
edge
image
coordinates
picture
main scanning
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
JP2104823A
Other languages
Japanese (ja)
Inventor
Tetsuya Takamori
哲弥 高森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP2104823A priority Critical patent/JPH043654A/en
Publication of JPH043654A publication Critical patent/JPH043654A/en
Pending legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Projection-Type Copiers In General (AREA)

Abstract

PURPOSE:To detect the edge of a picture with a high precision without being effected by noise by using coordinates, where the picture remains large, out of coordinates of edges of the picture obtained by scanning of a line sensor on main scanning lines in opposite directions to determine a frame part to be removed. CONSTITUTION:When the picture is read from the left to the right by a line sensor 30, coordinates of the left edge detected for entrance from a black frame to the picture are in the picture and are not accurate if the picture is close to the black frame, but coordinates of the right edge detected for entrance from the picture to the black frame are not affected by the picture at all. When the picture is read from the right to the left, coordinates of the right edge may be in the picture and are not accurate, but the left edge is ac curately detected. Then, coordinates of the right edge are used for rightward main scanning and those of the left edge are used for leftward main scanning to accurately detect two right and left edges. Thus, coordinates where the picture remains large out of coordinates of detected edges are used to accurately discriminate edges of the picture, and a trim ming range is determined with a high precision.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、マイクロフィルムリーグなどに適用され、ラ
インセンサにより読取った画像信号から画像外周の黒枠
部分を除去して画像部分を抽出してプリンタやCRTな
どに出力できるようにした画像処理装置に関するもので
ある。
Detailed Description of the Invention (Industrial Application Field) The present invention is applied to microfilm leagues, etc., and removes the black frame part on the outer periphery of the image from the image signal read by a line sensor, extracts the image part, and prints it to the printer. The present invention relates to an image processing device capable of outputting to a computer, CRT, or the like.

(発明の技術的背景) マイクロフィルムリーグなどにおいて、原稿(画像)を
ラインセンサで読取るものがある。この場合読取るべき
原稿の周囲には背景が含まれている。例えばネガのマイ
クロフィルムでは原稿周囲に黒枠の背景が生じる。この
ためラインセンサで原稿を読取った場合にはこの黒枠部
分がそのまま読取られ、この画像信号により画像をプリ
ントしたりCRT (陰極線管、ブラウン管)に出力す
る際には黒枠がそのまま表れるという不都合があった。
(Technical Background of the Invention) Some microfilm leagues and the like read originals (images) with line sensors. In this case, the background is included around the document to be read. For example, with negative microfilm, a black frame background appears around the document. Therefore, when a line sensor reads a document, this black frame is read as is, and when an image is printed or output to a CRT (cathode ray tube, cathode ray tube) using this image signal, the black frame appears as is, which is an inconvenience. Ta.

またPPC方式のプリンタを用いる場合にはトナーの使
用量が増えるという問題も生しる。
Furthermore, when using a PPC printer, there is a problem in that the amount of toner used increases.

そこでこの黒枠を消す方法が種々提案されている。例え
ば特開昭62−144463号には、主走査ライン毎に
原稿位置データをメモリに記憶し、入力されたシリアル
画像信号中から原稿位置内の信号のみを抽出するように
した画像信号処理装置が提案されている。
Therefore, various methods have been proposed for erasing this black frame. For example, Japanese Patent Application Laid-open No. 144463/1983 discloses an image signal processing device that stores document position data in a memory for each main scanning line and extracts only signals within the document position from input serial image signals. Proposed.

しかしこの装置によれば、マイクロフィルムに付着する
ゴミやマイクロフィルムに付いたキズなどによる雑音の
影響を受は易く、トリミングの縁の線が奇麗にならない
という問題が有る。
However, this device is susceptible to noise caused by dust adhering to the microfilm or scratches on the microfilm, and there is a problem in that the edges of the trimming are not clean.

そこで出願人は、主走査線上でラインセンサの連続する
画素が連続して白または黒を検出したことから画像の縁
を判別し、この縁の座標あるいは画像の四隅の座標を求
めて画像の縁となる4本の直線の方程式を求めることを
提案した。(特開平1−225284号、同1−225
282号)。
Therefore, the applicant determined the edge of the image based on the fact that consecutive pixels of the line sensor continuously detected white or black on the main scanning line, and calculated the coordinates of this edge or the coordinates of the four corners of the image to determine the edge of the image. He proposed to find the equations of four straight lines. (Unexamined Japanese Patent Publication No. 1-225284, 1-225
No. 282).

しかしこの既提案のものでは、画像周囲の黒枠部分に画
像が近接したり画像の一部が重なっている場合には、画
像の縁を正確に判別できないという問題があった。例え
ば走査が黒枠部分から画像領域に入る時に、ラインセン
サ出力は所定数以上白を連続して検出できないからであ
る。
However, this proposed method has a problem in that the edge of the image cannot be accurately determined if the image is close to or partially overlaps the black frame around the image. This is because, for example, when scanning enters the image area from a black frame portion, the line sensor output cannot continuously detect more than a predetermined number of whites.

(発明の目的) 本発明はこのような事情に鑑みなされたものであり、ラ
インセンサの主走査方向の出力が連続して所定数以上白
または黒を示すことから、画像の縁を判別する場合に、
ゴミやキズなどの雑音の影響を受けることなく画像の縁
を高精度に検出でき、画像が枠部分に接近したり重なっ
ていても誤動作するおそれのない画像処理装置を提供す
ることを目的とする。
(Object of the Invention) The present invention has been made in view of the above circumstances, and is applicable to cases in which the edges of an image are determined based on a predetermined number or more of consecutive outputs of the line sensor in the main scanning direction showing white or black. To,
An object of the present invention is to provide an image processing device that can detect the edges of an image with high precision without being affected by noise such as dust or scratches, and is free from malfunction even if the image approaches or overlaps the frame portion. .

(発明の構成) 本発明によればこの目的は、画像をその周囲の枠部分と
共にラインセンサで走査して読取り、このラインセンサ
の連続する所定数以上の画素が白または黒を連続して検
出することがら画像の縁を判別し、この縁の座標を用い
て枠部分を除去するようにした画像処理方法において、
前記ラインセンサは主走査線上を互いに逆向きに走査し
、この両方向の主走査で求めた画像の縁の座標のうち画
像を大きく残す座標を用いて除去する枠部分を決めるこ
とを特徴とする画像処理装置により達成される。
(Structure of the Invention) According to the present invention, this purpose is to scan and read an image together with a surrounding frame portion using a line sensor, and to detect that a predetermined number or more of consecutive pixels of the line sensor continuously detect white or black. In an image processing method, the edge of the image is determined and the frame portion is removed using the coordinates of the edge.
The line sensor scans the main scanning line in opposite directions to each other, and the frame portion to be removed is determined using the coordinates of the edge of the image obtained by the main scanning in both directions, which leave a large portion of the image. This is accomplished by a processing device.

ここにラインセンサによる読出しは、隣接する主走査線
上で交互に逆向きに行ったり(請求項(2+ )  、
複数の主走査線をつづけて同一方向に読出し、次の複数
の主走査線をつづけて逆方向に読出すように、複数本づ
つ同一方向に読出すものが可能である(請求項(3))
。また双方向から読出し可能なうインセンサであれば同
一の主走査線上で両方向から読出せばよく (請求項(
4) ) 、ラインセンサの出力をメモリに一度記憶し
てからこのメモリを両方向から読出すようにしてもよい
(請求項(5)) (作用) まずラインセンサで画像を左がら右に読出す場合を考え
るにの場合、黒枠から画像に入る時に検出した左の縁の
座標は、画像が黒枠に接近していると画像の中に入って
しまい不正確になるが、逆に画像から黒枠に入る時に検
出した右の縁の座標は画像の影響を全く受けない。従っ
て後者の縁の座標は正しい。
Here, reading by the line sensor is performed alternately in opposite directions on adjacent main scanning lines (Claim (2+),
It is possible to read out a plurality of main scanning lines in the same direction one by one, such as reading out a plurality of main scanning lines in succession in the same direction and reading out the next plurality of main scanning lines in the opposite direction (Claim (3) )
. In addition, if the sensor can be read from both directions, it is sufficient to read it from both directions on the same main scanning line.
4)) The output of the line sensor may be stored once in the memory and then read out from this memory from both directions (Claim (5)) (Function) First, the line sensor reads out the image from left to right. Considering the case, the coordinates of the left edge detected when entering the image from the black frame will be inaccurate if the image is close to the black frame because it will enter the image. The coordinates of the right edge detected at the time of entry are not affected by the image at all. Therefore, the coordinates of the latter edge are correct.

またラインセンサで右がら左に読出す場合には逆に右の
縁が画像の中に入り不正確になるのに対し、左の縁は正
確に検出される。
Furthermore, when reading from right to left with a line sensor, the right edge enters the image and becomes inaccurate, whereas the left edge is detected accurately.

そこで右向き主走査時には右の縁の座標を採用し、左向
きの主走査時には左の縁の座標を採用すれば、左右の2
つの縁は正確に検出できることになる。換言すれば、検
出した縁の座標のうち、画像を大きく残す方の座標を用
いることになる。
Therefore, if the coordinates of the right edge are used during rightward main scanning, and the left edge coordinates are used when leftward main scanning, the left and right 2
This means that the two edges can be detected accurately. In other words, among the coordinates of the detected edge, the one that leaves the image larger is used.

(実施例) 第1図は本発明の機能ブロック図、第2図はこれを適用
したマイクロフィルムリーグの全体構成図、第3図はス
クリーン上の主・副走査方向説明図、第4図は白黒判別
手段の原理説明図、第5図は白判別動作の流れ図、第6
図は黒判別動作の流れ図である。
(Example) Fig. 1 is a functional block diagram of the present invention, Fig. 2 is an overall configuration diagram of a microfilm league to which this is applied, Fig. 3 is an illustration of the main and sub-scanning directions on the screen, and Fig. 4 is an illustration of the main and sub-scanning directions on the screen. Figure 5 is a flowchart of the white discrimination operation; Figure 6 is a diagram explaining the principle of black and white discrimination means;
The figure is a flowchart of the black discrimination operation.

まず第2図に基づき全体構成を説明する。この図におい
て符号10は光源であり、この光源10の光はコンデン
サレンズ12、防熱ガラス14、コールドミラー16、
マイクロフィルム18、投影レンズ20、画像反転用プ
リズム22、ミラ24.26を介して透過型スクリーン
28に導かれ、このスクリーン28にマイクロフィルム
18の拡大画像を結像する。
First, the overall configuration will be explained based on FIG. 2. In this figure, reference numeral 10 is a light source, and the light from this light source 10 is transmitted through a condenser lens 12, a heat-insulating glass 14, a cold mirror 16,
The light is guided to a transmission screen 28 via the microfilm 18, a projection lens 20, an image reversing prism 22, and mirrors 24, 26, and an enlarged image of the microfilm 18 is formed on this screen 28.

スクリーン28の背面には、CCDラインセンサ30が
左右に移動可能に配設されている。すなわちこのライン
センサ30はスクリーン28を縦断する方向に長く配置
され、ラインセンサ30はその長さ方向(主走査方向)
に画像を読出して画像信号αを順次時系列信号として出
力することにより主走査を行い、またこのラインセンサ
28をモータ31によって左右方向に移動させることに
より副走査を行う。このラインセンサ30の画像信号α
は入力インターフェース32を介してCPU34に入力
され、ここで種々の処理が行われ、画像信号αが二値化
される。この二値化された画像信号βは出力インターフ
ェース36を介してプリンタ38に出力され、ここで画
像がプリントアウトされ、ハードコピーが得られる。ま
たCPU34が出力する二値化された信号βは光デイス
ク装置40等の外部記憶装置に記録できる。さらにCR
Tなどで画像を表示してもよい。従って必要に応じて光
デイスク装置40から必要な原稿の画像を読出してプリ
ンタ38によりプリントアウトしたりCRTに表示して
もよい。なお42はCPO34の動作プログラム等を記
憶するROM、44はメモリ手段としてのRAMである
A CCD line sensor 30 is disposed on the back side of the screen 28 so as to be movable left and right. That is, this line sensor 30 is arranged long in the direction that traverses the screen 28, and the line sensor 30 is arranged in the longitudinal direction (main scanning direction).
Main scanning is performed by reading out an image and sequentially outputting an image signal α as a time-series signal, and sub-scanning is performed by moving this line sensor 28 in the left-right direction by a motor 31. Image signal α of this line sensor 30
is input to the CPU 34 via the input interface 32, where various processing is performed and the image signal α is binarized. This binarized image signal β is outputted to the printer 38 via the output interface 36, where the image is printed out and a hard copy is obtained. Further, the binary signal β outputted by the CPU 34 can be recorded in an external storage device such as an optical disk device 40. Further CR
The image may be displayed using T or the like. Therefore, the image of the required document may be read out from the optical disk device 40 and printed out by the printer 38 or displayed on a CRT, if necessary. Note that 42 is a ROM that stores operating programs for the CPO 34, and 44 is a RAM that serves as a memory means.

CPU34はまずラインセンサ30による一回目の走査
において、隣接する主走査ライン毎にその走査方向が逆
になるように走査して一主走査ライン毎に原稿の縁の座
標を求める。この縁の検出はROM42に予め動作プロ
グラムとして記憶されたCPU34の縁判別手段Aによ
り行われる(第1図)。
First, during the first scan by the line sensor 30, the CPU 34 scans each adjacent main scanning line in such a way that the scanning direction is reversed to obtain the coordinates of the edge of the document for each main scanning line. Detection of this edge is performed by the edge determining means A of the CPU 34, which is stored in advance as an operating program in the ROM 42 (FIG. 1).

縁判別手段Aは画像信号αとしきい値を比較して画素の
白黒を判別する白黒判別手段Alと、白・黒の画素数を
カウントする減算カウンタA2、A3とを備える。これ
らのカウンタA2、A3はそれぞれ黒・白の画素検出に
より設定数N。にリセットされ、0になると縁であると
判別する。この縁の座標はクロックA4のクロックを積
算する座標カウンタA5により求められる。すなわち第
3図のように主走査方向にχ軸、副走査方向にy軸をと
るものとして、ある主走査ライン上の座標χの信号α(
χ)が一定路iii!ρ以上白または黒を示した場合に
は縁であると判断する。ここに距離!は、ラインセンサ
30上でN。個の画素に対応するもである。
The edge determining means A includes a black and white determining means Al that compares the image signal α with a threshold value to determine whether a pixel is black or white, and subtraction counters A2 and A3 that count the number of white and black pixels. These counters A2 and A3 each have a set number N based on black and white pixel detection. is reset to 0, and when it becomes 0, it is determined that it is an edge. The coordinates of this edge are determined by a coordinate counter A5 that integrates the clock A4. That is, as shown in Fig. 3, assuming that the χ axis is in the main scanning direction and the y axis is in the sub-scanning direction, the signal α(
χ) is a constant path iii! If it shows white or black for more than ρ, it is determined that it is an edge. Distance here! is N on the line sensor 30. This corresponds to each pixel.

第5図は主走査中に信号αが黒から白に変わる座標Xを
求める動作流れ図で、第4区のx8点を求めるものであ
る。まずスクリーン28の下縁のχ=0の位置から上方
へ主走査を開始しくステップ100A)、次の位置χ=
1の画素による信号α(1)が白でなければ(ステップ
102A。
FIG. 5 is an operation flowchart for determining the coordinate X at which the signal α changes from black to white during main scanning, and is for determining the x8 point in the fourth section. First, start the main scanning upward from the position χ=0 of the lower edge of the screen 28 (step 100A), and then move to the next position χ=0.
If the signal α(1) due to pixel 1 is not white (step 102A).

104A)、N=N、にリセットする(ステップ106
A)。α(χ)が白ならNか61を減算しくステップ1
08A)、白がN。画素続けば(ステップ110A)、
この画素のN。画素前から原稿が有ると判断し、χ−N
、/2を縁の座標Xとして採用する(ステップ112A
)。この座標の演算は第1図の座標演算手段B1で行わ
れる。
104A), reset N=N (step 106
A). If α(χ) is white, subtract N or 61. Step 1
08A), white is N. If the pixels continue (step 110A),
N of this pixel. It is determined that there is a document from before the pixel, and χ-N
, /2 is adopted as the edge coordinate X (step 112A
). This coordinate calculation is performed by the coordinate calculation means B1 shown in FIG.

第6図は信号αが白から黒に変わる座標Xを求める流れ
図で、第4図のXゎ点を求めるものである。すなわち主
走査ラインでχが次第に増加しくステップ12OA)、
信号σ(χ)が黒でなければ(ステップ122A)N=
Noに戻しくステップ124A)、黒であればN=1を
減算しくステップ126A)、黒が一定距離℃に対応す
る回数N。続けば(ステップ128A)そのN。
FIG. 6 is a flowchart for determining the coordinate X at which the signal α changes from white to black, and is used to determine the point X in FIG. That is, χ gradually increases in the main scanning line (step 12OA),
If the signal σ(χ) is not black (step 122A), N=
Step 124A) returns to No, and if it is black, subtracts N=1 Step 126A), the number of times N that black corresponds to a certain distance ℃. If it continues (step 128A), its N.

画素前から原稿は無いと判断し、x−(3/2)Noを
白から黒になる縁の座標Xとして採用する。この演算は
第1図の座標演算手段B2て行われる。
It is determined that there is no document from before the pixel, and x-(3/2) No. is used as the coordinate X of the edge that changes from white to black. This calculation is performed by the coordinate calculation means B2 in FIG.

以上のように画像の縁を検出する動作は、ラインセンサ
の画像読取り方向を隣り合う主走査ラインごとに交互に
変化させながら行われ、各主走査ライン毎に原稿の縁の
座標を求め、これをメモリ手段C1、C2としてのRA
M44に記憶する。
As described above, the operation of detecting the edge of the image is performed while alternating the image reading direction of the line sensor for each adjacent main scanning line, and calculates the coordinates of the edge of the document for each main scanning line. RA as memory means C1, C2
Store in M44.

このように原稿の縁をメモリしながらかつラインセンサ
30の読取り方向を交互に変えなからy方向に移動させ
て副走査を行う。CPU34はこのように求めた隣り合
う主走査ラインに対する画像の縁の座標から画像を大き
く残す座標を判別して縁座槽メモリ手段りに記憶する。
In this way, sub-scanning is performed while memorizing the edge of the document and moving the line sensor 30 in the y direction without alternating the reading direction. The CPU 34 determines the coordinates at which the image will remain large from the coordinates of the edges of the image with respect to the adjacent main scanning lines obtained in this manner, and stores the coordinates in the edge storage storage means.

通常は黒枠内の黒が連続するから、白から黒に変化する
縁を示す座標であ′るメモリC2の内容がメモリ手段り
に記憶される。
Normally, the black within the black frame is continuous, so the contents of the memory C2, which are the coordinates indicating the edge that changes from white to black, are stored in the memory means.

CPU34は次に例えば最小自乗法により原稿の各辺の
直線の方程式を求める。すなわち、成る直線X=aY+
bと縁との距離△Xを求め、このΔXの自乗の和が最小
になるように係数a、bを決定するものである。この動
作は第1図に直線演算手段Eで示されている。この手段
Eは、CPU34の動作プログラムとしてROM42に
記憶させておくことができる。
Next, the CPU 34 determines the equation of a straight line on each side of the document, for example, by the method of least squares. In other words, the straight line X=aY+
The distance ΔX between b and the edge is determined, and the coefficients a and b are determined so that the sum of the squares of this ΔX is minimized. This operation is shown by the linear calculation means E in FIG. This means E can be stored in the ROM 42 as an operating program for the CPU 34.

なお直線方程式は最小自乗法に代えて他の近似法例えば
チエビシエフ近似法など公知の近似法を用いて求めても
よいのは勿論である。
It goes without saying that the linear equation may be determined using other approximation methods, such as a known approximation method such as the Tiebishiev approximation method, instead of the least squares method.

CPU34はこの直線演算手段Eで求めた直線の方程式
を用いてトリミング範囲を求める(第1図、トリミング
範囲演算手段F)。このように求めた4片の直線方程式
はRAM44からなるメモノ手段Gに記憶される。
The CPU 34 calculates the trimming range using the linear equation obtained by the linear calculation means E (FIG. 1, trimming range calculation means F). The four pieces of straight line equations obtained in this way are stored in memorandum means G consisting of RAM 44.

CPU34は次の走査ではこの範囲内の画像信号αを抽
出してこれを所定の信号レベル、例えば原稿の下地部分
と略同じ明度の信号あるいは白に変更する(第1図、ト
リミング手段H)。このように修正された画像信号αは
、CPU34内で二値化処理されてプリンタ38等のプ
リント手段Iに出力されプリントされる。
In the next scan, the CPU 34 extracts the image signal α within this range and changes it to a predetermined signal level, for example, a signal with approximately the same brightness as the background portion of the document, or to white (FIG. 1, trimming means H). The image signal α corrected in this manner is binarized within the CPU 34 and outputted to the printing means I such as the printer 38 and printed.

以上の実施例では、除去する枠部分を決定するのに画像
の縁の直線方程式を求めているが、本発明はこれに限ら
れるものではなく、隣接する主走査線に対して画像を大
きく残す方の座標を記憶しておき、これを用いて各主走
査時の画像信号のうち黒枠部分のマスキングを行うよう
にすることもできる。
In the above embodiment, the linear equation of the edge of the image is determined to determine the frame portion to be removed, but the present invention is not limited to this, and the image is left large relative to the adjacent main scanning line. It is also possible to store the coordinates of one side and use these to mask the black frame portion of the image signal during each main scan.

また画像の縁は、この実施例では連続する黒または白の
長さβの中間、すなわち座標χに対してf2/2、また
は2!/3の加算または減算を行うように設定している
が、黒または白が連続し始める座標(χ−氾)を縁の座
標としてもよい。
In this embodiment, the edge of the image is located at the midpoint of the length β of continuous black or white, that is, f2/2 or 2! with respect to the coordinate χ. Although it is set to perform addition or subtraction of /3, the coordinates where black or white starts to appear consecutively (χ-flood) may be used as the coordinates of the edge.

以上の実施例はマイクロフィルムリーグに適用したもの
であるが、本発明はPPC複写機などの画像処理装置に
も適用でき、これらを包含する。
Although the embodiments described above are applied to microfilm leagues, the present invention can also be applied to and includes image processing apparatuses such as PPC copying machines.

以上の実施例ではうインセンサ30は隣り合う主走査線
ごとに読取り方向を逆にしているが、第7図に走査方向
を破線の矢印で示すように、複数の主走査線ごとに読取
り方向を変更するものであってもよい。また第8図に示
すように双方向に読取り可能なラインセンサまたは読取
り方向が逆になるように2本のラインセンサを組込んだ
組立体30Aを用い、同一主走査線上で両方向に読取る
ものであってもよい。
In the above embodiment, the crawl sensor 30 reverses the reading direction for each adjacent main scanning line, but as shown in FIG. It may be changed. Further, as shown in FIG. 8, a line sensor that can read in both directions or an assembly 30A incorporating two line sensors so that the reading directions are reversed is used to read in both directions on the same main scanning line. There may be.

さらにラインセンサ30の出力を双方向から読出し可能
なメモリ30Bに記憶し、このメモリ30Bを両方向か
ら読出すようにしてもよい。
Furthermore, the output of the line sensor 30 may be stored in a bidirectionally readable memory 30B, and this memory 30B may be read from both directions.

(発明の効果) 本発明は以上のように、主走査線上を両方向に走査して
、白または黒の画素数が設定数以上連続したことから画
像の縁を求め、求めた縁の座標のうち画像を大きく残す
座標を用いて除去する枠部分、すなわちトリミング範囲
を決めるものである。従って画像が枠部分に接近または
重なって画像の縁を枠部分よりも画像の中に決めるおそ
れがなくなり、高精度なトリミング範囲の決定が可能に
なる。
(Effects of the Invention) As described above, the present invention scans the main scanning line in both directions, determines the edge of the image when the number of consecutive white or black pixels exceeds a set number, and calculates the edge of the image from the coordinates of the determined edge. The frame portion to be removed, that is, the trimming range, is determined using the coordinates that leave the image large. Accordingly, there is no possibility that the image approaches or overlaps the frame portion and the edge of the image is set within the image rather than the frame portion, making it possible to determine the trimming range with high precision.

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

え 第1図は本発明の機能ブロック図、第十図はこれを適用
したマイクロフィルムリーグの全体構成図、第3図はス
クリーン上の主副走査方向説明図、第4図は白黒判別手
段の原理説明図、第5図は白判別動作の流れ図、第6図
は黒判別動作の流れ図である。寮/7〜9の1;イeΦ
ψ6色イタ1杢む号恥τ只もA・・・縁判別手段、 E・・・トリミング範囲演算手段、 G・・・メモリ手段、 H・・・トリミング手段、 α・・・画像信号、 30.30A・・・ラインセンサ、 30B・・・メモリ。。 特許出願人 富士写真フィルム株式会社代 理 人 弁
理士 山 1)文 雄 代 理 人 弁理士 山 1)洋 前 筒 ? 図 第3 .28 第4 第 図 第 す 図 第7 図 第8図 第9 図
Fig. 1 is a functional block diagram of the present invention, Fig. 10 is an overall configuration diagram of a microfilm league to which this is applied, Fig. 3 is an explanatory diagram of the main and sub-scanning directions on the screen, and Fig. 4 is an illustration of the black and white discrimination means. FIG. 5 is a flowchart of the white discrimination operation, and FIG. 6 is a flowchart of the black discrimination operation. Dormitory/7-9 1; eeΦ
ψ 6 colors ita 1 heather τ tadamo A... Edge discrimination means, E... Trimming range calculation means, G... Memory means, H... Trimming means, α... Image signal, 30 .30A...Line sensor, 30B...Memory. . Patent Applicant Fuji Photo Film Co., Ltd. Agent Patent Attorney Yama 1) Yuyo Bun Yuyo Patent Attorney Yama 1) Hiroshi Maetsutsu? Figure 3. 28 Figure 4 Figure 7 Figure 8 Figure 9

Claims (5)

【特許請求の範囲】[Claims] (1)画像をその周囲の枠部分と共にラインセンサで走
査して読取り、このラインセンサの連続する所定数以上
の画素が白または黒を連続して検出することから画像の
縁を判別し、この縁の座標を用いて枠部分を除去するよ
うにした画像処理装置において、 前記ラインセンサは主走査線上を互いに逆向きに走査し
、この両方向の主走査で求めた画像の縁の座標のうち画
像を大きく残す座標を用いて除去する枠部分を決めるこ
とを特徴とする画像処理装置。
(1) The image is scanned and read along with the surrounding frame portion by a line sensor, and the edge of the image is determined by detecting a predetermined number or more of continuous pixels of this line sensor as white or black. In an image processing device that removes a frame portion using the coordinates of the edge, the line sensor scans the main scanning line in opposite directions, and the line sensor scans the edge of the image among the coordinates of the edge of the image obtained by main scanning in both directions. An image processing device characterized in that a frame portion to be removed is determined using coordinates that leave a large amount of .
(2)ラインセンサは副走査方向に隣接する主走査線上
で、互いに逆向きに走査する請求項(1)の画像処理装
置。
(2) The image processing apparatus according to claim 1, wherein the line sensors scan in opposite directions on main scanning lines adjacent to each other in the sub-scanning direction.
(3)ラインセンサは副走査方向に連続する複数本の主
走査線上で同一方向に、次の複数本の主走査線上で逆方
向に走査する請求項(1)の画像処理装置。
(3) The image processing apparatus according to claim 1, wherein the line sensor scans in the same direction on a plurality of main scanning lines that are continuous in the sub-scanning direction, and scans in the opposite direction on the next plurality of main scanning lines.
(4)ラインセンサは両方向から読出し可能とされ、同
一主走査線上で両方向から画像を読出して画像の縁を判
別する請求項(1)の画像処理装置。
(4) The image processing apparatus according to claim (1), wherein the line sensor is capable of reading from both directions, and reads images from both directions on the same main scanning line to determine the edge of the image.
(5)ラインセンサの出力を記憶するメモリを備え、こ
のメモリを両方向から読出して画像の縁を判別する請求
項(1)の画像処理装置。
(5) The image processing apparatus according to claim (1), further comprising a memory for storing the output of the line sensor, and reading the memory from both directions to determine the edge of the image.
JP2104823A 1990-04-20 1990-04-20 Picture processor Pending JPH043654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2104823A JPH043654A (en) 1990-04-20 1990-04-20 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2104823A JPH043654A (en) 1990-04-20 1990-04-20 Picture processor

Publications (1)

Publication Number Publication Date
JPH043654A true JPH043654A (en) 1992-01-08

Family

ID=14391120

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2104823A Pending JPH043654A (en) 1990-04-20 1990-04-20 Picture processor

Country Status (1)

Country Link
JP (1) JPH043654A (en)

Similar Documents

Publication Publication Date Title
US10764461B2 (en) Image reading apparatus with determination of original size, and image forming apparatus, reading method, and image forming system therewith
JP3250691B2 (en) Image tilt detection method for micro film reader
JPH043654A (en) Picture processor
JPH043655A (en) Picture processor
JP2912371B2 (en) Image processing device
JP2576878B2 (en) Image processing device
JPH043656A (en) Picture processor
US6661932B2 (en) Image input apparatus
JP2621690B2 (en) Printing defect inspection equipment
JP3332170B2 (en) Method and apparatus for detecting black frame of micro film reader
JP3312787B2 (en) Image processing system
JP3906524B2 (en) Image reading device
JP3249231B2 (en) Method and apparatus for masking a microfilm reader
JPH06233112A (en) Black frame detecting method for microfilm reader
JP3264547B2 (en) Micro film reader and image reading method thereof
JPH04331563A (en) Image reader
JPH0772549A (en) Image tilt detecting method of microfilm reader
JP4106648B2 (en) Image frame positioning device for photographic film
JPH01311761A (en) Picture position detecting method for picture processing unit
JPH06253125A (en) Method and device for detecting black frame of micro film reader
JPH06233113A (en) Method and device for detecting black frame for microfilm reader
JP2001285606A (en) Image processing apparatus and image processing method
JPH10229486A (en) Image reader
JPH08181858A (en) Picture processor
JP2019071523A (en) Image reading apparatus and image reading method