WO2004012449A1 - ディジタルカメラ - Google Patents

ディジタルカメラ Download PDF

Info

Publication number
WO2004012449A1
WO2004012449A1 PCT/JP2003/009621 JP0309621W WO2004012449A1 WO 2004012449 A1 WO2004012449 A1 WO 2004012449A1 JP 0309621 W JP0309621 W JP 0309621W WO 2004012449 A1 WO2004012449 A1 WO 2004012449A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
background
subject
background data
image
Prior art date
Application number
PCT/JP2003/009621
Other languages
English (en)
French (fr)
Inventor
Masanobu Shirakawa
Shuji Tsuji
Original Assignee
Seiko Epson Corporation
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 Seiko Epson Corporation filed Critical Seiko Epson Corporation
Priority to JP2004524182A priority Critical patent/JPWO2004012449A1/ja
Publication of WO2004012449A1 publication Critical patent/WO2004012449A1/ja
Priority to US11/045,483 priority patent/US20050212945A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/272Means for inserting a foreground image in a background image, i.e. inlay, outlay

Definitions

  • the present invention relates to a digital camera. .
  • a digital camera has a use, for example, for recording data as a material of a composite image. Synthetic images are widely used for printing greeting cards with photos, photo stickers with frames, and so on.
  • Japanese Patent Application Laid-Open Publication No. 2000-450532 discloses a method in which synthesized image data obtained by synthesizing data representing a frame or background (background data) and data representing a subject (subject data) is stored in an external memory.
  • a digital camera for recording on a digital camera is disclosed.
  • the background data and the subject data are combined before recording in the external memory. Cannot be changed or new background data can be set.
  • the first invention is a digital device that can set background data in a short time after shooting, and can change background data or set new background data after shooting.
  • the purpose is to provide a camera.
  • a digital camera includes: a photographing unit that creates subject data based on an output of an image sensor and stores the created subject data in a nonvolatile memory; and a plurality of backgrounds for combining with the subject data.
  • Background selecting means for displaying data on a display and allowing a user to select at least one of the displayed plurality of background data; and subject data stored in the nonvolatile memory and the selected background data.
  • Synthesizing display means for synthesizing and displaying on the display, and background setting means for storing information relating the object data stored in the non-volatile memory and the selected background data in the non-volatile memory. It is characterized by the following.
  • the subject data and the background data are not combined and displayed until the background data associated with the subject data stored in the nonvolatile memory is selected.
  • background data can be set in a short time after photographing.
  • the second invention is a digital camera that can set background data while confirming a combined image after shooting, and can change background data or set a new background image after shooting.
  • the purpose is to provide.
  • a digital camera includes: a photographing unit that creates subject data based on an output of an image sensor and stores the subject data in a nonvolatile memory; and a subject data stored in the nonvolatile memory.
  • Background selecting means for individually combining a plurality of background data with one of the plurality of background data and displaying the combined data on a display, and allowing a user to select at least one of the plurality of combined and displayed background data; and storing the data in the nonvolatile memory.
  • Background setting means for storing information relating the selected object data and the selected background data in the nonvolatile memory.
  • the data obtained by synthesizing the background data and the subject data is nonvolatile.
  • information relating the background data to the subject data is stored in the non-volatile memory, so that the background data can be set after photographing.
  • a plurality of background data are individually combined with one of the subject data and displayed on a display, and at least one of the plurality of combined and displayed background data is displayed by a user. The user can set background data while checking the image after composition after shooting.
  • FIG. 1 is a flowchart showing a flow of a process for setting association between subject data and background data after photographing in the first embodiment of the present invention.
  • FIG. 2 is a block diagram showing a digital camera according to the first embodiment of the present invention.
  • FIG. 3A is a rear view of the digital camera according to the first embodiment of the present invention, and
  • FIG. 3B is a front view thereof.
  • FIG. 4 is a schematic diagram showing a background file recorded in a removable memory in the first embodiment of the present invention.
  • FIG. 5 is a flowchart showing a flow of processing for storing subject data in a removable memory by associating subject data with background data before photographing in the first embodiment of the present invention.
  • FIG. 6 is a schematic diagram for explaining information relating a subject image and background data in the digital camera according to the first embodiment of the present invention.
  • FIG. 7 is a schematic diagram showing composite image data displayed on LCD in the first embodiment of the present invention.
  • FIG. 8 shows a composite display of subject data and background data in the first embodiment of the present invention. It is a schematic diagram which shows a process.
  • FIG. 9 is a flowchart showing a flow of a process for setting association between subject data and background data after photographing in the second embodiment of the present invention.
  • FIG. 10 is a schematic diagram showing composite image data displayed on LCD in the second embodiment of the present invention.
  • BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described based on examples.
  • FIG. 2 is a block diagram showing a configuration of the digital camera 1 according to the first embodiment of the present invention.
  • FIGS. 3A and 3B are a front view and a rear view, respectively, showing the appearance of the digital camera 1.
  • the lens driving section 72 drives the zoom lens 40 such that a subject image is formed on the light receiving section of the image sensor 44 at a magnification according to a signal input from the CPU 68.
  • the aperture driving unit 74 drives the optical aperture 42 such that the amount of incident light on the image sensor 44 becomes the amount of incident light according to the signal input from the CPU 68.
  • the image sensor 44 is an area image sensor formed on-chip with a color filter array composed of four complementary color filters of C (Cyan), M (Magenta), Y (Yellow) and G (Green). Yes, accumulates charges obtained by photoelectrically converting received light for a certain period of time, and outputs an electric signal corresponding to the amount of received light for each photoelectric conversion element.
  • the color filter array may be composed of three complementary color filters of CMY or primary color filters of R (Red), G (Green), and B (Blue).
  • the CDS circuit 46 performs a process of reducing noise included in the analog electric signal.
  • the AGC circuit 48 adjusts the level of the analog electric signal by adjusting the gain.
  • AZD The converter 50 quantizes the analog electric signal subjected to each of the above processes into a digital signal having a predetermined gradation.
  • the scanning control unit 76 outputs a shift pulse, a vertical transfer pulse, a horizontal transfer pulse, and the like to the image sensor 44, and outputs these to the CDS circuit 46, the AGC circuit 48, and the AZD converter 50. Outputs driving pulse to operate in synchronization with 4.
  • the digital image processor 52 includes, for example, a DSP (Digital Signal Processor), and performs image generation processing, white balance correction, and gamma correction based on the image signal output from the A / D converter 50. Then, color space conversion and the like are performed, and subject data representing, for example, the gradation values of R, G, and B, and the gradation values of Y, Cb, and Cr for each pixel are created and stored in the RAM 66.
  • the image generation processing here mainly means that the CMYG of each pixel is obtained by interpolation processing using digital data representing one of the CMYG gradation values corresponding to the output of each photoelectric conversion element. This is a process for generating an image having four gradation values.
  • the compression / expansion processing section 54 compresses the subject data output from the digital image processing section 52 to create compressed image data conforming to, for example, the JPEG format, and in the playback mode. Expands the compressed image data read from the removable memory 57 using the reader / writer 56 and stores it in the RAM 66.
  • a removable memory 57 composed of a non-volatile memory such as a flash memory can be detachably attached to the reader / writer 56, and the reader / writer 56 writes data to the removable memory 57, and the removable memory 5 Read the data stored in 7.
  • the operation unit 6 4 is a power button 14 for performing ONZ FF of the power supply, a dial switch 16 for switching modes such as the shooting mode, playback mode, and direct print mode, and a shirt for inputting shirt instructions. Evening button 28, background setting key 18 for setting the background in the shooting mode, zoom button 10 for setting the zoom lens magnification, 1 and 2, next selection key 20 and previous selection key 22 Pressing the various buttons and buttons such as the enter key 24 and the like and detecting the rotation angle of the dial switch 16 It has a road.
  • the display control unit 58 performs processing such as thinning out image data output from the digital image processing unit 52 at a fixed magnification according to the display area of the display, color space conversion processing, synthesis processing, and the like.
  • An LCD (Liquid Crystal Display) 26 as a display is driven based on the display data created in the above.
  • the frame buffer 62 has a background area and a foreground area for individually storing image data to be synthesized.
  • the display control unit 58 displays the pixels of the image data stored in the background area in preference to the transparent pixels of the image data stored in the foreground area, and displays the pixels in the foreground more than the pixels of the image data stored in the background area.
  • the image processing apparatus includes a combination processing circuit for combining and displaying the image data stored in the foreground area and the background area on the LCD 26 by displaying the opaque pixels of the image data stored in the area preferentially. I have.
  • the CPU 68 controls the entire digital camera 1 by executing a computer program stored in the ROM 70.
  • the ROM 70 is a memory for storing a computer program and the like for the CPU 68 to execute various controls.
  • the RAM 66 is a memory for temporarily storing various programs and data.
  • FIG. 4 is a schematic diagram showing a background file recorded in the removable memory 57.
  • the background file is for creating a printed matter such as a greeting card with a photo or a sticker with a photo, and is transferred from a personal computer or the like and stored in the ROM 70 or the removable memory 57 in advance.
  • description will be made assuming that the background file is stored in a predetermined folder (background folder) of the removable memory 57.
  • the background data stored in the background file represents images 80 and 82 composed of line drawings, fills, and characters.
  • the hatched area is the area (transparent area) where the subject data is fitted and synthesized.
  • the transparent area may be defined by a so-called ⁇ channel independent of each RGB channel.
  • the background data includes a large background data in which the subject data is partially allocated and a small background data in which the subject data is entirely allocated. More specifically, when the image of the entire subject data and the image of the entire background data are overlapped during the synthesis processing, the image of the entire background data is larger than the image of the entire subject data. An image in which the entire background data image is equal to or smaller than the entire subject data image is the small background data.
  • the image represented by the small background data includes, for example, an image 80
  • the image represented by the large background data includes, for example, an image 82.
  • the small background data representing the image 80 becomes, for example, 640x480 pixels when the subject data of 640x480 pixels are synthesized.
  • the number of pixels of the large background data representing the image 82 is, for example, 640x960 pixels during the synthesis process for an object image of 640x480 pixels. Note that the number of pixels of the large background data and the small background data in the combining process is not limited to the illustrated number of pixels, and the large background data may be, for example, 1600x1200 pixels for a 640x480 pixel subject image.
  • the image size of the background data does not have to correspond to the image size of the subject data. This is because the number of pixels according to the image size of the subject data can be converted by thinning or interpolation during the synthesis processing.
  • the background file contains the number of pixels of the background data, the coordinates that correspond to the origin coordinates of the subject data (the coordinates of the composite origin), the reference number of pixels of the allocated data, the print size, and the orientation of the background data It is organized from data indicating vertical, horizontal, etc.
  • the reference number of allocated data is compared with the number of pixels of the subject data to be allocated, and the background data is thinned out to a size corresponding to the number of pixels of the subject data to be allocated. Or, interpolate and convert the coordinates of the composite origin accordingly.
  • the combining process before printing is performed as follows. Interpolate the background data and set the number of pixels to (2560x1280), convert the coordinates of the composite origin to (40,40), and convert the converted background data from (40,40) to (1320,100). The background data and the subject data are combined so that the subject data overlaps the range.
  • interpolation processing, thinning-out processing, or rotation processing is further performed based on the print size stored in the background file in advance, the print direction of the background data, and the like, and a composite image of the set print size and print direction is obtained.
  • Printed by pudding the position and size of the area on the printing paper to which the subject data is allocated may be represented by parameters such as upper left coordinates and lower right coordinates on the area corresponding to the printing paper.
  • the object data may be thinned or interpolated according to the size of the area to which the object data is allocated, and then the thinned or interpolated object data may be allocated to the area specified by the background file.
  • printing synthesis is performed.
  • the true background data used to create the image data is stored in a personal computer or a stand-alone printer, and displayed on the digital camera 1 with a lower resolution and coarser gradation than the true background data. Processing 'may be performed. By doing so, the memory space of the digital camera 1 is not squeezed by the background data, and the background data can be processed at a high speed.
  • Fig. 5 shows the relationship between the subject data and the background data before shooting.
  • 7 is a flowchart showing the flow of a process for storing a subject image in FIG. The sequence shown in FIG. 5 is started when the operator presses the background setting key 18 in the shooting mode determined by the rotation angle of the dial switch 16.
  • step S100 one of the background files stored in the removable memory 57 is selected.
  • step S105 the background data stored in the selected background file is displayed on the LCD26.
  • step S130 the subject image is displayed as a moving image in the transparent area of the background image.
  • the background data selected in steps S10o to s120 and the subject data created by the digital image processing unit 52 are stored in the frame buffer 62, and the display control unit 5 8 combines the subject data and the background data stored in the frame buffer 62 and outputs a drive signal to the LCD 26, whereby a combined image is displayed as shown in FIG.
  • the image of the subject is updated at predetermined time intervals so that the subject is displayed as a moving image.
  • the subject data is created so as to match the background data selected by pressing the decision key 24 in step S120, that is, a shirt evening instruction is inputted with an appropriate composition and timing. It becomes possible.
  • step S140 it is detected whether or not the shirt evening instruction has been input, that is, whether or not the shirt evening button 28 has been pressed. If the pressing of the shirt evening button 28 has not been detected, step S13 is executed. Returning to 0, the above processing is repeated. If the press of the shirt button 28 is detected in step S140, the process proceeds to step S150.
  • step S150 a predetermined control signal is input to the scanning control unit 76, the charge stored in the image sensor 44 for a predetermined time is scanned, and the digital image processing unit 52 creates a subject image. Then, the subject image is compressed by the compression / decompression processing unit 54 and the compressed image data One night is created and stored in a subject folder of the removable memory 57 shown in FIG. 6 by a reader / writer 56 in a predetermined file format such as JPEG.
  • step S160 information relating the subject data recorded in step S150 to the background file selected by pressing the enter key 24 in step S110 is stored in the removable bubble memory 57. I do. Specifically, the file name of the subject data recorded in step S150 is set as "subject file name", and the file name of the background file selected by pressing the decision key 24 in step S110 is set as the file name. Create an association record with “background file name” and “when setting” before shooting, and add it to the setting table T shown in Fig. 6.
  • the setting table T for managing information for associating the subject data with the background file will be described.
  • the setting table T is recorded in the setting folder of the removable memory 57.
  • the setting table T is organized from an association record that associates a subject file with a background file on a one-to-one basis.
  • Each association record includes an ID, a subject file name, a background file name, and a setting time.
  • the “subject file name” is a data for uniquely identifying the subject file storing the subject data in a file system such as a digital camera 1 or a personal computer.
  • Background file name is data for uniquely identifying a background file in a file system such as a digital camera 1 or a personal computer.
  • “At the time of setting” is data indicating whether the association record was created before shooting, or created or edited after shooting. That is, the association record in which “at the time of setting” is before photographing is the association record created in step S160, and is an association record that has not been edited thereafter.
  • the association record for which “at the time of setting” has been taken is an association record added or overwritten in the background setting mode described later.
  • an association record for associating the subject file and the background file in an arbitrary combination can be added without limitation as long as it is within the upper limit of the memory capacity.
  • an association record an association record with IDs of 3 and 4 in the example of FIG. 6 for associating different background files with one subject file. Therefore, by using the setting table T, information relating a plurality of background files to one subject file can be stored in the removable memory 57.
  • the subject data and the background data may be related not only by the table but also by a directory, or by storing the other party's file name in the subject file or the background file.
  • an associating file describing the path of the background file is recorded for each subject file, and the file name of the associating file is associated with the file name of the subject file (for example, part of the file name is matched).
  • the subject data and the background data may be associated with each other.
  • FIG. 1 is a flowchart showing the flow of this processing.
  • the sequence shown in FIG. 1 is started when the rotation angle of the dial switch 16 corresponding to the reproduction mode is detected by the operation unit 64.
  • step S200 one of the association records stored in the setting table T is selected.
  • step S210 the LCD 26 displays the subject data of the subject file name stored in the selected association record.
  • the processing is performed as follows. First, subject data is read from the removable memory 57 by the reader / writer 56, decompressed by the compression / decompression processing unit 54, and stored in the RAM 66. Although the subject data has been described as being recorded in a compressed form in advance, it may be recorded in an uncompressed state.
  • the display control section 58 thins out subject data according to the number of pixels in the display area of the LCD 26 and stores the data in the frame buffer 62. Assuming that the number of pixels in the display area is 320 x 240 pixels and the subject is 640 x 480 pixels in the evening, thinning is performed so that the number of pixels in the vertical and horizontal directions is halved. And store it in the frame buffer 62.
  • the decimation process performed here is a process performed on all subject data regardless of whether the subject data is synthesized with background data or the subject data is not synthesized. It is desirable to use it for high-speed processing.
  • step S220 it is detected whether or not the next selection key has been pressed, and if it has been pressed, the process returns to step S200 to select the next association record, and repeats the above processing. return. If the next selection key 20 has not been pressed in step S220, the flow advances to step S230 to determine whether a mode switching instruction has been input, that is, whether the rotation angle of the dial switch 16 has been changed. No, the playback mode is terminated and the mode is switched to another mode when a mode switching instruction is input. If no mode switching instruction has been input in step S230, the flow advances to step S240 to detect whether or not the background setting key 18 has been pressed.
  • background setting mode Move to Note that a mode in which a series of processes from step S250 to step S320 is executed is referred to as a background setting mode. If the background setting key 18 has not been pressed in step S240, the process returns to step S220 and repeats the above processing.
  • step S250 one of the background files stored in the removable memory is selected.
  • the background file associated with the association record selected in step S200 is selected.
  • step S260 the background data stored in the selected background file is displayed on the LCD 26, for example, as shown in FIG. 7 (B).
  • the processing is performed as follows. First, background data is read from the removable memory 57 by the reader / writer 56, decompressed by the compression / decompression processing unit 54, and stored in the RAM 66. The background data has been described as being compressed and recorded in advance, but may be recorded in an uncompressed state. Next, the background data is reduced according to the number of pixels in the display area of LCD 26 and rotated as necessary.
  • the background data edited for display is stored in the frame buffer 62, and is displayed by the display control unit 58 driving the LCD 26 based on it.
  • step S270 it is detected whether or not the next selection key 20 has been pressed. If so, the flow returns to step S250 to select the next background data, and repeats the above processing. For example, the following background data is displayed on the LCD 26 as shown in FIG. If not, the flow advances to step S280 to detect whether or not the enter key 24 has been pressed, ie, whether or not background data has been selected by the user. Repeat step S270 and step S280 until next selection key 20 or decision key 24 is pressed. When background data is selected by the user by pressing the set key 24, the process proceeds to step S290.
  • step S290 the subject data associated with the currently selected association record is combined with the background data selected by the user in step S280, and, for example, a combined image shown in FIG. I do.
  • the processing is performed as follows. First, the background data is read from the removable memory 57 by the reader / writer 56, decompressed by the compression / decompression processing unit 54, and the background data 80 is stored in the RAM 66 as shown in FIG. Next, in order to display the whole background data 80 having a larger number of pixels than the display area on one screen, reduction processing according to the number of pixels of the background data 80 and rotation processing as necessary are performed.
  • the background data 80 is thinned out so that the number of pixels in the vertical and horizontal directions becomes one third, and the background data 80 is rotated 90 °, and the 320x213 pixels
  • a background image 89 for print preview is created and stored in the foreground area of the frame buffer 62.
  • the subject data stored in the RAM 66 is converted according to the information stored in the background file (the number of pixels in the background data, the coordinates of the origin of composition, the number of reference pixels in the allocated data, etc.) and the number of pixels in the display area. And then rotate and translate by coordinate transformation to create a print preview subject 88.
  • the magnification is smaller in the thinning processing performed in step S290 than in the thinning processing performed in step S210.
  • the subject data 84 stored in the RAM 66 is rotated 90 ° clockwise in the horizontal direction.
  • the coordinates of the subject data 85 are transformed according to the coordinate transformation by the thinning process and the rotation process performed on the background data.
  • the horizontal object data 84 of 640 ⁇ 480 pixels stored in the RAM 66 is The print preview subject data 88 is created.
  • the print preview subject data 85 is stored in the foreground area of the frame buffer 62 in the area corresponding to the right side of the screen, and the area corresponding to the left side of the screen is transparent. Is stored.
  • the display control unit 58 combines the print preview subject data 88 and the print preview background data 89 stored in the frame buffer 62 and outputs a driving signal to the LCD 26, for example. As shown in FIG. 7D, the entire print preview composite image is displayed on one screen of the LCD 26.
  • step S300 the information that associates the subject data associated with the currently selected association record with the background file selected in step S250 is recorded in the setting table ⁇ . Lets the operator choose whether to overwrite existing association records or add new ones. For example, “Yes” and "Overwrite?"
  • the "No” button is displayed on the LCD 26, and one of the "Yes” and “No” buttons is selected using the next selection key 20, the previous selection key 22, and the decision key 24. If overwrite is selected in step S300, proceed to step S310 and change the background file name of the currently selected association record to the file name of the background data selected in step S250. Then, change “when setting” in the association record to “after shooting”. .
  • step S300 If the overwrite is not selected in step S300, the process proceeds to step S320, and the subject file name of the currently selected association record is set as the "subject file name", and the background data selected in step S250. Create a new association record with the file name “background file name” and “when setting” as “after shooting” and add it to the setting table T. The association record added at this time corresponds to the second association data described in the claims.
  • step S310 or step S320 ends, the flow returns to step S220 to repeat the above processing. The processing for setting the association between the subject data and the background data after shooting has been described above.
  • the photographing means described in the claims is a CDS circuit 46, an AGC circuit 48, an A / D converter 50, a digital image processing unit 52, a RAM 66, a compression / expansion process. , A reader / writer 56, and the like, the function of which is realized by the processing of step S150.
  • the background selecting means described in the claims comprises a frame buffer 62, a display control unit 58, a background setting key 18, a next selection key 20, a previous selection key 22, a decision key 24, and the like. Is realized by the processing from step S250 to step S280.
  • the combined display means according to the claims is composed of a frame buffer 62, a display control unit 58, and the like, and its function is realized by the processing of step S290.
  • the background setting means described in the claims includes a CPU 68, a RAM 66, a reader / writer 56, and the like, and its function is realized by the processing of step S310 and step S320. .
  • the subject data itself is stored in the removable memory 57 instead of the data obtained by synthesizing the subject data and the background data, and the subject data and the background data are set. Since the association is performed by the association record stored in the table T, the background data to be combined with the subject data can be set after photographing. Further, in the first embodiment, the subject data and the background data are combined and displayed until the user selects the background data associated with the subject data stored in the removable memory 57 in step S280. Display only subject data without performing The amount of processing required to display the subject data and the background data together is greater than the amount of processing required to display only the subject data.
  • the amount of processing required for composite display of subject data and background data is limited to displaying only subject data.
  • the background data associated with the subject data stored in the removable memory 57 is stored in step S 2. Until selected by the user at 80, only the subject data is displayed without the composite display of the subject data and the background data, so that it is necessary to allow the user to select one of a plurality of background data. Less processing. Therefore, according to the first embodiment, the user can set the background data in a short time after shooting.
  • FIG. 9 is a flowchart showing a flow of a process for setting association between subject data and background data after photographing in the second embodiment of the present invention.
  • the same processes as those in the first embodiment are denoted by the same reference numerals and symbols, and description thereof is omitted.
  • step S265 the subject data associated with the currently selected association record is combined with the background data selected in step S250, and the combined image shown in FIG. Displayed on 26.
  • the subject data associated with the currently selected association record is combined with the background data selected in step S250, and the combined image shown in FIG. Displayed on 26.
  • step S270 it is detected whether or not the next selection key 20 has been pressed, and if it has been pressed, the flow returns to step S250 to select the next background data and repeats the above processing. For example, as shown in FIG. 7 (B), the following background data and the already selected subject data 84 are combined and displayed on the LCD 26. If it has not been pressed, the flow advances to step S280 to detect whether or not the enter key 24 has been pressed, ie, whether or not background data has been selected by the user. Step S270 and Step S280 are repeated until the next selection key 20 or the determination key 24 is pressed, and the step is performed when the user selects the background data by pressing the determination key 24. Proceed to S300.
  • the subject data itself is stored in the removable memory 57 instead of the data obtained by synthesizing the subject data and the background data, and the subject data and the background data are stored in the removable memory 57. Since the association is made by the association record stored in the setting table T, the background data to be combined with the subject data can be set after shooting. Further, in the second embodiment of the present invention, the next selection key is applied to one of the subject data. The subject data and the background data are combined and displayed on the display while multiple background data are exchanged in response to the pressing of 20. At least one of the combined background data is displayed. To allow the user to make a selection, the user can set the background data while checking the combined image after shooting.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

被写体データと背景データとを合成して得たデータではなく被写体データそのものをリムーバブルメモリに格納し、被写体データと背景データとを関連付けレコードによって関連付けるため、被写体データと合成される背景データを撮影後に設定することができる。さらに、リムーバブルメモリに格納された被写体データに関連付ける背景データがステップS280においてユーザによって選択されるまでは、被写体データと背景データとを合成表示することなしに、被写体データだけを表示する(ステップS260)ため、複数の背景データの1つをユーザに選択させるために必要な処理が少ない。

Description

ディジタルカメラ
技術分野
本発明は、 ディジタルカメラに関する。 .
背景技術
ディジタルカメラには、 例えば合成画像の素材としてのデータを記録するという 用途がある。 合成画像は、 写真付挨拶状、 枠付き写真シールなどを印刷するために 広く用いられている。
特開 2 0 0 1— 4 5 3 5 2号公報には、 枠や背景を表すデータ (背景データ) と 被写体を表すデータ (被写体データ) とを合成して得た合成画像データを外 メモ リに記録するディジ夕ルカメラが開示されている。
しかし、 特開 2 0 0 1—4 5 3 5 2号公報に開示されたディジタルカメラによる と、 外部メモリに記録する前に背景データと被写体データとを合成してしまうため 、 撮影後には背景データを変更したり新規に背景データを設定したりすることがで きない。
発明の開示
第一の発明は、 撮影後に短時間で背景データを設定することができ、 撮影後に背 景データを変更したり新規に背景データを設定したりすることができるディジタル カメラを提供することを目的とする。
この目的を達成するため、 第一の発明に係るディジタルカメラは、 イメージセン ザの出力に基づいて被写体データを作成し不揮発性メモリに格納する撮影手段と、 被写体データと合成するための複数の背景データをディスプレイに表示し、 表示さ れた複数の背景デ一夕の少なくとも 1つをユーザに選択させる背景選択手段と、 前 記不揮発性メモリに格納された被写体データと前記選択された背景データとを前記 ディスプレイに合成表示する合成表示手段と、 前記不揮発性メモリに格納された被 写体データと選択された背景データとを関連付ける情報を前記不揮発性メモリに格 納する背景設定手段と、 を備えることを特徴とする。 第一の発明に係るディジタル カメラによると、 不揮発性メモリに格納された被写体デ一夕に関連付ける背景デー ダが選択されるまでは、 被写体デ一夕と背景デー夕とを合成表示することなしに、 被写体デ一夕を表示するため、 複数の背景データから少なくとも 1つをユーザに選 択させるために必要な処理が少ない。 したがって第一の発明に係るディジタルカメ ラによると、 撮影後に短時間で背景データを設定することができる。
第二の発明は、 撮影後に合成後の画像を確認しながら背景データを設定すること ができ、 撮影後に背景データを変更したり新規に背景デ一夕を設定したりすること ができるディジタルカメラを提供することを目的とする。
上記目的を達成するため、 第二の発明に係るディジタルカメラは、 イメージセン サの出力に基づいて被写体データを作成し不揮発性メモリに格納する撮影手段と、 前記不揮発性メモリに格納された被写体データの 1つに対し複数の背景データを個 別に合成してディスプレイに表示し、 合成表示された複数の背景データの少なくと も 1つをユーザに選択させる背景選択手段と、 前記不揮発性メモリに格納された被 写体データと前記選択された背景データとを関連付ける情報を前記不揮発性メモリ に格納する背景設定手段と、 を備えることを特徴とする。 第二の発明に係るディジ 夕ルカメラによると、 背景データと被写体データとを合成して得たデータを不揮発 性メモリに格納するのではなく、 背景データと被写体データとを関連付ける情報を 不揮発性メモリに格納するため、 撮影後に背景データを設定することができる。 ま た、 第二の発明に係るディジタルカメラによると、 被写体データの 1つに対し複数 の背景データを個別に合成してディスプレイに表示し、 合成表示された複数の背景 データの少なくとも 1つをユーザに選択させるため、 ユーザは撮影後に合成後の画 像を確認しながら背景データを設定することができる。
図面の簡単な説明 図 1は、 本発明の第一実施例において、 撮影後に被写体データと背景データとの 関連付けを設定する処理の流れを示すフローチャートである。
図 2は、 本発明の第一実施例によるディジタルカメラを示すブロック図である。 図 3 (A) は本発明の第一実施例によるディジタルカメラの背面図、 図 3 ( B ) はその正面図である。
図 4は、 本発明の第一実施例において、 リムーバブルメモリに記録された背景フ アイルを示す模式図である。
図 5は、 本発明の第一実施例において、 撮影前に被写体データと背景データとを 関連付けてリムーバブルメモリに被写体データを格納する処理の流れを示すフロー チヤ一卜である。
図 6は、 本発明の第一実施例によるディジタルカメラにおける被写体デ一夕と背 景データとを関連付ける情報を説明するための模式図である。
図 7は、 本発明の第一実施例において L C Dに表示される合成画像データを示す 模式図である。
図 8は、 本発明の第一実施例において被写体データと背景データを合成表示する 処理を示す模式図である。
図 9は、 本発明の第二実施例において、 撮影後に被写体データと背景データとの 関連付けを設定する処理の流れを示すフローチャートである。
図 1 0は、 本発明の第二実施例において L C Dに表示される合成画像データを示 す模式図である。 発明を実施するための最良の形態 以下、 実施例に基づいて本発明の実施の形態を説明する。
(第一実施例)
図 2は、 本発明の第一実施例によるディジタルカメラ 1の構成を示すプロック図 である。 図 3 (A)、 図 3 ( B ) は、 それぞれディジタルカメラ 1の外観を示す正 面図、 背面図である。
レンズ駆動部 7 2は、 C P U 6 8から入力される信号に応じた倍率で被写体像が イメージセンサ 4 4の受光部に結像されるように、 ズームレンズ 4 0を駆動する。 絞り駆動部 7 4は、 イメージセンサ 4 4への入射光量が C P U 6 8から入力される 信号に応じた入射光量になるように光学絞り 4 2を駆動する。
イメージセンサ 4 4は、 C (Cyan) , M (Magenta)、 Y (Yellow) 及び G ( Green) の 4色の補色フィル夕で構成された力ラーフィルタアレイをオンチップで 形成したエリアイメージセンサであり、 受光した光を光電変換して得られる電荷を 一定時間蓄積し、 光電変換素子毎の受光量に応じた電気信号を出力する。 なお、 力 ラーフィルタアレイは、 C MYの 3色の補色フィルタで構成してもよいし、 R ( Red) , G (Green) , B (Blue) の原色フィル夕で構成してもよい。
C D S回路 4 6は、 アナログ電気信号に含まれる雑音の低減処理を行う。 A G C 回路 4 8は、 ゲインの調整によりアナログ電気信号のレベルの調整を行う。 AZD 変換器 5 0は、 上記各処理の施されたアナログ電気信号を所定階調のディジタル信 号に量子化する。 走査制御部 7 6は、 イメージセンサ 4 4にシフトパルス、 垂直転 送パルス、 水平転送パルス等を出力し、 C D S回路 4 6、 A G C回路 4 8及び AZ D変換器 5 0にこれらをイメージセンサ 4 4と同期して作動させるための駆動パル スを出力する。
ディジ夕ル画像処理部 5 2は、 例えば D S P (Digital Signal Processor) で構成 され、 A/D変換器 5 0から出力された画像信号に基づいて、 画像生成処理、 ホヮ イトバランス補正、 γ補正、 色空間変換等を行い、 各画素について例えば R、 G、 Bの階調値や、 Y、 C b及び C rの階調値などを表す被写体データを作成し、 R A M 6 6に格納する。 尚、 ここでいう画像生成処理とは、 主に、 各光電変換素子の出 力に対応する C MY Gいずれかの階調値を表すディジタルデータを用いた補間処理 により画素毎に C MY Gの 4つの階調値を持つ画像デ一夕を生成する処理である。 圧縮 '伸張処理部 5 4は、 撮影モ一ドにおいては、 ディジタル画像処理部 5 2か ら出力された被写体データを圧縮して例えば J P E G形式に準拠した圧縮画像デー 夕を作成し、 再生モードにおいては、 リーダライタ 5 6を用いてリムーバブルメモ リ 5 7から読み出した圧縮画像データを伸張して R AM 6 6に格納する。 リーダラ イタ 5 6にはフラッシュメモリ等の不揮発性メモリで構成されるリムーバブルメモ リ 5 7を脱着自在であって、 リーダライタ 5 6はリム一バブルメモリ 5 7にデータ を書き込み、 また、 リムーバブルメモリ 5 7に格納されたデータを読み取る。
操作部 6 4は、 電源の O NZO F Fを行うための電源ポタン 1 4、 撮影モード、 再生モード、 ダイレクトプリントモードなどのモードを切り替えるためのダイヤル スィッチ 1 6、 シャツ夕指示を入力するためのシャツ夕ポタン 2 8、 撮影モードに おいて背景を設定するための背景設定キー 1 8、 ズームレンズの倍率を設定するた めのズームポタン 1 0、 1 2、 次選択キー 2 0、 前選択キー 2 2、 決定キー 2 4等 の各種のポタンとボタンの押下及びダイヤルスィッチ 1 6の回転角度を検出する回 路を備えている。
表示制御部 5 8は、 ディジタル画像処理部 5 2から出力される画像データをディ スプレイの表示領域に応じて固定倍率で間引く処理、 色空間変換処理、 合成処理等 を行い、 これらの処理を施して作成した表示データに基づいてディスプレイとして の L C D (Liquid Crystal Display) 2 6を駆動する。 フレ一ムバッファ 6 2には 合成される画像データを個別に格納する背景領域と前景領域とがある。 表示制御部 5 8は、 前景領域に格納された画像データの透明画素よりも背景領域に格納された 画像データの画素を優先して表示し、 背景領域に格納された画像データの画素より も前景領域に格納された画像デ一夕の不透明画素を優先して表示することにより、 前景領域及び背景領域にそれぞれ格納された画像データを L C D 2 6に合成表示す るための合成処理回路を備えている。
C P U 6 8は、 R OM 7 0に記憶されているコンピュータプログラムを実行する ことにより、 ディジタルカメラ 1の全体を制御する。 R OM 7 0は、 C P U 6 8が 各種の制御を実行するためのコンピュータプログラムなどを格納するためのメモリ である。 R AM 6 6は、 各種のプログラムやデータを一時的に記憶するためのメモ リである。
以上、 ディジタルカメラ 1の構成を説明した。 次に背景デ一夕について説明する 。 図 4はリムーバブルメモリ 5 7に記録された背景ファイルを示す模式図である。 背景ファイルは写真入り挨拶状、 写真入りシールなどの印刷物を作成するための ものであって、 パーソナルコンピュータなどから転送して R OM 7 0又はリムーバ ブルメモリ 5 7に予め格納しておく。 以後、 背景ファイルはリムーバブルメモリ 5 7の所定のフォルダ (背景フォルダ) に格納されているものとして説明する。 背景 ファイルに格納されている背景データは、 線画、 塗りつぶし、 文字などで構成され る画像 8 0、 8 2を表す。 ハッチングが付された領域は被写体データがはめ込み合 成される領域 (透明領域) である。 透明領域の画素の階調値には、 例えば R = 0 0 H、 G=00H、 B = 0 OHなどの予め決められた透明を表す値が設定されている 。 尚、 透明領域は、 RGBの各チャンネルから独立した所謂 αチャンネルによって 規定してもよい。 背景データには、 被写体データが一部に割り付けられる大背景デ 一夕と、 被写体データが全体に割り付けられる小背景データとがある。 より具体的 には、 合成処理時に被写体データ全体の画像と背景データ全体の画像とを重ねたと き、 背景データ全体の画像が被写体データ全体の画像より大きくなるものが大背景 デ一夕であり、 背景データ全体の画像が被写体データ全体の画像と等しいか小さく なるものが小背景デー夕である。
小背景データが表す画像には例えば画像 80のようなものがあり、 大背景データ が表す画像には例えば画像 82のようなものがある。 画像 80を表す小背景データ は例えば 640x480画素の被写体データに対して合成処理時に 640x480画 素になる。 画像 82を表す大背景データの画素数は例えば 640x480画素の被 写体デ一夕に対して合成処理時に 640x960画素になる。 なお、 合成処理時に おける大背景データ及び小背景デーダの画素数は例示した画素数に限定されず、 大 背景データは 640x480画素の被写体デ一夕に対して例えば 1600x1200 画素であってもよい。 また、 リム一バブルメモリ 57に格納されている状態におい ては、 背景データの画像サイズは、 被写体データの画像サイズに対応していなくと もよい。 合成処理時に間引き又は補間により被写体データの画像サイズに応じた画 素数に変換できるからである。
背景ファイルは、 背景デ一夕のほか、 背景データの画素数、 被写体データの原点 座標を対応させる座標 (合成原点の座標)、 割付データの基準画素数、 印刷サイズ 、 背景データの印刷の向き (縦、 横) 等を示すデータから編成されている。 印刷前 の合成処理時には、 割付データの基準画素数と割り付けようとする被写体データの 画素数とを比較し、 割り付けようとする被写体データの画素数に応じた大きさに背 景デ一夕を間引き又は補間し、 それに応じて合成原点の座標を変換する。 例えば、 背景データの画素数が (1280x640)、 合成原点の座標が (20, 20)、 割付データの基準画素数が (640x480) であって、 被写体データの画 素数が (1280x960) である場合、 被写体データの画素数が水平方向、 垂直 方向ともに基準画素数の 2倍であるため、 印刷前の合成処理は次のように行われる 。 背景データを補間してその画素数を (2560x1 280) とし、 合成原点の座 標を (40, 40) に変換し、 変換後の背景データの (40, 40) 〜 (1320 , 10 00) の範囲に被写体データが重なるように背景デ一夕と被写体データとを 合成する。 印刷時には、 予め背景ファイルに格納された印刷サイズ、 背景データの 印刷の向き等に基づいて、 さらに補間処理又は間引き処理又は回転処理が行われ、 設定された印刷サイズ及び印刷の向きの合成画像がプリン夕によって印刷される。 尚、 背景ファイルにおいて、 被写体データを割り付ける印刷用紙上の領域の位置 と大きさを、 例えば印刷用紙に対応した領域上の左上座標と右下座標などのパラメ 一夕で表してもよい。 また、 被写体データを割り付ける領域の大きさに応じて被写 体デ一タを間引き又は補間し、 その後、 背景ファイルで規定された領域に間引き又 は補間した被写体デ一夕を割り付けてもよい。
また、 パーソナルコンピュータ又はスタンドアロンプリンタで被写体データと背 景デ一夕とを合成した後に印刷することとし、 ディジタルカメラ 1とプリン夕とを 直結して印刷することを想定しないのであれば、 印刷用合成画像デ一夕の作成に用 いる真の背景データはパ一ソナルコンピュータ又はスタンドアロンプリンタに格納 しておき、 真の背景データよりも低解像度で階調が粗いものを用いてディジタルカ メラ 1における表示処理'を実行してもよい。 このようにすれば、 ディジタルカメラ 1のメモリ空間が背景データで圧迫されることがなく、 また、 背景データを高速に 処理することができる。
以上、 背景データについて説明した。 次にディジタルカメラ 1の作動を説明する 。 図 5は撮影前に被写体データと背景データとを関連付けてリム一バブルメモリ 5 7に被写体デ一夕を格納する処理の流れを示すフローチャートである。 図 5に示す シーケンスはダイヤルスィツチ 1 6の回転角度によって決まる撮影モードにおいて 、 オペレータが背景設定キー 1 8を押下することによって開始される。
ステップ S 1 0 0では、 リムーバブルメモリ 5 7に格納された背景ファイルのい ずれか 1つが選択される。 ステップ S 1 0 5では、 選択された背景ファイルに格納 された背景データが L C D 2 6に表示される。 ステップ S 1 1 0で次選択キ一 2 0 が押下されるとステップ S 1 0 0に戻って次の背景ファイルが選択されて上述の処 理が繰り返される。
ステップ S 1 2 0で決定キ一 2 4が押されると、 ステップ S 1 3 0では、 背景デ 一夕の透明領域内に被写体像を動画表示する。 具体的には、 ステップ S 1 0 o〜s 1 2 0で選択された背景データと、 ディジタル画像処理部 5 2で作成した被写体デ 一夕とをフレームバッファ 6 2に格納し、 表示制御部 5 8がフレームバッファ 6 2 に格納された被写体データ及び背景データを合成して L C D 2 6に駆動信号を出力 することにより、 図 3 (A) に示すように合成画像が表示される。 被写体デ一夕が 所定時間毎に更新されることで被写体デ一夕は動画表示される。 これによりステツ プ S 1 2 0で決定キ一 2 4が押されることによって選択された背景データに調和す るように被写体データを作成すること、 すなわち適切な構図とタイミングでシャツ 夕指示を入力することが可能になる。
ステップ S 1 4 0ではシャツ夕指示が入力されたか否か、 すなわちシャツ夕ポ夕 ン 2 8が押下されたか否かを検出し、 シャツ夕ポタン 2 8の押下が検出されなけれ ばステップ S 1 3 0に戻って上述の処理を繰り返す。 ステップ S 1 4 0でシャツ夕 ポタン 2 8の押下が検出された場合、 ステップ S 1 5 0に進む。
ステップ S 1 5 0では、 走査制御部 7 6に所定の制御信号を入力し、 イメージセ ンサ 4 4に所定時間蓄積した電荷を走査し、 ディジタル画像処理部 5 2で被写体デ 一夕を作成させ、 その被写体デ一夕を圧縮 ·伸張処理部 5 4で圧縮して圧縮画像デ 一夕を作成し、 それを J P E Gなどの所定のファイル形式でリーダライタ 5 6によ つて図 6に示すリムーバブルメモリ 5 7の被写体フォルダに格納する。
ステップ S 1 6 0では、 ステップ S 1 5 0で記録された被写体データとステップ S 1 1 0の決定キー 2 4の押下により選択された背景ファイルとを関連付ける情報 をリム一バブルメモリ 5 7に格納する。 具体的には、 ステップ S 1 5 0で記録され た被写体データのファイル名を 「被写体ファイル名」 とし、 ステップ S 1 1 0の決 定キー 2 4の押下により選択された背景ファイルのファイル名を 「背景ファイル名 」 とし、 「設定時」 を撮影前とした関連付けレコードを作成し、 図 6に示す設定テ 一ブル Tに追加する。
ここで被写体データと背景ファイルとを関連付ける情報を管理する設定テーブル Tについて説明する。 設定テーブル Tは、 リムーバブルメモリ 5 7の設定フォルダ に記録される。 設定テーブル Tは、 被写体ファイルと背景ファイルとを一対一で関 連付ける関連付けレコードから編成されている。 各関連付けレコードは、 I Dと、 被写体ファイル名と、 背景ファイル名と、 設定時とから構成されている。 「被写体 ファイル名」 は、 被写体データが格納されている被写体ファイルをディジタルカメ ラ 1、 パーソナルコンピュータなどのファイルシステムで一意に識別するためのデ —夕である。 「背景ファイル名」 は、 ディジタルカメラ 1、 パーソナルコンピュー 夕などのファイルシステムで背景ファイルを一意に識別するためのデータである。 「設定時」 は、 当該関連付けレコードが撮影前に作成されたものであるか、 撮影後 に作成又は編集されたものであるかを示すデータである。 すなわち、 「設定時」 が 撮影前である関連付けレコードは、 ステップ S 1 6 0で作成された関連付けレコー ドであって、 その後に編集されていない関連付けレコードである。 「設定時」 が撮 影後である関連付けレコードは、 後述する背景設定モードで追加又は上書きされた 関連付けレコードである。 「設定時」 が撮影前であるか否かを判別することによつ て、 当該関連付けレコードで関連付けられている背景ファイルと被写体ファイルと の組み合わせが、 シャツ夕指示の入力時にオペレータが意図した被写体と背景とを 調和させる組み合わせか否かを特定できるようになる。 尚、 背景データが設定され ていない状態でシャツ夕指示が入力されたときに、 「背景ファイル名」 に 「背景な し」 を設定した関連付けレコードを作成し、 シャツ夕指示毎に関連付けレコードを 設定テーブルに毎回追加してもよい。
設定テーブル Tには、 任意の組み合わせで被写体ファイルと背景ファイルとを関 連付ける関連付けレコードをメモリ容量の上限内であれば無制限に追加できる。 ま た、 1つの被写体ファイルに対して互いに異なる背景フアイルをそれぞれ関連付け る関連付けレコード (図 6の例では I Dが 3と 4の関連付けレコード) を作成する ことができる。 したがって、 設定テーブル Tを用いることで 1つの被写体ファイル に複数の背景ファイルを関連付ける情報をリムーバブルメモリ 5 7に格納すること ができる。
尚、 被写体データと背景データとは、 テーブルに限らず、 ディレクトリによって 関連付けてもよいし、 被写体ファイルや背景ファイルに相手方のファイル名を格納 することによって関連付けてもよい。 また、 背景ファイルのパスを記述した関連づ けフアイルを被写体フアイル毎に記録し、 関連づけファイルのフアイル名と被写体 ファイルのファイル名とに関連を持たせる (例えばファイル名の一部を一致させる 。) ことにより、 被写体データと背景データとを関連づけてもよい。
次に撮影後に被写体データと背景データとの関連付けを設定する処理を説明する 。 図 1は、 この処理の流れを示すフローチャートである。 図 1に示すシーケンスは 再生モードに対応するダイヤルスィッチ 1 6の回転角度が操作部 6 4で検出される ことによって開始される。
ステップ S 2 0 0では、 設定テーブル Tに格納された関連付けレコードのいずれ か 1つを選択する。 ステップ S 2 1 0では、 選択された関連付けレコードに格納さ れた被写体ファイル名の被写体データを L C D 2 6に表示する。 このとき、 選択さ れた関連付けレコードにおいて被写体ファイルに背景ファイルが関連付けられてい れば、 そのことを示す文字やアイコンを図 7 (A) に示すように被写体に合成して 表示する。 具体的には例えば次のように処理する。 はじめに被写体データがリーダ ライタ 5 6によりリムーバブルメモリ 5 7から読み取られ、 圧縮 ·伸張処理部 5 4 で伸張されて R AM 6 6に格納される。 尚、 被写体データは予め圧縮して記録され ているものとして説明したが、 非圧縮の状態で記録されていてもよい。 次に表示制 御部 5 8が L C D 2 6の表示領域の画素数に応じて被写体データを間引きしてフレ —ムバッファ 6 2に格納する。 表示領域の画素数が 3 2 0 x 2 4 0画素、 被写体デ —夕が 6 4 0 X 4 8 0画素だとすれば、 縦横の画素数が 2分の 1になるように間引 きしてフレームバッファ 6 2に格納する。 ここで行う間引き処理は、 背景データと 合成される被写体データであるか合成されない被写体デー夕であるかに関わらず、 すべての被写体データに対して行う処理であるため、 専用設計されたハードウェア を用いて高速処理することが望ましい。 尚、 撮影直後の間引き処理により表示領域 と等しい画素数のサムネィル画像データを本画像データとともにリム一バブルメモ リ 5 7に記録する場合、 ここで行う間引き処理は不要である。 次に表示制御部 5 8 がフレームバッファ 6 2に格納された被写体デ一夕に基づいて L C D 2 6を駆動す ると、 被写体データが表す画像が L C D 2 6に表示される。
ステップ S 2 2 0では、 次選択キ一 2 0力押されたか否かを検出し、 押された場 合はステップ S 2 0 0に戻って次の関連付けレコードを選択し、 上述の処理を繰り 返す。 ステップ S 2 2 0で次選択キ一 2 0が押されていない場合、 ステップ S 2 3 0に進み、 モードの切替指示が入力されたか否か、 すなわちダイヤルスィッチ 1 6 の回転角度が変更されたか否かを検出し、 モードの切替指示が入力された場合には 再生モードを終了し、 別のモードに切り換える。 ステップ S 2 3 0でモードの切換 指示が入力されていない場合、 ステップ S 2 4 0に進み、 背景設定キー 1 8が押さ れたか否かを検出し、 押された場合にはステップ S 2 5 0に進み、 背景設定モード に移行する。 尚、 ステップ S 2 5 0〜ステップ S 3 2 0までの一連の処理を実行す るモードを背景設定モードというものとする。 ステップ S 2 4 0で背景設定キー 1 8が押されていない場合、 ステップ S 2 2 0に戻って上述の処理を繰り返す。
ステップ S 2 5 0では、 リムーバブルメモリに格納されたいずれか 1つの背景フ アイルが選択される。 ステップ S 2 4 0の直後に実行される 1回目の処理では、 ス テツプ S 2 0 0で選択された関連付けレコードで関連付けられた背景ファイルが選 択される。 ステップ S 2 6 0では、 選択された背景ファイルに格納された背景デー 夕を例えば図 7 ( B ) に示すように L C D 2 6に表示する。 具体的には例えば次の ように処理する。 はじめに背景データがリーダライタ 5 6によりリムーバブルメモ リ 5 7から読み取られ、 圧縮 ·伸張処理部 5 4で伸張されて R AM 6 6に格納され る。 尚、 背景データは予め圧縮して記録されているものとして説明したが、 非圧縮 の状態で記録されていてもよい。 次に L C D 2 6の表示領域の画素数に応じて背景 データを縮小し、 必要に応じて回転させる処理を行う。 表示領域の画素数が 3 2 0 x 2 4 0画素、 背景データが 6 4 0 x 9 6 0画素の縦向きだとすれば、 縦横の画素数 が 3分の 1になるように間引き、 9 0 °回転させ、 3 2 0 x 2 1 3画素の背景データ を作成する。 この処理はハードウェアを簡素化するため、 また任意の画素数の背景 データに対応するため、 C P U 6 8で実行するプログラムによって行うことが望ま しい。 表示用に編集された背景データはフレームバッファ 6 2に格納され、 それに 基づいて表示制御部 5 8が L C D 2 6を駆動することにより表示される。
ステップ S 2 7 0では、 次選択キー 2 0が押されたか否かを検出し、 押された場 合、 ステップ S 2 5 0に戻って次の背景データを選択し、 上述の処理を繰り返し、 例えば図 7 ( C ) に示すように次の背景データを L C D 2 6に表示する。 押されて いない場合、 ステップ S 2 8 0に進み、 決定キー 2 4が押されたか否か、 すなわち ユーザによって背景データが選択されたか否かを検出する。 次選択キー 2 0又は決 定キー 2 4が押されるまでステップ S 2 7 0及びステップ S 2 8 0を繰り返し、 決 定キー 24が押されることによりユーザによって背景データが選択されるとステツ プ S 290に進む。
ステップ S 290では、 現在選択されている関連付けレコードで関連付けられた 被写体データとステップ S 280でユーザによって選択された背景データとを合成 して例えば図 7 (D) に示す合成画像を LCD 26に表示する。 具体的には例えば 次のように処理する。 はじめにリーダライ夕 56によりリムーバブルメモリ 57か ら背景デ一夕が読み取られて圧縮 ·伸張処理部 54で伸張され、 図 8に示すように RAM 66に背景データ 80が格納される。 次 、 表示領域より画素数が多い背景 データ 80の全体を一画面に表示するため、 背景データ 80の画素数に応じた縮小 処理と必要に応じた回転処理を行う。 例えば、 表示領域が 320x240画素、 背 景データ 80が 640x960画素の縦向きだとすれば、 縦横の画素数が 3分の 1 になるように背景データ 80を間引き、 90°回転させ、 320x213画素の印刷 プレビュー用背景デ一夕 89を作成し、 フレームバッファ 62の前景領域に格納す る。
次に、 RAM 66に格納された被写体データを、 背景ファイルに格納されている 情報 (背景データの画素数、 合成原点の座標、 割付データの基準画素数など) と表 示領域の画素数に応じて間引きし、 座標変換により回転及び平行移動させて印刷プ レビュー用被写体デ一夕 88を作成する。 背景データ 80の一部に被写体デ一夕 8 4を割り付ける場合、 ステップ S 210で行った間引き処理よりも、 ステップ S 2 90で行う間引き処理の方が、 倍率が小さく.なる。 また例えば、 図 8に示すように 印刷プレビュー用背景デ一夕 89に縦向きの被写体データを合成する場合、 横向き に RAM 66に格納された被写体データ 84を時計回りに 90°回転させる。 また 例えば、 背景データに対して行った間引き処理及び回転処理による座標変換に応じ て被写体データ 85の座標を変換する。 図 8に示す例では、 RAM 66に格納され た 640x480画素の横向きの被写体データ 84から 160x213画素の縦向き の印刷プレビュー用被写体データ 8 8が作成され、 印刷プレビュー用被写体データ 8 5はフレームバッファ 6 2の前景領域のうち画面右側に相当する領域に格納され 、 画面左側に相当する領域は透明を示す値が格納されている。 次に表示制御部 5 8 がフレームバッファ 6 2に格納された印刷プレビュー用被写体データ 8 8及び印刷 プレビュー用背景データ 8 9を合成して L C D 2 6に駆動信号を出力することによ り、 例えば図 7 (D) に示すように印刷プレビュー用合成画像の全体が L C D 2 6 の一画面に表示される。
ステップ S 3 0 0では、 現在選択されている関連付けレコードで関連付けられて いる被写体データと、 ステップ S 2 5 0で選択された背景ファイルとを関連付ける 情報を設定テーブル τに記録するにあたって、 現在選択されている関連付けレコー ドを上書きするのか、 新規の関連付けレコードを追加するのかをオペレータに選択 させる。 具体的には例えば、 「上書きしますか?」 の文字列とともに 「はい」 及び
「いいえ」 のポタンを L C D 2 6に表示し、 「はい」 及び 「いいえ」 のポタンのい ずれか一方を次選択キー 2 0、 前選択キー 2 2及び決定キー 2 4で選択させる。 ステップ S 3 0 0で上書きが選択された場合、 ステップ S 3 1 0に進み、 現在選 択されている関連付けレコードの背景ファイル名をステップ S 2 5 0で選択された 背景データのファイル名に変更し、 その関連付けレコードの 「設定時」 を 「撮影後 」 に変更する。 。
ステップ S 3 0 0で上書きが選択されない場合、 ステップ S 3 2 0に進み、 現在 選択されている関連付けレコードの被写体ファイル名を 「被写体ファイル名」 とし 、 ステップ S 2 5 0で選択された背景データのファイル名を 「背景ファイル名」 と し、 「設定時」 を 「撮影後」 とした新規関連付けレコードを作成し、 設定テーブル Tに追加する。 このとき追加される関連付けレコードは、 請求項に記載された第二 関連付けデータに相当する。 ステップ S 3 1 0又はステップ S 3 2 0の処理が終了 すると、 ステップ S 2 2 0に戻って上述の処理を繰り返す。 以上、 撮影後に被写体データと背景データとの関連付けを設定する処理を説明し た。 第一実施例では、 請求項に記載の撮影手段は、 C D S回路 4 6、 A G C回路 4 8、 A/D変換器 5 0、 ディジタル画像処理部 5 2、 RAM 6 6、 圧縮 ·伸張処理 咅 4、 リーダライタ 5 6などで構成され、 その機能はステップ S 1 5 0の処理に よって実現されている。 請求項に記載の背景選択手段は、 フレームバッファ 6 2、 表示制御部 5 8、 背景設定キー 1 8、 次選択キー 2 0、 前選択キー 2 2、 決定キー 2 4などで構成され、 その機能は、 ステップ S 2 5 0〜ステップ S 2 8 0の処理に よって実現されている。 請求項に記載の合成表示手段は、 フレームバッファ 6 2、 表示制御部 5 8などで構成され、 その機能は、 ステップ S 2 9 0の処理によって実 現されている。 請求項に記載の背景設定手段は、 C P U 6 8、 R AM 6 6、 リーダ ライタ 5 6などで構成され、 その機能は、 ステップ S 3 1 0及びステップ S 3 2 0 の処理によって実現されている。
以上説明した第一実施例では、 被写体データと背景デ一夕とを合成して得たデー 夕ではなく被写体データそのものをリム一バブルメモリ 5 7に格納し、 被写体デー 夕と背景データとを設定テーブル Tに格納する関連付けレコードによって関連付け るため、 被写体データと合成される背景データを撮影後に設定することができる。 さらに、 第一実施例では、 リムーバブルメモリ 5 7に格納された被写体デ一夕に関 連付ける背景データがステップ S 2 8 0においてユーザによって選択されるまでは 、 被写体データと背景データとを合成表示することなしに、 被写体データだけを表 示する。 被写体データと背景データとを合成表示するために必要な処理量は被写体 データだけを表示するために必要な処理量より多い。 特に合成表示のために被写体 データの縮小、 回転、 平行移動などの処理が必要になる場合、 被写体データと背景 データとを合成表示するために必要な処理量は、 被写体データだけを表示するため に必要な処理量より格段に多くなる。 第一実施例では、 上述したとおり、 リムーバ ブルメモリ 5 7に格納された被写体データに関連付ける背景データがステップ S 2 8 0においてユーザによって選択されるまでは、 被写体データと背景データとを合 成表示することなしに、 被写体データだけを表示するため、 複数の背景データの 1 つをユーザに選択させるために必要な処理が少ない。 したがって、 第一実施例によ ると、 ユーザは撮影後に短時間で背景データを設定することができる。
(第二実施例)
図 9は、 本発明の第二実施例において、 撮影後に被写体データと背景データとの 関連付けを設定する処理の流れを示すフローチャートである。 第一実施例の処理と 同一の処理については同一の符,号を用いて説明を省略する。
ステップ S 2 6 5では、 現在選択されている関連付けレコードで関連付けられた 被写体データとステップ S 2 5 0で選択された背景データとを合成して例えば図 1 0 (A) に示す合成画像を L C D 2 6に表示する。 具体的には例えば第一実施例の
' S 2 9 0と同様の処理を実施する。
'S 2 7 0では、 次選択キ 2 0が押されたか否かを検出し、 押された場 合、 ステップ S 2 5 0に戻って次の背景データを選択し、 上述の処理を繰り返し、 例えば図 7 (B ) に示すように次の背景データと既に選択されている被写体デ一夕 8 4とを L C D 2 6に合成表示する。 押されていない場合、 ステップ S 2 8 0に進 み、 決定キー 2 4が押されたか否か、 すなわちユーザによって背景データが選択さ れたか否かを検出する。 次選択キー 2 0又は決定キー 2 4が押されるまでステップ S 2 7 0及びステップ S 2 8 0を繰り返し、 決定キ一 2 4が押されることによりュ 一ザによって背景データが選択されるとステップ S 3 0 0に進む。
以上説明した本発明の第二実施例では、 被写体データと背景デ一夕とを合成して 得たデータではなく被写体データそのものをリムーバブルメモリ 5 7に格納し、 被 写体データと背景データとを設定テーブル Tに格納する関連付けレコードによって 関連付けるため、 被写体データと合成される背景データを撮影後に設定することが できる。 さらに、 本発明の第二実施例では、 被写体データの 1つに対し、 次選択キ —2 0の押下に応じて複数の背景データを入れ替えながら、 被写体データと背景デ —夕とを合成してディスプレイに表示し、 合成表示された複数の背景デ一夕の少な くとも 1つをユーザに選択させるため、 ユーザは撮影後に合成後の画像を確認しな がら背景データを設定することができる。

Claims

請求の範囲
1 . イメージセンサの出力に基づいて被写体データを作成し不揮発性メモリに格 納する撮影手段と、
被写体データと合成するための複数の背景データを撮影後にディスプレイに表示 し、 表示された複数の背景データの少なくとも 1つをユーザに選択させる背景選択 手段と、
前記不揮発性メモリに格納された被写体データと前記選択された背景データとを 前記ディスプレイに合成表示する合成表示手段と、
前記不揮発性メモリに格納された被写体データと前記選択された背景データとを 関連付ける情報を前記不揮発性メモリに格納する背景設定手段と、
を備えることを特徴とするディジタルカメラ。
2 . イメージセンサの出力に基づいて被写体データを作成し不揮発性メモリに格 納する撮影手段と、
前記不揮発性メモリに格納された被写体デ一夕の 1つに対し複数の背景データを 個別に合成してディスプレイに表示し、 合成表示された複数の背景データの少なく とも 1つをユーザに選択させる背景選択手段と、
前記不揮発性メモリに格納された被写体データと前記選択された背景データとを 関連付ける情報を前記不揮発性メモリに格納する背景設定手段と、
を備えることを特徴,
PCT/JP2003/009621 2002-07-29 2003-07-29 ディジタルカメラ WO2004012449A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2004524182A JPWO2004012449A1 (ja) 2002-07-29 2003-07-29 ディジタルカメラ
US11/045,483 US20050212945A1 (en) 2002-07-29 2005-01-31 Digital camera

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2002219371 2002-07-29
JP2002-219321 2002-07-29
JP2002-219371 2002-07-29
JP2002219321 2002-07-29

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US11/045,483 Continuation US20050212945A1 (en) 2002-07-29 2005-01-31 Digital camera

Publications (1)

Publication Number Publication Date
WO2004012449A1 true WO2004012449A1 (ja) 2004-02-05

Family

ID=31190312

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2003/009621 WO2004012449A1 (ja) 2002-07-29 2003-07-29 ディジタルカメラ

Country Status (2)

Country Link
JP (1) JPWO2004012449A1 (ja)
WO (1) WO2004012449A1 (ja)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH118818A (ja) * 1997-06-16 1999-01-12 Casio Comput Co Ltd 画像処理装置及び画像処理方法
JPH11168689A (ja) * 1997-12-02 1999-06-22 Fuji Photo Film Co Ltd 撮像装置
JPH11196362A (ja) * 1997-01-10 1999-07-21 Casio Comput Co Ltd 撮像装置および撮像画像加工方法
JPH11298764A (ja) * 1998-04-14 1999-10-29 Fuji Photo Film Co Ltd 合成画像表示機能付きデジタルスチルカメラ
JP2001127986A (ja) * 1999-10-29 2001-05-11 Canon Inc 画像処理装置および画像処理方法および記憶媒体
JP2001177764A (ja) * 1999-12-17 2001-06-29 Canon Inc 画像処理装置、画像処理方法および記憶媒体
JP2001285420A (ja) * 2000-03-24 2001-10-12 Telefon Ab L M Ericsson 移動無線通信装置、通信システム及び印刷装置
JP2002044416A (ja) * 2000-07-27 2002-02-08 Noritsu Koki Co Ltd 画像合成プリント出力装置

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11196362A (ja) * 1997-01-10 1999-07-21 Casio Comput Co Ltd 撮像装置および撮像画像加工方法
JPH118818A (ja) * 1997-06-16 1999-01-12 Casio Comput Co Ltd 画像処理装置及び画像処理方法
JPH11168689A (ja) * 1997-12-02 1999-06-22 Fuji Photo Film Co Ltd 撮像装置
JPH11298764A (ja) * 1998-04-14 1999-10-29 Fuji Photo Film Co Ltd 合成画像表示機能付きデジタルスチルカメラ
JP2001127986A (ja) * 1999-10-29 2001-05-11 Canon Inc 画像処理装置および画像処理方法および記憶媒体
JP2001177764A (ja) * 1999-12-17 2001-06-29 Canon Inc 画像処理装置、画像処理方法および記憶媒体
JP2001285420A (ja) * 2000-03-24 2001-10-12 Telefon Ab L M Ericsson 移動無線通信装置、通信システム及び印刷装置
JP2002044416A (ja) * 2000-07-27 2002-02-08 Noritsu Koki Co Ltd 画像合成プリント出力装置

Also Published As

Publication number Publication date
JPWO2004012449A1 (ja) 2005-11-24

Similar Documents

Publication Publication Date Title
JP4678188B2 (ja) 画像処理装置
US8120791B2 (en) Image synthesizing apparatus
US8098298B2 (en) Digital camera recording a composite image
JPH11146312A (ja) 情報処理装置、情報処理装置の制御方法、および、記録媒体
JP2001285703A (ja) 電子カメラ
US20050179790A1 (en) Digital camera
US20050212945A1 (en) Digital camera
JP4910288B2 (ja) ディジタルカメラ
US20050110877A1 (en) Digital camera
JP3620715B2 (ja) ディジタルカメラ及び画像ファイル方法
JP3821130B2 (ja) ディジタルカメラ
WO2004012449A1 (ja) ディジタルカメラ
JP4186595B2 (ja) ディジタルカメラ及びディジタルカメラによる印刷制御方法
JPH10341361A (ja) パノラマ画像撮影機能付デジタルカメラ
US7884859B2 (en) Digital camera
JP3786270B2 (ja) ディジタルカメラ
JP4292811B2 (ja) ディジタルカメラ
JP2008293517A (ja) プリンタ及び印刷制御方法

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): JP US

WWE Wipo information: entry into national phase

Ref document number: 2004524182

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 11045483

Country of ref document: US