Summary of the invention
Whether consider that above-mentioned situation made the present invention, a kind of image capture apparatus is provided, it is higher in the captured image of user with the appearance ratio of determining facial (personage) to detect facial (determining whether to exist the personage) in the image of record.Higher and when making face detection function invalid, image capture apparatus prompting user makes face detection function effectively or automatically make face detection function effective when next power-on when the appearance ratio.
In order to obtain this target, comprise according to a kind of image capture apparatus of first aspect present invention: image capture apparatus, it picks up object images and is view data with image transitions; Whether facial checkout equipment exists one or more personage's faces in its inspection image data; Switching device, it switches to its effective or its inoperative position with face detection function; Control appliance, when facial measuring ability is switched to its active position and detect one or more face in view data, it automatically controls in exposure, focusing, white balance and the picture quality at least one, makes it possible to the face that shot detection optimally arrives; Recording equipment, it is based on the testing result of facial checkout equipment, the facial information of the existence of the face in recording medium in record performance and the view data that view data is associated; Determine equipment, it is determined based on facial information: in the view data that writes down in recording medium, wherein exist the percentage of the view data of one or more faces whether to surpass predetermined threshold; And commander equipment, it switches to face detection function the instruction of its active position when determining that equipment provides about the prompting user in power-on when determining wherein to exist percentage of facial view data to surpass predetermined threshold.
Therefore, in the view data in being recorded in recording medium, when wherein existing the percentage of view data of one or more faces big, image capture apparatus prompting user makes face detection function effective.Make it possible to thus use face detection function effectively according to the hobby or the preference of user in photographic images.When the percentage of the view data that wherein has one or more faces hour, do not point out the user to make face detection function effective, this can not cause the waste power consumption, because the operating delay that the control load is brought.Therefore, it makes it possible to avoid reducing on the number of the image that can take, and has reduced caused operation inconvenience for the user.
According to second invention of the present invention, in image capture apparatus according to first aspect, when the percentage of the view data of determining wherein to detect one or more faces surpassed predetermined threshold, described commander equipment provides and selects to make face detection function when the power-on about the prompting user was effective or invalid instruction.
Therefore, pointing out the user to select to make face detection function is the effective or invalid face detection function that allows to use effectively.
In order to obtain this target, comprise according to a kind of image capture apparatus of third aspect present invention: image capture apparatus, it picks up object images and is view data with image transitions; Whether facial checkout equipment exists one or more personage's faces in its inspection image data; Switching device, it switches to its effective or its inoperative position with face detection function; Control appliance, when facial measuring ability is switched to its active position and detect one or more face in view data, it automatically controls in exposure, focusing, white balance and the picture quality at least one, makes it possible to the face that shot detection optimally arrives; Recording equipment, it is based on the testing result of facial checkout equipment, the facial information of the existence of the face in recording medium in record performance and the view data that image is associated; Determine equipment, it is determined based on facial information: in the view data that writes down in recording medium, wherein exist the percentage of the view data of one or more faces whether to surpass predetermined threshold; Wherein, when determining that equipment determines wherein to exist the percentage of the view data of one or more faces to surpass predetermined threshold, described switching device automatically switches to face detection function its active position when power-on.
Therefore, in the view data in being recorded in recording medium, when wherein existing the percentage of view data of one or more faces big, automatically make face detection function effective, make it possible to thus use face detection function effectively according to the hobby or the preference of user in photographic images.When the percentage of the view data that wherein has one or more faces hour, make face detection function invalid automatically, this can not cause the waste power consumption, because the operating delay that the control load is brought.Therefore, it makes it possible to avoid reducing on the number of the image that can take, and has reduced caused operation inconvenience for the user.
According to a forth aspect of the invention, according to first in the third aspect in any one the image capture apparatus, described definite equipment is determined: in the shot image data, wherein exist the percentage of the view data of one or more faces whether to surpass predetermined threshold in the last view data predetermined period of distance.
Therefore, whether exist one or more faces to make it possible in predetermined period, effectively use face detection function in hobby aspect the photographic images or preference in the view data of inspection in predetermined period according to the user.
According to a fifth aspect of the invention, according to first in the third aspect in any one the image capture apparatus, described definite equipment is determined: in the view data of the predetermined number of selecting by the time inverted order of the last view data of distance, wherein exist the percentage of the view data of one or more faces whether to surpass predetermined threshold.
Therefore, check in the view data of the predetermined number that the last view data time inverted order by distance is selected whether exist one or more faces to make it possible to effectively use face detection function in hobby aspect the photographic images or preference according to the user.
Described recording equipment preferably will represent the information of the existence of one or more faces record in the frame head part of image file and with Imagery Data Recording in the data division of image file.
According to a sixth aspect of the invention, in according to any one image capture apparatus in aspect first to the 5th, described recording equipment facial information is recorded the frame head part of image file and with Imagery Data Recording in the data division of image file.
Therefore, facial information is recorded in the frame head part of image file and with Imagery Data Recording in the data division of identical image file, make it possible to easily facial information is associated with view data and write down facial information.
According to a seventh aspect of the invention, in according to any one image capture apparatus in aspect first to the 5th, described recording equipment records facial information in the facial information file, and this facial information file is different from the image file of storing image data.
Therefore, facial information is recorded in the special-purpose facial message file that is different from image file, make it possible to easily calculate the percentage of the image that wherein has one or more faces.
In order to obtain this target, a kind of control method that is used for carrying out image capture at image capture apparatus, this image capture apparatus comprises switching device, this switching device manually switches to face detection function its effective or inoperative position, wherein, when power-on, make face detection function invalid, after power supply being made as ON and wanting to detect one or more faces in the shot image data, face detection function is switched to its active position with control exposure automatically, focus on, in white balance and the picture quality at least one, thereby make it possible to the face that shot detection optimally arrives, the described control method that is used for image capture comprises the steps: whether there are one or more faces the view data of the predetermined number that detection record is selected in all images data of recording medium or in the view data in the nearest view data predetermined period or from nearest view data; Determine at percentage at the view data that wherein has one or more faces in all images data that whether have face and detect; And when the percentage of the view data that wherein has one or more faces surpasses predetermined threshold, provide the instruction that face detection function is switched to when the power-on its active position about the prompting user.
Therefore, in the view data in being recorded in recording medium, when wherein existing the percentage of view data of one or more faces big, image capture apparatus prompting user makes face detection function effective.Make it possible to thus use face detection function effectively according to the hobby or the preference of user in photographic images.When the percentage of the view data that wherein has one or more faces hour, do not point out the user to make face detection function effective, this can not cause the waste power consumption, because the operating delay that the control load is brought.Therefore, it makes it possible to avoid reducing on the number of the image that can take, and has reduced caused operation inconvenience for the user.
In order to obtain this target, a kind of control method that is used for image capture according to ninth aspect present invention, when face detection function being switched to its active position and wanting to detect in the shot image data one or more face, control exposure automatically, focus on, in white balance and the picture quality at least one, thereby make it possible to the face that shot detection optimally arrives, the described control method that is used for image capture comprises the steps: whether there are one or more faces in the view data of the predetermined number that detection record is selected in all images data of recording medium or in the view data in the nearest view data predetermined period or by the time inverted order of nearest view data; Determine at percentage about the view data that wherein has one or more faces in all images data that whether have face and detect; And when the percentage of the view data that wherein has one or more faces surpassed predetermined threshold, it was effective making face detection function when power-on.
Therefore, in the view data in being recorded in recording medium, when wherein existing the percentage of view data of one or more faces big, image capture apparatus prompting user makes face detection function effective.Make it possible to thus use face detection function effectively according to the hobby or the preference of user in photographic images.When the percentage of the view data that wherein has one or more faces hour, do not point out the user to make face detection function effective, this can not cause the waste power consumption, because the operating delay that the control load is brought.Therefore, it makes it possible to avoid reducing on the number of the image that can take, and has reduced caused operation inconvenience for the user.
According to the present invention, in the view data in being recorded in recording medium, when wherein existing the percentage of view data of one or more faces big, the prompting user makes face detection function effectively or automatically make face detection function effective.Make and to use face detection function effectively according to the hobby or the preference of user in photographic images.When the percentage of the view data that wherein has one or more faces hour, do not point out the user to make face detection function effectively or not make face detection function effective automatically, this can not cause the waste power consumption, because the operating delay that the control load is brought.Therefore, it makes it possible to avoid reducing on the number of the image that can take, and has reduced caused operation inconvenience for the user.
Embodiment
Below in conjunction with accompanying drawing preferred embodiment according to image capture apparatus of the present invention is described.
[first embodiment]
Fig. 1 is the block diagram that illustrates according to an example of the internal configurations of the new digital camera 1 of first embodiment of the invention.
In the accompanying drawings, CPU11 is based on from the input of various console switchs and each circuit in the whole control digital camera 1 and carry out processing according to camera control program.
CPU 11 is by bus 12 each circuit of control.CPU 11 receives desired datas to memory 13 transmissions and from memory 13.The inside of memory 13 is divided into ROM, RAM and flash area.The beginning image in ROM area stores camera control program, when start, the end image when stopping, such as the GUI image of the operation that is used for digital camera 1 of menu image, be used for screen protection program image, show the image of handling progress (the hourglass image that changes such as ratio), such as the key operation sound of shutter sound etc. and the voice data of expression alarm song and wrong sound.
When power supply was made as ON, CPU 11 detected power supply and has been made as ON, opens camera power supply and show beginning image in the ROM zone that is stored in memory 13 in special time, then camera was forwarded to the shooting holding state in the screening-mode.CPU 11 makes image display 14 show moving image or camera lens direct picture (on-the-spot view image, or pass through image) taking holding state.
Camera user (perhaps photographer) construct picture when watching the camera lens direct picture that is presented on the image display 14, confirms that he or she wants object of taking or the image that photographs or sets image-forming condition.
When taking that holding state is pressed face detection function switch 36 so that face detection function when effective, facial in the facial testing circuit 16 detected object images and make image display 14 show detected face by a frame.Fig. 2 is the schematic diagram of facial testing circuit 16.Facial testing circuit 16 is received in the view data of the object images of imaging on the optical receiving surface of CCD 21 or is stored in view data in the recording medium 31, and it is facial and export the number of detected face, position and the size that each is facial to detect the personage to analyze these view data.
AE and AF testing circuit 22 and 23 are described below.
Fig. 3 is the schematic diagram of AE testing circuit 22.AE testing circuit 22 be received in the object images of imaging on the optical receiving surface of CCD 21 view data and from facial testing circuit 16 outputs about whether having facial data, and export whole screen brightness dividing data and when facial testing circuit detects face, export data about the brightness of face.
Fig. 4 is the schematic diagram of AF testing circuit 23.The integrated value of the high fdrequency component of the object image data of imaging on the optical receiving surface of the next comfortable CCD 21 of each position calculating of the amasthenic lens 20 that AF testing circuit 23 changes when AF testing circuit 23 drives amasthenic lens 20 by focus motor driver 18, and export this integrated value as the AF estimated value.The AF estimated value is calculated at the core of screen typically.But, when facial testing circuit 16 detects face, the AF estimated value on the AF testing circuit 23 output faces.
When the shooting holding state is pressed release-push 15, CPU 11 carries out focus control, photometry and exposure control, coming to drive zoom lens 19 and amasthenic lens 20, and the object images on the optical receiving surface of CCD 21 is carried out imaging by these camera lenses by zoom motor driver 17 and focus motor driver 18 based on AE and AF testing circuit 22 and 23 results that detected.
According to the light quantity of object images, CCD 21 will the object images of imaging convert signal charge on optical receiving surface.Signal charge is read shift register and is read as voltage signal by the register transfer pulse order according to signal charge by the strobe pulse that reads that timing sequencer 25 is applied.
Simulation R, G, B signal as the voltage signal of exporting from CCD 21 are converted to digital R, G, B signal by A/D converter 26.Numeral R, G, B signal temporarily are stored in the ram region of memory 13 by image input controller 27.
Imaging signal processing circuit 28 reads original R, G, the B data in the ram region that is stored in memory 13, according to the kind of light source to original R, G, B data apply digital gain with regulate white balance and carry out that gamma (grey level transition) is handled, contour correction processing and acutance handle, thereby produce R, G, B signal.And imaging signal processing circuit 28 is carried out the YC signal processing to produce brightness signal Y and carrier chrominance signal Cr and Cb (YC signal) and after noise reduction process signal to be stored in the ram region of memory 13 once more.
Fig. 5 is the schematic diagram of imaging signal processing circuit 28.Imaging signal processing circuit 28 receive view data and about whether have facial data and carry out that white balance adjusting, grey level transition are handled, contour correction processing and noise reduction process be with output processed images data.Detect under the facial situation at facial testing circuit 16, imaging signal processing circuit 28 can be carried out above-mentioned processing for detected face provides the parameter of optimum picture quality by using.
Be stored in YC signal in the ram region of memory 13 thus and be compressed treatment circuit 29 and be compressed into predetermined format, be recorded in the recording medium 31 that can separate with digital camera 1 by medium controller 30 then.
When selecting replay mode, read the last frame image file that is stored in the recording medium 31 by medium controller 30 by operating-mode switch 35.The packed data of the image file that reads is expanded by compression processing circuit 29 and is unpressed YC signal.
YC signal after the expansion is converted into the signal format that is used for by display circuit 32 demonstrations, and outputs to image display 14.At the last frame image of displayed record on the image display 14 in recording medium 31.
The instruction that the face detection function in the digital camera 1 is switched to its active position about the prompting user is described in conjunction with Fig. 6 to 8.According to the digital camera 1 of first embodiment of the invention calculate the percentage that detects facial image in the image that in recording medium, writes down and detect facial view data when quantitatively big issuing command point out the user to select to make face detection function effective or invalid.
The operation of digital camera 1 at replay mode at first described.Fig. 6 illustrates the flow chart of digital camera 1 in the operation of replay mode.
When the power supply of digital camera 1 is set to ON (step S61), CPU 11 determines whether to exist the facial information (step S62 is to S65) about being stored in all images in the recording medium 31.Here, the number of the face that exists in the view data that facial information is represented with facial information is associated.When digital camera 1 photographic images and when to make face detection function be effective, digital camera 1, as described later, records photographing to the facial information of image in recording medium 31, facial information is added in the label of frame head part of image file.On the other hand, when to make face detection function when digital camera 1 photographic images be invalid, the facial information of the image that photographs was not added in the label, therefore, may exist facial information not add image in the recording medium 31 to.
When detecting the image that does not add facial information, from view data, detect facial (step S63), testing result is recorded in the preset label that provides on the image file frame head part (step S64) as facial information.
When CPU 11 finishes to calculate the facial image percentage of image existence in the recording medium 31 to facial information being added to all images timing (step S65) really in the recording medium 31, detect with face to indicate that threshold value (60%) compares (step S66).
When the percentage that wherein has facial image is 60% or when higher, be ON (step S67) with facial detection flag.On the other hand, when the percentage that wherein has facial image less than 60% the time, be OFF (step S68) with facial detection flag.The facial detection indicates in the flash memory part that is stored in memory 13.
Below in conjunction with Fig. 7 the operation of digital camera 1 at screening-mode described.Fig. 7 illustrates the flow chart of digital camera 1 in the operation of screening-mode.
When the power supply of digital camera 1 is set to ON (step S701), CPU 11 makes face detection function invalid, checks that then the face in the flash memory part that is stored in memory 13 detects sign (step S702).When face detection sign was set to ON, the demonstrations that CPU 11 carries out on image display 14 recommended the user to use face detection function (step S703).
Fig. 8 illustrates to provide about the prompting user and selects to make face detection function effectively or the figure of the image display 14 of invalid instruction.During instruction showed, the user presses OK button 37 can make that face detection function is effective.The user presses BACK button 38 can make that face detection function is invalid.
When face detects sign and is set to OFF or when image display 14 provides that the user presses OK button 37 or BACK button 38 when selecting to make face detection function effective or invalid about the prompting user, camera transfers to be taken holding state and whether presses release-push 15 (step S704) with monitoring.When supressing release-push 15, determine whether face detection function is effective (step S705).
When facial measuring ability when being invalid, to carry out and take (step S706), the view data that photographs is recorded in (step S712) in the recording medium 31 by medium controller 30.
When facial measuring ability when being effective, carry out whether detecting facial judgement (step S707) about facial testing circuit 16.
When detecting face in the image that facial testing circuit 16 is photographing, CPU 11 control AE and AF testing circuit 22 and 23 so that detected face optimally taken.In the signal processing to the view data that photographs, CPU 11 also controls imaging signal processing circuit 28 and regulates white balance and noise reduction (step S708) to obtain facial optimum image.CPU11 adds the number of facial testing circuit 16 detected faces in the label (step S709) and executive logging processing (step S712) as facial information.
When not detecting face in the image that facial testing circuit 16 is photographing, carry out normal photographing (step S710).CPU 11 adds number=0 of detected face in the label (step S711) and executive logging processing (step S712) as facial information.
Therefore, when power supply is made as ON, read face in the flash memory part that is stored in memory 13 and detect sign and to determine whether to provide about the prompting user face detection function is switched to the instruction of its active position, face detection function can be used the hobby of photographic images effectively according to the user thus.When carry out taking and to make face detection function be effective, add in label as facial information the number of detected face and carry out record, this just can determine in replay mode in short-term that facial the detection indicates and be set to ON or OFF.
Although relevantly provide that to select to make face detection function about the prompting user be that the face of effective or invalid instruction detects the sign threshold value and is assumed that 60% in the present embodiment, be not limited to this value, perhaps can be other values.
In the present embodiment, when face detection sign is set to ON, is effective or invalid instruction, also can provides instruction by voice although provide about pointing out the user to select to make face detection function by the demonstration on the image display 14.
In the present embodiment, although write down facial information in the preset label on being provided in image file frame head part, also can provide the facial information file to write down the facial information of all images file separately.
Fig. 9 is the table that manifests the file inside in the facial information file.This document write down in the recording medium 31 image file name and as the number of the face of the facial testing result in each image file.Digital camera 1 reads whether carried out face detection function when facial message file is taken with definite image at replay mode.In addition, the face in digital camera 1 detected image is stored in the facial information file detected result so that can easily calculate the percentage that wherein has facial image.
[second embodiment]
Digital camera 1 according to a second embodiment of the present invention calculates in the image of record in the recording medium 31 and detects the percentage of facial image, and detecting the number of facial image therein, automatically to make face detection function when big be effective.
Figure 10 illustrates the flow chart of digital camera 1 in the operation of screening-mode.
When the power supply of digital camera 1 is set to ON (step S1001), CPU 11 makes face detection function invalid, checks then to check that the face detection in the flash memory part that is stored in memory 13 indicates that being set to ON still is OFF (step S1002).
When face detection sign was OFF by equipment, camera 1 transfers the shooting holding state to and makes face detection function was invalid (step S1003).After this, press release-push 15 and carry out shooting (step S1004).The view data that photographs is recorded in (step S1012) in the recording medium 31 by medium controller 30.
When face detection sign was set to ON, camera 1 transfers shooting holding state (step S1006) to and makes face detection function automatically was effective (step S1005).After this, when pressing release-push 15, determine whether facial testing circuit 16 detects one or more faces (step S1007) in image.
When facial testing circuit 16 in image, detect one or more when facial, the face that CPU 11 control AE and AF testing circuit 22 and 23 arrive with shot detection optimally.In the signal processing to the view data that photographs, CPU 11 also controls imaging signal processing circuit 28 and regulates white balance and noise reduction (step S1008) image with the optimization face.CPU 11 adds the number of facial testing circuit 16 detected faces in the label to (step S1009) and by medium controller 30 it is recorded (step S1012) in the recording medium 31 as facial information.
When not detecting face in the image that facial testing circuit 16 is photographing, carry out normal photographing (step S1010).CPU 11 adds number=0 of detected face in the label (step S1011) and executive logging processing (step S1012) as facial information.
Therefore, when power supply is made as ON, the face that reads in the flash memory part that is stored in memory 13 detects sign to determine whether that automatically making face detection function serves as effectively, and face detection function can be used the preference of photographic images effectively according to the user thus.
[the 3rd embodiment]
Figure 11 illustrates the flow chart of the digital camera 1 of the 3rd embodiment in the operation of replay mode.The part shared with the flow chart shown in Fig. 6 is provided to identical reference character and label, and ignores the description to it.
The digital camera 1 of the 3rd embodiment is different from the first embodiment part in the operation of replay mode and is: make the facial sign that detects in the image in the recording medium of taking in predetermined recently period 31 is set to the judgement that ON still is OFF.
Identical with the situation of first embodiment, when power supply is set as ON (step S61), detect in the view data of taking and being recorded in each image in the recording medium 31 in whether facial information being added in the previous year (step S62).By way of parenthesis, the date and time that reading images is taken from the label information of image file.For each image that does not add facial information, carry out facial detection and generate facial information (step S63) based on facial testing result.Facial information is stored in the label of image file frame head part of each image (step S64).
In the time of in each image of in confirming facial information added in the previous year, taking (step S111), there is the percentage of the image of face in the image of taking in calculating in the previous year.When the percentage that wherein has facial image is 60% or when higher, face is detected sign be made as ON.When the percentage that wherein has facial image less than 60% the time, face is detected sign is made as OFF.The face detection is indicated in the flash memory part that is recorded in memory 13 (step S112).
Therefore, calculating the percentage that has facial image in nearest predetermined period in the image of taking allows the user to use face detection function effectively according to user's hobby or preference in predetermined period.
Although predetermined period in the present embodiment was assumed that over 1 year, be not limited to this period, perhaps can be some months or several years.Can be set this period according to user's judgement.
[the 4th embodiment]
Figure 12 illustrates the flow chart of the digital camera 1 of the 4th embodiment in the operation of replay mode.The part shared with the flow chart shown in Fig. 6 is provided to identical reference character and label, and ignores the description to it.
The digital camera 1 of the 4th embodiment is different from the first embodiment part in the operation of replay mode and is: the face in the image of the predetermined number of selecting by the time inverted order of shooting date and time in making recording medium 31 detects sign and is set to the judgement that ON still is OFF.That is to say the image of last predetermined number in the image that in recording medium 31, writes down by shooting date and time chosen distance.
Identical with the situation of first embodiment, when power supply is set as ON (step S61), detect in each the view data of 100 images whether facial information being added in the recording medium of selecting by last shooting date of distance and the time inverted order of time 31 (step S62).By way of parenthesis,, use the label information of image file for shooting date and time, identical with the situation of the 3rd embodiment.For each image that does not add facial information, carry out facial detection and generate facial information (step S63) based on facial testing result.Facial information is stored in the label of image file frame head part of each image (step S64).
When confirming all to have added facial information (step S121), calculate the percentage that in 100 images that the time inverted order of last shooting date and time by distance is selected, has the image of one or more faces for each of 100 images selecting by last shooting date of distance and the time inverted order of time.When the percentage that wherein has facial image is 60% or when higher, face is detected sign be made as ON.When the percentage that wherein has facial image less than 60% the time, face is detected sign is made as OFF.The face detection is indicated in the flash memory part that is recorded in memory 13 (step S122).
Therefore, there is the percentage of facial image in calculating in the image of the predetermined number that the time inverted order of pressing shooting date and time is selected, allow the user to come to use face detection function effectively in the image of the predetermined number of selecting by the time inverted order of shooting date and time according to user's shooting preference.
Although the number of the image of selecting by the time inverted order of shooting date and time is assumed that 100, be not limited to this number.The number of this image can be set according to user's judgement.