JP2007310775A - Image processor and image processing method - Google Patents

Image processor and image processing method Download PDF

Info

Publication number
JP2007310775A
JP2007310775A JP2006141238A JP2006141238A JP2007310775A JP 2007310775 A JP2007310775 A JP 2007310775A JP 2006141238 A JP2006141238 A JP 2006141238A JP 2006141238 A JP2006141238 A JP 2006141238A JP 2007310775 A JP2007310775 A JP 2007310775A
Authority
JP
Japan
Prior art keywords
image
determination
page data
data
unit
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
JP2006141238A
Other languages
Japanese (ja)
Inventor
Kazuhiro Okada
岡田  和広
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery 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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2006141238A priority Critical patent/JP2007310775A/en
Publication of JP2007310775A publication Critical patent/JP2007310775A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To convert image data into a simple most suitable storage format even if storing the image data representing a document comprising a plurality of pages. <P>SOLUTION: A document comprising the plurality of the pages is acquired page by page by an acquisition section 36 to generate page data (first page data PD1, second page data PD2, and so on). Whether each of the page data contains only either or both of an illustrated image and a natural image is determined in a determination section 42. According to the determination result, whether to store each page data (first page data PD1, second page data PD2, and so on) in a JPEG format or in a GIF format is determined in a determination section 46, and the page data are converted by a conversion section 48 into the determined storage format, and stored in a storage section 38. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、記録媒体の複数のページデータに形成される画像を含む原稿から画像データを生成し、その画像データを変換する画像処理装置及び画像処理方法に関する。   The present invention relates to an image processing apparatus and an image processing method for generating image data from a document including an image formed on a plurality of page data of a recording medium and converting the image data.

スキャナ等によって取得された原稿の画像種別を判定し、その判定結果に基づいて最適と判断される保存形式を決定して保存する画像処理装置が提案されている(例えば、特許文献1)。   There has been proposed an image processing apparatus that determines an image type of a document acquired by a scanner or the like, determines an optimal storage format based on the determination result, and stores the determined storage format (for example, Patent Document 1).

特開2002−176564号公報JP 2002-176564 A

しかしながら、上述の特許文献1に記載された画像処理装置に於いては、複数ページある原稿の場合について何ら考慮されておらず、処理することができない。   However, in the image processing apparatus described in Patent Document 1 described above, no consideration is given to the case of a document having a plurality of pages, and the document cannot be processed.

そこで、本発明の課題は、複数ページから成る原稿を表現した画像データを保存する場合に於いても簡単且つ最適な保存形式に画像データを変換することにある。   Accordingly, an object of the present invention is to convert image data into a simple and optimal storage format even when storing image data representing a document consisting of a plurality of pages.

上記の課題を解決するため、請求項1の発明は、画像処理装置であって、複数のページデータを含む画像データを取得する取得部と、複数の決定方法の中から、前記画像データの保存形式決定方法を選択する選択部と、前記画像データに含まれるページデータに基づいて、前記ページデータが表現する画像の画像種別を判定する判定部と、前記選択部によって選択された保存形式決定方法に従って、前記判定部の判定結果に応じて複数のファイル形式から保存形式を決定する決定部と、前記決定部により決定された保存形式で前記画像データを保存データに変換する変換部と、前記変換部によって変換された保存データを保存する保存部とを備えることを特徴とする。   In order to solve the above-mentioned problem, the invention of claim 1 is an image processing apparatus, wherein an acquisition unit that acquires image data including a plurality of page data, and storage of the image data from a plurality of determination methods A selection unit that selects a format determination method, a determination unit that determines an image type of an image represented by the page data based on page data included in the image data, and a storage format determination method selected by the selection unit In accordance with the determination result of the determination unit, a determination unit that determines a storage format from a plurality of file formats, a conversion unit that converts the image data into storage data in the storage format determined by the determination unit, and the conversion A storage unit that stores the storage data converted by the unit.

また、請求項2の発明は、請求項1の発明に係る画像処理装置であって、前記複数の決定方法は、前記画像データに含まれる個々のページデータごとに保存形式を決定する個別決定方法を含むことを特徴とする。   The invention of claim 2 is the image processing apparatus according to the invention of claim 1, wherein the plurality of determination methods are individual determination methods for determining a storage format for each individual page data included in the image data. It is characterized by including.

また、請求項3の発明は、請求項1または請求項2の発明に係る画像処理装置であって、前記複数の決定方法は、前記画像データに含まれる全てのページデータについて同一の保存形式を決定する統一決定方法を含むことを特徴とする。   The invention according to claim 3 is the image processing apparatus according to claim 1 or 2, wherein the plurality of determination methods have the same storage format for all page data included in the image data. It includes a unified determination method for determining.

また、請求項4の発明は、請求項3の発明に係る画像処理装置であって、前記選択部によって前記統一決定方法が選択された場合に於いて、前記決定部は、一のページデータに基づく前記判定部での判定結果に応じて前記複数のファイル形式から保存形式を決定することを特徴とする。   According to a fourth aspect of the present invention, in the image processing apparatus according to the third aspect of the invention, when the unified determination method is selected by the selection unit, the determination unit converts the page data into one page data. A storage format is determined from the plurality of file formats in accordance with a determination result in the determination unit based on.

また、請求項5の発明は、請求項3の発明に係る画像処理装置であって、前記選択部によって前記統一決定方法が選択された場合に於いて、前記決定部は、前記画像データに含まれる全てのページデータに基づく前記判定部での判定結果に応じて前記複数のファイル形式から保存形式を決定することを特徴とする。   The invention according to claim 5 is the image processing apparatus according to the invention of claim 3, wherein the determination unit is included in the image data when the unified determination method is selected by the selection unit. The storage format is determined from the plurality of file formats in accordance with a determination result in the determination unit based on all the page data to be stored.

また、請求項6の発明は、請求項5の発明に係る画像処理装置であって、前記決定部は、前記判定部で判定されたページデータの画像種別のうち最も多い画像種別に応じて前記複数のファイル形式から保存形式を決定することを特徴とする。   The invention of claim 6 is the image processing device according to the invention of claim 5, wherein the determining unit determines the image type according to the largest image type among the image types of the page data determined by the determining unit. The storage format is determined from a plurality of file formats.

また、請求項7の発明は、請求項5の発明に係る画像処理装置であって、前記決定部は、前記判定部で判定されたページデータの画像種別に自然画像が含まれている場合には、前記複数のファイル形式から前記自然画像に適した保存形式を決定することを特徴とする。   The invention according to claim 7 is the image processing apparatus according to the invention of claim 5, wherein the determination unit includes a natural image in the image type of the page data determined by the determination unit. Determines a storage format suitable for the natural image from the plurality of file formats.

また、請求項8の発明は、請求項5の発明に係る画像処理装置であって、前記決定部は、前記判定部で判定された前記ページデータの画像種別にイラスト画像が含まれている場合には、前記複数のファイル形式から前記イラスト画像に適した保存形式を決定することを特徴とする。   The invention according to claim 8 is the image processing device according to the invention of claim 5, wherein the determining unit includes an illustration image in the image type of the page data determined by the determining unit. Is characterized in that a storage format suitable for the illustration image is determined from the plurality of file formats.

また、請求項9の発明は、請求項1乃至請求項8の何れかの発明に係る画像処理装置であって、前記判定部は、ページデータに相異なる種別の画像が複数含まれている場合には、前記ページデータの画像種別を、予め定められた優先画像種別として判定することを特徴とする。   The invention of claim 9 is the image processing device according to any one of claims 1 to 8, wherein the determination unit includes a plurality of different types of images in the page data. Is characterized in that the image type of the page data is determined as a predetermined priority image type.

また、請求項10の発明は、複数のページデータを含む画像データを取得する取得工程と、複数の決定方法の中から、前記画像データの保存形式決定方法を選択する選択工程と、前記画像データに含まれるページデータに基づいて、前記ページデータが表現する画像の画像種別を判定する判定工程と、前記選択工程によって選択された保存形式決定方法に従って、前記判定工程の判定結果に応じて複数のファイル形式から保存形式を決定する決定工程と、前記決定工程により決定された保存形式で前記画像データを保存データに変換する変換工程と、前記変換工程によって変換された保存データを保存する保存工程とを備えることを特徴とする。   The invention of claim 10 is an acquisition step of acquiring image data including a plurality of page data, a selection step of selecting a storage format determination method of the image data from a plurality of determination methods, and the image data In accordance with a determination step of determining an image type of an image represented by the page data based on page data included in the page data, and a storage format determination method selected by the selection step, a plurality of determinations according to the determination result of the determination step A determination step for determining a storage format from a file format, a conversion step for converting the image data into storage data in the storage format determined by the determination step, and a storage step for storing the storage data converted by the conversion step; It is characterized by providing.

請求項1乃至10に記載の発明では、取得された複数のページデータの保存形式を、保存形式決定方法に従って決定することにより、画像データに複数のページデータが含まれていても対応できる。また、保存形式決定方法を複数の決定方法から選択するので、ユーザの要求や画像データの内容に応じて柔軟に対応できる。   According to the first to tenth aspects of the present invention, it is possible to cope with the case where the image data includes a plurality of page data by determining the storage format of the acquired plurality of page data according to the storage format determination method. Further, since the storage format determination method is selected from a plurality of determination methods, it is possible to flexibly cope with the user's request and the contents of the image data.

請求項2に記載の発明では、複数の決定方法は、前記画像データに含まれる個々のページデータごとに保存形式を決定する個別決定方法を含むので、各ページデータに表現されている画像に適した保存形式で保存することが可能となり、画像データに含まれる画像の劣化等を回避または抑制することができる。   In the invention according to claim 2, since the plurality of determination methods include an individual determination method for determining a storage format for each page data included in the image data, the plurality of determination methods are suitable for images represented in each page data. Thus, it is possible to save the image in a storage format and avoid or suppress degradation of the image included in the image data.

請求項3の発明は、複数の決定方法は、画像データに含まれる全てのページデータについて同一の保存形式を決定する統一決定方法を含むので、変換された保存データが単一形式のデータとなり、保存データの保存や編集を行うことが容易となる。   In the invention of claim 3, since the plurality of determination methods include a unified determination method for determining the same storage format for all page data included in the image data, the converted storage data becomes data in a single format, It becomes easy to save and edit saved data.

請求項4に記載の発明では、統一決定方法が選択された場合に於いて、一のページデータに基づく判定部での判定結果に応じて複数のファイル形式から保存形式を決定するので、保存形式の決定を速やかに行うことができる。   In the invention according to claim 4, when the unified determination method is selected, the storage format is determined from a plurality of file formats according to the determination result in the determination unit based on one page data. Can be made promptly.

請求項5に記載の発明では、統一決定方法が選択された場合に於いて、全てのページデータに基づく判定部での判定結果に応じて複数のファイル形式から保存形式を決定するので、ユーザがページごとに保存形式を選択する操作を省くことが可能となり、画像データに応じた保存形式で保存することが可能となる。   In the invention according to claim 5, when the unified determination method is selected, the storage format is determined from a plurality of file formats according to the determination result in the determination unit based on all page data. It is possible to omit the operation of selecting the storage format for each page, and it is possible to save in a storage format corresponding to the image data.

請求項6に記載の発明では、決定部は、判定部によって判定されたページデータの画像種別のうち最も多い画像種別に応じて複数のファイル形式から保存形式を決定するので、保存される画像の劣化等を回避または抑制することが可能となる。   In the invention according to claim 6, since the determination unit determines the storage format from a plurality of file formats according to the most image type among the image types of the page data determined by the determination unit. Deterioration and the like can be avoided or suppressed.

請求項7に記載の発明では、決定部は、判定部で判定されたページデータの画像種別に自然画像が含まれている場合には、複数のファイル形式から自然画像に適した保存形式を決定するので、画像データに含まれる自然画像の劣化等を回避または抑制することが可能となる。   In the invention according to claim 7, the determination unit determines a storage format suitable for the natural image from a plurality of file formats when the natural image is included in the image type of the page data determined by the determination unit. Therefore, it is possible to avoid or suppress degradation of the natural image included in the image data.

請求項8に記載の発明では、決定部は、判定部で判定されたページデータの画像種別にイラスト画像が含まれている場合には、複数のファイル形式からイラスト画像に適した保存形式を決定するので、画像データに含まれるイラスト画像の劣化等を回避または抑制することが可能となる。   In the invention according to claim 8, when the image type of the page data determined by the determination unit includes an illustration image, the determination unit determines a storage format suitable for the illustration image from a plurality of file formats. Therefore, it is possible to avoid or suppress the deterioration of the illustration image included in the image data.

請求項9に記載の発明では、判定部は、ページデータに相異なる種別の画像が複数含まれている場合には、当該ページデータの画像種別を、予め定められた優先画像種別として判定するので、複数種類の画像種別の画像が含まれているページデータの画像種別を判定することができると共に、一の画像種別を他の画像種別よりも優先することが可能となる。   In the invention according to claim 9, when the page data includes a plurality of different types of images, the determination unit determines the image type of the page data as a predetermined priority image type. In addition, it is possible to determine the image type of page data including images of a plurality of types of image types, and it is possible to give priority to one image type over other image types.

以下、本発明の実施形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<装置の外部構成>
図1及び図2は、本発明の実施形態に係る画像処理装置10の外観構成の概略を示す図の一例である。図1は、カバー12Bを閉じた状態の斜視図であり、図2は、カバー12Bを開いた状態の斜視図である。尚、説明の便宜上、各図に於いて座標軸を示してある。
<External configuration of the device>
FIG. 1 and FIG. 2 are examples of diagrams showing an outline of an external configuration of an image processing apparatus 10 according to an embodiment of the present invention. FIG. 1 is a perspective view with the cover 12B closed, and FIG. 2 is a perspective view with the cover 12B open. For convenience of explanation, coordinate axes are shown in each figure.

図1及び図2に示す如く、画像処理装置10は、例えば、筐体HSの上部に設けられたスキャナ12と、筐体HSの上側から前方へ突出した操作部14及び表示部16とを備える。   As shown in FIGS. 1 and 2, the image processing apparatus 10 includes, for example, a scanner 12 provided at the upper part of the housing HS, and an operation unit 14 and a display unit 16 that protrude forward from the upper side of the housing HS. .

スキャナ12は、ADF(Automatic Document Feeder)12Aを含むカバー12Bと、FBS(Flat Bed Scanner)とを有しており、記録媒体である原稿上の画像をページごとに光学的に順次読み取って後述する取得部36(図3参照)に入力するものである。尚、本実施形態に於いては、複数ページから成る原稿をADF12Aによって順次読み取っていくものとする。   The scanner 12 includes a cover 12B including an ADF (Automatic Document Feeder) 12A and an FBS (Flat Bed Scanner), and optically sequentially reads an image on a document as a recording medium for each page, which will be described later. This is input to the acquisition unit 36 (see FIG. 3). In the present embodiment, it is assumed that a document consisting of a plurality of pages is sequentially read by the ADF 12A.

操作部14及び表示部16は、ユーザインタフェイスとして設けられている。   The operation unit 14 and the display unit 16 are provided as a user interface.

操作部14は、メカニカルスイッチで構成され、スキャナ12による画像取得、コピー及びファクシミリ送受信等に関する各種指示を、後述するMPU30(図3参照)に入力するものである。   The operation unit 14 includes a mechanical switch, and inputs various instructions regarding image acquisition, copying, facsimile transmission / reception, and the like by the scanner 12 to an MPU 30 (see FIG. 3) described later.

表示部16は、LCD(Liquid Crystal Display:液晶ディスプレイ)等の表示デバイスで構成され、スキャナ12による画像取得、コピー及びファクシミリ送受信等に関する各種情報を表示するものである。   The display unit 16 includes a display device such as an LCD (Liquid Crystal Display), and displays various types of information related to image acquisition, copying, facsimile transmission / reception, and the like by the scanner 12.

例えば、後述するADF12Aによる画像取得を実行する場合であれば、原稿の画像種別の選択メニュ等が表示部16に表示される。尚、表示部16にタッチパネルディスプレイを適用して、操作部14の一部または全ての機能を兼ね備えるようにしても良い。   For example, in the case of executing image acquisition by the ADF 12A described later, a menu for selecting the image type of the document is displayed on the display unit 16. Note that a touch panel display may be applied to the display unit 16 so as to have a part or all of the functions of the operation unit 14.

<装置の内部構成>
図3は、画像処理装置10の内部構成を示すブロック図である。
<Internal configuration of the device>
FIG. 3 is a block diagram showing the internal configuration of the image processing apparatus 10.

画像処理装置10は、MPU(Micro Processor Unit)30と、ROM32と、RAM34とを備え、マイクロコンピュータとしての機能を有している。   The image processing apparatus 10 includes an MPU (Micro Processor Unit) 30, a ROM 32, and a RAM 34, and has a function as a microcomputer.

MPU30は、操作部14に対する入力操作を検出して画像処理装置10の動作へ反映させると共に、表示部16に於ける表示内容の制御を行う。MPU30の処理内容については後に詳述する。   The MPU 30 detects an input operation on the operation unit 14 and reflects it in the operation of the image processing apparatus 10, and controls the display contents on the display unit 16. The processing contents of the MPU 30 will be described in detail later.

ROM32は、MPU30が実行する制御内容のプログラムや制御に必要なデータが格納されたものであり、RAM34は、MPU30による統括制御に必要なデータを一時記憶するものである。これにより、画像処理装置10の各種機能が実現される。   The ROM 32 stores a control content program executed by the MPU 30 and data necessary for control, and the RAM 34 temporarily stores data necessary for overall control by the MPU 30. Thereby, various functions of the image processing apparatus 10 are realized.

また、画像処理装置10は、ネットワークインタフェイスIFと、取得部36と、保存部38とを備えている。   The image processing apparatus 10 also includes a network interface IF, an acquisition unit 36, and a storage unit 38.

ネットワークインタフェイスIFは、例えば、LANやPSTN等のネットワークとのインタフェイスであり、一般的なデータ通信やファクシミリの送受信等が可能となっている。   The network interface IF is, for example, an interface with a network such as a LAN or PSTN, and can perform general data communication, facsimile transmission / reception, and the like.

取得部36は、後に図4に示す如く、複数のページデータ(第1ページデータPD1,第2ページデータPD2,…)を含む画像データIDを取得するものであり、スキャナ12からの入力に基づいて、各ページに形成される画像を表現したページデータの集合である画像データIDをページデータごとに順次取得し生成するものである。   The acquisition unit 36 acquires an image data ID including a plurality of page data (first page data PD1, second page data PD2,...) As shown in FIG. 4 later, and is based on an input from the scanner 12. Thus, an image data ID, which is a set of page data representing an image formed on each page, is sequentially obtained and generated for each page data.

尚、画像データIDは、圧縮等のされていない、いわゆる生データであるが、生データに逆変換可能なデータであっても良い。また、取得部36は、必ずしもスキャナ12からの入力に基づいて、画像データIDを取得する必要はなく、FDやMO、CD−R等のメディアに記憶された画像を読み取るドライブ(図示省略)から取得しても良いし、ネットワークインタフェイスIFを介して伝送されたデータから取得するものであっても良い。   The image data ID is so-called raw data that is not compressed, but may be data that can be converted back to raw data. The acquisition unit 36 does not necessarily need to acquire the image data ID based on the input from the scanner 12, but from a drive (not shown) that reads an image stored in a medium such as FD, MO, or CD-R. You may acquire from the data transmitted via network interface IF.

保存部38は、一般的な記憶装置であって、後述する変換部48によって変換された保存データSD(図4参照)を保存するものである。   The storage unit 38 is a general storage device, and stores the storage data SD (see FIG. 4) converted by the conversion unit 48 described later.

また、画像処理装置10は、プリンタ18を備えており、保存部38に格納されたデータから記録紙上に画像を形成して出力するものである。このプリンタ18が、所定サイズ(例えば、A4,B5サイズ)の記録紙を格納し必要に応じて給送する給紙部(図示省略)から給送される記録紙上に画像を形成し、当該記録紙を排紙部(図示省略)に排出することによって一般的なコピー機能、プリント機能等が実現可能となっている。   Further, the image processing apparatus 10 includes a printer 18, and forms and outputs an image on recording paper from data stored in the storage unit 38. The printer 18 forms an image on recording paper fed from a paper feeding unit (not shown) that stores recording paper of a predetermined size (for example, A4, B5 size) and feeds it as necessary, and the recording By discharging the paper to a paper discharge unit (not shown), a general copy function, print function, and the like can be realized.

<装置の機能>
図4は、画像処理装置10の機能ブロック図である。
<Functions of the device>
FIG. 4 is a functional block diagram of the image processing apparatus 10.

画像処理装置10は、MPU30と、ROM32及びRAM34とを備えるマイクロコンピュータを用いて、判定部42と、決定部46と、選択部44と、変換部48としての機能を有している。   The image processing apparatus 10 has functions as a determination unit 42, a determination unit 46, a selection unit 44, and a conversion unit 48 using a microcomputer including an MPU 30, a ROM 32, and a RAM 34.

判定部42は、取得部36によって順次取得され生成されたページデータ(第1ページデータPD1,第2ページデータPD2,…)に基づいて、それぞれのページデータが表現する画像の画像種別を個別に判定するものである。   Based on the page data (first page data PD1, second page data PD2,...) Sequentially acquired and generated by the acquisition unit 36, the determination unit 42 individually determines the image type of the image represented by each page data. Judgment.

具体的には、判定部42は、ROM32に格納された画像種別判定閾値32Aに基づいて、ページデータが表現する画像がイラスト画像なのか自然画像なのか或いは両者を含んだ画像なのかを判定するものである。   Specifically, the determination unit 42 determines whether the image represented by the page data is an illustration image, a natural image, or an image including both based on the image type determination threshold value 32A stored in the ROM 32. Is.

より具体的には、例えば、ページデータに或る抽出点を定めてその周囲の色のばらつきを検出しながら抽出点を走査し、検出された色のばらつきが走査範囲全てに亘って画像種別判定閾値32A以下のときは、当該ページデータをイラスト画像のみを含むデータと判定する。   More specifically, for example, a certain extraction point is set in the page data, and the extraction point is scanned while detecting the variation in the surrounding color, and the detected color variation determines the image type over the entire scanning range. When the threshold value is 32 A or less, the page data is determined as data including only an illustration image.

検出された色のばらつきが走査範囲全てに亘って画像種別判定閾値32Aよりも高いときは、当該ページデータを自然画像のみを含むデータと判定する。   When the detected color variation is higher than the image type determination threshold 32A over the entire scanning range, the page data is determined as data including only a natural image.

検出された色のばらつきが走査範囲の一部領域に於いて画像種別判定閾値32Aよりも高く、他の領域に於いて画像種別判定閾値32Aよりも低いときは、当該ページデータを両者を含むデータと判定する。   When the detected color variation is higher than the image type determination threshold 32A in a part of the scanning range and lower than the image type determination threshold 32A in another area, the page data is data including both. Is determined.

ここで、第1ページデータPD1内にイラスト画像と自然画像のような相異なる種別の画像が複数含まれている場合には、優先判定情報32Bに基づいて判定するものとする。   Here, when the first page data PD1 includes a plurality of different types of images such as illustration images and natural images, the determination is made based on the priority determination information 32B.

即ち、優先判定情報32Bは、判定部42によって参照される情報であって、判定部42に対し、何れの画像種別(本実施の形態では、イラスト画像または自然画像)を優先するかを示す情報(優先画像種別)である。   That is, the priority determination information 32B is information referred to by the determination unit 42, and information indicating which image type (illustration image or natural image in the present embodiment) has priority over the determination unit 42. (Priority image type).

選択部44は、複数の決定方法の中から、画像データIDの保存形式決定方法を選択する。本実施の形態における選択部44は、ユーザが操作部14から入力する指示に基づいて選択を行う。   The selection unit 44 selects a storage format determination method for the image data ID from among a plurality of determination methods. The selection unit 44 in the present embodiment performs selection based on an instruction input from the operation unit 14 by the user.

ここで、選択部44が選択する保存形式決定方法とは、全てのページデータについて同一の保存形式を決定する方法(統一決定方法に相当する)と、個々のページデータごとに保存形式を決定する方法(個別決定方法に相当する)とを含む。   Here, the storage format determination method selected by the selection unit 44 is a method of determining the same storage format for all page data (corresponding to a unified determination method) and a storage format for each individual page data. A method (corresponding to an individual determination method).

決定部46は、選択部44によって選択された保存形式決定方法に従って、判定部42の判定結果に応じて複数のファイル形式から保存形式を決定する。   The determination unit 46 determines a storage format from a plurality of file formats according to the determination result of the determination unit 42 according to the storage format determination method selected by the selection unit 44.

尚、本実施形態に於ける決定部46は、JPEG形式とGIF形式という複数のファイル形式から保存形式を決定する。JPEG形式とは最高で1677万色をサポートしている画像ファイルの保存形式であり、色数の多い写真のような画像に適した保存形式である。GIF形式とは最高で256色をサポートしている画像ファイルの保存形式であり、色数の少ないイラストのような画像に適した保存形式である。   Note that the determination unit 46 in the present embodiment determines the storage format from a plurality of file formats such as a JPEG format and a GIF format. The JPEG format is an image file storage format that supports a maximum of 16.77 million colors, and is a storage format suitable for images such as photographs with a large number of colors. The GIF format is a storage format for image files that supports up to 256 colors, and is a storage format suitable for images such as illustrations with a small number of colors.

決定部46は、選択部44の選択結果が全てのページデータ(第1ページデータPD1,第2ページデータPD2,…)について同一の保存形式とする統一決定方法であった場合には、複数のファイル形式から一の保存形式を決定する。   When the selection result of the selection unit 44 is a unified determination method in which all the page data (first page data PD1, second page data PD2,...) Is the same storage format, Determine the save format from the file format.

本実施形態に於ける決定部46は、全てのページデータについて一の保存形式を決定する場合に於いて、2つの手法を選択的に実行可能である。   The determination unit 46 in this embodiment can selectively execute two methods when determining one storage format for all page data.

1つ目の手法は、全てのページデータを代表する一のページデータ(例えば、第1ページデータPD1)についての判定部42での判定結果に応じて決定する手法である。この手法では、判定部42による判定が1回で済むので、決定部46による決定を高速に行える。   The first method is a method of determining one page data representing all page data (for example, the first page data PD1) according to the determination result in the determination unit 42. In this method, since the determination by the determination unit 42 is sufficient once, the determination by the determination unit 46 can be performed at high speed.

2つ目の手法は、個々のページデータ(第1ページデータPD1,第2ページデータPD2,…)に基づく判定部42での判定結果に応じて決定する手法である。この手法では、全てのページデータについて画像種別が考慮されるので、より適切な保存形式を決定できる。   The second method is a method of determining according to a determination result in the determination unit 42 based on individual page data (first page data PD1, second page data PD2,...). In this method, since the image type is considered for all page data, a more appropriate storage format can be determined.

尚、本実施の形態における決定部46は、上記1つ目の手法と2つ目の手法とをユーザからの指示入力に基づいて決定する(図6:ステップS603)。   Note that the determination unit 46 in the present embodiment determines the first method and the second method based on an instruction input from the user (FIG. 6: step S603).

2つ目の手法には更に3つの手法がある。1つ目の手法は、判定部42で判定されたページデータの画像種別のうち最も多い画像種別に応じて決定する手法である。   There are three more methods in the second method. The first method is a method of determining according to the most image type among the image types of the page data determined by the determination unit 42.

2つ目の手法は、判定部42で判定されたページデータ(第1ページデータPD1,第2ページデータPD2,…)の画像種別に自然画像が含まれていれば、自然画像に適した保存形式に決定するという手法である。   The second method is a storage suitable for a natural image if the image type of the page data (first page data PD1, second page data PD2,...) Determined by the determination unit 42 includes a natural image. This is a method of determining the format.

3つ目の手法は、判定部42で判定されたページデータ(第1ページデータPD1,第2ページデータPD2,…)の画像種別にイラスト画像が含まれていれば、イラスト画像に適した保存形式に決定するという手法である。   The third method is to save an image suitable for an illustration image if the image type of the page data (first page data PD1, second page data PD2,...) Determined by the determination unit 42 is included. This is a method of determining the format.

尚、本実施の形態における決定部46は、上記3つの手法を優先決定情報32Cに基づいて決定する(図8:ステップS708およびS711)。   Note that the determination unit 46 in the present embodiment determines the above three methods based on the priority determination information 32C (FIG. 8: steps S708 and S711).

即ち、優先決定情報32Cは、決定部46によって参照される情報であって、決定部46に対し、優先決定の有効・無効を示す識別情報と、何れの画像種別(本実施の形態では、イラスト画像または自然画像)を優先するかを示す情報(優先画像種別)とが含まれる。   That is, the priority determination information 32C is information referred to by the determination unit 46. The priority determination information 32C indicates identification information indicating validity / invalidity of priority determination to the determination unit 46, and any image type (in the present embodiment, an illustration). Information (priority image type) indicating whether to prioritize an image or a natural image).

一方、決定部46は、選択部44の選択結果が個々のページデータ(第1ページデータPD1,第2ページデータPD2,…)ごとに決定するという個別決定方法であった場合には、個々のページデータについての判定部42での判定結果に応じて、個々のページデータの保存形式を決定する。   On the other hand, if the selection unit 44 uses the individual determination method in which the selection result of the selection unit 44 is determined for each individual page data (first page data PD1, second page data PD2,...), The storage format of individual page data is determined according to the determination result of the page data regarding the determination unit 42.

変換部48は、決定部46で決定された保存形式でページデータ(第1ページデータPD1,第2ページデータPD2,…)を含む画像データIDを保存データSDに変換し、保存部38に書き込むものである。   The conversion unit 48 converts the image data ID including the page data (first page data PD1, second page data PD2,...) In the storage format determined by the determination unit 46 into the storage data SD and writes it to the storage unit 38. Is.

変換部48は、前述のように、決定部46によって個々のページデータごとに保存形式が決定された場合には、各ページデータ(第1ページデータPD1,第2ページデータPD2,…)を該保存形式のページファイル(第1ページファイルPF1,第2ページファイルPF2,…)に変換する。   As described above, the conversion unit 48 converts each page data (first page data PD1, second page data PD2,...) When the determination unit 46 determines the storage format for each page data. It is converted into a page file (first page file PF1, second page file PF2,...) In a storage format.

尚、変換部48によって変換された複数のページファイル(第1ページファイルPF1,第2ページファイルPF2,…)が、例えば、JPEG形式とGIF形式のような相異なる保存形式となっている場合には、両者を関連付けるようなファイルを作成する等して、1つの画像データIDを表現した保存データSDとして保存される。   It should be noted that when a plurality of page files (first page file PF1, second page file PF2,...) Converted by the conversion unit 48 have different storage formats such as JPEG format and GIF format. Is saved as saved data SD representing one image data ID, for example, by creating a file associating the two.

以上が画像処理装置10の構成と機能の説明である。   The above is the description of the configuration and functions of the image processing apparatus 10.

次に、MPU30が行う具体的な処理について説明する。図5は、画像処理装置10の処理内容を示すフローチャートである。   Next, specific processing performed by the MPU 30 will be described. FIG. 5 is a flowchart showing the processing contents of the image processing apparatus 10.

<MPUの処理内容>
まず、選択部44は、操作部14からの入力によってページ(ページデータ)ごとに保存形式を決定するか否かについての判定を行う(ステップS501)。
<Processing contents of MPU>
First, the selection unit 44 determines whether or not to determine a storage format for each page (page data) based on an input from the operation unit 14 (step S501).

尚、本実施形態に於ける画像処理装置10は、ステップS501に於ける判定を操作部14からの入力によって行うが、このような情報が初期設定として予め設定されていても良い。   The image processing apparatus 10 according to the present embodiment performs the determination in step S501 by input from the operation unit 14, but such information may be set in advance as an initial setting.

ステップS501に於いて、Yesの判定(全てのページについて保存形式を統一するとの判定)がなされた場合には、後述する統一保存処理(ステップS502)を行う。   If YES is determined in step S501 (determination that the storage format is unified for all pages), unified storage processing (step S502) described later is performed.

ステップS501に於いて、ページごとに保存形式を決定する選択(Noの選択)がなされた場合には、スキャナ12が1ページのスキャンを行い、取得部36がRAM34に当該ページのページデータを生成する(ステップS503)。   In step S501, if selection (No selection) for determining the storage format for each page is made, the scanner 12 scans one page, and the acquisition unit 36 generates page data of the page in the RAM 34. (Step S503).

次に、ステップS503に於いて生成されたページデータがイラスト画像のみを含むのか否かを画像種別判定閾値32Aを基準として判定部42が判定する(ステップS504)。   Next, the determination unit 42 determines whether or not the page data generated in step S503 includes only an illustration image based on the image type determination threshold 32A (step S504).

ステップS504に於いて、Yesの判定(ページデータがイラスト画像のみを含むとの判定)がなされた場合には、この判定結果に応じて、決定部46が、複数のファイル形式から当該ページデータをGIF形式で保存することを決定する。更に、変換部48が、当該ページデータをGIF形式のファイルとしてページファイルに変換して保存部38に書き込み保存する(ステップS505)。   If YES is determined in step S504 (determination that the page data includes only an illustration image), the determination unit 46 determines the page data from a plurality of file formats according to the determination result. Decide to save in GIF format. Further, the conversion unit 48 converts the page data into a page file as a GIF format file, and writes and saves the page data in the storage unit 38 (step S505).

ステップS504に於いて、Noの判定(当該ページデータがイラスト画像のみではないとの判定)がなされた場合には、当該ページデータがイラスト画像と自然画像とを共に含むのか否かを判定部42が更に判定する(ステップS506)。   In step S504, if the determination of No (determination that the page data is not only an illustration image) is made, it is determined whether or not the page data includes both an illustration image and a natural image. Is further determined (step S506).

ステップS506に於いて、Noの判定(当該ページデータが自然画像のみを含むとの判定)がなされた場合には、この判定結果に応じて、決定部46が、複数のファイル形式から当該ページデータをJPEG形式で保存することを決定する。更に、変換部48が、当該ページデータをJPEG形式のファイルとしてページファイルに変換して保存部38に書き込み保存する(ステップS507)。   In step S506, when the determination of No (determination that the page data includes only natural images) is made, the determination unit 46 determines that the page data from a plurality of file formats according to the determination result. Is stored in JPEG format. Further, the conversion unit 48 converts the page data into a page file as a JPEG format file, and writes and stores it in the storage unit 38 (step S507).

ステップS506に於いて、Yesの判定(当該ページデータがイラスト画像と自然画像とを共に含むとの判定)がなされた場合には、イラスト画像と自然画像とを共に含む当該ページデータをJPEG形式で保存するのか否かを判定する(ステップS508)。   If YES is determined in step S506 (determination that the page data includes both an illustration image and a natural image), the page data including both the illustration image and the natural image is displayed in JPEG format. It is determined whether or not to save (step S508).

具体的には、まず、判定部42が、優先判定情報32Bを参照して、当該ページデータを優先画像種別(イラスト画像または自然画像のうち優先される画像種別)として判定し、この判定結果に応じて、決定部46が、当該ページデータをJPEG形式で保存するのか否かを決定する。   Specifically, first, the determination unit 42 refers to the priority determination information 32B and determines the page data as a priority image type (an image type that is prioritized among illustration images or natural images). In response, the determination unit 46 determines whether or not to save the page data in JPEG format.

より詳細には、優先画像種別がイラスト画像である場合、決定部46は当該ページデータをGIF形式で保存する(即ちJPEG形式で保存しない)と決定する。一方、優先画像種別が自然画像である場合、決定部46は当該ページデータをJPEG形式で保存すると決定する。   More specifically, when the priority image type is an illustration image, the determination unit 46 determines to store the page data in the GIF format (that is, not to store it in the JPEG format). On the other hand, when the priority image type is a natural image, the determination unit 46 determines to save the page data in the JPEG format.

ステップS508に於いて、Yesの判定(イラスト画像と自然画像とを共に含むページデータをJPEG形式で保存するとの決定)がなされた場合には、変換部48が、当該ページデータをJPEG形式のファイルとしてページファイルに変換して保存部38に書き込み保存する(ステップS507)。   In step S508, when the determination of Yes is made (determination that page data including both illustration images and natural images is stored in JPEG format), the conversion unit 48 converts the page data into a JPEG format file. Is converted into a page file and written and stored in the storage unit 38 (step S507).

一方、ステップS508に於いて、Noの判定(イラスト画像と自然画像とを共に含むページデータをGIF形式で保存するとの決定)がなされた場合には、変換部48が、当該ページデータをGIF形式のファイルとしてページファイルに変換して保存部38に書き込み保存する(ステップS505)。   On the other hand, if it is determined in step S508 that No is determined (determination that page data including both the illustration image and the natural image is stored in the GIF format), the conversion unit 48 converts the page data into the GIF format. Is converted into a page file and written and stored in the storage unit 38 (step S505).

そして、全ページについて上述のステップS505またはステップS507が行われたか否かの判定を行い(ステップS509)、Noの判定がなされた場合には、スキャナ12が次の1ページのスキャンを行い、取得部36がRAM34にページデータを生成して一連の処理を繰り返す。以降ステップS509に於いてYesの判定がなされるまで処理を行う。   Then, it is determined whether or not the above-described step S505 or step S507 has been performed for all pages (step S509). If the determination of No is made, the scanner 12 scans and acquires the next page. The unit 36 generates page data in the RAM 34 and repeats a series of processes. Thereafter, the process is performed until a determination of Yes is made in step S509.

このように、本実施形態に於いては、1ページをスキャンしてページデータを生成するステップS503を、原稿の全ページのスキャンが終了するまでステップS509により繰り返すことによって、本発明の取得工程が実現される。   As described above, in this embodiment, step S503 for scanning one page and generating page data is repeated in step S509 until scanning of all pages of the document is completed. Realized.

以上のように、ステップS503乃至ステップS509の処理が実行されると、画像データIDに含まれる全てのページデータについて、個々のページデータごとに保存形式が決定される。即ち、ステップS503乃至ステップS509の処理は、選択部44によって複数の決定方法の中から個別決定方法が選択された場合に実行される処理である。   As described above, when the processing from step S503 to step S509 is executed, the storage format is determined for each piece of page data for all page data included in the image data ID. That is, the processes in steps S503 to S509 are executed when the selection unit 44 selects an individual determination method from a plurality of determination methods.

<統一保存処理>
ステップS501に於いて、Noの判定(複数のページの保存形式を統一するとの判定)がなされた場合の統一保存処理(ステップS502)について説明する。統一保存処理は、選択部44によって複数の決定方法の中から統一決定方法が選択された場合に実行される処理である。
<Unified saving process>
The unified storage process (step S502) when the determination of No (determination that the storage formats of a plurality of pages are unified) is made in step S501. The unified storage process is a process executed when the unified determination method is selected from a plurality of determination methods by the selection unit 44.

図6、図7及び図8は、画像処理装置10の統一保存処理を示すフローチャートである。   6, 7, and 8 are flowcharts illustrating the unified storage process of the image processing apparatus 10.

統一保存処理は、決定部46での決定の仕方によって、例えば、第1ページデータPD1についての判定部42での判定結果に応じた保存形式の決定と、全ページデータについての判定部42での判定結果に基づいて最も多い画像種別に応じた保存形式の決定と、全ページデータについての判定部42での判定結果に基づいて所定の画像種別が1以上含まれている場合の当該画像種別に応じた保存形式の決定と、ユーザによる保存形式の決定とを含む。   The unified storage process is performed according to the determination method in the determination unit 46, for example, determination of the storage format according to the determination result in the determination unit 42 for the first page data PD1, and determination in the determination unit 42 for all page data. Based on the determination result, the storage format corresponding to the most image type is determined, and the image type when one or more predetermined image types are included based on the determination result of the determination unit 42 for all page data The determination of the corresponding storage format and the determination of the storage format by the user are included.

まず、統一する保存形式をユーザが決定するのか否かの選択が、操作部14からの入力によりなされる(ステップS601)。   First, selection as to whether or not the user decides a storage format to be unified is made by input from the operation unit 14 (step S601).

ステップS601に於いて、Yesの選択(保存形式をユーザが決定するとの選択)がなされた場合には、後述するユーザ指定処理を行う(ステップS602)。   If YES is selected in step S601 (selection that the user determines the storage format), user designation processing described later is performed (step S602).

ステップS601に於いて、Noの選択(保存形式をユーザが決定しないとの選択)がなされた場合には、第1ページの画像種別に応じた保存形式で統一するのか否かの判定がなされる(ステップS603)。   In step S601, when No is selected (selection that the user does not decide the storage format), it is determined whether or not to unify the storage format according to the image type of the first page. (Step S603).

ステップS603に於いて、Yesの選択(第1ページの画像種別に応じた保存形式で統一するとの選択)がなされた場合には、スキャナ12が第1ページのスキャンを行い、取得部36がRAM34に第1ページデータPD1を生成する(ステップS604)。   In step S603, when Yes is selected (selection to unify in the storage format according to the image type of the first page), the scanner 12 scans the first page, and the acquisition unit 36 acquires the RAM 34. First page data PD1 is generated (step S604).

そして、保存形式が決定済みか否かの判定がなされる(ステップS605)。ここで、ステップS605が実行される場合とは、第1ページの画像種別に応じた保存形式を決定する場合である。   Then, it is determined whether or not the storage format has been determined (step S605). Here, the case where step S605 is executed is a case where a storage format corresponding to the image type of the first page is determined.

したがって、ステップS604に於いて生成されたページデータが、第1ページデータPD1である場合には、未だ、ページデータ(第1ページデータPD1,第2ページデータPD2,…)またはその集合である画像データIDの保存形式が決定されていない。この場合は、ステップS605に於いて、必ずNoと判定される。   Therefore, if the page data generated in step S604 is the first page data PD1, it is still an image that is page data (first page data PD1, second page data PD2,...) Or a set thereof. The data ID storage format has not been determined. In this case, it is always determined No in step S605.

一方、ステップS604に於いて生成されたページデータが、第2ページデータPD2以降のページデータである場合には、既に、ページデータ(第1ページデータPD1,第2ページデータPD2,…)またはその集合である画像データIDの保存形式は決定されている。この場合は、ステップS605に於いて、必ずYesと判定される。   On the other hand, if the page data generated in step S604 is the page data after the second page data PD2, the page data (first page data PD1, second page data PD2,. The storage format of the image data ID that is a set has been determined. In this case, it is always determined Yes in step S605.

即ち、本実施形態に於ける画像処理装置10では、第2ページデータPD2以降を処理するときに、後述のステップS606,S608(判定部42による画像種別の判定)が実行されることはない。   That is, in the image processing apparatus 10 according to the present embodiment, when processing the second page data PD2 and subsequent steps, steps S606 and S608 (determination of the image type by the determination unit 42) described later are not executed.

ステップS605に於いて、Noの判定(保存形式が未決定であるとの判定)がなされると、ステップS604に於いて生成された第1ページデータPD1がイラスト画像のみを含むのか否かを画像種別判定閾値32Aを基準として判定部42が判定する(ステップS606)。   If a determination of No (determination that the storage format has not been determined) is made in step S605, it is determined whether the first page data PD1 generated in step S604 includes only an illustration image. The determination unit 42 determines using the type determination threshold 32A as a reference (step S606).

尚、ステップS606に於いて、Yesの判定(第1ページデータPD1がイラスト画像のみを含むとの判定)がなされた場合には、この判定結果に応じて、決定部46が、全てのページデータ(第1ページデータPD1,第2ページデータPD2,…)について統一してGIF形式で保存することを決定する。これにより、保存形式がGIF形式に決定されるので、以後、ステップS605に於いてYesと判定されると共に、後述するステップS610に於いてNoと判定される。   In step S606, when a determination of Yes (determination that the first page data PD1 includes only an illustration image) is made, the determination unit 46 determines that all page data is in accordance with the determination result. It is determined that the first page data PD1, the second page data PD2,... Are unified and stored in the GIF format. As a result, the storage format is determined to be the GIF format, so that “Yes” is determined in step S605, and “No” is determined in step S610 described later.

ステップS606に於いて、Yesの判定がなされると、変換部48が、決定部46によって決定された保存形式に従って、第1ページデータPD1をGIF形式のファイルとして第1ページファイルPF1に変換して保存部38に書き込み保存する(ステップS607)。   If YES is determined in step S606, the conversion unit 48 converts the first page data PD1 into the first page file PF1 as a GIF format file in accordance with the storage format determined by the determination unit 46. The data is stored in the storage unit 38 (step S607).

ステップS606に於いて、Noの判定(第1ページがイラスト画像のみではないとの判定)がなされた場合には、第1ページデータPD1がイラスト画像と自然画像とを共に含むのか否かを判定部42が更に判定する(ステップS608)。   In step S606, if No is determined (determination that the first page is not only an illustration image), it is determined whether or not the first page data PD1 includes both the illustration image and the natural image. The unit 42 further determines (step S608).

尚、ステップS608に於いて、Noの判定(第1ページデータPD1が自然画像のみを含むとの判定)がなされた場合には、決定部46が、JPEG形式に統一して保存することを決定する。これにより、保存形式がJPEG形式に決定されるので、以後、ステップS605に於いてYesと判定されると共に、後述するステップS610に於いてYesと判定される。   In step S608, when a determination of No (determination that the first page data PD1 includes only a natural image) is made, the determination unit 46 determines to save the data in the JPEG format. To do. As a result, the storage format is determined to be the JPEG format, so that it is determined as Yes in step S605 and then determined as Yes in step S610 described later.

ステップS608に於いて、Noの判定がなされると、変換部48が、決定部46によって決定された保存形式に従って、第1ページデータPD1をJPEG形式のファイルとして第1ページファイルPF1に変換して保存部38に書き込み保存する(ステップS609)。   If NO is determined in step S608, the conversion unit 48 converts the first page data PD1 into a first page file PF1 as a JPEG format file according to the storage format determined by the determination unit 46. The data is written and saved in the saving unit 38 (step S609).

尚、ステップS608に於いて、Yesの判定(第1ページデータPD1がイラスト画像と自然画像とを共に含むとの判定)がなされた場合には、判定部42が、優先判定情報32Bを参照して、当該第1ページデータPD1を優先画像種別(イラスト画像または自然画像のうち優先される画像種別)として判定する。   In step S608, when a determination of Yes (determination that the first page data PD1 includes both an illustration image and a natural image) is made, the determination unit 42 refers to the priority determination information 32B. Thus, the first page data PD1 is determined as the priority image type (the image type that is given priority among the illustration image and the natural image).

そして、この判定結果に応じて、決定部46が、全てのページデータをJPEG形式に統一して保存するのか否かを決定する。より詳細には、優先画像種別がイラスト画像である場合、決定部46はGIF形式に統一して保存する(即ちJPEG形式に統一して保存しない)と決定する。   Then, according to the determination result, the determination unit 46 determines whether or not to save all the page data in the JPEG format. More specifically, when the priority image type is an illustration image, the determination unit 46 determines to store the data in the GIF format (that is, not to store the data in the JPEG format).

一方、優先画像種別が自然画像である場合、決定部46はJPEG形式に統一して保存すると決定する。これにより、保存形式が決定されるので、以後、ステップS605に於いてYesと判定される。   On the other hand, when the priority image type is a natural image, the determination unit 46 determines to save the image in the JPEG format. As a result, the storage format is determined, and thereafter, it is determined Yes in step S605.

ステップS605またはS608に於いてYesの判定がなされた場合には、決定済みの保存形式がJPEG形式なのかGIF形式なのかの確認を行い、全てのページデータ(第1ページデータPD1,PD2,…)について統一してJPEG形式で保存するのか否かを判定する(ステップS610)。ステップS610が実行される場合には、先述のように、既に決定部46によって保存形式は決定されている。   If YES is determined in step S605 or S608, it is confirmed whether the determined storage format is JPEG format or GIF format, and all page data (first page data PD1, PD2,... ) Is unified and stored in the JPEG format (step S610). When step S610 is executed, the storage format has already been determined by the determination unit 46 as described above.

ステップS610に於いて、Yesの判定(全てのページデータを統一してJPEG形式で保存するとの判定)がなされた場合には、変換部48が、ページデータ(ステップS604に於いて生成したページデータ)をJPEG形式のファイルに変換して保存部38に書き込み保存する(ステップS609)。   If YES is determined in step S610 (determination that all page data are unified and stored in the JPEG format), the conversion unit 48 uses the page data (page data generated in step S604). ) Is converted into a JPEG format file and stored in the storage unit 38 (step S609).

ステップS610に於いて、Noの判定(全てのページデータを統一してGIF形式で保存するとの判定)がなされた場合には、変換部48が、ページデータ(ステップS604に於いて生成したページデータ)をGIF形式のファイルに変換して保存部38に書き込み保存する(ステップS607)。   In step S610, if the determination of No is made (determination that all page data are unified and stored in the GIF format), the conversion unit 48 uses the page data (page data generated in step S604). ) Is converted into a GIF format file and written and saved in the saving unit 38 (step S607).

そして、全ページについて上述のステップS607またはステップS609が行われたか否かの判定を行い(ステップS611)、Noの判定がなされた場合には、スキャナ12が次の1ページのスキャンを行い、取得部36がRAM34にページデータを生成して一連の処理を繰り返し、以降ステップS611に於いてYesの判定がなされるまで処理を行う。   Then, it is determined whether or not the above-described step S607 or step S609 has been performed for all pages (step S611). If the determination of No is made, the scanner 12 scans and acquires the next page. The unit 36 generates page data in the RAM 34 and repeats a series of processes. Thereafter, the process is performed until a Yes determination is made in step S611.

ステップS611に於いて、Yesの判定(全ページについて上述のステップS607またはステップS609が行われたとの判定)がなされた場合には、統一保存処理(ステップS502)を終了し、図5に示す処理に戻って処理を終了する。   If the determination in step S611 is Yes (determination that the above-described step S607 or step S609 has been performed for all pages), the unified storage process (step S502) is terminated, and the process shown in FIG. Return to and finish the process.

このように、ステップS604乃至S611の処理は、一のページデータを第1ページデータPD1とし、この第1ページデータPD1に基づく判定部42の判定結果に応じて統一する保存形式を決定する処理に相当する。尚、一のページデータは第1ページデータPD1に限定されるものではない。例えば、最後のページデータを一のページデータとしても良いし、ユーザによって一のページデータを選択するように構成しても良い。   As described above, the processing of steps S604 to S611 is processing for determining the storage format to be unified according to the determination result of the determination unit 42 based on the first page data PD1 with one page data as the first page data PD1. Equivalent to. Note that one page data is not limited to the first page data PD1. For example, the last page data may be set as one page data, or one page data may be selected by the user.

また、上述の処理によって保存されたページファイル(第1ページファイルPF1,第2ページファイルPF2,…)は、個々のページファイルごとに順次作成されることとなる。しかし、1つの画像データIDに含まれる全てのページデータについて、それらのページファイルのファイル形式は同一の保存形式に統一されている。したがって、個々に作成されるページファイルを、1つの保存データSDに統一しても構わない。   Further, the page files (first page file PF1, second page file PF2,...) Saved by the above-described processing are sequentially created for each page file. However, for all page data included in one image data ID, the file formats of those page files are unified to the same storage format. Therefore, the page files created individually may be unified into one saved data SD.

一方、ステップS603に於いて、Noの選択(第1ページの画像種別に応じた保存形式とはしないとの選択)がなされた場合には、スキャナ12が1ページのスキャンを行い、取得部36がRAM34にページデータを生成する(ステップS701)。   On the other hand, in step S603, when No is selected (selection that the storage format is not set according to the image type of the first page), the scanner 12 scans one page, and the acquisition unit 36 Generates page data in the RAM 34 (step S701).

次に、ステップS701に於いて生成された当該ページデータがイラスト画像のみを含むのか否かを画像種別判定閾値32Aを基準として判定部42が判定する(ステップS702)。   Next, the determination unit 42 determines whether or not the page data generated in step S701 includes only an illustration image based on the image type determination threshold 32A (step S702).

ステップS702に於いて、Yesの判定(当該ページデータがイラスト画像のみを含むとの判定)がなされた場合には、イラスト画像のページ数をカウントアップする(ステップS703)。   If YES is determined in step S702 (determination that the page data includes only an illustration image), the number of pages of the illustration image is counted up (step S703).

ステップS702に於いて、Noの判定(当該ページデータがイラスト画像のみではないとの判定)がなされた場合には、当該ページデータがイラスト画像と自然画像とを共に含むのか否かを判定部42が更に判定する(ステップS704)。   In step S702, when a determination of No (determination that the page data is not only an illustration image) is made, it is determined whether or not the page data includes both an illustration image and a natural image. Is further determined (step S704).

ステップS704に於いて、Noの判定(当該ページデータが自然画像のみを含むとの判定)がなされた場合には、自然画像のページ数をカウントアップする(ステップS705)。   In step S704, if No is determined (determination that the page data includes only a natural image), the number of pages of the natural image is counted up (step S705).

ステップS704に於いて、Yesの判定(当該ページデータがイラスト画像と自然画像とを共に含むとの判定)がなされた場合には、判定部42が優先判定情報32Bを参照しつつ、優先画像種別は自然画像か否かを判定する(ステップS706)。   In step S704, when the determination of Yes (determination that the page data includes both an illustration image and a natural image) is made, the determination unit 42 refers to the priority determination information 32B and determines the priority image type. Determines whether the image is a natural image (step S706).

ステップS706に於いて、Yesの判定(優先画像種別は自然画像であるとの判定)がなされた場合には、ステップS705に進んで自然画像のページ数をカウントアップする。一方、Noの判定(優先画像種別はイラスト画像であるとの判定)がなされた場合には、ステップS703に進んでイラスト画像のページ数をカウントアップする。   If YES is determined in step S706 (determination that the priority image type is a natural image), the process proceeds to step S705, and the number of pages of the natural image is counted up. On the other hand, if a determination of No (determination that the priority image type is an illustration image) is made, the process proceeds to step S703 and the number of pages of the illustration image is counted up.

そして、全ページについて上述のステップS703またはステップS705が行われたか否かの判定を行い(ステップS707)、Noの判定がなされた場合には、スキャナ12が次の1ページのスキャンを行い、取得部36がRAM34にページデータを生成して一連の処理を繰り返す。以降ステップS707に於いてYesの判定がなされるまで処理を行う。   Then, it is determined whether or not the above-described step S703 or step S705 has been performed for all pages (step S707). If the determination of No is made, the scanner 12 scans and acquires the next page. The unit 36 generates page data in the RAM 34 and repeats a series of processes. Thereafter, the process is performed until a determination of Yes is made in step S707.

ステップS707に於いて、Yesの判定(全ページのスキャン、イラスト画像のページ数のカウント及び、自然画像のページ数のカウントが終了したとの判定)がなされた場合には、決定部46が優先決定情報32Cを参照しつつ、識別情報に基づいて、優先決定が有効か否かを判定する(ステップS708)。   In step S707, when the determination of Yes is made (determination that scanning of all pages, counting of the number of pages of illustration images and counting of the number of pages of natural images has ended), the determination unit 46 has priority. Whether or not the priority determination is valid is determined based on the identification information while referring to the determination information 32C (step S708).

優先決定が無効である場合には、決定部46は画像種別の多数決によって一の保存形式を決定すると決定し、自然画像のページ数がイラスト画像のページ数以上か否かを決定部46が判定する(ステップS709)。   When the priority determination is invalid, the determination unit 46 determines that one storage format is determined by the majority of the image types, and the determination unit 46 determines whether the number of natural image pages is equal to or greater than the number of illustration image pages. (Step S709).

ステップS709に於いて、Yesの判定(自然画像のページ数がイラスト画像のページ数以上であるとの判定)がなされた場合、決定部46は、全てのページデータ(第1ページデータPD1,第2ページデータPD2,…)をJPEG形式に統一して保存することを決定する。更に、変換部48が、全てのページデータを含む画像データIDをJPEG形式のファイルとして保存データSDに変換して保存部38に書き込み保存する(ステップS712)。これにより、自然画像のページ数が多い場合には、画像データIDはJPEG形式のファイルとして保存される。   In step S709, when the determination of Yes (determination that the number of pages of the natural image is equal to or larger than the number of pages of the illustration image) is made, the determination unit 46 determines that all the page data (first page data PD1, first page data PD1) 2 page data PD2,...) Are unified and stored in the JPEG format. Further, the conversion unit 48 converts the image data ID including all the page data into a storage data SD as a JPEG format file, and writes and stores it in the storage unit 38 (step S712). As a result, when the number of pages of the natural image is large, the image data ID is stored as a JPEG format file.

ステップS709に於いて、Noの判定(自然画像のページ数がイラスト画像のページ数未満であるとの判定)がなされた場合、決定部46は、全てのページデータ(第1ページデータPD1,第2ページデータPD2,…)をGIF形式に統一して保存することを決定する。更に、変換部48が、全てのページデータを含む画像データIDをGIF形式のファイルとして保存データSDに変換して保存部38に書き込み保存する(ステップS714)。これにより、全てのページがイラスト画像の場合には、画像データIDはGIF形式のファイルとして保存される。   In step S709, when the determination of No (determination that the number of pages of the natural image is less than the number of pages of the illustration image) is made, the determination unit 46 determines that all the page data (first page data PD1, first page data PD1) 2 page data PD2,...) Are decided to be stored in the GIF format. Further, the conversion unit 48 converts the image data ID including all the page data into the storage data SD as a GIF format file, and writes and stores it in the storage unit 38 (step S714). Thus, when all pages are illustration images, the image data ID is stored as a GIF file.

一方、ステップS708に於いて、Yesの判定(優先決定が有効であるとの判定)がなされた場合、更に決定部46は、自然画像のページ数が1以上であるか否かを判定する(ステップS710)。   On the other hand, if a determination of Yes (determination that the priority determination is valid) is made in step S708, the determination unit 46 further determines whether or not the number of pages of the natural image is 1 or more ( Step S710).

ステップS710に於いて、Noの判定(自然画像のページ数が0であるとの判定)がなされた場合には、前述のステップS714を実行する。これにより、イラスト画像と判定されたページのみの原稿については、その画像データIDをGIF形式に統一して保存すると決定される。言い換えれば、仮に、優先決定情報32Cに示される優先画像種別が「自然画像」であったとしても、画像データIDに含まれるページデータが全てイラスト画像であると判定された場合には、当該画像データIDはイラスト画像に適したGIF形式に統一して保存される。   If No is determined in step S710 (determination that the number of pages of the natural image is 0), step S714 described above is executed. As a result, it is determined that the document having only the page determined to be an illustration image is stored with the image data ID unified in the GIF format. In other words, even if the priority image type indicated in the priority determination information 32C is “natural image”, if it is determined that all the page data included in the image data ID are illustration images, the image The data ID is stored in a unified GIF format suitable for illustration images.

ステップS710に於いて、Yesの判定(自然画像のページ数が1以上であるとの判定)がなされた場合、更に決定部46は、優先決定情報32Cに示される優先画像種別が自然画像であるか否かを判定する(ステップS711)。   If the determination in step S710 is Yes (determination that the number of natural image pages is 1 or more), the determination unit 46 further determines that the priority image type indicated in the priority determination information 32C is a natural image. It is determined whether or not (step S711).

ステップS711に於いて、Yesの判定(優先画像種別が自然画像であるとの判定)がなされた場合には、前述のステップS712を実行する。このようにして、決定部46は、判定部42で判定されたページデータの画像種別に自然画像が含まれている場合には、自然画像に適したJPEG形式に統一して保存することを決定する。   If YES is determined in step S711 (determination that the priority image type is a natural image), step S712 described above is executed. In this way, when the natural image is included in the image type of the page data determined by the determination unit 42, the determination unit 46 determines to save the image in a JPEG format suitable for the natural image. To do.

ステップS711に於いて、Noの判定(優先画像種別がイラスト画像であるとの判定)がなされた場合、更に決定部46は、イラスト画像のページ数が1以上か否かを判定し(ステップS713)、イラスト画像のページ数が1以上でない場合は、ステップS712を実行する。   If the determination in step S711 is No (determination that the priority image type is an illustration image), the determination unit 46 further determines whether the number of pages of the illustration image is 1 or more (step S713). ) If the number of pages of the illustration image is not 1 or more, step S712 is executed.

これにより、自然画像と判定されたページのみの原稿については、その画像データIDをJPEG形式に統一して保存すると決定される。言い換えれば、優先決定情報32Cに示される優先画像種別が「イラスト画像」であったとしても、画像データIDに含まれるページデータが全て自然画像であると判定された場合には、当該画像データIDは自然画像に適したJPEG形式に統一して保存される。   As a result, it is determined that the document having only the page determined to be a natural image is stored with the image data ID unified in the JPEG format. In other words, even if the priority image type indicated in the priority determination information 32C is “illustration image”, if it is determined that all the page data included in the image data ID is a natural image, the image data ID Are stored in a unified JPEG format suitable for natural images.

一方、ステップS713に於いて、Yesの判定(イラスト画像のページ数が1以上であるとの判定)がなされた場合には、前述のステップS714を実行する。このようにして、決定部46は、判定部42で判定されたページデータの画像種別にイラスト画像が含まれている場合には、イラスト画像に適したGIF形式に統一して保存することを決定する。   On the other hand, if the determination in step S713 is Yes (determination that the number of pages of the illustration image is 1 or more), the above-described step S714 is executed. In this way, when the image type of the page data determined by the determination unit 42 includes an illustration image, the determination unit 46 determines to save the image in a GIF format suitable for the illustration image. To do.

ステップS712またはステップS714が実行されると、統一保存処理(ステップS502)を終了する。これにより、画像処理装置10は、図5に示す処理に戻り、処理を終了する。   When step S712 or step S714 is executed, the unified storage process (step S502) is terminated. As a result, the image processing apparatus 10 returns to the process illustrated in FIG. 5 and ends the process.

<ユーザ指定処理>
ステップS601に於いて、Yesの選択(保存形式をユーザが決定するとの選択)がなされた場合のユーザ指定処理(ステップS602)について説明する。
<User specified processing>
A user designation process (step S602) when Yes is selected (selection that the user determines the storage format) is made in step S601.

図9は、画像処理装置10のユーザ指定処理(ステップS602)を示すフローチャートである。   FIG. 9 is a flowchart showing user designation processing (step S602) of the image processing apparatus 10.

ユーザ指定処理(ステップS602)は、複数のページデータ(第1ページデータPD1,第2ページデータPD2,…)の集合である画像データIDの保存処理を、ユーザの指示に基づいて行う処理である。   The user designation process (step S602) is a process for performing a storage process of an image data ID that is a set of a plurality of page data (first page data PD1, second page data PD2,...) Based on a user instruction. .

ユーザ指定処理(ステップS602)が開始されると、画像処理装置10は、操作部14を介する等してユーザによって統一する保存形式(例えば、JPEG形式かまたはGIF形式)が入力されるまで待機する(ステップS801)。   When the user designation process (step S602) is started, the image processing apparatus 10 waits until a storage format (for example, JPEG format or GIF format) to be unified by the user is input through the operation unit 14 or the like. (Step S801).

ユーザから統一する保存形式が入力されると、ステップS801に於いてYesと判定し、決定部46は、該入力された保存形式に統一することを決定する。   When a unified storage format is input from the user, it is determined Yes in step S801, and the determination unit 46 determines to unify the input storage format.

保存形式が決定されると、スキャナ12が1ページのスキャンを行い、取得部36がRAM34にページデータを生成する(ステップS802)。   When the storage format is determined, the scanner 12 scans one page, and the acquisition unit 36 generates page data in the RAM 34 (step S802).

ページデータが生成されると、ステップS801に於いて決定された保存形式がJPEG形式であるのか否かを判定する(ステップS803)。   When the page data is generated, it is determined whether or not the storage format determined in step S801 is the JPEG format (step S803).

ステップS803に於いて、Yesの判定(決定された保存形式がJPEG形式であるとの判定)がなされた場合には、ステップS802に於いて生成されたページデータを、変換部48が、JPEG形式のファイルとしてページファイルに変換して保存部38に書き込み保存する(ステップS804)。   If YES is determined in step S803 (determination that the determined storage format is the JPEG format), the conversion unit 48 converts the page data generated in step S802 into the JPEG format. Is converted into a page file and written and stored in the storage unit 38 (step S804).

一方、ステップS803に於いて、Noの判定(決定された保存形式がGIF形式であるとの判定)がなされた場合には、ステップS802に於いて生成されたページデータを、変換部48が、GIF形式のファイルとしてページファイルに変換して保存部38に書き込み保存する(ステップS805)。   On the other hand, when the determination of No (determination that the determined storage format is the GIF format) is made in step S803, the conversion unit 48 converts the page data generated in step S802 to It is converted into a page file as a GIF format file and written and stored in the storage unit 38 (step S805).

更に、全ページについて上述のステップS804またはステップS805が行われたか否かの判定を行い(ステップS806)、Noの判定がなされた場合には、ステップS802に戻って処理を繰り返す。   Further, it is determined whether or not the above-described step S804 or step S805 has been performed for all pages (step S806). If the determination of No is made, the process returns to step S802 and the process is repeated.

一方、全ページをスキャン済みである場合(ステップS806に於いてYes)、ユーザ指定処理を終了する。ユーザ指定処理を終了すると、画像処理装置10は、図6に示す処理に戻って統一保存処理を終了する。統一保存処理を終了すると、画像処理装置10は、更に図5に示す処理に戻り、処理を終了する。   On the other hand, if all the pages have been scanned (Yes in step S806), the user designation process is terminated. When the user designation process is finished, the image processing apparatus 10 returns to the process shown in FIG. 6 and finishes the unified storage process. When the unified storage process ends, the image processing apparatus 10 returns to the process shown in FIG. 5 and ends the process.

以上のように、取得された複数のページデータ(第1ページデータPD1,第2ページデータPD2,…)の保存形式を、保存形式決定方法に従って決定することにより、画像データIDに複数のページデータが含まれていても対応できる。また、保存形式決定方法を複数の決定方法から選択するので、ユーザの要求や画像データIDの内容に応じて柔軟に対応できる。   As described above, by determining the storage format of the acquired plurality of page data (first page data PD1, second page data PD2,...) According to the storage format determination method, a plurality of page data is included in the image data ID. Even if is included, it can respond. Further, since the storage format determination method is selected from a plurality of determination methods, it is possible to flexibly cope with the user's request and the content of the image data ID.

ここで、複数の決定方法は、画像データIDに含まれる個々のページデータ(第1ページデータPD1,第2ページデータPD2,…)ごとに保存形式を決定する個別決定方法を含むので、各ページデータ(第1ページデータPD1,第2ページデータPD2,…)に表現されている画像に適した保存形式で保存することが可能となり、画像データIDに含まれる画像の劣化等を回避または抑制することができる。   Here, the plurality of determination methods include individual determination methods for determining the storage format for each page data (first page data PD1, second page data PD2,...) Included in the image data ID. It is possible to save in a storage format suitable for the image expressed in the data (first page data PD1, second page data PD2,...), And avoid or suppress deterioration of the image included in the image data ID. be able to.

また、複数の決定方法は、画像データIDに含まれる全てのページデータ(第1ページデータPD1,第2ページデータPD2,…)について同一の保存形式を決定する統一決定方法を含むので、変換された保存データSDが単一形式のデータとなり、保存データSDの保存や編集を行うことが容易となる。   In addition, the plurality of determination methods include a unified determination method for determining the same storage format for all page data (first page data PD1, second page data PD2,...) Included in the image data ID, and are thus converted. The saved data SD becomes data in a single format, and it becomes easy to save and edit the saved data SD.

また、統一決定方法が選択された場合に於いては、一のページデータ(第1ページデータPD1,第2ページデータPD2,…)に基づく判定部42での判定結果に応じて複数のファイル形式から保存形式を決定するので、保存形式の決定を速やかに行うことができる。   When the unified determination method is selected, a plurality of file formats are selected according to the determination result in the determination unit 42 based on one page data (first page data PD1, second page data PD2,...). Since the storage format is determined from the above, the storage format can be determined promptly.

また、統一決定方法が選択された場合に於いては、全てのページデータ(第1ページデータPD1,第2ページデータPD2,…)に基づく判定部42での判定結果に応じて複数のファイル形式から保存形式を決定するので、ユーザがページごとに保存形式を選択する操作を省くことが可能となり、画像データIDに応じた保存形式で保存することが可能となる。   When the unified determination method is selected, a plurality of file formats are selected according to the determination result in the determination unit 42 based on all the page data (first page data PD1, second page data PD2,...). Therefore, the user can omit the operation of selecting the storage format for each page, and the storage format can be stored according to the image data ID.

更に、決定部46は、判定部42によって判定されたページデータ(第1ページデータPD1,第2ページデータPD2,…)の画像種別のうち最も多い画像種別に応じて複数のファイル形式から保存形式を決定するので、保存される画像の劣化等を回避または抑制することが可能となる。   Further, the determination unit 46 saves from a plurality of file formats according to the largest image type among the image types of the page data (first page data PD1, second page data PD2,...) Determined by the determination unit 42. Therefore, it is possible to avoid or suppress deterioration of the stored image.

更に、決定部46は、判定部42で判定されたページデータ(第1ページデータPD1,第2ページデータPD2,…)の画像種別に自然画像が含まれている場合には、複数のファイル形式から自然画像に適した保存形式を決定するので、画像データIDに含まれる自然画像の劣化等を回避または抑制することが可能となる。   Further, when the natural image is included in the image type of the page data (first page data PD1, second page data PD2,...) Determined by the determination unit 42, the determination unit 46 has a plurality of file formats. Therefore, it is possible to avoid or suppress deterioration of the natural image included in the image data ID.

更に、決定部46は、判定部42で判定された(第1ページデータPD1,第2ページデータPD2,…)の画像種別にイラスト画像が含まれている場合には、複数のファイル形式からイラスト画像に適した保存形式を決定するので、画像データIDに含まれるイラスト画像の劣化等を回避または抑制することが可能となる。   Further, when the image type determined by the determination unit 42 (first page data PD1, second page data PD2,...) Includes an illustration image, the determination unit 46 displays an illustration from a plurality of file formats. Since the storage format suitable for the image is determined, it is possible to avoid or suppress degradation of the illustration image included in the image data ID.

また、判定部42は、ページデータ(第1ページデータPD1,第2ページデータPD2,…)に相異なる種別の画像が複数含まれている場合には、当該ページデータ(第1ページデータPD1,第2ページデータPD2,…)の画像種別を、予め定められた優先画像種別として判定するので、複数種類の画像種別の画像が含まれているページデータ(第1ページデータPD1,第2ページデータPD2,…)の画像種別を判定することができると共に、一の画像種別を他の画像種別よりも優先することが可能となる。   Further, when the page data (first page data PD1, second page data PD2,...) Includes a plurality of different types of images, the determination unit 42 determines the page data (first page data PD1, Since the image type of the second page data PD2,... Is determined as a predetermined priority image type, page data (first page data PD1, second page data) containing images of a plurality of image types is determined. PD2,...) Can be determined, and one image type can be prioritized over other image types.

<変形例>
以上、本発明の実施形態について説明したが、本発明は上記説明した内容のものに限定されるものではない。
<Modification>
As mentioned above, although embodiment of this invention was described, this invention is not limited to the thing of the content demonstrated above.

例えば、本実施形態に於いては、画像ファイルの保存形式(圧縮方式)をJPEG形式とGIF形式の何れかとしたが、TIF形式やビットマップ形式、PNG形式、PDF形式等の圧縮方式でも構わないのは勿論であり、MMR形式やMH形式等のファクシミリの通信プロトコルに合わせた圧縮方式でも構わない。   For example, in this embodiment, the storage format (compression method) of the image file is one of the JPEG format and the GIF format, but a compression method such as a TIF format, a bitmap format, a PNG format, or a PDF format may be used. Of course, a compression method adapted to a facsimile communication protocol such as MMR format or MH format may be used.

また、例えば、判定部42での判定結果に拘わらず、操作部14からの入力により予め定められた保存形式とするようにしても構わない。   Further, for example, regardless of the determination result in the determination unit 42, the storage format may be set in advance by input from the operation unit 14.

また、上記実施の形態では、図4に於いて、画像種別判定閾値32A、優先判定情報32Bおよび優先決定情報32CをROM32に保存するように図示した。しかしこれらは、必ずしもROM32に保存されている必要はなく、RAM34に保存されていても良い。また、ROM32またはRAM34のどちらに保存するかをユーザが選択できるようにしても良い。更には、保存されているこれらの情報をユーザが変更することが可能とされていても良い。   In the above embodiment, the image type determination threshold 32A, the priority determination information 32B, and the priority determination information 32C are illustrated in FIG. However, these are not necessarily stored in the ROM 32, and may be stored in the RAM 34. In addition, the user may be able to select either the ROM 32 or the RAM 34 to save. Further, the stored information may be changed by the user.

また、本発明は、上述の処理を行うことが可能な回路構成であっても良く、上述の各工程に限定されるものでもない。   Further, the present invention may be a circuit configuration capable of performing the above-described processing, and is not limited to the above-described steps.

また、保存形式決定方法として選択される決定方法は、上記実施の形態に示した個別決定方法と統一決定方法とに限られるものではない。例えば、2つのページデータごとに保存形式を決定する方法であっても良い。あるいは、半数のページデータについては保存形式を統一するように決定し、残りのページデータについては個々に保存形式を決定する方法のように、異なる数のページデータごとに保存形式を決定する方法であっても良い。   The determination method selected as the storage format determination method is not limited to the individual determination method and the unified determination method described in the above embodiment. For example, a method of determining a storage format for every two page data may be used. Alternatively, it is determined by unifying the storage format for half of the page data and determining the storage format for each different number of page data, such as determining the storage format for the remaining page data individually. There may be.

本発明の実施形態に係る画像処理装置の外部構成の概略(カバーを閉じた状態)を示す図である。1 is a diagram illustrating an outline of an external configuration of an image processing apparatus according to an embodiment of the present invention (a state in which a cover is closed). 本発明の実施形態に係る画像処理装置の外部構成の概略(カバーを開いた状態)を示す図である。1 is a diagram illustrating an outline (in a state where a cover is opened) of an external configuration of an image processing apparatus according to an embodiment of the present invention. 画像処理装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of an image processing apparatus. 画像処理装置の機能ブロック図である。It is a functional block diagram of an image processing apparatus. 画像処理装置の処理内容を示すフローチャートである。It is a flowchart which shows the processing content of an image processing apparatus. 画像処理装置の統一保存処理を示すフローチャートである。It is a flowchart which shows the unified preservation | save process of an image processing apparatus. 画像処理装置の統一保存処理を示すフローチャートである。It is a flowchart which shows the unified preservation | save process of an image processing apparatus. 画像処理装置の統一保存処理を示すフローチャートである。It is a flowchart which shows the unified preservation | save process of an image processing apparatus. 画像処理装置のユーザ指定処理を示すフローチャートである。It is a flowchart which shows the user designation | designated process of an image processing apparatus.

符号の説明Explanation of symbols

10 画像処理装置
12 スキャナ
14 操作部
16 表示部
30 MPU
32 ROM
34 RAM
36 取得部
38 保存部
IF ネットワークインタフェイス
42 判定部
44 選択部
46 決定部
48 変換部
ID 画像データ
PD1 第1ページデータ
PD2 第2ページデータ
SD 保存データ
PF1 第1ページファイル
PF2 第2ページファイル
DESCRIPTION OF SYMBOLS 10 Image processing apparatus 12 Scanner 14 Operation part 16 Display part 30 MPU
32 ROM
34 RAM
36 acquisition unit 38 storage unit IF network interface 42 determination unit 44 selection unit 46 determination unit 48 conversion unit ID image data PD1 first page data PD2 second page data SD storage data PF1 first page file PF2 second page file

Claims (10)

画像処理装置であって、
複数のページデータを含む画像データを取得する取得部と、
複数の決定方法の中から、前記画像データの保存形式決定方法を選択する選択部と、
前記画像データに含まれるページデータに基づいて、前記ページデータが表現する画像の画像種別を判定する判定部と、
前記選択部によって選択された保存形式決定方法に従って、前記判定部の判定結果に応じて複数のファイル形式から保存形式を決定する決定部と、
前記決定部により決定された保存形式で前記画像データを保存データに変換する変換部と、
前記変換部によって変換された保存データを保存する保存部と、
を備えることを特徴とする画像処理装置。
An image processing apparatus,
An acquisition unit for acquiring image data including a plurality of page data;
A selection unit for selecting a storage format determination method of the image data from a plurality of determination methods;
A determination unit that determines an image type of an image represented by the page data based on page data included in the image data;
In accordance with a storage format determination method selected by the selection unit, a determination unit that determines a storage format from a plurality of file formats according to a determination result of the determination unit;
A conversion unit that converts the image data into storage data in the storage format determined by the determination unit;
A storage unit for storing the storage data converted by the conversion unit;
An image processing apparatus comprising:
請求項1に記載の画像処理装置であって、
前記複数の決定方法は、前記画像データに含まれる個々のページデータごとに保存形式を決定する個別決定方法を含むことを特徴とする画像処理装置。
The image processing apparatus according to claim 1,
The plurality of determination methods include an individual determination method for determining a storage format for each page data included in the image data.
請求項1または請求項2に記載の画像処理装置であって、
前記複数の決定方法は、前記画像データに含まれる全てのページデータについて同一の保存形式を決定する統一決定方法を含むことを特徴とする画像処理装置。
The image processing apparatus according to claim 1 or 2,
The plurality of determination methods include a unified determination method for determining the same storage format for all page data included in the image data.
請求項3に記載の画像処理装置であって、
前記選択部によって前記統一決定方法が選択された場合に於いて、前記決定部は、一のページデータに基づく前記判定部での判定結果に応じて前記複数のファイル形式から保存形式を決定することを特徴とする画像処理装置。
The image processing apparatus according to claim 3,
When the uniform determination method is selected by the selection unit, the determination unit determines a storage format from the plurality of file formats according to a determination result in the determination unit based on one page data. An image processing apparatus.
請求項3に記載の画像処理装置であって、
前記選択部によって前記統一決定方法が選択された場合に於いて、前記決定部は、前記画像データに含まれる全てのページデータに基づく前記判定部での判定結果に応じて前記複数のファイル形式から保存形式を決定することを特徴とする画像処理装置。
The image processing apparatus according to claim 3,
In the case where the unified determination method is selected by the selection unit, the determination unit selects from the plurality of file formats according to the determination result in the determination unit based on all the page data included in the image data. An image processing apparatus characterized by determining a storage format.
請求項5に記載の画像処理装置であって、
前記決定部は、前記判定部で判定されたページデータの画像種別のうち最も多い画像種別に応じて前記複数のファイル形式から保存形式を決定することを特徴とする画像処理装置。
The image processing apparatus according to claim 5,
The image processing apparatus, wherein the determination unit determines a storage format from the plurality of file formats in accordance with the largest image type among the image types of page data determined by the determination unit.
請求項5に記載の画像処理装置であって、
前記決定部は、前記判定部で判定されたページデータの画像種別に自然画像が含まれている場合には、前記複数のファイル形式から前記自然画像に適した保存形式を決定することを特徴とする画像処理装置。
The image processing apparatus according to claim 5,
The determining unit determines a storage format suitable for the natural image from the plurality of file formats when a natural image is included in the image type of the page data determined by the determining unit. An image processing apparatus.
請求項5に記載の画像処理装置であって、
前記決定部は、前記判定部で判定された前記ページデータの画像種別にイラスト画像が含まれている場合には、前記複数のファイル形式から前記イラスト画像に適した保存形式を決定することを特徴とする画像処理装置。
The image processing apparatus according to claim 5,
The determining unit determines a storage format suitable for the illustration image from the plurality of file formats when the image type of the page data determined by the determining unit includes an illustration image. An image processing apparatus.
請求項1乃至請求項8の何れかに記載の画像処理装置であって、
前記判定部は、ページデータに相異なる種別の画像が複数含まれている場合には、前記ページデータの画像種別を、予め定められた優先画像種別として判定することを特徴とする画像処理装置。
An image processing apparatus according to any one of claims 1 to 8,
The determination unit determines an image type of the page data as a predetermined priority image type when a plurality of different types of images are included in the page data.
複数のページデータを含む画像データを取得する取得工程と、
複数の決定方法の中から、前記画像データの保存形式決定方法を選択する選択工程と、
前記画像データに含まれるページデータに基づいて、前記ページデータが表現する画像の画像種別を判定する判定工程と、
前記選択工程によって選択された保存形式決定方法に従って、前記判定工程の判定結果に応じて複数のファイル形式から保存形式を決定する決定工程と、
前記決定工程により決定された保存形式で前記画像データを保存データに変換する変換工程と、
前記変換工程によって変換された保存データを保存する保存工程と、
を備えることを特徴とする画像処理方法。
An acquisition step of acquiring image data including a plurality of page data;
A selection step of selecting a storage format determination method of the image data from a plurality of determination methods;
A determination step of determining an image type of an image represented by the page data based on page data included in the image data;
According to the storage format determination method selected by the selection step, a determination step of determining a storage format from a plurality of file formats according to the determination result of the determination step;
A conversion step of converting the image data into storage data in the storage format determined by the determination step;
A storage step of storing the storage data converted by the conversion step;
An image processing method comprising:
JP2006141238A 2006-05-22 2006-05-22 Image processor and image processing method Pending JP2007310775A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006141238A JP2007310775A (en) 2006-05-22 2006-05-22 Image processor and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006141238A JP2007310775A (en) 2006-05-22 2006-05-22 Image processor and image processing method

Publications (1)

Publication Number Publication Date
JP2007310775A true JP2007310775A (en) 2007-11-29

Family

ID=38843548

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006141238A Pending JP2007310775A (en) 2006-05-22 2006-05-22 Image processor and image processing method

Country Status (1)

Country Link
JP (1) JP2007310775A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013153273A (en) * 2012-01-24 2013-08-08 Fuji Xerox Co Ltd Image processing device, image reading device, and program
US8570619B2 (en) 2011-03-18 2013-10-29 Brother Kogyo Kabushiki Kaisha Control devices for scanning documents, systems including such control devices, and non-transitory, computer-readable media storing instructions for such control devices
CN103390260A (en) * 2012-05-09 2013-11-13 腾讯科技(深圳)有限公司 Method and device for image processing
US8792719B2 (en) 2011-07-29 2014-07-29 Brother Kogyo Kabushiki Kaisha Image processing device determining attributes of regions
US8830529B2 (en) 2011-07-29 2014-09-09 Brother Kogyo Kabushiki Kaisha Image processing device for accurately identifying region in image without increase in memory requirement
US8837836B2 (en) 2011-07-29 2014-09-16 Brother Kogyo Kabushiki Kaisha Image processing device identifying attribute of region included in image
US8929663B2 (en) 2011-07-29 2015-01-06 Brother Kogyo Kabushiki Kaisha Image processing device identifying region in image as one of uniform region and nonuniform region

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8570619B2 (en) 2011-03-18 2013-10-29 Brother Kogyo Kabushiki Kaisha Control devices for scanning documents, systems including such control devices, and non-transitory, computer-readable media storing instructions for such control devices
US8792719B2 (en) 2011-07-29 2014-07-29 Brother Kogyo Kabushiki Kaisha Image processing device determining attributes of regions
US8830529B2 (en) 2011-07-29 2014-09-09 Brother Kogyo Kabushiki Kaisha Image processing device for accurately identifying region in image without increase in memory requirement
US8837836B2 (en) 2011-07-29 2014-09-16 Brother Kogyo Kabushiki Kaisha Image processing device identifying attribute of region included in image
US8929663B2 (en) 2011-07-29 2015-01-06 Brother Kogyo Kabushiki Kaisha Image processing device identifying region in image as one of uniform region and nonuniform region
JP2013153273A (en) * 2012-01-24 2013-08-08 Fuji Xerox Co Ltd Image processing device, image reading device, and program
CN103390260A (en) * 2012-05-09 2013-11-13 腾讯科技(深圳)有限公司 Method and device for image processing

Similar Documents

Publication Publication Date Title
US7684077B2 (en) Image processing apparatus and image processing method
US9069514B2 (en) Image processing apparatus, including conversion process judging, connectable to server via network
US8203762B2 (en) Image reading device, image reading method and reading control program
US8934131B2 (en) Controlling device
JP2007310775A (en) Image processor and image processing method
EP2403228B1 (en) Image scanning apparatus, computer readable medium, and image storing method
US20190058804A1 (en) System and method for multiple document scanning
JP2022126829A (en) Image processing device, image processing method an program
JP2007060373A (en) Apparatus and method for selecting output destination
JP2015115838A (en) Image processor, image processing method, and program for executing image processing
JP6417134B2 (en) Image reading apparatus, program, image reading method, image reading system, and server system
JP2003046734A (en) Method and program for scanning image and recording medium
JP2015115716A (en) Image reading device and control method of the same
JP2014017636A (en) Image reader and program
JP7022318B2 (en) Programs and information processing equipment
US20200036846A1 (en) Image processing apparatus with direct print function, control method therefor, and storage medium
JP2008213406A (en) Printing processor, printing processing method, and its program
JP2010109944A (en) Image reading unit
JP2021044687A (en) Image processing apparatus, and image processing method
JP6560942B2 (en) Image forming apparatus, control method therefor, and control program
JP6443043B2 (en) Scanner
WO2022256035A1 (en) Scanning technique adjustable per page
JP4954835B2 (en) Image processing apparatus and image forming apparatus
US20190012757A1 (en) Image processing apparatus and image processing method
KR101177451B1 (en) The scanning apparatus and method using portable storing device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20091001

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091117

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100309