WO2006095779A1 - 撮影システム - Google Patents

撮影システム Download PDF

Info

Publication number
WO2006095779A1
WO2006095779A1 PCT/JP2006/304488 JP2006304488W WO2006095779A1 WO 2006095779 A1 WO2006095779 A1 WO 2006095779A1 JP 2006304488 W JP2006304488 W JP 2006304488W WO 2006095779 A1 WO2006095779 A1 WO 2006095779A1
Authority
WO
WIPO (PCT)
Prior art keywords
background
subject
image
photographing
color
Prior art date
Application number
PCT/JP2006/304488
Other languages
English (en)
French (fr)
Inventor
Toshihiko Kaku
Masashi Shirata
Masahiro Kubo
Original Assignee
Fuji Photo Film Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Photo Film Co., Ltd. filed Critical Fuji Photo Film Co., Ltd.
Priority to JP2007507155A priority Critical patent/JP4689662B2/ja
Priority to US11/547,128 priority patent/US7974467B2/en
Priority to EP06715408.8A priority patent/EP1909493B1/en
Publication of WO2006095779A1 publication Critical patent/WO2006095779A1/ja

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
    • 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/387Composing, repositioning or otherwise geometrically modifying originals
    • H04N1/3877Image rotation
    • H04N1/3878Skew detection or correction
    • 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/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/6027Correction or control of colour gradation or colour contrast
    • 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/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/62Retouching, i.e. modification of isolated colours only or in isolated picture areas only
    • H04N1/624Red-eye correction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/646Circuits for processing colour signals for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/74Circuits for processing colour signals for obtaining special effects

Definitions

  • the present invention relates to an imaging system that acquires a captured image by capturing a subject and creates a background replacement image by replacing the background in the captured image with another background.
  • a background panel painted in blue or the like is placed behind the subject to perform shooting, and a captured image obtained by the shooting is used.
  • a portion of the same color as the color of the background panel and a portion of a different color are distinguished as a background and a subject in the photographed image, respectively, and a portion of the photographed image that is distinguished from the background is replaced with a desired background.
  • a process called a process is known.
  • Patent Document 1 JP 2000-224410 (Page 3-10, Fig. 3)
  • Patent Document 2 Japanese Patent Laid-Open No. 10-210340 (page 2-3, Fig. 1)
  • Patent Document 2 the subject and the background are distinguished based on the brightness in the photographed image, so even if the subject has the same color as the background, The fear of the location being mistaken for the background is eliminated.
  • a photographing device such as a background panel is placed behind the subject in a desirable small photographing system that can be easily photographed at a photo studio or the like.
  • the technology of Patent Document 2 is applied to a small photographic system, the illumination applied to the subject is reflected by these photographic equipment.
  • the background may be seen over the hair at the boundary between the person's head and the background.
  • the clothes worn by the person For example, if a translucent cloth is used, the background may be visible through the translucent cloth at the boundary between the person and the background.
  • the boundary between the subject and the background in the photographed image often includes an intermediate portion where it is difficult to distinguish the subject and the background. For example, if such an intermediate portion is forcibly distinguished from the background and replaced with a desired background, an unnatural background replacement image in which a part of the subject is missing is produced. In addition, if such an intermediate part is forcibly distinguished by a subject, an unnatural background replacement image in which an old background remains in the intermediate part is completed.
  • the present invention captures a subject to acquire a captured image, and can create a background replacement image in which the background in the captured image is naturally replaced with a desired background.
  • the purpose is to provide.
  • a first imaging system of the present invention that achieves the above object includes an imaging device for imaging a subject and acquiring a captured image;
  • a flash light emitting device that emits a flash toward the subject
  • An illumination device that illuminates the subject with light from a surface located on the opposite side of the photographing device across the subject;
  • a plurality of photographed images obtained by photographing a common subject by the photographing device under each of a plurality of photographing light conditions created by the flash light emitting device and the lighting device are obtained, and based on the photographed images And a background replacement device that distinguishes between a subject in a captured image and a background and replaces the background with another background.
  • the subject power S includes multiple images taken under different shooting light conditions, including images that are clearly captured. It is desirable to have an image.
  • each of the plurality of photographing light conditions may be, for example, a forward light state or a backlight. It is desirable that the conditions are extremely extreme.
  • the first imaging system of the present invention for example, the following light state in which the subject is illuminated from the imaging device side by the two light sources of the flash light emitting device and the illumination device, and the subject is the imaging device. Almost create a variety of extreme shooting light conditions, such as backlighting from the opposite side.
  • the first photographing system of the present invention it is possible to easily obtain a plurality of photographed images effective for creating a background replacement image that looks natural to the viewer, and using these photographed images.
  • a background replacement image in which the background is naturally replaced with a desired background can be created.
  • the photographing device obtains the plurality of photographed images by photographing the subject a plurality of times within a predetermined time” t
  • the form is a preferred form.
  • the first photographing system of the present invention if the position and pose of the subject are different from each other in the plurality of photographed images, it is difficult to distinguish the subject and the background in the photographed image. It becomes difficult.
  • a subject other than a still life for example, a person or an animal, may be moved during the photographing, and a plurality of times are photographed within a predetermined time. In other words, multiple shot images with the same subject position and pose can be obtained by continuous shooting.
  • the lighting device illuminates the subject with a flexible light-emitting sheet” is also a preferred form.
  • the first photographing system of the present invention can be easily constructed by using such a light emitting sheet.
  • the illumination device illuminates the subject with a light emitting sheet extending from the opposite side of the subject to the lower side of the subject with the subject interposed therebetween.
  • the illumination device illuminates the subject with a light emitting sheet extending from the opposite side of the subject to the lower side of the subject with the subject interposed therebetween.
  • the subject can be illuminated from a wide range from the back to the bottom, so that even a captured image that captures the entire subject can be obtained.
  • the background can be replaced by distinguishing between the body and the background.
  • the first imaging system of the present invention may be in the form of "the lighting device illuminates the subject with a distributed electroluminescence element".
  • the dispersive electroluminescent element is a flexible, sheet-shaped light emitter, and is very suitable as a light source for the lighting device.
  • the illumination device has a marker indicating the range of the surface
  • t is also a preferred form.
  • the imaging system it is possible to correct the distortion of the shape of the captured image caused by the positional relationship between the imaging device and the subject based on the marker in the captured image. Also, if only the image within the range indicated by the marker in the captured image is taken out as a valid image! By performing such image processing, it is possible to remove unnecessary objects that appear on the edge of the captured image. it can.
  • the illumination device illuminates the subject with light of a color between blue and green” t is also a preferred form.
  • the subject is illuminated with light of a color between blue power and green, that is, light with an emission wavelength of 400 to 530 nm, and the background is a color between blue power and green.
  • a photographed image can be obtained.
  • the color between blue and green is a complementary color of the person's skin color
  • the background can be distinguished with high accuracy.
  • estimation of the subject color and the background color which will be described later, can be performed with high accuracy on the pixels near the boundary between the subject and the background.
  • the lighting device illuminates the subject with light having a luminance equal to or lower than the luminance of the flash emitted by the flash light emitting device. It is a form.
  • the flash light emitting device emits flash light
  • the subject is photographed in the following light state by the flash light regardless of the presence or absence of the illumination device.
  • Quality photographic images can be obtained.
  • the first photographing system of the present invention is as follows: "Once the flash light emitting device emits a flash once, a predetermined preparation time is required for the next flash to be emitted;
  • the photographing apparatus may obtain the plurality of photographed images by photographing the subject a plurality of times within the preparation time.
  • the flash light emitting device can be caused to emit light only once at the time of photographing a plurality of times by the photographing device, whereby a natural background replacement image can be obtained.
  • a natural background replacement image can be obtained.
  • the lighting device is provided with a color filter that transmits light from the surface.
  • the lighting device is provided with a color filter of the same color as the color of the light that transmits light from the surface.” T is a preferred form.
  • the main background color in the photographed image is the color of the color filter regardless of the presence or absence of illumination by the flashlight of the flashlight emitting device. Therefore, by using a color filter that is clearly different in color from the flash, for example, even if the color of the flash is reflected on the subject in the shot image, The subject and the background can be more reliably distinguished. In the latter form, it is possible to suppress the attenuation of the amount of light by the color filter with respect to the light of the surface force.
  • the above-described illumination device includes an antireflection film that prevents reflection of light from the subject side toward the surface. It is a form.
  • the antireflection film prevents the flash from being reflected from the surface, so that both the subject and the surface reflect the flash and photographed. It is reliably avoided that the color of the flash will be the same color as the flash. As a result, the subject in the captured image and the background can be more reliably distinguished.
  • the background replacement device recognizes the range of the surface in the captured image based on the presence or absence of light from the surface, and an image portion within the range. Is also used to distinguish between the subject in the captured image and the background. '' preferable.
  • the photographing system of this preferred embodiment when only the image portion in the photographed image is extracted as an effective image, the image is captured at the end of the photographed image by performing such image processing. Unnecessary materials can be removed.
  • a second imaging system of the present invention that achieves the above-described object includes: an imaging device that captures an image of a subject and acquires a captured image;
  • a shooting condition creation unit for creating a plurality of shooting conditions for light
  • a plurality of shot images obtained by shooting a common subject by the shooting device are acquired, and a shot image is obtained based on the shot images.
  • a background replacement device that distinguishes between the subject area, the background area, and the boundary area, and replaces the background in the captured image with another background based on the three distinct areas.
  • the imaging condition creation unit performs, for example, a backlight condition in which the subject is illuminated with the imaging device side force or a backlight in which the subject is illuminated with the opposite side force from the imaging device. It is possible to create multiple shooting conditions related to light, such as status, and to distinguish the subject area, background area, and boundary area in the shot image based on multiple shot images obtained under each of these multiple shooting conditions. it can. As a result, for example, a portion that is difficult to distinguish from the subject and the background, such as a portion where the background is visible over the human hair, is distinguished from the subject region and the boundary region different from the background region.
  • a background replacement image that looks natural to the viewer can be created.
  • a subject can be photographed to obtain a photographed image, and a background replacement image in which the background in the photographed image is naturally replaced with a desired background can be created.
  • the imaging condition creation unit determines the brightness of the subject and the brightness of the background located on the opposite side of the imaging device across the subject.
  • a plurality of shooting conditions are created by changing the degree of difference between the subject region, the background region, and the boundary region between the plurality of captured images. The distinction is based on the amount of change in brightness. '' t is also preferred.
  • the degree of difference between the brightness of the subject and the brightness of the background located on the opposite side of the photographing apparatus across the subject refers to the brightness of the subject and the background. Or the ratio between the brightness of the subject and the brightness of the background.
  • the photographing condition creating unit changes the brightness of the illumination that illuminates the subject, or changes the brightness of the background itself by causing the background itself to emit light.
  • the plurality of photographing conditions are created by changing the degree of difference such as the difference or ratio between the brightness of the object and the background in the photographing system.
  • the brightness of each of the plurality of photographed images obtained under the plurality of photographing conditions having different degrees of brightness difference between the subject and the background is mutually different.
  • the "imaging condition creating unit is configured such that the brightness of the object and the background located on the opposite side of the imaging apparatus with the subject interposed therebetween.
  • the above multiple shooting conditions are created by changing the degree of difference from the brightness of
  • the background replacement device distinguishes the subject area, the background area, and the boundary area based on a difference in brightness between the subject and the background.
  • a photographing condition is created in which the degree of brightness difference between the subject and the background is extremely large, and a photographed image obtained under the photographing condition is created.
  • a photographed image obtained under the photographing condition is created.
  • the plurality of shooting conditions are created by changing the degree of difference between the brightness of the subject and the brightness of the background located on the opposite side of the shooting device across the subject.
  • these two forms are collectively referred to as “brightness change type photographing systems”.
  • the imaging condition creating unit includes an illumination device that illuminates the subject with light from a surface located on the opposite side of the imaging device across the subject. And changing the brightness of the light that illuminates the subject with the illumination device to create the plurality of shooting conditions,
  • the background replacement device uses the subject region, the background region, and the boundary region as at least one of a brightness change amount between the plurality of photographed images and a difference in brightness between the subject and the background.
  • the form of “differentiating based on one side” is an example of a “brightness change type imaging system”.
  • the lighting device plays a role of changing the brightness of the background, and the brightness of the subject and the background is changed by changing the brightness of the background with the lighting device.
  • Multiple shooting conditions with different degrees can be created easily in a small space.
  • the "imaging condition creating unit illuminates the subject from the imaging device side with a flash, and the subject across the subject.
  • a lighting device that illuminates the subject with light from a surface opposite to the imaging device, and sequentially illuminates the subject with each of the flash light emitting device and the lighting device to satisfy the plurality of imaging conditions. Is to create
  • the background replacement device determines that the subject region, the background region, and the boundary region are at least one of a brightness change amount between the plurality of captured images and a difference in brightness between the subject and the background. ⁇ I will distinguish based on one side '', and
  • a flash light emitting device that illuminates the subject with a flash from the photographing device side, and an illumination device that illuminates the subject with light from a surface located on the opposite side of the photographing device across the subject.
  • the above-mentioned plurality of photographing conditions are created according to the steady presence of illumination by the illumination device and the presence or absence of illumination by the flash of the flash light emitting device.
  • the background replacement device determines that the subject region, the background region, and the boundary region are at least one of a brightness change amount between the plurality of captured images and a difference in brightness between the subject and the background.
  • the form of “differentiating based on one side” is also an example of “brightness change type imaging system”.
  • the flash light emitting device plays a role of changing the brightness of the subject
  • the lighting device plays a role of changing the brightness of the background.
  • the subject is illuminated by the flash light emitting device and the lighting device sequentially, and the brightness of both the subject and the background is changed.
  • Multiple shooting conditions can be created with different degrees of brightness from the background.
  • the brightness of the subject is changed depending on the presence or absence of illumination by the flash of the flash light emitting device while maintaining the brightness of the background by the steady presence of the illumination by the illumination device. This makes it possible to create a plurality of shooting conditions with different degrees of brightness difference between the subject and the background.
  • the imaging condition creation unit has a function of illuminating the object from the imaging apparatus side with a flash and changing a polarization state of the flash.
  • the flash light emitting device and a background panel that is located on the opposite side of the photographing device with the subject interposed therebetween, and the brightness of the reflected light varies depending on the polarization state, and is polarized with each other by the flash light emitting device.
  • the above multiple shooting conditions are created by multiple flashes with different states.
  • the background replacement device determines that the subject region, the background region, and the boundary region are at least one of a brightness change amount between the plurality of captured images and a difference in brightness between the subject and the background.
  • the form of “differentiating based on one side” is also an example of “brightness change type imaging system”.
  • both the flash light emitting device and the background panel play a role of changing the background brightness.
  • the flash light emitting device emits a plurality of flashes having different polarization states, and the brightness of the reflected light on the background panel changes according to the polarization state of each flash light. As a result, the brightness of the background is changed. As a result, the degree of brightness difference between the subject and the background is different from each other. Multiple shooting conditions can be created.
  • the photographing condition creating unit changes the color of the background located on the opposite side of the photographing device across the subject. The above multiple shooting conditions are created.
  • the background replacement device distinguishes the subject area, the background area, and the boundary area based on the amount of color change between the plurality of captured images. It is.
  • the colors are substantially different from each other in the parts having the same color.
  • the photographing condition creating unit is located on the opposite side of the photographing device across the subject and has a function of changing color. A plurality of shooting conditions are created by changing the color of the background panel.
  • the background replacement device distinguishes the subject region, the background region, and the boundary region based on the amount of color change between the plurality of captured images. This is a typical example of a photographing system that obtains a plurality of photographed images under a plurality of photographing conditions having different colors.
  • a plurality of desired photographing conditions can be easily created in a small space by the background panel.
  • the above-mentioned "the imaging condition creating unit illuminates the subject from the imaging device side with flashing light and the subject across the subject.
  • a lighting device that illuminates the subject with light having a luminance equal to or less than that of the flash from a surface located on the opposite side of the photographing device, and the steady presence of illumination by the lighting device and the flash emission
  • the above multiple shooting conditions are created depending on whether or not the device is illuminated by flashlight.
  • the shooting device is shooting under the shooting condition that the flash light emitting device is not illuminated by the flash light, it is lighter than when the shooting is performed under the shooting condition that the flash light emitting device is illuminated by the flash light.
  • the background replacement device uses the subject region, the background region, and the boundary region as a brightness change amount between the plurality of captured images, and the subject.
  • the form of distinguishing based on at least one of the differences in brightness between the above and the background is a preferable form.
  • the amount of light is overwhelmingly large compared to the steady illumination with the illumination device, and the subject is illuminated with the steady light by illuminating the subject with the flash. Illumination can be avoided.
  • the sensitivity to light in the photographing device needs to be low depending on the amount of flash light. However, if the sensitivity is low, it is in a backlit state only by the steady illumination. Insufficient sensitivity when shooting.
  • the imaging system of the preferred embodiment the sensitivity of the imaging device to light is appropriately switched according to the presence or absence of the flash, so that imaging with appropriate sensitivity is performed for each of the following light condition and the backlight condition. Is possible.
  • the background replacement device uses a background to which light information indicating a condition of light for illuminating a subject is added as the other background. It replaces the background in the shot image
  • a light emitting device that illuminates the subject with light of a light emitting condition corresponding to a condition represented by the light information given to the other background among a plurality of light emitting conditions different from each other from the photographing device side. And the illumination by the light emitting device is used in at least one of the plurality of imaging conditions.
  • the subject when the background for replacement is an image in which the right-side force is different from the light in the image, the subject is also illuminated by the front and left-side forces, and the replaced image is unnatural. It will end up with something. Also, for example, if the replacement background is a dark image such as a cloudy sky at sunset, the image after replacement will be unnatural if the subject is illuminated with bright light. I will end up.
  • the subject can be illuminated with light of appropriate light emitting conditions such as direction and brightness according to the background for replacement by the light emitting device, so that the image after replacement can be further increased. It can be a natural image.
  • a subject is photographed to obtain a photographed image, and a background replacement image in which the background in the photographed image is naturally replaced with a desired background is created. It is possible to provide an imaging system that can
  • FIG. 1 is a diagram showing an embodiment of a photographing system of the present invention.
  • FIG. 2 is a diagram showing another example of a lighting device of a type using a dispersive electroluminescence element.
  • FIG. 3 is a flowchart showing a flow of processing executed by the imaging system of FIG.
  • FIG. 4 is a diagram showing another example of shooting in a backlight condition and shooting in a backlight condition.
  • FIG. 5 is a hardware configuration diagram of the personal computer shown in FIG. 1.
  • FIG. 6 is a conceptual diagram showing a CD-ROM storing a background replacement program for operating the personal computer shown in FIGS. 1 and 5 as an example of the background replacement device according to the present invention in FIG.
  • FIG. 7 is a functional block showing functions when the background replacement program shown in FIG. 6 is installed in the personal computer shown in FIGS. 1 and 3, and this personal computer operates as an example of the background replacement device according to the present invention.
  • FIG. 7 is a functional block showing functions when the background replacement program shown in FIG. 6 is installed in the personal computer shown in FIGS. 1 and 3, and this personal computer operates as an example of the background replacement device according to the present invention.
  • FIG. 8 is a diagram showing details of the image correction unit shown by one block in FIG.
  • Fig. 9 is a schematic diagram showing an example of a follow-light photographed image with trapezoidal distortion.
  • FIG. 10 is a schematic diagram showing a state in which trapezoidal distortion is corrected in the continuous light image of FIG. 9.
  • FIG. 11 is a schematic diagram showing an effective image created based on a follow-light photographed image corrected for trapezoidal distortion shown in FIG.
  • FIG. 12 is a schematic diagram showing a corrected backlight image that has been subjected to image correction processing by the image correction unit in FIG. 8.
  • FIG. 13 is a diagram showing another example of the image correction unit.
  • FIG. 14 is a diagram showing details of an effective image creation unit 723 ′ shown by one block in FIG.
  • FIG. 15 is a diagram showing an example of a backlight image used for creating an effective image.
  • FIG. 16 is a diagram showing a state in which the backlight image shown in FIG. 15 is enlarged.
  • FIG. 17 is a diagram showing an example of a histogram regarding the brightness of each pixel constituting an enlarged backlight image.
  • FIG. 18 is a view showing a backlight photographed image subjected to binary key processing by the binary key part 723c ′ of FIG.
  • FIG. 19 is a diagram showing an example of a corrected follow light image.
  • FIG. 20 is a diagram showing an example of a corrected backlight image.
  • FIG. 21 is an enlarged view of area A1 in FIG.
  • FIG. 22 is an enlarged view of area A2 in FIG.
  • FIG. 23 is a diagram showing details of a replacement processing unit shown by one block in FIG. 7.
  • FIG. 24 is a diagram showing details of a mask creating unit shown by one block in FIG.
  • FIG. 25 is a diagram showing various examples of histograms regarding the brightness of each pixel constituting a corrected backlight image.
  • FIG. 26 is a diagram showing an area set as an initial subject mask and an area set as an initial background mask in the enlarged view of the backlight image shown in FIG.
  • FIG. 27 shows the initial subject mask and the initial background mask shown in FIG.
  • FIG. 29 is a diagram showing how the initial subject mask and the initial background mask shown in FIG. 27 are each reduced in a direction away from the boundary region.
  • FIG. 30 is a diagram showing the finally completed subject mask and background mask superimposed on the entire corrected follow-light image shown in FIG.
  • FIG. 31 is a diagram showing details of a color estimation unit shown by one block in FIG.
  • FIG. 32 is a diagram showing details of a background color estimation unit shown by one block in FIG.
  • FIG. 34 is a diagram showing an example of a region used for estimating a background color for a certain pixel.
  • FIG. 35 is a diagram showing details of a subject color estimation unit shown by one block in FIG.
  • FIG. 36 is a diagram showing how a search range is set around a pixel when the subject color is estimated for the pixel.
  • FIG. 37 is a diagram showing an example of a region used for estimating a subject color for a certain pixel.
  • FIG. 38 is a diagram showing a search method when searching for a subject color for a certain pixel in a boundary region in a corrected continuous light image.
  • FIG. 39 is a diagram showing a state in which a composite color is obtained for a certain pixel in a boundary region in a corrected continuous light image.
  • FIG. 41 When a subject color is estimated for a pixel in an area defined by a non-background mask in a corrected continuous light image, the search range is set around that pixel.
  • FIG. 42 is a diagram showing an example of an area used for estimating a subject color for a certain pixel.
  • FIG. 43 is a diagram showing a search method when searching for a subject color for a certain pixel in an area defined by a non-background mask in a corrected continuous light image.
  • FIG. 44 is a diagram showing a second embodiment of the photographing system of the present invention.
  • FIG. 45 is a flowchart showing a work flow executed by the imaging system of FIG. 44.
  • FIG. 46 is a diagram showing a third embodiment of the photographing system of the present invention.
  • FIG. 47 is a flowchart showing a work flow executed by the imaging system of FIG. 46.
  • FIG. 48 is a diagram showing an example of a corrected photographed image based on the first photographing.
  • FIG. 49 is a diagram showing an example of a corrected photographed image based on the second photographing.
  • FIG. 50 is a diagram showing an example of a histogram created by the background replacement image creation process in the third embodiment of the present invention.
  • FIG. 51 is a diagram showing a fourth embodiment of the photographing system of the present invention.
  • 52 is a diagram showing an internal structure of the illumination panel shown in FIG. 51.
  • FIG. 53 is a flowchart showing a work flow executed by the imaging system of FIG. 51.
  • FIG. 54 is a diagram showing an example of a corrected photographed image based on the first photographing.
  • FIG. 55 is a diagram showing an example of a corrected photographed image based on the second photographing.
  • FIG. 56 is a diagram showing an example of a histogram created by the background replacement image creation process in the fourth embodiment of the present invention.
  • FIG. 57 is a diagram showing a fifth embodiment of the photographing system of the present invention.
  • FIG. 58 is a flowchart showing a work flow executed by the imaging system of FIG. 57.
  • FIG. 59 is a diagram showing an example of a corrected photographed image based on the first photographing.
  • FIG. 60 is a diagram showing an example of a corrected photographed image based on the second photographing.
  • FIG. 61 is a diagram showing an example of a histogram created by a background replacement image creation process in the fourth embodiment of the present invention.
  • FIG. 62 is a diagram showing a sixth embodiment of the photographing system of the present invention.
  • FIG. 63 is a flowchart showing a work flow executed by the imaging system of FIG. 62.
  • FIG. 64 is a diagram showing an example of a corrected photographed image based on the first photographing.
  • FIG. 65 is a diagram showing an example of a corrected photographed image based on the second photographing.
  • FIG. 66 is a diagram showing an example of a histogram created by the background replacement image creation process in the fourth embodiment of the present invention.
  • FIG. 67 is a diagram showing a seventh embodiment of the photographing system of the present invention.
  • FIG. 1 is a diagram showing a first embodiment of the imaging system of the present invention.
  • the photographing system 1 shown in FIG. 1 distinguishes between a photographing stage 10 for photographing a subject and obtaining a photographed image, and a subject and background in the photographed image, and a desired background in the photographed image.
  • a personal computer 20 that operates as an example of a background replacement device according to the present invention that generates a background replacement image by replacing the background, a printer 30, and a Sano 0 are provided.
  • the photography studio 10 includes a digital camera 11, a flash light emitting device 12, and an EL (elect (Roluminescence) panel 130 and power source 14 for this EL panel.
  • the digital camera 11, the flash light emitting device 12, and the EL panel 130 correspond to examples of the imaging device, the flash light emitting device, and the illumination device according to the present invention, respectively.
  • the digital camera 11 has a continuous shooting function. When the photographer presses the shot button once, the digital camera 11 automatically shoots the subject P twice in a short time. Shooting image obtained by each shooting is temporarily stored in the memory in the digital camera 11. In the shooting system 1, the digital camera 11 is connected to the personal computer 20, and the two shootings are completed. At that time, the photographed image obtained by the two photographings is immediately sent to the personal computer 20. The digital camera 11 is also connected to a flash light emitting device 12, and the digital camera 11 captures a flash instruction signal for instructing the flash light emitting device 12 to emit a flash to the flash light emitting device 12. Send every time.
  • the flash light emitting device 12 receives a flash instruction signal from the digital camera 11 and emits a flash toward the subject P.
  • the flash light emitting device 12 needs to be charged every time it emits light, and once it emits light, it takes time until the next light can be emitted.
  • the above flash instruction signal is sent every time the flash is taken.
  • the flash light emitting device 12 emits a flash only during the first shot and the second shot. In some cases, the flash light emitting device 12 remains off because charging is not in time. Further, the flash light emitted from the flash light emitting device 12 is high-luminance light having a light emission luminance of approximately 2000 cdZm 2 .
  • the EL panel 130 includes a housing 131 in which a placement surface 131a on which the subject P is placed and a surface 131b behind the subject P are transparent, and a distributed EL element 132 housed in the housing 131.
  • the power source 14 is a power source that applies a driving voltage to the distributed EL element 132.
  • the dispersive EL element 132 is an example of the dispersive electroluminescent element according to the present invention. Equivalent to.
  • four markers 131c indicating the range of the surface 131b are arranged at the four corners of the surface 131b behind the subject P of the casing 131. These four markers 131c appear in the photographed image together with the subject P at the time of photographing, and are used for correcting the trapezoidal distortion for the photographed image, and correspond to an example of the marker referred to in the present invention.
  • the dispersive EL element 132 is formed by phosphor powder dispersed in a binder having a high dielectric constant.
  • the dispersive EL element 132 is sandwiched between two sheet-shaped electrodes having a flexible plastic substrate. Sheet-like surface-emitting light source.
  • the distributed EL element 132 emits light when an AC voltage is applied from the power source 14 between the two electrodes.
  • This dispersive EL element 132 is a very thin and light light source with a thickness of several hundreds / zm to lmm, and can be easily installed in a place where there is no room for thickness, such as inside the housing 131. I can do it.
  • the dispersive EL element 132 has a slight heat generation at the time of light emission of about 2 ° C, the light emission starting force has a fast response speed to reach the maximum luminance, and the light emission life is almost constant, so that it is planned. It has various performance advantages such as easy replacement, local light emission, resistance to shock and vibration, and low power consumption of 50 WZm 2 (when AC power with a frequency of 50 Hz is applied).
  • the distributed EL element 132 can be manufactured by a simple manufacturing process, so that the manufacturing cost is low! There is also an economic advantage.
  • a general dispersion-type EL element can adjust the emission color to various colors including white by further mixing a plurality of phosphor powders having different emission colors at the time of manufacture.
  • the phosphor powder for color adjustment is not mixed.
  • this dispersed EL element 132 has an emission wavelength of 400 ⁇ ! It will have two or more emission peaks between ⁇ 53 Onm.
  • This light is a light of a color between the blue power and green inherent in the dispersive EL element, and the dispersive EL element 132 in the present embodiment is a blue-green light composed of the above two or more emission peaks. Emits light.
  • blue-green is a complementary color of the skin color of a person
  • the shooting system 1 of this embodiment when shooting a person as a subject, the subject and background in the shot image are highly accurate. A photographed image with a blue-green background can be obtained. Furthermore, since it is a complementary color, the process of estimating the subject color and the background color as described later can be performed with high accuracy on the pixels near the boundary between the subject and the background.
  • the phosphor powder for color adjustment described above is Although there is a tendency to reduce the brightness of the light color, the dispersion type EL element 132 in the present embodiment emits light with the original brightness of the dispersion type EL element because such phosphor powder is not mixed.
  • a distributed EL element 132 is simply housed in a housing 131.
  • the power exemplifying the EL panel 130 The present invention is not limited to this.
  • another example of this type of lighting device will be described. Here, in the following, this another example will be described by paying attention to differences from the EL panel 130 shown in FIG.
  • FIG. 2 is a diagram showing another example of a lighting device of a type using a dispersive electroluminescence element.
  • FIG. 2 Another example shown in FIG. 2 has a configuration in which two components are added to the EL panel 130 shown in FIG. That is, in this other example, a blue-green color filter 132a that is the same as the emission color of the dispersion EL element 132 is attached to the surface of the dispersion EL element 132, and the subject P in the casing 131 (see FIG. 1) is attached.
  • An antireflection film 131d for preventing light reflection is affixed to each of the placement surface 131a and the surface 131b behind the subject P.
  • the color filter 132a and the antireflection film 131d correspond to examples of the color filter and the antireflection film according to the present invention, respectively.
  • the background color of the subject is the color of the flash even in the above-described flash photography where the amount of light is far superior to the light emitted from the distributed EL element 132. It is definitely a bluish green that is different from white. For this reason, for example, even if the flash color appears in the subject in the captured image, the subject and the background may appear in the same color as the flash color in the captured image. It is definitely avoided.
  • the anti-reflection film 131d the flash light emitted from the flash light emitting device 12 is reflected by the subject and the mounting surface 131a and the back surface 131b, so that the subject and the background are in the captured image. In this case, it is reliably avoided that the same color of the flash is developed. With such a configuration as shown in FIG. 2, the distinction between the subject in the captured image and the background, as will be described later, is more reliably performed.
  • the power supply 14 can adjust the AC voltage applied to the distributed EL element 132 between 50 Hz to 10 kHz with respect to frequency and between 40 V to 300 V with respect to magnitude.
  • the luminance of light emitted from the distributed EL element 132 is substantially proportional to the magnitude of the applied AC voltage.
  • the AC voltage is any one of the frequency of 1.2 kHz to l.5 kHz and the magnitude of any of 130 V to 200 V in the power supply 14. It is adjusted to the size, so that the distributed light emission of the EL element 132 luminance force 500cdZm 2 ⁇ 600cdZm of 2! /, is adjusted to the brightness of Zureka!, Ru.
  • photographing with the digital camera 11 is performed in a state where the EL panel 130 is always lit. Further, as described above, the first shooting is performed with the flash light emitting device 12 emitting a flash, and the second shooting is performed with the flash light emitting device 12 turned off.
  • the brightness of the flash emitted by the flash light emitting device 12 is considerably higher than the brightness when the EL panel 130 is turned on.
  • a flashing power with a brightness higher than the brightness of the EL panel 130. Is acquired.
  • the image of the subject P is biased to the shadow side by shooting in the backlit state where only the light from the EL panel 130 also illuminates the subject P with backward force.
  • a backlit image with the EL panel 130 image biased to the highlight side is acquired.
  • the combination of the flash light emitting device 12 and the EL panel 130 in the photographing studio 10 corresponds to an example of the photographing condition creating unit referred to in the present invention, and here, the illumination by the EL panel 130 is steady.
  • a plurality of (two in this embodiment) shooting conditions are created depending on the presence and presence / absence of illumination by the flash of the flash light emitting device 12.
  • the personal computer 20 operates as an example of the background replacement device according to the present invention.
  • the personal computer 20 performs image correction processing including correction for the trapezoidal distortion on the two captured images passed from the digital camera 11, and further, based on the corrected captured image.
  • the background replacement image is created, the background replacement process is performed.
  • the image correction process and the background replacement process will be described later.
  • This personal computer 20 has a loading port for a flexible disk (hereinafter referred to as FD) and a CD-ROM due to its external configuration, and has an access function to the FD and CD-ROM loaded in the loading port.
  • FD flexible disk
  • CD-ROM due to its external configuration
  • Main device 210 an image display device 220 that displays an image on a display screen 220a according to an instruction from the main device 210, a keyboard 230 that inputs various information corresponding to key operations to the main device 210, a display screen By specifying an arbitrary position on 220a, an instruction corresponding to, for example, an icon or the like displayed at that position is input, and a small storage medium used for storing a photographed image by a digital camera or the like. And a media drive 250 for accessing the small storage medium.
  • the printer 30 prints an image sent from the personal computer 20.
  • the printer 30 plays a role of printing the background replacement image created by the background replacement processing by the personal computer 20. .
  • the server 40 stores a plurality of types of backgrounds used in the background replacement process executed by the personal computer 20.
  • the background in Sano 0 is presented to the customer by being displayed on the display screen 220a.
  • the photographing system 1 also displays a background provided via some input storage medium such as the CD-ROM or the small storage medium. Presented to customer through screen 220a. The customer selects a desired background from the backgrounds displayed on the display screen 220a.
  • FIG. 1 the elements shown in FIG. 1 are referred to by using the symbols in FIG. 1
  • FIG. 3 is a flowchart showing a flow of work executed in the imaging system of FIG.
  • the work shown in the flowchart of FIG. 3 is performed on the premise that the subject P, the digital camera 11, and the flash light emitting device 12 are respectively arranged at appropriate positions in the photographing studio 10.
  • Step S101 a voltage is applied from the power supply 14 to the distributed EL element 132, and the EL panel 130 is turned on (step S101).
  • the flash light emitting device 12 emits a brighter flash light than the illumination of the EL panel 130.
  • Photographed step S102.
  • the second shooting is performed in a state where the flash light emitting device 12 is turned off, that is, in a backlight state by illumination of only the EL panel 130 (step S 103).
  • the two photographed images, the follow-light photographed image and the backlight photographed image, obtained in the processes of Step S102 and Step S103, respectively, are temporarily stored in the memory in the digital camera 11.
  • the processing in steps S101 to S103 described above is manual photographing processing such as a photo studio clerk performed in the photographing studio 10, but the present invention is not limited to this. It is not a thing.
  • the photographing system of the present invention may be, for example, a device in which the operation of the EL panel or digital camera is controlled by a personal computer or the like, and the lighting of the EL panel or the photographing by the digital camera is automatically performed without human intervention. good. This also applies to other embodiments described later.
  • the present invention is not limited to this, and the shooting system of the present invention includes: For example, the shooting in the following light condition and the shooting in the backlight condition may be performed as described below.
  • FIG. 4 is a diagram showing another example of shooting in a backlight condition and shooting in a backlight condition.
  • step S101 when the EL panel that illuminates the subject from behind is turned on (step S101), photographing in a normal light state (step S102 ′) and photographing in a backlight state (step S103 ′) are executed sequentially.
  • step S102 ′ photographing in a normal light state
  • step S103 ′ photographing in a backlight state
  • shooting in the following light condition step S102 ' is compared to the light emitted from the EL panel to ensure that the light emitted from the EL panel is not reflected in the subject.
  • the shooting is performed in a flash with an overwhelmingly large amount of light, and the shooting is performed with a low sensitivity corresponding to the amount of the flash so that the shooting is appropriately performed in such a flash.
  • step S103 ' shooting in the backlit state (step S103 ') is performed with a higher sensitivity according to the amount of light emitted from the EL panel because the sensitivity is insufficient at such low sensitivity and the light emitted from the EL panel cannot be captured.
  • this figure 4 According to the shooting process shown in FIG. 6, in the shooting in the normal light state, the light emitted from the EL panel is prevented from being reflected on the subject, and shooting with appropriate sensitivity in each state is possible.
  • step S103 the second shooting is performed, and when the captured image obtained by the shooting is stored in the memory in the digital camera 11, the second shooting is performed.
  • Two captured images temporarily stored in the memory are immediately transferred to the personal computer 20.
  • the background desired by the customer is read out from the server 40 or some input storage medium power.
  • Step S104 the background desired by the customer is read out from the server 40 or some input storage medium power.
  • Step S105 an image correction process described later including correction for the trapezoidal distortion is performed on the two captured images.
  • a background replacement image is created based on this corrected photographed image, a background replacement process described later is executed (step S106).
  • the image data representing the background replacement image created by the background replacement processing is first transferred to the image display device 220, and further, at least one of the printer 30 and the output storage medium desired by the customer. (Step S107). Subsequently, in the image display device 220, the background replacement image is displayed on the display screen 220a based on the transferred image data (step S108), and when the image data is transferred to the printer 30. In the printer 30, the background replacement image is printed based on the image data (step S109).
  • step S104 to step S108 is processing executed in the personal computer 20, and in the following, the personal computer 20 that executes these processing and the details of those processing will be described. Pay attention to the explanation.
  • FIG. 5 is a hardware configuration diagram of the personal computer shown in FIG.
  • the CPU 211 that executes various programs and the programs stored in the hard disk device 213 are read out and expanded for execution on the CPU 211 inside the main unit 210.
  • the output interface 217 is connected to the printer 30 and outputs a background replacement image, etc., and these various elements, as well as the image display device 220, keyboard 230, mouse 240, and Media drives 250 that access the small storage media 530 are connected to each other via a bus 260.
  • the CD-ROM 510 stores a background replacement program for operating the personal computer 20 as an example of the background replacement device according to the present invention.
  • the CD-ROM 510 storing the background replacement program is loaded into the CD-ROM drive 215, the background replacement program stored in the CD-ROM 510 is uploaded to the personal computer 20 and the hard disk device 213. Is written to.
  • the personal computer 20 operates as a background replacement device.
  • FIG. 6 is a conceptual diagram showing a CD-ROM storing a background replacement program for operating the personal computer shown in FIGS. 1 and 5 as an example of the background replacement device according to the present invention. .
  • a CD-ROM 510 shown in FIG. 6 stores a background replacement program 600.
  • the background replacement program 600 includes an image acquisition unit 610, an image correction unit 620, a replacement processing unit 630, an image data transfer unit 640, and an image display unit 650.
  • FIG. 7 shows functions when the background replacement program shown in FIG. 6 is installed in the personal computer shown in FIGS. 1 and 5, and this personal computer operates as an example of the background replacement device according to the present invention. It is a functional block diagram to represent.
  • FIG. 7 also shows the photographing studio 10, which includes the digital camera 11, the flash light emitting device 12, and the EL panel 130, the printer 30, and the Sano 0, which are also shown in FIG. [0104]
  • the background replacement device 700 shown in Fig. 7 obtains a front-lit photographed image and a back-lit photographed image taken by the digital camera 11 of the photographing studio 10 under the front light and the backlight.
  • a background replacement process is performed in which a subject and a background in a backlight image are distinguished based on a backlight image and the background is replaced with a desired background.
  • an image acquisition unit 710 an image correction unit 720, a replacement processing unit 730, an image data transfer unit 740, and an image display unit 750.
  • the image acquisition unit 710 first receives two photographed images taken by the digital camera 11 and delivered from the digital camera 11. Further, the image acquisition unit 710 reads a background desired by the customer from Sano 0 or from an input storage medium 540 such as a CD-ROM or a small storage medium.
  • the CPU 211 of the personal computer 20 substantially includes the input interface 216, the FD drive 214, the CD-ROM drive 215, and the media drive 250 in accordance with the image acquisition unit 610 of the background replacement program 600. Configured by controlling.
  • the image correction unit 720 performs image correction processing including correction for trapezoidal distortion on the two captured images received by the image acquisition unit 710.
  • the personal computer 20 The CPU 211 is configured to operate according to the image correction unit 620 of the background replacement program 600. Details of the image correction unit 720 will be described later with reference to the accompanying drawings together with details of the image correction processing.
  • the replacement processing unit 730 performs a background replacement process to create a background replacement image based on the two photographed images that have undergone the image correction process in the image correction unit 720.
  • the CPU 211 of the personal computer 20 is configured to operate according to the replacement processing unit 630 of the background replacement program 600. Details of the image correction unit 720 will be described later with reference to the accompanying drawings together with details of the background replacement process.
  • the image data transfer unit 740 receives the image data representing the background replacement image created by the replacement processing unit 730 as at least one of the printer 30 and the output storage medium 550 desired by the customer. The image is transferred to the image display unit 750 of the replacement device 700.
  • the image data transfer unit 740 is substantially configured so that the CPU 211 of the personal computer 20 can output the output interface 217 and the FD driver according to the image data transfer unit 640 of the background replacement program 600. It is configured by controlling Eve 214, CD—ROM drive 215, and media drive 250.
  • the image display unit 750 displays a background replacement image based on the image data transferred from the image data transfer unit 740 on the display screen 220a, and is substantially the CPU 211 of the personal computer 20. Is configured by controlling the image display device 220 in accordance with the image display unit 650 of the background replacement program 600.
  • the printer 30 prints a background replacement image based on the image data.
  • image data representing a background replacement image is output from the image data transfer unit 740 to any output storage medium 550, the image data is written to the output storage medium 550. Then, both the print paper on which the background replacement image is printed and the output storage medium 550 in which the image data representing the background replacement image is written, or one of them is provided according to the customer's request.
  • FIG. 8 is a diagram showing details of the image correction unit shown by one block in FIG. In the following description, the elements shown in FIG. 7 are referred to by using the reference numerals in the figure without particular reference to the figure numbers.
  • the image correction unit 720 shown in FIG. 8 includes an image including the correction of the trapezoidal distortion in the follow-up photographed image and the backlight photographed image received by the image acquisition unit 710.
  • the correction processing is executed, and includes a marker detection unit 721, a trapezoidal correction processing unit 722, an effective image creation unit 723, and a color correction unit 724.
  • FIG. 9 is a schematic diagram showing an example of a follow-light photographed image in which trapezoidal distortion has occurred.
  • Fig. 9 schematically shows a captured image in which a trapezoidal distortion in which the width of the image is narrowed toward the bottom is generated.
  • the marker detection unit 721 detects four markers 131c in the captured image. Originally, when these four markers 13 lb are connected, a rectangle should be formed. However, in the example of FIG. 9, when four markers 13 lb are connected, a trapezoid is formed due to trapezoidal distortion.
  • the trapezoidal correction processing unit 722 corrects the trapezoidal distortion by appropriately deforming the entire captured image so that the figure formed by connecting the four markers 131c detected by the marker detection unit 721 becomes an original rectangle. To do.
  • FIG. 10 is a schematic diagram showing a state in which the trapezoidal distortion in the follow-up photographed image of FIG. 9 is corrected.
  • the photographed image to be used for the background replacement process is desirably only the light emitting surface of the EL panel 130 in terms of ease of distinguishing between the subject and the background.
  • the space for the shooting studio 10 is reduced, there is a limit to the size of the EL panel 130.
  • Unnecessary parts other than the 130 light-emitting surfaces appear in the background.
  • the effective image creation unit 723 creates an effective image in which images outside the effective range E1 determined by the four markers 131c are deleted from the captured image that has undergone correction processing by the trapezoidal correction processing unit 722.
  • FIG. 11 is a schematic diagram showing an effective image created based on the follow-light photographed image corrected for trapezoidal distortion shown in FIG.
  • the effective image creating unit 723 creates an effective image in which the background of the subject P is only the light emitting surface of the EL panel 130 as shown in FIG.
  • the effective image is subjected to a color correction process such as red-eye correction for a person's eyes or correction of the hue of the entire image.
  • the image correction processing performed by the image correction unit 720 has been described above with reference to the backlight image captured in FIGS. 9 to 11, but in the present embodiment, the backlight illumination captured together with the backlight captured image.
  • the image is also subjected to exactly the same processing as the image correction processing applied to the follow light photographed image. However, in this backlight photographed image, the subject appears to be blacked out, so the processing in the color correction unit 724 is excluded for this backlight photographed image.
  • FIG. 12 shows a corrected backlight that has been subjected to image correction processing by the image correction unit in FIG. It is a schematic diagram which shows a shadow image.
  • the corrected backlight image is an image in which the area of the subject P is biased toward the shadow side and the area where the EL panel 130 is reflected as the background is biased toward the highlight side.
  • the light emission surface of the EL panel 130 is the actual light emission color because the luminance of the light emission of the EL panel 130 is lower than the luminance of the flash light emitted by the flash light emitting device 12.
  • the backlight image shown in FIG. 12 shows a blue-green color, which is the actual emission color of the EL panel 130.
  • the replacement processing unit 730 in FIG. 7 first, the corrected backlight image is distinguished from the subject P and the background, and the distinction is directly applied to the corrected backlight image.
  • the replacement processing unit 730 creates a background replacement image by replacing the background in the follow-up photographed image with the background desired by the customer.
  • FIG. 13 is a diagram showing another example of the image correction unit.
  • the image correction unit 720 ′ shown in FIG. 13 has the same color as the effective image creation unit 723 ′ that creates an effective image from which the unnecessary portion of the captured image power is removed without using the above marker. And a correction unit 724. The following description will be made with attention paid to the effective image creation unit 723 ′ of FIG.
  • FIG. 14 is a diagram showing details of the effective image creation unit 723 ′ shown by one block in FIG.
  • the effective image creation unit 723 ′ includes an image enlargement unit 723a ′, a histogram creation unit 723b ′, a binarization unit 723c ′, a straight line detection unit 723d ′, and an image cutout unit 723e ′.
  • This effective image creation unit 723 ′ uses the backlight image to determine the effective image range common to the backlight image and the backlight image.
  • the image enlargement unit 723a enlarges the backlight image as follows.
  • FIG. 15 is a diagram illustrating an example of a backlight photographed image used for creating an effective image
  • FIG. 16 is a diagram illustrating a state in which the backlight photographed image illustrated in FIG. 15 is enlarged.
  • FIG. 15 shows a backlit photographed image in which unnecessary portions other than the light emitting surface of the EL panel 130 and the subject P are biased toward the shadow side.
  • the image enlargement unit 723a ′ enlarges the backlight image by adding a plurality of black pixels above, below, left, and right of the backlight image, and emits light from the EL panel 130 as shown in FIG. Create an image in which the area around the surface is surrounded by pixels of the shadow side color.
  • the histogram creation unit 723b ′ in FIG. 14 creates a histogram for the brightness of each pixel as follows for the enlarged image.
  • FIG. 17 is a diagram showing an example of a histogram regarding the brightness of each pixel constituting the enlarged backlight image.
  • FIG. 17 shows a histogram HG that shows the frequency of how many pixels are allocated to each luminance range by dividing the luminance of each pixel into a number of luminance ranges.
  • luminance is plotted on the horizontal axis HG-1 and frequency is plotted on the vertical axis HI-2.
  • HG histogram HG created for a backlit image
  • two peaks HP1 and HP2 appear on the shadow side, the no, and the illite side, as shown in FIG.
  • the peak HP1 on the shadow side appears as a result of the above-mentioned unnecessary part and subject area pixels in the backlight image being distributed
  • the peak HP2 on the highlight side is the light emitting surface of the EL panel 130 in this backlight image.
  • the binarization unit 723c in FIG. 14 first sets the upper limit of the luminance at which the frequency is equal to or higher than the predetermined frequency at the shadow-side peak HP1 in the histogram HG. Calculate the threshold HS. Next, the binary key section 723c ′ has a pixel value of “1” for each pixel of the above-described enlarged backlight photographed image, for a pixel corresponding to a luminance equal to or higher than the threshold HS. If a pixel value of “0” is assigned to a pixel corresponding to a luminance that is less than the threshold HS, then binarization processing is executed.
  • FIG. 18 is a diagram showing a backlight image that has been subjected to binary key processing by the binary key unit 723c ′ of FIG.
  • the state in which the pixel value “0” is assigned to the pixels in the area other than the light emitting surface of the EL panel 130 including the subject P is indicated by hatching.
  • the straight line detection unit 723d 'of Fig. 14 has a pixel value of "1" in the backlight image subjected to the binarization process.
  • a straight line portion at the boundary between the pixel and a pixel having a pixel value of “0” is detected.
  • FIG. 18 above shows a state in which four straight lines SL1, SL2, SL3, and SL4 surrounding the region of the light emitting surface of the EL panel 130 are detected.
  • the image cutout part 723e 'in Fig. 14 uses the four straight lines SL1, SL2, SL3, and SL4 from the backlight image before magnification shown in Fig. 15.
  • the image part corresponding to the enclosed area is cut out as an effective image.
  • the image cutout unit 723e ′ cuts out an image portion corresponding to the range surrounded by the four straight lines SL1, SL2, SL3, and SL4 as an effective image from the captured light image.
  • the replacement processing unit 730 uses the subject P and background for the corrected backlight image. The distinction is performed, and the distinction is directly applied to the corrected follow-light photographed image, so that the subject P and the background in the follow-light photographed image are distinguished. Then, the replacement processing unit 730 generates a background replacement image by replacing the background in the follow light photographed image with the background desired by the customer.
  • the details of the replacement processing unit 730 will be described by focusing on the background replacement processing that leads to the creation of the background replacement image from the distinction between the subject and the background in the corrected backlight image.
  • the following images will be referred to as examples of the above-described corrected follow-light photographed image and the corrected backlight photographed image, respectively.
  • FIG. 19 is a diagram illustrating an example of a corrected follow-light photographed image
  • FIG. 20 is a diagram illustrating an example of a corrected backlight photographed image.
  • FIG. 19 a human subject P 'is shown.
  • the photographed image shown in FIG. 20 was taken with backlighting, the area of the subject P 'is biased toward the shadow side, and the area where the EL panel 130 appears as the background is biased toward the highlight side. It is becoming.
  • the situation around the boundary between the subject P ′ and the background is shown in another figure for area A1 in FIG. 19 and area A2 in FIG. 20 corresponding to area A1 in FIG.
  • FIG. 21 is an enlarged view of area A1 in FIG. 19, and FIG. 22 is an enlarged view of area A2 in FIG.
  • FIG. 21 and FIG. 22 show a state where the background EL panel 130 is visible over the hair of the subject P ′.
  • a portion where the background is visible over a part of the subject Such a portion, as shown in the examples of FIGS. It exists around the boundary.
  • FIG. 21 and FIG. 22 are shown in an ideal state where details are shown up to one hair of a person for convenience of explanation.
  • the pixels constituting the image are larger than a minute subject such as a single hair due to the resolution limitation. Therefore, for example, the image of the portion of the background EL panel 130 that can be seen over the hair shown in FIGS. 21 and 22 is composed of the color of the minute subject, the hair, and the background color that can be seen behind it. Thus, the pixels having the combined color are assembled. For this reason, it is not possible to simply distinguish between the subject and the background.
  • the replacement processing unit 730 in Fig. 7 first replaces the background of the corrected forward-lighted image as shown in Fig. 19 with the background desired by the customer, for example.
  • the optical image is classified into a subject area, a background area, and a boundary area sandwiched between these two areas.
  • the replacement processing unit 730 leaves the subject area in the corrected follow-light photographed image as it is, and replaces the background area with another background desired by the customer.
  • the replacement processing unit 730 distinguishes the boundary area.
  • the replacement processing unit 730 assumes that the color of each pixel is based on the premise that all the pixels in the boundary region in the corrected follow light image have the composite color as described above. Estimate the subject color and background color that were the basis of the composition of the image, and further estimate the composition ratio of the two. However, the actual boundary region includes pixels having only the background color and pixels having only the subject color in addition to the pixel having the composite color.
  • the replacement processing unit 730 when the pixel to be processed is a pixel having only the background color, a composition ratio in which the ratio of the subject color to the color of the pixel is “0” is estimated, and the pixel to be processed However, if the pixel has only the subject color, the composition ratio is estimated such that the ratio of the subject color to the pixel color is “1”.
  • the replacement processing unit 730 determines the color of each pixel in the boundary region from the estimated object color and another background color desired by the customer from the estimated composition ratio. Replace with the synthesized color that is synthesized with. In this process, the color of the pixel having only the background color in the boundary area is replaced with the other background color described above, and the color of the pixel having only the subject color is maintained as it is. The color of the pixel where the background is visible is replaced with the above composite color. As a result of this processing, even if the boundary area includes a portion where the background is visible over a part of the subject, another background desired by the above customer is found over the part of the subject. When it is seen, a natural background replacement image is created.
  • FIG. 23 is a diagram showing details of the replacement processing unit shown by one block in FIG. In the following description, the elements shown in FIG. 7 are referred to using the reference numerals in FIG.
  • This replacement processing unit 730 performs the above-described background replacement processing, and includes a mask creation unit 731, a color estimation unit 732, and a background replacement image creation unit 733.
  • the mask creating unit 731 displays the backlight image.
  • a subject mask that defines a range in which only subject-color pixels exist and a background mask that defines a range in which only background-color pixels exist are created.
  • these two masks are within the range defined by the respective masks. For example, as shown in FIG. 22, the background can be seen over the subject and the pixels of the part are not included. Created with a gap.
  • the color estimation unit 732 applies the subject mask and the background mask created by the mask creation unit 731 to the corrected follow-up photographed image. A gap opened between two masks, that is, a boundary region is recognized. Then, if all the pixels in this boundary area have a composite color, based on the premise, the subject color and the background color from which the color of each pixel is synthesized are estimated, Furthermore, the synthesis ratio of both is estimated.
  • the background replacement image creation unit 733 leaves the area defined by the subject mask as it is in the corrected follow-light photographed image as described above, and uses the area defined by the background mask as the customer. Replace with another desired background.
  • the background color desired by the customer and the subject color estimated by the color estimation unit 732 are combined at the combination ratio estimated by the color estimation unit 732. Find the composite color and replace the color of each pixel with the composite color. As a result, a background replacement image is created in which the background of the corrected follow light image is naturally replaced with another background desired by the customer.
  • Image data power representing the background replacement image created in this way is transferred from the image data transfer unit 740 in FIG. 7 to each output device and output storage medium 550 (see FIG. 7).
  • FIG. 24 is a diagram showing details of the mask creation unit shown by one block in FIG.
  • This mask creation unit 731 includes a histogram creation unit 731a, a threshold calculation unit 731b, a subject mask setting unit 731c, a background mask setting unit 731d, a subject mask reduction unit 731e, and a background mask reduction unit 73 If. Yes.
  • the histogram creation unit 731a creates a histogram for the brightness of each pixel constituting the corrected backlight image.
  • Fig. 25 is a histogram showing the brightness of each pixel constituting the corrected backlight image. It is a figure which shows the various examples of a ram.
  • the luminance of each pixel constituting the backlight image is allocated to a number of luminance ranges, and the force that is allocated to each pixel in each luminance range is represented by frequency.
  • a luminance histogram HI is shown.
  • the horizontal axis HI-1 represents the luminance
  • the vertical axis HI-2 represents the frequency.
  • the above-described backlight image and backlight image are coordinates in the RGB color space that define colors with three colors of R (red), G (green), and B (blue). That is, the color of each pixel is represented by the R value, G value, and B value in the R GB color space.
  • the R value, G value, and B value that represent the color of each pixel reflect the brightness of that pixel, so a histogram of the brightness of each pixel that makes up the backlight image is displayed in these R values. , G value, and B value.
  • Part (b) of Fig. 25 shows that the R value of each pixel composing the backlight image is distributed to a large range of R values, and how many pixels are distributed for each range.
  • the R value histogram H2 is shown.
  • Part (c) of Fig. 25 shows that the G value of each pixel that composes the backlit image is divided into a large number of G value ranges.
  • a G-value histogram H3 showing the frequency with which the pixels are distributed is shown, and the B value of each pixel constituting the backlight image is shown in a number of ranges of B values in the figure Hd).
  • a B-value histogram H4 showing the frequency of how many pixels are allocated to each range is shown.
  • the R value histogram H2 shown in part (b) of Fig. 25 the R value is taken on the horizontal axis H2-1
  • the G value is shown on the horizontal axis H3-1
  • the B value histogram H4 shown in Part (d) of Fig. 25 the B value is taken on the horizontal axis H4-1.
  • the vertical axis H2-2, H3-2, H4-2 of these three histograms shows the frequency.
  • the histogram creation unit 731a in FIG. 24 is configured to create a G-value histogram H3 shown in part (c) of FIG. 25 among the four histograms shown in FIG. RU
  • two peaks Pkl and Pk2 appear on the shadow side and the highlight side in the G value histogram H3.
  • the peak Pkl on the shadow side appears when the pixels in the subject area in the corrected backlight image are distributed, and the peak Pk2 on the illuminant side shows the pixels in the background area in this backlight image. It will appear.
  • the threshold calculation unit 731b shown in FIG. 24 calculates the following two thresholds based on the two peaks Pkl and Pk2 in the G value histogram created by the histogram creation unit 73la. As shown in part (c) of FIG. 25, from the shadow side peak Pkl, the first threshold value Sri, which is the upper limit of the G value at which the frequency becomes a predetermined frequency or higher at the peak Pk1, is calculated. In addition, from the peak Pk2 on the highlight side, a second threshold value Sr2 that is the lower limit of the G value at which the frequency is equal to or higher than the predetermined frequency at the peak Pk2 is calculated.
  • the subject mask setting unit 731c shown in FIG. 24 selects a region having a pixel force where the G value is equal to or smaller than the first threshold value Sri among the plurality of pixels constituting the corrected backlight image.
  • the initial mask is set, and the background mask setting unit 731d sets, as the initial background mask, an area composed of pixels whose G value is equal to or greater than the second threshold value Sr2.
  • FIG. 26 is a diagram showing an area set as the initial subject mask and an area set as the initial background mask in the enlarged view of the backlight photographed image shown in FIG.
  • the hatched portion on the right side in Fig. 26 is a portion where the hair of subject P 'is gathered so that the background is not visible in the enlarged view of Fig. 22, and is reflected largely to the shadow side by backlighting. Yes, the G value of the pixel in that part is below the first threshold Sri. As a result, the hatched portion on the right side in FIG. 26 is set as the initial subject mask Ml by the subject mask setting unit 731c.
  • the hatched portion on the left side in Fig. 26 is a portion that is largely biased toward the highlight side, where only the background EL panel 130 is shown in the enlarged view of Fig. 22, and the G value of the pixel in that portion Is above the second threshold Sr2.
  • the hatched portion on the left side in FIG. 26 is set to the initial background mask M2 by the background mask setting unit 73 Id.
  • the part that does not belong to either the left or right hatched part is the hair
  • the part where the background can be seen is over, and the G value of that part is above the first threshold value Sri and below the second threshold value Sr2.
  • the part that does not belong to the left or right part in FIG. 26 is between the initial subject mask Ml and the initial background mask M2, and is left as a boundary region M3 that is outside both masks. .
  • FIG. 27 shows the initial subject mask and the initial background mask shown in FIG. 26, and FIG. 28 shows the corrected subject light image shown in FIG. 19 after the initial subject mask and the initial background mask.
  • FIG. 28 shows the corrected subject light image shown in FIG. 19 after the initial subject mask and the initial background mask.
  • the initial subject mask Ml and the initial background mask M2 are quite close to each other, and the boundary region M3 is very narrow.
  • the position and contour of the subject in the image are substantially the same as the position and contour of the subject in the corrected forward light image.
  • the shooting timing is slightly shifted, the position and outline of the subject may be slightly shifted between the two shot images.
  • the boundary area M3 is narrow, the part of the subject that is transparent through the subject as shown in FIG. May not be completely contained in one of the two masks.
  • the old background remains in the part where the background is visible through part of the subject. There is a possibility that the problem may occur that all the parts are replaced with a new background and a part of the subject is lost.
  • the subject mask reduction unit 731 e shown in FIG. 24 reduces the initial subject mask M 1 in the direction away from the boundary region M 3, and the background mask reduction unit The initial background mask M2 is reduced in a direction away from the boundary region M3 by 731f.
  • the boundary region M3 is widened, and the portion where the background is visible through the part of the subject is completely included in the boundary region M3.
  • FIG. 29 is a diagram showing how the initial subject mask and the initial background mask shown in FIG. 27 are reduced in a direction away from the boundary region force.
  • the initial subject mask Ml is reduced by moving the outline L1 of the initial subject mask Ml by a predetermined number of pixels in a direction away from the boundary region M3.
  • the initial background mask M2 is reduced by moving the outline L2 of the initial background mask M2 by a predetermined number of pixels in a direction away from the boundary region M3.
  • 5 pixels are employed as the movement amount of the contours of the two masks.
  • FIG. 30 is a diagram showing the finally completed subject mask and background mask superimposed on the entire corrected follow-light image shown in FIG.
  • this final boundary region M3 ′ includes a sufficient portion where the background can be seen through a part of the subject.
  • FIG. 31 is a diagram showing details of the color estimation unit indicated by one block in FIG.
  • the color estimation unit 732 includes a background color estimation unit 732a, a subject color estimation unit 732b, and a synthesis ratio estimation unit 732c.
  • FIG. 32 is a diagram showing details of the background color estimation unit shown by one block in FIG.
  • the background color estimation unit 732a estimates the background color that constitutes the color of each pixel in the final boundary region in the corrected follow light image.
  • the background color estimation unit 732a places the pixel in the vicinity of the pixel to some extent from the pixels in the region defined by the background mask. A plurality of pixels are searched, and an average color of the searched pixels is obtained as a background color for the pixels.
  • Search range setting section 732a-1 sets a square search range centered on a pixel whose background color is estimated as follows.
  • Fig. 33 is a diagram illustrating a state in which a search range is set around a pixel when a background color is estimated for the pixel.
  • the search range setting unit 732a-1 In setting a search range for a certain pixel G in the boundary region, the search range setting unit 732a-1 first gradually starts from a predetermined square initial range T1 centered on the pixel G. Extend the search range. Then, the search range setting unit 732a-1 stops the expansion when the pixel of the region defined by the background mask M2 ′ exceeds the predetermined number and is included in the search range, and the search range T1 ′ at that time Is set as the search range for background color estimation.
  • the background area confirmation unit 732a-2 shown in FIG. 32 uses V for the pixel G and uses it for estimating the background color. Check the following areas:
  • FIG. 34 is a diagram showing an example of a region used for estimating a background color for a certain pixel.
  • the area used for estimating the background color for the pixel G is an area defined by the background mask in the corrected follow light image, and the search range. A region B1 within the search range T1 ′ set by the setting unit 732a-1 is confirmed.
  • the background color calculation unit 732a-3 shown in FIG. 32 performs an average of a plurality of pixels in the region B1.
  • the average value of the color that is, the R value, G value, and B value of a plurality of pixels is calculated.
  • the color represented by the calculation result is adopted as the background color for the pixel G.
  • the background color estimation unit 732a described above executes the above processing until the setting power of the search range reaches the calculation of the average color for all the pixels in the boundary region in the corrected continuous-light image. .
  • FIG. 35 is a diagram showing details of the subject color estimation unit shown by one block in FIG.
  • the subject color estimation unit 732b estimates, for each pixel in the final boundary area, the subject color that constitutes the color of the pixel in the corrected continuous light photographed image.
  • the subject color estimation unit 732b estimates the subject color for a certain pixel in the boundary region
  • the subject color estimation unit 732b is located near the pixel to some extent from the pixels in the region defined by the subject mask. A plurality of pixels are searched, and a subject color for the pixel is searched for from among the searched pixels by a search method described later.
  • the search range setting unit 732b-1 sets a square search range centered on the pixel for estimating the subject color as follows.
  • FIG. 36 is a diagram illustrating a state in which a search range is set around a pixel when the subject color is estimated for the pixel.
  • the search range setting unit 732b-1 In setting the search range for a certain pixel G in the boundary region, the search range setting unit 732b-1 first gradually starts from a predetermined square initial range T2 centered on the pixel G. Extend the search range. Then, the search range setting unit 732b-1 stops the expansion when the pixels in the region defined by the subject mask Ml ′ exceed the predetermined number and are included in the search range, and the search range T2 at that time Set 'as the search range for subject color estimation.
  • the subject region confirmation unit 732b-2 shown in FIG. 35 uses the pixel G as a region to be used for estimating the subject color in the corrected continuous light image. Check the following areas:
  • FIG. 37 is a diagram showing an example of a region used for estimating the subject color for a certain pixel.
  • the area used for estimating the subject color for the pixel G is an area defined by the subject mask in the corrected follow-up photographed image and the search range setting. A region B2 within the search range T2 ′ set by the part 732b-1 is confirmed.
  • the pixel color confirmation unit 732b-3 shown in Fig. 35 confirms the color of the pixel G.
  • the subject color search unit 732b-4 shown in FIG. 35 performs a plurality of pixels in the area B2. From the colors, the subject color for the pixel G is searched by the following search method.
  • Fig. 38 is a diagram showing a search method when searching for a subject color for a certain pixel in a boundary region in a corrected follow light image.
  • FIG. 38 shows the background color C1 estimated by the background color estimation unit 732a of FIG. 31 and the pixel color confirmation unit 732b of FIG. 35 for a certain pixel in the boundary region in the corrected continuous light image.
  • the line CL1 that connects the color C2 of the pixel confirmed in —3 in the RGB color space is shown.
  • the color of the pixels in the boundary region in the corrected continuous light image is a composite in which the background is seen through a part of the subject at the time of shooting, and the background color and the subject color are combined. It may be a color. If the color of the pixel for which the subject color is to be searched for is a composite color, the color C2 of the pixel that is the composite color and the background color C1 that is the origin of the color C2 The subject color is arranged on a straight line in the RGB color space.
  • the subject color search unit 732b-4 shown in FIG. 35 first searches for the color C3 arranged on the extended line of the straight line CL1 from the colors of the plurality of pixels in the region B2.
  • the subject color estimation unit 732b described above executes the above-described processing from the setting of the search range to the search for the subject color for all the pixels in the boundary region in the corrected sequential light image. .
  • the composition ratio estimation unit 732c uses the background color C1 estimated by the background color estimation unit 732a and the subject color C4 estimated by the subject color estimation unit 732b as RGB color space. Up The ratio of the length of the line connecting the background color C1 and the color C2 of the pixel to the length of the line connected by Calculated as the composition ratio oc. In addition, the composition ratio estimation unit 732c performs the calculation of the composition ratio ⁇ for all the pixels in the boundary region in the corrected follow light image.
  • the background replacement image creation unit 733 first leaves the region defined by the subject mask in the corrected follow-light photographed image as it is and defines it by the background mask. Replace the area with another background desired by the customer.
  • the background replacement image creation unit 733 uses the color estimation unit 732 to calculate the background color desired by the customer and the subject color estimated by the color estimation unit 732 for each pixel in the boundary region.
  • a composite color is obtained by combining with the estimated composite ratio.
  • FIG. 39 is a diagram illustrating a state in which a composite color is obtained for a certain pixel in a boundary region in a corrected follow-light photographed image.
  • FIG. 39 shows a straight line CL1 shown in FIG. 38 that connects the estimated background color C1, the color C2 of the pixel, and the estimated subject color C4 in the RGB color space.
  • the pixel color C2 is a point that divides a straight line connecting the background color C1 and the subject color C4 at a composition ratio oc: (1 composition ratio ⁇ ). Therefore, as shown in FIG. 39, the background replacement image creation unit 733 divides a straight line CL2 connecting another background color C5 and the estimated subject color C4 with a composition ratio a: (1 composition ratio ex). This point is adopted as the composite color C6.
  • the background replacement image creating unit 733 assigns the colors of all the pixels to each pixel. V. By replacing the composite color obtained as described above, a background replacement image in which the background of the corrected follow light image is replaced with another background desired by the customer is completed.
  • the boundary area in the corrected continuous light image is occupied only by the subject other than the portion where the background is visible over a part of the subject. Parts that are occupied by the background or only occupied by the background. Part occupied only by the subject The color of this pixel is the color of the subject itself, and even if the background is replaced with another background, the color of that pixel needs to be maintained. Also, the color of the pixel that is occupied only by the background is the color of the background itself, and when the background is replaced with another background, the color of that pixel must be completely replaced with that other background color. There is.
  • the pixel for which the background color, the subject color, or the composition ratio is to be estimated is a pixel occupied by only the subject, such a region B2 shown in FIG.
  • the chromaticity of most pixels in the region used to estimate the subject color is the same color of the subject itself as the color of the pixel to be estimated.
  • the composition ratio a is almost “1”
  • the composition color is obtained based on the composition ratio a, and therefore the color of the pixel.
  • the color of the subject itself is maintained.
  • the color of the pixel is the background color estimated for the pixel.
  • the composition ratio ⁇ is almost “0”, and when the background is replaced, the color of that pixel is completely changed to another background color based on this composition ratio a. Will be replaced.
  • the composition ratio ⁇ when the background color, the subject color, or the pixel for which the composition ratio is to be estimated is a pixel where the background is seen over a part of the object, the composition ratio ⁇ When the background is replaced, the subject color is combined with another background color to create a natural background replacement image.
  • FIG. 40 is a diagram showing an example of the background replacement image.
  • FIG. 40 is an enlarged view of the same part as area A1 in FIG. 19 in the background replacement image created by replacing the background of the corrected follow light image shown in FIG. 19 with another background. An enlarged view is shown.
  • the background replacement image created by the background replacement image creation unit 733 is an image in which the color of the pixel in the boundary region is replaced with the above-described composite color. As shown in Fig. 40, it is recognized that another substituted background TB is transparent through the hair of the subject P '. In other words, the background created by this background replacement image creation unit 733 The replacement image is an image in which the background is naturally replaced with another background.
  • the brightness differs greatly between the background and the subject in the image.
  • the background and the subject in the corrected backlight image are distinguished. For this reason, when the background of this corrected forward-light image is replaced with another background, a part of the subject is accidentally replaced with the background, or the old background appears in the background replacement image.
  • the background replacement image in which the background is naturally replaced with the desired background can be created by suppressing problems such as the remaining image.
  • the boundary region between the subject region and the background region in the corrected continuous light photographed image is recognized, and when the background is replaced, Is replaced with a composite color in which another background color to be replaced and the subject color are appropriately combined.
  • the subject occupies the corrected backlight image, the subject mask that defines the range, and the range that the background occupies.
  • the background replacement device 700 that creates two masks with the background mask to be defined and uses these two masks to replace the background in the corrected follow light image is illustrated, the present invention is not limited to this. is not.
  • the background replacement device of the present invention for example, creates only the above-mentioned background mask as described below, and performs background replacement in a corrected follow-flash image using only this background mask, etc. It may be.
  • a region excluding the region defined by the background mask is defined based on the corrected follow light image.
  • a non-background mask is created.
  • the area defined by the non-background mask is a combination of the area defined by the subject mask and the boundary area.
  • the background color, the subject color, and the combination ratio of both are estimated.
  • the background color here is estimated by the same method as the estimation method performed by the background color estimation unit 732a shown in FIG. 31, and redundant description of the background color estimation is omitted. In the following, the description will be given mainly focusing on the subject color estimation method.
  • FIG. 41 shows how a search range is set around a pixel in a corrected follow light image when a subject color is estimated for a pixel in an area defined by a non-background mask.
  • a region obtained by combining the region defined by the subject mask Ml ′ force S and the boundary region M3 shown in FIG. 29 is an example of the region defined by the non-background mask M4.
  • FIG. 42 is a diagram illustrating an example of a region used for estimating the subject color for a certain pixel.
  • the region used for estimating the subject color for the pixel G is a region defined by a non-background mask in the corrected continuous-light image, and the above-mentioned A region B3 within the search range T3 ′ set as described above is confirmed.
  • the region B3 used for estimating the subject color for the pixel G is confirmed, the color of the pixel G is first confirmed, and then, the plurality of pixels in the region B3 is described.
  • the subject color for the pixel G is determined by the following search method. Explored.
  • FIG. 43 is a diagram showing a search method when searching for a subject color for a certain pixel in an area defined by a non-background mask in a corrected follow light image.
  • Fig. 43 shows a straight line CL3 that connects the estimated background color C7 and the color C8 of the pixel in the RGB color space for a pixel in the boundary area of the corrected continuous-light image. Has been.
  • the boundary region as described above is included in the region defined by the non-background mask in the corrected follow light image.
  • This boundary area may include a part where the background is visible over a part of the subject, and the color of the pixel in such a part is a composite color that combines the background color and the subject color. It has become. If the color of the pixel for which the subject color is being searched for is such a composite color, the color C8 of the pixel that is the composite color and the background color C7 that is the origin of the color C8 And subject color are the same in the RGB color space.
  • the color C9 arranged on the extended line of the straight line CL3 is searched from among the colors of the plurality of pixels in the region B3.
  • one of the plurality of colors C9 is adopted as the subject color.
  • the region defined by the non-background mask includes pixels having colors other than the subject color, such as pixels having the above-described composite color and pixels having only the background. For this reason, among the plurality of colors C9 described above, it is highly likely that the subject color is the source of the color C8 of the pixel together with the color power background color C7 farthest from the pixel color C8.
  • the background color C7 estimated by the background color estimation unit 732a and the subject color C10 estimated by the subject color estimation unit 732b are obtained.
  • the ratio of the length of the line connecting the background color C7 and the color C8 of the pixel to the length of the line connecting the R GB color space is the pixel color C8 between the background color C7 and the subject color C10.
  • the area defined by the background mask in the corrected follow light image is another background desired by the customer. Is replaced by Next, for all pixels in the area defined by the non-background mask in the corrected continuous-light image, the composite color is obtained by the method described with reference to FIG. 39, and the non-background mask is used. The color of all pixels in the defined area is replaced with the composite color, and the background replacement image is completed.
  • the composition ratio ⁇ is almost “1”, and the background is replaced even when the background is replaced. The color of the subject itself in the pixel is maintained.
  • the composition ratio a is almost “0”, and when the background is replaced, the color of the pixel is Completely replaced with another background color.
  • the background replacement using only the background mask described above with reference to Figs. 41 to 43 is the same as the imaging system 1 described with reference to Figs. 1 to 40 above.
  • the second embodiment differs from the first embodiment in the configuration of the shooting studio in the shooting system and the shooting process performed in the shooting studio.
  • the second embodiment will be described by focusing on the differences from the first embodiment, and duplicate descriptions of other points equivalent to the first embodiment will be omitted.
  • FIG. 44 is a diagram showing a second embodiment of the photographing system of the present invention.
  • FIG. 44 components equivalent to those in FIG. 1 are denoted by the same reference numerals as those in FIG. 1. In the following description with reference to FIG. 44, duplicate descriptions of these components are given. Omitted.
  • the power source 15 for the EL panel 130 is connected to the digital camera 16.
  • the digital camera 16 continuously performs two shootings when the photographer presses the shot button once. At this time, the digital camera 16 first sends a panel lighting instruction signal to the power supply 15 to instruct the power supply 15 to turn on the EL panel 130, and then flashes. A flash instruction signal for instructing the flash light emitting device 12 to emit a flash is transmitted to the light emitting device 12.
  • the flash light emitting device 12 emits a flash in response to the first flash instruction signal, but remains unlit in response to the second flash instruction signal.
  • the power supply 15 is configured to turn on the EL panel 130 when the panel lighting instruction signal is input twice in succession! RU
  • FIG. 45 is a flowchart showing a work flow executed by the imaging system of FIG.
  • FIG. 45 operations equivalent to those in the flowchart of FIG. 3 are denoted by the same reference numerals as those in FIG. 3. In the following description with reference to FIG. 45, duplicate descriptions of these operations are omitted. To do.
  • the flash light emitting device 12 emits a flash in response to a flash instruction signal transmitted from the digital camera 16, and the subject P is shot in a forward light state by the flash (step S201).
  • the power supply 15 turns on the EL panel 130 in response to the second panel lighting instruction signal. Is lit (step S202).
  • the flash light emitting device 12 is turned off, and photography is performed in a state where the EL panel 130 is turned on, that is, in a backlight state by illumination of only the EL panel 130 (step S 203).
  • the shooting studio 50 that performs such shooting performs a plurality of (two in this embodiment) shooting conditions by sequentially illuminating the subject with each of the flash light emitting device 12 and the EL panel 130.
  • This corresponds to an example of an imaging condition creating unit that is created according to the present invention.
  • step S203 When the second shooting is completed by the processing in step S203, the two shot images temporarily stored in the memory in the digital camera 16 are immediately transferred to the personal computer 20. After that, based on these two captured images, a background replacement image is created by the same background replacement processing as in the first embodiment, and is displayed on the display screen 220a. Further, at least one of printing by the printer 30 based on the image data representing the background replacement image and writing of the image data to the output storage medium desired by the customer is executed.
  • the background in the captured image is desired as in the imaging system 1 of the first embodiment.
  • a background replacement image in which the background is naturally replaced can be created.
  • the configuration of the shooting studio, the shooting process performed in the shooting studio, and the process executed by the personal computer operating as the background replacement device are the same as those described above. Partially different from one embodiment. In the following, the description will be made paying attention to the differences from the first embodiment, and duplicate explanations will be omitted for equivalent points.
  • Fig. 46 is a diagram showing a third embodiment of the imaging system of the present invention.
  • FIG. 46 components equivalent to those in the first embodiment shown in FIG. 1 are denoted by the same reference numerals as those in FIG. 1. In the following description with reference to FIG. Duplicate explanation for is omitted.
  • the photographing system 3 shown in FIG. 46 uses a light source in the second embodiment shown in FIG. 44 as a power source for the digital camera and the EL panel.
  • a digital camera 16 that transmits an instruction signal and a power supply that operates in response to a lighting instruction signal 15 Equivalent digital camera and power supply.
  • these digital cameras and power supplies are denoted by the same reference numerals as those in FIG.
  • the flash light emitting device 17 provided in the photographing studio 55 of the photographing system 3 shown in Fig. 46, which is a difference between the first embodiment and the second embodiment, and the present embodiment.
  • the explanation will focus on EL panel 180.
  • the EL panel 180 provided in the photographing studio 55, the light emission color of the dispersive EL element 181 housed in the housing 131 is adjusted by the red phosphor powder. For this reason, the color of the EL panel 180 is light red when it is turned off, and is blue when the emission color of the distributed EL element is adjusted to blue when the light is emitted.
  • This EL panel 180 corresponds to an example of the “background panel having a color changing function” according to the present invention.
  • FIG. 47 is a flowchart showing a work flow executed by the imaging system of FIG.
  • FIG. 47 operations equivalent to those in the flowchart of FIG. 3 are denoted by the same reference numerals as those in FIG. 3. In the following description with reference to FIG. 47, duplicate descriptions of these operations are omitted. To do.
  • the subject P is shot twice in succession.
  • the flash light emitting device 17 emits a flash in response to the flash instruction signal transmitted from the digital camera 16.
  • the subject P is photographed in the forward light state by the flash (step S301).
  • the EL panel 180 is turned off, so that the background of the subject P appears light red.
  • the power supply 15 turns on the EL panel 180 in response to the second panel lighting instruction signal (step S302).
  • the flash light emitting device 17 emits a flash also at the time of the second shooting, and this second shooting is performed under the flash and the light from the EL panel 180 (step S303).
  • the flash emitted by the flashlight device 17 is brighter than the light of the EL panel 180, and this second shot is also in the normal light state where the subject P is illuminated from the digital camera 16 side by the high-flash. It will be shooting.
  • the EL panel 180 emits light at this time, the background of the subject P appears in blue with the blue-green color adjusted. That is, two photographed images with different background colors are obtained by the processing of step S301 to step S303 in FIG.
  • the shooting studio 55 that performs shooting as described above changes the color of the EL panel 180 to create a plurality of (two in this embodiment) shooting conditions. ⁇ Equivalent to an example of a shooting condition creation unit.
  • the image correction process performed in step S304 is the same as the image correction process performed on the photographed image in the first embodiment, and it corrects trapezoidal distortion and removes unnecessary portions from the photographed image.
  • Color correction processing such as the creation of an effective image by red, eye correction, and correction of the color of the entire image to a preferred color.
  • one of the two photographed images to be corrected is a backlight photographed image in which the subject area is biased to the shadow side. Correction processing is excluded.
  • the two captured images to be subjected to the image correction processing are both forward-lighted captured images, in the process of step S304, these two captured images are processed. Thus, the same image correction processing including the color correction processing is performed.
  • a background replacement image is created based on the two captured images corrected by the processing of step S304 (step S305), and the created background replacement image is output.
  • step S305 the background replacement image creation process performed in step S305, that is, the background replacement image in the present embodiment will be described.
  • FIG. 48 is a diagram illustrating an example of a corrected captured image based on the first shooting
  • FIG. 49 is a diagram illustrating an example of a corrected captured image based on the second shooting. It is.
  • the two photographed images are substantially the same except for the color of the EL panel 180 in the background. That is, in the former corrected photographic image (hereinafter referred to as the first photographic image), the EL panel 180 is turned off, so the background color is light red, and the latter corrected photographic image (second photographic image). In this case, the EL panel 180 is lit, so the background color is blue with blue-green adjusted.
  • the former corrected photographic image hereinafter referred to as the first photographic image
  • the EL panel 180 is turned off, so the background color is light red
  • the latter corrected photographic image second photographic image
  • the EL panel 180 is lit, so the background color is blue with blue-green adjusted.
  • the amount of change in color of each pixel constituting the first captured image with respect to the pixel at the corresponding position in the second captured image is determined.
  • a histogram is created.
  • FIG. 50 is a diagram showing an example of a histogram created by the background replacement image creation process in the third embodiment of the present invention.
  • the amount of change in hue with respect to the pixel at the corresponding position in the second photographed image of each pixel constituting the first photographed image is employed as the amount of color change described above.
  • Fig. 50 the amount of hue change described above for each pixel constituting the first captured image is distributed to a large number of ranges, and how many pixels are distributed for each range is shown in terms of frequency.
  • a histogram H5 is shown. In this hue change histogram H5, the horizontal axis H5-1 represents the amount of hue change, and the vertical axis H5-2 represents frequency.
  • the following two thresholds are calculated based on the two peaks Pk3 and Pk4 in the hue change histogram H5.
  • the first threshold that is the upper limit of the amount of hue change at which the frequency exceeds the predetermined frequency in this peak Pk3.
  • the value Sr3 is calculated.
  • the second threshold value Sr4 which is the lower limit of the hue change amount at which the frequency becomes a predetermined frequency or more, is calculated at the peak Pk4.
  • an initial subject mask is defined that defines a pixel region in the first captured image in which the hue change amount is equal to or less than the first threshold value Sr3.
  • the initial background mask that defines the pixel area whose hue change amount is equal to or greater than the second threshold Sr4 is set.
  • the background replacement image created in this way is displayed on the display screen 220a. Further, the background replacement image is printed on the printer 30 based on the image data representing the background replacement image, and for the output desired by the customer. At least one of the writing of the image data to the storage medium is executed.
  • the background in the captured image is the desired background, as in the imaging system 1 of the first embodiment. It is possible to create a background replacement image that has been naturally replaced.
  • the flash light emitting device 17 is turned off, or the cable connecting the digital camera 11 and the flash light emitting device 17 is disconnected.
  • a simple subject such as illuminating the subject with constant light such as high-intensity illumination light or sunlight, can be used as a preferred subject without the above flash. Can be dealt with.
  • the background colors are similar to each other even when there is no flash, similar to that obtained in the flowchart of FIG. Since two different shot images can be obtained, the background is naturally replaced with the desired background by distinguishing the subject area, the background area, and the boundary area by the method described with reference to FIGS. 48 to 50.
  • a background replacement image can be created.
  • the configuration of the shooting studio, the shooting processing performed in the shooting studio, and the processing executed by the personal computer operating as the background replacement device are the same as those described above. Partially different from one embodiment. In the following, the description will be made paying attention to the differences from the first embodiment, and duplicate explanations will be omitted for equivalent points.
  • FIG. 51 is a diagram showing a fourth embodiment of the imaging system of the present invention.
  • FIG. 51 components equivalent to those in the first embodiment shown in FIG. 1 are denoted by the same reference numerals as those in FIG. 1. In the following description with reference to FIG. Duplicate explanation for is omitted.
  • the photographing system 4 in FIG. 51 is equivalent to the flash light emitting device 17 in the third embodiment shown in FIG. 46 as a flash light emitting device.
  • a flash light emitting device with short charging time is provided.
  • the flash light emitting device is denoted by the same reference numeral as in FIG. 46, and redundant description is omitted.
  • Illumination panel 190 which is provided in photography studio 60 of photography system 4 shown in Fig. 51, which is the difference between both the first embodiment and the third embodiment, and this embodiment.
  • the power supply 81 for the lighting panel 190 and the digital camera 82 will be described below.
  • the shooting studio 60 of the shooting system 4 shown in Fig. 51 includes a lighting panel 190 described later as an example of the lighting device according to the present invention that illuminates the subject P from behind. Furthermore, the photography studio 60 takes two shots for the power supply 81 for the lighting panel 190 and one press of the shirt button, and at the same time, the flashing device 17 is directed to the flashing instruction as described above.
  • a digital camera 82 for transmitting a signal and transmitting a lighting instruction signal for instructing the lighting panel 190 to light toward the power source 81 is provided.
  • the power supply 81 is configured to turn on the lighting panel 190 when the lighting instruction signal is input twice in succession.
  • FIG. 52 shows an internal structure of the illumination panel shown in FIG. [0315]
  • the lighting panel 190 includes a housing 191 having a placement surface 191a on which the subject P is placed and a surface 191b behind the subject P, and a plurality of fluorescent lamps arranged and housed in the housing 191. 192 powers.
  • the two surfaces 191a and 191b of the casing 191 serve as a diffusion plate that diffuses the light from the fluorescent lamp 192 and uniformly illuminates the subject P.
  • four markers 191c are arranged at the four corners of the back surface 191b of the subject P. Since the role played by these four markers 1 91c is the same as the role played by the marker 131c in the first embodiment described above, the duplicate description is omitted.
  • FIG. 51 and FIG. 52 The flow of work performed by the imaging system 4 described with reference to Figs. 51 and 52 will be described. In the following description, the elements shown in FIG. 51 and FIG. 52 will be referred to by using the reference numerals in the respective drawings without particular reference to the figure numbers.
  • FIG. 53 is a flowchart showing a flow of work executed by the imaging system of FIG.
  • the flash light emitting device 17 emits a flash in response to the flash instruction signal transmitted from the digital camera 82, and the subject P is shot in the forward light state by this flash (step S401).
  • the background of the subject P appears dark because the illumination panel 190 is turned off.
  • the power source 15 turns on the lighting panel 190 in response to the second lighting instruction signal (step S402).
  • the flash light-emitting device 17 emits a flash also at the time of the second shooting, and this second shooting is performed under the flash and the light from the illumination panel 190 (step S403).
  • the digital camera 82 side force also illuminates the subject P with a high-intensity flash. It becomes a shadow.
  • the lighting panel 190 emits light at this time, the background of the subject P appears bright. That is, two photographed images with different background brightness are obtained by the processing of step S401 to step S403 in FIG.
  • the shooting studio 60 that performs such shooting changes the brightness of the light that illuminates the subject with the lighting panel 190, and sets a plurality of shooting conditions (two in this embodiment).
  • This is equivalent to an example of the imaging condition creation unit referred to in the present invention.
  • step S104 When two photographed images with different background brightness are obtained, these two photographed images are passed to the 1S personal computer 20 (step S104), and the above third photographed image is transferred to these two photographed images. Similar to the embodiment, an image correction process having exactly the same contents including the color correction process is performed (step S404).
  • a background replacement image is created based on the two captured images corrected by the processing of step S404 (step S405), and the created background replacement image is output.
  • step S405 the background replacement image creation process performed in step S405, that is, the background replacement image in the present embodiment will be described.
  • FIG. 54 is a diagram showing an example of a corrected photographed image based on the first photographing.
  • FIG. 5 is a diagram illustrating an example of a corrected photographed image based on the second photographing.
  • the two photographed images are substantially the same except for the brightness of the lighting panel 190 in the background. That is, in the former corrected photographic image (hereinafter referred to as the first photographic image), the lighting panel 190 is turned off, so the background is dark. In the latter corrected photographic image (referred to as the second photographic image), Since the lighting panel 190 is lit, the background is bright.
  • the brightness change amount of each pixel constituting the first captured image with respect to the pixel at the corresponding position in the second captured image is determined.
  • a histogram is created.
  • FIG. 56 is a diagram showing an example of a histogram created by the background replacement image creation processing in the fourth embodiment of the present invention.
  • the amount of change in brightness described above the amount of change in luminance with respect to the pixel at the corresponding position in the second photographed image of each pixel constituting the first photographed image is employed.
  • Fig. 56 shows a histogram of luminance change that shows the amount of change in the above-mentioned luminance at each pixel making up the first shot image in a number of ranges and how many pixels are assigned to each range in terms of frequency.
  • H6 is shown.
  • the horizontal axis H6-1 represents the luminance change amount
  • the vertical axis H6-2 represents the frequency.
  • the following two thresholds are calculated based on the two peaks Pk5 and Pk6 in the luminance change histogram H6.
  • the first threshold value Sr5 which is the upper limit of the amount of change in luminance at which the frequency is greater than or equal to the predetermined frequency
  • the second threshold value Sr6 which is the lower limit of the amount of change in luminance at which the frequency becomes a predetermined frequency or more, is calculated at this peak Pk6.
  • an initial subject mask is defined that defines a pixel region in the first captured image in which the amount of change in luminance is equal to or less than the first threshold value Sr5.
  • an initial background mask is set that defines a pixel region in which the amount of change in luminance is equal to or greater than the second threshold Sr6.
  • the background replacement image created in this way is displayed on the display screen 220a. Further, the background replacement image is printed on the printer 30 based on the image data representing the background replacement image, and for the output desired by the customer. At least one of the writing of the image data to the storage medium is executed.
  • the background in the captured image is a desired background as in the imaging system 1 of the first embodiment. It is possible to create a background replacement image that has been naturally replaced.
  • a fifth embodiment of the present invention will be described.
  • the configuration of the shooting studio and the process executed by the personal computer operating as a background replacement device are partially different from those in the first embodiment.
  • Fig. 57 is a diagram showing a fifth embodiment of the imaging system of the present invention.
  • FIG. 57 the same components as those in the first embodiment shown in FIG. 1 are denoted by the same reference numerals as those in FIG. 1. In the following description referring to FIG. Duplicate explanation for is omitted.
  • the imaging system 5 in Fig. 57 is provided with an illumination panel equivalent to the illumination panel 190 in the fourth embodiment shown in Fig. 51, unlike the first embodiment shown in Fig. 1.
  • FIG. 57 the lighting panel is denoted by the same reference numeral as in FIG. 51, and redundant description is omitted.
  • the photographing studio 65 of the photographing system 5 shown in FIG. 57 includes a flash light emitting device 12 similar to the first embodiment shown in FIG. Since the flash light emitting device 12 takes time to charge as described above, when the digital camera 11 performs the continuous shooting as described above, the flash light device 12 emits a flash only at the first shooting, and the second time. It remains off during shooting.
  • the power supply 83 for the lighting panel 190 provided in the photographing studio 65 is operated manually.
  • FIG. 58 is a flowchart showing a flow of work executed by the imaging system of FIG.
  • FIG. 58 operations equivalent to those in the flowchart of FIG. 3 are denoted by the same reference numerals as those in FIG. 3. In the following description with reference to FIG. 58, duplicate descriptions of these operations are omitted. To do.
  • step S501 the power supply 83 is operated, a voltage is applied from the power supply 83 to the lighting panel 190, and the lighting panel 190 is turned on (step S501).
  • shooting is performed in a direct light state with a flash light brighter than the illumination panel 190 emitted by the flash light emitting device 12 (step S502), and in a backlight state with only the illumination panel 190 illumination.
  • Shooting is performed continuously.
  • the luminance at the time of light emission of the lighting panel 190 is strong enough to cancel the influence of the flash from the flash light emitting device 12.
  • the background brightness is almost the same and the two shooting images with different subject brightness are different. Is obtained.
  • step S104 When two photographed images, a follow-light photographed image and a backlight photographed image, are obtained by the processing of step S501 to step S503, these two photographed images are passed to the personal computer 20 (step S104).
  • color correction processing such as correcting the hue to a preferred color, is performed.
  • the same image correction processing as that performed for frontlit images Is applied is applied (step S 105).
  • a background replacement image is created based on the two captured images corrected by the processing of step S105 (step S504), and the created background replacement image is output.
  • FIG. 59 is a diagram illustrating an example of a corrected captured image based on the first shooting
  • FIG. 60 is a diagram illustrating an example of a corrected captured image based on the second shooting. It is.
  • the two captured images are substantially the same except for the brightness of the subject P. That is, the former corrected photographic image (hereinafter referred to as the first photographic image) is a photographic image obtained in the following light condition, and therefore the latter corrected photographic image (second Since this is a captured image obtained in a backlit state, the subject in the image is dark.
  • the former corrected photographic image hereinafter referred to as the first photographic image
  • the latter corrected photographic image second Since this is a captured image obtained in a backlit state, the subject in the image is dark.
  • the amount of change in brightness of each pixel constituting the first captured image with respect to the pixel at the corresponding position in the second captured image is determined.
  • a histogram is created.
  • FIG. 61 is a diagram showing an example of a histogram created by the background replacement image creation process in the fifth embodiment of the present invention.
  • the amount of change in luminance with respect to the pixel at the corresponding position in the second captured image of each pixel constituting the first captured image is employed.
  • Fig. 61 the change in the above-mentioned luminance at each pixel composing the first photographed image is divided into a large number of ranges, and a histogram of the luminance change showing how many pixels are distributed for each range by frequency. H7 is shown, and in this luminance change histogram H7, the horizontal axis H7-1 represents the amount of change in luminance, and the vertical axis H7-2 represents the frequency.
  • the following two thresholds are calculated based on the two peaks Pk7 and Pk8 in the luminance change histogram H7. As shown in FIG. 61, from the peak Pk7 on the left side in the figure where the amount of change in luminance is small, the first threshold value Sr7, which is the upper limit of the amount of change in luminance at which the frequency is greater than or equal to the predetermined frequency, is obtained in this peak Pk7. Calculated.
  • a second threshold value Sr8 which is the lower limit of the amount of change in luminance at which the frequency becomes a predetermined frequency or more, is calculated at this peak Pk8.
  • an initial background mask that defines a pixel region in the first captured image in which the amount of change in luminance is equal to or less than the first threshold value Sr7 is set.
  • an initial subject mask that defines a pixel region in which the amount of change in luminance is equal to or greater than the second threshold Sr8 is set.
  • the background replacement image created in this way is displayed on the display screen 220a. Further, the background replacement image is printed on the printer 30 based on the image data representing the background replacement image, and for the output desired by the customer. At least one of the writing of the image data to the storage medium is executed.
  • the background in the captured image is a desired background, as in the imaging system 1 of the first embodiment. It is possible to create a background replacement image that has been naturally replaced.
  • the configuration of the shooting studio, the shooting process performed in the shooting studio, and the process executed by the personal computer operating as the background replacement device are the same as those described above. Partially different from one embodiment. In the following, the description will be made paying attention to the differences from the first embodiment, and duplicate explanations will be omitted for equivalent points.
  • FIG. 62 is a diagram showing the sixth embodiment of the imaging system of the present invention.
  • FIG. 62 components equivalent to those in the first embodiment shown in FIG. 1 are denoted by the same reference numerals as those in FIG. 1. In the following description with reference to FIG. Duplicate explanation for is omitted.
  • the photographing studio 90 includes a flash light emitting device 84 having a polarizing plate 84a for changing the polarization state of the flash light and having a short charging time.
  • the polarizing plate 84a of the flash light emitting device 84 basically changes the flash light into linearly polarized light in the first direction. However, it receives the polarization switching signal described later. When the light is transmitted, the flash is changed to linearly polarized light in a second direction orthogonal to the first direction.
  • the digital camera 85 provided in the shooting studio 90 continuously executes two shootings when the photographer presses the shot button once.
  • the digital camera 85 transmits a flash instruction signal for instructing the main body 84b to emit a flash, every time the photographing is performed, toward the main body 84b of the flash light emitting device 84.
  • a flash instruction signal is transmitted for the second time, first, a polarization switching signal for instructing the polarizing plate 84a to change the polarization state of the flash light is directed to the polarizing plate 84a of the flash light emitting device 84.
  • a flash instruction signal is transmitted.
  • the flash light emitting device 84 emits a flash light polarized in the first direction during the first shooting, and emits a flash light polarized in the second direction during the second shooting.
  • this photography studio 90 has a background panel 86 in which the brightness of reflected light differs depending on the polarization state on the mounting surface 86a on which the subject P is placed and the rear surface 86b of the subject P.
  • four markers 86c are arranged at the four corners of the surface 86b behind the subject P. Since the role played by these four markers 86c is the same as the role played by the marker 131c in the first embodiment described above, a duplicate description is omitted.
  • the flash light emitting device 84 in the present embodiment corresponds to an example of the "flash light emitting device having a function of changing the polarization state of the flash light" according to the present invention
  • the background panel 86 is referred to in the present invention. This corresponds to an example of “a background panel in which the brightness of reflected light varies depending on the polarization state”.
  • FIG. 63 is a flowchart showing a work flow executed by the imaging system of FIG.
  • FIG. 63 operations equivalent to those in the flowchart of FIG. 3 are denoted by the same reference numerals as those in FIG. 3. In the following description with reference to FIG. Is omitted.
  • the work shown in the flowchart of FIG. 63 is performed on the assumption that the subject P, the digital camera 85, and the flash light emitting device 84 are respectively arranged at appropriate positions in the photographing studio 90.
  • the flash light emitting device 84 emits flash according to the flash instruction signal transmitted from the digital camera 85, and the subject P is shot (step S601).
  • the flash is light polarized in the first direction, and the background panel 86 reflects the flash weakly, so the background of the subject P appears dark.
  • the polarizing plate 84a of the flash light emitting device 84 is set so as to change the flash light into the linearly polarized light in the second direction (step S602).
  • step S603 the flash light emitting device 84 emits flash, and the second shooting is performed (step S603).
  • the flash is light polarized in the second direction, and the background panel 86 strongly reflects this flash, so the background of the subject P appears bright. That is, two captured images having different background brightness can be obtained by the processing of step S601 to step S603 in FIG.
  • the shooting studio 90 that performs such shooting is a plurality of (this embodiment, two) flashes (twice in this embodiment) that have different polarization states. This is equivalent to an example of the shooting condition creation unit.
  • step S104 When two photographed images with different background brightness are obtained, these two photographed images are passed to the 1S personal computer 20 (step S104), and the above third photographed image is transferred to these two photographed images. Similarly to the fourth embodiment, the same image correction processing including the above-described color correction processing is performed (step S604).
  • a background replacement image is created based on the two captured images corrected by the processing of step S604 (step S605), and the created background replacement image is output.
  • the background replacement image creation process performed in step S605, that is, the background replacement image in the present embodiment will be described.
  • FIG. 64 is a diagram illustrating an example of a corrected captured image based on the first shooting
  • FIG. 65 is a diagram illustrating an example of a corrected captured image based on the second shooting. It is.
  • the two photographed images are substantially the same except for the brightness of the background panel 86 in the background. That is, in the former corrected photographed image (hereinafter referred to as the first photographed image), the background panel 86 weakly reflects the flashing light at the time of photographing, so the latter corrected photographed image (second photographed image) in which the background is dark. The background panel 86 strongly reflects the flash at the time of shooting, so the background is bright.
  • the brightness change amount of each pixel constituting the first photographed image with respect to the pixel at the corresponding position in the second photographed image is determined.
  • a histogram is created.
  • FIG. 66 is a diagram showing an example of a histogram created by the background replacement image creation processing in the sixth embodiment of the present invention.
  • Fig. 66 shows a histogram of the change in luminance that shows the amount of change in the above-mentioned luminance at each pixel that composes the first image, divided into a number of ranges, and how many pixels are assigned to each range.
  • H8 is shown, and in this luminance change histogram H8, the horizontal axis H8-1 represents the amount of change in luminance, and the vertical axis H8-2 represents the frequency.
  • the following two thresholds are calculated based on the two peaks Pk9 and PklO in the luminance change histogram H8. As shown in FIG. 66, from the peak Pk9 on the left side in the figure where the amount of change in luminance is small, the first threshold value Sr9, which is the upper limit of the amount of change in luminance at which the frequency is equal to or higher than the predetermined frequency, is calculated at this peak Pk9. .
  • a second threshold value SrlO is calculated, which is the lower limit of the amount of change in luminance at which the frequency at this peak PklO exceeds a predetermined frequency.
  • the background replacement image created in this way is displayed on the display screen 220a. Further, the background replacement image is printed on the printer 30 based on the image data representing the background replacement image, and for the output desired by the customer. At least one of the writing of the image data to the storage medium is executed.
  • the background in the captured image is the desired background, as in the imaging system 1 of the first embodiment. It is possible to create a background replacement image that has been naturally replaced.
  • the configuration of the shooting studio is partially different from that of the first embodiment.
  • the following description will be made by paying attention to differences from the first embodiment, and redundant description of equivalent points will be omitted.
  • FIG. 67 is a diagram showing a seventh embodiment of the imaging system of the present invention.
  • FIG. 67 the same components as those in the first embodiment shown in FIG. 1 are denoted by the same reference numerals as those in FIG. 1. In the following description referring to FIG. Duplicate explanation for is omitted.
  • the digital camera 87 and the three flash light emitting devices 88a and 88b provided in the photographing studio 95 of the photographing system 7 shown in Fig. 67, which are the differences between the first embodiment and the present embodiment. , 88c.
  • This photography studio 95 includes three flash light emitting devices 88a, 88b, 88c in which the amount of flash light is variable. These three flash devices 88a, 88b, 88c Connected to the controller 20. Here, the combined power of these three flash light emitting devices 88a, 88b, 88c corresponds to an example of the light emitting device referred to in the present invention.
  • each of the plurality of replacement backgrounds stored in the server 40 is a plurality of replacement backgrounds stored in the server 40 .
  • Light information indicating conditions such as the direction and brightness of light that illuminates the subject is added.
  • optical information corresponds to an example of “optical information” in the present invention.
  • the light information from the right side in the image! / The light information indicating the condition that the subject is illuminated with the light from the right side is added. Also, for example, the evening scene is cloudy
  • the on / off state and light intensity of each of the three flash devices 88a, 88b, 88c are determined.
  • the light emission conditions such as the above are determined so that the conditions represented by the light information given to the determined replacement background can be realized to the maximum.
  • an instruction signal is sent from the personal computer 20 to each flash light emitting device to instruct the flash light to be emitted in the on-Z off state or the light amount indicated by the determined light emission conditions.
  • the digital camera 87 continuously performs two shootings when the photographer presses the shot button once. At this time, the digital camera 87 transmits a flash instruction signal for instructing each flash light emitting device to emit a flash each time shooting is performed.
  • the three flash light emitting devices 88a, 88b, 88c each emit a flash in the on-Z-off state and the light quantity instructed from the personal computer 20 at the first photographing.
  • the first shot can obtain a follow-up shot image in which the subject is illuminated with a flash according to the replacement background. Then, by creating a background replacement image using the follow light image, a natural background replacement image in which a subject illuminated with natural light suitable for the background is reflected can be easily created.
  • the flash light emitting device 12 emits a flash during the first photographing, and the flash light emitting device 12 is turned off during the second photographing. If continuous shooting and backlit shooting are performed in this order, the shooting system 1
  • the imaging system of the present invention is, for example, that continuous-light photography and back-light photography are continuously performed in the reverse order to this order! It may be.
  • Such a photographing system is, for example, in the above embodiment.
  • the instruction signal for instructing the flashlight device to emit a flash is cut off during the first shooting and passed during the second shooting.
  • the cutoff circuit or the like is constructed on the transmission line of the instruction signal that connects the digital camera and the flash light emitting device.
  • the flash light emitting device 12 when one light is emitted, it takes time to charge until it can be emitted next, and when photographing is performed twice in succession,
  • the flash light emitting device 12 that emits a flash only at the time of the first shooting has been described
  • the flash light-emitting device of the present invention is a high-speed flash light-emitting device that, for example, can be recharged in a short time and can emit a flash twice when shooting is performed twice in succession. May be.
  • the above-described blocking circuit for blocking unnecessary instruction signals is required.
  • the digital camera 11 has been described as an example of the photographing apparatus according to the present invention.
  • the photographing apparatus of the present invention is not limited to this, and the photographing apparatus according to the present invention has an image on a film. It may be a film camera or the like for taking pictures.
  • the photographed image on the film is read as image data by a film scanner or the like, for example, and supplied to the personal computer 20 that operates as a background replacement device.
  • the digital camera 11 is connected to the personal computer 20 that operates as a background replacement device, and the captured image power obtained by the digital camera 11 is obtained.
  • the present invention is not limited to this.
  • a photographed image is stored in a small storage medium in a digital camera, and the small storage medium is manually set in a personal computer that operates as a background replacement device. This personal If it is passed to the computer, it may be a fish!
  • the power described by exemplifying the EL panel as an example of the "background panel having the function of changing color” according to the present invention is not limited to this.
  • “Background panel with color-changing function” refers to, for example, multiple types of LEDs with different emission colors and multiple types of light sources with different emission colors, such as multiple types of LEDs with different emission colors and multiple types of fluorescent lamps with different emission colors.
  • the two-dimensional array in which each is uniformly distributed may be a panel light source covered with a diffusion plate that diffuses the light of each light source. This panel light source changes its color by switching the type of light source to emit light.
  • the illumination device As an example of the illumination device according to the present invention, an EL panel using a distributed EL element as a light source and an illumination panel using a fluorescent lamp as a light source are illustrated, but the present invention is not limited thereto.
  • the lighting device of the present invention may be, for example, an LED or a cold cathode tube as a light source.
  • the background replacement device 700 for creating a histogram for the G value of the B values may create a histogram for the R value, or may create a histogram for the B value, or the histogram for the luminance of each pixel. It may be one that creates a ram.
  • the color of each pixel constituting one captured image of two captured images with respect to the pixel at the corresponding position in the other captured image is not limited to this.
  • the background replacement device of the present invention is a histogram for the amount of change in color of each pixel constituting one of the two captured images with respect to the pixel at the corresponding position in the other captured image. It can be a histogram for the amount of change in the R value, a histogram for the amount of change in the G value, or the amount of change in the B value!
  • the background replacement device provides an R value as a histogram of the amount of change in brightness of each pixel constituting one of the two photographed images with respect to the pixel at the corresponding position in the other photographed image.
  • It can be used to create a histogram based on the amount of change in G, or it can be used to create a histogram about the amount of change in G value, or the amount of change in B value !, It may be a thing to make all histograms!

Abstract

  被写体を撮影して撮影画像を取得し、その撮影画像における背景が所望の背景に自然に置換された背景置換画像を作成することができる撮影システムを提供する。被写体を撮影して撮影画像を取得するデジタルカメラ11と、被写体に向けて閃光を発する閃光発光装置12と、被写体を、その被写体を挟んでデジタルカメラ11とは反対側に位置する面からの光で照らすELパネル130と、閃光発光装置12およびELパネル130によって作られる複数の撮影光条件それぞれの下でデジタルカメラ11によって共通の被写体が撮影されて得られた複数の撮影画像を取得し、これら複数の撮影画像に基づいて、撮影画像中の被写体と背景とを区別し、その背景を別の背景に置換する背景置換装置として動作するパーソナルコンピュータ20とを備えた。

Description

明 細 書
撮影システム
技術分野
[0001] 本発明は、被写体を撮影して撮影画像を取得し、その撮影画像中の背景を別の背 景に置換して背景置換画像を作成する撮影システムに関する。
背景技術
[0002] 従来、写真館等では、背景幕を使った撮影が行なわれて 、る。しかし、このような撮 影は、十分に背景を作り出すために大きな背景幕が使われ、広い撮影スペースを必 要とする。また、背景幕の交換等にも手間がかかり、結果的に撮影コストが高くなる。
[0003] そこで、もっと手軽に撮影を楽しむことができるように、従来のような大きな背景幕や 広い撮影スペースが不要な、小型の撮影システムの開発が望まれている。このような 小型の撮影システムでは、上記のような背景幕の替りに、何らかの仮の背景の前で 撮影が行なわれることとなるため、撮影で得られた撮影画像に対して、撮影画像中の 背景を、顧客が所望する背景と差替えるという背景置換処理を適用することが考えら れる。
[0004] このような背景置換処理に関する技術の一例として、例えば、青色等に塗られた背 景パネル等を被写体の背後に配置して撮影を行な ヽ、その撮影で得られた撮影画 像において、背景パネルの色と同色の部分と、異なる色の部分とを、それぞれ撮影 画像中の背景と被写体として区別し、撮影画像中の背景に区別された部分を所望の 背景に置換するクロマキ一処理と呼ばれる処理が知られている。
[0005] このクロマキ一処理では、撮影画像中の背景パネル上に被写体の影が写っている と、この影が、被写体と背景との区別を妨げてしまうことがある。そこで、クロマキー処 理の対象となる撮影画像を撮影する際には、背景として、面発光する背景パネルを 用い、背景パネル上の被写体の影が、この背景パネルが発する光で打ち消された状 態で撮影を行なうという技術が提案されている (例えば、特許文献 1参照。 ) oまた、こ の特許文献 1では、クロマキ一処理において、被写体として区別された部分と所望の 背景とを合成する際には、被写体として区別された部分の色調を、その所望の背景 の色調に応じた色調に調整することで、その所望の背景の中に被写体が自然に溶け 込んで見える合成画像を作成すると!/、う処理も提案されて!、る。
[0006] また、例えば、屋外等といった、被写体の背後が開けた場所で、被写体に向けた照 明を点灯した状態と、その照明を消灯した状態との 2つの照明条件それぞれの下で 撮影を行なって 2つの撮影画像を取得し、これら 2つの撮影画像において、互いに輝 度が異なっている部分と輝度が同等な部分とを、それぞれ撮影画像中の被写体と背 景として区別し、撮影画像中の背景に区別された部分を所望の背景に置換するとい う技術も知られている(例えば、特許文献 2参照。 )0
特許文献 1 :特開 2000— 224410号公報 (第 3— 10頁、図 3)
特許文献 2:特開平 10— 210340号公報 (第 2— 3頁、図 1)
[0007] 上記のように撮影画像中の背景を所望の背景と置換するためには、撮影によって 得た撮影画像中の被写体と背景とを良好に区別する必要がある。し力しながら、上記 の特許文献 1の技術や、一般的なクロマキ一処理では、撮影画像中の被写体に背景 パネルと同じ色の箇所があると、その箇所が背景であると誤認され、被写体の一部ま でが、上記の所望の背景に置換された不自然な背景置換画像ができてしまう恐れが ある。
[0008] 一方、上記の特許文献 2の技術では、撮影画像中の輝度に基づ!/ヽて被写体と背景 との区別が行なわれるので、被写体に背景と同じ色の箇所があつたとしてもその箇所 が背景であると誤認されてしまう恐れは解消される。し力しながら、写真館等で手軽に 撮影を楽しむことができるような、望ましい小型の撮影システムでは、被写体の背後 に、背景パネル等の撮影機材が置かれることは避けられず、このような小型の撮影シ ステムに特許文献 2の技術を適用すると、被写体に当てた照明がこれらの撮影機材 で反射されてしまう。その結果、特許文献 2の技術で得られる 2つの撮影画像におい て、被写体以外の部分でも輝度が互いに異なる可能性が生じ、背景の一部が被写 体であると誤認され、背景の一部が置換から洩れた不自然な背景置換画像ができて しまう恐れがある。
[0009] また、例えば、人物が写っている撮影画像では、その人物の頭部と背景との境界に おいて、頭髪越しに背景が見えていることがある。また、その人物が着ている服に、例 えば半透明の布が使われている場合には、その人物と背景との境界において、半透 明の布を通して背景が見えていることがある。このように、撮影画像における被写体と 背景との境界には、被写体と背景とが区別し難い中間的な部分が含まれている場合 力 Sしばしばある。例えば、このような中間的な部分が無理に背景に区別され、所望の 背景に置換されてしまうと、被写体の一部が欠けた不自然な背景置換画像が出来上 がってしまう。また、このような中間的な部分が無理に被写体に区別されると、この中 間的な部分に古い背景が残った不自然な背景置換画像が出来上がってしまう。
[0010] 本発明は、上記事情に鑑み、被写体を撮影して撮影画像を取得し、その撮影画像 における背景が所望の背景に自然に置換された背景置換画像を作成することができ る撮影システムを提供することを目的とする。
発明の開示
[0011] 上記目的を達成する本発明の第 1の撮影システムは、被写体を撮影して撮影画像 を取得する撮影装置と、
上記被写体に向けて閃光を発する閃光発光装置と、
上記被写体を、その被写体を挟んで上記撮影装置とは反対側に位置する面からの 光で照らす照明装置と、
上記閃光発光装置および上記照明装置によって作られる複数の撮影光条件それ ぞれの下で上記撮影装置によって共通の被写体が撮影されて得られた複数の撮影 画像を取得し、その撮影画像に基づいて、撮影画像中の被写体と背景とを区別し、 その背景を別の背景に置換する背景置換装置とを備えたことを特徴とする。
[0012] 上述した背景置換画像を作成するためには、その背景置換画像の元になる、被写 体が写っている撮影画像が必要である。しかし、そのような撮影画像は、被写体がき れいに写ることに主眼が置かれた撮影光条件の下で撮影されたものであるため、そ の撮影画像中の被写体と背景とを、その撮影画像自体に基づ ヽて互いに誤認するこ となく区別することが困難であることが多い。そこで、観賞者にとって自然に見える背 景置換画像を作成するためには、被写体力 Sきれいに写っている撮影画像を含む、互 いに異なる複数の撮影光条件それぞれの下で撮影された複数の撮影画像がある方 が望ましい。また、複数の撮影光条件は、それぞれ、例えば順光状態あるいは逆光 状態等と 、つた極端な条件であることが望ま 、。
[0013] 本発明の第 1の撮影システムによれば、上記閃光発光装置と上記照明装置との 2 つの光源によって、例えば、被写体を撮影装置側から照らす順光状態や、被写体を 撮影装置とは反対側から照らす逆光状態等と!ヽつた様々な極端な撮影光条件を容 易に作り出すことができる。つまり、本発明の第 1の撮影システムによれば、観賞者に とって自然に見える背景置換画像を作成するために有効な複数の撮影画像を容易 に得ることができ、それらの撮影画像を用いて、背景が所望の背景に自然に置換さ れた背景置換画像を作成することができる。
[0014] ここで、本発明の第 1の撮影システムにおいて、「上記撮影装置が、上記被写体を、 所定時間内に複数回撮影することで上記複数の撮影画像を得るものである」 t 、う形 態は好ましい形態である。
[0015] 本発明の第 1の撮影システムでは、上記の複数の撮影画像にぉ 、て、被写体の位 置やポーズが互いに異なってしまっては、撮影画像中の被写体と背景との区別が困 難となってしまう。上記の好ましい形態の撮影システムによれば、静物以外の、例え ば人物や動物等と 、つた撮影中に動 、てしまう可能性のある被写体にっ 、て、所定 時間内に複数回撮影する、つまり連写することにより、被写体の位置やポーズが同一 の複数の撮影画像を得ることができる。
[0016] また、本発明の第 1の撮影システムにおいて、「上記照明装置が、可撓性の発光シ ートで上記被写体を照らすものである」 、う形態も好ま 、形態である。
[0017] このような発光シートは、被写体の背景として設置することが容易なので、このような 発光シートを用いれば、本発明の第 1の撮影システムを容易に構築することができる
[0018] また、本発明の第 1の撮影システムにおいて、「上記照明装置が、上記被写体を挟 んで上記撮影装置とは反対側からその被写体の下側まで延びた発光シートで、その 被写体を照らすものである」 、う形態も好ま 、。
[0019] この好ま 、形態の撮影システムによれば、被写体を、背後から下側に至る広 ヽ範 囲から照らすことができるので、被写体全体を捉えた撮影画像につ!、てもその被写 体と背景とを区別し背景を置換することができる。 [0020] また、本発明の第 1の撮影システムは、「上記照明装置が、分散型エレクトロルミネ センス素子で上記被写体を照らすものである」 t ヽぅ形態であっても良 ヽ。
[0021] 上記分散型エレクトロルミネセンス素子は、可撓性でシート形状の発光体であり、上 記照明装置の光源として非常に適している。
[0022] また、本発明の第 1の撮影システムにおいて、「上記照明装置が、上記面の範囲を 示すマーカを有するものである」 t 、う形態も好ま 、形態である。
[0023] この好ましい形態の撮影システムによれば、撮影画像中のマーカに基づいて、撮 影装置と被写体との位置関係によって生じる、撮影画像の形状の歪みを補正するこ とができる。また、撮影画像中のマーカが示す範囲内の画像のみを有効な画像とし て取り出すと!、うような画像処理を行なうことで、撮影画像の端などに写りこんだ不要 物を除去することができる。
[0024] また、本発明の第 1の撮影システムにおいて、「上記照明装置が、青から緑の間の 色の光で上記被写体を照らすものである」 t 、う形態も好ま 、形態である。
[0025] この好ましい形態の撮影システムによれば、青力 緑の間の色の光、即ち、発光波 長が 400〜530nmの光で上記被写体が照らされ、背景が青力も緑の間の色となつ た撮影画像が得られる。ここで、青力も緑の間の色は、人物の肌の色の補色であるた め、この好ましい形態の撮影システムによれば、人物を被写体として撮影した際等に 、撮影画像中の被写体と背景とを高い確度で区別することができる。また、補色であ ることから、被写体と背景との境界付近の画素に対する、後述するような、被写体色と 背景色との推定と 、う処理を高 、精度で行なうことができる。
[0026] また、本発明の第 1の撮影システムにおいて、「上記照明装置が、上記閃光発光装 置が発する閃光の輝度以下の輝度の光で上記被写体を照らすものである」という形 態も好ましい形態である。
[0027] この好ましい形態の撮影システムによれば、上記閃光発光装置が閃光を発したとき には、上記照明装置の有無に関わらず、上記被写体が上記の閃光による順光状態 で撮影され、好ま 、品質の撮影画像を得ることができる。
[0028] また、本発明の第 1の撮影システムは、「上記閃光発光装置が、一度閃光を発する と、次に閃光を発するためには所定の準備時間を要するものであり、 上記撮影装置が、上記被写体を、上記準備時間内に複数回撮影することで上記複 数の撮影画像を得るものである」 t 、う形態であっても良 、。
[0029] このような形態の撮影装置によれば、上記撮影装置での複数回の撮影の際に上記 閃光発光装置を 1回だけ発光させることができ、これにより、自然に見える背景置換 画像を作成するために有効な、例えば順光状態と逆光状態等と!ヽつた極端に異なる 複数条件下で撮影された複数の撮影画像を容易に得ることができる。
[0030] また、本発明の第 1の撮影システムにおいて、「上記照明装置が、上記面からの光 を透過させるカラーフィルタを備えたものである」 t ヽぅ形態や、
「上記照明装置が、上記面からの光を透過させる、その光の色と同じ色のカラーフィ ルタを備えたものである」 t 、う形態は好ま 、形態である。
[0031] これらの好ま U、形態の撮影システムによれば、撮影画像中の主たる背景色は、上 記閃光発光装置の閃光による照明の有無によらず上記カラーフィルタの色となる。そ のため、その閃光とは明確に色が異なるカラーフィルタを用いること等により、例えば 、撮影画像中の被写体に閃光の色が写り込んでしまったような場合であっても、撮影 画像中の被写体と背景とを一層確実に区別することができる。また、後者の形態では 、上記面力 の光に対する上記カラーフィルタによる光量の減衰を抑えることができる
[0032] また、本発明の第 1の撮影システムにおいて、「上記照明装置が、上記被写体側か ら上記面に向かう光の反射を防止する反射防止膜を備えたものである」という形態も 好ましい形態である。
[0033] この好ましい形態の撮影システムによれば、上記反射防止膜によって上記面にお ける上記閃光の反射を防止することにより、上記被写体と上記面との双方がその閃 光を反射して撮影画像中にぉ ヽてその閃光の色と ヽぅ同色に発色してしまうことが確 実に回避される。これにより、撮影画像中の被写体と背景とを一層確実に区別するこ とがでさる。
[0034] また、本発明の第 1の撮影システムにおいて、「上記背景置換装置が、上記撮影画 像における上記面の範囲を、その面からの光の有無によって認識し、その範囲内の 画像部分を使って撮影画像中の被写体と背景とを区別するものである」という形態も 好ましい。
[0035] この好ましい形態の撮影システムによれば、撮影画像中の上記画像部分のみを有 効な画像として取り出すと 、うような画像処理を行なうことで、撮影画像の端などに写 りこんだ不要物を除去することができる。
[0036] 上記目的を達成する本発明の第 2の撮影システムは、被写体を撮影して撮影画像 を取得する撮影装置と、
光に関する複数の撮影条件を作る撮影条件作成部と、
上記撮影条件作成部で作成された複数の撮影条件それぞれの下で、上記撮影装 置によって共通の被写体が撮影されて得られた複数の撮影画像を取得し、その撮影 画像に基づいて、撮影画像中の被写体領域と背景領域と境界領域とを区別し、その 区別した 3つの領域に基づいて撮影画像中の背景を別の背景と置換する背景置換 装置とを備えたことを特徴とする。
[0037] 本発明の第 2の撮影システムによれば、上記撮影条件作成部によって、例えば、被 写体を撮影装置側力 照らす順光状態や、被写体を撮影装置とは反対側力 照ら す逆光状態等といった、光に関する複数の撮影条件を作り出し、これら複数の撮影 条件それぞれの下で得られる複数の撮影画像に基づいて撮影画像中の被写体領 域と背景領域と境界領域とを区別することができる。これにより、例えば人物の頭髪 越しに背景が見えている部分等といった、被写体とも背景とも区別し難い部分が、被 写体領域や背景領域とは別の境界領域に区別される。そして、その境界領域につい ては、境界領域用の適切な置換処理を施すことにより、観賞者にとって自然に見える 背景置換画像を作成することができる。つまり、本発明の第 2の撮影システムによれ ば、被写体を撮影して撮影画像を取得し、その撮影画像における背景が所望の背景 に自然に置換された背景置換画像を作成することができる。
[0038] ここで、本発明の第 2の撮影システムにおいて、「上記撮影条件作成部は、上記被 写体の明るさと、上記被写体を挟んで上記撮影装置とは反対側に位置する背景の 明るさとの相違の程度を変更して上記複数の撮影条件を作成するものであり、 上記背景置換装置が、上記被写体領域と上記背景領域と上記境界領域とを、上記 複数の撮影画像の相互間における明るさの変化量に基づいて区別するものである」 t 、う形態も好ま 、形態である。
[0039] ここで、上記にいう「上記被写体の明るさと、上記被写体を挟んで上記撮影装置と は反対側に位置する背景の明るさとの相違の程度」とは、上記被写体の明るさと上記 背景の明るさとの差であっても良ぐあるいは、上記被写体の明るさと上記背景の明 るさとの比であっても良い。
[0040] この好ましい形態の撮影システムによれば、上記撮影条件作成部によって、例えば 、被写体を照らす照明の明るさを変更したり、背景自体を発光させてその背景自体の 明るさを変更したりする等というような方法により、この撮影システム内における、被写 体の明るさと背景の明るさとの差や比等といった相違の程度を変更して、上記複数の 撮影条件が作成される。そして、この好ましい形態の撮影システムによれば、上記被 写体と上記背景との明るさの相違の程度が互いに異なる複数の撮影条件それぞれ の下で得られる複数の撮影画像において、互いに明るさが同等な部分と、互いに明 るさが大きく異なる部分と、互いに明るさが中程度に異なる部分とを区別することで、 この撮影画像中の被写体領域と背景領域と境界領域とを適確に区別することができ る。
[0041] また、本発明の第 2の撮影システムにお 、て、「上記撮影条件作成部は、上記被写 体の明るさと、上記被写体を挟んで上記撮影装置とは反対側に位置する背景の明る さとの相違の程度を変更して上記複数の撮影条件を作成するものであり、
上記背景置換装置が、上記被写体領域と上記背景領域と上記境界領域とを、上記 被写体と上記背景との明るさの相違に基づいて区別するものである」という形態も好 ましい形態である。
[0042] この好ま 、形態の撮影システムによれば、例えば、被写体と背景との明るさの相 違の程度が極端に大きいという撮影条件を作成し、その撮影条件の下で得られる撮 影画像を、相対的に明るい領域と、相対的に暗い領域と、中間的な明るさの領域とに 区別することで、撮影画像中の被写体領域と背景領域と境界領域とを適確に区別す ることがでさる。
[0043] 以上では、上記被写体の明るさと、上記被写体を挟んで上記撮影装置とは反対側 に位置する背景の明るさとの相違の程度を変更して上記複数の撮影条件を作成す る撮影条件作成部を備えた 2つの形態について説明したが、以下では、これら 2つの 形態を、「明るさ変更型の撮影システム」と総称する。
[0044] 本発明の第 2の撮影システムにおいて、「前記撮影条件作成部が、前記被写体を 挟んで前記撮影装置とは反対側に位置する面からの光で前記被写体を照らす照明 装置を有し、その照明装置で該被写体を照らす光の明るさを変更して前記複数の撮 影条件を作成するものであり、
前記背景置換装置が、前記被写体領域と前記背景領域と前記境界領域とを、前記 複数の撮影画像の相互間における明るさの変化量、および前記被写体と前記背景と の明るさの相違のうち少なくとも一方に基づいて区別するものである」という形態は、「 明るさ変更型の撮影システム」の一例である。
[0045] この形態の撮影システムによれば、上記照明装置が背景の明るさを変更する役割 を果たし、この照明装置で背景の明るさを変更することにより、被写体と背景との明る さの相違の程度が互いに異なる複数の撮影条件を小空間で容易に作成することが できる。
[0046] また、本発明の第 2の撮影システムにお 、て、「上記撮影条件作成部が、上記被写 体を上記撮影装置側から閃光で照らす閃光発光装置と、上記被写体を挟んで上記 撮影装置とは反対側に位置する面からの光で上記被写体を照らす照明装置とを有 し、上記被写体をその閃光発光装置およびその照明装置のそれぞれで順次に照ら して上記複数の撮影条件を作成するものであり、
上記背景置換装置が、上記被写体領域と上記背景領域と上記境界領域とを、上記 複数の撮影画像の相互間における明るさの変化量、および上記被写体と上記背景と の明るさの相違のうち少なくとも一方に基づいて区別するものである」という形態、お よび、
「上記撮影条件作成部が、上記被写体を上記撮影装置側から閃光で照らす閃光 発光装置と、上記被写体を挟んで上記撮影装置とは反対側に位置する面からの光 で上記被写体を照らす照明装置とを有し、その照明装置による照明の定常的な存在 と、その閃光発光装置の閃光による照明の有無とによって上記複数の撮影条件を作 成するものであり、 上記背景置換装置が、上記被写体領域と上記背景領域と上記境界領域とを、上記 複数の撮影画像の相互間における明るさの変化量、および上記被写体と上記背景と の明るさの相違のうち少なくとも一方に基づいて区別するものである」という形態も、「 明るさ変更型の撮影システム」の一例である。
[0047] これらの形態の撮影システムでは、上記閃光発光装置が被写体の明るさを変更す る役割を果たし、上記照明装置が背景の明るさを変更する役割を果たす。前者の形 態の撮影システムによれば、被写体を上記閃光発光装置および上記照明装置のそ れぞれで順次に照らして被写体と背景との双方の明るさを変更することにより、被写 体と背景との明るさの相違の程度が互いに異なる複数の撮影条件を作成することが できる。また、後者の形態の撮影システムによれば、上記照明装置による照明の定常 的な存在によって背景の明るさを維持しつつ、上記閃光発光装置の閃光による照明 の有無によって被写体の明るさを変更することにより、被写体と背景との明るさの相違 の程度が互いに異なる複数の撮影条件を作成することができる。
[0048] また、本発明の第 2の撮影システムにお 、て、「上記撮影条件作成部が、上記被写 体を上記撮影装置側から閃光で照らす、その閃光の偏光状態を変える機能を持った 閃光発光装置と、上記被写体を挟んで上記撮影装置とは反対側に位置する、偏光 状態の違いによって反射光の明るさが異なる背景パネルとを有し、その閃光発光装 置による、互いに偏光状態が異なる複数回の閃光によって上記複数の撮影条件を 作成するものであり、
上記背景置換装置が、上記被写体領域と上記背景領域と上記境界領域とを、上記 複数の撮影画像の相互間における明るさの変化量、および上記被写体と上記背景と の明るさの相違のうち少なくとも一方に基づいて区別するものである」という形態も、「 明るさ変更型の撮影システム」の一例である。
[0049] この形態の撮影システムでは、上記閃光発光装置と上記背景パネルとの双方が、 背景の明るさを変更する役割を果たす。この形態の撮影システムによれば、上記閃 光発光装置が、互いに偏光状態が異なる複数回の閃光を発し、上記背景パネルに おける反射光の明るさが、各閃光の偏光状態に応じて変わることにより、背景の明る さが変更される。これにより、被写体と背景との明るさの相違の程度が互いに異なる 複数の撮影条件を作成することができる。
[0050] また、本発明の第 2の撮影システムにお 、て、「上記撮影条件作成部は、上記被写 体を挟んで上記撮影装置とは反対側に位置する背景の色を変更して上記複数の撮 影条件を作成するものであり、
上記背景置換装置が、上記被写体領域と上記背景領域と上記境界領域とを、上記 複数の撮影画像の相互間における色の変化量に基づいて区別するものである」とい う形態は好まし 、形態である。
[0051] この好ましい形態の撮影システムによれば、上記背景の色が互いに異なる複数の 撮影条件それぞれの下で得られる複数の撮影画像において、互いに色が同等な部 分と、互いに色が大きく異なる部分と、互いに色が中程度に異なる部分とを区別する ことで、この撮影画像中の被写体領域と背景領域と境界領域とを適確に区別すること ができる。
[0052] また、本発明の第 2の撮影システムにお 、て、「前記撮影条件作成部が、前記被写 体を挟んで前記撮影装置とは反対側に位置する、色が変わる機能を持った背景パ ネルを有し、その背景パネルの色を変更して前記複数の撮影条件を作成するもので あり、
前記背景置換装置が、前記被写体領域と前記背景領域と前記境界領域とを、前記 複数の撮影画像の相互間における色の変化量に基づいて区別するものである」とい う形態は、上記背景の色が互いに異なる複数の撮影条件それぞれの下で、複数の 撮影画像を得る撮影システムの典型的な例である。
[0053] この形態の撮影システムによれば、上記背景パネルによって、小空間内で複数の 望ま ヽ撮影条件を容易に作ることができる。
[0054] また、本発明の第 2の撮影システムにお 、て、「上記撮影条件作成部が、上記被写 体を上記撮影装置側から閃光で照らす閃光発光装置と、上記被写体を挟んで上記 撮影装置とは反対側に位置する面からの、上記閃光の輝度以下の輝度の光で上記 被写体を照らす照明装置とを有し、その照明装置による照明の定常的な存在と、そ の閃光発光装置の閃光による照明の有無とによって上記複数の撮影条件を作成す るものであり、 上記撮影装置が、上記閃光発光装置の閃光による照明が無いという撮影条件の下 で撮影を行なう時には、その閃光発光装置の閃光による照明が有るという撮影条件 の下で撮影を行なう時よりも、光に対する感度を上げて撮影を行なうものであり、 上記背景置換装置が、上記被写体領域と上記背景領域と上記境界領域とを、上記 複数の撮影画像の相互間における明るさの変化量、および上記被写体と上記背景と の明るさの相違のうち少なくとも一方に基づいて区別するものである」という形態は好 ましい形態である。
[0055] 上記閃光による順光状態での撮影では、例えば、上記照明装置による定常的な照 明に比べて光量が圧倒的に多 、閃光で被写体を照らすことにより、被写体へのその 定常的な照明の写り込みを回避することができる。そのような撮影では、上記撮影装 置における光に対する感度は、閃光の光量に応じて低めの感度である必要があるが 、その低めの感度のままでは、上記定常的な照明のみによる逆光状態での撮影の際 に感度不足となってしまう。上記の好ましい形態の撮影システムによれば、上記閃光 の有無に応じて上記撮影装置の光に対する感度が適切に切り換えられるので、上記 のような順光状態および逆光状態それぞれについて適切な感度での撮影が可能と なる。
[0056] また、本発明の第 2の撮影システムにおいて、「上記背景置換装置が、上記別の背 景として、被写体を照らす光の条件を表わす光情報が付与された背景を用いて、上 記撮影画像中の背景を置換するものであり、
上記撮影条件作成部が、上記被写体を上記撮影装置側から、互いに異なる複数 の発光条件のうち、上記別の背景に付与された光情報が表わす条件に相当する発 光条件の光で照らす発光装置を有し、その発光装置による照明を上記複数の撮影 条件のうちの少なくとも 1つの撮影条件で用いるものである」という形態も好ましい形 態である。
[0057] 例えば、置換用の背景が画像中で右側力も光が差して 、る画像である場合に、被 写体が正面や左側力も照らされて写って 、ては置換後の画像は不自然なものとなつ てしまう。また、例えば、置換用の背景が夕景ゃ曇天等といった暗い画像である場合 に、被写体が明るい光で照らされて写っていては置換後の画像は不自然なものとな つてしまう。上記の好ましい形態の撮影システムによれば、上記発光装置によって置 換用の背景に応じた方向や明るさ等といった適切な発光条件の光で被写体を照らす ことができるので、置換後の画像を一層自然な画像とすることができる。
[0058] 以上、説明したように、本発明によれば、被写体を撮影して撮影画像を取得し、そ の撮影画像における背景が所望の背景に自然に置換された背景置換画像を作成す ることができる撮影システムを提供することができる。
図面の簡単な説明
[0059] [図 1]本発明の撮影システムの一実施形態を示す図である。
[図 2]分散型エレクトロルミネセンス素子を使ったタイプの照明装置の別例を示す図 である。
[図 3]図 1の撮影システムで実行される処理の流れを示すフローチャートである。
[図 4]順光状態における撮影と逆光状態における撮影との別例を示す図である。
[図 5]図 1に示すパーソナルコンピュータのハードウェア構成図である。
[図 6]で図 1および図 5に示すパーソナルコンピュータを、本発明にいう背景置換装置 の一例として動作させるための背景置換プログラムが記憶された CD— ROMを示す 概念図ある。
[図 7]図 6に示す背景置換プログラムが図 1および図 3に示すパーソナルコンピュータ にインストールされ、このパーソナルコンピュータが本発明に 、う背景置換装置の一 例として動作するときの機能を表わす機能ブロック図である。
[図 8]図 7に 1つのブロックで示す画像補正部の詳細を示す図である。
[図 9]台形歪みが生じた順光撮影画像の一例を示す模式図である。
[図 10]図 9の順光撮影画像における台形歪みが補正された状態を示す模式図である
[図 11]図 10に示す、台形歪みが補正された順光撮影画像に基づいて作成された有 効画像を示す模式図である。
[図 12]図 8の画像補正部によって画像補正処理が施された、補正済みの逆光撮影画 像を示す模式図である。
[図 13]画像補正部の別例を示す図である。 [図 14]図 13に 1つのブロックで示す有効画像作成部 723 'の詳細を示す図である。
[図 15]有効画像の作成に使われる逆光撮影画像の一例を示す図である。
[図 16]図 15に示す逆光撮影画像が拡大された状態を示す図である。
[図 17]拡大された逆光撮影画像を構成する各画素の明るさについてのヒストグラムの 一例を示す図である。
[図 18]図 14の 2値ィ匕部 723c'によって 2値ィ匕処理が施された逆光撮影画像を示す図 である。
圆 19]補正済みの順光撮影画像の一例を示す図である。
[図 20]補正済みの逆光撮影画像の一例を示す図である。
[図 21]図 19中のエリア A1の拡大図である。
[図 22]図 20中のエリア A2の拡大図である。
[図 23]図 7に 1つのブロックで示す置換処理部の詳細を示す図である。
[図 24]図 23に 1つのブロックで示すマスク作成部の詳細を示す図である。
[図 25]補正済みの逆光撮影画像を構成する各画素の明るさについてのヒストグラム の様々な例を示す図である。
[図 26]図 22に示す逆光撮影画像の拡大図において、初期被写体マスクに設定され た領域と初期背景マスクに設定された領域を示す図である。
圆 27]図 26に示す初期被写体マスクと初期背景マスクとを示す図である。
圆 28]初期被写体マスクと初期背景マスクとを、図 19に示す補正済みの順光撮影画 像全体に重ねて示した図である。
圆 29]図 27に示す初期被写体マスクと初期背景マスクとが、それぞれ境界領域から 離れる方向に縮小される様子を示す図である。
[図 30]最終的に完成された被写体マスクと背景マスクとを、図 19に示す補正済みの 順光撮影画像全体に重ねて示した図である。
[図 31]図 23に 1つのブロックで示す色推定部の詳細を示す図である。
[図 32]図 31に 1つのブロックで示す背景色推定部の詳細を示す図である。
圆 33]ある画素について背景色を推定する際に、その画素を中心に探索範囲が設 定される様子を示す図である。 [図 34]ある画素につ 、て背景色を推定するために用いられる領域の一例を示す図で ある。
[図 35]図 31に 1つのブロックで示す被写体色推定部の詳細を示す図である。
圆 36]ある画素について被写体色を推定する際に、その画素を中心に探索範囲が 設定される様子を示す図である。
[図 37]ある画素につ 、て被写体色を推定するために用いられる領域の一例を示す図 である。
[図 38]補正済みの順光撮影画像における境界領域内のある画素について被写体色 を探索する際の探索方法を示す図である。
[図 39]補正済みの順光撮影画像における境界領域内のある画素について合成色が 求められる様子を示す図である。
圆 40]背景置換画像の一例を示す図である。
[図 41]補正済みの順光撮影画像にぉ 、て、非背景マスクで定義される領域内のある 画素について被写体色を推定する際に、その画素を中心に探索範囲が設定される 様子を示す図である。
[図 42]ある画素につ 、て被写体色を推定するために用いられる領域の一例を示す図 である。
[図 43]補正済みの順光撮影画像における、非背景マスクで定義される領域内のある 画素について被写体色を探索する際の探索方法を示す図である。
圆 44]本発明の撮影システムの第 2実施形態を示す図である。
[図 45]図 44の撮影システムで実行される作業の流れを示すフローチャートである。 圆 46]本発明の撮影システムの第 3実施形態を示す図である。
[図 47]図 46の撮影システムで実行される作業の流れを示すフローチャートである。
[図 48]1回目の撮影に基づぐ補正済みの撮影画像の一例を示す図である。
[図 49]2回目の撮影に基づぐ補正済み撮影画像の一例を示す図である。
圆 50]本発明の第 3実施形態における背景置換画像の作成処理で作成されるヒスト グラムの一例を示す図である。
圆 51]本発明の撮影システムの第 4実施形態を示す図である。 [図 52]図 51に示す照明パネルの内部構造を示す図である。
[図 53]図 51の撮影システムで実行される作業の流れを示すフローチャートである。
[図 54]1回目の撮影に基づぐ補正済みの撮影画像の一例を示す図である。
[図 55]2回目の撮影に基づぐ補正済み撮影画像の一例を示す図である。
[図 56]本発明の第 4実施形態における背景置換画像の作成処理で作成されるヒスト グラムの一例を示す図である。
[図 57]本発明の撮影システムの第 5実施形態を示す図である。
[図 58]図 57の撮影システムで実行される作業の流れを示すフローチャートである。
[図 59]1回目の撮影に基づぐ補正済みの撮影画像の一例を示す図である。
[図 60]2回目の撮影に基づぐ補正済み撮影画像の一例を示す図である。
[図 61]本発明の第 4実施形態における背景置換画像の作成処理で作成されるヒスト グラムの一例を示す図である。
[図 62]本発明の撮影システムの第 6実施形態を示す図である。
[図 63]図 62の撮影システムで実行される作業の流れを示すフローチャートである。
[図 64]1回目の撮影に基づぐ補正済みの撮影画像の一例を示す図である。
[図 65]2回目の撮影に基づぐ補正済み撮影画像の一例を示す図である。
[図 66]本発明の第 4実施形態における背景置換画像の作成処理で作成されるヒスト グラムの一例を示す図である。
[図 67]本発明の撮影システムの第 7実施形態を示す図である。
発明を実施するための最良の形態
[0060] 以下図面を参照して本発明の実施の形態を説明する。
[0061] まず、本発明の第 1実施形態について説明する。
[0062] 図 1は、本発明の撮影システムの第 1実施形態を示す図である。
[0063] この図 1に示す撮影システム 1は、被写体を撮影して撮影画像を取得する撮影スタ ジォ 10と、その撮影画像における被写体と背景とを区別して、撮影画像中の背景を 所望の背景に置換して背景置換画像を作成する、本発明にいう背景置換装置の一 例として動作するパーソナルコンピュータ 20と、プリンタ 30と、サーノ 0とを備えてい る。また、撮影スタジオ 10は、デジタルカメラ 11と、閃光発光装置 12と、 EL (エレクト ロルミネセンス)パネル 130と、この ELパネル用の電源 14を備えている。ここで、デジ タルカメラ 11、閃光発光装置 12、および ELパネル 130が、それぞれ本発明にいう撮 影装置、閃光発光装置、照明装置の各一例に相当する。
[0064] デジタルカメラ 11は、連写機能を有しており、撮影者がシャツタボタンを 1回押すと、 短時間の間に自動で被写体 Pを 2回撮影する。 1回毎の撮影によって得られた撮影 画像はデジタルカメラ 11内のメモリに一時的に保管される力 撮影システム 1では、 デジタルカメラ 11がパーソナルコンピュータ 20に接続されており、 2回の撮影が終了 した時点で、この 2回の撮影で得られた撮影画像は、このパーソナルコンピュータ 20 に直ちに送られる。また、デジタルカメラ 11は閃光発光装置 12にも接続されており、 デジタルカメラ 11は、閃光発光装置 12に対して閃光を発するように指示する閃光指 示信号を、その閃光発光装置 12に撮影の度に発信する。
[0065] ここで、本実施形態では、撮影スタジオ 10について省スペース化が図られており、 デジタルカメラ 11は被写体を近距離力も若干見下ろし気味に撮影することとなる。そ の結果、デジタルカメラ 11で撮影される撮影画像には、画像の幅が、下に向かうほど 狭まる、いわゆる台形歪みが生じている可能性が高い。本実施形態では、この台形 歪みは、パーソナルコンピュータ 20において補正される。
[0066] 閃光発光装置 12は、デジタルカメラ 11から閃光指示信号を受けて被写体 Pに向か つて閃光を発する。ここで、この閃光発光装置 12は、 1回発光する度に充電される必 要があり、 1回発光すると、次に発光できるようになるまで時間がかかる。デジタルカメ ラ 11からは、上記の 2回の撮影の際、撮影の度に上記の閃光指示信号が発信される 力 閃光発光装置 12は 1回目の撮影の時だけ閃光を発し、 2回目の撮影時には、充 電が間に合わないために、閃光発光装置 12は消灯したままでいることとなる。また、 この閃光発光装置 12が発する閃光は、発光の輝度がおよそ 2000cdZm2という高 輝度の光である。
[0067] ELパネル 130は、被写体 Pが載る載置面 131aと被写体 Pの背後の面 131bとが透 明な筐体 131、および、その筐体 131内に収納された分散型 EL素子 132からなる。 また、電源 14は、この分散型 EL素子 132に駆動電圧を印加する電源である。ここで 、分散型 EL素子 132が、本発明にいう分散型エレクトロルミネセンス素子の一例に 相当する。また、筐体 131の、被写体 Pの背後の面 131bの四隅にはこの面 131bの 範囲を示す 4つのマーカ 131cが配置されている。これら 4つのマーカ 131cは、撮影 の際に被写体 Pとともに撮影画像に写り、その撮影画像に対する、上記の台形歪み の補正等に利用されるものであり、本発明にいうマーカの一例に相当する。
[0068] 分散型 EL素子 132は、蛍光体粉末が高誘電率のバインダー中に分散されたもの 力 可撓性のプラスチックを基板とした 2枚のシート形状の電極の間に挟み込まれて 構成されたシート状の面発光光源である。この分散型 EL素子 132は、それら 2枚の 電極間に、電源 14から交流電圧が印加されることにより発光する。
[0069] この分散型 EL素子 132は、厚みが数百/ z m〜lmmという非常に薄くて軽い光源 であり、筐体 131の内部のように、厚みに余裕のない場所に容易に設置することがで きる。この他、分散型 EL素子 132には、発光時の発熱が 2°C程度と軽微である、発光 開始力 最高輝度に達するまでの応答速度が速い、発光の寿命がほぼ一定しており 計画的な交換が可能、局所発光が可能、衝撃や振動に強い、消費電力が 50WZm 2 (周波数が 50Hzの交流電力印加時)と小さい等、性能面での様々な利点がある。さ らに、分散型 EL素子 132には、簡単な製造工程で製造することができるため製造コ ストが安!、と!、う経済面での利点もある。
[0070] また、一般的な分散型 EL素子は、製造時に発光色の異なる複数の蛍光体粉末を さらに混合することで発光色を白色を含む様々な色に調整することが可能であるが、 本実施形態における分散型 EL素子 132では、このような色調整のための蛍光体粉 末は未混合である。この結果、この分散型 EL素子 132は、発光波長が 400ηπ!〜 53 Onmの間に 2つ以上の発光ピークを有することとなる。この光は、分散型 EL素子本 来の、青力も緑の間の色の光であり、本実施形態における分散型 EL素子 132は、上 記の 2つ以上の発光ピークからなる青緑色の光を発光する。ここで、青緑色は、人物 の肌の色の補色であるため、本実施形態の撮影システム 1によれば、人物を被写体 として撮影した際等に、撮影画像中の被写体と背景とを高い確度で区別することがで きる、背景が青緑色の撮影画像が得られる。さらに、補色であることから、被写体と背 景との境界付近の画素に対する、後述するような、被写体色と背景色との推定という 処理を高い精度で行なうことができる。また、上記の色調整のための蛍光体粉末は発 光色の輝度を低下させる傾向があるが、本実施形態における分散型 EL素子 132は 、このような蛍光体粉末が未混合であるので分散型 EL素子本来の輝度で発光するこ ととなる。
[0071] 尚、本実施形態では、本発明にいう分散型エレクトロルミネセンス素子を使ったタイ プの照明装置の一例として、筐体 131の内部に分散型 EL素子 132が単純に収納さ れた ELパネル 130を例示した力 本発明はこれに限るものではない。以下、このタイ プの照明装置の別例について説明する。ここで、以下では、この別例について、図 1 に示す ELパネル 130との相違点に注目して説明する。
[0072] 図 2は、分散型エレクトロルミネセンス素子を使ったタイプの照明装置の別例を示す 図である。
[0073] この図 2に示す別例は、図 1示す ELパネル 130に、 2つの構成要素が追加された 構成となっている。即ち、この別例は、分散型 EL素子 132の表面に、この分散型 EL 素子 132の発光色と同じ青緑色のカラーフィルタ 132aが貼付され、筐体 131 (図 1参 照)の被写体 Pが載る載置面 131aと被写体 Pの背後の面 131bとのそれぞれに、光 の反射を防止する反射防止膜 131dが貼付された構成となっている。ここで、カラー フィルタ 132aおよび反射防止膜 131dは、それぞれ本発明にいうカラーフィルタおよ び反射防止膜の各一例に相当する。
[0074] 上記のカラーフィルタ 132aによれば、分散型 EL素子 132の発光光よりも光量が圧 倒的に勝る上記の閃光下の撮影であっても被写体の背景の色は、その閃光の色で ある白色とは確実に異なる青緑色となる。そのため、例えば、撮影画像中の被写体に 閃光の色が写り込んでしまったような場合であっても、その撮影画像中で被写体と背 景とが閃光の色という同色に発色してしまうことが確実に回避される。また、上記の反 射防止膜 131dによれば、上記の閃光発光装置 12が発した閃光が、被写体と載置面 131aや背後の面 131bとで反射して、被写体と背景とが撮影画像中においてその閃 光の色という同色に発色してしまうことが確実に回避される。図 2に示すこのような構 成により、撮影画像中の被写体と背景との、後述するような区別が一層確実に行なわ れることとなる。
[0075] 再び、図 1に戻って説明を続ける。 [0076] 電源 14は、分散型 EL素子 132に印加する交流電圧を、周波数について 50Hz〜 10kHzの間、大きさについて 40V〜300Vの間で調整することができる。分散型 EL 素子 132の発光の輝度は、印加される交流電圧の大きさにほぼ比例する。本実施形 態の撮影スタジオ 10では、電源 14において、交流電圧が、周波数については 1. 2k Hz〜l. 5kHzのうちのいずれかの周波数、大きさについては 130V〜200Vのうち のいずれかの大きさに調整されており、その結果、分散型 EL素子 132の発光の輝度 力 500cdZm2〜600cdZm2のうちの!/、ずれかの輝度に調整されて!、る。
[0077] ここで、本実施形態の撮影スタジオ 10では、デジタルカメラ 11による撮影は、 ELパ ネル 130が常時点灯した状態で行なわれる。また、上述したように、 1回目の撮影は 閃光発光装置 12が閃光を発した状態で行なわれ、 2回目の撮影は閃光発光装置 12 が消えた状態で行なわれる。ここで、上記のように、閃光発光装置 12が発する閃光 の輝度は、 ELパネル 130が点灯したときの輝度よりもかなり高い。この結果、 1回目 の撮影では、 ELパネル 130の輝度よりも高い輝度の閃光力 デジタルカメラ 11側か ら被写体 Pを照らすという順光状態での撮影による、被写体 Pがきれいに写った順光 撮影画像が取得される。また、この 1回目の撮影に連続して行なわれる 2回目の撮影 では、 ELパネル 130からの光のみが被写体 Pを後方力も照らすという逆光状態での 撮影による、被写体 Pの像がシャドウ側に偏り、 ELパネル 130の像がハイライト側に 偏った逆光撮影画像が取得される。
[0078] この撮影スタジオ 10における閃光発光装置 12と ELパネル 130とを合わせたものが 、本発明にいう撮影条件作成部の一例に相当し、ここでは、 ELパネル 130による照 明の定常的な存在と、閃光発光装置 12の閃光による照明の有無とによって複数 (本 実施形態では 2つ)の撮影条件が作成される。
[0079] パーソナルコンピュータ 20は、上述したように本発明に 、う背景置換装置の一例と して動作するものである。このパーソナルコンピュータ 20は、デジタルカメラ 11から渡 された上記の 2つの撮影画像に対して、上記の台形歪みについての補正を含む画 像補正処理を施し、さらに、この補正済みの撮影画像に基づいて背景置換画像を作 成すると ヽぅ背景置換処理を行なう。この画像補正処理と背景置換処理とにつ 、て は後述する。 [0080] このパーソナルコンピュータ 20は、外観構成上、フレキシブルディスク(以降、 FDと 呼ぶ)や CD— ROMの装填口を有し、その装填口に装填された FDや CD— ROM へのアクセス機能を有する本体装置 210、その本体装置 210からの指示に応じて表 示画面 220a上に画像を表示する画像表示装置 220、本体装置 210にキー操作に 応じた各種の情報を入力するキーボード 230、表示画面 220a上の任意の位置を指 定することにより、その位置に表示された、例えばアイコン等に応じた指示を入力する マウス 240、および、デジタルカメラ等で撮影画像の記憶に用いられる小型記憶メデ ィァが装填され、その小型記憶メディアをアクセスするメディアドライブ 250を備えて ヽ る。
[0081] プリンタ 30は、パーソナルコンピュータ 20から送られてくる画像をプリントするもので あり、撮影システム 1では、パーソナルコンピュータ 20が背景置換処理によって作成 した背景置換画像をプリントする役割を担って ヽる。
[0082] サーバ 40には、パーソナルコンピュータ 20で実行される背景置換処理で使用され る複数種類の背景が格納されている。このサーノ 0内の背景は、表示画面 220a上 に表示されることによって顧客に提示される。また、この撮影システム 1では、サーバ 4 0内に格納されている背景以外にも、上記の CD—ROMや上記の小型記憶メディア 等といった何らかの入力用記憶媒体を介して提供される背景も、表示画面 220aを通 じて顧客に提示される。顧客は、表示画面 220a上に表示されたそれらの背景の中か ら所望の背景を選ぶ。
[0083] 次に、この図 1に示す撮影システム 1で実行される作業の流れについて説明する。
尚、以下の説明では、図 1に示す要素については特に図番を断らずに図 1中の符号 を使って参照する。
[0084] 図 3は、図 1の撮影システムで実行される作業の流れを示すフローチャートである。
[0085] この図 3のフローチャートが示す作業は、撮影スタジオ 10において、被写体 P、デジ タルカメラ 11、および閃光発光装置 12がそれぞれ適当な位置に配置されていること を前提として行なわれる。
[0086] まず、電源 14から分散型 EL素子 132に電圧が印加され、 ELパネル 130が点灯す る (ステップ S101)。次に、撮影者が、ピントや露光の調節等を行なった後にデジタ ルカメラ 11のシャツタボタンを押すと、被写体 Pに対する撮影が 2回連続して行なわ れる。まず 1回目の撮影では、デジタルカメラ 11から発信される閃光指示信号に応じ て閃光発光装置 12が ELパネル 130の照明よりも高輝度の閃光を発し、この閃光に よる順光状態で被写体 Pが撮影される (ステップ S102)。続いて、 2回目の撮影が、 閃光発光装置 12が消灯した状態、即ち、 ELパネル 130のみの照明による逆光状態 で行なわれる(ステップ S 103)。ステップ S 102およびステップ S 103の処理でそれぞ れ得られた、順光撮影画像と逆光撮影画像との 2つの撮影画像は、デジタルカメラ 1 1内のメモリに一時的に保管される。
[0087] 尚、本実施形態では、以上に説明したステップ S101〜ステップ S103の処理は、 撮影スタジオ 10において行なわれる、写真館の店員等といった人手による撮影処理 であるが、本発明はこれに限るものではない。本発明の撮影システムは、例えば、 EL パネルやデジタルカメラの動作がパーソナルコンピュータ等で制御され、 ELパネル の点灯やデジタルカメラによる撮影が、人手を経ることなく自動で行なわれるもの等で あっても良い。このことは、後述する他の実施形態についても同様に当てはまる。
[0088] また、本実施形態では、順光状態における撮影と逆光状態における撮影とが単純 に実行される例を示したが、本発明はこれに限るものではなぐ本発明の撮影システ ムは、順光状態における撮影と逆光状態における撮影とが、例えば、以下に説明す るように行なわれるもの等であっても良 、。
[0089] 図 4は、順光状態における撮影と逆光状態における撮影との別例を示す図である。
[0090] この図 4に示す撮影処理では、被写体を背後から照らす ELパネルが点灯されると( ステップ S101)、順光状態における撮影 (ステップ S102' )と逆光状態における撮影 (ステップ S103' )とが順次に実行される。ただし、この図 4の例では、順光状態にお ける撮影 (ステップ S102' )は、 ELパネルの発光光の被写体への写り込みを確実に 回避するために、 ELパネルの発光光に比べて光量が圧倒的に多い閃光下で実行さ れ、さらに、その撮影は、そのような閃光下で適切に実行されるように、閃光の光量に 応じた低めの感度で行なわれる。一方、逆光状態における撮影 (ステップ S103' )は 、そのような低めの感度では感度不足となり ELパネルの発光光を捉え切れないので 、 ELパネルの発光光の光量に応じた高めの感度で行なわれる。このように、この図 4 に示す撮影処理によれば、順光状態における撮影において、 ELパネルの発光光の 被写体への写り込みが回避されるとともに、各状態における適切な感度での撮影が 可能となる。
[0091] 再び、図 3に戻って説明を続ける。
[0092] ステップ S 103の処理によって、 2回目の撮影が行なわれ、その撮影で得られた撮 影画像の、デジタルカメラ 11内のメモリへの保管が終了すると、 2回の撮影で得られ 、そのメモリに一時的に保管された 2つの撮影画像が直ちにパーソナルコンピュータ 20に渡される。また、パーソナルコンピュータ 20に対する操作を受けて、顧客が所望 する背景がサーバ 40あるいは何らかの入力用記憶媒体力も読み出される。(ステツ プ S104)。続いて、 2つの撮影画像に、上記の台形歪みについての補正を含む後述 の画像補正処理が施される。(ステップ S 105)。さら〖こ、この補正済みの撮影画像に 基づ ヽて背景置換画像を作成すると ヽぅ後述の背景置換処理が実行される (ステツ プ S106)。そして、この背景置換処理で作成された背景置換画像を表わす画像デ ータが、まず画像表示装置 220に転送され、さらに、プリンタ 30と、顧客が希望する 出力用記憶媒体とのうちの少なくとも 1つに転送される (ステップ S107)。続いて、画 像表示装置 220において、背景置換画像が、転送されてきた画像データに基づいて 表示画面 220a上に表示され (ステップ S108)、さらに、画像データがプリンタ 30に転 送された場合には、プリンタ 30において、その画像データに基づいて背景置換画像 がプリントされる(ステップ S109)。
[0093] ここで、ステップ S104〜ステップ S108の処理は、パーソナルコンピュータ 20にお いて実行される処理であり、以下では、これらの処理を実行するパーソナルコンビュ ータ 20と、それらの処理の詳細に注目して説明する。
[0094] まず、このパーソナルコンピュータ 20の内部構成について説明する。
[0095] 図 5は、図 1に示すパーソナルコンピュータのハードウェア構成図である。
[0096] この図 5に示すように、本体装置 210の内部には、各種プログラムを実行する CPU 211、ハードディスク装置 213に格納されたプログラムが読み出され CPU211での実 行のために展開される主メモリ 212、各種プログラムやデータ等が保存されたハード ディスク装置 213、 FD520が装填され、その装填された FD520をアクセスする FDド ライブ 214、 CD— ROM510をアクセスする CD— ROMドライブ 215、図 1のサーバ 40やデジタルカメラ 11と接続され、これらの機器から置換用の背景や撮影画像等を 受け取る入力インタフェース 216、および、図 1のプリンタ 30と接続され、背景置換画 像等を出力する出力インタフェース 217が内蔵されており、これらの各種要素と、さら に図 1にも示す画像表示装置 220、キーボード 230、マウス 240、および、小型記憶 メディア 530をアクセスするメディアドライブ 250は、バス 260を介して相互に接続され ている。
[0097] ここで、 CD— ROM510には、パーソナルコンピュータ 20を、本発明にいう背景置 換装置の一例として動作させるための背景置換プログラムが記憶される。そして、そ の背景置換プログラムが記憶された CD— ROM510が CD— ROMドライブ 215に装 填されると、その CD— ROM510に記憶された背景置換プログラムがこのパーソナル コンピュータ 20にアップロードされてハードディスク装置 213に書き込まれる。これに より、パーソナルコンピュータ 20は背景置換装置として動作する。
[0098] 次に、この背景置換プログラムについて説明する。
[0099] 図 6は、図 1および図 5に示すパーソナルコンピュータを、本発明にいう背景置換装 置の一例として動作させるための背景置換プログラムが記憶された CD— ROMを示 す概念図である。
[0100] 図 6に示す CD— ROM510には背景置換プログラム 600が記憶されている。
[0101] この背景置換プログラム 600は、画像取得部 610、画像補正部 620、置換処理部 6 30、画像データ転送部 640、および画像表示部 650で構成されている。
[0102] この背景置換プログラム 600の各部の詳細については、本発明にいう背景置換装 置の一例の各部の作用と併せて説明する。尚、以下の説明では、図 1、図 5、および 図 6に示す要素については特に図番を断らずに各図中の符号を使って参照する。
[0103] 図 7は、図 6に示す背景置換プログラムが図 1および図 5に示すパーソナルコンビュ ータにインストールされ、このパーソナルコンピュータが本発明にいう背景置換装置 の一例として動作するときの機能を表わす機能ブロック図である。また、この図 7には 、図 1にも示す、デジタルカメラ 11、閃光発光装置 12、および ELパネル 130からなる 撮影スタジオ 10と、プリンタ 30と、サーノ 0も示されている。 [0104] この図 7に示す背景置換装置 700は、上述したように、撮影スタジオ 10のデジタル カメラ 11によって順光および逆光それぞれの下で撮影された順光撮影画像と逆光撮 影画像とを取得して、これらの 2つの撮影画像のうち、逆光撮影画像に基づいて、順 光撮影画像における被写体と背景とを区別して、その背景を所望の背景に置換する という背景置換処理を実行するものであり、画像取得部 710、画像補正部 720、置換 処理部 730、画像データ転送部 740、および画像表示部 750を備えている。
[0105] 画像取得部 710は、まず、デジタルカメラ 11で撮影され、そのデジタルカメラ 11か ら渡される 2つの撮影画像を受け取る。また、この画像取得部 710は、顧客が所望す る背景を、サーノ 0から、あるいは、 CD— ROMや小型記憶メディア等といった入力 用記憶媒体 540から読み出す。この画像取得部 710は、実質的には、パーソナルコ ンピュータ 20の CPU211が、背景置換プログラム 600の画像取得部 610に従って、 入力インタフェース 216、 FDドライブ 214、 CD— ROMドライブ 215、およびメディア ドライブ 250を制御することによって構成される。
[0106] 画像補正部 720は、画像取得部 710で受け取られた 2つの撮影画像に、台形歪み についての補正を含む後述の画像補正処理を施すものであり、実質的には、パーソ ナルコンピュータ 20の CPU211が、背景置換プログラム 600の画像補正部 620に従 つて動作することによって構成される。この画像補正部 720の詳細については、画像 補正処理の詳細とともに別図を参照して後述する。
[0107] 置換処理部 730は、画像補正部 720での画像補正処理を経た 2つの撮影画像に 基づいて背景置換画像を作成するという後述の背景置換処理を行なうものであり、実 質的には、パーソナルコンピュータ 20の CPU211が、背景置換プログラム 600の置 換処理部 630に従って動作することによって構成される。この画像補正部 720の詳 細については、背景置換処理の詳細とともに別図を参照して後述する。
[0108] 画像データ転送部 740は、置換処理部 730で作成された背景置換画像を表わす 画像データを、プリンタ 30および顧客が希望する出力用記憶媒体 550のうちの少な くとも一方と、この背景置換装置 700の画像表示部 750とに転送する。この画像デー タ転送部 740は、実質的には、パーソナルコンピュータ 20の CPU211が、背景置換 プログラム 600の画像データ転送部 640に従って、出力インタフェース 217、 FDドラ イブ 214、 CD— ROMドライブ 215、およびメディアドライブ 250を制御することによつ て構成される。
[0109] 画像表示部 750は、画像データ転送部 740から転送されてくる画像データに基づ く背景置換画像を、表示画面 220aに表示するものであり、実質的には、パーソナル コンピュータ 20の CPU211が、背景置換プログラム 600の画像表示部 650に従って 画像表示装置 220を制御することによって構成される。
[0110] また、上記の画像データ転送部 740からプリンタ 30に背景置換画像を表わす画像 データが出力された場合には、プリンタ 30において、この画像データに基づく背景置 換画像がプリントされ、上記の画像データ転送部 740から何らかの出力用記憶媒体 5 50に背景置換画像を表わす画像データが出力された場合には、この画像データが その出力用記憶媒体 550に書き込まれる。そして、背景置換画像がプリントされたプ リント紙と、背景置換画像を表わす画像データが書き込まれた出力用記憶媒体 550 との両方、あるいは一方力 顧客の希望に応じて提供される。
[0111] 次に、図 7において、それぞれ 1つのブロックで示されている画像補正部 720およ び置換処理部 730の詳細について以下に説明する。
[0112] 先ず、画像補正部 720について説明する。
[0113] 図 8は、図 7に 1つのブロックで示す画像補正部の詳細を示す図である。尚、以下の 説明では、図 7に示す要素については特に図番を断らずに図中の符号を使って参 照する。
[0114] この図 8に示す画像補正部 720は、上述したように、画像取得部 710で受け取られ た順光撮影画像と逆光撮影画像とに、台形歪みにつ!、ての補正を含む画像補正処 理を実行するものであり、マーカ検出部 721、台形補正処理部 722、有効画像作成 部 723、および色補正部 724を備えている。
[0115] 以下では、この画像補正部 720の各要素の作用について、上記の台形歪みが生じ た順光撮影画像を例として参照しながら説明する。
[0116] 図 9は、台形歪みが生じた順光撮影画像の一例を示す模式図である。
[0117] この図 9には、画像の幅が、下に向力うほど狭まる台形歪みが生じた撮影画像が模 式的に示されている。 [0118] まず、マーカ検出部 721が、撮影画像に写っている 4つのマーカ 131cを検出する 。本来、これら 4つのマーカ 13 lbを結ぶと長方形が形成されるはずであるが、図 9の 例では台形歪みのために、 4つのマーカ 13 lbを結ぶと台形になってしまう。
[0119] 台形補正処理部 722は、マーカ検出部 721が検出した 4つのマーカ 131cを結ん でできる図形が本来の長方形となるように、撮影画像全体に適当な変形を施すことで 台形歪みを補正する。
[0120] 図 10は、図 9の順光撮影画像における台形歪みが補正された状態を示す模式図 である。
[0121] 背景置換処理に供する撮影画像としては、被写体と背景との区別の容易さ等の点 から、背景が ELパネル 130における発光面のみであることが望ましい。しかしながら 、本実施形態では、撮影スタジオ 10について省スペース化が図られていることから、 ELパネル 130の大きさに限界があり、撮影画像には、図 9や図 10に示すように、 EL パネル 130の発光面以外の不要な部分が背景として写ってしまう。
[0122] 有効画像作成部 723は、台形補正処理部 722による補正処理を経た撮影画像か ら、 4つのマーカ 131cで決まる有効範囲 E1の外側の画像が削除された有効画像を 作成する。
[0123] 図 11は、図 10に示す、台形歪みが補正された順光撮影画像に基づいて作成され た有効画像を示す模式図である。
[0124] 有効画像作成部 723によって、この図 11に示すような、被写体 Pの背景が、 ELパ ネル 130の発光面のみである有効画像が作成されると、次に、色補正部 724が、この 有効画像に対して、例えば人物の目についての赤目補正や、画像全体の色合いを 好ま 、色合いに補正する等と!、つた色補正処理を施す。
[0125] 以上、図 9〜図 11の順光撮影画像を参照して、画像補正部 720で行なわれる画像 補正処理について説明したが、本実施形態では、順光撮影画像とともに撮影された 逆光撮影画像にも、順光撮影画像に施された画像補正処理と全く同じ処理が施され る。ただし、この逆光撮影画像では、被写体は黒くつぶれて写ることとなるので、上記 の色補正部 724での処理は、この逆光撮影画像に対しては除外される。
[0126] 図 12は、図 8の画像補正部によって画像補正処理が施された、補正済みの逆光撮 影画像を示す模式図である。
[0127] この図 12に示すように、補正済みの逆光撮影画像は、被写体 Pの領域がシャドウ側 に偏り、背景として ELパネル 130が写っている領域がハイライト側に偏った画像とな つている。ここで、上記の図 9〜図 11の順光撮影画像では、 ELパネル 130の発光の 輝度が閃光発光装置 12が発する閃光の輝度よりも低いため、 ELパネル 130の発光 面は実際の発光色よりも白っぽく写るのに対し、この図 12に示す逆光撮影画像では 、 ELパネル 130の実際の発光色である青緑色に写る。
[0128] このように、図 12に示す補正済みの逆光撮影画像では、被写体 Pの領域と、背景 領域とでは、明るさが大きく異なるので両者を容易に区別することができる。また、補 正済みの逆光撮影画像では、画像中の被写体 Pの位置や輪郭は、補正済みの順光 撮影画像における被写体の位置や輪郭とほぼ同じになる。そこで、本実施形態では 、図 7の置換処理部 730において、まず、補正済みの逆光撮影画像について被写体 Pと背景との区別を行ない、その区別を補正済みの順光撮影画像にそのまま適用す ることで、この順光撮影画像における被写体 Pと背景とを区別する。そして、この置換 処理部 730では、順光撮影画像における背景を、顧客が所望する背景と置換して背 景置換画像を作成する。
[0129] ここで、この置換処理部 730の詳細について説明する前に、上記の画像補正部 72 0の別例について説明する。この別例は、撮影画像力も ELパネル 130の発光面以外 の不要な部分の除去に、撮影画像中のマーカ 131cが不要である点が上記の画像 補正部 720と異なる。また、以下では、説明の簡単化のために、対象とする撮影画像 には上述した台形歪みが生じないことを前提として説明する。
[0130] 図 13は、画像補正部の別例を示す図である。
[0131] この図 13に示す画像補正部 720'は、撮影画像力も不要な部分が除去された有効 画像を上記のマーカを使わずに作成する有効画像作成部 723'と、図 8と同じ色補 正部 724とを備えている。以下、この図 13の有効画像作成部 723'に注目して説明 する。
[0132] 図 14は、図 13に 1つのブロックで示す有効画像作成部 723'の詳細を示す図であ る。 [0133] この有効画像作成部 723'は、画像拡大部 723a'、ヒストグラム作成部 723b'、 2値 化部 723c'、直線検出部 723d'、および画像切出部 723e'を備えている。
[0134] この有効画像作成部 723 'は、逆光撮影画像および順光撮影画像それぞれに共通 の、有効画像の範囲を決定するのに逆光撮影画像を用いる。
[0135] 画像拡大部 723a'は、その逆光撮影画像を、次のように拡大する。
[0136] 図 15は、有効画像の作成に使われる逆光撮影画像の一例を示す図であり、図 16 は、図 15に示す逆光撮影画像が拡大された状態を示す図である。
[0137] 図 15には、 ELパネル 130の発光面以外の不要な部分や被写体 Pがシャドウ側に 偏った逆光撮影画像が示されている。上記の画像拡大部 723a'は、逆光撮影画像 の上下左右に黒色の画素を複数画素分だけ追加することで、この逆光撮影画像を 拡大して、図 16に示すような、 ELパネル 130の発光面の周囲がシャドウ側の色の画 素で囲まれた状態の画像を作成する。
[0138] 次に、図 14のヒストグラム作成部 723b'は、その拡大された画像について、次のよう な各画素の明るさについてのヒストグラムを作成する。
[0139] 図 17は、拡大された逆光撮影画像を構成する各画素の明るさについてのヒストグラ ムの一例を示す図である。
[0140] この図 17には、各画素の輝度を、多数の輝度範囲に振り分け、各輝度範囲につい てどれだけの画素が振り分けられたかを頻度で示したヒストグラム HGが示されており 、このヒストグラム HGでは、横軸 HG— 1に輝度がとられ、縦軸 HI— 2に頻度がとられ ている。逆光撮影画像について作成されたこのようなヒストグラム HGには、図 17に示 すように、シャドウ側と、ノ、イライト側とに 2つのピーク HP1, HP2が現れる。シャドウ側 のピーク HP1は、逆光撮影画像における上記の不要な部分や被写体領域の画素が 振り分けられて現れるものであり、ハイライト側のピーク HP2は、この逆光撮影画像に おける ELパネル 130の発光面の画素が振り分けられて現れるものである。
[0141] このようなヒストグラム HGが作成されると、図 14の 2値化部 723c,は、まず、ヒストグ ラム HGにおけるシャドウ側のピーク HP1において、頻度が所定頻度以上となる輝度 の上限である閾値 HSを計算する。次に、 2値ィ匕部 723c'は、上記の拡大された逆光 撮影画像の各画素につ 、て、閾値 HS以上の輝度に対応する画素に「 1」の画素値 を割り当て、閾値 HSに満たな ヽ輝度に対応する画素には「0」の画素値を割り当てる と ヽぅ 2値化処理を実行する。
[0142] 図 18は、図 14の 2値ィ匕部 723c'によって 2値ィ匕処理が施された逆光撮影画像を示 す図である。この図 18では、被写体 Pを含む、 ELパネル 130の発光面以外の領域 の画素に「0」の画素値が割り当てられた様子が斜線で示されて 、る。
[0143] このような 2値ィ匕処理が終了すると、次に、図 14の直線検出部 723d'は、 2値化処 理が施された逆光撮影画像において、「1」の画素値を有する画素と、「0」の画素値 を有する画素との境界における直線部分を検出する。上記の図 18には、 ELパネル 1 30の発光面の領域を囲む 4本の直線 SL1, SL2, SL3, SL4が検出された様子が 示されている。
[0144] このような直線が検出されると、図 14の画像切出部 723e'が、図 15に示す拡大前 の逆光撮影画像から、上記の 4本の直線 SL1, SL2, SL3, SL4で囲まれた範囲に 対応する画像部分を有効画像として切り出す。そして、この画像切出部 723e'は、順 光撮影画像からも、上記の 4本の直線 SL1, SL2, SL3, SL4で囲まれた範囲に対 応する画像部分を有効画像として切り出す。
[0145] 以上に説明した一連の処理によっても、図 11や図 12に示す、マーカを使って作成 された有効画像とほぼ同様の有効画像を得ることができる。
[0146] 再び、本発明の第 1実施形態についての説明に戻る。
[0147] 図 7の画像補正部 720において、図 11や図 12に示すような、順光および逆光それ
Figure imgf000032_0001
、ての有効画像 (補正済みの順光撮影画像および補正済みの逆光撮影画 像)が得られると、置換処理部 730では、上述したように、補正済みの逆光撮影画像 について被写体 Pと背景との区別が行なわれ、その区別が補正済みの順光撮影画 像にそのまま適用されて、この順光撮影画像における被写体 Pと背景とが区別される 。そして、この置換処理部 730は、順光撮影画像における背景を、顧客が所望する 背景と置換して背景置換画像を作成する。
[0148] 次に、この置換処理部 730の詳細について、補正済みの逆光撮影画像における被 写体と背景との区別から、背景置換画像の作成に至る背景置換処理に注目して説 明する。 [0149] ここで、以下の説明では、上記の補正済みの順光撮影画像および補正済みの逆光 撮影画像それぞれの一例として、次の画像を参照する。
[0150] 図 19は、補正済みの順光撮影画像の一例を示す図であり、図 20は、補正済みの 逆光撮影画像の一例を示す図である。
[0151] これら図 19および図 20には、人物の被写体 P'が写っている。ただし、図 20に示す 撮影画像は、逆光で撮影されたものであるために、被写体 P'の領域がシャドウ側に 偏り、背景として ELパネル 130が写っている領域がハイライト側に偏った画像となつ ている。ここで、被写体 P'と背景との境界周辺の様子を、図 19中のエリア A1と、この 図 19中のエリア A1に対応する図 20中のエリア A2とについて別図に示す。
[0152] 図 21は、図 19中のエリア A1の拡大図であり、図 22は、図 20中のエリア A2の拡大 図である。
[0153] これら図 21および図 22には、被写体 P'の頭髪越しに背景の ELパネル 130が見え ている様子が示されている。一般に、撮影画像中には、被写体の一部越しに背景が 見えている部分がしばしば見られる力 このような部分は、図 19〜図 22の例に示す ように、撮影画像中の被写体と背景との境界周辺に存在する。
[0154] ここで、図 21および図 22は、説明の便宜上、人物の頭髪の一本に至るまで詳細に 見える理想的な状態で示されている。しかし、実際の撮影画像では、解像度の制約 により、画像を構成する画素が一本の頭髪等といった微細な被写体よりも大きくなる。 そのため、例えば、図 21および図 22に示す、頭髪越しに背景の ELパネル 130が見 えている部分の画像等は、頭髪という微細な被写体の色と、その背後に見える背景 の色とが合成された合成色を有する画素が集まって構成されることとなる。そのため、 このような部分では、被写体と背景との単純な区別は不可能となっている。
[0155] 図 7の置換処理部 730は、例えば図 19に示すような、補正済みの順光撮影画像の 背景を、顧客が所望する背景に置換する際には、まず、この補正済みの順光撮影画 像を、被写体領域と、背景領域と、これら 2つの領域に挟まれた境界領域とに区別す る。置換処理部 730は、この補正済みの順光撮影画像における被写体領域につい てはそのまま残し、背景領域を、顧客が所望する別の背景と置換する。
[0156] このとき、図 21に示すように被写体の一部越しに背景が見えていている部分、即ち 、微細な被写体色と背景色とが合成された合成色を有する画素によって構成される 部分は、上記のように被写体と背景とに単純に区別することが不可能であることから、 置換処理部 730によって上記の境界領域に区別される。
[0157] 置換処理部 730は、補正済みの順光撮影画像における上記の境界領域内の全て の画素が、上記のような合成色を有しているという前提のもとに、各画素の色の合成 の元となった被写体色と、背景色とを推定し、さらに両者の合成比を推定する。ただ し、実際の境界領域には、合成色を有する画素の他にも、背景色のみを有する画素 や、被写体色のみを有する画素も含まれる。置換処理部 730では、処理対象の画素 力 背景色のみを有する画素である場合には、その画素の色に占める被写体色の割 合が「0」となる合成比が推定され、処理対象の画素が、被写体色のみを有する画素 である場合には、その画素の色に占める被写体色の割合が「1」となる合成比が推定 される。
[0158] そして、置換処理部 730は、上記の境界領域内の各画素の色を、推定された被写 体色と、上記の顧客が所望する別の背景色とが、推定された合成比で合成されてな る合成色に置き換える。この処理では、境界領域中の、背景色のみを有する画素の 色は上記の別の背景色に置換され、被写体色のみを有する画素の色はそのまま維 持され、さらに、被写体の一部越しに背景が見えていている部分の画素の色は上記 の合成色に置換される。この処理の結果、境界領域中に、被写体の一部越しに背景 が見えていている部分が含まれていたとしても、その被写体の一部越しに、上記の顧 客が所望する別の背景が見えて 、ると 、う自然な背景置換画像が作成される。
[0159] 以下、この置換処理部 730の詳細について説明する。
[0160] 図 23は、図 7に 1つのブロックで示す置換処理部の詳細を示す図である。尚、以下 の説明でも、図 7に示す要素については特に図番を断らずに図 7中の符号を使って 参照する。
[0161] この置換処理部 730は、上述した背景置換処理を実行するものであり、マスク作成 部 731、色推定部 732、および背景置換画像作成部 733を備えている。
[0162] まず、これら各構成要素の概要について説明する。
[0163] マスク作成部 731は、上記の補正済みの逆光撮影画像において、この逆光撮影画 像中で、被写体色の画素のみが存在する範囲を定義する被写体マスクと、背景色の 画素のみが存在する範囲を定義する背景マスクとを作成する。ここで、これら 2つのマ スクは、それぞれのマスクが定義する範囲内に、例えば図 22に示すような、被写体越 しに背景が見えて 、る部分の画素が含まれな 、ように、互いに隙間を開けて作成さ れる。
[0164] 色推定部 732は、マスク作成部 731が作成した被写体マスクと背景マスクとを、上 記の補正済みの順光撮影画像に適用して、まず、この順光撮影画像において、これ ら 2つのマスク間に開いた隙間、即ち、境界領域を認識する。そして、この境界領域 内の全ての画素が合成色を有して 、ると 、う前提のもとに、各画素の色の合成の元と なった被写体色と、背景色とを推定し、さらに両者の合成比を推定する。
[0165] 背景置換画像作成部 733は、まず、上記の補正済みの順光撮影画像において、 被写体マスクで定義される領域にっ 、てはそのまま残し、背景マスクで定義される領 域を、顧客が所望する別の背景と置換する。次に、境界領域内の各画素について、 顧客が所望する背景の色と、上記の色推定部 732で推定された被写体色とを、色推 定部 732で推定された合成比で合成して合成色を求め、各画素の色をその合成色 に置換する。これにより、上記の補正済みの順光撮影画像の背景が、顧客が所望す る別の背景に自然に置換された背景置換画像が作成される。
[0166] このように作成された背景置換画像を表わす画像データ力 図 7の画像データ転送 部 740から、各出力デバイスや出力用記憶媒体 550 (図 7参照)に転送される。
[0167] 次に、置換処理部 730の各構成要素の詳細について説明する。
[0168] まず、マスク作成部 731の詳細について説明する。
[0169] 図 24は、図 23に 1つのブロックで示すマスク作成部の詳細を示す図である。
[0170] このマスク作成部 731は、ヒストグラム作成部 731a、閾値計算部 731b、被写体マス ク設定部 731c、背景マスク設定部 731d、被写体マスク縮小部 731e、および背景マ スク縮小部 73 Ifを備えている。
[0171] ヒストグラム作成部 731aは、上記の補正済みの逆光撮影画像を構成する各画素の 明るさについてのヒストグラムを作成する。
[0172] 図 25は、補正済みの逆光撮影画像を構成する各画素の明るさについてのヒストグ ラムの様々な例を示す図である。
[0173] この図 25のパート(a)には、逆光撮影画像を構成する各画素の輝度を、多数の輝 度範囲に振り分け、各輝度範囲についてどれだけの画素が振り分けられた力を頻度 で示した輝度ヒストグラム HIが示されており、この輝度ヒストグラム HIでは、横軸 HI —1に輝度がとられ、縦軸 HI— 2に頻度がとられて 、る。
[0174] ここで、本実施形態では上記の順光撮影画像および逆光撮影画像は、 R (レッド)、 G (グリーン)、 B (ブルー)の 3色で色を定義する RGB色空間上の座標、即ち、この R GB色空間における R値、 G値、および B値で各画素の色が表わされている。各画素 の色を表わす R値、 G値、および B値それぞれには、その画素の明るさが反映されて いるので、逆光撮影画像を構成する各画素の明るさについてのヒストグラムを、これら R値、 G値、および B値のうちのいずれかを用いて作成することもできる。
[0175] 図 25のパート (b)には、逆光撮影画像を構成する各画素の R値を、 R値の多数の 範囲に振り分け、各範囲についてどれだけの画素が振り分けられた力を頻度で示し た R値ヒストグラム H2が示されており、図 25のパート(c)には、逆光撮影画像を構成 する各画素の G値を、 G値の多数の範囲に振り分け、各範囲についてどれだけの画 素が振り分けられたかを頻度で示した G値ヒストグラム H3が示されており、図 25のパ 一 Hd)には、逆光撮影画像を構成する各画素の B値を、 B値の多数の範囲に振り分 け、各範囲にっ 、てどれだけの画素が振り分けられたかを頻度で示した B値ヒストグ ラム H4が示されている。図 25のパート(b)に示す R値ヒストグラム H2では、横軸 H2 —1に R値がとられ、図 25のパート(c)に示す G値ヒストグラム H3では、横軸 H3— 1 に G値がとられ、図 25のパート(d)に示す B値ヒストグラム H4では、横軸 H4— 1に B 値がとられている。また、これら 3つのヒストグラムの縦軸 H2— 2, H3— 2, H4— 2に は、頻度がとられている。
[0176] 本実施形態では、逆光撮影画像では、被写体の背景が、 ELパネル 130の発光色 である青緑色に写ることから、この逆光撮影画像の各画素の明るさは、 R値、 G値、お よび B値のうち、 G値に最も良く反映される。そこで、図 24のヒストグラム作成部 731a は、図 25に示す 4つのヒストグラムのうち、図 25のパート(c)に示す G値ヒストグラム H 3を作成するように構成されて!、る。 [0177] ここで、この G値ヒストグラム H3には、他の 3つのヒストグラムと同様に、シャドウ側と、 ハイライト側とに 2つのピーク Pkl, Pk2が現れる。シャドウ側のピーク Pklは、補正済 みの逆光撮影画像における被写体領域の画素が振り分けられて現れるものであり、 ノ、イライト側のピーク Pk2は、この逆光撮影画像における背景領域の画素が振り分け られて現れるちのである。
[0178] 図 24に示す閾値計算部 731bは、このヒストグラム作成部 73 laが作成した G値ヒス トグラムにおける 2つのピーク Pkl, Pk2それぞれに基づいて、次の 2つの閾値を計 算する。図 25のパート(c)に示すようにシャドウ側のピーク Pklからは、このピーク Pk 1において、頻度が所定頻度以上となる G値の上限である第 1の閾値 Sriが計算され る。また、ハイライト側のピーク Pk2からは、このピーク Pk2において、頻度が所定頻 度以上となる G値の下限である第 2の閾値 Sr2が計算される。
[0179] そして、図 24に示す被写体マスク設定部 731cは、上記の補正済みの逆光撮影画 像を構成する複数の画素のうち、 G値が第 1の閾値 Sri以下となる画素力 なる領域 を初期被写体マスクに設定し、背景マスク設定部 731dは、 G値が第 2の閾値 Sr2以 上となる画素からなる領域を初期背景マスクに設定する。
[0180] 図 26は、図 22に示す逆光撮影画像の拡大図において、初期被写体マスクに設定 された領域と初期背景マスクに設定された領域を示す図である。
[0181] この図 26における右側のハッチング部分は、図 22の拡大図において被写体 P'の 頭髪が、背景が見えないほどに集まっていて、逆光撮影によってシャドウ側に大きく 偏って写っている部分であり、その部分の画素の G値が上記の第 1の閾値 Sriを下 回っている。その結果、この図 26における右側のハッチング部分は、被写体マスク設 定部 731cによって初期被写体マスク Mlに設定される。
[0182] また、図 26における左側のハッチング部分は、図 22の拡大図において背景の EL パネル 130のみが写っている、ハイライト側に大きく偏った部分であり、その部分の画 素の G値は上記の第 2の閾値 Sr2を上回っている。その結果、この図 26における左 側のハッチング部分は、背景マスク設定部 73 Idによって初期背景マスク M2に設定 される。
[0183] 一方、図 26において左右いずれのハッチング部分にも属していない部分は、頭髪 越しに背景が見えている部分であり、その部分の G値は、上記の第 1の閾値 Sriを上 回り、上記の第 2の閾値 Sr2を下回る。その結果、この図 26において左右いずれの ノ、ツチング部分にも属していない部分は、初期被写体マスク Mlと初期背景マスク M 2との間にあって、両方のマスクの外側となる境界領域 M3として残される。
[0184] 図 27は、図 26に示す初期被写体マスクと初期背景マスクとを示す図であり、図 28 は、初期被写体マスクと初期背景マスクとを、図 19に示す補正済みの順光撮影画像 全体に重ねて示した図である。
[0185] 図 27および図 28に示すように、初期被写体マスク Mlと初期背景マスク M2とはか なり接近しており、境界領域 M3が非常に狭くなつている。ここで、上述したように、補 正済みの逆光撮影画像では、画像中の被写体の位置や輪郭は、補正済みの順光 撮影画像における被写体の位置や輪郭とほぼ同じになる。しかし、撮影のタイミング が若干ずれているため、 2つの撮影画像の間で、被写体の位置や輪郭が若干ずれる 可能性もある。そのような場合には、境界領域 M3が狭いと、補正済みの順光撮影画 像において、図 21に示すような、被写体の一部を透力して背景が見えている部分が 境界領域 M3に完全には含まれず、 2つのマスクのいずれか一方に含まれてしまう恐 れが生じる。このような初期被写体マスク Mlと、初期背景マスク M2とに基づいて、背 景の置換が行なわれると、被写体の一部を透力して背景が見えている部分に、古い 背景が残ってしまったり、あるいは、そのような部分が全て新しい背景に置換されて、 被写体の一部が欠けてしまったりするという問題が発生してしまう恐れがある。
[0186] このような問題を回避するために、本実施形態では、図 24に示す被写体マスク縮 小部 731 eによって初期被写体マスク M 1を境界領域 M3から離れる方向に縮小し、 背景マスク縮小部 731fによって初期背景マスク M2を境界領域 M3から離れる方向 に縮小する。これにより、境界領域 M3が広げられ、被写体の一部を透力して背景が 見えている部分が境界領域 M3に完全に含まれるようになる。
[0187] 図 29は、図 27に示す初期被写体マスクと初期背景マスクとが、それぞれ境界領域 力 離れる方向に縮小される様子を示す図である。
[0188] この図 29に示すように、初期被写体マスク Mlの輪郭 L1が所定数の画素分だけ、 境界領域 M3から離れる方向に移動されることによって初期被写体マスク Mlが縮小 され、同様に、初期背景マスク M2の輪郭 L2が所定数の画素分だけ、境界領域 M3 力 離れる方向に移動されることによって初期背景マスク M2が縮小される。ここで、 本実施形態では、 2つのマスクの輪郭の移動量として 5画素が採用されている。この ようなマスクの縮小を経て、最終的な被写体マスク Ml 'および背景マスク M2'が完 成される。
[0189] 図 30は、最終的に完成された被写体マスクと背景マスクとを、図 19に示す補正済 みの順光撮影画像全体に重ねて示した図である。
[0190] 最終的に完成された被写体マスク Ml 'と背景マスク M2'との間、即ち、最終的な 境界領域 M3'は、図 28に示す境界領域 M3に比べて 10画素分広くなつており、図 3
0に示すように、この最終的な境界領域 M3'に、被写体の一部を透力して背景が見 えて 、る部分が十分に含まれることとなる。
[0191] 以上で、図 23の置換処理部 730が備えるマスク作成部 731についての説明を終了 し、次に、この置換処理部 730が備える色推定部 732の詳細について説明する。
[0192] 図 31は、図 23に 1つのブロックで示す色推定部の詳細を示す図である。
[0193] この色推定部 732は、背景色推定部 732a、被写体色推定部 732b、および合成比 推定部 732cを備えている。
[0194] まず、背景色推定部 732aについて説明する。
[0195] 図 32は、図 31に 1つのブロックで示す背景色推定部の詳細を示す図である。
[0196] この背景色推定部 732aは、補正済みの順光撮影画像における、上記の最終的な 境界領域内の各画素について、その画素の色を構成している背景色を推定するもの であり、探索範囲設定部 732a— 1、背景領域確認部 732a— 2、および背景色計算 部 732a— 3を備えている。
[0197] この背景色推定部 732aは、境界領域内のある画素について背景色を推定する際 には、背景マスクで定義される領域内の画素の中から、ある程度その画素の近くに位 置する複数の画素を探索し、探索された複数の画素の色の平均色を、その画素につ いての背景色として求める。
[0198] 探索範囲設定部 732a— 1は、背景色を推定する画素を中心とした正方形状の探 索範囲を次のように設定する。 [0199] 図 33は、ある画素について背景色を推定する際に、その画素を中心に探索範囲が 設定される様子を示す図である。
[0200] 境界領域内のある画素 Gについて探索範囲を設定するに当たり、探索範囲設定部 732a— 1は、まず、この画素 Gを中心とした正方形状の所定の初期範囲 T1から出発 して徐々に探索範囲を拡張する。そして、探索範囲設定部 732a— 1は、背景マスク M2'で定義される領域の画素が、所定数を超えて探索範囲に含まれるようになった ところで拡張を止め、そのときの探索範囲 T1 'を、背景色推定のための探索範囲とし て設定する。
[0201] 探索範囲が設定されると、図 32に示す背景領域確認部 732a— 2が、画素 Gにつ V、て背景色を推定するために用いる領域として、補正済みの順光撮影画像における 次の領域を確認する。
[0202] 図 34は、ある画素について背景色を推定するために用いられる領域の一例を示す 図である。
[0203] この図 34に示すように、画素 Gについて背景色を推定するために用いられる領域と して、補正済みの順光撮影画像において、背景マスクで定義される領域であり、かつ 探索範囲設定部 732a— 1によって設定された探索範囲 T1 '内となる領域 B1が確認 される。
[0204] このように、画素 Gについて背景色を推定するために用いられる領域 B1が確認され ると、図 32に示す背景色計算部 732a— 3が、この領域 B1内の複数の画素の平均色 、即ち、複数の画素の R値、 G値、および B値それぞれの平均値を計算する。そして、 その計算結果が表わす色を、その画素 Gについての背景色として採用する。
[0205] 以上に説明した背景色推定部 732aは、上記の探索範囲の設定力も平均色の計算 に至るまでの処理を、補正済みの順光撮影画像における境界領域内の全ての画素 について実行する。
[0206] 次に、図 31に示す被写体色推定部 732bについて説明する。
[0207] 図 35は、図 31に 1つのブロックで示す被写体色推定部の詳細を示す図である。
[0208] この被写体色推定部 732bは、補正済みの順光撮影画像における、上記の最終的 な境界領域内の各画素について、その画素の色を構成している被写体色を推定す るものであり、探索範囲設定部 732b— 1、被写体領域確認部 732b— 2、画素色確 認部 732b— 3、および被写体色探索部 732b— 4を備えて 、る。
[0209] この被写体色推定部 732bは、境界領域内のある画素について被写体色を推定す る際には、被写体マスクで定義される領域内の画素の中から、ある程度その画素の 近くに位置する複数の画素を探索し、探索された複数の画素の色の中から、後述の 探索方法によって、その画素についての被写体色を探索する。
[0210] 探索範囲設定部 732b— 1は、被写体色を推定する画素を中心とした正方形状の 探索範囲を次のように設定する。
[0211] 図 36は、ある画素について被写体色を推定する際に、その画素を中心に探索範囲 が設定される様子を示す図である。
[0212] 境界領域内のある画素 Gについて探索範囲を設定するに当たり、探索範囲設定部 732b— 1は、まず、この画素 Gを中心とした正方形状の所定の初期範囲 T2から出発 して徐々に探索範囲を拡張する。そして、探索範囲設定部 732b— 1は、被写体マス ク Ml 'で定義される領域の画素が、所定数を超えて探索範囲に含まれるようになつ たところで拡張を止め、そのときの探索範囲 T2'を、被写体色推定のための探索範 囲として設定する。
[0213] 探索範囲が設定されると、図 35に示す被写体領域確認部 732b— 2が、画素 Gに っ 、て被写体色を推定するために用いる領域として、補正済みの順光撮影画像に おける次の領域を確認する。
[0214] 図 37は、ある画素について被写体色を推定するために用いられる領域の一例を示 す図である。
[0215] この図 37に示すように、画素 Gについて被写体色を推定するために用いられる領 域として、補正済みの順光撮影画像において、被写体マスクで定義される領域であり 、かつ探索範囲設定部 732b— 1によって設定された探索範囲 T2'内となる領域 B2 が確認される。
[0216] このように、画素 Gについて被写体色を推定するために用いられる領域 B2が確認 されると、まず、図 35に示す画素色確認部 732b— 3が、その画素 Gの色を確認し、 次に、図 35に示す被写体色探索部 732b— 4が、上記の領域 B2内の複数の画素の 色の中から、以下のような探索方法によって、その画素 Gについての被写体色を探 索する。
[0217] 図 38は、補正済みの順光撮影画像における境界領域内のある画素について被写 体色を探索する際の探索方法を示す図である。
[0218] 図 38には、補正済みの順光撮影画像における境界領域内のある画素について、 図 31の背景色推定部 732aで推定された背景色 C1と、図 35の画素色確認部 732b
—3で確認されたその画素の色 C2とを、 RGB色空間上で結ぶ直線 CL1が示されて いる。
[0219] 上述したように、補正済みの順光撮影画像における境界領域内の画素の色は、撮 影時に被写体の一部越しに背景が見えて、背景色と被写体色とが合成された合成 色となっている可能性がある。仮に、今、被写体色を探索しょうとしている画素の色が このような合成色となっている場合には、合成色である画素の色 C2と、その色 C2の 元となった背景色 C1と被写体色とは RGB色空間上の直線上に並ぶ。
[0220] そこで、図 35に示す被写体色探索部 732b— 4は、まず、上記の領域 B2内の複数 の画素の色の中から、上記の直線 CL1の延長線上に並ぶ色 C3を探索する。
[0221] このような色 C3が複数存在する場合には、この直線 CL1の延長線上で、画素の色 C2に最も近い色力 背景色 C1とともにその画素の色 C2の元となった可能性が最も 高い。そこで、被写体色探索部 732b— 4は、上記の直線 CL1の延長線上に並ぶ色 C3が複数存在する場合には、これらの色 C3の中から、画素の色 C2に最も近い色を 、この画素についての被写体色 C4として採用する。
[0222] 以上に説明した被写体色推定部 732bは、上記の探索範囲の設定から被写体色の 探索に至るまでの処理を、補正済みの順光撮影画像における境界領域内の全ての 画素について実行する。
[0223] 以上で、図 31に示す被写体色推定部 732bについての説明を終了し、次に、この 図 31に示す合成比推定部 732cについて説明する。尚、この合成比推定部 732cに ついての説明では上記の図 38を参照する。
[0224] この合成比推定部 732cは、図 38に示すように、背景色推定部 732aで推定された 背景色 C1と、被写体色推定部 732bで推定された被写体色 C4とを、 RGB色空間上 で結ぶ線分の長さに対する、背景色 C1と、その画素の色 C2とを結ぶ線分の長さの 割合を、背景色 C 1と被写体色 C4とで画素の色 C2を合成するときの合成比 ocとして 算出する。また、この合成比推定部 732cは、このような合成比 αの算出を、補正済 みの順光撮影画像における境界領域内の全ての画素について実行する。
[0225] 以上で、図 23の置換処理部 730が備える色推定部 732の詳細についての説明を 終了し、次に、この置換処理部 730が備える背景置換画像作成部 733の詳細につ いて説明する。
[0226] この背景置換画像作成部 733は、上述したように、まず、上記の補正済みの順光撮 影画像において、被写体マスクで定義される領域についてはそのまま残し、背景マス クで定義される領域を、顧客が所望する別の背景と置換する。
[0227] そして、この背景置換画像作成部 733は、境界領域内の各画素については、顧客 が所望する背景の色と、色推定部 732で推定された被写体色とを、色推定部 732で 推定された合成比で合成して合成色を求める。
[0228] 図 39は、補正済みの順光撮影画像における境界領域内のある画素について合成 色が求められる様子を示す図である。
[0229] この図 39には、 RGB色空間上で、推定された背景色 C1と、その画素の色 C2と、 推定された被写体色 C4とを結ぶ、図 38にも示した直線 CL1が示されている。ここで 、画素の色 C2は、背景色 C1と被写体色 C4とを結ぶ直線を、合成比 oc: ( 1 合成比 α )で分割する点であるといえる。そこで、背景置換画像作成部 733は、この図 39に 示すように、別の背景色 C5と、推定された被写体色 C4とを結ぶ直線 CL2を、合成比 a: ( 1 合成比 ex )で分割する点を合成色 C6として採用する。
[0230] この図 39を参照して説明した方法で、境界領域内の全ての画素について合成色 が求められると、背景置換画像作成部 733は、この全ての画素の色を、各画素につ V、て求められた合成色〖こ置換することにより、補正済みの順光撮影画像の背景が、 顧客が所望する別の背景に置換された背景置換画像を完成させる。
[0231] ここで、補正済みの順光撮影画像における境界領域内には、図 30等からもわかる ように、被写体の一部越しに背景が見えている部分以外にも、被写体のみで占めら れた部分や、背景のみで占められた部分も含まれる。被写体のみで占められた部分 の画素の色は被写体そのものの色であり、背景が別の背景に置換されたとしても、そ の画素の色は維持される必要がある。また、背景のみで占められた部分の画素の色 は背景そのものの色であり、背景が別の背景に置換されたときには、その画素の色 は、その別の背景色に完全に置換される必要がある。
[0232] 本実施形態では、背景色や被写体色や合成比の推定対象の画素が、被写体のみ で占められた部分の画素であった場合には、図 37に示す領域 B2のような、その画 素につ 、て被写体色を推定するために用いられる領域内のほとんどの画素の色力 推定対象の画素の色と同じ被写体そのものの色となる。その結果、このような画素に ついては、合成比 aがほぼ「1」となり、背景が置換される際には、この合成比 aに基 づいて合成色が求められるので、その画素の色である被写体そのものの色が維持さ れる。
[0233] 一方、背景色や被写体色や合成比の推定対象の画素が、背景のみで占められた 部分の画素であった場合には、その画素の色が、その画素について推定される背景 色と同じ背景そのものの色となる。その結果、このような画素については、合成比 α がほぼ「0」となり、背景が置換される際には、この合成比 aに基づいて、その画素の 色は、別の背景色に完全に置換されることとなる。
[0234] 結局、本実施形態では、背景色や被写体色や合成比の推定対象の画素が、被写 体の一部越しに背景が見えている部分の画素であった場合に、合成比 α力「0」と「1 」との間の値を持つこととなり、背景が置換される際に、被写体色と、別の背景色との 合成が行なわれて、自然な背景置換画像が作成される。
[0235] 図 40は、背景置換画像の一例を示す図である。
[0236] この図 40には、図 19に示す補正済みの順光撮影画像の背景を別の背景に置換し て作成された背景置換画像における、図 19中のエリア A1と同じ部分が拡大された 拡大図が示されている。
[0237] 背景置換画像作成部 733で作成される背景置換画像は、境界領域内の画素の色 が上記の合成色に置換された画像であり、この背景置換画像から、観賞者は、この 図 40に示すような、被写体 P'の頭髪越しに、置換された別の背景 TBが透けている 状態を認識することとなる。つまり、この背景置換画像作成部 733で作成される背景 置換画像は、背景が別の背景に自然に置換された画像となる。
[0238] 以上、図 1〜図 40を参照して説明したように、本実施形態の撮影システム 1によれ ば、まず、画像中の背景と被写体とで明るさが大きく異なり、背景と被写体とを互いに 誤認することなく区別できる補正済みの逆光撮影画像に基づ 、て、補正済みの順光 撮影画像における背景と被写体とが区別される。このため、この補正済みの順光撮 影画像の背景が別の背景に置換されるときに、被写体の一部が誤って背景に置換さ れてしまったり、背景置換画像の中に、古い背景が残ってしまったりする等といった 不具合が抑制されて、背景が所望の背景に自然に置換された背景置換画像を作成 することができる。
[0239] また、本実施形態の撮影システム 1によれば、補正済みの順光撮影画像における、 被写体領域と背景領域との境界領域が認識され、背景を置換する際には、この境界 領域内の画素の色が、置換される別の背景色と被写体色とが適切に合成された合成 色に置換される。これにより、例えば、被写体の一部越しに背景が見えている部分が あつたとしても、背景を置換すると、この被写体の一部越しに別の背景が見えている t ヽつた自然な背景置換画像を作成することができる。
[0240] 尚、上記では、本発明にいう背景置換装置の一例として、補正済みの逆光撮影画 像中で被写体が占めて 、る範囲を定義する被写体マスクと、背景が占めて 、る範囲 を定義する背景マスクとの 2つのマスクを作成し、これら 2つのマスクを用いて、補正 済みの順光撮影画像における背景の置換を行なう背景置換装置 700を例示したが、 本発明はこれに限るものではない。本発明の背景置換装置は、例えば、以下に説明 するように、上記の背景マスクのみを作成し、この背景マスクのみを用いて、補正済 みの順光撮影画像における背景の置換を行なうもの等であっても良い。
[0241] 以下に、背景マスクのみを用いた背景置換の方法の一例について説明する。尚、 ここでの背景マスクは、図 23に示すマスク作成部 731が行なう背景マスクの作成と同 じ方法で作成されたものであるとして、背景マスクの作成にっ 、ては重複説明を省略 する。
[0242] この背景マスクのみを用いた背景置換では、まず、この背景マスクに基づいて、補 正済みの順光撮影画像にぉ ヽて、背景マスクで定義される領域を除 ヽた領域を定義 する非背景マスクが作成される。この非背景マスクが定義する領域は、上記の被写体 マスクが定義する領域と、境界領域とを合わせた領域になる。そして、この非背景マ スクが定義する領域内の全ての画素について、背景色と、被写体色と、両者の合成 比の推定が行なわれる。尚、ここでの背景色は、図 31に示す背景色推定部 732aが 行なう推定方法と同じ方法によって推定されるものであるとして、背景色の推定につ いては重複説明を省略する。以下では、主に、被写体色の推定方法に注目して説明 する。
[0243] 図 41は、補正済みの順光撮影画像において、非背景マスクで定義される領域内の ある画素について被写体色を推定する際に、その画素を中心に探索範囲が設定さ れる様子を示す図である。ここで、この図 41では、図 29に示す被写体マスク Ml '力 S 定義する領域と、境界領域 M3とを合わせた領域が、上記の非背景マスク M4が定義 する領域の一例として挙げられて 、る。
[0244] 非背景マスク M4が定義する領域内のある画素 Gについて探索範囲を設定するに 当たっては、まず、この画素 Gを中心とした正方形状の所定の初期範囲 T3から出発 して徐々に探索範囲が拡張される。そして、補正済みの順光撮影画像において非背 景マスク M4で定義される領域の画素力 所定数を超えて探索範囲に含まれるように なったところで拡張が止められ、そのときの探索範囲 T3'が、被写体色推定のための 探索範囲として設定される。
[0245] 探索範囲が設定されると、画素 Gについて被写体色を推定するために用いる領域 として、補正済みの順光撮影画像における次の領域が確認される。
[0246] 図 42は、ある画素について被写体色を推定するために用いられる領域の一例を示 す図である。
[0247] この図 42に示すように、画素 Gについて被写体色を推定するために用いられる領 域として、補正済みの順光撮影画像において、非背景マスクで定義される領域であり 、かつ上記のように設定された探索範囲 T3'内となる領域 B3が確認される。
[0248] このように、画素 Gについて被写体色を推定するために用いられる領域 B3が確認 されると、まず、その画素 Gの色が確認され、次に、上記の領域 B3内の複数の画素 の色の中から、以下のような探索方法によって、その画素 Gについての被写体色が 探索される。
[0249] 図 43は、補正済みの順光撮影画像における、非背景マスクで定義される領域内の ある画素について被写体色を探索する際の探索方法を示す図である。
[0250] 図 43には、補正済みの順光撮影画像における境界領域内のある画素について、 推定された背景色 C7と、その画素の色 C8とを、 RGB色空間上で結ぶ直線 CL3が 示されている。
[0251] ここで、補正済みの順光撮影画像における非背景マスクで定義される領域には、上 述したような境界領域が含まれている。そして、この境界領域には被写体の一部越し に背景が見えている部分が含まれている可能性があり、そのような部分の画素の色 は、背景色と被写体色とを合成した合成色となっている。仮に、今、被写体色を探索 しょうとしている画素の色がこのような合成色となっている場合には、合成色である画 素の色 C8と、その色 C8の元となった背景色 C7と被写体色とは RGB色空間上の直 称上に业ふ。
[0252] そこで、まず、上記の領域 B3内の複数の画素の色の中から、上記の直線 CL3の延 長線上に並ぶ色 C9を探索する。このような色 C9が複数存在する場合、これら複数の 色 C9のうちの 1つの色が被写体色として採用される。
[0253] ここで、非背景マスクで定義される領域内には、上記の合成色を有する画素や、背 景色のみを有する画素等といった、被写体色以外の色を有する画素が含まれる。こ のため、上記の複数の色 C9のうちでは、画素の色 C8から最も遠い色力 背景色 C7 とともにその画素の色 C8の元となった被写体色である可能性が高い。
[0254] そこで、この非背景マスクで定義される領域内の画素の色の中から被写体色を探 索する方法では、上記の直線 CL3の延長線上に複数の色 C9が並んだ場合には、こ れらの色 C9の中から、画素の色 C7に最も遠い色を、この画素についての被写体色 C10として採用する。
[0255] このように被写体色が推定されると、この図 43に示すように、背景色推定部 732aで 推定された背景色 C7と、被写体色推定部 732bで推定された被写体色 C10とを、 R GB色空間上で結ぶ線分の長さに対する、背景色 C7と、その画素の色 C8とを結ぶ 線分の長さの割合を、背景色 C7と被写体色 C10とで画素の色 C8を合成するときの 合成比 αとして算出する。
[0256] そして、背景マスクのみを用いた背景置換では、以上に説明した探索範囲の設定 力 合成比の算出に至るまでの処理が、補正済みの順光撮影画像における、非背 景マスクで定義される領域内の全ての画素について実行される。
[0257] 以上説明した、背景色と被写体色と合成比との推定が終了すると、まず、補正済み の順光撮影画像における、背景マスクで定義される領域が、顧客が所望する別の背 景に置換される。次に、補正済みの順光撮影画像における、非背景マスクで定義さ れる領域内の全ての画素について、上記の図 39を参照して説明した方法で合成色 が求められ、この非背景マスクで定義される領域内の全ての画素の色が合成色に置 換されて、背景置換画像が完成される。
[0258] ここで、この非背景マスクで定義される領域内の、被写体のみで占められた部分の 画素については、合成比 αがほぼ「1」となり、背景が置換される際にも、その画素に おける被写体そのものの色が維持される。また、非背景マスクで定義される領域内の 、背景のみで占められた部分の画素については、合成比 aがほぼ「0」となり、背景が 置換される際には、その画素の色が、別の背景色に完全に置換される。
[0259] 以上、図 41〜図 43を参照して説明した、背景マスクのみを用いた背景置換によつ ても、上記の図 1〜図 40を参照して説明した、撮影システム 1と同様に、撮影画像に おける背景が所望の背景に自然に置換された背景置換画像を作成することができる
[0260] 次に、本発明の第 2実施形態について説明する。
[0261] この第 2実施形態は、上記の第 1実施形態とは、撮影システムのうちの撮影スタジオ の構成と、その撮影スタジオにおいて行なわれる撮影処理が異なっている。以下で は、第 2実施形態における、第 1実施形態との相違点に注目して説明し、その他の、 第 1実施形態と同等な点については重複説明を省略する。
[0262] 図 44は、本発明の撮影システムの第 2実施形態を示す図である。
[0263] 尚、この図 44では、図 1と同等な構成要素については、図 1と同じ符号が付され、こ の図 44を参照した以下の説明では、これらの構成要素についての重複説明を省略 する。 [0264] この図 44に示す撮影システム 2の撮影スタジオ 50では、 ELパネル 130用の電源 1 5がデジタルカメラ 16に接続されている。
[0265] デジタルカメラ 16は、上述した第 1実施形態と同様に、撮影者によって 1回シャツタ ボタンが押下されると 2回の撮影を連続して実行する。このとき、デジタルカメラ 16は 、撮影の度に、まず、電源 15に向けて、その電源 15に対して ELパネル 130を点灯さ せるように指示するパネル点灯指示信号を発信し、続いて、閃光発光装置 12に向け て、その閃光発光装置 12に対して閃光を発するように指示する閃光指示信号を発信 する。
[0266] 閃光発光装置 12は、 1回目の閃光指示信号に応じて閃光を発するが、 2回目の閃 光指示信号には応じきれず消灯したままとなる。
[0267] ここで、電源 15は、上記のパネル点灯指示信号が 2回連続して入力されると ELパ ネル 130を点灯させるように構成されて!、る。
[0268] 次に、このような撮影システム 2で実行される作業の流れについて説明する。尚、以 下の説明では、図 44に示す要素については特に図番を断らずに図 44中の符号を 使って参照する。
[0269] 図 45は、図 44の撮影システムで実行される作業の流れを示すフローチャートであ る。
[0270] 尚、この図 45では、図 3のフローチャートと同等な作業については、図 3と同じ符号 が付され、この図 45を参照した以下の説明では、これらの作業についての重複説明 を省略する。
[0271] この図 45のフローチャートが示す作業は、撮影スタジオ 50において、被写体 P、デ ジタルカメラ 16、および閃光発光装置 12がそれぞれ適当な位置に配置されており、 また、 ELパネル 130が消灯していることを前提として行なわれる。
[0272] 撮影者が、ピントや露光の調節等を行なった後にデジタルカメラ 16のシャツタボタン を押すと、被写体 Pに対する撮影が 2回連続して行なわれる。まず 1回目の撮影では 、デジタルカメラ 16から発信される閃光指示信号に応じて閃光発光装置 12が閃光を 発し、この閃光による順光状態で被写体 Pが撮影される (ステップ S201)。 2回目の撮 影の時には、まず、 2回目のパネル点灯指示信号に応じて電源 15が ELパネル 130 を点灯させる(ステップ S202)。そして、閃光発光装置 12が消灯しており、 ELパネル 130を点灯している状態、即ち、 ELパネル 130のみの照明による逆光状態で撮影が 行なわれる(ステップ S 203)。
[0273] 本実施形態において、このような撮影を行なう撮影スタジオ 50が、被写体を閃光発 光装置 12および ELパネル 130のそれぞれで順次に照らして複数 (本実施形態では 2つ)の撮影条件を作成する、本発明にいう撮影条件作成部の一例に相当する。
[0274] 上記のステップ S203の処理によって、 2回目の撮影が終了すると、デジタルカメラ 1 6内のメモリに一時的に保管された 2つの撮影画像が直ちにパーソナルコンピュータ 20に渡される。そして、その後、これらの 2つの撮影画像に基づいて、第 1実施形態 と同様の背景置換処理によって背景置換画像が作成され、表示画面 220aに表示さ れる。また、この背景置換画像を表わす画像データに基づぐプリンタ 30でのプリント 、および、顧客が希望する出力用記憶媒体への、その画像データの書込みのうちの 少なくとも一方が実行される。
[0275] 以上、図 44および図 45を参照して説明した、本発明の第 2実施形態の撮影システ ム 2でも、第 1実施形態の撮影システム 1と同様に、撮影画像における背景が所望の 背景に自然に置換された背景置換画像を作成することができる。
[0276] 次に、本発明の第 3実施形態について説明する。
[0277] この第 3実施形態は、撮影スタジオの構成と、その撮影スタジオにお ヽて行なわれ る撮影処理と、背景置換装置として動作しているパーソナルコンピュータで実行され る処理が、上記の第 1実施形態とは部分的に異なる。以下では、第 1実施形態との相 違点に注目して説明し、同等な点については重複説明を省略する。
[0278] 図 46は、本発明の撮影システムの第 3実施形態を示す図である。
[0279] 尚、この図 46では、図 1に示す第 1実施形態と同等な構成要素については、図 1と 同じ符号が付され、この図 46を参照した以下の説明では、これらの構成要素につい ての重複説明を省略する。
[0280] ここで、この図 46の撮影システム 3には、図 1に示す第 1実施形態とは異なり、デジ タルカメラおよび ELパネル用の電源として、図 44に示す第 2実施形態における、点 灯指示信号を発信するデジタルカメラ 16や点灯指示信号に応じて動作する電源 15 と同等なデジタルカメラおよび電源が備えられている。図 46では、これらのデジタル カメラおよび電源については、図 44と同じ符号を付し重複説明を省略する。
[0281] 以下、第 1実施形態および第 2実施形態の双方と本実施形態との相違点である、こ の図 46に示す撮影システム 3の撮影スタジオ 55が備えて 、る、閃光発光装置 17お よび ELパネル 180に注目して説明する。
[0282] 撮影スタジオ 55が備えている閃光発光装置 17では、極めて短時間で充電が完了 する。このため、この閃光発光装置 17は、デジタルカメラ 16によって上記のような連 写が行なわれる際には、撮影の度に発信される閃光指示信号全てに応じて閃光を 発することとなる。
[0283] また、撮影スタジオ 55が備えている ELパネル 180では、筐体 131内に収納された 分散型 EL素子 181は、赤色の蛍光体粉末によって発光色が調整されている。このた め、 ELパネル 180の色は、消灯時には薄い赤色となり、発光時には、分散型 EL素 子の発光色である青緑色が調整された青色となる。この ELパネル 180が、本発明に いう「色が変わる機能を持った背景パネル」の一例に相当する。
[0284] このような撮影システム 3で実行される作業の流れについて説明する。尚、以下の 説明では、図 46に示す要素については特に図番を断らずに図 46中の符号を使って 参照する。
[0285] 図 47は、図 46の撮影システムで実行される作業の流れを示すフローチャートであ る。
[0286] 尚、この図 47では、図 3のフローチャートと同等な作業については、図 3と同じ符号 が付され、この図 47を参照した以下の説明では、これらの作業についての重複説明 を省略する。
[0287] この図 47のフローチャートが示す作業は、撮影スタジオ 50において、被写体 P、デ ジタルカメラ 16、および閃光発光装置 17がそれぞれ適当な位置に配置されており、 また、 ELパネル 130が消灯していることを前提として行なわれる。
[0288] 撮影者が、ピントや露光の調節等を行なった後にデジタルカメラ 16のシャツタボタン を押すと、被写体 Pに対する撮影が 2回連続して行なわれる。 1回目の撮影では、デ ジタルカメラ 16から発信される閃光指示信号に応じて閃光発光装置 17が閃光を発し 、この閃光による順光状態で被写体 Pが撮影される (ステップ S301)。また、この 1回 目の撮影 (ステップ S301)では、 ELパネル 180が消灯しているため、被写体 Pの背 景が薄い赤色に写る。 2回目の撮影の時には、まず、 2回目のパネル点灯指示信号 に応じて電源 15が ELパネル 180を点灯させる(ステップ S302)。そして、本実施形 態では、 2回目の撮影の時にも閃光発光装置 17が閃光を発し、この 2回目の撮影が 、その閃光と ELパネル 180からの光の下で行なわれる(ステップ S303)。閃光発光 装置 17が発する閃光は、 ELパネル 180の光よりも高輝度であり、この 2回目の撮影 も、その高輝度の閃光で、デジタルカメラ 16側から被写体 Pが照らされるという順光 状態での撮影となる。ただし、このときには ELパネル 180が発光しているため、被写 体 Pの背景が、青緑色が調整された青色に写る。つまり、この図 47におけるステップ S301〜ステップ S303の処理によって、背景の色が互いに異なる 2つの撮影画像が 得られる。
[0289] 本実施形態では、上記のような撮影を行なう撮影スタジオ 55が、この ELパネル 18 0の色を変更して複数 (本実施形態では 2つ)の撮影条件を作成する、本発明に ヽぅ 撮影条件作成部の一例に相当する。
[0290] 背景の色が互いに異なる 2つの撮影画像が得られると、これら 2つの撮影画像が、 パーソナルコンピュータ 20に渡され (ステップ S 104)、各撮影画像に、次のような画 像補正処理が施される (ステップ S304)。
[0291] このステップ S304で行なわれる画像補正処理は、上記の第 1実施形態において、 撮影画像に施される画像補正処理と同じであり、台形歪みの補正と、撮影画像から の不要部分の除去による有効画像の作成と、赤目補正や、画像全体の色合いを好 ましい色合いに補正する等といった色補正処理である。ただし、上記の第 1実施形態 では、補正対象の 2つの撮影画像のうちの 1つが被写体の領域がシャドウ側に偏った 逆光撮影画像であるため、この逆光撮影画像にっ 、ては上記の色補正処理が除外 される。これに対し、この第 3実施形態において、画像補正処理の対象となる 2つの 撮影画像は、 2つとも順光撮影画像であるため、このステップ S304の処理では、これ ら 2つの撮影画像に対して、この色補正処理も含んだ、全く同じ内容の画像補正処 理が施される。 [0292] 次に、ステップ S304の処理による補正済みの 2つの撮影画像に基づいて、背景置 換画像が作成され (ステップ S305)、作成された背景置換画像の出力が行なわれる
[0293] 以下では、このステップ S305で行なわれる、即ち、本実施形態における背景置換 画像の作成処理にっ ヽて説明する。
[0294] まず、上記の補正済みの 2つの撮影画像の例を以下に示す。
[0295] 図 48は、 1回目の撮影に基づぐ補正済みの撮影画像の一例を示す図であり、図 4 9は、 2回目の撮影に基づぐ補正済み撮影画像の一例を示す図である。
[0296] これら図 48および図 49に示すように、 2つの撮影画像は、背景に写っている ELパ ネル 180の色以外は、ほぼ同じ画像である。即ち、前者の補正済み撮影画像 (以降 、第 1撮影画像と呼ぶ)では、 ELパネル 180が消灯しているため、背景の色が薄い赤 色であり、後者の補正済み撮影画像 (第 2撮影画像と呼ぶ)では、 ELパネル 180が 点灯して 、るため、背景の色は青緑色が調整された青色である。
[0297] ここで、本実施形態における背景置換画像の作成処理では、まず、第 1撮影画像を 構成する各画素の、第 2撮影画像において対応する位置の画素に対する色の変化 量にっ 、てのヒストグラムが作成される。
[0298] 図 50は、本発明の第 3実施形態における背景置換画像の作成処理で作成されるヒ ストグラムの一例を示す図である。
[0299] 本実施形態では、上記の色の変化量として、第 1撮影画像を構成する各画素の、 第 2撮影画像において対応する位置の画素に対する色相の変化量が採用されてい る。図 50には、第 1撮影画像を構成する各画素における上記の色相の変化量を、多 数の範囲に振り分け、各範囲についてどれだけの画素が振り分けられた力を頻度で 示した色相変化のヒストグラム H5が示されており、この色相変化のヒストグラム H5で は、横軸 H5—1に色相の変化量がとられ、縦軸 H5— 2に頻度がとられている。
[0300] 本実施形態における背景置換画像の作成処理では、この色相変化のヒストグラム H 5における 2つのピーク Pk3, Pk4それぞれに基づいて、次の 2つの閾値が計算され る。図 50に示すように色相の変化量が少ない図中左側のピーク Pk3からは、このピ ーク Pk3において、頻度が所定頻度以上となる色相の変化量の上限である第 1の閾 値 Sr3が計算される。また、色相の変化量が多い図中右側のピーク Pk4からは、この ピーク Pk4において、頻度が所定頻度以上となる色相の変化量の下限である第 2の 閾値 Sr4が計算される。
[0301] そして、この背景置換画像の作成処理では、上記の第 1撮影画像中の、色相の変 化量が第 1の閾値 Sr3以下となる画素の領域を定義する初期被写体マスクが設定さ れ、色相の変化量が第 2の閾値 Sr4以上となる画素の領域を定義する初期背景マス クが設定される。
[0302] 本実施形態では、このように 2つの初期マスクが設定されると、その後、これら 2つの 初期マスクを用いて背景置換画像が作成されるが、これら 2つの初期マスクを用いた 、この後の処理は、上述した第 1実施形態における 2つの初期マスクを用いた処理と 同様な処理となるので重複説明を省略する。
[0303] このように作成された背景置換画像は、表示画面 220aに表示され、また、この背景 置換画像を表わす画像データに基づぐプリンタ 30でのプリント、および、顧客が希 望する出力用記憶媒体への、その画像データの書込みのうちの少なくとも一方が実 行される。
[0304] 以上、図 46〜図 50を参照して説明した、本発明の第 3実施形態の撮影システム 3 でも、第 1実施形態の撮影システム 1と同様に、撮影画像における背景が所望の背景 に自然に置換された背景置換画像を作成することができる。
[0305] 尚、上記に説明した本発明の第 3実施形態の撮影システム 3では、図 47のフローチ ヤートに示したように、 2回の撮影が、いずれの回も閃光発光装置 17による閃光下で 実行される。しかし、例えば乳幼児やペット等といった、瞬間的な閃光に驚いてしまう ような被写体を撮影するに当たっては、このような閃光は無い方が好ましい。
[0306] 上記の第 3実施形態の撮影システム 3では、閃光発光装置 17の電源を落とす、ある いはデジタルカメラ 11と閃光発光装置 17とを繋ぐケーブルを外す等と 、つた方法で 撮影時の閃光を無くし、その閃光に替えて、例えば高輝度の照明光や日光等といつ た定常的な光で被写体を照らす等といった簡単な工夫により、上記のような閃光が無 い方が好ましい被写体に対処することができる。このような方法によれば、閃光が無 い状態でも図 47のフローチャートでの撮影で得られるのと同様な、背景色が互いに 異なる 2枚の撮影画像が得られるので、後は、図 48〜図 50を参照して説明した方法 により、被写体領域と背景領域と境界領域とを区別して、背景が所望の背景に自然 に置換された背景置換画像を作成することができる。
[0307] 次に、本発明の第 4実施形態について説明する。
[0308] この第 4実施形態は、撮影スタジオの構成と、その撮影スタジオにお ヽて行なわれ る撮影処理と、背景置換装置として動作しているパーソナルコンピュータで実行され る処理が、上記の第 1実施形態とは部分的に異なる。以下では、第 1実施形態との相 違点に注目して説明し、同等な点については重複説明を省略する。
[0309] 図 51は、本発明の撮影システムの第 4実施形態を示す図である。
[0310] 尚、この図 51では、図 1に示す第 1実施形態と同等な構成要素については、図 1と 同じ符号が付され、この図 51を参照した以下の説明では、これらの構成要素につい ての重複説明を省略する。
[0311] ここで、この図 51の撮影システム 4には、図 1に示す第 1実施形態とは異なり、閃光 発光装置として、図 46に示す第 3実施形態における閃光発光装置 17と同等な、充 電時間の短い閃光発光装置が備えられている。図 51では、この閃光発光装置につ いては、図 46と同じ符号を付し重複説明を省略する。
[0312] 以下、第 1実施形態および第 3実施形態の双方と本実施形態との相違点である、こ の図 51に示す撮影システム 4の撮影スタジオ 60が備えている、照明パネル 190、そ の照明パネル 190用の電源 81、およびデジタルカメラ 82に注目して説明する。
[0313] この図 51に示す撮影システム 4の撮影スタジオ 60は、被写体 Pを背後から照らす、 本発明にいう照明装置の一例として、後述の照明パネル 190を備えている。さらに、 撮影スタジオ 60は、その照明パネル 190用の電源 81と、シャツタボタンの 1回の押下 について 2回撮影を行なうとともに、撮影の度に、閃光発光装置 17に向力つて上記 の閃光指示信号を発信し、電源 81に向かって、照明パネル 190を点灯するように指 示する点灯指示信号を発信するデジタルカメラ 82を備えている。ここで、電源 81は、 点灯指示信号が 2回連続して入力されると照明パネル 190を点灯させるように構成さ れている。
[0314] 図 52は、図 51に示す照明パネルの内部構造を示す図である。 [0315] この照明パネル 190は、被写体 Pが載る載置面 191aと被写体 Pの背後の面 191b とを有する筐体 191、および、その筐体 191内に並べられて収納された複数の蛍光 灯 192力もなる。ここで、筐体 191の 2つの面 191a, 191bは、蛍光灯 192の光を拡 散させて、被写体 Pを一様に照らす拡散板の役割を担っている。また、被写体 Pの背 後の面 191bの四隅には 4つのマーカ 191cが配置されている。これら 4つのマーカ 1 91cが果たす役割は、上述した第 1実施形態におけるマーカ 131cが果たす役割と 同じであるので重複説明を省略する。
[0316] 以上、図 51および図 52を参照して説明した、撮影システム 4で実行される作業の 流れについて説明する。尚、以下の説明では、図 51および図 52に示す要素につい ては特に図番を断らずに各図中の符号を使って参照する。
[0317] 図 53は、図 51の撮影システムで実行される作業の流れを示すフローチャートであ る。
[0318] 尚、この図 53では、図 3のフローチャートと同等な作業については、図 3と同じ符号 が付され、この図 53を参照した以下の説明では、これらの作業についての重複説明 を省略する。
[0319] この図 53のフローチャートが示す作業は、撮影スタジオ 60において、被写体 P、デ ジタルカメラ 82、および閃光発光装置 17がそれぞれ適当な位置に配置されており、 また、照明パネル 190が消灯していることを前提として行なわれる。
[0320] 撮影者が、ピントや露光の調節等を行なった後にデジタルカメラ 82のシャツタボタン を押すと、被写体 Pに対する撮影が 2回連続して行なわれる。 1回目の撮影では、デ ジタルカメラ 82から発信される閃光指示信号に応じて閃光発光装置 17が閃光を発し 、この閃光による順光状態で被写体 Pが撮影される (ステップ S401)。また、この 1回 目の撮影 (ステップ S401)では、照明パネル 190が消灯しているため、被写体 Pの背 景が暗く写る。 2回目の撮影の時には、まず、 2回目の点灯指示信号に応じて電源 1 5が照明パネル 190を点灯させる (ステップ S402)。そして、本実施形態では、 2回目 の撮影の時にも閃光発光装置 17が閃光を発し、この 2回目の撮影が、その閃光と照 明パネル 190からの光の下で行なわれる(ステップ S403)。この 2回目の撮影も、デ ジタルカメラ 82側力も高輝度の閃光で被写体 Pが照らされるので、順光状態での撮 影となる。ただし、このときには照明パネル 190が発光しているため、被写体 Pの背景 が明るく写る。つまり、この図 53におけるステップ S401〜ステップ S403の処理によ つて、背景の明るさが互いに異なる 2つの撮影画像が得られる。
[0321] 本実施形態にぉ 、て、このような撮影を行なう撮影スタジオ 60が、照明パネル 190 で被写体を照らす光の明るさを変更して複数 (本実施形態では 2つ)の撮影条件を作 成する、本発明にいう撮影条件作成部の一例に相当する。
[0322] 背景の明るさが互いに異なる 2つの撮影画像が得られると、これら 2つの撮影画像 1S パーソナルコンピュータ 20に渡され (ステップ S104)、これら 2つの撮影画像に対 して、上記の第 3実施形態と同様に、上記の色補正処理も含んだ、全く同じ内容の画 像補正処理が施される (ステップ S404)。
[0323] 次に、ステップ S404の処理による補正済みの 2つの撮影画像に基づ 、て、背景置 換画像が作成され (ステップ S405)、作成された背景置換画像の出力が行なわれる
[0324] 以下では、このステップ S405で行なわれる、即ち、本実施形態における背景置換 画像の作成処理にっ ヽて説明する。
[0325] まず、上記の補正済みの 2つの撮影画像の例を以下に示す。
[0326] 図 54は、 1回目の撮影に基づぐ補正済みの撮影画像の一例を示す図であり、図 5
5は、 2回目の撮影に基づぐ補正済み撮影画像の一例を示す図である。
[0327] これら図 54および図 55に示すように、 2つの撮影画像は、背景に写っている照明 パネル 190の明るさ以外は、ほぼ同じ画像である。即ち、前者の補正済み撮影画像( 以降、第 1撮影画像と呼ぶ)では、照明パネル 190が消灯しているため、背景が暗ぐ 後者の補正済み撮影画像 (第 2撮影画像と呼ぶ)では、照明パネル 190が点灯して いるため、背景が明るくなつている。
[0328] ここで、本実施形態における背景置換画像の作成処理では、まず、第 1撮影画像を 構成する各画素の、第 2撮影画像において対応する位置の画素に対する明るさの変 化量にっ 、てのヒストグラムが作成される。
[0329] 図 56は、本発明の第 4実施形態における背景置換画像の作成処理で作成されるヒ ストグラムの一例を示す図である。 [0330] 本実施形態では、上記の明るさの変化量として、第 1撮影画像を構成する各画素の 、第 2撮影画像において対応する位置の画素に対する輝度の変化量が採用されて いる。図 56には、第 1撮影画像を構成する各画素における上記の輝度の変化量を、 多数の範囲に振り分け、各範囲についてどれだけの画素が振り分けられた力を頻度 で示した輝度変化のヒストグラム H6が示されており、この輝度変化のヒストグラム H6 では、横軸 H6—1に輝度の変化量がとられ、縦軸 H6— 2に頻度がとられている。
[0331] 本実施形態における背景置換画像の作成処理では、この輝度変化のヒストグラム H 6における 2つのピーク Pk5, Pk6それぞれに基づいて、次の 2つの閾値が計算され る。図 56に示すように輝度の変化量が少ない図中左側のピーク Pk5からは、このピ ーク Pk5において、頻度が所定頻度以上となる輝度の変化量の上限である第 1の閾 値 Sr5が計算される。また、輝度の変化量が多い図中右側のピーク Pk6からは、この ピーク Pk6において、頻度が所定頻度以上となる輝度の変化量の下限である第 2の 閾値 Sr6が計算される。
[0332] そして、この背景置換画像の作成処理では、上記の第 1撮影画像中の、輝度の変 化量が第 1の閾値 Sr5以下となる画素の領域を定義する初期被写体マスクが設定さ れ、輝度の変化量が第 2の閾値 Sr6以上となる画素の領域を定義する初期背景マス クが設定される。
[0333] 本実施形態では、このように 2つの初期マスクが設定されると、その後、これら 2つの 初期マスクを用いて背景置換画像が作成されるが、これら 2つの初期マスクを用いた 、この後の処理は、上述した第 1実施形態における 2つの初期マスクを用いた処理と 同様な処理となるので重複説明を省略する。
[0334] このように作成された背景置換画像は、表示画面 220aに表示され、また、この背景 置換画像を表わす画像データに基づぐプリンタ 30でのプリント、および、顧客が希 望する出力用記憶媒体への、その画像データの書込みのうちの少なくとも一方が実 行される。
[0335] 以上、図 51〜図 56を参照して説明した、本発明の第 4実施形態の撮影システム 4 でも、第 1実施形態の撮影システム 1と同様に、撮影画像における背景が所望の背景 に自然に置換された背景置換画像を作成することができる。 [0336] 次に、本発明の第 5実施形態について説明する。
[0337] この第 5実施形態は、撮影スタジオの構成と、背景置換装置として動作して!/ヽるパ 一ソナルコンピュータで実行される処理が、上記の第 1実施形態とは部分的に異なる
。以下では、第 1実施形態との相違点に注目して説明し、同等な点については重複 説明を省略する。
[0338] 図 57は、本発明の撮影システムの第 5実施形態を示す図である。
[0339] 尚、この図 57では、図 1に示す第 1実施形態と同等な構成要素については、図 1と 同じ符号が付され、この図 57を参照した以下の説明では、これらの構成要素につい ての重複説明を省略する。
[0340] ここで、この図 57の撮影システム 5には、図 1に示す第 1実施形態とは異なり、図 51 に示す第 4実施形態における照明パネル 190と同等な照明パネルが備えられている
。図 57では、この照明パネルについては、図 51と同じ符号を付し重複説明を省略す る。
[0341] この図 57に示す撮影システム 5の撮影スタジオ 65は、図 1に示す第 1実施形態と同 等な閃光発光装置 12を備えている。この閃光発光装置 12は、上述したように、充電 に時間がかかるため、デジタルカメラ 11が上記のような連写を行なう際には、 1回目 の撮影のときにのみ閃光を発し、 2回目の撮影のときには消灯したままとなる。
[0342] また、この撮影スタジオ 65が備えている、照明パネル 190用の電源 83は、人手によ つて操作されるものである。
[0343] このような撮影システム 5で実行される作業の流れについて説明する。尚、以下の 説明では、図 57に示す要素については特に図番を断らずに図 57中の符号を使って 参照する。
[0344] 図 58は、図 57の撮影システムで実行される作業の流れを示すフローチャートであ る。
[0345] 尚、この図 58では、図 3のフローチャートと同等な作業については、図 3と同じ符号 が付され、この図 58を参照した以下の説明では、これらの作業についての重複説明 を省略する。
[0346] この図 58のフローチャートが示す作業は、撮影スタジオ 65において、被写体 P、デ ジタルカメラ 11、および閃光発光装置 12がそれぞれ適当な位置に配置されて ヽるこ とを前提として行なわれる。
[0347] まず、電源 83が操作されて、その電源 83から照明パネル 190に電圧が印加され、 照明パネル 190が点灯する (ステップ S501)。その後、撮影スタジオ 65では、閃光発 光装置 12が発する、照明パネル 190の照明よりも高輝度の閃光による順光状態での 撮影 (ステップ S502)と、照明パネル 190のみの照明による逆光状態での撮影 (ステ ップ S 503)とが連続して行なわれる。
[0348] 本実施形態において、このような撮影を行なう撮影スタジオ 65が、照明パネル 190 による照明の定常的な存在と、閃光発光装置 12の閃光による照明の有無とによって 複数 (本実施形態では 2つ)の撮影条件を作成する、本発明に!ヽぅ撮影条件作成部 の一例に相当する。
[0349] ここで、照明パネル 190の発光時の輝度は、閃光発光装置 12からの閃光の影響を 打ち消す程度に強い。この結果、上記の順光状態での撮影 (ステップ S 502)と逆光 状態での撮影 (ステップ S503)とで、背景の明るさは互いにほぼ同等で、被写体の 明るさが互いに異なる 2つの撮影画像が得られる。
[0350] ステップ S501〜ステップ S503の処理によって、順光撮影画像と逆光撮影画像と いう 2つの撮影画像が得られると、これら 2つの撮影画像が、パーソナルコンピュータ 20に渡される (ステップ S104)。そして、上記の第 1実施形態と同様に、順光撮影画 像に対しては、台形歪みの補正と、撮影画像からの不要部分の除去による有効画像 の作成と、赤目補正や、画像全体の色合いを好ましい色合いに補正する等といった 色補正処理が施され、逆光撮影画像に対しては、色補正処理を除いて、順光撮影 画像に対して施される画像補正処理と全く同じ画像補正処理が施される (ステップ S 105)。
[0351] 次に、ステップ S 105の処理による補正済みの 2つの撮影画像に基づいて、背景置 換画像が作成され (ステップ S504)、作成された背景置換画像の出力が行なわれる
[0352] 以下では、このステップ S504で行なわれる、即ち、本実施形態における背景置換 画像の作成処理にっ ヽて説明する。 [0353] まず、上記の補正済みの 2つの撮影画像の例を以下に示す。
[0354] 図 59は、 1回目の撮影に基づぐ補正済みの撮影画像の一例を示す図であり、図 6 0は、 2回目の撮影に基づぐ補正済み撮影画像の一例を示す図である。
[0355] これら図 59および図 60に示すように、 2つの撮影画像は、被写体 Pの明るさ以外は 、ほぼ同じ画像である。即ち、前者の補正済み撮影画像 (以降、第 1撮影画像と呼ぶ )は、順光状態で得られた撮影画像であるため、画像中の被写体が明るぐ後者の補 正済み撮影画像 (第 2撮影画像と呼ぶ)は、逆光状態で得られた撮影画像であるた め、画像中の被写体が暗くなつている。
[0356] ここで、本実施形態における背景置換画像の作成処理では、まず、第 1撮影画像を 構成する各画素の、第 2撮影画像において対応する位置の画素に対する明るさの変 化量にっ 、てのヒストグラムが作成される。
[0357] 図 61は、本発明の第 5実施形態における背景置換画像の作成処理で作成されるヒ ストグラムの一例を示す図である。
[0358] 本実施形態では、上記の明るさの変化量として、第 1撮影画像を構成する各画素の 、第 2撮影画像において対応する位置の画素に対する輝度の変化量が採用されて いる。図 61には、第 1撮影画像を構成する各画素における上記の輝度の変化量を、 多数の範囲に振り分け、各範囲についてどれだけの画素が振り分けられた力を頻度 で示した輝度変化のヒストグラム H7が示されており、この輝度変化のヒストグラム H7 では、横軸 H7—1に輝度の変化量がとられ、縦軸 H7— 2に頻度がとられている。
[0359] 本実施形態における背景置換画像の作成処理では、この輝度変化のヒストグラム H 7における 2つのピーク Pk7, Pk8それぞれに基づいて、次の 2つの閾値が計算され る。図 61に示すように輝度の変化量が少ない図中左側のピーク Pk7からは、このピ ーク Pk7において、頻度が所定頻度以上となる輝度の変化量の上限である第 1の閾 値 Sr7が計算される。また、輝度の変化量が多い図中右側のピーク Pk8からは、この ピーク Pk8において、頻度が所定頻度以上となる輝度の変化量の下限である第 2の 閾値 Sr8が計算される。
[0360] そして、この背景置換画像の作成処理では、上記の第 1撮影画像中の、輝度の変 化量が第 1の閾値 Sr7以下となる画素の領域を定義する初期背景マスクが設定され 、輝度の変化量が第 2の閾値 Sr8以上となる画素の領域を定義する初期被写体マス クが設定される。
[0361] 本実施形態では、このように 2つの初期マスクが設定されると、その後、これら 2つの 初期マスクを用いて背景置換画像が作成されるが、これら 2つの初期マスクを用いた 、この後の処理は、上述した第 1実施形態における 2つの初期マスクを用いた処理と 同様な処理となるので重複説明を省略する。
[0362] このように作成された背景置換画像は、表示画面 220aに表示され、また、この背景 置換画像を表わす画像データに基づぐプリンタ 30でのプリント、および、顧客が希 望する出力用記憶媒体への、その画像データの書込みのうちの少なくとも一方が実 行される。
[0363] 以上、図 57〜図 61を参照して説明した、本発明の第 5実施形態の撮影システム 5 でも、第 1実施形態の撮影システム 1と同様に、撮影画像における背景が所望の背景 に自然に置換された背景置換画像を作成することができる。
[0364] 次に、本発明の第 6実施形態について説明する。
[0365] この第 6実施形態は、撮影スタジオの構成と、その撮影スタジオにお ヽて行なわれ る撮影処理と、背景置換装置として動作しているパーソナルコンピュータで実行され る処理が、上記の第 1実施形態とは部分的に異なる。以下では、第 1実施形態との相 違点に注目して説明し、同等な点については重複説明を省略する。
[0366] 図 62は、本発明の撮影システムの第 6実施形態を示す図である。
[0367] 尚、この図 62では、図 1に示す第 1実施形態と同等な構成要素については、図 1と 同じ符号が付され、この図 62を参照した以下の説明では、これらの構成要素につい ての重複説明を省略する。
[0368] 以下、第 1実施形態と本実施形態との相違点である、この図 62に示す撮影システ ム 6の撮影スタジオ 90が備えている閃光発光装置 84、デジタルカメラ 85、および背 景パネル 86に注目して説明する。
[0369] この撮影スタジオ 90は、閃光の偏光状態を変える偏光板 84aを有する、充電時間 の短い閃光発光装置 84を備えている。この閃光発光装置 84の偏光板 84aは、基本 的には、閃光を、第 1の向きの直線偏光に変える。ただし、後述の偏光切換信号を受 信すると、閃光を、第 1の向きに直交した第 2の向きの直線偏光に変える。
[0370] この撮影スタジオ 90が備えているデジタルカメラ 85は、上述した第 1実施形態と同 様に、撮影者によって 1回シャツタボタンが押下されると 2回の撮影を連続して実行す る。このとき、デジタルカメラ 85は、撮影の度に、閃光発光装置 84の本体 84bに向け て、その本体 84bに対して閃光を発するように指示する閃光指示信号を発信する。た だし、 2回目に閃光指示信号を発信するときには、まず、閃光発光装置 84の偏光板 84aに向けて、その偏光板 84aに対して閃光の偏光状態を変えるように指示する偏 光切換信号を発信した後に、閃光指示信号を発信する。これにより、閃光発光装置 8 4は、 1回目の撮影時には、第 1の向きに偏光した閃光を発し、 2回目の撮影時には、 第 2の向きに偏光した閃光を発することとなる。
[0371] また、この撮影スタジオ 90は、被写体 Pが載る載置面 86aと、被写体 Pの背後の面 8 6bとのそれぞれにおいて、偏光状態の違いによって反射光の明るさが異なる背景パ ネノレ 86を備えて!/ヽる。この背景ノ ネノレ 86の 2つの面 86a, 86bは、ともに、第 1の向き に偏光した光を弱く反射し、第 2の向きに偏光した光を強く反射する。また、被写体 P の背後の面 86bの四隅には 4つのマーカ 86cが配置されている。これら 4つのマーカ 86cが果たす役割は、上述した第 1実施形態におけるマーカ 131cが果たす役割と 同じであるので重複説明を省略する。
[0372] ここで、本実施形態における閃光発光装置 84が、本発明にいう「閃光の偏光状態 を変える機能を持った閃光発光装置」の一例に相当し、背景パネル 86が、本発明に いう「偏光状態の違いによって反射光の明るさが異なる背景パネル」の一例に相当す る。
[0373] このような撮影システム 6で実行される作業の流れについて説明する。尚、以下の 説明では、図 62に示す要素については特に図番を断らずに図 62中の符号を使って 参照する。
[0374] 図 63は、図 62の撮影システムで実行される作業の流れを示すフローチャートであ る。
[0375] 尚、この図 63では、図 3のフローチャートと同等な作業については、図 3と同じ符号 が付され、この図 63を参照した以下の説明では、これらの作業についての重複説明 を省略する。
[0376] この図 63のフローチャートが示す作業は、撮影スタジオ 90において、被写体 P、デ ジタルカメラ 85、および閃光発光装置 84がそれぞれ適当な位置に配置されているこ とを前提として行なわれる。
[0377] 撮影者が、ピントや露光の調節等を行なった後にデジタルカメラ 85のシャツタボタン を押すと、被写体 Pに対する撮影が 2回連続して行なわれる。 1回目の撮影では、デ ジタルカメラ 85から発信される閃光指示信号に応じて閃光発光装置 84が閃光を発し 、被写体 Pが撮影される (ステップ S601)。また、この 1回目の撮影 (ステップ S601) では、閃光が第 1の向きに偏光した光であり、背景パネル 86がこの閃光を弱く反射す るので、被写体 Pの背景が暗く写る。 2回目の撮影の時には、まず、上記の偏光切換 信号に応じて、閃光発光装置 84の偏光板 84aが、閃光を第 2の向きの直線偏光に 変えるようにセットされる (ステップ S602)。そして、閃光指示信号に応じて閃光発光 装置 84が閃光を発し、 2回目の撮影が行なわれる (ステップ S603)。この 2回目の撮 影 (ステップ S603)では、閃光が第 2の向きに偏光した光であり、背景パネル 86がこ の閃光を強く反射するので、被写体 Pの背景が明るく写る。つまり、この図 63におけ るステップ S601〜ステップ S603の処理によって、背景の明るさが互いに異なる 2つ の撮影画像が得られる。
[0378] 本実施形態において、このような撮影を行なう撮影スタジオ 90が、閃光発光装置 8 4による、互いに偏光状態が異なる複数回の閃光 (本実施形態では 2回)によって複 数 (本実施形態では 2つ)の撮影条件を作成する、本発明に!ヽぅ撮影条件作成部の 一例に相当する。
[0379] 背景の明るさが互いに異なる 2つの撮影画像が得られると、これら 2つの撮影画像 1S パーソナルコンピュータ 20に渡され (ステップ S104)、これら 2つの撮影画像に対 して、上記の第 3および第 4実施形態と同様に、上記の色補正処理も含んだ、全く同 じ内容の画像補正処理が施される (ステップ S604)。
[0380] 次に、ステップ S604の処理による補正済みの 2つの撮影画像に基づ 、て、背景置 換画像が作成され (ステップ S605)、作成された背景置換画像の出力が行なわれる [0381] 以下では、このステップ S605で行なわれる、即ち、本実施形態における背景置換 画像の作成処理にっ ヽて説明する。
[0382] まず、上記の補正済みの 2つの撮影画像の例を以下に示す。
[0383] 図 64は、 1回目の撮影に基づぐ補正済みの撮影画像の一例を示す図であり、図 6 5は、 2回目の撮影に基づぐ補正済み撮影画像の一例を示す図である。
[0384] これら図 64および図 65に示すように、 2つの撮影画像は、背景に写っている背景 パネル 86の明るさ以外は、ほぼ同じ画像である。即ち、前者の補正済み撮影画像( 以降、第 1撮影画像と呼ぶ)では、背景パネル 86が撮影時の閃光を弱く反射したた め、背景が暗ぐ後者の補正済み撮影画像 (第 2撮影画像と呼ぶ)では、背景パネル 86が撮影時の閃光を強く反射したため、背景が明るくなつている。
[0385] ここで、本実施形態における背景置換画像の作成処理では、まず、第 1撮影画像を 構成する各画素の、第 2撮影画像において対応する位置の画素に対する明るさの変 化量にっ 、てのヒストグラムが作成される。
[0386] 図 66は、本発明の第 6実施形態における背景置換画像の作成処理で作成されるヒ ストグラムの一例を示す図である。
[0387] 本実施形態では、上記の明るさの変化量として、第 1撮影画像を構成する各画素の 、第 2撮影画像において対応する位置の画素に対する輝度の変化量が採用されて いる。図 66には、第 1撮影画像を構成する各画素における上記の輝度の変化量を、 多数の範囲に振り分け、各範囲についてどれだけの画素が振り分けられた力を頻度 で示した輝度変化のヒストグラム H8が示されており、この輝度変化のヒストグラム H8 では、横軸 H8—1に輝度の変化量がとられ、縦軸 H8— 2に頻度がとられている。
[0388] 本実施形態における背景置換画像の作成処理では、この輝度変化のヒストグラム H 8における 2つのピーク Pk9, PklOそれぞれに基づいて、次の 2つの閾値が計算さ れる。図 66に示すように輝度の変化量が少ない図中左側のピーク Pk9からは、この ピーク Pk9において、頻度が所定頻度以上となる輝度の変化量の上限である第 1の 閾値 Sr9が計算される。また、輝度の変化量が多い図中右側のピーク PklOからは、 このピーク PklOにおいて、頻度が所定頻度以上となる輝度の変化量の下限である 第 2の閾値 SrlOが計算される。 [0389] そして、この背景置換画像の作成処理では、上記の第 1撮影画像中の、輝度の変 化量が第 1の閾値 Sr9以下となる画素の領域を定義する初期被写体マスクが設定さ れ、輝度の変化量が第 2の閾値 SrlO以上となる画素の領域を定義する初期背景マ スクが設定される。
[0390] 本実施形態では、このように 2つの初期マスクが設定されると、その後、これら 2つの 初期マスクを用いて背景置換画像が作成されるが、これら 2つの初期マスクを用いた 、この後の処理は、上述した第 1実施形態における 2つの初期マスクを用いた処理と 同様な処理となるので重複説明を省略する。
[0391] このように作成された背景置換画像は、表示画面 220aに表示され、また、この背景 置換画像を表わす画像データに基づぐプリンタ 30でのプリント、および、顧客が希 望する出力用記憶媒体への、その画像データの書込みのうちの少なくとも一方が実 行される。
[0392] 以上、図 62〜図 66を参照して説明した、本発明の第 6実施形態の撮影システム 6 でも、第 1実施形態の撮影システム 1と同様に、撮影画像における背景が所望の背景 に自然に置換された背景置換画像を作成することができる。
[0393] 次に、本発明の第 7実施形態について説明する。
[0394] この第 7実施形態は、撮影スタジオの構成が、上記の第 1実施形態とは部分的に異 なる。以下では、第 1実施形態との相違点に注目して説明し、同等な点については重 複説明を省略する。
[0395] 図 67は、本発明の撮影システムの第 7実施形態を示す図である。
[0396] 尚、この図 67では、図 1に示す第 1実施形態と同等な構成要素については、図 1と 同じ符号が付され、この図 67を参照した以下の説明では、これらの構成要素につい ての重複説明を省略する。
[0397] 以下、第 1実施形態と本実施形態との相違点である、この図 67に示す撮影システ ム 7の撮影スタジオ 95が備えているデジタルカメラ 87および 3つの閃光発光装置 88 a, 88b, 88cに注目して説明する。
[0398] この撮影スタジオ 95は、閃光の光量が可変の 3つの閃光発光装置 88a, 88b, 88c を備えている。これら 3つの閃光発光装置 88a, 88b, 88cは、パーソナルコンビユー タ 20に接続されている。ここで、これら 3つの閃光発光装置 88a, 88b, 88cを合わせ たもの力 本発明にいう発光装置の一例に相当する。
[0399] 本実施形態では、サーバ 40に格納されている複数の置換用の背景それぞれには
、被写体を照らす光の方向や明るさといった条件を表わす光情報が付与されている
。この光情報が、本発明にいう「光情報」の一例に相当する。
[0400] 例えば、画像中の右側から光が差して!/、る背景にっ 、ては、被写体を右側からの 光で照らすという条件を表わす光情報が付与される。また、例えば、夕景ゃ曇天等と
V、つた喑 、背景にっ 、ては、被写体を暗めの光で照らすと 、う条件を表わす光情報 が付与される。
[0401] パーソナルコンピュータ 20において、撮影画像中の背景と置換する、顧客が所望 する別の背景が決定されると、 3つの閃光発光装置 88a, 88b, 88cそれぞれにおけ るオン/オフ状態や光量等といった発光条件が、その決定された置換用の背景に付 与された光情報が表わす条件を最大限実現できるような発光条件に決定される。そ して、パーソナルコンピュータ 20から各閃光発光装置に対して、それぞれ決定された 発光条件が示すオン Zオフ状態や光量で閃光を発するように指示する指示信号が 送られる。
[0402] デジタルカメラ 87は、上述した第 1実施形態と同様に、撮影者によって 1回シャツタ ボタンが押下されると 2回の撮影を連続して実行する。このとき、デジタルカメラ 87は 、撮影の度に、各閃光発光装置に向けて、閃光を発するように指示する閃光指示信 号を発信する。これにより、 3つの閃光発光装置 88a, 88b, 88cは、それぞれ 1回目 の撮影時に、パーソナルコンピュータ 20から指示されたオン Zオフ状態や光量で閃 光を発する。その結果、その 1回目の撮影によって、置換用の背景に応じた閃光で 被写体が照らされた順光撮影画像が得られる。そして、その順光撮影画像を使って 背景置換画像が作成することにより、背景に適した自然な光で照らされた被写体が 写った自然な背景置換画像が容易に作成されることとなる。
[0403] 尚、上記では、本発明の撮影システムの一実施形態として、 1回目の撮影時に閃光 発光装置 12が閃光を発し、 2回目の撮影時には閃光発光装置 12が消灯しているこ とにより、順光撮影と逆光撮影とをこの順序で連続して行なうと ヽぅ撮影システム 1を 挙げて説明したが、本発明はこれに限るものではなぐ本発明の撮影システムは、例 えば、順光撮影と逆光撮影とをこの順序とは逆の順序で連続して行なうと!、うもので あっても良い。このような形態の撮影システムは、例えば、上記の実施形態において
、デジタルカメラ力 閃光発光装置に向けて 1回の撮影の度に発信される、閃光発光 装置に閃光を発するように指示する指示信号を、 1回目の撮影時には遮断し、 2回目 の撮影時には通過させる遮断回路等を、上記の実施形態にぉ 、てデジタルカメラと 閃光発光装置とを繋ぐ上記の指示信号の伝送ライン上に設置することにより構築さ れる。
[0404] また、上記では、本発明にいう閃光発光装置の一例として、 1回発光すると、次に発 光できるようになるまで充電に時間がかかり、撮影が 2回連続して行なわれるときには 、 1回目の撮影時にのみ閃光を発するという閃光発光装置 12を挙げて説明したが、 本発明はこれに限るものではない。本発明の閃光発光装置は、例えば、充電が極め て短時間で済み、撮影が 2回連続して行なわれるときに、 2回とも閃光を発することが できるような高速型の閃光発光装置であっても良い。ただし、このような高速型の閃 光発光装置を用いる場合にも、不要な指示信号を遮断する上記のような遮断回路等 が必要となる。
[0405] また、上記では、本発明に 、う撮影装置の一例としてデジタルカメラ 11を挙げて説 明したが、本発明はこれに限るものではなぐ本発明の撮影装置は、フィルム上に画 像を撮影するフィルムカメラ等であっても良い。この場合、フィルム上の撮影画像は、 例えばフィルムスキャナ等で画像データとして読み取られて、背景置換装置として動 作するパーソナルコンピュータ 20に供給されることとなる。
[0406] また、上記では、本発明の撮影システムの一実施形態として、デジタルカメラ 11が、 背景置換装置として動作するパーソナルコンピュータ 20に接続されており、このデジ タルカメラ 11で得られた撮影画像力 撮影後に直ちにこのパーソナルコンピュータ 2 0に渡されるという撮影システム 1を挙げて説明した力 本発明はこれに限るものでは ない。本発明の撮影システムは、例えば、撮影画像がデジタルカメラにおいて小型記 憶メディアに記憶され、その小型記憶メディアが、人手で、背景置換装置として動作 するパーソナルコンピュータにセットされることによって、撮影画像力このパーソナル コンピュータに渡されると 、うもの等であっても良!、。
[0407] また、上記では、本発明に 、う「色が変わる機能を持った背景パネル」の一例として 、 ELパネルを例示して説明した力 本発明はこれに限るものではなぐ本発明にいう 「色が変わる機能を持った背景パネル」は、例えば、発光色の互いに異なる複数種類 の LEDや発光色の互いに異なる複数種類の蛍光灯等と 、つた、発光色の互いに異 なる複数種類の光源の、それぞれが均一に分布した 2次元的な配列が、各光源の光 を拡散させる拡散板で覆われてなるパネル光源等であっても良 ヽ。このパネル光源 は、発光させる光源の種類を切り換えることで色を変更する。
[0408] また、上記では本発明にいう照明装置の一例として、分散型 EL素子を光源とする E Lパネルと、蛍光灯を光源とする照明パネルとを例示したが、本発明はこれらに限る ものではなぐ本発明の照明装置は、例えば、 LEDや冷陰極管等を光源としたもの 等であっても良い。
[0409] また、上記では、本発明に 、う背景置換装置の一例として、補正済みの逆光撮影 画像を構成する各画素の明るさについてのヒストグラムとして、各画素の色を表わす R値、 G値、および B値のうちの G値についてのヒストグラムを作成する背景置換装置 700を例示したが、本発明はこれに限るものではない。本発明の背景置換装置は、 R 値についてのヒストグラムを作成するものであっても良ぐあるいは、 B値についてのヒ ストグラムを作成するものであっても良ぐあるいは、各画素の輝度についてのヒストグ ラムを作成するものであっても良い。
[0410] また、上記では、本発明にいう背景置換装置の一例として、 2つの撮影画像のうち の 1つの撮影画像を構成する各画素の、もう一方の撮影画像において対応する位置 の画素に対する色の変化量についてのヒストグラムとして、色相の変化量についての ヒストグラムを作成する例を示したが、本発明はこれに限るものではない。本発明の背 景置換装置は、 2つの撮影画像のうちの 1つの撮影画像を構成する各画素の、もう一 方の撮影画像において対応する位置の画素に対する色の変化量についてのヒストグ ラムとして、 R値の変化量についてのヒストグラムを作成するものであっても良ぐある いは、 G値の変化量についてのヒストグラムを作成するものであっても良ぐあるいは、 B値の変化量につ!、てのヒストグラムを作成するものであっても良!、。 また、上記では、本発明にいう背景置換装置の一例として、 2つの撮影画像のうち の 1つの撮影画像を構成する各画素の、もう一方の撮影画像において対応する位置 の画素に対する明るさの変化量についてのヒストグラムとして、輝度の変化量につい てのヒストグラムを作成する例を示した力 本発明はこれに限るものではない。本発明 の背景置換装置は、 2つの撮影画像のうちの 1つの撮影画像を構成する各画素の、 もう一方の撮影画像において対応する位置の画素に対する明るさの変化量について のヒストグラムとして、 R値の変化量にっ 、てのヒストグラムを作成するものであっても 良ぐあるいは、 G値の変化量についてのヒストグラムを作成するものであっても良ぐ あるいは、 B値の変化量につ!、てのヒストグラムを作成するものであっても良!、。

Claims

請求の範囲
[1] 被写体を撮影して撮影画像を取得する撮影装置と、
前記被写体に向けて閃光を発する閃光発光装置と、
前記被写体を、該被写体を挟んで前記撮影装置とは反対側に位置する面からの 光で照らす照明装置と、
前記閃光発光装置および前記照明装置によって作られる複数の撮影光条件それ ぞれの下で前記撮影装置によって共通の被写体が撮影されて得られた複数の撮影 画像を取得し、該撮影画像に基づいて、撮影画像中の被写体と背景とを区別し、該 背景を別の背景に置換する背景置換装置とを備えたことを特徴とする撮影システム。
[2] 前記撮影装置が、前記被写体を、所定時間内に複数回撮影することで前記複数の 撮影画像を得るものであることを特徴とする請求項 1記載の撮影システム。
[3] 前記照明装置が、可撓性の発光シートで前記被写体を照らすものであることを特徴 とする請求項 1記載の撮影システム。
[4] 前記照明装置が、前記被写体を挟んで前記撮影装置とは反対側から該被写体の 下側まで延びた発光シートで、該被写体を照らすものであることを特徴とする請求項
1記載の撮影システム。
[5] 前記照明装置が、分散型エレクトロルミネセンス素子で前記被写体を照らすもので あることを特徴とする請求項 1記載の撮影システム。
[6] 前記照明装置が、前記面の範囲を示すマーカを有するものであることを特徴とする 請求項 1記載の撮影システム。
[7] 前記照明装置が、青から緑の間の色の光で前記被写体を照らすものであることを 特徴とする請求項 1記載の撮影システム。
[8] 前記照明装置が、前記閃光発光装置が発する閃光の輝度以下の輝度の光で前記 被写体を照らすものであることを特徴とする請求項 1記載の撮影システム。
[9] 前記閃光発光装置が、一度閃光を発すると、次に閃光を発するためには所定の準 備時間を要するものであり、
前記撮影装置が、前記被写体を、前記準備時間内に複数回撮影することで前記複 数の撮影画像を得るものであることを特徴とする請求項 1記載の撮影システム。
[10] 前記照明装置が、前記面からの光を透過させるカラーフィルタを備えたものである ことを特徴とする請求項 1記載の撮影システム。
[11] 前記照明装置が、前記面からの光を透過させる、該光の色と同じ色のカラーフィル タを備えたものであることを特徴とする請求項 1記載の撮影システム。
[12] 前記照明装置が、前記被写体側から前記面に向かう光の反射を防止する反射防 止膜を備えたものであることを特徴とする請求項 1記載の撮影システム。
[13] 前記背景置換装置が、前記撮影画像における前記面の範囲を、該面からの光の 有無によって認識し、その範囲内の画像部分を使って撮影画像中の被写体と背景と を区別するものであることを特徴とする請求項 1記載の撮影システム。
[14] 被写体を撮影して撮影画像を取得する撮影装置と、
光に関する複数の撮影条件を作る撮影条件作成部と、
前記撮影条件作成部で作成された複数の撮影条件それぞれの下で、前記撮影装 置によって共通の被写体が撮影されて得られた複数の撮影画像を取得し、該撮影画 像に基づいて、撮影画像中の被写体領域と背景領域と境界領域とを区別し、その区 別した 3つの領域に基づいて撮影画像中の背景を別の背景と置換する背景置換装 置とを備えたことを特徴とする撮影システム。
[15] 前記撮影条件作成部は、前記被写体の明るさと、前記被写体を挟んで前記撮影装 置とは反対側に位置する背景の明るさとの相違の程度を変更して前記複数の撮影 条件を作成するものであり、
前記背景置換装置が、前記被写体領域と前記背景領域と前記境界領域とを、前記 複数の撮影画像の相互間における明るさの変化量に基づいて区別するものであるこ とを特徴とする請求項 14記載の撮影システム。
[16] 前記撮影条件作成部は、前記被写体の明るさと、前記被写体を挟んで前記撮影装 置とは反対側に位置する背景の明るさとの相違の程度を変更して前記複数の撮影 条件を作成するものであり、
前記背景置換装置が、前記被写体領域と前記背景領域と前記境界領域とを、前記 被写体と前記背景との明るさの相違に基づいて区別するものであることを特徴とする 請求項 14記載の撮影システム。
[17] 前記撮影条件作成部が、前記被写体を挟んで前記撮影装置とは反対側に位置す る面力 の光で前記被写体を照らす照明装置を有し、その照明装置で該被写体を 照らす光の明るさを変更して前記複数の撮影条件を作成するものであり、
前記背景置換装置が、前記被写体領域と前記背景領域と前記境界領域とを、前記 複数の撮影画像の相互間における明るさの変化量、および前記被写体と前記背景と の明るさの相違のうち少なくとも一方に基づいて区別するものであることを特徴とする 請求項 14記載の撮影システム。
[18] 前記撮影条件作成部が、前記被写体を前記撮影装置側から閃光で照らす閃光発 光装置と、前記被写体を挟んで前記撮影装置とは反対側に位置する面からの光で 前記被写体を照らす照明装置とを有し、前記被写体を該閃光発光装置および該照 明装置のそれぞれで順次に照らして前記複数の撮影条件を作成するものであり、 前記背景置換装置が、前記被写体領域と前記背景領域と前記境界領域とを、前記 複数の撮影画像の相互間における明るさの変化量、および前記被写体と前記背景と の明るさの相違のうち少なくとも一方に基づいて区別するものであることを特徴とする 請求項 14記載の撮影システム。
[19] 前記撮影条件作成部が、前記被写体を前記撮影装置側から閃光で照らす閃光発 光装置と、前記被写体を挟んで前記撮影装置とは反対側に位置する面からの光で 前記被写体を照らす照明装置とを有し、該照明装置による照明の定常的な存在と、 該閃光発光装置の閃光による照明の有無とによって前記複数の撮影条件を作成す るものであり、
前記背景置換装置が、前記被写体領域と前記背景領域と前記境界領域とを、前記 複数の撮影画像の相互間における明るさの変化量、および前記被写体と前記背景と の明るさの相違のうち少なくとも一方に基づいて区別するものであることを特徴とする 請求項 14記載の撮影システム。
[20] 前記撮影条件作成部が、前記被写体を前記撮影装置側から閃光で照らす、該閃 光の偏光状態を変える機能を持った閃光発光装置と、前記被写体を挟んで前記撮 影装置とは反対側に位置する、偏光状態の違いによって反射光の明るさが異なる背 景パネルとを有し、該閃光発光装置による、互いに偏光状態が異なる複数回の閃光 によって前記複数の撮影条件を作成するものであり、
前記背景置換装置が、前記被写体領域と前記背景領域と前記境界領域とを、前記 複数の撮影画像の相互間における明るさの変化量、および前記被写体と前記背景と の明るさの相違のうち少なくとも一方に基づいて区別するものであることを特徴とする 請求項 14記載の撮影システム。
[21] 前記撮影条件作成部は、前記被写体を挟んで前記撮影装置とは反対側に位置す る背景の色を変更して前記複数の撮影条件を作成するものであり、
前記背景置換装置が、前記被写体領域と前記背景領域と前記境界領域とを、前記 複数の撮影画像の相互間における色の変化量に基づいて区別するものであることを 特徴とする請求項 14記載の撮影システム。
[22] 前記撮影条件作成部が、前記被写体を挟んで前記撮影装置とは反対側に位置す る、色が変わる機能を持った背景パネルを有し、その背景パネルの色を変更して前 記複数の撮影条件を作成するものであり、
前記背景置換装置が、前記被写体領域と前記背景領域と前記境界領域とを、前記 複数の撮影画像の相互間における色の変化量に基づいて区別するものであることを 特徴とする請求項 14記載の撮影システム。
[23] 前記撮影条件作成部が、前記被写体を前記撮影装置側から閃光で照らす閃光発 光装置と、前記被写体を挟んで前記撮影装置とは反対側に位置する面からの、前記 閃光の輝度以下の輝度の光で前記被写体を照らす照明装置とを有し、該照明装置 による照明の定常的な存在と、該閃光発光装置の閃光による照明の有無とによって 前記複数の撮影条件を作成するものであり、
前記撮影装置が、前記閃光発光装置の閃光による照明が無いという撮影条件の下 で撮影を行なう時には、該閃光発光装置の閃光による照明が有るという撮影条件の 下で撮影を行なう時よりも、光に対する感度を上げて撮影を行なうものであり、 前記背景置換装置が、前記被写体領域と前記背景領域と前記境界領域とを、前記 複数の撮影画像の相互間における明るさの変化量、および前記被写体と前記背景と の明るさの相違のうち少なくとも一方に基づいて区別するものであることを特徴とする 請求項 14記載の撮影システム。 前記背景置換装置が、前記別の背景として、被写体を照らす光の条件を表わす光 情報が付与された背景を用いて、前記撮影画像中の背景を置換するものであり、 前記撮影条件作成部が、前記被写体を前記撮影装置側から、互いに異なる複数 の発光条件のうち、前記別の背景に付与された光情報が表わす条件に相当する発 光条件の光で照らす発光装置を有し、該発光装置による照明を前記複数の撮影条 件のうちの少なくとも 1つの撮影条件で用いるものであることを特徴とする請求項 14 記載の撮影システム。
PCT/JP2006/304488 2005-03-10 2006-03-08 撮影システム WO2006095779A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2007507155A JP4689662B2 (ja) 2005-03-10 2006-03-08 撮影システム
US11/547,128 US7974467B2 (en) 2005-03-10 2006-03-08 Image-taking system
EP06715408.8A EP1909493B1 (en) 2005-03-10 2006-03-08 Photographing system

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2005-067929 2005-03-10
JP2005-067943 2005-03-10
JP2005067943 2005-03-10
JP2005067929 2005-03-10

Publications (1)

Publication Number Publication Date
WO2006095779A1 true WO2006095779A1 (ja) 2006-09-14

Family

ID=36953373

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/304488 WO2006095779A1 (ja) 2005-03-10 2006-03-08 撮影システム

Country Status (4)

Country Link
US (1) US7974467B2 (ja)
EP (1) EP1909493B1 (ja)
JP (1) JP4689662B2 (ja)
WO (1) WO2006095779A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009019887A1 (ja) * 2007-08-07 2009-02-12 Panasonic Corporation 画像処理装置および画像処理方法
JP2016536896A (ja) * 2013-08-29 2016-11-24 ファースト・フォワード・イメージング・ゲゼルシャフト・ミット・ベシュレンクテル・ハフツングFast Forward Imaging Gmbh 写真用カメラを用いてアルファチャンネルを含む画像ファイルを取得するための方法及び装置

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4533327B2 (ja) * 2006-02-23 2010-09-01 キヤノン株式会社 画像処理装置及び方法、コンピュータプログラム及び記憶媒体
US7834894B2 (en) * 2007-04-03 2010-11-16 Lifetouch Inc. Method and apparatus for background replacement in still photographs
EP2293541B1 (en) * 2008-06-26 2018-09-12 Panasonic Intellectual Property Management Co., Ltd. Image processing apparatus, image division program and image synthesising method
JP5743384B2 (ja) * 2009-04-14 2015-07-01 キヤノン株式会社 画像処理装置及び画像処理方法とコンピュータプログラム
WO2010150201A1 (en) * 2009-06-25 2010-12-29 Koninklijke Philips Electronics N.V. Geture recognition using chroma- keying
GB2473503B (en) 2009-09-15 2015-02-11 Metail Ltd System and method for image processing
US8379972B1 (en) * 2009-12-01 2013-02-19 Adobe Systems Incorporated Color decontamination for image compositing
GB201102794D0 (en) 2011-02-17 2011-03-30 Metail Ltd Online retail system
TWI454138B (zh) * 2011-05-18 2014-09-21 Altek Corp 調整影像亮度的方法
DE102012207782A1 (de) * 2012-05-10 2013-11-14 Rheinmetall Defence Electronics Gmbh Trainingsraum eines Simulators
TWI532026B (zh) * 2013-12-18 2016-05-01 原相科技股份有限公司 影像亮度調整方法、物件追蹤方法以及物件追蹤裝置
US20150289338A1 (en) * 2014-04-08 2015-10-08 Revolution Display, Inc. Automatic chroma key background generator with incident key lighting
JP6406606B2 (ja) * 2014-10-06 2018-10-17 パナソニックIpマネジメント株式会社 光沢判定装置および光沢判定方法
JP6650848B2 (ja) * 2016-08-22 2020-02-19 株式会社ソニー・インタラクティブエンタテインメント 情報処理装置、情報処理システム、および情報処理方法
WO2018215475A1 (de) * 2017-05-22 2018-11-29 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Beleuchtungssystem und aufnahmesystem für volumetrisches capturing
US10867373B2 (en) * 2019-04-08 2020-12-15 T-Mobile Usa, Inc. Dynamic overlay display properties adjustment methods and systems

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0865705A (ja) * 1994-08-25 1996-03-08 Imagica:Kk ソフトクロマキー処理方法
JPH10210340A (ja) 1997-01-27 1998-08-07 Matsushita Electric Ind Co Ltd 画像撮像装置および画像合成装置
JPH10257518A (ja) * 1997-03-07 1998-09-25 Fuji Photo Film Co Ltd 自動撮影装置および自動撮影方法
JP2000030040A (ja) * 1998-07-14 2000-01-28 Canon Inc 画像処理装置及びコンピュータ読み取り可能な記憶媒体
JP2000224410A (ja) 1998-08-31 2000-08-11 Hitachi Software Eng Co Ltd 画像合成装置および画像合成方法
JP2003058873A (ja) * 2001-08-13 2003-02-28 Olympus Optical Co Ltd 形状抽出装置および方法、並びに画像切り出し装置および方法
JP2004282167A (ja) * 2003-03-12 2004-10-07 Nippon Telegr & Teleph Corp <Ntt> 画像処理装置及び方法並びにプログラム

Family Cites Families (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0483480A (ja) * 1990-07-26 1992-03-17 Nippon Hoso Kyokai <Nhk> 偏光キー方式画像合成装置
AU6577194A (en) 1993-04-29 1994-11-21 Scientific Generics Limited Background separation for still and moving images
JPH0746606A (ja) * 1993-07-28 1995-02-14 Hitachi Ltd 映像信号再生装置
US5631976A (en) * 1994-04-29 1997-05-20 International Business Machines Corporation Object imaging system
JPH0946723A (ja) * 1995-07-28 1997-02-14 Nippon Hoso Kyokai <Nhk> はめ込み合成用映像撮影方法および装置
JPH1093859A (ja) * 1996-09-18 1998-04-10 Konica Corp 画像処理装置及び画像処理方法
US6088541A (en) * 1997-11-20 2000-07-11 Brandeis University Color-balanced glare reduction system for flash cameras
DE69937298T2 (de) 1998-06-22 2008-02-07 Fujifilm Corp. Bilderzeugungsgerät und verfahren
JP3241327B2 (ja) * 1998-08-22 2001-12-25 大聖電機有限会社 クロマキーシステム
JP3286730B2 (ja) * 1999-06-10 2002-05-27 独立行政法人通信総合研究所 画像処理システム
JP2001148021A (ja) * 1999-11-22 2001-05-29 Nippon Telegr & Teleph Corp <Ntt> 画像処理方法、3次元モデルデータ生成方法およびそれらの装置
JP4285868B2 (ja) * 2000-01-12 2009-06-24 富士フイルム株式会社 主要被写体抽出方法、画像処理装置および撮像装置
JP2002232909A (ja) * 2001-02-05 2002-08-16 For-A Co Ltd クロマキー撮影装置
JP2002325200A (ja) 2001-04-26 2002-11-08 Victor Co Of Japan Ltd 資料提示装置
US7253832B2 (en) * 2001-08-13 2007-08-07 Olympus Corporation Shape extraction system and 3-D (three dimension) information acquisition system using the same
JP4007160B2 (ja) * 2001-11-02 2007-11-14 日本電信電話株式会社 画像処理方法及びその装置、並びに画像処理プログラムとこの画像処理プログラムを記録した記録媒体
US7071953B2 (en) * 2001-11-02 2006-07-04 Nippon Telegraph And Telephone Corporation Image processing method and image processing apparatus for obtaining overlaid image
JP3876985B2 (ja) * 2002-09-18 2007-02-07 オムロンエンタテインメント株式会社 写真シール販売機および画像印刷方法
JP3981644B2 (ja) * 2003-03-26 2007-09-26 株式会社オーエムアイ 原図転写方法及びそれに用いるカメラ画像補正処理装置
JP4270949B2 (ja) 2003-06-10 2009-06-03 株式会社トプコン キャリブレーションチャート画像表示装置、キャリブレーション装置、キャリブレーション方法
WO2006124572A2 (en) * 2005-05-12 2006-11-23 The University Of Akron Dual wavelength polarized near-field imaging apparatus
US8009297B2 (en) * 2005-12-07 2011-08-30 Kabushiki Kaisha Topcon Optical image measuring apparatus
US7720283B2 (en) * 2005-12-09 2010-05-18 Microsoft Corporation Background removal in a live video

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0865705A (ja) * 1994-08-25 1996-03-08 Imagica:Kk ソフトクロマキー処理方法
JPH10210340A (ja) 1997-01-27 1998-08-07 Matsushita Electric Ind Co Ltd 画像撮像装置および画像合成装置
JPH10257518A (ja) * 1997-03-07 1998-09-25 Fuji Photo Film Co Ltd 自動撮影装置および自動撮影方法
JP2000030040A (ja) * 1998-07-14 2000-01-28 Canon Inc 画像処理装置及びコンピュータ読み取り可能な記憶媒体
JP2000224410A (ja) 1998-08-31 2000-08-11 Hitachi Software Eng Co Ltd 画像合成装置および画像合成方法
JP2003058873A (ja) * 2001-08-13 2003-02-28 Olympus Optical Co Ltd 形状抽出装置および方法、並びに画像切り出し装置および方法
JP2004282167A (ja) * 2003-03-12 2004-10-07 Nippon Telegr & Teleph Corp <Ntt> 画像処理装置及び方法並びにプログラム

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1909493A4

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009019887A1 (ja) * 2007-08-07 2009-02-12 Panasonic Corporation 画像処理装置および画像処理方法
US7936944B2 (en) 2007-08-07 2011-05-03 Panasonic Corporation Image processing device and image processing method
CN101542233B (zh) * 2007-08-07 2011-12-28 松下电器产业株式会社 图像处理装置以及图像处理方法
JP2016536896A (ja) * 2013-08-29 2016-11-24 ファースト・フォワード・イメージング・ゲゼルシャフト・ミット・ベシュレンクテル・ハフツングFast Forward Imaging Gmbh 写真用カメラを用いてアルファチャンネルを含む画像ファイルを取得するための方法及び装置

Also Published As

Publication number Publication date
US7974467B2 (en) 2011-07-05
EP1909493A4 (en) 2010-01-13
JPWO2006095779A1 (ja) 2008-08-14
JP4689662B2 (ja) 2011-05-25
EP1909493B1 (en) 2013-12-25
US20070200938A1 (en) 2007-08-30
EP1909493A1 (en) 2008-04-09

Similar Documents

Publication Publication Date Title
JP4689662B2 (ja) 撮影システム
CN102830573B (zh) 一种闪光控制方法及装置
JP4115467B2 (ja) 撮影装置
US20040095478A1 (en) Image-capturing apparatus, image-processing apparatus, image-recording apparatus, image-processing method, program of the same and recording medium of the program
US7433589B2 (en) Image capturing apparatus and image capturing method
US7394488B2 (en) System and method for dual white balance compensation of images
JP4642764B2 (ja) 背景置換装置、背景置換プログラム、および背景置換方法
WO2009139154A1 (ja) 撮像装置及び撮像方法
US20080226273A1 (en) Background Replacing Apparatus, Background Replacing Program, and Background Replacing Method
US20130329073A1 (en) Creating Adjusted Digital Images with Selected Pixel Values
CN1812496A (zh) 摄像装置及其控制方法
JP6210775B2 (ja) 撮像装置、撮像方法及び撮像プログラム
US10594894B2 (en) Image acquisition apparatus, image forming apparatus and method for controlling the same
US20080075448A1 (en) Image taking apparatus and method of light emission
US11042972B2 (en) Image processing apparatus, and non-transitory computer readable medium for reducing undesirable effect during image capturing
JP6196882B2 (ja) マルチエリアホワイトバランス制御装置、マルチエリアホワイトバランス制御方法、マルチエリアホワイトバランス制御プログラム、マルチエリアホワイトバランス制御プログラムを記録したコンピュータ、マルチエリアホワイトバランス画像処理装置、マルチエリアホワイトバランス画像処理方法、マルチエリアホワイトバランス画像処理プログラム、マルチエリアホワイトバランス画像処理プログラムを記録したコンピュータ及びマルチエリアホワイトバランス画像処理装置を備えた撮像装置
JP4303696B2 (ja) 背景置換装置、背景置換プログラム、背景置換プログラム記憶媒体、および、背景置換方法
JP2017135585A (ja) 画像処理装置
JP2003309854A (ja) デジタルカメラ
JP7398884B2 (ja) 撮像装置、発光制御装置、撮像方法、発光制御方法、及びプログラム
JP2014219602A (ja) 撮影装置
JP4638260B2 (ja) 背景置換装置、背景置換プログラム、背景置換プログラム記憶媒体、および、背景置換方法
JP2006277303A (ja) 撮影システム
JP4333643B2 (ja) プレゼンテーション装置
JP2014145834A (ja) 撮影用照明装置および撮影装置

Legal Events

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

Ref document number: 11547128

Country of ref document: US

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2007507155

Country of ref document: JP

WWP Wipo information: published in national office

Ref document number: 11547128

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

WWE Wipo information: entry into national phase

Ref document number: 2006715408

Country of ref document: EP