JP2011120084A - Image processor and image forming apparatus equipped with the same - Google Patents
Image processor and image forming apparatus equipped with the same Download PDFInfo
- Publication number
- JP2011120084A JP2011120084A JP2009276692A JP2009276692A JP2011120084A JP 2011120084 A JP2011120084 A JP 2011120084A JP 2009276692 A JP2009276692 A JP 2009276692A JP 2009276692 A JP2009276692 A JP 2009276692A JP 2011120084 A JP2011120084 A JP 2011120084A
- Authority
- JP
- Japan
- Prior art keywords
- image
- image data
- image processing
- unnecessary
- area
- 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
Images
Landscapes
- Editing Of Facsimile Originals (AREA)
Abstract
Description
本発明は、原稿を読み取って得られた画像データに画像処理を施す画像処理装置に関する。又、この画像処理装置を備えた画像形成装置に関する。 The present invention relates to an image processing apparatus that performs image processing on image data obtained by reading a document. The present invention also relates to an image forming apparatus provided with the image processing apparatus.
近年、環境意識の高まりもあり、様々な分野で、省資源のための機能が付加された製品が提供されつつある。例えば、原稿に光を照射し、原稿の反射光に基づき画像データを生成し、印刷する画像形成装置では、不要なベタ画像を取り除くことや用紙の消費量を抑えることが試みられている。 In recent years, environmental awareness has increased, and products with resource saving functions are being provided in various fields. For example, in an image forming apparatus that irradiates a document with light, generates image data based on the reflected light of the document, and prints, attempts have been made to remove unnecessary solid images and reduce paper consumption.
このような、省資源を実現しようとする画像形成装置の一例が特許文献1に記載されている。具体的に、特許文献1には、原稿を読み取る読取手段と、読み取ったデータを記憶する記憶手段と、記憶したデータを処理するための処理手段と、処理したデータを転写紙上に像形成する像形成手段とを備え、かつ、原稿の画像データを記憶手段に格納すると共に、原稿画像データの黒ベタ部分をカットし削除した分、画像データを削除したスペース方向に画像情報をシフトする編集処理を実行し、該編集済みデータを出力する画像編集装置を備えた画像形成装置が示されている。これにより、トナーや転写紙の使用量を減らそうとする(特許文献1:請求項1、段落[0006]等参照)。
An example of such an image forming apparatus that achieves resource saving is described in
書籍等の製本された原稿(以下、「ブック原稿」という。)を読み取って得られた画像データには、ブック原稿であるが故の不要な部分(不要な画像)が含まれる。例えば、原稿台(コンタクトガラス)にブック原稿をおくと、見開きページの中央部(背表紙部分)は原稿台から浮く(密接できない)場合がある。原稿台から浮くと、画像データ中、見開きページの中央部に、縦方向のベタ状の画像が現れる。又、画像データの見開きページの左右両端部分では、見開きページの大きさが読み取り範囲より狭いことによる黒ベタ状の画像が現れることがある。又、ブック原稿の各ページの端縁部分(ブック原稿の側面部分)が読み取られた結果、縞模様状の画像が現れることがある。黒ベタ状の画像や縞模様状の画像は、不要であるため黒ベタ画像を白に置き換える画像処理が行われることがある。 Image data obtained by reading a book such as a book (hereinafter referred to as “book document”) includes an unnecessary portion (unnecessary image) because it is a book document. For example, when a book document is placed on a document table (contact glass), the center portion (back cover portion) of the spread page may float (cannot be in close contact) with the document table. When floating from the platen, a vertical solid image appears at the center of the spread page in the image data. Also, a black solid image due to the size of the spread page being narrower than the reading range may appear at the left and right ends of the spread page of the image data. Further, as a result of reading the edge portion of each page of the book document (side surface part of the book document), a striped image may appear. Since a black solid image or a striped pattern image is unnecessary, image processing for replacing the black solid image with white may be performed.
一般に、不要な画像を白に置き換える画像処理として、画像データの端縁から一定幅の枠内の画素を白に置き換える枠消し処理や、画像データの中央で一定幅の画素を白に置き換える中抜き処理などがある。しかし、ブック原稿の読み取りを行う場合、原稿は理想的な位置に載置されず、画像読取部の走査方向に対し、斜めに傾いた状態でブック原稿の読み取りが行われる場合がある。そうすると、傾いて載置されたブック原稿の不要な部分の一部が、枠消しや中抜きを行う領域からはみ出してしまう場合がある。従って、画一的な枠消し処理や中抜き処理では、不要画像を除き切れない場合があるという問題がある。 In general, as image processing for replacing unnecessary images with white, frame removal processing for replacing pixels in a frame with a certain width from the edge of the image data with white, or hollowing for replacing pixels with a certain width with white at the center of the image data There is processing. However, when reading a book document, the document may not be placed at an ideal position, and the book document may be read in an inclined state with respect to the scanning direction of the image reading unit. In this case, a part of an unnecessary part of the book document placed at an angle may protrude from the area where the frame is erased or removed. Accordingly, there is a problem that the unneeded images may not be completely removed in the uniform frame removal processing and the hollowing out processing.
そこで、確実に不要画像を除去するため、特許文献1に記載されるように、黒ベタ画像等の検知を画像データの全画素に対して行い、不要と認定した領域の画素を白に置き換える画像処理を行うことがある。しかし、画像データの高解像度化が進展しつつあり、黒ベタ画像等の検知や除去処理完了までの処理時間を短縮しようとすれば、画像処理速度を上げる必要がある。画像処理速度を上げるには、高速なメモリ、処理回路等が必要となる。又、画像データの全画素を対象として、不要画像を消すための画像処理を行うので、大容量のメモリ搭載が必要となる。従って、画像処理装置や画像形成装置の製造に要するコストが高くなるという問題がある。
Therefore, in order to reliably remove unnecessary images, as described in
尚、特許文献1記載の画像形成装置では、確かに、原稿の内側等が黒い帯状とならない画像を得られる場合がある。しかし、特許文献1の画像処理装置では、画像データ内に配される文字や画像の輪郭を検出する。そして、輪郭につき、線図形かエリア図形か、エリアが黒ベタ画像であるのか否かの判断を行う(特許文献1:段落[0036]〜[0042]参照)。従って、処理時間を所望する時間内に収めるには、高コストで高速な処理回路や、大容量のメモリが必要となる場合があり、装置の製造に要するコストが高くなるという問題に対応できない。
Note that the image forming apparatus described in
本発明は、上記従来技術の問題点に鑑み、画像処理装置の製造コスト低減を図りつつ、不要な画像を画像データから確実に取り除き、不要な画像の印刷を防ぎ、省資源を図ることを課題とする。 The present invention has been made in view of the above-described problems of the prior art, and while reducing the manufacturing cost of an image processing apparatus, it is an object to reliably remove unnecessary images from image data, prevent unnecessary image printing, and save resources. And
上記目的を達成するために、請求項1に係る画像処理装置は、光を照射して原稿を読み取って画像データを生成する画像読取部と、前記画像データに対し画像処理を施す画像処理部を有し、前記画像処理部は、前記画像データの見開きページの左右方向における中央位置の中央ラインを中心とした第1所定幅の第1領域のうちで、見開きページの左右方向にのびる少なくとも2本のラインについて、各ライン内で最も濃い画素を定め、最も濃い画素を接続して形成した線に基づきページ境界ラインを定め、前記ページ境界ラインを中心として第2所定幅の第2領域内の画素を白色に置き換えることとした。
In order to achieve the above object, an image processing apparatus according to
ブック原稿の背表紙部分の浮き上がりに起因する画像データ中の不要領域(見開きページの中央部分)のうち、ページとページの境界が画像読取部の読取面からみて最も離れた位置となるので、不要領域中、ページとページの境界に最も濃い画素が存在すると考えられる。そこで、この構成によれば、第1領域のうちで、見開きページの左右方向にのびる少なくとも2本のライン中の最も濃い画素を接続した接続線に基づきページ境界ラインを定め(例えば、接続線を一直線状に画像データの端部まで伸ばす)、ページ境界ラインを中心として第2領域内の画素を白色に置き換える。これにより、画像読取部の走査方向に対するブック原稿の画像データの中央部分の不要領域の傾きに対応して、不要領域は、白色の画素に置き換えられる。従って、不要領域の傾きを問わず、確実に不要領域が画像データから除去される。又、不要領域が、第1領域からはみ出していても、確実に不要領域が画像データから除去される。 Unnecessary area in the image data due to the lift of the back cover part of the book manuscript (the center part of the spread page), because the page-to-page boundary is farthest from the reading surface of the image reader. In the region, it is considered that the darkest pixel exists at the boundary between pages. Therefore, according to this configuration, the page boundary line is defined based on the connection line connecting the darkest pixels in at least two lines extending in the left-right direction of the spread page in the first area (for example, the connection line is The pixels in the second area are replaced with white with the page boundary line as the center. Thus, the unnecessary area is replaced with a white pixel corresponding to the inclination of the unnecessary area in the central portion of the image data of the book document with respect to the scanning direction of the image reading unit. Therefore, the unnecessary area is surely removed from the image data regardless of the inclination of the unnecessary area. Even if the unnecessary area protrudes from the first area, the unnecessary area is surely removed from the image data.
又、不要領域認識のための画像処理が画像データの全画素に対して行われず、第1領域、第2領域の範囲に留められる。これにより、画像データの全画素に対して画像処理を行う場合に比べ、処理すべきデータ量を減らすことができ、画像処理時間が短くなる。又、画像処理部の画像処理速度を上げる必要がなく、メモリの搭載量を増やさずにすむ。従って、画像処理装置の製造に要するコストの低減を図ることができる。 In addition, image processing for recognizing unnecessary areas is not performed on all pixels of the image data, but is limited to the first area and the second area. As a result, the amount of data to be processed can be reduced and the image processing time can be shortened compared to the case where image processing is performed on all the pixels of the image data. Further, it is not necessary to increase the image processing speed of the image processing unit, and it is not necessary to increase the amount of memory. Therefore, the cost required for manufacturing the image processing apparatus can be reduced.
尚、第1所定幅と第2所定幅は、任意に設定できるが、例えば、A3サイズの原稿の画像データの場合、デフォルトの値として、それぞれ10〜20mm、より好ましくは15mm程度に設定しておくことができる。又、第1所定幅と第2所定幅は、画像データのサイズに合わせて変更しても良い。 The first predetermined width and the second predetermined width can be arbitrarily set. For example, in the case of image data of an A3 size document, the default value is set to 10 to 20 mm, more preferably about 15 mm, respectively. I can leave. The first predetermined width and the second predetermined width may be changed according to the size of the image data.
又、請求項2に係る発明は、請求項1の発明において、前記画像処理部は、前記第1領域のうち、見開きページの上半分の前記第1領域と下半分の前記第1領域のそれぞれの領域で、見開きページの左右方向にのびるラインについて、各ライン内で最も濃い画素を定め、最も濃い画素を接続した接続線に基づき前記ページ境界ラインを定めることとした。 According to a second aspect of the present invention, in the first aspect of the present invention, the image processing unit is configured such that the first area in the upper half of the spread page and the first area in the lower half of the first area. In this area, for the line extending in the horizontal direction of the spread page, the darkest pixel is determined in each line, and the page boundary line is determined based on the connection line connecting the darkest pixels.
この構成によれば、画像処理部は、第1領域のうち、見開きページの内、上半分の第1領域と下半分の第1領域のそれぞれの領域で検知された最も濃い画素を接続した接続線に基づき、例えば、接続線を一直線状に画像データの端部まで伸ばして、ページ境界ラインを定める。これにより、位置的に離れた点と点が結ばれ、ページ境界ラインを実際のページの境界の傾きに近づけることができる。 According to this configuration, the image processing unit connects the darkest pixels detected in each of the first area in the upper half and the first area in the lower half of the spread pages in the first area. Based on the line, for example, the connection line is extended to the end of the image data in a straight line to define the page boundary line. As a result, points separated from each other are connected, and the page boundary line can be brought closer to the inclination of the actual page boundary.
又、請求項3に係る発明は、請求項1又は2の発明において、前記画像処理部は、前記画像データの見開きページの左右方向における一方の端部から前記画像データの内側に向けての第3所定幅の第3領域内と、他方の端部から前記画像データの内側に向けての第4所定幅の第4領域内の各領域で、見開きページの左右方向にのびるライン内で、所定画素値を超える画素の内、最も見開きページの中央側に位置する画素を境界画素と定め、前記境界画素を通るように、又は、前記境界画素よりも見開きページの中央側に、前記ページ境界ラインと同じ傾きで不要領域境界ラインを定め、前記画像データの見開きページの左右方向における端部から前記不要領域境界ラインまでの領域を不要領域と定め、前記不要領域の画素を白色に置き換えることとした。 According to a third aspect of the present invention, in the first or second aspect of the present invention, the image processing unit is configured such that the image data from the one end in the left-right direction of the spread page of the image data toward the inside of the image data. 3 within a third area having a predetermined width and within each line within the fourth area having a fourth predetermined width from the other end toward the inside of the image data, within a line extending in the horizontal direction of the spread page. Among the pixels exceeding the pixel value, the pixel located closest to the center side of the spread page is defined as a boundary pixel, and the page boundary line passes through the boundary pixel or on the center side of the spread page from the boundary pixel. Unnecessary region boundary lines are defined with the same inclination as the region, the region from the edge in the horizontal direction of the spread page of the image data to the unnecessary region boundary line is defined as an unnecessary region, and the pixels of the unnecessary region are replaced with white It was and.
ブック原稿を開いて読み取ると、ブック原稿の側面部分(各ページの端縁部分)が読み取られるが、この部分も、見開きページ中央部分のベタ状画像と同様に、何ら情報を伝達しない不要領域である。そこで、この構成によれば、境界画素を定め、境界画素を通るようにページ境界ラインと同じ傾きで不要領域境界ラインを定めて、不要領域の画素を白色に置き換える。これにより、画像読取部の走査方向に対する不要領域の傾きに対応して、不要領域は、白色の画素に置き換えられる。従って、見開きページの左右方向における不要領域の傾きを問わず、確実に不要領域が画像データから除去される。 When the book document is opened and scanned, the side part of the book document (edge part of each page) is scanned, but this part is also an unnecessary area that does not transmit any information, like the solid image at the center of the spread page. is there. Therefore, according to this configuration, a boundary pixel is determined, an unnecessary region boundary line is determined at the same inclination as the page boundary line so as to pass through the boundary pixel, and pixels in the unnecessary region are replaced with white. Thus, the unnecessary area is replaced with a white pixel in accordance with the inclination of the unnecessary area with respect to the scanning direction of the image reading unit. Therefore, the unnecessary area is surely removed from the image data regardless of the inclination of the unnecessary area in the horizontal direction of the spread page.
又、請求項4に係る発明は、請求項1又は2の発明において、前記画像処理部は、前記画像データの見開きページの左右方向における一方の端部から前記画像データの内側に向けての第3所定幅の第3領域内と、他方の端部から前記画像データの内側に向けての第4所定幅の第4領域内の各領域で、見開きページの左右方向にのびる少なくとも2本のライン内で、所定画素値を超える画素の内、最も見開きページの中央側に位置する画素を不要領域認定用画素と定め、前記不要領域認定用画素を接続して生成した接続線に基づき各領域での不要領域境界ラインを定め、前記画像データの見開きページの左右方向における端部から前記不要領域境界ラインまでの領域を不要領域と定め、前記不要領域の画素を白色に置き換えることとした。 According to a fourth aspect of the present invention, in the first or second aspect of the present invention, the image processing unit is a first unit that faces the inner side of the image data from one end in the horizontal direction of the spread page of the image data. 3 At least two lines extending in the left-right direction of the spread page in each of the third region having a predetermined width and each region in the fourth region having the fourth predetermined width from the other end toward the inside of the image data. Among the pixels exceeding the predetermined pixel value, the pixel located closest to the center of the spread page is defined as an unnecessary region recognition pixel, and each region is based on a connection line generated by connecting the unnecessary region recognition pixels. The unnecessary area boundary line is defined, the area from the edge in the left-right direction of the spread page of the image data to the unnecessary area boundary line is defined as an unnecessary area, and the pixels of the unnecessary area are replaced with white.
この構成でも、第3領域内と、第4領域内の各領域で、例えば、接続線を一直線状に画像データの端部まで伸ばして不要領域境界ラインが定められ不要領域の画素が白色に置き換えられる。これにより、画像読取部の走査方向に対する不要領域の傾きに対応して、不要領域は、白色の画素に置き換えられる。又、不要領域が第3領域や第4領域からはみ出していても、確実に不要領域が画像データから除去される。 Even in this configuration, in each of the regions in the third region and the fourth region, for example, the connection line is extended to the end of the image data in a straight line so that an unnecessary region boundary line is defined and pixels in the unnecessary region are replaced with white. It is done. Thus, the unnecessary area is replaced with a white pixel in accordance with the inclination of the unnecessary area with respect to the scanning direction of the image reading unit. Even if the unnecessary area protrudes from the third area or the fourth area, the unnecessary area is surely removed from the image data.
又、請求項3と請求項4の発明について、不要領域認識の画像処理が画像データの全画素に対して行われず、第3領域、第4領域の範囲に留められる。これにより、画像データの全画素に対して画像処理を行う場合に比べ、処理すべきデータ量を減らすことができ、画像処理時間が短くなる。又、画像処理部の画像処理速度を上げる必要がなく、メモリの搭載量を増やさずにすむ。従って、画像処理装置の製造に要するコストの低減を図ることができる。尚、第3所定幅と第4所定幅は、任意に設定でき、例えば、A3サイズの画像データの場合、デフォルトの値として、それぞれ15〜25mm、より好ましくは20mm程度に設定しておくことができる。
In the inventions of
又、請求項5に係る発明は、請求項1乃至4の発明において、前記第1所定幅、前記第2所定幅、前記第3所定幅、前記第4所定幅の全て又はいずれかを設定するための入力部を有することとした。 According to a fifth aspect of the present invention, in the first to fourth aspects of the invention, all or one of the first predetermined width, the second predetermined width, the third predetermined width, and the fourth predetermined width is set. It was decided to have an input part.
例えば、100頁程度の雑誌と数千頁に及ぶ辞書との差のように、ブック原稿の見開きページの大きさ、ブック原稿のページ数、ブック原稿の厚さ等により、不要領域の幅が異なる。しかし、この構成によれば、入力部で各所定幅の入力が可能であるので、ブック原稿の種類を問わず、適切に不要領域を除去することができる。 For example, like the difference between a magazine of about 100 pages and a dictionary of several thousand pages, the width of the unnecessary area varies depending on the size of the spread pages of the book manuscript, the number of pages of the book manuscript, the thickness of the book manuscript, etc. . However, according to this configuration, since it is possible to input each predetermined width at the input unit, it is possible to appropriately remove unnecessary areas regardless of the type of book document.
又、請求項6に係る画像形成装置は、請求項3乃至5の発明において、前記所定画素値を設定するための入力部を有することとした。 According to a sixth aspect of the present invention, there is provided the image forming apparatus according to any of the third to fifth aspects, further comprising an input unit for setting the predetermined pixel value.
設定された所定画素値の値によって、不要領域か否かを正確に判断できないこともあり得る。しかし、この構成によれば、入力部により所定画素値の値を設定することができ、所定画素値の値を変えることで、正確に不要領域か否かを判断することができる。 Depending on the value of the predetermined pixel value that has been set, it may be impossible to accurately determine whether or not the region is an unnecessary region. However, according to this configuration, the value of the predetermined pixel value can be set by the input unit, and it can be accurately determined whether or not it is an unnecessary area by changing the value of the predetermined pixel value.
又、請求項7に係る画像形成装置は、請求項1乃至6のいずれか1項に記載の画像処理装置を有することとした。 An image forming apparatus according to a seventh aspect includes the image processing apparatus according to any one of the first to sixth aspects.
この構成によれば、適切、確実に不要領域が取り除かれたブック原稿の画像データに基づき印刷を行えるので、トナー等、無駄な現像剤の消費のない画像形成装置を提供することができる。又、不要領域の除去が適切に行われておらず、やり直しのため、使用者は再度、ブック原稿の読み取りや印刷を行わなくて済むので、用紙や作業時間の無駄も無くなる。又、画像形成装置(例えば、複合機)に搭載される画像処理装置に要する製造コストも抑えることができる。 According to this configuration, printing can be performed based on image data of a book document from which unnecessary areas have been appropriately and reliably removed, so that an image forming apparatus that does not consume wasteful developer such as toner can be provided. In addition, unnecessary areas are not properly removed, and the user does not have to read or print the book document again for re-execution, so paper and work time are not wasted. In addition, the manufacturing cost required for the image processing apparatus mounted on the image forming apparatus (for example, a multifunction peripheral) can be reduced.
本発明によれば、上述したように、画像処理装置の製造コスト増大を避けつつ、ブック原稿が斜めに傾いて読み取られても、不要な領域(画像)は、確実に取り除かれる。 According to the present invention, as described above, an unnecessary area (image) is reliably removed even when a book document is read obliquely while avoiding an increase in manufacturing cost of the image processing apparatus.
以下、本発明の第1の実施形態を図1〜図10を用いて説明する。但し、本実施形態に記載される構成、配置等の各要素は発明の範囲を限定するものではなく単なる説明例にすぎない。 Hereinafter, a first embodiment of the present invention will be described with reference to FIGS. However, each element such as configuration and arrangement described in this embodiment does not limit the scope of the invention and is merely an illustrative example.
(画像形成装置の概略)
まず、図1を用いて、本発明の第1の実施形態に係る画像処理装置100を含む電子写真方式の複写機200(画像形成装置に相当)を説明する。図1は、本発明の第1の実施形態に係る複写機200の一例を示す正面から見た模型的断面図である。尚、画像形成装置は、複写機200のほか、複合機、プリンタ、FAX装置等でもよい、
(Outline of image forming apparatus)
First, an electrophotographic copying machine 200 (corresponding to an image forming apparatus) including the
図1に破線で示すように、複写機200の正面側には操作パネル1(入力部に相当)が設けられる。操作パネル1は、タッチパネル式であり、複写機200の設定用のキーを表示し、使用者の入力を受け付ける液晶表示部10を有する。又、液晶表示部10は、ジャムや用紙切れ等のエラー等の複写機200の状態を表示できる。又、操作パネル1には、コピー部数等の数字入力を行うためのテンキー部11や、コピー実行を指示するためのスタートキー12等が配される。そして、操作パネル1では、読み取りを行う原稿のサイズ(A3、B4等)の設定等、読み取りに関する設定を行うこともできる。
As indicated by a broken line in FIG. 1, an operation panel 1 (corresponding to an input unit) is provided on the front side of the copying
又、本実施形態の複写機200、画像処理装置100では、ブック原稿の画像データから不要な領域を除去する画像処理(不要領域除去処理)を行うことができる。そこで、操作パネル1では複写機200、画像処理装置100のモードを、不要領域除去処理を行う除去モード(ブック原稿読取モード)とする入力を行うことができる。又、操作パネル1では、ブック原稿の読み取りにおける見開きページの方向(見開きページの左右方向等)を設定することができる。除去モードで、画像処理装置100、複写機200は、不要領域除去処理を行い、複写機200は不要領域除去処理後の画像データに基づき印刷する。
Further, the copying
又、本実施形態の複写機200は、上方に画像読取部2が配される。画像読取部2は、原稿に光を照射して原稿を読み取って画像データを生成する。画像読取部2の上方には原稿搬送装置3が配される。原稿搬送装置3は、画像読取部2の搬送読取用コンタクトガラス21に向けて原稿を搬送する。
Further, in the copying
尚、複写機200内部には、画像データに対し画像処理を施す画像処理部9が設けられ(図3参照)、画像処理装置100は、主として、画像読取部2、画像処理部9、操作パネル1等で構成される(画像処理部9の詳細は後述)。言い換えると、本発明に係る画像処理装置100は、複写機200に含まれる(複写機200は、画像処理装置100を有する)。尚、操作パネル1は、複写機200の入力部としても機能する。
The copying
次に、複写機200内部の構成、動作を説明する。複写機200は内部に、給紙部4、搬送路5、画像形成部6、定着部7等を備え、画像読取部2の下方位置に排紙空間が設けられる。そこで、これらの構成を用紙の搬送経路に沿って説明する。尚、図1に複写機200内での用紙の搬送経路を実線矢印で図示する。
Next, the internal configuration and operation of the copying
まず、給紙部4は、複写機200の最下部に設けられ、例えば、コピー用紙、OHP用紙、ラベル用紙等の各種、各サイズ(A4、B5等)の用紙を収容する。そして、給紙ローラ41は、最上位の用紙に当接し、給紙の際、所定の方向(図1では時計方向)に回転駆動して、用紙を1枚ずつ搬送路5に送り出す。
First, the
搬送路5は、本実施形態では、複写機200内で用紙を搬送し、給紙部4から画像形成部6を経て、排出トレイ51まで用紙を搬送する通路である。例えば、搬送路5に沿って、駆動機構(不図示)により回転駆動する搬送ローラ対52や、形成されたトナー像に合わせて用紙を送り出すレジストローラ対53や、用紙排出のための排出ローラ対54等が設けられる。
In the present embodiment, the
画像形成部6は、図1において、複写機200内の中央左方の位置に配され、画像処理装置100が読み取った原稿の画像データ等に基づき、トナー像を形成し、用紙に転写を行う。そして、画像形成部6は、像担持体としての感光体ドラム61、帯電装置62、露光装置63、現像装置64、転写ローラ65、清掃装置66等で構成される。感光体ドラム61は、画像形成部6の略中央に配され、駆動装置(不図示)によって所定の方向(図1では時計方向)に回転駆動し、外周面に感光層を有する。帯電装置62は、図1の感光体ドラム61の右斜め上方に対向して配され、所定の電位で感光体ドラム61の周面を帯電させる。尚、コロナ放電式のものの他、帯電ローラ、ブラシ等を用いても良い。
In FIG. 1, the
露光装置63は、図1で、感光体ドラム61の右側方に配され、帯電後の感光体ドラム61の周面に、形成すべき画像の画像データに基づき光(例えば、レーザ光)を照射し、周面を走査・露光し、画像データに対応した静電潜像を形成する。現像装置64は、図1において感光体ドラム61の下方に設けられ、収容するトナーを所定の電位に帯電させ、そのトナーを静電潜像に供給し、静電潜像をトナー像として現像する。
The
転写ローラ65は、図1において、感光体ドラム61の左斜め下方に回転可能に支持され、感光体ドラム61上に形成されたトナー像を用紙に転写する。そのため、転写ローラ65は、感光体ドラム61に当接しニップを形成する。このニップに用紙が進入し、転写ローラ65にトナーの帯電極性と逆極性の電圧が印加され、トナー像の用紙への転写がなされる。清掃装置66は、図1において、感光体ドラム61の上方に配され、感光体ドラム61の周面上の残トナーや塵芥等を除去、回収する。
In FIG. 1, the
定着部7は、本実施形態では、加熱ローラ71、加圧ローラ72等を有し、用紙に転写されたトナー像を加圧・加熱し用紙に固着させる。加熱ローラ71は内部に発熱体が内蔵され、加圧ローラ72と加熱ローラ71は、互いに圧接してニップを形成する。このニップにトナー像が転写された用紙が進入し、トナーの定着が行われる。定着完了後の用紙は、排出ローラ対54により、排出トレイ51に排出される。
In the present embodiment, the fixing
(原稿搬送装置3と画像読取部2の構成)
次に、図2を用いて、本発明の第1の実施形態に係る原稿搬送装置3と画像読取部2の構成の一例を説明する。図2は、本発明の第1の実施形態に係る原稿搬送装置3と画像読取部2の正面拡大模型的断面図である。
(Configuration of
Next, an example of the configuration of the
原稿搬送装置3は、読み取りを行う原稿を1枚ずつ、自動的に連続して読み取り位置(後述の搬送読取用コンタクトガラス21)に搬送する。又、原稿搬送装置3は、図2の紙面奥側を支点として画像読取部2に上下方向に開閉自在に取り付けられ、画像読取部2の各コンタクトガラスを上方から押さえるカバーとして機能する(図5参照)。
The
原稿トレイ31から送り出された原稿は、複数の原稿搬送ローラ対32やガイドに導かれ、画像読取部2上面に設けられた搬送読取用コンタクトガラス21の上面を通過する。この通過の際、画像読取部2が読取を行う。そして、読取が完了した原稿は、原稿搬送装置3から排出される(原稿搬送経路を2点鎖線で図示)。
The document sent out from the
次に、本実施形態における画像読取部2を説明する。図1や図2に示すように、画像読取部2は、箱形の筐体を有する。そして、画像読取部2の上面で左側に、透明板状の搬送読取用コンタクトガラス21が配される。そして、画像読取部2の上面で右側に、透明板状の載置読取用コンタクトガラス22が配される。載置読取用コンタクトガラス22は画像読取部2の上面に設けられ、書籍等のブック原稿を1枚ずつ読み取る場合、原稿搬送装置3を持ち上げ、読取面を下向きに原稿が載置される。
Next, the
又、図2に示すように、画像読取部2の筐体内に、第1移動枠231、第2移動枠232、ワイヤ24W、巻取ドラム24D、レンズ25と、原稿に光を照射するランプ260と、原稿に照射された光が入射され、1ライン毎に原稿を読み取り、画像データを生成するためのイメージセンサ27等が配される。イメージセンサ27は、例えば、ライン状に光電変換素子を並べたCCD(Charge Coupled Device)で構成され、原稿の反射光を元に1ライン毎に原稿を読み取る。
As shown in FIG. 2, a first moving frame 231, a second moving
そして、第1移動枠231は、上方に光を照射するランプ260を、下方に第1ミラー261を支持する。尚、ランプ260、各ミラーは、図2の紙面垂直方向に延びる形状である。第2移動枠232は、上方に第2ミラー262を、下方で第3ミラー263を支持する。又、第1移動枠231は第2移動枠232の上方に配される。又、この第1移動枠231及び第2移動枠232には1又は複数本のワイヤ24Wが取り付けられる(図2では、便宜上1本のみ図示)。ワイヤ24Wの他端は巻取ドラム24Dに接続され、巻取モータ24M(図4参照)を駆動源として、巻取ドラム24Dが正逆回転し、第1移動枠231と第2移動枠232が水平方向に自在に移動する。
The first moving frame 231 supports a
ここで、具体的な原稿読取動作の一例を説明しておく。まず、原稿搬送装置3で搬送される原稿を読み取る場合、巻取モータ24Mの駆動後、搬送読取用コンタクトガラス21の下方位置(読み取り位置)に、第1移動枠231と第2移動枠232が固定され、通過する原稿に対し、ランプ260が光を照射する。
Here, an example of a specific document reading operation will be described. First, when a document conveyed by the
ランプ260から発せられた光は、搬送読取用コンタクトガラス21上の原稿に当たり、反射光は、第1ミラー261〜第3ミラー263を経て、レンズ25に導かれる。レンズ25は反射光を集光し、イメージセンサ27に入射する、イメージセンサ27は反射光を画像濃度に応じたアナログの電気信号に変換する。この原稿の主走査方向(原稿搬送方向と垂直な方向)にライン単位で読取を行い、ライン単位の読取を副走査方向(原稿搬送方向)に連続して繰り返し行って、1枚の原稿が読み取られる。
The light emitted from the
一方、載置読取用コンタクトガラス22上に載置された原稿を読み取る場合、第1移動枠231及び第2移動枠232を巻取ドラム24Dやワイヤ24W等により、ホームポジションから図2の右方向に水平に移動させ、走査動作を、順次原稿端部まで連続的に行うことで、原稿全体が読み取られ、原稿画像が電気信号に変換される。
On the other hand, when reading a document placed on the placement reading
(複写機200のハードウェア構成)
次に、図3に基づき本発明の第1の実施形態に係る複写機200のハードウェア構成の一例を説明する。図3は、本発明の第1の実施形態に係る複写機200の構成の一例を示すブロック図である。
(Hardware configuration of copying machine 200)
Next, an example of the hardware configuration of the copying
まず、複写機200の制御基板上の本体制御部8は、例えば、中央演算処理装置として、CPU81が設けられる。本体制御部8には、RAM(Random Access Memory)やROM(Read Only Memory)やHDD(Hard disk drive)やフラッシュROM等の不揮発性と揮発性のメモリからなる記憶部82が接続される。尚、本体制御部8は、全体制御や画像処理を行うメイン制御部と、画像形成や各種回転体を回転させるモータ等のON/OFF等を制御するエンジン制御部等、機能ごとに分割して複数種設けられてもよい。
First, the main
記憶部82は、複写機200を制御するためのプログラム、データ等が記憶される。又、記憶部82には、画像読取部2の読み取りにより得られた画像データを記憶させておくこともできる。本体制御部8は、記憶部82のプログラムやデータを利用して、各部を制御し、印刷を行わせる。
The
そして、本体制御部8には、給紙部4、搬送路5、画像形成部6、定着部7、操作パネル1と接続され、本体制御部8は、用紙搬送やトナー像形成等、各部の動作制御を行う。又、操作パネル1での設定やコピー実行指示は、本体制御部8に伝達される。又、本体制御部8は、画像処理装置100とも接続され、コピー実行時等、画像読取部2や画像処理部9で構成される画像処理装置100に対して動作指示を与える(詳細は後述、図3では破線で図示)。従って、本体制御部8は、画像処理装置100の制御部とも言える。
The main
画像データの流れ(白抜矢印で図示)に関しては、画像読取部2で生成された画像データは、画像処理部9に送り込まれる。尚、画像読取部2から本体制御部8を経由して画像処理部9に画像データが引き渡されても良い。そして、例えば、画像処理部9は、各種画像処理を施し(詳細は後述)、画像データを画像形成部6に送信する。画像形成部6は、画像処理後の画像データに基づき、トナー像を形成し、印刷が行われる(コピー)。
Regarding the flow of image data (illustrated by white arrows), the image data generated by the
(画像処理装置100のハードウェア構成)
次に、図4に基づき、本発明の第1の実施形態に係る画像処理装置100のハードウェア構成の一例を説明する。図4は、本発明の第1の実施形態に係る画像処理装置100の構成の一例を示すブロック図である。
(Hardware configuration of image processing apparatus 100)
Next, an example of the hardware configuration of the
上述したように、本実施形態の画像処理装置100は、例えば、画像読取部2と画像処理部9を含む。そして、画像読取部2には、画像読取部2の制御を行う読取制御部20が設けられる。図4に示すように、本体制御部8と接続される読取制御部20は、CPU201が設けられ、記憶装置として、ROM202、RAM203が設けられる。ROM202は、画像読取部2の制御に必要なプログラム、データを記憶する不揮発性メモリである。RAM203は、画像読取部2の制御を行う際のプログラムやデータ等が展開される揮発性のメモリである。
As described above, the
そして、例えば、操作パネル1のスタートキー12が押下され、本体制御部8から読取実行指示が与えられた場合等、本体制御部8の指示を受け、読取制御部20は画像処理装置100の動作制御や、読取で得られた画像データの画像処理部9や本体制御部8へのデータ送信制御を行う。そして、読取制御部20には、以下のような各構成が接続される。例えば、画像読取部2のランプ260を実際に発光させるインバータ204や、巻取ドラム24Dを駆動するための巻取モータ24Mや、イメージセンサ27等が接続される。そして、読取を行う時、読取制御部20は、インバータ204を駆動させ、ランプ260を点灯させ、巻取ドラム24Dで各移動枠を移動させ、イメージセンサ27を駆動させる。
For example, when the
更に、画像読取部2には、イメージセンサ27で得られた各画素のアナログの電気信号の転送を受け、ディジタル信号に変換し量子化を行うA/D変換部28aや、A/D変換後の画像データにシェーディング補正やγ補正等の各種補正を行う補正部28bや、補正後の画像データを蓄積するための画像メモリ29が搭載される。そして、補正後の画像データは、画像メモリ29に格納され、画像メモリ29内の画像データは、例えば、画像処理部9に送信される。尚、画像読取部2は、例えば、各画素の値が8ビット256階調(0〜255)であり、0を白、255を黒とする画像データを画像処理部9に送信する。
Further, the
画像処理部9は、画像処理専用回路としてのASIC91(Application Specific Integrated Circuit)や画像データの作業領域としての画像メモリ92を備える。本実施形態の画像処理部9は、ASIC91や画像メモリ92等を組み合わせて構成される回路である。尚、本体制御部8のCPU81や記憶部82に画像処理プログラムを格納し、画像処理部9は、ソフトウェア的、機能的に実現されてもよい。
The
又、画像処理部9内には、除去モードでブック原稿を読み取って得られた画像データのうち、不要領域を判断する不要領域判断部93や、不要領域の画素を白色に変換する白色変換処理を行う白色変換部94が設けられる。又、画像処理部9内には、露光装置63での露光に用いることができるように画像データの形式を変換する出力処理部95等が設けられる。尚、不要領域判断部93、白色変換部94、出力処理部95は、回路(ハードウェア)として設けられても良いし、ASIC91、画像メモリ92、プログラム等によって機能的に実現されても良い。
The
尚、画像処理部9は、拡大縮小処理、白色変換処理、空間フィルタ処理等、各種画像処理を行うことができる。しかし、実行可能な画像処理は多岐にわたるので、以下の説明では、本発明に関する画像処理を説明し、その他の画像処理については、画像処理部9は、公知の画像処理を行えるものとして、詳細な説明は割愛する。
The
(ブック原稿とブック原稿の読み取り)
次に、図5及び図6に基づき、本発明の第1の実施形態に係る複写機200でのブック原稿の読み取りを説明する。図5(a)は、ブック原稿の一例を示す図であり、(b)は、載置読取用コンタクトガラス22にブック原稿を載置した状態の一例を示す斜視図である。図6は、本発明の第1の実施形態に係るブック原稿を読み取って得られた画像データの一例を示す説明図である。尚、図6では、ブック原稿の見開きページの見開きページの左右方向を画像読取部2の副走査方向にあわせ読み取りした場合の画像データの一例を示している。
(Scanning book manuscripts and book manuscripts)
Next, reading of a book document by the copying
又、図6において、画像データの左側の最端部のラインを開始ラインXsとおく。開始ラインXsは画像読取部2の副走査方向(見開きページの左右方向)における読み取り開始位置であって、画像データの開始位置である。又、画像データの右側のラインを終了ラインXeとおく。終了ラインXeは副走査方向における画像読取部2の読み取り終了位置であって、画像データの終了位置である。尚、画像データのサイズは、操作パネル1への読み取りを行う原稿のサイズの入力等に従い定まる(主走査方向、副走査方向の画素数が定まる)。そして、見開きページの左右方向における開始ラインXsと終了ラインXeの間の中央の縦方向のラインを中央ラインXcとおく。言い換えると、中央ラインXcは、画像データの副走査方向(見開きページの左右方向)での中央に位置する画素列である。
In FIG. 6, the leftmost line on the left side of the image data is set as the start line Xs. The start line Xs is a reading start position of the
使用者は、例えば、資料として、図5(a)に示すような、辞書や雑誌などの製本原稿(ブック原稿)をコピーする場合がある。そして、ブック原稿をコピーする場合、ブック原稿を開く。そして、図5(a)に示すように、ブック原稿を見開いた状態とする。そして、見開いた状態で、ブック原稿を図5(b)に示すように、載置読取用コンタクトガラス22に載せる。
For example, the user may copy a bookbinding document (book document) such as a dictionary or a magazine as shown in FIG. When copying a book document, the book document is opened. Then, as shown in FIG. 5A, the book document is opened. Then, in a state where the book is spread, the book document is placed on the placement reading
ブック原稿の読み取りでは、ブック原稿の中央部分(図5(b)では領域Fcとして図示、背表紙部分)が浮く。言い換えると、ブック原稿の見開きページにおけるページとページの境界を中心とした縦方向の領域Fcは、載置読取用コンタクトガラス22と密接しない。本実施形態の画像読取部2は、原稿に光を照射し、その反射光を受光するところ、領域Fc部分は、浮いているので、密接している部分よりもイメージセンサ27に導かれる光が弱くなる。そして、載置読取用コンタクトガラス22の表面と、原稿との距離が離れるほど、暗く(濃く)読み取られる。従って、見開きページでのページとページの境界が最も濃く読み取られる。その結果、図6に示すように、ブック原稿の背表紙が浮くので、ブック原稿が読み取られると、帯状のベタ画像が画像データの中央部分に現れる。
When the book document is read, the central portion of the book document (shown as the area Fc in FIG. 5B) is lifted. In other words, the vertical region Fc centering on the page-to-page boundary in the facing page of the book document is not in close contact with the placement reading
一方で、各ページの大きさは同じであるところ、ブック原稿の背表紙は浮くので、載置読取用コンタクトガラス22上の見開きページの範囲(広さ)は、通常の用紙の読み取り範囲より狭くなる。例えば、片面A4サイズ(1ページあたりの大きさがA4)のブック原稿を開けると、理想的には、A3サイズとなる。しかし、背表紙が浮いているため、見開きページの左右方向が短くなる。そのため、A3サイズでの読み取りを行った場合、見開きページの左端部の読み取り開始位置の領域(図5(b)では領域Fs図示)と、見開きページの右端部の読み取り終了位置の領域(図5(b)では領域Feとして図示)では、不要画像が読み取られる。
On the other hand, since the size of each page is the same, the back cover of the book document floats, so that the range (width) of the spread pages on the placement reading
具体的に、領域Fsと領域Feでは、ブック原稿の側面やカバー部分が読み取られる。更に、ブック原稿の見開きページの左右方向の最も端には、ブック原稿のカバー部分や黒ベタ画像が現れることもある。例えば、分厚いブック原稿(例えば、辞書)の場合、原稿の見開きページの左右方向の端と載置読取用コンタクトガラス22表面の距離が、読取可能な高さを超えると、その部分は、黒ベタの画像となる。その結果、図6に示すように、画像データには、ブック原稿の側面の読み取りによる画像(各ページの端縁の読み取りによる見開きページの縦方向に伸びる縦縞模様の画像)や黒ベタ状の画像が現れる。
Specifically, in the region Fs and the region Fe, the side surface and cover portion of the book document are read. Further, a cover portion of the book document or a black solid image may appear at the extreme left and right ends of the spread pages of the book document. For example, in the case of a thick book document (for example, a dictionary), if the distance between the left and right edges of the spread page of the document and the surface of the placement reading
尚、図6は、ブック原稿のうち、真ん中のページを見開いたのではなく、真ん中よりも前半のページを開いて読み取りを行った場合の例である。そのため、この画像データにおけるページとページの境目の位置のページ境界ラインXc’は、XcよりもXs側に寄っている。又、真ん中よりも前半のページを開いて読み取りを行ったので、開始ラインXsから画像データの見開きページの左右方向内側には、ブック原稿の側面を読み取った画像データが存在する。一方で、終了ラインXeから画像データの見開きページの左右方向内側には、黒ベタ画像やブック原稿のカバーの読み取りで得られた画像と、ブック原稿の側面を読み取った画像データが存在する。 FIG. 6 shows an example in which the middle page of the book document is not opened, but the first half of the page is opened for reading. For this reason, the page boundary line Xc ′ at the boundary between the page and the page in this image data is closer to the Xs side than Xc. Since the first half of the middle page is opened for reading, image data obtained by reading the side of the book document exists on the inner side in the horizontal direction of the spread page of image data from the start line Xs. On the other hand, on the inner side in the horizontal direction of the spread page of image data from the end line Xe, there are an image obtained by reading a black solid image or a book original cover, and image data obtained by reading the side of the book original.
(ブック原稿の傾き)
次に、図7に基づき、走査方向に対し、ブック原稿が傾けられて載置された場合を説明する。図7は、本発明の第1の実施形態に係るブック原稿を傾けて載置して読み取って得られた画像データの一例を示す説明図である。
(Tilt of book manuscript)
Next, based on FIG. 7, a case where the book document is placed with being inclined with respect to the scanning direction will be described. FIG. 7 is an explanatory diagram illustrating an example of image data obtained by reading and placing a book document according to the first embodiment of the present invention.
図6は、ブック原稿の端縁を走査方向(主走査方向及び副走査方向)にあわせて、ブック原稿を載置読取用コンタクトガラス22に載置した際に得られる画像データの一例を示している。しかし、ブック原稿の場合、表紙及び背表紙が見開きページよりも広い(大きい)場合や、ブック原稿が分厚い場合等、載置読取用コンタクトガラス22にブック原稿を載置している状態を視認しにくい場合がある。又、ブック原稿の載置読取用コンタクトガラス22への載置状態をほとんど確認しない使用者もいる。
FIG. 6 shows an example of image data obtained when the book document is placed on the placement reading
このような場合、使用者は、画像読取部2の走査方向に対し、ブック原稿の見開きページの縦方向と横方向がずれた状態で読み取りを行ってしまう場合がある。言い換えると、ブック原稿が傾いている状態で読み取りが行われる場合がある。
In such a case, the user may perform reading in a state where the vertical direction and the horizontal direction of the spread page of the book document are deviated from the scanning direction of the
そうすると、図7に示すように、不要領域も主走査方向及び副走査方向に対し傾く。そのため、単に、見開きページの縦方向に一定幅で、画素を白色に変換しても、不要領域が除去されないまま残ってしまう場合がある。従って、この不要領域の傾きを考慮して不要領域の画素の白色への変換を行う必要がある。 Then, as shown in FIG. 7, the unnecessary area is also inclined with respect to the main scanning direction and the sub-scanning direction. For this reason, even if the pixels are simply converted into white with a certain width in the vertical direction of the spread page, unnecessary regions may remain without being removed. Therefore, it is necessary to convert the pixels in the unnecessary area to white in consideration of the inclination of the unnecessary area.
(不要領域の判定と白色変換)
次に、図7、図8を用いて、本発明の第1の実施形態に係る複写機200での不要領域の白色変換制御の一例を説明する。図8は、本発明の第1の実施形態に係る複写機200での画像データにおける不要領域の有無を判断する領域の一例を示す説明図である。
(Unnecessary area determination and white conversion)
Next, an example of white conversion control for unnecessary areas in the copying
[中央部分]
まず、見開きページの中央部分での処理を説明する。ブック原稿で開かれたページの位置によって、画像データでのページとページの境目の位置は変わる。そこで、画像処理部9(不要領域判断部93)は、画像データのうち、見開きページの左右方向(副走査方向)における中央ラインXcを中心として、第1所定幅Aの領域(第1領域F1、図8において縦線網掛にて図示)を定める。
[Center part]
First, processing in the center portion of the spread page will be described. The position of the page-to-page boundary in the image data changes depending on the position of the page opened in the book document. Therefore, the image processing unit 9 (unnecessary region determining unit 93) includes, in the image data, a region having a first predetermined width A (first region F1) centering on the center line Xc in the left-right direction (sub-scanning direction) of the spread page. , In FIG.
次に、画像処理部9は、第1領域F1のうち、見開きページの左右方向に伸びるページ境界検出用ラインL1(少なくとも2本)のうち、最も濃い画素値を有する画素を探す。これは、単に、第1領域F1内のページ境界検出用ラインL1内の各画素の画素値を比較すれば探し当てられる。例えば、ブック原稿を読み取ったとき第1領域F1で最も濃い画素の画素値は、256階調(0〜255)で0を白、255を黒とするならば、250程度となる。尚、ページ境界検出用ラインL1に最も濃い画素値を有する画素が複数存在する場合、いずれかの画素を用いてページ境界ラインXc’を定めても良い。又、最も濃い画素値を有する画素のうち、中間に位置する画素を用いてページ境界ラインXc’と定めても良い。
Next, the
尚、2本のページ境界検出用ラインL1の見開きページの縦方向(主走査方向)における位置は任意に定めることができる。例えば、画像データ中見開きページにおいて最上位置のラインと、最下位置のラインをページ境界検出用ラインL1としても良い。 The position of the two page boundary detection lines L1 in the vertical direction (main scanning direction) of the spread page can be arbitrarily determined. For example, the uppermost line and the lowermost line in the spread page in the image data may be used as the page boundary detection line L1.
ページとページの境界は、画像読取部2の読取面(載置読取用コンタクトガラス22)からみて最も離れた位置となる。そのため、不要領域中、ページとページの境界が最も濃い画素となるはずである。言い換えると、最も濃い画素値の位置は、ページとページの境界の位置である。 The page-to-page boundary is the farthest position when viewed from the reading surface of the image reading unit 2 (the placement reading contact glass 22). Therefore, the pixel between the pages in the unnecessary area should be the darkest pixel. In other words, the position of the darkest pixel value is the position of the boundary between pages.
そして、画像処理部9(不要領域判断部93)は、2つ検出された最も濃い画素を接続し、その接続線を画像データの端に到達するまで延ばして、ページ境界ラインXc’を定める。このページ境界ラインXc’は、見開きページの縦方向に対し、傾きを持つ。そして、ページ境界ラインXc’を中心として第2所定幅Bの領域(第2領域F2)の各画素の画素値を全て白色(画素値「0」)に変換する。これにより、ブック原稿を傾けて読み取っても、不要領域の一部は残らず、確実に除去される。 Then, the image processing unit 9 (unnecessary region determination unit 93) connects the two detected darkest pixels, extends the connection line until reaching the end of the image data, and defines the page boundary line Xc '. The page boundary line Xc ′ has an inclination with respect to the vertical direction of the spread page. Then, all the pixel values of the pixels in the second predetermined width B area (second area F2) around the page boundary line Xc 'are converted to white (pixel value "0"). As a result, even if the book document is tilted and read, a part of the unnecessary area does not remain and is reliably removed.
[左右両端部分]
次に、見開きページの左右両端部での処理を説明する。画像処理部9(不要領域判断部93)は、見開きページの左右方向(短辺側)の開始ラインXsから第3所定幅Cの第3領域F3(図8において斜線網掛にて図示)と、見開きページの左右方向(短辺側)の終了ラインXeから第4所定幅Dの第4領域F4(図8において斜線網掛にて図示)で不要領域の有無を判断する。
[Left and right ends]
Next, processing at the left and right ends of the spread page will be described. The image processing unit 9 (unnecessary region determination unit 93) includes a third region F3 (shown by hatching in FIG. 8) having a third predetermined width C from the start line Xs in the left-right direction (short side) of the facing page. The presence / absence of an unnecessary area is determined in a fourth area F4 (shown by hatching in FIG. 8) having a fourth predetermined width D from the end line Xe in the horizontal direction (short side) of the spread page.
もし、ブック原稿の側面が読み取られると、各ページの端縁が読み取られる。従って、例えば、図6で拡大して示すように、側面が読み取られていた場合、第3領域F3と第4領域F4の見開きページの左右方向(副走査方向)のラインL2をみると、1又は複数連続した濃い画素(例えば、黒)と、1又は複数連続した薄い画素(例えば、白)の繰り返しが含まれる。 If the side of the book document is read, the edge of each page is read. Therefore, for example, as shown in an enlarged view in FIG. 6, when the side surface is read, the line L2 in the left-right direction (sub-scanning direction) of the spread pages of the third region F3 and the fourth region F4 is 1 Alternatively, a repetition of a plurality of continuous dark pixels (for example, black) and one or a plurality of continuous thin pixels (for example, white) is included.
そこで、画像処理部9(不要領域判断部93)は、第3領域F3と第4領域F4(図8参照)で、見開きページの左右方向にのびるラインL2(少なくとも1本)に着目する。尚、このラインL2の見開きページの縦方向における位置は、適宜定めて良く、見開きページの縦方向の最も上方のラインL2に着目しても良い。尚、図7では、画像データの見開きページの縦方向で上から1/4程度のラインL2に着目した例を示している。 Therefore, the image processing unit 9 (unnecessary region determination unit 93) pays attention to the line L2 (at least one) extending in the left-right direction of the spread page in the third region F3 and the fourth region F4 (see FIG. 8). The position of the line L2 in the vertical direction of the spread page may be determined as appropriate, and attention may be paid to the uppermost line L2 in the vertical direction of the spread page. FIG. 7 shows an example in which attention is paid to a line L2 of about ¼ from the top in the vertical direction of the spread page of the image data.
そして、画像処理部9(不要領域判断部93)は、各ラインL2に所定画素値を越え、かつ、最も見開きページの中央側に存在する画素を境界画素Eと定める。尚、所定画素値は任意に設定できるが、濃い、薄いの関係を判断するためのものであるので、全階調幅の中間値よりも濃い値とする。例えば、8ビット256階調であり、白を0、黒を255とすると、128以上とすることができる。 Then, the image processing unit 9 (unnecessary region determination unit 93) determines the pixel that exceeds the predetermined pixel value in each line L2 and that is present most on the center side of the spread page as the boundary pixel E. Although the predetermined pixel value can be set arbitrarily, it is for determining the relationship between dark and light, and is set to a value that is darker than the intermediate value of the entire gradation width. For example, if the gradation is 8 bits and 256, and white is 0 and black is 255, it can be 128 or more.
そして、画像処理部9(不要領域判断部93)は、境界画素Eを通るように、又は、最も見開きページの中央側に存在する境界画素Eよりも見開きページの中央側に、ページ境界ラインXc’と同じ傾きで、不要領域境界ラインXs’、Xe’を引く。これは、通常ブック原稿が傾けられて載置されれば、ページ境界ラインXc’の傾きと同様に、見開きページの左右端部における不要領域も、見開きページの上下方向に傾くためである。尚、不要領域境界ラインXs’、Xe’は、境界画素Eを含むように引かれても良いし、境界画素Eよりも所定ドット(例えば、数〜数十ドット)、見開きページの中央側にひかれても良い。そして、画像処理部9(不要領域判断部93)は、見開きページの左右方向の不要領域境界ラインXs’、Xe’から外側を不要領域と定める。画像処理部9(白色変換部94)は、不要領域があると判断されると、不要領域の各画素の画素値を全て白色(画素値「0」)に変換する。 Then, the image processing unit 9 (unnecessary region determination unit 93) passes through the boundary pixel E, or the page boundary line Xc is closer to the center of the spread page than the boundary pixel E existing at the center of the spread page. Unnecessary region boundary lines Xs' and Xe 'are drawn with the same inclination as'. This is because, if a normal book document is placed at an angle, unnecessary areas at the left and right end portions of the spread page are also inclined in the vertical direction of the spread page, similarly to the inclination of the page boundary line Xc ′. Note that the unnecessary area boundary lines Xs ′ and Xe ′ may be drawn so as to include the boundary pixel E, or a predetermined dot (for example, several to several tens of dots) from the boundary pixel E, closer to the center of the spread page. You may be pulled. Then, the image processing unit 9 (unnecessary region determination unit 93) determines the outside from the unnecessary region boundary lines Xs 'and Xe' in the left-right direction of the spread page as unnecessary regions. When it is determined that there is an unnecessary area, the image processing unit 9 (white conversion unit 94) converts all the pixel values of each pixel in the unnecessary area to white (pixel value “0”).
(画像処理の設定)
次に、図9に基づき、本発明の第1の実施形態に係るブック原稿を読み取って得られた画像データに施す画像処理の設定の一例を説明する。図9は、本発明の第1の実施形態に係るブック原稿を読み取って得られた画像データに施す画像処理の設定画面の一例を示す図であり、(a)は詳細設定画面141の一例、(b)は簡易設定画面142の一例である。
(Image processing settings)
Next, based on FIG. 9, an example of setting of image processing applied to image data obtained by reading a book document according to the first embodiment of the present invention will be described. FIG. 9 is a view showing an example of a setting screen for image processing applied to image data obtained by reading a book document according to the first embodiment of the present invention, and FIG. (B) is an example of the simple setting screen 142.
まず、図9に示すブック原稿を読み取って得られた画像データへの処理設定画面14は、例えば、操作パネル1の液晶表示部10に表示される。例えば、使用者は、液晶表示部10の最上層の画面から押下を繰り返し、処理設定画面14に辿り着くことができる。
First, a
そして、処理設定画面14では、詳細設定画面141、簡易設定画面142を問わず、自動キーK1、詳細設定キーK2、簡易設定キーK3、登録キーK4、キャンセルキーK5、OKキーK6、原稿セット向きキーK7が配される。
In the
自動キーK1が押下されると、画像処理部9により、上述の第1〜第4の各所定幅のデフォルト値を使用して、不要領域を除去する画像処理が行われる。尚、第3所定幅Cと第4所定幅Dは、任意に設定でき、例えば、A3サイズの画像データの場合、デフォルトの値として、それぞれ15〜25mm、より好ましくは20mm程度に設定しておくことができる。又、第1所定幅Aと第2所定幅Bも、任意に設定できるが、例えば、A3サイズの画像データの場合、デフォルトの値として、それぞれ10〜20mm、より好ましくは15mm程度に設定しておくことができる。又、各所定幅は、画像データのサイズに合わせて変更しても良い。例えば、A3用紙のサイズの場合、画像データの左右方向の長さは、約420mmとなる。そして、第3所定幅Cを20mm、第4所定幅Dを20mm、第1所定幅Aを15mm、第2所定幅Bを15mmとした場合、各所定幅を合計したとしても、70mm程度である。単純に計算すると、70(mm)/420(mm)≒0.17となり、本発明での不要領域除去処理でのデータ量は、画像データの全体に対し不要領域除去の画像処理を行う場合に比べ、約83%少なくなる。
When the automatic key K1 is pressed, the
詳細設定キーK2は、各所定幅を詳細に設定する際に押下される。簡易設定キーK3は各所定幅を簡易に設定する場合に押下される。即ち、操作パネル1では、第3所定幅C、第4所定幅D、第1所定幅A、第2所定幅Bの全て又はいずれかを設定できる。登録キーK4が押下されると、詳細設定画面141や簡易設定画面142で設定された各所定幅が記憶される(例えば、記憶部82が記憶)。以後、設定が変更されない限り、除去モードでは、画像処理部9は、記憶された各所定幅で不要領域の除去処理を行う。
The detail setting key K2 is pressed when setting each predetermined width in detail. The simple setting key K3 is pressed when each predetermined width is simply set. In other words, the
キャンセルキーK5は、使用者が設定を中止する場合に押下される。OKキーK6は、使用者が設定を完了した際に押下される。そして、例えば、操作パネル1のスタートキー12が押下されると、ブック原稿が読み取られ、画像処理部9は、設定にあわせて不要領域除去処理を行う。原稿セット向きキーK7を押下すると、例えば、別ウィンドウ(不図示)が表示され、載置読取用コンタクトガラス22上に載置した原稿の向きの入力ができる。例えば、載置読取用コンタクトガラス22には、主走査方向でA4サイズの原稿まで、副走査方向でA3サイズの原稿まで載置できる場合、見開きページでA4サイズ以下のブック原稿であれば、ブック原稿の見開きページの左右方向を、主走査方向とあわせても、副走査方向にあわせても、ブック原稿を読み取ることができる。
The cancel key K5 is pressed when the user cancels the setting. An OK key K6 is pressed when the user completes the setting. For example, when the
このように、操作パネル1で原稿のセット向きを設定可能として、画像データ中の見開きページの左右方向が把握されるようにする。尚、ブック原稿の見開きページの左右方向を副走査方向にあわせてブック原稿を読み取ることが多いので、デフォルトの設定として、載置読取用コンタクトガラス22での副走査方向が画像データにおける見開きページの左右方向であると予め定められていても良い。
As described above, the setting direction of the original can be set on the
詳細設定キーK2が押下されると、図9(a)に示すような詳細設定画面141へと切り替わり、画像処理部9は、設定された第1〜第4の各所定幅の値を使用して、不要領域除去処理を行う。具体的に、詳細設定キーK2が押下されると、詳細設定キーK2の右側に、第3所定幅Cを設定する際に押下され、設定結果が表示される第3所定幅表示欄G1と、第4所定幅Dを設定する際に押下され、設定結果が表示される第4所定幅表示欄G2と、第1所定幅Aを設定する際に押下され、設定結果が表示される第1所定幅表示欄G3と、第2所定幅Bを設定する際に押下され、設定結果が表示される第2所定幅表示欄G4が表示される。
When the detailed setting key K2 is pressed, the screen is switched to a
使用者は、各所定幅を設定する場合、いずれかの表示欄を押下する。そして、使用者はプラスキーK8や、マイナスキーK9を用いて各所定幅を設定できる。又、テンキーキーK10を押下すれば、例えば、使用者は、操作パネル1のテンキー部11を用いて各所定幅の設定を行うことができる。
The user presses one of the display fields when setting each predetermined width. The user can set each predetermined width using the plus key K8 or the minus key K9. If the numeric keypad K10 is pressed, for example, the user can set each predetermined width using the
一方、簡易設定キーK3が押下されると、図9(b)に示すような簡易設定画面142へと切り替わり、簡易設定キーK3の右側に、外側所定幅表示欄G5と、中央所定幅表示欄G6が表示される。簡易設定画面142では、外側所定幅表示欄G5を押下して、長さが設定されると、その長さで第3所定幅C及び第4所定幅Dが設定されたと扱われる。言い換えると、使用者は、外側所定幅表示欄G5に入力、設定を行うことで、第3所定幅Cと第4所定幅Dは、同じ長さに設定される。 On the other hand, when the simple setting key K3 is pressed, the screen is switched to a simple setting screen 142 as shown in FIG. 9B, and an outer predetermined width display field G5 and a central predetermined width display field are displayed on the right side of the simple setting key K3. G6 is displayed. In the simple setting screen 142, when the outer predetermined width display field G5 is pressed and the length is set, it is handled that the third predetermined width C and the fourth predetermined width D are set by the length. In other words, the third predetermined width C and the fourth predetermined width D are set to the same length by the user performing input and setting in the outer predetermined width display field G5.
又、簡易設定画面142で、中央所定幅表示欄G6を押下して、長さが設定されると、その長さで第1所定幅A及び第2所定幅Bが設定されたと扱われる。言い換えると、使用者は、中央所定幅表示欄G6に入力、設定を行うことで、第1所定幅Aと第2所定幅Bは、同じ長さに設定される。そして、画像処理部9は、設定された第1〜第4の各所定幅の値を使用して、不要領域除去処理を行う。尚、詳細設定画面141と簡易設定画面142の最右方には、画素値設定欄G7が設けられる。画素値設定欄G7では、上述の所定画素値を設定することができる。即ち、操作パネル1では、所定画素値の設定を受け付ける。
Further, when the length is set by pressing the center predetermined width display field G6 on the simple setting screen 142, it is handled that the first predetermined width A and the second predetermined width B are set by the length. In other words, the first predetermined width A and the second predetermined width B are set to the same length by the user inputting and setting in the central predetermined width display field G6. Then, the
これら、操作パネル1でなされた使用者の設定内容は、本体制御部8に伝達される。そして、本体制御部8は、画像処理部9に設定された各所定幅の値や、原稿のセット向きや所定画素値の値等が伝達される。これにより、画像処理部9は、設定通りに不要領域除去処理を行う。
These user settings made on the
(画像処理制御)
次に、図10に基づき、本発明の第1の実施形態に係るブック原稿の画像データに対する不要領域除去処理の制御の流れの一例を示すフローチャートである。図10は、本発明の第1の実施形態に係るブック原稿の画像データに対する不要領域除去処理の流れの一例を示すフローチャートである。
(Image processing control)
Next, based on FIG. 10, it is a flowchart which shows an example of the flow of control of the unnecessary area | region removal process with respect to the image data of the book original concerning the 1st Embodiment of this invention. FIG. 10 is a flowchart showing an example of the flow of unnecessary area removal processing for image data of a book document according to the first embodiment of the present invention.
まず、図10のスタートは、ブック原稿の読み取りのため、操作パネル1への入力で除去モードが選択された状態で、操作パネル1のスタートキー12が押下され、ブック原稿のコピーが開始された時点である。そして、画像読取部2は、ブック原稿の読み取りを行う(ステップ♯1)。そして、画像データが生成される(ステップ♯2)。その後、画像データは、画像処理部9に送られ、画像処理部9は、画像データを受け取る(ステップ♯3)。
First, in order to read a book document, the start of FIG. 10 is a state in which the removal mode is selected by input to the
次に、画像処理部9は、不要領域除去処理での各所定幅や原稿セット向きや所定画素値等の各種設定を確認する(ステップ♯4)。即ち、画像処理装置100には、第1所定幅A、第2所定幅B、第3所定幅C、第4所定幅Dの全て又はいずれかを設定するため、及び、所定画素値を設定するための入力部(操作パネル1)を有する。次に、画像処理部9は、第1領域F1で、最も濃い画素が存在するページ境界ラインXc’を定める(ステップ♯5)。そして、画像処理部9は、ページ境界ラインXc’を中心とした第2領域F2の全画素の画素値を白色に変換する(ステップ♯6)。即ち、画像処理装置100は、光を照射して原稿を読み取って画像データを生成する画像読取部2と、画像データに対し画像処理を施す画像処理部9を有し、画像処理部9は、画像データの見開きページの左右方向における中央位置の中央ラインXcを中心とした第1所定幅Aの第1領域F1のうちで、見開きページの左右方向にのびる少なくとも2本のラインL1について、各ラインL1内で最も濃い画素を定め、最も濃い画素を接続して形成した線に基づきページ境界ラインXc’をと定め、ページ境界ラインXc’を中心として第2所定幅Bの第2領域F2内の画素を白色に置き換える。例えば、画像処理部9は、第1領域F1のうち、見開きページの上半分の第1領域F1と下半分の第1領域F1のそれぞれの領域で、見開きページの左右方向にのびるラインL1について、各ラインL1内で最も濃い画素を定め、最も濃い画素を接続した接続線に基づき、接続線の傾きで画像データの端まで接続線を伸ばしてページ境界ラインXc’と定める。
Next, the
次に、画像処理部9は、第3領域F3と第4領域F4の見開きページの左右方向(副走査方向)に伸びる任意の位置のラインL2において所定画素値を超え、最も見開きページ中央側に存在する境界画素Eと、境界画素Eを目印にして、不要領域境界ラインXs’、Xe’をページ境界ラインXc’と同じ傾きで定める(ステップ♯7)。
Next, the
画像処理部9は、見開きページの左側では、不要領域境界ラインXs’から開始ラインXsまで、見開きページの右側では、不要領域境界ラインXe’から終了ラインXeまでの領域の各画素の画素値を白色に変換する(ステップ♯8)。即ち、画像処理部9は、画像データの見開きページの左右方向における一方の端部から画像データの内側に向けての第3所定幅Cの第3領域F3内と、他方の端部から画像データの内側に向けての第4所定幅Dの第4領域F4内の各領域で、見開きページの左右方向にのびるラインL2内で、所定画素値を超える画素の内、最も見開きページの中央側に位置する画素を境界画素Eと定め、境界画素Eを通るように、又は、境界画素Eよりも見開きページの中央側に、ページ境界ラインXc’と同じ傾きで不要領域境界ラインXs’、Xe’を定め、画像データの見開きページの左右方向における端部から不要領域境界ラインXs’、Xe’までの領域を不要領域と定め、不要領域の画素を白色に置き換える。
The
そして、画像処理部9は、その他、必要な画像処理を施した後、画像データを露光装置63に送信する(ステップ♯9)。そして、画像処理後の画像データに基づき、印刷がなされる(ステップ♯10→エンド)。
The
(第2実施形態)
次に、図11を用いて、第2の実施形態を説明する。図11は、本発明の第2の実施形態に係るブック原稿を傾けて載置して読み取って得られた画像データの一例を示す説明図である。
(Second Embodiment)
Next, a second embodiment will be described with reference to FIG. FIG. 11 is an explanatory diagram showing an example of image data obtained by reading and placing a book document according to the second embodiment of the present invention.
尚、本実施形態は、第1の実施形態と、見開きページの左右両端部(第3領域F3と第4領域F4)での不要領域の定め方に差異がある。その他、複写機200や画像処理装置100等の構成は第1の実施形態と同様でよい。
The present embodiment is different from the first embodiment in how to define unnecessary areas at the left and right end portions (third area F3 and fourth area F4) of the spread page. In addition, the configuration of the copying
本実施形態では、第1の実施形態と異なり、見開きページの左右両端部(第3領域F3と第4領域F4)において、それぞれ不要領域認定用画素E2を2点定める。本実施形態では、画像処理部9(不要領域判断部93)は、第3領域F3と第4領域F4(図8参照)で、それぞれ、見開きページの左右方向にのびるラインL3を少なくとも2本に着目する。尚、このラインL3の見開きページの縦方向における位置は、適宜定めて良く、見開きページの縦方向の最も上方と最も下方のラインに着目しても良い。尚、図11では、画像データの見開きページの縦方向で上から1/4程度と下から1/4程度のラインに着目した例を示している。 In the present embodiment, unlike the first embodiment, two unnecessary area recognition pixels E2 are determined at the left and right ends (third area F3 and fourth area F4) of the spread page. In the present embodiment, the image processing unit 9 (unnecessary region determination unit 93) includes at least two lines L3 extending in the left-right direction of the spread page in the third region F3 and the fourth region F4 (see FIG. 8). Pay attention. Note that the position of the line L3 in the vertical direction of the spread page may be determined as appropriate, and attention may be paid to the uppermost and lowermost lines in the vertical direction of the spread page. Note that FIG. 11 shows an example in which attention is paid to lines about ¼ from the top and ¼ from the bottom in the vertical direction of the spread page of the image data.
ブック原稿の開き方によっては、ページ境界ラインXc’の傾きと見開きページの左右端部における不要領域の傾きが異なる場合もありうる。そこで、見開きページの左右端部のそれぞれにおいて、不要領域認定用画素E2を定め、不要領域認定用画素E2を接続し例えば、接続線を一直線状に画像データの端部まで伸ばして、不要領域境界ラインXs’、Xe’を定める。 Depending on how the book document is opened, the inclination of the page boundary line Xc 'may be different from the inclination of the unnecessary area at the left and right ends of the spread page. Therefore, an unnecessary area recognition pixel E2 is defined at each of the left and right end portions of the spread page, and the unnecessary area recognition pixel E2 is connected, for example, the connection line is extended straight to the end of the image data, Lines Xs ′ and Xe ′ are defined.
そして、画像処理部9(不要領域判断部93)は、各ラインL3で所定画素値を越え、かつ、最も見開きページの中央側に存在する画素を不要領域認定用画素E2と定める。そして、画像処理部9(不要領域判断部93)は、見開きページの左側の2つの不要領域認定用画素E2と、見開きページの右側の2つの不要領域認定用画素E2のそれぞれの組み合わせで各不要領域認定用画素E2を接続し、不要領域境界ラインXs’、Xe’を定める。そして、画像処理部9(不要領域判断部93)は見開きページの左右方向の不要領域境界ラインXs’、Xe’から外側を不要領域と定める。画像処理部9(白色変換部94)は、不要領域があると判断されると、不要領域の各画素の画素値を全て白色(画素値「0」)に変換する。尚、この場合、第1の実施形態と異なり、第3領域F3に対する処理、第4領域F4に対する処理を先に行ってもよい。 Then, the image processing unit 9 (unnecessary region determination unit 93) determines a pixel that exceeds the predetermined pixel value in each line L3 and that is present most in the center of the spread page as an unnecessary region recognition pixel E2. Then, the image processing unit 9 (unnecessary region determination unit 93) does not require each combination of the two unnecessary region identification pixels E2 on the left side of the spread page and the two unnecessary region identification pixels E2 on the right side of the spread page. The region recognition pixel E2 is connected to define unnecessary region boundary lines Xs ′ and Xe ′. Then, the image processing unit 9 (unnecessary area determination unit 93) determines the outside from the unnecessary area boundary lines Xs 'and Xe' in the left-right direction of the spread page as unnecessary areas. When it is determined that there is an unnecessary area, the image processing unit 9 (white conversion unit 94) converts all the pixel values of each pixel in the unnecessary area to white (pixel value “0”). In this case, unlike the first embodiment, the process for the third area F3 and the process for the fourth area F4 may be performed first.
即ち、画像処理部9は、画像データの見開きページの左右方向における一方の端部から画像データの内側に向けての第3所定幅Cの第3領域F3内と、他方の端部から画像データの内側に向けての第4所定幅Dの第4領域F4内の各領域で、見開きページの左右方向にのびる少なくとも2本の各ラインL3内で、所定画素値を超える画素の内、最も見開きページの中央側に位置する画素を不要領域認定用画素E2と定め、不要領域認定用画素E2を接続して生成した接続線に基づき、接続線の傾きで画像データの端まで接続線を伸ばして各領域での不要領域境界ラインXs’、Xe’と定め、画像データの見開きページの左右方向における端部から不要領域境界ラインXs’、Xe’までの領域を不要領域と定め、不要領域の画素を白色に置き換える。
In other words, the
このようにして、第1及び第2の実施形態に係る発明によれば、ブック原稿の背表紙部分の浮き上がりに起因する画像データ中の不要領域(見開きページの中央部分)のうち、ページとページの境界が画像読取部2の読取面からみて最も離れた位置となるので、不要領域中、ページとページの境界が最も濃い画素なる。そこで、第1領域F1のうちで、見開きページの左右方向にのびる少なくとも2本のラインL1について、最も濃い画素を接続した接続線に基づきページ境界ラインXc’を定め、ページ境界ラインXc’を中心として第2領域F2内の画素を白色に置き換える。これにより、画像読取部2の走査方向に対し、ブック原稿の画像データの中央部分の不要領域が傾いていても、不要領域の傾きに対応して、不要領域は、白色の画素に置き換えられる。従って、不要領域の傾きを問わず、確実に不要領域が画像データから除去される。又、不要領域が、第1領域F1からはみ出していても、確実に不要領域が画像データから除去される。
As described above, according to the first and second embodiments, pages and pages among unnecessary areas (center portion of the spread pages) in the image data caused by floating of the back cover portion of the book document. Is the farthest position when viewed from the reading surface of the
又、不要領域認識のための画像処理が画像データの全画素に対して行われず、第1領域F1、第2領域F2の範囲に留められる。これにより、画像データの全画素に対して画像処理を行う場合に比べ、処理すべきデータ量を減らすことができ、画像処理時間が短くなる。又、画像処理部9の画像処理速度を上げる必要がなく、メモリの搭載量を増やさずにすむ。従って、画像処理装置100の製造に要するコストの低減を図ることができる。尚、第1所定幅Aと第2所定幅Bは、任意に設定できるが、例えば、A3サイズの原稿の画像データの場合、デフォルトの値として、それぞれ10〜20mm、より好ましくは15mm程度に設定しておくことができる。又、第1所定幅Aと第2所定幅Bは、画像データのサイズに合わせて変更しても良い。
Further, image processing for recognizing unnecessary areas is not performed on all the pixels of the image data, and is limited to the range of the first area F1 and the second area F2. As a result, the amount of data to be processed can be reduced and the image processing time can be shortened compared to the case where image processing is performed on all the pixels of the image data. Further, it is not necessary to increase the image processing speed of the
又、画像処理部9は、第1領域F1のうち、見開きページの内、上半分の第1領域F1と下半分の第1領域F1のそれぞれの領域で検知された最も濃い画素を接続した接続線に基づきページ境界ラインXc’を定める。これにより、位置的に離れた点と点が結ばれ、ページ境界ラインXc’を実際のページの境界の傾きに近づけることができる。又、ブック原稿を開いて読み取ると、ブック原稿の側面部分(各ページの端縁部分)が読み取られるが、この部分も、見開きページ中央部分のベタ状画像と同様に、何ら情報を伝達しない不要領域である。そこで、境界画素Eを定め、境界画素Eを通るようにページ境界ラインXc’と同じ傾きで不要領域境界ラインXs’、Xe’を定めて、不要領域の画素を白色に置き換える。或いは、第3領域F3と第4領域F4について、不要領域認定用画素E2を複数定め、不要領域認定用画素E2を接続しつつ、不要領域境界ラインXs’、Xe’を定めて、不要領域の画素を白色に置き換える。これにより、画像読取部2の走査方向に対し、見開きページの左右方向における不要領域が傾いていても、不要領域の傾きに対応して、不要領域は、白色の画素に置き換えられる。従って、見開きページの左右方向における不要領域の傾きを問わず、確実に不要領域が画像データから除去される。
In addition, the
又、第3領域F3内と、第4領域F4内の各領域で、不要領域境界ラインXs’、Xe’が定められ、不要領域の画素が白色に置き換えられる。これにより、画像読取部2の走査方向に対し、見開きページの左右方向における不要領域が傾いていても、不要領域の傾きに対応して、不要領域は、白色の画素に置き換えられる。又、不要領域が、第3領域F3や第4領域F4からはみ出していても、確実に不要領域が画像データから除去される。又、要領域認識の画像処理が画像データの全画素に対して行われず、第3領域F3、第4領域F4の範囲に留められる。これにより、画像データの全画素に対して画像処理を行う場合に比べ、処理すべきデータ量を減らすことができ、画像処理時間が短くなる。又、画像処理部9の画像処理速度を上げる必要がなく、メモリの搭載量を増やさずにすむ。従って、画像処理装置100の製造に要するコストの低減を図ることができる。
Unnecessary region boundary lines Xs 'and Xe' are defined in the third region F3 and the fourth region F4, and the pixels in the unnecessary region are replaced with white. Thereby, even if the unnecessary area in the left-right direction of the spread page is inclined with respect to the scanning direction of the
又、例えば、100頁程度の雑誌と数千頁に及ぶ辞書との差のように、ブック原稿の見開きページの大きさ、ブック原稿のページ数、ブック原稿の厚さ等により、不要領域の幅が異なる。しかし、入力部(操作パネル1)で各所定幅の入力が可能であるので、ブック原稿の種類を問わず、適切に不要領域を除去することができる。又、設定された所定画素値の値によって、不要領域か否かを正確に判断できないこともあり得る。しかし、入力部(操作パネル1)により所定画素値の値を設定することができ、所定画素値の値を変えることで、正確に不要領域か否かを判断することができる。又、画像形成装置(例えば、複写機200)は、適切、確実に不要領域が取り除かれたブック原稿の画像データに基づき印刷を行えるので、トナー等、無駄な現像剤の消費のない画像形成装置(例えば、複写機200)を提供することができる。又、不要領域の除去が適切に行われておらず、やり直しのため、使用者は再度、ブック原稿の読み取りや印刷を行わなくて済むので、用紙や作業時間の無駄も無くなる。又、画像形成装置(例えば、複写機200)に搭載される画像処理装置100に要する製造コストも抑えることができる。
Also, the width of the unnecessary area depends on the size of the spread pages of the book manuscript, the number of pages of the book manuscript, the thickness of the book manuscript, such as the difference between a magazine of about 100 pages and a dictionary of thousands of pages. Is different. However, since it is possible to input each predetermined width using the input unit (operation panel 1), an unnecessary area can be appropriately removed regardless of the type of book document. Moreover, it may not be possible to accurately determine whether or not the area is an unnecessary area, based on the set value of the predetermined pixel value. However, the value of the predetermined pixel value can be set by the input unit (operation panel 1), and by changing the value of the predetermined pixel value, it can be accurately determined whether or not it is an unnecessary area. In addition, the image forming apparatus (for example, the copying machine 200) can perform printing based on the image data of the book document from which unnecessary areas are removed appropriately and reliably, so that an image forming apparatus that does not consume wasteful developer such as toner. (For example, a copying machine 200) can be provided. In addition, unnecessary areas are not properly removed, and the user does not have to read or print the book document again for re-execution, so paper and work time are not wasted. Further, the manufacturing cost required for the
以上、本発明の実施形態を説明したが、本発明の範囲はこれに限定されず、発明の主旨を逸脱しない範囲で種々の変更を加えて実施することができる。 The embodiment of the present invention has been described above, but the scope of the present invention is not limited to this, and various modifications can be made without departing from the spirit of the invention.
本発明は、画像処理装置やこれを備えた画像形成装置に利用可能である。 The present invention is applicable to an image processing apparatus and an image forming apparatus provided with the same.
1 操作パネル(入力部) 2 画像読取部
9 画像処理部 100 画像処理装置
200 複写機(画像形成装置) A 第1所定幅
B 第2所定幅 C 第3所定幅
D 第4所定幅 F1 第1領域
F2 第2領域 F3 第3領域
F4 第4領域 E 境界画素
E2 不要領域認定用画素 Xc’ ページ境界ライン
Xs’、Xe’ 不要領域境界ライン
DESCRIPTION OF
Claims (7)
前記画像データに対し画像処理を施す画像処理部を有し、
前記画像処理部は、
前記画像データの見開きページの左右方向における中央位置の中央ラインを中心とした第1所定幅の第1領域のうちで、見開きページの左右方向にのびる少なくとも2本のラインについて、各ライン内で最も濃い画素を定め、最も濃い画素を接続して形成した線に基づきページ境界ラインを定め、前記ページ境界ラインを中心として第2所定幅の第2領域内の画素を白色に置き換えることを特徴とする画像処理装置。 An image reading unit that irradiates light and reads an original to generate image data;
An image processing unit that performs image processing on the image data;
The image processing unit
Of the first region having the first predetermined width centering on the center line at the center position in the left-right direction of the spread page of the image data, at least two lines extending in the left-right direction of the spread page are the most in each line. A dark pixel is defined, a page boundary line is defined based on a line formed by connecting the darkest pixels, and pixels in the second region having the second predetermined width centered on the page boundary line are replaced with white Image processing device.
前記画像データの見開きページの左右方向における一方の端部から前記画像データの内側に向けての第3所定幅の第3領域内と、他方の端部から前記画像データの内側に向けての第4所定幅の第4領域内の各領域で、
見開きページの左右方向にのびるライン内で、所定画素値を超える画素の内、最も見開きページの中央側に位置する画素を境界画素と定め、
前記境界画素を通るように、又は、前記境界画素よりも見開きページの中央側に、前記ページ境界ラインと同じ傾きで不要領域境界ラインを定め、前記画像データの見開きページの左右方向における端部から前記不要領域境界ラインまでの領域を不要領域と定め、前記不要領域の画素を白色に置き換えることを特徴とする請求項1又は2に記載の画像処理装置。 The image processing unit
A third region having a third predetermined width from one end in the horizontal direction of the spread page of the image data toward the inside of the image data, and a third region from the other end toward the inside of the image data. 4 In each area within the fourth area of a predetermined width,
Within the line extending in the left-right direction of the spread page, among the pixels exceeding the predetermined pixel value, the pixel located closest to the center of the spread page is defined as the boundary pixel,
An unnecessary area boundary line is defined at the same inclination as the page boundary line so as to pass through the boundary pixel or on the center side of the spread page with respect to the boundary pixel, and from the end in the left-right direction of the spread page of the image data The image processing apparatus according to claim 1, wherein an area up to the unnecessary area boundary line is determined as an unnecessary area, and pixels in the unnecessary area are replaced with white.
前記画像データの見開きページの左右方向における一方の端部から前記画像データの内側に向けての第3所定幅の第3領域内と、他方の端部から前記画像データの内側に向けての第4所定幅の第4領域内の各領域で、見開きページの左右方向にのびる少なくとも2本のライン内で、所定画素値を超える画素の内、最も見開きページの中央側に位置する画素を不要領域認定用画素と定め、前記不要領域認定用画素を接続して生成した接続線に基づき各領域での不要領域境界ラインを定め、
前記画像データの見開きページの左右方向における端部から前記不要領域境界ラインまでの領域を不要領域と定め、前記不要領域の画素を白色に置き換えることを特徴とする請求項1又は2に記載の画像処理装置。 The image processing unit
A third region having a third predetermined width from one end in the horizontal direction of the spread page of the image data toward the inside of the image data, and a third region from the other end toward the inside of the image data. 4 In each of the areas within the fourth area having a predetermined width, the pixel located at the center of the spread page among the pixels exceeding the predetermined pixel value in at least two lines extending in the left-right direction of the spread page is an unnecessary area. It is determined as a pixel for recognition, and an unnecessary region boundary line in each region is determined based on a connection line generated by connecting the unnecessary region recognition pixel.
3. The image according to claim 1, wherein a region from an end portion in the left-right direction of the spread page of the image data to the unnecessary region boundary line is defined as an unnecessary region, and pixels of the unnecessary region are replaced with white. Processing equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009276692A JP2011120084A (en) | 2009-12-04 | 2009-12-04 | Image processor and image forming apparatus equipped with the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009276692A JP2011120084A (en) | 2009-12-04 | 2009-12-04 | Image processor and image forming apparatus equipped with the same |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011120084A true JP2011120084A (en) | 2011-06-16 |
Family
ID=44284840
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009276692A Pending JP2011120084A (en) | 2009-12-04 | 2009-12-04 | Image processor and image forming apparatus equipped with the same |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011120084A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3716203A1 (en) * | 2019-03-28 | 2020-09-30 | Google LLC | Feature eraser |
-
2009
- 2009-12-04 JP JP2009276692A patent/JP2011120084A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3716203A1 (en) * | 2019-03-28 | 2020-09-30 | Google LLC | Feature eraser |
CN111754594A (en) * | 2019-03-28 | 2020-10-09 | 谷歌有限责任公司 | Feature erasure |
US10810777B1 (en) | 2019-03-28 | 2020-10-20 | Google Llc | Feature erasure |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5114114B2 (en) | Image forming apparatus | |
JP2010278563A (en) | Image reading device, and image forming apparatus with the same | |
JP4703662B2 (en) | Image forming apparatus and computer program | |
JP5645689B2 (en) | Image processing apparatus and image forming apparatus having the same | |
JP4997210B2 (en) | Image forming apparatus | |
JP2011114845A (en) | Image forming apparatus | |
JP5481435B2 (en) | Image reading apparatus and image forming apparatus | |
KR20080073479A (en) | Image processing apparatus and control thereof | |
JP5622657B2 (en) | Image reading apparatus and image forming apparatus having the same | |
JP2011120084A (en) | Image processor and image forming apparatus equipped with the same | |
JP2009296370A (en) | Information processor and program | |
JP2004226492A (en) | Image forming apparatus and copying machine | |
JP6593310B2 (en) | Image reading apparatus and image forming apparatus | |
JP3753684B2 (en) | Image reading apparatus and image forming apparatus | |
JP2011035582A (en) | Image processing apparatus and image forming apparatus including the same | |
JP3629969B2 (en) | Image recognition device | |
JP6043826B2 (en) | Image reading apparatus and image forming apparatus having the same | |
JP5784185B2 (en) | Image reading apparatus and image forming apparatus having the same | |
JP5775828B2 (en) | Image reading apparatus and image forming apparatus having the same | |
JP6418096B2 (en) | Image forming apparatus | |
JP4549194B2 (en) | Sheet-through document reader and image forming apparatus | |
JP6055859B2 (en) | Image reading apparatus and image forming apparatus having the same | |
JP6055860B2 (en) | Image reading apparatus and image forming apparatus having the same | |
JP4201757B2 (en) | Image editing device | |
JP5764698B2 (en) | Image reading apparatus and image forming apparatus having the same |