WO2006064938A1 - 画像処理方法、画像処理装置、および画像処理装置の制御プログラム - Google Patents

画像処理方法、画像処理装置、および画像処理装置の制御プログラム Download PDF

Info

Publication number
WO2006064938A1
WO2006064938A1 PCT/JP2005/023209 JP2005023209W WO2006064938A1 WO 2006064938 A1 WO2006064938 A1 WO 2006064938A1 JP 2005023209 W JP2005023209 W JP 2005023209W WO 2006064938 A1 WO2006064938 A1 WO 2006064938A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
mark
image processing
processing method
printed
Prior art date
Application number
PCT/JP2005/023209
Other languages
English (en)
French (fr)
Inventor
Hisao Terajima
Original Assignee
Canon Kabushiki Kaisha
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 Canon Kabushiki Kaisha filed Critical Canon Kabushiki Kaisha
Priority to US11/409,983 priority Critical patent/US7760384B2/en
Publication of WO2006064938A1 publication Critical patent/WO2006064938A1/ja

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00132Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture in a digital photofinishing system, i.e. a system where digital photographic images undergo typical photofinishing processing, e.g. printing ordering
    • H04N1/00143Ordering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00132Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture in a digital photofinishing system, i.e. a system where digital photographic images undergo typical photofinishing processing, e.g. printing ordering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00132Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture in a digital photofinishing system, i.e. a system where digital photographic images undergo typical photofinishing processing, e.g. printing ordering
    • H04N1/00167Processing or editing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00352Input means
    • H04N1/00355Mark-sheet input
    • H04N1/00358Type of the scanned marks
    • H04N1/00366Marks in boxes or the like, e.g. crosses or blacking out
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00352Input means
    • H04N1/00355Mark-sheet input
    • H04N1/00368Location of the scanned marks
    • H04N1/00371Location of the scanned marks on a separate sheet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00485Output means providing a hardcopy output to the user, e.g. print out

Definitions

  • the present invention relates to an image processing method, an image processing apparatus, and a control program for the image processing apparatus for specifying image data to be printed out by an image recording means based on description information on a mark sheet read from an image reading means. is there.
  • an MFP with a scanner means can print a thumbnail image of a photographic image as shown in FIG. 7 and a mark sheet (also called an order sheet) including a mark column. Then, after the user marks the mark column of this mark sheet, the mark sheet can be printed by reading the mark sheet with the MFP scanner (Japanese Patent Laid-Open No. 2 0 0 2-2 7). 3 9 7 3.
  • mark fields for various print settings paper option designation as shown in the figure are arranged. Below that, thumbnail image B and the mark corresponding to each thumbnail image B are displayed. Column C is placed.
  • the three marks in this mark column C are used to specify the number of copies of the corresponding thumbnail image B, and correspond to 1-, 2-, and 3-sheet printing, respectively, from the left.
  • the user can print the specified number of specified images by painting the required number of marks and then reading this sheet with the MFP scanner.
  • a mark field D for designating the paper discharge method and reprinting of the sheet.
  • the maximum number of prints is limited to a few.
  • the number of sheets “1” is associated with one mark, so 10 mark fields are required to enable printing of 10 sheets.
  • the required area increases. Even if a method such as adding a mark to specify the number of sheets in units of 5 or 10 is used, there is a limit to the space for placing the mark, and the handling becomes complicated. is there.
  • FIG. 3 and FIG. 4 of Japanese Patent Laid-Open No. 2 0 2-2 7 3 9 7 3 describe an example in which the area of the mark column is substantially equal to the area of the thumbnail image.
  • the listing will be inconvenient and inconvenient. That is, the user has multiple pages. This requires a complicated operation of selecting an image from images over a wide range.
  • the time required for printing the mark sheet increases, so the waiting time increases.
  • the thumbnail image is made smaller, the increase in the mark area can be absorbed and the listability can be maintained, but there is a problem that it becomes difficult to discriminate the image and the selection of the image itself becomes difficult.
  • Step 1 First, print 3 photos 1, then print 10 photos 2, and finally print 5 photos 3.
  • mark sheet for printing three photos 1, mark sheet for printing three photos 2, mark sheet for printing one photo 2, mark sheet for printing three photos 3, photo 3
  • a mark sheet for printing two sheets These mark sheets are read once, three times, once, once, once and printed.
  • Step 2 First print 3 photos 1, 2 and 3 respectively, then print 3 photos 2 and 2 photos 3, then print 3 photos 2 and finally photo 2 1 Operation to print a sheet.
  • mark sheets for printing three photos 1, 2, and 3 each, a mark sheet for printing three photos 2 and two photos 3, and printing three photos 2
  • a mark sheet for printing three photos 2 and two photos 3 and printing three photos 2
  • a mark sheet for printing three photos 2 and two photos 3 and printing three photos 2
  • the number of sheets to be prepared is four and the number of readings is four. Compared to step 1, fewer mark sheets are required and the number of readings is less, but the user feels that the number of sheets and the number of readings are large. It gives the impression that the operation is very complicated.
  • Japanese Patent Laid-Open No. 20 0 4-1 4 5 5 6 3 is disclosed in Japanese Patent Laid-Open No. 10 _ 2 1 4 0 0 3 discloses a technique for detecting the number of faces in a subject by detecting the number of faces in the image, the skin color area, and the shape pattern specific to the person by image recognition processing. Has been.
  • all of these known technologies are configured to immediately print photographs for the number of people detected, and cannot solve the problems in the configuration using the above-described mark sheet. Hints are also not suggested in these known documents.
  • An object of the present invention is to solve the above-described problems and to appropriately control the format of a mark sheet for specifying an image file of a photograph to be printed and the number of sheets.
  • an image processing method, an image processing apparatus, and an image processing for specifying image data to be recorded and output by an image recording unit based on description information on a mark sheet read from the image reading unit In the control program of the device, the image data to be printed out is analyzed, the number of subjects in the image data is detected, and the thumbnail image of the image and the number of subjects detected from the image are detected.
  • a configuration has been adopted in which a mark sheet including a mark column that can specify the number of prints of the corresponding image is printed.
  • the format of the mark sheet for specifying the number of images of the photo to be printed can be controlled appropriately, and the mark sheet listability can be controlled. Printing for the number of people can be easily performed while preventing a decrease. Furthermore, there is an excellent effect that it is possible to easily specify the number of printed sheets for the expected number of people in the mark area with a small area.
  • FIG. 1 is a block diagram showing the configuration of the control system of the M F P employing the present invention.
  • FIG. 2 is an explanatory diagram showing the configuration of the operation unit of the apparatus of FIG.
  • FIG. 3 is a flowchart showing the idle task flow in the apparatus of FIG.
  • FIG. 4 is an explanatory view showing a mark sheet used in the apparatus of FIG.
  • FIG. 5 is a flowchart showing mark sheet printing processing in the apparatus of FIG.
  • FIG. 6 is a flowchart showing the mark field generation processing in the apparatus of FIG.
  • FIG. 7 is an explanatory diagram showing the configuration of a conventional mark sheet.
  • FIG. 8 is an explanatory diagram showing a different configuration of the mark used in the apparatus of FIG.
  • FIG. 9 is a flowchart showing the mark column generation process of the mark sheet of FIG.
  • FIG. 1 shows the configuration of the MFP control system employing the present invention.
  • reference numeral 100 is a central processing unit (CPU) for controlling the entire apparatus
  • 101 is a ROM for storing programs and data
  • 102 is for storing CPU work data, display data, image data, and the like.
  • It is a storage unit (DRAM).
  • Reference numeral 105 denotes a display unit composed of an LCD or the like for displaying the status of the apparatus and operation guidance display
  • 106 is an operation unit composed of cursor keys
  • 108 is a color reading unit composed of a color CCD or the like. is there.
  • Reference numeral 107 denotes a recording unit such as a printer.
  • 109 is a storage comprising an HDD
  • 1 1 1 is a card slot that can read a memory card such as a digital camera.
  • 1 1 2 is a USB interface for connecting to a PC when this MFP is used as a scanner, printer, or memory reader.
  • the above units are connected by a system bus 110.
  • FIG. 2 shows the configuration of the operation unit 106 of the MFP shown in FIG.
  • the operation unit 106 in FIG. 2 is provided with an LCD 202 for performing the above various displays and a mode key 507 for designating the operation mode of the MFP.
  • the operating portion 1 06 of FIG. 2 various setting menu key for entering the mode 502, and the movement of the setting items: up, down, left and right keys 506 used to change the value, the determination key 50 5 a setting input key Is provided.
  • the operation unit 106 of FIG. 2 is provided with a start key 503 for starting various jobs such as copy scanning, a cancel key 504 used for canceling jobs and resetting settings. It has been.
  • the mode key 507 includes three keys for designating three modes of “copy”, “scan”, and “photo print”. In the following, the same 507 code is used to refer to each of these mode keys.
  • the control program executed by the CPU 100 of this MFP is stored in the ROM 101 and is also executed on the real-time operating system (RTOS) stored in the ROM 101.
  • RTOS real-time operating system
  • This RTOS periodically executes idle tasks as shown in Fig. 3 when there are no jobs such as copying or printing.
  • the operation of the idle task is described with reference to FIG.
  • step S 301 the header portion of the image file is checked, and whether the number of faces included in the image exists in the J PEG header (EX IF header) of the image is checked. Check. If face count information exists in the JPEG headers of all image files, another idle task is executed in step S302. If there is an image file for which face count information does not exist, face information is detected in step S303. Perform number detection. The number detection process in step S303 is performed as follows.
  • the image data file stored in the storage 109 is expanded to DRAM102 while JPEG expansion (This JP EG expansion processing is performed by the firmware stored in ROM 1101, but the hardware CODEC is installed. You may). The number of faces is detected for the expanded photographic image data.
  • the face number detection process is performed by CPU 100 firmware processing (however, it may be performed by hardware as described above).
  • This detection algorithm is specific to skin color areas and human face contours as described in, for example, Japanese Unexamined Patent Application Publication No. 2004-145563 and Japanese Unexamined Patent Application Publication No. 10-214003.
  • An algorithm that detects the shape pattern can be used. Since the detection of the image portion of the face and the detection of the number of faces are known, detailed description thereof is omitted here.
  • step S303 If the number of faces is detected from the image in step S303, the number of faces is written in the application marker area in the header of the JP EG file on the original storage 109 including the case of zero in step S304. .
  • the image information and the number information of faces exist in one file, and by using this information, the number of images and faces can be stored in correspondence.
  • the idle task returns to step S 3 0 1 to detect the next unprocessed face detection image. If there is a corresponding image, step S 3 0 3 again. The detection process is performed with.
  • step S 3 0 2 If there is no unprocessed image, in step S 3 0 2, perform other processing that should be performed in the idle task, and end the idle task.
  • the face count detection process for photo image files copied from the card slot to the storage 109 can be completed if a certain amount of time elapses after copying.
  • the face number detection process can be executed without performing a special user operation.
  • the system load can be distributed to effectively use resources.
  • the information on the number of faces is referred to at the time of mark sheet printing as will be described later.
  • the face number detection process is performed at the time of mark sheet printing, a great amount of time is required for mark sheet printing. This is because when a face detection process is performed by a general MFP CPU, it takes a few seconds or more per sheet, and it takes a lot of time to print a mark sheet containing several tens of images. is there. Therefore, it is desirable to perform the face number detection process in advance as much as possible, but this problem can be solved by performing the face number detection process as an idle task as described above.
  • the mark sheet printing process will be described again with reference to FIG. It should be noted that the overall format of the mark sheet printed in this embodiment is the same as that shown in FIG. 7, and in particular, the A and D mark columns are the same as those in FIG. .
  • the mark sheet key 5 0 1 is pressed, the mark sheet printing job of FIG. 5 is started.
  • step S5001 the A portion (Fig. 7) of the mark sheet is printed.
  • step S 5 0 the thumbnail part of the B part (Fig. Column).
  • step S5003 the C portion (FIG. 7) of the mark sheet for designating the number of prints corresponding to this thumbnail is printed.
  • these thumbnail portion (B) and mark field (C) for designating the number of printed sheets have a different format as described later (step S500). This process will be described in detail later with reference to FIG. 6). '
  • step S500 the D part of the mark sheet is printed, and one printing is completed.
  • step S 5 06 it is determined whether or not the mark sheet of the next page should be printed because, for example, the thumbnail to be printed cannot fit into one mark sheet. If there is a next page, the process from step S 5 0 1 is repeated, and if there is no next page, the process ends.
  • the mark field (C) for designating the number of sheets to be printed in step S5003 is generated as shown in FIG. 4 by performing the processing of FIG.
  • thumbnail (B) is composed of 4 images as shown in Fig. 4.
  • Mark field C is composed of 4 marks, and the left 3 are the same as in the past. Specify the number of one, two, or three (default) mark.
  • a mark field for designating the number of persons for example, five persons in the case of the leftmost image in FIG. 4) detected from the image by the above face number detection process is displayed on the right side of the image. Dynamically generated in response.
  • step S 6 0 1 of FIG. 6 first, images of the mark field corresponding to printing 1, 2, and 3 sheets of the first image to be printed on the left side of the mark field are created on the DRAM 1 0 2 respectively. .
  • This dropout color is the color that appears to be white for the reader even if it can be read by humans when the printed mark sheet is read by the reader. Specifically, it is configured to print the number of sheets in light green and judge the fill of the mark field by the green luminance output of the color reading section. There is no.
  • step S 6 0 2 and step S 6 0 3 the JPEG header part of the image is examined to determine whether the number of faces is present. Investigate. If there is no information on the number of faces, the image has not undergone the face number detection process, so the mark field is not added and the process proceeds to step S 6 05. If the number of faces is 3 or less, it is not necessary to add a mark field, so the process proceeds to step S 6 0 5. If the face number information is 4 or more, a mark field is added in step S 6 0 4. This is a process to avoid user confusion by creating two mark fields with the same number when the number of faces is 3 or less.
  • step S 6 05 The above processing is repeated while confirming whether or not one line has been executed in step S 6 05.
  • the mark field generated in step S 6 06 is printed.
  • the mark field C as shown in FIG. 4 can be generated below the thumbnail image B.
  • the mark field for designating the number of people is automatically generated according to the number of subjects detected from the image. Further, in this embodiment, the necessary marks are added only when the number of persons equal to or more than three is detected, so that Mark Seed does not give a complicated impression.
  • the number of faces detected in the leftmost image is 5, so a mark field is added for this number of people, that is, 5 sheets.
  • the number “5”, which is the number of sheets in dropout color, is printed in the mark field, so that the user can recognize the number of sheets printed when this field is filled, and the mark for specifying the number of sheets intuitively and easily. Work can be done.
  • the number of faces is zero, so no mark field has been added.
  • the rightmost image has 2 faces (less than 3), so no mark is added.
  • the user fills the number of images to be printed, sets the mark sheet in the reading unit 10 8, and then re-marks the mark sheet 5 0 1 from the operation unit 1 0 6. Press.
  • C P U 1 0 0 causes the reading unit 1 0 8 to read the mark sheet.
  • the control of CPU 100 determines which thumbnail (B) and which number of mark fields (C) corresponding to the thumbnail (B) are filled. Then, in the control of C P U 100, when it is determined that the mark field (C) for specifying the number of sheets is filled, the image is printed on the recording unit 107 for the number of sheets. In particular, if the mark field for designating the number of people detected according to the number of faces is filled, the number of faces of the image is used as the number of prints, and the image is printed for the number of people.
  • the present embodiment it is possible to appropriately control the mark sheet format for designating the number of photographs to be printed.
  • a mark field for specifying the number of prints for the number of people is added according to the number of faces (number of people) detection processing of the image. Therefore, it is possible to easily perform printing for the number of people while minimizing the deterioration of the listability of all marks.
  • the number of people in each photo can be printed by a simple operation of marking the “Print for Number of People” mark field corresponding to the photo you want to print on the mark sheet. Can be obtained.
  • a mark field for designating the default number of sheets is provided, and printing is performed for the number of persons detected by the face number detection process in addition to the default mark field only when necessary according to the face number detection process. Add a mark field to specify the number of copies Yes. This makes it possible to easily specify the number of printed sheets for the expected number of people in the mark area with a small area without complicating the format of the mark sheet.
  • the number of faces (number of persons) detection processing of an image is executed as one of idle tasks in a standby state in which the user is not printing, copying or scanning.
  • the time required for printing the mark sheet can be reduced, and the hardware of the apparatus can be used effectively. Therefore, according to the present embodiment, it is not necessary to wait for the time required for the face number detection process (face search) after the mark sheet printing is designated, and the printing operation can be performed immediately after the mark sheet printing is designated. Is started.
  • information on the number of faces (that is, the number of subjects) obtained by the face number detection process is recorded in the header of an image file (in the above example, JPEG file). For this reason, it is not necessary to perform the face number detection process again for an image file including this face number information, and the mark field for specifying an appropriate number of prints every time the print process in FIG. 6 is performed. Can be printed at high speed.
  • the information other than the number representing the number of faces as face number information is also included. Additional information such as a character string explaining the meaning of can be recorded as appropriate.
  • the mark field is not added to an image file having no information on the number of faces.
  • this detection process takes time, so if this is done at this point, it will be possible to print all marks. It takes a long time.
  • the face sheet printing speed is given priority and the face detection process is not performed during mark sheet printing.
  • the hardware processing capability is sufficient (in the future, various hardware (Including cases where processing capacity has improved) You can also detect the number of faces when printing.
  • the face search is performed after the image data in the card slot 1 1 1 is copied to the storage 1 0 9.
  • the card slot 1 directly 1 It is also possible to perform face search and mark sheet printing on one image.
  • the ability to detect the number of prints corresponding to the number of subjects an example of using the face number detection process that detects the area that is judged to be a face from the image, the number of subjects
  • other appropriate image processing methods can be applied to determine the number of printed sheets corresponding to the above.
  • Example 1 as shown in FIG. 4, the number of marks in the mark field C is variable, and the right end is used to specify the number of persons detected from the image by the face number detection process performed in the same manner as described above.
  • the mark field is dynamically generated according to the image.
  • the number of marks in the mark field C below the thumbnail field B (four in the example below) is fixed.
  • the rightmost mark is used as a mark for specifying the number of persons when a face is detected from the image by the face number detection process.
  • the number that can be specified in the mark field at the right end is the number corresponding to the number of detected faces.
  • the default number of sheets (4 in the example below) to be specified can be specified using the mark. .
  • step S9001 To generate the mark field as shown in FIG. 8, the process shown in FIG. 9 is performed instead of the process shown in FIG.
  • step S9001 first, four images in the mark column corresponding to printing 1 to 4 images of the image to be printed (this number is fixed at 4 in this embodiment) DRAM 1 0 2 create. At this time, as shown in Fig. 8, the number of sheets that can be specified by printing numbers in the dropout color inside the mark column is shown.
  • step S 9 0 2 the JPEG header portion of the image is checked to check whether the number of faces information exists. If there is no information on the number of faces in the JPEG header, it is an image that has not undergone face number detection processing, so the image in the mark field generated in step S 9 0 1 'is not changed and step S 9 0 Go to 5.
  • step S903 printing for the number of people is possible without changing the image in the mark column, so the process proceeds to step S900 without changing.
  • the mark field for “Print 4 sheets” at the right end is set as the “Print for number of people” mark in step S900. Change the image in the mark field so that
  • step S900 It has been confirmed that the above processing has processed one line of image in step S900.
  • the image in the final mark column C is printed in step S960.
  • the user selects and fills a mark corresponding to the number of images to be printed on the printed mark sheet as described above, sets the mark sheet in the reading section 108 (Fig. 1), and sets the operation section 1 Press the mark sheet 5 0 1 (Fig. 2) again from 0 6. ,
  • C P U 1 0 0 determines which mark field is filled. If the rightmost mark field is filled, the following processing is performed. ,
  • the rightmost mark is printed.
  • the image is printed with the default number of prints (4 in this embodiment) as the number of prints.
  • the mark column is not changed for an image file having no information on the number of faces.
  • this detection processing takes time. Takes time.
  • priority is given to the printing speed of the mark sheet, so that face detection processing is not performed during mark sheet printing.
  • the hardware processing capability is sufficient, the number of faces during mark sheet printing will be reduced. This point may also be detected, and this is the same in this embodiment.
  • the image data of the card slot 1 1 1 is stored as 1 0 9
  • the present invention does not depend on the type of storage means, it is of course possible to perform face search and mark sheet printing on images in the card slot 1 1 1. is there.
  • a mark field for specifying the number of faces corresponding to the number of faces can be arranged on the mark sheet, and a device can be provided that prints the number of faces as the number of printed sheets when each is marked. .
  • the number of marks in the mark column for specifying the number of sheets is fixed, so that the printed mark sheet screen fits and is easy to see. There is an advantage that mark work can be done easily. Also, as is clear from the comparison with Fig. 6, the processing load on CPU is almost the same.
  • a specific mark on the mark sheet (the rightmost mark in FIG. 8) can be used as a mark for designating the number of prints for the number of people or a mark for designating the default print number (4 in this embodiment).
  • the mark is filled, it is determined using the number of people information in the image header whether the number of prints is specified for the number of people or the default number of prints is specified. . For this reason, it is not necessary to record extra information other than the above on the mark sheet, or to read the information to determine the number of sheets.
  • the present invention is not limited by the name of the product of the image processing apparatus (for example, MFP (multifunction printer apparatus) in the above embodiment), etc.
  • the control program of the present invention is stored in a medium such as a ROM of the image processing apparatus from the time of shipment of the image processing apparatus, and various external storage media. (CDROM, flexible disk, etc.) can be supplied to these devices.
  • the control program of the present invention can be supplied from an arbitrary server via a network.

Abstract

印刷すべき写真の画像ファイルや枚数指定を行なうためのマークシートのフォーマットを適切に制御することができるようにする。画像処理装置において、画像記録手段により記録出力すべき画像データを画像読み取り手段から読み取らせたマークシートの記載情報により特定する。その際、印刷出力すべき画像データを解析し、当該画像データ中の被写体の人数を検出し、当該画像のサムネイル画像と、当該画像から顔の数の検出などにより得られた被写体の人数に対応する印刷枚数を指定できるマーク欄を含むマークシートを印刷し、該マークシートを画像読み取り手段で読み取らせ、被写体の人数に対応する枚数の画像を印刷する。被写体の人数検出は画像処理装置のアイドルタスクとして実行し、検出された被写体の人数に関する情報を当該画像ファイル中にヘッダ情報として格納する。

Description

明 細 書. 画像処理方法、 画像処理装置、 および画像処理装置の制御プログラム 技術分野
本発明は、 画像記録手段により印刷出力すべき画像データを画像読み取り手 段から読み取らせたマークシートの記載情報により特定するための画像処理 方法、 画像処理装置、 および画像処理装置の制御プログラムに関するものであ る。
背景技術
従来より、 デジタルカメラで撮影した写真を印刷する場合、 P C上で画像フ ァィルを印刷できるァプリケーションソフトを使用することにより、 画像ファ ィルの指定や印刷枚数の指定を行なうことができる。 また、 近年ではデジタル カメラで撮影した画像が記憶されたメモリーカードを装着し、 メモリーカード に記憶された画像ファイルを印刷できるいわゆるフォトダイレク トプリンタ やマルチファンクションプリンタ (以下 MF Pと記す) が登場している。 さら に、 デジタルカメラを U S Bケープルなどで直接接続し、 デジタルカメラのメ モリに記憶された画像ファイルを印刷できるいわゆるフォトダイレク トプリ ンタゃ M F Pも登場している。 そして、 これらのフォトダイレク トプリンタや M F Pではユーザが操作パネルから画像ファイルの指定や印刷枚数の指定を 行なうことができる。
さらに、 スキャナ手段を有する MF Pでは図 7のような写真画像のサムネィ ル画像とマーク欄を含んだマークシ一ト (オーダーシートなどとも呼ばれる) を印刷することができる。 そして、 このマークシートのマーク欄にユーザがマ —クした後に M F Pのスキャナでこのマークシ一トを読ませることでマーク を付けた写寘を印刷することができる (特開 2 0 0 2— 2 7 3 9 7 3.号公報参 · 図 7の Aの部分には、図示のような各種の印刷設定(用紙ゃォプション指定) を行なうマーク欄が配置され、 その下にサムネイル画像 Bと、 各サムネイル画 像 Bに対応するマ一ク欄 Cが配置されている。 このマーク欄 Cの三つのマーク は、 対応するサムネイル画像 Bの印刷枚数の指定に用いられ、 左からそれぞれ 1枚印刷、 2枚印刷、 3枚印刷に対応している。 ユーザは印刷したい枚数のマ ークを塗りつぶしてから M F Pのスキャナでこのシートを読ませると指定画 像の指定枚数の印刷を行なうことができる。 また、 マークシートの下部には、 排紙方法や当該シ一トの再印刷を指定するマーク欄 Dが配置されている。
このようなマークシ一トは画像の一覧を見る事ができるので画像を比較し ながら取捨選択して印刷画像を選択できるという利便性がある。 さらに本体操 作部に L C Dなどの表示部が無くても写真印刷の操作が可能となる利点があ る。 発明の開示
しかしながら図 7のような従来のマークシー卜で印刷指定を行なう場合は、 印刷枚数の最大は数枚に限られる。 たとえば、 図 7の例では、 マーク 1つに枚 数 「1」 を対応づけているので、 1 0枚の印刷を可能にするためには 1 0個の マーク欄が必要であり、 マーク欄に必要な面積が増大する。 5枚や 1 0枚単位 の枚数を指定するためのマークを併設するなどの手法を採用するにしても、 マ ークを配置するためのスペースには限界があり、 取り扱いが複雑になる問題が ある。
たとえば特開 2 0 0 2 - 2 7 3 9 7 3号公報の図 3、 図 4ではマーク欄の面 積とサムネィル画像の面積がほぼ等しい例が記載されているが、 図 7に比べて 1ページに印刷できる画像の数が明らかに少なくなる。 1ページに印刷できる 画像の数が少なレ、と一覧性が低下して不便になる。 すなわちユーザは複数ぺー ジに渡る画像から画像選択をおこなうという煩雑な操作が必要になる。 さらに マークシートの印刷にかかる時間も増大するので待ち時間が増大するという 不具合がある。 また、 サムネイル画像を小さくすればマーク面積の増大を吸収 して一覧性を維持できるが、 画像の判別が困難になり画像の選択自体が困難に なってしまう問題がある。
したが.つて、 多数枚の印刷を指定でき、 しかも汎用性のあるマークシートの フォーマツトを固定的に作成することは困難である。
—方で、 たとえば友人と大勢で旅行に行った後、 写真を被写体の人物に配布 するというのはよくあることである。 もし、 写真 1には 3人、 写真 2には 1 0 人、 写真 3に 5人写っている場合、 写っている人に配布するには、 各写真をそ れぞれ 3枚、 1 0枚、 5枚づっ印刷する必要がある。
図 7のマークシ一卜のマーク欄 Cには、 3枚印刷のマークまでしかないので、 図 7のマークシートを用いて印刷を行なう場合、 各写真をそれぞれ 3枚、 1 0 枚、 5枚づっ印刷するには、 以下のどちらかの手順でマークシートの読み込み を行う必要がある。
手順 1 :始めに写真 1を 3枚印刷し、 次に写真 2を 1 0枚印刷し、 最後に写 真 3を 5枚印刷する操作。 この手順 1では、 写真 1を 3枚印刷するマークシ一 ト、写真 2を 3枚印刷するマークシート、写真 2を 1枚印刷するマークシ一ト、 写真 3を 3枚印刷するマークシ一ト、 写真 3を 2枚印刷するマークシートを用 意する。 そしてこれらのマークシートをそれぞれ 1回、 3回、 1回、 1回、 1 回の読み込ませ、 印刷を行う。 この手順 1の操作では用意するシートが 5枚と 多く、 読み込み回数も 7回と多いので、 非常に操作が煩雑である。
手順 2 :始めに写真 1、 2、 3をそれぞれ 3枚印刷し、 次に写真 2を 3枚と 写真 3を 2枚印刷し、 その後、 写真 2を 3枚印刷し、 最後に写真 2を 1枚印刷 する操作。 この手順 2では、 写真 1、 2、 3をそれぞれ 3枚印刷するマークシ ート、 写真 2を 3枚と写真 3を 2枚印刷するマークシート、 写真 2を 3枚印刷 するマークシート、 写真 2を 1枚印刷するマークシートを用意する。 そしてこ れらのマークシートをそれぞれ 1回読み込ませ、 印刷を行う。 この手順 2の操 作では用意するシートが 4枚、 読み込み回数も 4回となり、 手順 1に比べれば 必要なマークシートも少なく読み込み回数もすくないが、 ユーザにとっては、 シート枚数も読み込み回数も多く感じられ、 非常に操作が煩雑であるとの印象 を与える。
なお、 写っている被写体の人数分の写真のプリントを行なう技術は、 従来よ り公知であり、 たとえば特開 2 0 0 4— 1 4 5 5 6 3号公報ゃ特開平 1 0 _ 2 1 4 0 0 3号公報においては、 画像認識処理により、 画像中の顔面の数や、 肌 の色の領域および人物に特有の形状パターンを検出することにより被写体中 の人物の人数を検出する技術が開示されている。 しかしながら、 これ,らの公知 技術はいずれも、 検出した人数分の写真を即、 プリントするよう構成されてお り、 上述のマークシートを利用する構成における問題点を解決することができ ず、 またそのヒントもこれらの公知文献には示唆されていない。
本発明の課題は、 上記の問題を解決し、 印刷すべき写真の画像ファイルや枚 数指定を行なうためのマークシートのフォーマッ トを適切に制御することが できるようにすることにある。 ―
上記課題を解決するため、 本発明においては、 画像記録手段により記録出力 すべき画像データを画像読み取り手段から読み取らせたマークシートの記載 情報により特定するための画像処理方法、 画像処理装置、 および画像処理装置 の制御プログラムにおいて、 印刷出力すべき画像データを解析し、 当該画像デ ータ中の被写体の人数を検出し、 当該画像のサムネィ 'ル画像と、 当該画像から 検出された前記被写体の人数に対応する当該画像の印刷枚数を指定できるマ —ク欄を含むマークシートを印刷する構成を採用した。
上記構成によれば、 印刷すべき写真の画像の枚数指定を行なうためのマーク シートのフォーマツトを適切に制御することができ、 マークシートの一覧性の 低下を防止しつつ人数分の印刷を簡単に行なうことができる。 さらに、 少ない 面積のマーク欄で必要と予想される人数分の印刷枚数を容易に指定すること ができる、 という優れた効果がある。 図面の簡単な説明
図 1は、 本発明を採用した M F Pの制御系の構成を示したプロック図である。 図 2は、 図 1の装置の操作部の構成を示した説明図である。
図 3は、 図 1の装置におけるアイ ドルタスクの流れを示したフローチャート 図である。
図 4は、 図 1の装置で用いられるマークシートを示した説明図である。
図 5は、 図 1の装置におけるマークシート印刷処理を示したフローチャート 図である。
図 6は、 図 1の装置におけるマーク欄生成処理を示したフローチヤ一ト図で ある。
図 7は、 従来のマークシ一トの構成を示した説明図である。
図 8は、 図 1の装置で用いられるマークシ一卜の異なる構成を示した説明図 である。
図 9は、 図 8のマークシ一トのマーク欄生成処理を示したフローチヤ一ト図 である。
符号の説明
1 0 0 C P U
1 0 1 R OM
1 0 2 D R AM
1 0 6 操作部
1 0 8 読み取り部
1 0 9 ストレージ 1 1 1 カードスロット
2 0 2 LCD
5 0 1 マークシ一トキ
5 0 2 メニューキー
5 0 3 スタートキ一
5 0 4 キャンセル'キー
5 0 5 決定キー
5 0 6 上下左右キー
5 0 7 モ一ドキー 発明を実施するための最良の形態
以下、 画像読み取り手段とプリンタ手段の双方を組み込まれた MF Pに関す る実施例を示す。
実施例 1
図 1は本発明を採用した MFPの制御系の構成を示している。 図 1において、 符号 100は装置全体を制御するための中央演算処理部 (C PU)、 101は プログラムおよびデータを記憶する ROM、 102は CPUワークデータ、 表 示用データ、 画像データなどを記憶する記憶部 (DRAM) である。
符号 1 05は装置の状態表示や操作の案内表示を行なう LCDなどから構 成された表示部、 106はカーソルキーなどから構成される操作部、 108は カラー CCDなどから構成されたカラー読み取り部である。 107はプリンタ などの記録部である。 109は HDDなどから構成されるストレ一ジ、 1 1 1 はデジタルカメラなどのメモリーカードを読み取ることのできるカードス口 ットである。 1 1 2はこの MF Pをスキャナやプリンタ、 メモリー力一ドリー ダ一として使用するときに PCと接続するための US Bインターフェースで ある。 上記の各部は、 システムバス 1 1 0で接続される。
図 2は、 図 1の MFPの操作部 1 06の構成を示している。 図 2の操作部 1 06には上記の各種表示を行なうための LCD 202、 MF Pの動作モードを 指定するためのモードキー 507が設けられている。 さらに、 図 2の操作部 1 06には、 各種設定モードへ入るためのメニューキー 502、 設定項目の移動 や :値の変更に使用する上下左右キー 506、 設定入力キーである決定キー 50 5が設けられている。 そして、 さらに、 図 2の操作部 106には、 コピーゃス キャンなどの各種ジョブを開始させるためのスタートキ一 503およびジョ ブのキャンセルや設定のリセッ トに使用するキャンセルキー 504などが設 けられている。
モードキ一 507は、 本実施例の場合 「コピー」、 「スキャン」、 「写真プリン ト」 の 3つのモードをそれぞれ指定する 3つのキーから成る。 以下では、 これ らの各モードキーに言及する場合も、 同じ 507の符号を用いる。
次に本 MF Pにおけるマークシ一トを用いた人数分印刷機能の動作につい て説明する。
まず、 本 MF Pのカードスロッ卜にデジタル'カメラの写真画像を記憶したメ モリーカードを装着すると自動的に、 あるいはユーザの操作パネルからの指示 によってメモリーカード上の写真画像データを MF Pのストレージにコピー する。 あるいは US Bなどを介してデジタルカメラと直接接続するような構成 においては、 同様にデジタルカメラの記憶デバイスから写真画像データが MF Pのストレージにコピーされる。
本 MFPの CPU100で実行されている制御プログラムは、 ROM101 に格納されていて同じく ROM 10 1に格納されているリアルタイムォペレ 一ティングシステム (RTOS) 上で実行されている。 この RTOSはコピー やプリントなどのジョブがない時に図 3に示すようなアイ ドルタスクを定期 的に実行する。 ここで、 図 3を参照してアイ ドルタスクの動作を説明する。
ァィ ドルタスクでは、 まずステップ S 301で画像フアイルのへッダ部分を チヱックし、 画像に含まれている顔の数の情報が画像の J PEGヘッダ (EX I Fヘッダ) 中に存在するかどう力確認する。 全ての画像ファイルの J PEG ヘッダに顔の数の情報が存在すれば、 ステップ S 302で他のアイ ドルタスク を実行し、 顔の数の情報が存在しない画像ファイルがあればステップ S 303 で顔の数の検出を行なう。 ステップ S 303の顏数検出処理は次のように行な われる。
一般にデジタルカメラの画像ファイルは J P EG方式で圧縮されているの で J PEGフォーマットのままでは画像処理ができない。 そこでストレージ 1 09に記憶されている画像データファイルを J PEG伸張しつつ、 DRAM1 02上に展開する (この J P EG伸張処理は ROM 1 01に格納されたファー ムウェアで行なうが、 ハードウェア CODECを搭載しても良い)。 この伸張 'された写真画像データに対し顔の数の検出処理を行なう。
顔の数の検出処理は CPU 100のファームウェア処理によって行なう (た だし上記同様にハードウェアにより行なってもよレ、) ものとする。 そして、 こ の検出のアルゴリズムについては、 たとえば特開 2004- 145563号公 報ゃ特開平 1 0— 214003号公報に記載されるような肌の色の領域およ び人物の顔の輪郭などに特有の形状パターンを検出するようなアルゴリズム を採用すれば良い。 これらの顔の画像部分の検出および顔の数の検出自体は公 知であるので、 ここでは詳細な説明は省略する。
ステップ S 303で画像から顔の数を検出したら、 ステップ S 304でゼロ 個の場合も含めて元のストレージ 1 09上の J P EGファイルのヘッダ中の 'アプリケーションマーカー領域に顔の数の情報を書き込む。 これにより画像情 報と顔の数情報がひとつのファイル中に存在することになり、 この情報を利用 することにより画像と顔の数を対応させて記憶することが可能になる。 ステップ S 3 0 4の顔数記憶処理が終了したら、 アイ ドルタスクはステツプ S 3 0 1へ戻って次の顔検出未処理の画像を検出し、 もし該当の画像があれば 再度ステップ S 3 0 3で検出処理を行なう。
未処理の画像がなければステツプ S 3 0 2でアイ ドル'タスクで行なうべき 他の処理を行ってアイ ドル'タスクを終了する。 カードスロッ卜からストレージ 1 0 9にコピーした写真画像ファイルの顔数検出処理は、 コピー後ある程度の 時間が経過すれば終了できる。 このように、 アイ ドルタスクとして顔の数の情 報を検出することにより、 特別なユーザ操作を行なうことなく、 顔数検出処理 が実行できる。
また、システムの負荷を分散させ、資源の有効利用が可能となる。すなわち、 ' 顔の数の情報は後述のようにマークシ一ト印刷時に参照されるが、 顔の数の検 出処理をマークシート印刷時に行なうとマークシ一ト印刷に多大な時間が必 要となる。 なぜなら、 一般的な M F Pの C P Uで顔数検出の処理を行った場合 に 1枚あたり数秒以上の時間が必要なため数十枚の画像を含むマークシート の印刷に多大な時間がかかってしまうからである。 したがって、 顔数検出の処 理は、 できる限り事前に処理することが望ましいが、 上記のようにアイ ドルタ スクとして顔数検出処理を行なうことによりこの問題は解決できる。
次に、 再び図 5によりマークシート印刷の処理について説明する。 なお、 本 実施例で印刷されるマークシートの全体のフォーマッ トは図 7に示したもの と同じであるものとし、 特に、 Aと Dのマーク欄は図 7のものと同様であるも のとする。
ユーザはマークシ一ト印刷を行なう場合に操作部 1 0 6から図 2の写真プ リントキー 5 0 7を押下する。 続いてマークシートキー 5 0 1を押下すると図 5のマークシート印刷のジョブが開始される。
まず、 ステップ S 5 0 1でマークシートの A部分 (図 7 ) を印刷する。 次に ステップ S 5 0 2でマークシ一卜の B部分(図 7 )のサムネイル部分を 1行( 1 段) 分印刷する。 次にステップ S 5 0 3で、 このサムネイルに対応する印刷枚 数指定のためのマークシートの C部分 (図 7 ) を印刷する。 ただし、 本実施例 の場合、 これらのサムネイル部分 (B ) および印刷枚数指定のためのマーク欄 ( C ) は、 後述のように従来と異なるフォーマットを有するものとなる (ステ ップ S 5 0 3の処理は図 6を用いて後でより詳細に説明する)。 '
以下、 サムネイル画像が所定の段数 (行数) になるまでステップ S 5 0 2か らステップ S 5 0 4を繰り返して印刷を行なう。 所定の段数の印刷を終了する とステップ S 5 0 5でマークシートの D部分を印刷して 1枚の印刷が完了す る。
次に、 ステップ S 5 0 6では、 印刷するサムネイルが 1枚のマークシ一卜に 入り切らない場合などの理由で、 次のページのマークシ一トを印刷すべきであ るかどうか判断する。 次のページがある場合はステップ S 5 0 1からの処理を 繰り返し、 次のページがなければ処理を終了する。
さて、上記のステップ S 5 0 3で印刷される枚数指定のためのマーク欄(C ) は、 本実施例では図 6の処理を行なうことにより、 図 4に示すように生成され る。
ここでは説明の簡略化のため図 4のように一段のサムネイル (B ) を 4画像 から構成するものとし、 マーク欄 Cは 4つのマークから構成され、 左側の 3つ は、 従来と同様、 それぞれ 1枚、 2枚、 3枚の各枚数の指定を行なう (デフォ ルトの) マークとする。 本実施例ではさらにその右側に、 上記の顔数検出処理 により当該画像から検出された人数分 (たとえば図 4の左端の画像の場合 5人 分) の枚数を指定するためのマーク欄を画像に応じて動的に生成する。
図 6のステップ S 6 0 1では、 まずマーク欄の左側に印刷するべき第 1の画 像の 1、 2、 3枚印刷にそれぞれ対応するマーク欄の画像を D R AM 1 0 2上 に作成する。
このとき、 マーク欄 Cの内部にドロップァゥトカラ一で枚数を示す数字を表 示する。 このドロップアウトカラーとは読み取り部 1 0 8で印刷後のマークシ 一トを読み取つた時、 人間には読めても読み取り部にとっては白に近く見える 色のことである。 具体的には枚数を薄い緑で印刷してカラ一読み取り部のグリ ーン輝度出力でマーク欄の塗りつぶしを判断するように構成しているので枚 数表示の数字は塗りつぶしと誤認識される事がない。
次にステップ S 6 0 2、 ステップ S 6 0 3で当該画像の J P E Gヘッダ部分 を調査し顔の数の情報が存在するかどう力 \ また存在する場合で顔の数が 3以 下かどうかを調べる。 顔の数の情報がない場合は顔の数の検出処理が行われて いない画像であるのでマーク欄の追加は行わずステップ S 6 0 5へ進む。 また 顔の数が 3以下の場合もマーク欄の追加が必要ないのでステップ S 6 0 5へ 進む。 また、 顔の数情報が 4以上である場合はステップ S 6 0 4でマーク欄の 追加を行なう。 これは顔の数が 3以下の場合は同じ数字のマーク欄が二つ作成 されることによるユーザの混乱を避けるための処理である。
以上の処理をステップ S 6 0 5で一行分実行したか否かを確認しつつ繰り 返し、 一行分のマークが生成できたらステップ S 6 0 6で生成したマーク欄を 印刷する。
以上のようにして、 図 4のようなマーク欄 Cをサムネイル画像 Bの下部に生 成することができる。 人数分の枚数を指定するためのマーク欄は、 画像から検 出した被写体の人数に応じて自動的に生成される。 また、 本実施例では 3人分 以上の人数が検出された場合のみ、 必要なマークを追加するようにしているた め、 マークシー卜が煩雑な印象を与えることがない。
図 4の例では、 左端の画像は検出された顔の数が 5であるため、 この人数分 すなわち 5枚の印刷のためのマーク欄が追加されている。 マーク欄にはドロッ プアウトカラーで枚数である数字 " 5 " を印刷されており、 これによりユーザ はこの欄を塗りつぶした時の印刷枚数を認識でき、 直感的かつ容易に枚数指定 のためのマーク作業を行なうことができる。 また、 図 4で左から 2枚目の花の画像は顔の数がゼロであるのでマーク欄の 追加は行なわれていない。 また図 4で右端の画像は顔の数が 2 ( 3以下) であ るのでマークの追加は行なわれていない。
以上のようにしてマークシートが印刷されると、 ユーザは印刷したい画像の 枚数部分を塗りつぶした後にマークシートを読み取り部 1 0 8にセットし操 作部 1 0 6から再度マークシ一トキ一 5 0 1を押下する。
ごの操作に応じて、 C P U 1 0 0は、 読み取り部 1 0 8にマークシートを読 み取らせる。 読み取られた画像に対して、 C P U 1 0 0の制御は、 どのサムネ ィル (B ) の、 またサムネイル (B ) に対応するどの枚数指定のマーク欄 (C ) が塗りつぶされたかを判断する。 そして、 C P U 1 0 0の制御は、 枚数指定の マーク欄 (C ) が塗りつぶされたと判断した場合にはその枚数分だけ、 当該画 像を記録部 1 0 7に印刷させる。 特に、 顔数に応じて検出された人数分を指定 するマーク欄が塗りつぶされている場合には、 当該画像の顔の数を印刷枚数と して当該画像を人数分、 印刷する。
以上のようにして、 本実施例によれば、 印刷すべき写真の画像の枚数指定を 行なうためのマークシ一トのフォーマットを適切に制御することができる。 本実施例によれば、 マーク欄のマーク数を必要以上に増大させることなく、 画像の顔数 (人数) 検出処理に応じて、 人数分の印刷枚数を指定するマーク欄 を追加するようにしているので、 マークシ一卜の一覧性の低下を最小限にしつ つ人数分の印刷を簡単に行なうことができる。 即ち、 複数の写真をそれぞれ写 つている人数分印刷する場合、 マークシートの印刷したい写真に対応した 「人 数分印刷の」 マーク欄をマークするという簡単な操作により、 各写真の人数分 の印刷出力を得ることができる。
また、 本実施例によれば、 デフォルトの枚数を指定するマーク欄を設け、 顔 数検出処理に応じて、 必要な場合のみデフォルトのマーク欄に加えて顔数検出 処理で検出した人数分の印刷枚数を指定するマーク欄を追加するようにして いる。 これにより、 マークシートのフォーマットを複雑化することなく、 少な い面積のマーク欄で必要と予想される人数分の印刷枚数を容易に指定するこ とができる。
また、 本実施例によれば、 画像の顔数 (人数) 検出処理は、 ユーザがプリン トゃコピー、 スキャンなどを行っていないスタンバイ状態でアイ ドルタスクの 1つとして実行するようにしている。 これにより、 マークシート印刷にかかる 時間を低減でき、 また装置のハードウヱァを有効に利用することができる。 し たがって、 本実施例によれば、 マークシートの印刷指定後に顔数検出処理 (顔 検索) に必要な時間を待つ必要がなく、 マークシートの印刷指定後、 すぐにマ 一クシ一卜の印刷動作が開始される。
また、 本実施例では、 画像ファイル (上記の例では、 J P E Gファイル) の ヘッダ中に顔数検出処理で得られた顔の数 (すなわち被写体の人数) の情報を 記録するようにしている。 このため、 この顔数情報を含む画像ファイルについ ては、 再度顔数検出処理を行なう必要がなく、 図 6の印刷処理により、 毎回マ —クシ一卜に適切な印刷枚数指定のためのマーク欄を高速に印刷することが できる。 なお、 画像ファイル中に顔数情報を記録する場合、 情報の汎用性を高 める、 あるいはファイルの互換性を維持する目的で、 顔数情報として顔数を表 す数値以外にも、 その情報が示す意味などを説明する文字列などの付加情報を 適宜併せて記録することができる。
なお、 本実施例では顔の数の情報がない画像ファイルに対してはマーク欄の 追加を行なっていない。 マーク欄作成時に顔の数の情報がない画像に対して顔 の数の検出処理を行なうことも可能であるが、 この検出処理は時間がかかるた めこの時点で行なうとマークシ一卜の印刷に非常に時間がかかってしまう。 本 実施例ではマークシ一トの印刷速度を優先してマークシ一トの印刷中には顔 の検出処理は行わない構成としたが、 ハードウエア処理能力が充分である場合 (将来、 各種ハードウェアの処理能力が向上した場合も含む) はマークシート 印刷時に顔の数の検出を行つてもよレ、。
また、 本実施例ではカードスロット 1 1 1の画像データをストレージ 1 0 9 にコピーしてから顔検索を行なう構成としたが、 本発明は記憶手段の種類に依 存しないので、 直接カードスロット 1 1 1の画像に対して顔検索とマークシ一 ' ト印刷を行なうことも可能である。
また、 以上では、 被写体の人数に对応する印刷枚数を決定するのに、 画像か ら顔と判断される領域を検出する顔数検出処理を利用する例を示した力、 被写 体の人数に対応する印刷枚数を決定するには顔数検出処理のみならず、 他の適 当な画像処理方法を適用できる。
実施例 2
以下に、 図 8および図 9を参照してマークシ一ト枚数指定を行なうマーク欄 (図 7の Cの部分) を生成し、 印刷するための異なる手法を示す。 以下に示す 構成以外 (たとえばハードゥエァ構成) は実施例 1と同様でよレ、。
実施例 1では図 4のように、 マーク欄 Cのマークの数は可変であり、 前述同 様に実施した顔数検出処理により当該画像から検出された人数分の枚数を指 定するために右端のマーク欄を画像に応じて動的に生成している。
これに対して、 本実施例ではサムネイル欄 B下部のマーク欄 Cのマークの数 (下記の例では 4個) は固定とする。 そして、 右端のマークは顔数検出処理に より当該画像から顔を検出した場合、 その人数分の指定を行なうためのマーク として用いる。 この場合、 右端のマーク欄で指定できる枚数は検出した顔数に 対応した数とする。
また、 顔数検出処理により当該画像から顔を検出できなかった場合は、 その マークにより指定すべきデフォルトの枚数 (以下の例では 4枚) を指定できる ようにする。 .
図 8のようなマーク欄を生成するには、 図 6の処理に替えて図 9のような処 理を行なう。 ステップ S 9 0 1では、 まず、 印刷すべき画像の 1— 4枚印刷に対応するマ ーク欄の画像を 4個 (この数は本実施例では 4で固定) D R AM 1 0 2上に作 成する。 このとき、 図 8のようにマーク欄の内側にドロップアウトカラーで数 字を印刷することにより指定できる枚数を示す。
次に、 ステップ S 9 0 2で、 当該画像の J P E Gへッダ部分を調べ、 顔の数 の情報が存在するかどうかを調べる。 J P E Gヘッダ中に顔の数の情報がない 場合は顔の数の検出処理が行われていない画像であるので、 ステップ S 9 0 1 'で生成したマーク欄の画像の変更は行わずステップ S 9 0 5へ進む。
また、 ステップ S 9 0 3で顔の数が 4以下の場合もマーク欄の画像の変更を 行わずに人数分印刷が可能なので、 変更せずにステップ S 9 0 5へ進む。
一方、 ステップ S 9 0 3で顔の数情報が 5以上である場合は、 ステップ S 9 0 4で右端の 「4枚印刷」 のためのマーク欄を 「人数分印刷」 のマーク欄とす るよう、 マーク欄の画像を変更する。
たとえば、 図 8の左端の画像では、 検出されている顔の数が 5であるので、 右端のマークでドロップアウトカラーで印刷する数字を 4から 5に変更し、 5 枚の印刷を行なうためのマーク欄に変更する。 これにより、 右端のマーク欄に はドロップアウトカラーで枚数である " 5 " が印刷されることになる。 このマ ーク欄により、 ユーザはこの欄を塗りつぶした時の印刷枚数を認識できる。 ' 図 8の左から 3番目の画像は 7人ぶんの顔が検出されているので、 同様の処 理により右端のマーク欄にはドロップアウトカラーで枚数である " 7 " が印刷 されることになる。
なお、 図 8の 2番目の花の画像は顔の数がゼロであり、 右端 (4番目) の画 像は顔の数が 2 (≤ 4 ) であるのでマーク欄の変更は行なわれず、 ドロップァ ゥトカラ一の枚数を示す数字はステップ S 9 0 1で生成した" 4 " のままにな つている。
以上の処理は、 ステップ S 9 0 5で 1行分の画像を処理したことが確認され るまで繰り返し実行され、 その後、 ステップ S 9 0 6で最終状態のマーク欄 C の画像を印刷する。
以上のようにして印刷されたマークシ一卜に対し、 ユーザは印刷したい画像 の枚数に対応するマークを選択して塗りつぶし、 そのマークシートを読み取り 部 1 0 8 (図 1 ) にセットし、 操作部 1 0 6から再度マークシ一トキ一 5 0 1 (図 2 ) を押下する。 ,
これに応じて、 C P U 1 0 0は、 どのマーク欄が塗りつぶされているかを判 断する。 そして、 右端のマーク欄が塗りつぶされている場合には次のような処 理を行なう。 ,
まず、 画像データの J P E Gヘッダ中に顔の数が記録されている場合は、 こ の右端のマーク欄が人数分印刷のために変更されたものであると判断し、 当該 画像データの J P E Gヘッダ中に記録されている顔の数を印刷枚数として当 該画像の印刷を実行する。
一方、 画像データの J P E Gヘッダ中に顔の数が記録されていない場合、 塗 りつぶされた右端のマークは人数分印刷のために変更されたものではないと 判断し、 右端のマークで印刷されるデフォルトの枚数 (本実施例では 4 ) を印 刷枚数として当該画像の印刷を実行する。
なお、 本実施例においても、 顔の数の情報がない画像ファイルに対してはマ 一ク欄の変更を行なっていない。 マーク欄作成時に顔の数の情報がない画像に 対して顔の数の検出処理を行なうことも可能であるが、 この検出処理は時間が かかるためこの時点で行なうとマークシ一卜の印刷に非常に時間がかかって しまう。 本実施例ではマークシ一トの印刷速度を優先してマークシートの印刷 中には顔の検出処理は行わない構成としたが、 ハードウエア処理能力が充分で ある場合はマークシ一ト印刷時に顔の数の検出を行ってもよく、 この点は本実 施例でも同様である。
また、 本実施例ではカードスロット 1 1 1の画像データをストレージ 1 0 9 にコピーしてから顔検索を行なう構成としたが、 本発明は記憶手段の種類に依 存しないのでカードスロッ ト 1 1 1の画像に対して顔検索とマークシート印 刷を行なう事ももちろん可能である。
また、 本実施例でも、 被写体の人数に対応する印刷枚数を決定するのに、 画 像から顔と判断される領域を検出する顔数検出処理を利用する例を示した。 し かし、 被写体の人数に対応する印刷枚数を決定するには顔数検出処理のみなら ず、 他の適当な画像処理方法を適用できるのはいうまでもない。
以上のような手法によっても、'マークシートに顔の数に対応した枚数指定を 行なうためのマーク欄を配置でき、 個々をマークした時には顔の数を印刷枚数 として印刷する装置を提供することができる。
本実施例によれば、 実施例 1で説明した効果に加え、 枚数指定のためのマー ク欄のマークの数が固定であるため、 印刷されたマークシ一トの画面がすつき りし、 見易く、 マーク作業を容易に行なえる利点がある。 また、 図 6との比較 から明らかなように、 C P Uの処理の負担もほぼ同等で済む。
また、 マークシート紙面上の特定のマーク (図 8では右端のマーク) を人数 ぶんの印刷枚数指定のためのマーク、 またはデフォルトの印刷枚数 (本実施例 では 4 ) を指定するマークとして共用できる。 そして、 画像印刷に際しても、 そのマークが塗りつぶされた場合は、 それが人数ぶんの印刷枚数指定なのか、 デフォルトの印刷枚数指定なのかを、 画像ヘッダ中の人数情報を利用して判断 している。 このため、 マークシートに上記以外の余計な情報を記録したり、 ま た、 これを読み取ることにより枚数判定を行なうような処理が必要ない。
本発明は、 画像処理装置の製品の名称 (たとえば上記実施例における M F P (マルチファンクションプリンタ装置)) などによって限定を受けることなく、 ■ 画像読み取り手段と画像記録手段を有する種々の画像処理装置において実施 することができる。 本発明の制御プログラムは、 画像処理装置の出荷時から画 像処理装置の R O Mなどのメディアに格納しておく他、 種々の外部記憶媒体 (CDROM、 フレキシブルディスクなど) からこれらの装置に供給すること ができる。 さらに、 本発明の制御プログラムは、 任意のサーバからネットヮー ク経由で供給することもできる。
この出願は.2004年 12月 13日に出願された日本国特許出願第 200 4- 359287号からの優先権を主張するものであり、 その内容を引用して この出願の一部とするものである。

Claims

請求の範囲
1 . 画像読み取り手段と画像記録手段を有する画像処理装置において前記画 像記録手段により印刷出力すべき画像データを前記画像読み取り手段から読 み取らせたマークシートの記載情報により特定する画像処理方法において、 〖 印刷出力すべき画像データを解析し、 当該画像データ中の被写体の人数を検 出し、
当該画像のサムネイル画像と、 当該画像から検出された前記被写体の人数に 対応する当該画像の印刷枚数を指定できるマーク欄を含むマークシートを印 刷することを特徴とする画像処理方法。
2 . 請求項 1に記載の画像処理方法において、 前記被写体の人数の検出は、 当該画像データ中の顔の数の検出により行なうことを特徴とする画像処理方 法。
3 . 請求項 1に記載の画像処理方法において、 前記被写体の人数の検出を、 画像処理装置のアイ ドルタスクとして実行すること 特徴とする画像処理方 法。
4 . 請求項 1に記載の画像処理方法において、 前記マークシートのマーク欄 として、 所定枚数までの枚数を指定可能なデフォルトのマーク欄が設けられ、 画像から検出された被写体の人数が前記所定枚数を超える場合のみさらに当 該人数分の印刷枚数を指定するマーク欄が生成されることを特徴とする画像 処理方法。
5 . 請,求項 1に記載の画像処理方法において、 検出された被写体の人数に関 する情報を当該画像データの画像ファィル中にへッダ情報として格納するこ とを特徴とする画像処理方法。
6 . 請求項 1に記載の画像処理方法において、 前記マークシ一トのマーク欄 として、 所定枚数までの枚数を指定可能なデフォルトのマーク欄が設けられ、 前記マーク欄のうち特定のマーク欄が画像から検出された被写体の人数が前 記所定枚数を超える場合、 その当該人数分の印刷枚数を指定するマーク欄とし て生成されることを特徴とする画像処理方法。
7 . 請求項 6に記載の画像処理方法において、 読み取ったマークシートで前 記特定のマーク欄がマークされている場合、 当該画像データに関して検出され た被写体の人数に関する情報が当該画像データの画像フアイル中にへッダ情 報として格納されていればその人数分の印刷枚数を選,択し、 前記被写体の人数 に関する情報が当該画像データの画像ファィル中にへッダ情報として格納さ れていなければ、 当該マークにより指定されるべき印刷枚数を選択することを 特徴とする画像処理方法。
8 . 請求項 1 〜 7のいずれか 1項に記載の画像処理方法を実施することを特 徴とする画像処理装置。 '
9 . 請求項 1 〜 7のいずれか 1項に記載の画像処理方法を実施すべく画像処 理装置のハードウエアを制御することを特徴とする画像処理装置の制御プロ グラム。
PCT/JP2005/023209 2004-12-13 2005-12-13 画像処理方法、画像処理装置、および画像処理装置の制御プログラム WO2006064938A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US11/409,983 US7760384B2 (en) 2004-12-13 2006-04-25 Image processing method, image processing apparatus, and control program for image processing apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004359287 2004-12-13
JP2004-359287 2004-12-13

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US11/409,983 Continuation US7760384B2 (en) 2004-12-13 2006-04-25 Image processing method, image processing apparatus, and control program for image processing apparatus

Publications (1)

Publication Number Publication Date
WO2006064938A1 true WO2006064938A1 (ja) 2006-06-22

Family

ID=36587981

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2005/023209 WO2006064938A1 (ja) 2004-12-13 2005-12-13 画像処理方法、画像処理装置、および画像処理装置の制御プログラム

Country Status (2)

Country Link
US (1) US7760384B2 (ja)
WO (1) WO2006064938A1 (ja)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100076793A (ko) * 2008-12-26 2010-07-06 삼성전자주식회사 디지털 이미지 처리 장치 및 방법, 컴퓨터 판독가능 저장매체, 및 전자 장치 및 그 제어 방법

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004025576A (ja) * 2002-06-25 2004-01-29 Canon Inc 画像処理装置および画像処理方法およびコンピュータが読み取り可能な記憶媒体およびプログラム
JP2004034584A (ja) * 2002-07-05 2004-02-05 Canon Inc 入出力装置及び記録動作指示手段

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09281605A (ja) * 1996-04-15 1997-10-31 Fuji Photo Film Co Ltd 画像記録装置
JPH10214003A (ja) 1997-01-31 1998-08-11 Fuji Photo Film Co Ltd 画像プリント作成装置
US20010040685A1 (en) 1998-10-15 2001-11-15 Hewlett-Packard Company System and method for printing and scanning a user-completed digital still camera image proof sheet and order form
US6535298B2 (en) 1998-10-15 2003-03-18 Hewlett-Packard Company Storing and retrieving digital camera images via a user-completed proof sheet
US6956671B2 (en) 1998-10-15 2005-10-18 Hewlett-Packard Development Company, L.P. Specifying image file processing operations via device controls and a user-completed proof sheet
US6956571B2 (en) * 2000-02-07 2005-10-18 Sony Corporation Display device and design method for display device
JP2001357404A (ja) * 2000-06-14 2001-12-26 Minolta Co Ltd 画像抽出装置
US6748097B1 (en) * 2000-06-23 2004-06-08 Eastman Kodak Company Method for varying the number, size, and magnification of photographic prints based on image emphasis and appeal
JP2002273973A (ja) 2000-12-12 2002-09-25 Hewlett Packard Co <Hp> 画像ファイルを処理する方法
US7142318B2 (en) * 2001-07-27 2006-11-28 Hewlett-Packard Development Company, L.P. Printing web page images via a marked proof sheet
US20040047001A1 (en) * 2002-09-11 2004-03-11 Gehring Shane T. Image selection using proof sheet
JP2004145563A (ja) 2002-10-23 2004-05-20 Fuji Photo Film Co Ltd 画像処理方法及びデジタルカメラ
US7315391B2 (en) * 2003-01-24 2008-01-01 Hewlett-Packard Development Company, L.P. Managing digital images
JP2004291271A (ja) * 2003-03-25 2004-10-21 Fuji Photo Film Co Ltd プリンタ及びプリント注文受付装置並びにコマインデックス画面表示方法
JP2004347647A (ja) * 2003-05-20 2004-12-09 Canon Inc プリント情報設定装置
JP4350476B2 (ja) * 2003-09-24 2009-10-21 キヤノン株式会社 画像記録読取装置
JP4455302B2 (ja) * 2003-12-25 2010-04-21 富士フイルム株式会社 画像編集装置および方法並びにプログラム
US7525675B2 (en) * 2004-02-06 2009-04-28 Hewlett-Packard Development Company, L.P Image printing via a proof sheet
JP4424216B2 (ja) * 2004-03-30 2010-03-03 セイコーエプソン株式会社 画像処理装置、画像処理方法、および、画像処理プログラム
JP2006025257A (ja) * 2004-07-08 2006-01-26 Fuji Photo Film Co Ltd 撮像装置
JP4605458B2 (ja) * 2005-04-12 2011-01-05 富士フイルム株式会社 画像処理装置及び画像処理プログラム

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004025576A (ja) * 2002-06-25 2004-01-29 Canon Inc 画像処理装置および画像処理方法およびコンピュータが読み取り可能な記憶媒体およびプログラム
JP2004034584A (ja) * 2002-07-05 2004-02-05 Canon Inc 入出力装置及び記録動作指示手段

Also Published As

Publication number Publication date
US20060187494A1 (en) 2006-08-24
US7760384B2 (en) 2010-07-20

Similar Documents

Publication Publication Date Title
US8773686B2 (en) Image processing method and image processing apparatus
JP2008028808A (ja) 画像合成装置、画像合成装置の制御方法およびプログラム
JP2007181029A (ja) 画像処理装置および画像処理装置の制御方法
JP4414402B2 (ja) 画像形成装置
JP4785628B2 (ja) 画像処理装置、画像処理方法、およびプログラム
JP4863079B2 (ja) 画像形成装置
WO2006064938A1 (ja) 画像処理方法、画像処理装置、および画像処理装置の制御プログラム
JP4455358B2 (ja) 画像処理装置およびその方法
JP2005178320A (ja) 記録装置
JP4827519B2 (ja) 画像処理装置、画像処理方法、およびプログラム
WO2010047085A1 (en) Image output apparatus, image output method, and control program
JP2006197567A (ja) 画像処理方法、画像処理装置、および画像処理装置の制御プログラム
JP2006268493A (ja) 画像処理装置、画像処理方法プログラム及び記憶媒体
US20200036846A1 (en) Image processing apparatus with direct print function, control method therefor, and storage medium
JP2007158858A (ja) 画像形成装置及び画像形成処理プログラム
JPH11180005A (ja) 画像形成装置の再印刷方法および装置
US8477360B2 (en) Image processing method, image processing apparatus and control program for image processing apparatus
JP4358057B2 (ja) コンピュータ装置及び画像処理プログラム
JP2005092445A (ja) プリントシステム
JP2006142615A (ja) ダイレクトプリンタ
JP3262085B2 (ja) 画像記録装置
JP2005229199A (ja) 画像記録装置及び画像記録方法
JP2006115169A (ja) 情報管理装置、情報管理方法および情報管理プログラム
JP2005333171A (ja) 画像処理方法、画像処理装置、および画像処理装置の制御プログラム
JP2006128918A (ja) 印刷画像データ処理装置、印刷画像データ処理方法及び印刷画像データ処理用プログラム

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 11409983

Country of ref document: US

AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KM KN KP KR KZ LC LK LR LS LT LU LV LY MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU LV MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

WWP Wipo information: published in national office

Ref document number: 11409983

Country of ref document: US

121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 05816693

Country of ref document: EP

Kind code of ref document: A1

WWW Wipo information: withdrawn in national office

Ref document number: 5816693

Country of ref document: EP