1. Field of the Invention
The present invention relates to a technique effectively used for an apparatus (an information processing system, a mobile phone, a portable information processing system, etc.) having the function to display an image.
2. Description of the Related Art
In recent years, the imaging devices such as the digital camera and the apparatuses having the imaging devices (the mobile phone, PDA (personal digital assistant) or other information processing systems) have decreased in size more than ever before. With the decrease in size of these devices, the weight is reduced or otherwise the portability has been improved for the convenience of users. On the other hand, some problems have been posed by the size reduction.
Generally, an imaging device or the like has a display unit, and the user can confirm a picked-up image by displaying it on the display unit. With the reduction in size of the imaging device, however, the display unit has also been reduced in size, thereby making it difficult to confirm the details of the image picked up.
It is true that even with the display unit reduced in size, it has been possible for the user to roughly confirm the pattern, i.e. whether the image of the intended subject is successfully picked up in the image frame or not and whether the whole image is not “whitened” or not. With the conventional display unit reduced in size, however, it is difficult to confirm the details of a part of the image, i.e. whether the image of the intended subject is not blurred by the hand vibration or the intended subject opens the eyes thereof.
In the prior art, in order to solve these problems, a magnified reproduction function has been proposed. In the conventional magnified reproduction function, in response to a user instruction for magnified reproduction, an initially set position (normally, the screen center) is displayed magnified on the display unit at a predetermined magnification rate. By depressing the cursor key or the like, the user can confirm the details of the intended subject by moving the magnified portion within a predetermined range.
Nevertheless, the intended subject is not always imaged at the initially set position. In the case where the intended subject is not displayed magnified in response to the instruction for magnified reproduction, therefore, the user is required to depress the cursor key repeatedly to search for the intended subject from the magnified image. Thus, a great amount of time and labor are required to confirm the image.
To solve this problem, the technique described below is available. In imaging a subject with a digital camera, the position of a marker specifying the image area to be magnified in the whole display area of the display unit is set by a magnified area setting unit and input to an image processing unit. The image processing unit displays the marker at the input position of the display unit and specifies the image area to be magnified. Once the focusing operation is started, the image processing unit reads the whole image data stored in a frame memory and displays it in the whole display area of the display unit. Then, the image data of the image area to be magnified specified by the marker is read, magnified at a predetermined magnification rate, and displayed in the magnified display area of the display unit.
Another technique to solve the problem is available as described below. As long as the shutter button is not depressed, the whole image of a subject picked up by a two-dimensional imaging unit is displayed on a liquid crystal display unit with the resolution of the particular liquid crystal display unit. In the case where the shutter is depressed half way, on the other hand, the image picked up by the two-dimensional imaging unit in the area near the center of the focus area preset by the user is displayed in the magnified display area with a higher resolution. Also, the position of the image in the whole subject displayed in the magnified display area and the resolution of the image displayed in the image magnified display area are changed whenever required in accordance with the user operation. Once the shutter button is fully depressed, the whole image of the subject picked up by the two-dimensional imaging unit with the image-recording resolution is compression coded and recorded in a recording medium.
The imaging device, etc. reduced in size, however, has not any convenient pointing device such as a mouse. The user interface unit of these small-sized devices has never been satisfactory in operability. In the prior art, therefore, it is a bothersome job for the user to designate the position of a display frame (a marker or a magnified display area) indicating the magnified position by operating the user interface unit of the small-sized imaging device, consuming a great amount of time. Also, in the case where the subject intended by the user is different from the subject automatically displayed in magnified form (the subject on which the light is to be focused, for example), or in the case where a plurality of subjects intended by the user exist, the position of the display frame is required to be set each time, thereby posing the problem of consuming a great amount of operation time.
Accordingly, it is an object of this invention to solve these problems and provide an apparatus in which a magnified image of a subject intended by the user can be easily displayed regardless of whether the subjects to be focused are those intended by the user and the number of the subjects intended by the user.
In order to solve the problems described above, the invention is configured as described below. According to a first aspect of the invention, there is provided a magnified display apparatus comprising a display means to display an image, a detection means to detect an intended subject from the image to be displayed or the image on display on the display means, a display area determining means to determine the display area for magnified display of the intended subject based on the position of the intended subject detected by the detection means, and a magnification rate determining means to determine the magnification rate of the display area based on the determined size of the display area and the size of the screen of the display means. And the display means displays an image in the display area by the display area determining means in accordance with the magnification rate determined by the magnification rate determining means.
An example of the intended subject is the face of a man. In this case, the detection means may be configured as a face detection means to detect the face of a man. Also, the intended subject may be an automobile, a character or another subject as well as the face of a man.
In the magnified display apparatus having this configuration, the image displayed on the screen of the display means assumes not the whole of the image but a magnified image of the intended subject detected by the detection means. In the process, the display area and the magnification rate are determined by the detection means, the display area determining means and the magnification rate determining means. Therefore, the user can confirm the details of the image of the intended subject as compared with the case where the whole image is displayed. Also, the user is not required to determine or perform the operation on the display area and the magnification rate in displaying the magnified image, and therefore the magnified display of the intended subject can be easily viewed.
The magnified display function may be exhibited at the time of picking up an image by the imaging device or at the time of confirming the image picked up. In any case, by magnifying the image of a specified subject, it becomes possible to easily confirm whether the image of the specified subject is focused and the details of the specified subject.
The first aspect of the invention is applicable to devices with the operating units inconvenient to handle (such as a device having a small-sized operating unit, specifically including the mobile phone, the digital camera or the like imaging devices, and the PDA or the like portable information processing terminal devices). In addition to these devices with the operating unit inconvenient to handle, the first aspect of the invention is effectively applicable also to ordinary information processing systems in view of the fact that the user can easily view a magnified display of the intended subject.
Also, the first aspect of the invention may be configured to further comprise a receiving means for receiving an instruction to make a magnified display of the next intended subject included in the intended subjects displayed magnified by the display means. In the case where the instruction is received by the receiving means, the detection means may detect the next intended subject from the intended subjects displayed as a magnified image on the display means, the display area determining means may determine the display area of the next intended subject, the magnification rate determining means may determine the magnification rate of the next intended subject, and the display means may display the next intended subject in the display area newly determined and in accordance with the magnification rate newly determined.
In the first aspect of the invention configured as described above, after a given intended subject is displayed in a magnified form, the next intended subject contained in the particular first intended subject is similarly displayed in magnified form. In the case where the intended subject is the face of a man, for example, the eye(s) (one or both eyes), the nose, the eyebrow, the mouth or the portions surrounding them contained in the face may be displayed in magnified form as the next intended subject. By this configuration, the detailed focusing situation can be confirmed about the image to be picked up or the image that has been picked up. Also, in the case where the intended subject is an automotive vehicle, for example, the driver's seat or the license plate may be displayed as a magnified image of the next intended subject. By this configuration, the crucial information on the vehicle can be easily confirmed.
Also, after the next intended subject is displayed as a magnified image, the second next intended subject may be repeatedly displayed in magnified form. In the case where the surrounding of an eye is displayed in magnified form as the next intended subject, for example, the pupil or the white contained in the eye displayed in magnified form may be displayed in magnified form as the second next intended subject. Also, in the case where the driver's seat and the neighborhood thereof are displayed in magnified form as the next intended subject, the face of the man seated in the driver's seat may be displayed in magnified form as the second next intended subject.
Further, the first aspect of the invention may be so configured as to further comprise a receiving means to receive an instruction to display in magnified form an intended subject different from the one displayed in magnified form on the display means. Once this instruction has been received by the receiving means, the display means may display an image of the intended subject detected by the detection means, in accordance with the display area and the magnification rate providing the result of processing in the display area means and the magnification rate determining means for the intended object not displayed magnified on the display means.
According to the first aspect of the invention having this configuration, in the case where the user is desirous of displaying in magnified form an intended subject different from the one already displayed on the display means, what is required is simply to input a corresponding instruction using the receiving means. The user is not required, therefore, to execute the process of designating the position such as by setting the cursor to a different intended subject or set the magnification rate corresponding to the different intended subject. Thus, the user can easily view the magnified image of the different intended subject than the one displayed on the display means.
The first aspect of the invention may be configured to further comprise a classification means to classify into a plurality of masses a plurality of intended subjects which may be detected by a detection means. In this case, the display area determining means determines the display area based on the positions of all the intended subjects classified into the same mass by the classification means. The classification means is configured to classify the intended subjects, for example, in accordance with the area in the image in which each intended subject is located or the relative positions of the intended subjects. Also, the display area determining means determines the display area in such a manner that all the intended subjects classified into the same mass can be accommodated in the display area.
In the first aspect of the invention configured this way, the plurality of the intended subjects are classified into a plurality of masses, and for each mass, one or more intended subjects are displayed by being magnified at the same time. As a result, the user can view the images of a plurality of the intended subjects at the same time for an improved working efficiency.
Also, the first aspect of the invention may further comprise an evaluation means to display the display area determined by the display area determining means with the magnification rate determined by the magnification rate determining means and evaluate whether the intended subject included in the display area is sufficiently magnified or not, and a reclassification means to classify a plurality of the intended subjects included in the display area further into a plurality of masses. In the case where the intended subjects are classified by the reclassification means, the display area may be determined based on the positions of all the intended subjects classified into the same mass by the reclassification means. In the process, the evaluation as to whether an intended subject is sufficiently magnified or not indicates whether the intended subject which may be displayed in magnified form on the screen of the display means is displayed in a sufficiently large size. The criterion for this evaluation is appropriately set by the designer in accordance with the form in which the magnified display apparatus is mounted.
Assume, for example, that a plurality of intended subjects in a horizontal long string are determined as one mass and the display area is determined as a horizontally long area, and thus the intended subjects located in a wide range are classified into the same mass. In such a case, a small magnification rate may be determined regardless of the size of each intended object, and the image of each intended subject may not be sufficiently magnified and collectively displayed as a small image. The first aspect of the invention configured as described above, however, evaluates whether the magnified display with the magnification rate determined by the magnification rate determining means is sufficient or not, and in the case where the evaluation is that the magnified display is not sufficient, the mass is further reclassified into a plurality of masses. For each of the masses newly reclassified, the display area and the magnification rate are determined anew and the display by magnification is conducted. Even in the images picked up as a horizontally long string which may not be displayed in sufficiently magnified form by simple classification and determination of the magnification rate, therefore, images of the intended subjects can be automatically displayed in sufficiently magnified form.
Also, the display means according to the first aspect of the invention may be configured to display the reduced image of the whole image to be displayed or on display in a part of the screen, while the display area is displayed in magnified form in the other part of the screen. By displaying this way, the user can easily grasp the general configuration as well as each image of the intended subject magnified.
Also, in the display means according to the first aspect of the invention, the position of the intended subject detected by the detection means in the image to be displayed or on display may be displayed in a part of the screen while the display area may be displayed in magnified form in the other part of the screen. The position of the intended subject may be displayed as a geometric figure such as a circle or a polygon. By the display in this manner, the user can grasp the position of each intended subject in the whole image as well as the image of the intended subject magnified, and thus can grasp the pattern thereof. Also, the size of the figure can be changed in accordance with the size of each intended subject.
Also, the display means according to the first aspect may be so configured that the intended subject is displayed in a part of the screen while the display area is displayed in magnified form in the remaining part, where the wording “the display area is displayed in magnified form in the remaining part” indicates not to display the image in this display area but to display the position and/or size of this display area. This is realized, for example, by displaying a frame defining the display area, or by displaying the display area in a color different than the other areas. By this display, the user can easily grasp which part of the image is currently displayed in magnified form.
Also, the display means according to the first aspect may be so configured that the intended subject is displayed in a part of the screen while the intended subjects may be displayed in magnified form in the other areas in a manner discriminable from each other. By this display, the user can grasp which part of the image corresponds to the position of the intended subject currently displayed in magnified form.
Also, the magnification rate determining means according to the first aspect may be configured to determine the magnification rate based on the size of the screen remaining after removing at least a part of the screen. In the case where the display other than the magnified display is made in a part of the screen, the size of the screen for magnified display is reduced. In such a case, if the magnification rate is determined based on the size of the screen itself of the display means, a sufficiently magnified image might not be displayed. According to the first aspect of the invention configured as described above, however, the magnification rate is determined based on the size of the screen excluding the part of the non-magnified display, and therefore the problem described above can be avoided.
Also, the display area determining means according to the first aspect may be configured to change the position of the display area based on the position of a part of the screen in which a reduced image is displayed. In the first aspect of the invention configured in this way, in the case where the display other than the magnified display is made in a lower right part of the screen of the display means, for example, a display area is determined for magnified display with the intended subject shifted leftward of the screen center. In the above-mentioned case, therefore, even in the case where the display other than the magnified display is made in the lower right part of the screen, the magnified image of the intended subject can be displayed without interference from such other display, and therefore the user can confirm the magnified image.
According to a second aspect of the invention, there is provided a magnified image control apparatus comprising a detection means to detect an intended subject from the image to be displayed or on display on the screen, a display area determining means to determine the display area for magnified display of the intended subject based on the position of the intended subject detected by the detection means, a magnification rate determining means to determine the magnification rate of the display area based on the size of the display area determined and the size of the screen, and an output means to output the display area and the magnification rate determined by the display area determining means and the magnification rate determining means, respectively.
The second aspect of the invention further comprises a classification means to classify a plurality of intended subjects detected into a plurality of masses in the case where the plurality of the intended subjects are detected by a detection means, wherein the display area determining means may be configured to determine the display area based on the positions of all the intended subjects classified into the same mass by the classification means.
Also, the second aspect of the invention further comprises an evaluation means to evaluate whether the intended subject included in the display area is displayed in a sufficiently magnified form by displaying the display area determined by the display area determining means on the screen with the magnification rate determined by the magnification rate determining means, and a reclassification means to classify the plurality of the intended subjects included in the display area into a plurality of masses in the case where the evaluation means evaluates that the intended subjects are not sufficiently magnified, wherein the display area may be determined based on the positions of all the intended subjects which may classified into the same mass by the reclassification means in the case where the classification is made by the reclassification means.
Also, the magnified image control apparatus according to the second aspect of the invention may be implemented by a device included in a portable information processing terminal, an ordinary information processing system and an information processing system connected to a network. The magnified image control apparatus implemented by the information processing system connected to the network may be configured to be supplied with the image information from an imaging unit or an image storage server on the same network, while at the same time detecting an intended subject from the image and distributing the result to the display unit or the display terminal on the network.
The first and second aspects may be implemented by the information processing system executing a program. Specifically, according to this invention, the process executed by each means of the first and second aspects described above can be specified as a program for execution by the information processing system or as a recording medium for recording the program. Also, according to this invention, the process executed by each means described above may be specified by the method executed by the information processing system.
According to this invention, the image of an intended subject is displayed by automatic magnification, and therefore the user can view a magnified image easily without the operation to set the display area and the magnification rate.
In the description that follows, the face image is defined as an image including at least a part or the whole of the image of the face of a man. The face image, therefore, may include the image of the whole body or only the face or the upper half of the body of a man. Also, the face image may include an image of a plurality of men. Further, the face image may include any pattern such as a landscape (background including any substance intended as a subject) other than the man as a background.
[System Configuration]
First, an imaging apparatus 1a having a magnified image control apparatus 7a constituting a magnified image control apparatus 7 according to a first embodiment is explained.
The imaging apparatus 1a, in terms of hardware, includes a CPU (central processing unit), a main storage unit (RAM) and an auxiliary storage unit connected through a bus. The auxiliary storage unit is configured of a nonvolatile memory. The term “nonvolatile memory” as used herein includes what is called the ROM (read-only memory) (including the EPROM (erasable programmable read-only memory), the EEPROM (electrically erasable programmable read-only memory) and the mask ROM), the FRAM (ferroelectric RAM) and the hard disk.
The imaging apparatus 1a functions as an apparatus including an imaging unit 2, an input unit 3, a control unit 4a, an image storage unit 5, a display unit 6 and a magnified image control apparatus 7a, in which the various programs (OS, applications, etc.) stored in the auxiliary storage unit are loaded to the main storage unit and executed by the CPU. Next, each function and device included in the imaging apparatus 1a are explained.
<Imaging Unit>
The imaging unit 2, to pick up an image, converts the optical signal input through a lens or the like into an electrical signal and acquires the image data. The imaging unit 2 is configured of, say, a CCD (charge-coupled device) or a CMOS (complementary metal-oxide semiconductor) sensor. The imaging unit 2 picks an image in response to an imaging instruction input by the user operating a button not shown. The imaging unit 2, upon picking up an image, delivers the acquired image data to the magnified image control apparatus 7a and the image storage unit 5.
<Input Unit>
The input unit 3 is configured as a user interface unit used by the user to input an instruction to the imaging apparatus 1a. The input unit 3 is configured of, for example, a pointing device (mouse, track ball, etc.), a touch panel, a keyboard, a button or a dial. Also, the input unit 3 may be configured to input an instruction by recognizing the user's voice using a voice recognition device or another sensor.
The input unit 3, upon receipt of an instruction from the user, delivers the contents of the input instruction to the control unit 4a.
<Control Unit>
The control unit 4a controls the operation of each functional unit of the imaging apparatus 1a. A specific example of the process executed by the control unit 4a is explained below.
Once an image reproduced on the display unit 6 is determined, the control unit 4a controls the image storage unit 5, the display unit 6 and the magnified image control apparatus 7a. The image reproduced in the display unit 6 is determined, for example, in the case where an image is picked up by the imaging unit 2 or an image is selected by the user through the input unit 3. In the case where an image is picked up by the imaging unit 2, it is determined that the image picked up by the imaging unit 2 is displayed oh the display unit 6. In the case where an arbitrary image is selected by the user from the images stored in the image storage unit 5, on the other hand, it is determined that the selected image is displayed on the display unit 6. The operation of the control unit 4a is explained below with reference to a case in which an image is picked up by the imaging unit 2.
In the case where an image is picked up by the imaging unit 2, the control unit 4a instructs the magnified image control apparatus 7a to output the magnified display area and the magnification rate for the image data picked up. The control unit 4a receives the values of the magnified display area and the magnification rate as a set from the magnified image control apparatus 7a. Also, the control unit 4a instructs the display unit 6 to display the data of the image picked up, in accordance with the output of the magnified image control apparatus 7a. Then, the control unit 4a, in accordance with the user input through the input unit 3, instructs the image storage unit 5 to store or not to store the data of the image picked up.
The control unit 4a, upon receipt of a plurality of magnified display areas and magnification rates from the magnified image control apparatus 7a, stores their values in a storage unit not shown. The control unit 4a, upon receipt of an instruction to display the image of a new magnified display area from the user, selects a magnified display area and a magnification rate stored and not displayed in the display unit 6, and in accordance with the selected values, gives a display instruction to the display unit 6. In the case where the priority order is set to the magnified display areas, the control unit 4a may determine the order of display in accordance with the order of priority. Also, the control unit 4a may be configured, upon receipt of an instruction from the user to display an image of a new magnified display area, upon completion of display of all the magnified display areas in store, to output an error or to display again the magnified display area already displayed
The control unit 4a performs various other control operations for the imaging apparatus 1a to operate as an imaging device.
<Image Storage Unit>
The image storage unit 5 is configured using what is called a nonvolatile memory. The image storage unit 5 receives an image picked up by the imaging unit 2, and upon receipt of a storage instruction from the control unit 4a, stores the image. Also, upon receipt of an instruction to output the image designated by the control unit 4a, the image storage unit 5 delivers the designated image to the display unit 6.
<Display Unit>
The display unit 6 is configured using an image display device such as a liquid crystal display. The display unit 6 receives the image data stored in the image storage unit 5, and in accordance with an instruction from the control unit 4a, displays the image. Upon receipt of an instruction from the control unit 4a to display an image in accordance with the output of the magnified image control apparatus 7a, the image is displayed in accordance with the contents output from the magnified image control apparatus 7a. Specifically, the display unit 6 deforms and displays, at the magnification rate output from the magnified image control apparatus 7a, the image of the magnified display area output from the magnified image control apparatus 7a out of the image data read from the image storage unit 5.
<Magnified Image Control Apparatus>
The magnified image control apparatus 7a is implemented as a device including the face detector 8 and the magnified image control unit 9a in which the program is executed by the CPU included in the imaging apparatus 1a. Also, the magnified image control apparatus 7a includes a storage unit such as a RAM and a CPU independent of the imaging apparatus 1a, and may be implemented as a device having each of the above-mentioned functions by the CPU executing the program. Also, the magnified image control apparatus 7a or each of the function units thereof may be constituted as a dedicated chip. Each of the function units included in the magnified image control apparatus 7a is explained below.
<<Face Detector>>
The face detector 8 detects the face of a man from the image (hereinafter referred to as “the original image”) input to the magnified image control apparatus 7a. The face detector 8 detects the face of a man from the original image, and specifies the face coordinate indicating the position and size of the face detected. The face detector 8 may be configured, for example, to detect the face of a man by template matching using a reference template corresponding to the contour of the whole face. Also, the face detector 8 may be configured to detect the face by template matching based on the organs (eyes, pupils, nose, nostrils, mouth, lips, ears, etc.) of the face. Also, the face detector 8 may be configured to detect an apex such as the head by chroma key processing and detect the face based on the apex. Also, the face detector 8 may be configured to detect an area near the skin color and detect the particular area as a face. Also, the face detector 8 may be configured to learn from a teacher signal using a neural network and detect a face-like area as a face. Also, the face detecting process by the face detector 8 may be realized by application of any other existing techniques.
Also, the face detector 8 detects the information required for the magnified image control unit 9a such as the position of each of a plurality of organs included in the face detected. In the description that follows, the magnified image control unit 9a executes the process using the center position of the eyes and the mouth, and therefore the face detector 8 is configured to detect the center position of at least the eyes and the mouth. Also, the face detector 8 may be configured to further detect the size or direction of the face.
The face detector 8 delivers the detected information on each face (position, size and direction of the face, and the position of each organ, hereinafter referred to as “the face information”) to the magnified image control unit 9a.
<<Magnified Image Control Unit>>
The magnified image control unit 9a generates the information (such as the magnified display area and the magnification rate) for magnifying and displaying the face detected by the face detector 8 on the display unit 6. First, the magnified image control unit 9a acquires a face rectangular area constituting an area surrounding an arbitrary face detected by the face detector 8. In the process, the magnified image control unit 9a determines the face rectangular area in accordance with the size of the face area, the size of the face organs and the distance between the organs. Also, the face rectangular area is preferably set in a manner not to cross the face contour. Next, the magnified image control unit 9a determines a magnified display area based on the face rectangular area. The magnified display area is defined as an area in the original image magnified and displayed by the display unit 6. In the process, the magnified image control unit 9a may determine the face rectangular area directly as a magnified display area or may determine the final magnified display area in accordance with the tilt of the face. The magnified image control unit 9a determines the magnification rate for magnifying the image of the magnified display area in accordance with the size of the magnified display area and the size of the display unit 6 determined. A specific example of the process executed by the magnified image control unit 9a is explained below.
First, the magnified image control unit 9a acquires the tilt of the face image detected by the face detector 8.
G′=(P1′+P2′+P3′)/3 [Expression 1]
Also, the magnified image control unit 9a acquires the position of the middle point (P4′) between P1′ and P2′. Then, the magnified image control unit 9a acquires the distance (D12) between P1′ and P2′ and the distance (D34) between P3′ and P4′.
Next, the magnified image control unit 9a determines the face rectangular area (A′B′C′D′) based on D12 and D34. The face rectangular area is a rectangle surrounding the face detected and may be arranged at any angle with respect to the original image. The magnified image control unit 9a acquires the four coordinates A′, B′, C′, D′ from the equation of Expression 2 and determines the face rectangular area. Incidentally, in Expression 2, Gx and Gy designate the values of the X and Y coordinates, respectively, of the center of gravity G.
A′=(Gx−D12×α/2,Gy−D34×β/2)
B′=(Gx−D12×α/2,Gy+D34×β/2)
C′=(Gx+D12×α/2,Gy−D34×β/2)
D′=(Gx+D12×α/2,Gy+D34×β/2) [Expression 2]
In Expression 2, α and β are values appropriately determined by the designer in such a manner that the line segments included in the rectangle A′B′C′D′ may not cross the face area. Next, the magnified image control unit 9a rotates the four points in the direction reverse to the direction of the first rotation, and thereby acquires the positions of the four points (A, B, C, D) of the original image before rotation while at the same time determining the magnified display area.
Next, the magnified image control unit 9a determines the magnification rate for magnifying and displaying the image of the magnified display area. The magnified image control unit 9a determines, based on the size of the magnified display area thus determined, the magnification rate so that the whole of the magnified display area can be displayed on the display area 6. Further, the magnified image control unit 9a may determine the magnification rate in such a manner that the magnification rates in vertical and horizontal directions may not be different from each other (in such a manner that the image after magnification may not be distorted). For example, the magnified image control unit 9a calculates Wd/W and Hd/H using the width W and the height H of the magnified display area and the width Wd and the height Hd of the predetermined display area of the display unit 6, and may determine Wd/W or Hd/H, whichever smaller, as a magnification rate. Then, the magnified image control unit 9a outputs the magnified display area and the magnification rate to the control unit 4a. The magnified image control unit 9a determines the magnified display area and the magnification rate for each of all the faces detected and outputs them as a set to the control unit 4a.
[Operation Example]
Once the image data is input to the magnified image control apparatus 7a, the face detector 8 detects the image of the face of a man from the original image data (S02). In the case where no face of a man is detected (NO at S03), the magnified image control apparatus 7a notifies the display unit 6, which thus ends the process by normal display (S04). The normal display is defined to display the whole image. In the case where the face of a man is detected (YES at S03), on the other hand, the face detector 8 further detects the center of the eyes and the center of the mouth. Then, the magnified image control unit 9a executes the process of determining a face magnified display area (S05). The process of determining the face magnified display area is explained below.
Returning to
[Operation/Effects]
Also, in the case where the user inputs an instruction through the input unit 3 to display a new face not displayed in the display unit 6, the image of the new face as shown in
[Modification]
The magnified image control unit 9a may determine a magnified display area through other processes.
α<S/(W×H)<β [Expression 3]
In the process, W and H may be acquired by predetermining the ratio between W and H.
Also, the magnified image control unit 9a may be so configured that in the case where the face detector 8 uses a rectangle indicating the face area to detect the face, this rectangle used for detection may be used as a rectangle indicating the face rectangular area.
Also, the magnified image control unit 9a may be configured to acquire the magnification rate in such a manner that the vertical magnification rate and the horizontal magnification rate are different from each other.
Also, in the case where a part of the image stored in the image storage unit 5 is displayed in magnified form, the image conversion such as magnification may be conducted by any of the display unit 6, the magnified image control apparatus 7a and another image converter not shown.
Also, the image storage unit 5 is not necessarily required to store only the image picked up by the imaging unit 2 of the imaging apparatus 1a, but may be configured to store the image generated by other devices.
Also, the magnified image control unit 9a may be configured to assign the order of priority in which a plurality of magnified display areas and magnification rates output are displayed. The order of priority of display (i.e. the order in which something is displayed) may be determined, for example, in accordance with the size of the face rectangular area, the position of the face on the original image (in this case, the order of priority is determined in accordance with the order of raster scan from upper left to lower right portions), the direction of the face (for example, whether the face is directed to the front or not), the sex or age estimated from the face and the result of face identification (i.e. whose face).
Also, the display unit 6 may be configured to display the magnification rate for magnified display. In similar fashion, the display unit 6 may be configured to indicate that normal display is going on at the time of normal display.
Also, the face detector 8 may be configured further to detect that the eyes of each face detected are open. The detection of open eyes may be realized by template matching with edges (using an open-eye template and a closed-eye template), using the aspect ratio of the eye area, the ratio of area between black and white eye areas or another other existing detection method. In such a case, the imaging apparatus 1a may be configured to output the detection result of the open-eye state. For example, the imaging apparatus 1a may be configured to display the open-eye state detection result on the display unit 6, or output the detection result using the turning on of a lamp or the voice.
Also, the face detector 8 may be configured to further detect the out-of-focus state of each face detected. The detection of the out-of-focus state can be realized by configuring the face detector 8, for example, in the manner described below.
The face detector 8 converts the detected face image into the gray scale and executes the fast Fourier transform. Next, the face detector 8 detects the power spectrum, and acquires the sum of energy in a donut-shaped area with the origin of the power spectrum space as the center.
Also, the face detector 8 may be further configured to execute the process of identifying each face. In this case, the face detector 8 identifies a detected man in accordance with the feature amounts, etc. registered in advance. In this case, the imaging apparatus 1a may be configured to output the identification result. For example, the imaging apparatus 1a may be configured to display the identification result on the display unit 6, or to output the identification result by lighting a lamp or producing the voice. This identification process can be implemented by using, for example, the technique described in the articles described below.
Kurita Takio, “Statistical Method of Face Detection and Recognition” [searched Mar. 5, 2004] Internet <URL: http://www.neurosci.aist.go.jp/-kurita/lecture/statface.pdf>
Also, the imaging apparatus 1a may be configured to magnify and display a part included in the face magnified and displayed on the display unit 6. In the case where an instruction to display by magnifying a part included in the face is input through the input unit 3, for example, the magnified image control apparatus 7a may determine the magnified display area and the magnification rate for the particular part and displayed anew on the display unit 6 in accordance with the values determined. Examples of this part include the eyes, nose, pupils, mouth, forehead and eyebrows or the surroundings thereof. This partial magnified display may be repeated. After magnified display of the face, for example, a part thereof such as the surrounding of the eyes may be magnified and displayed, and the pupils included in the eyes on display may be further displayed in magnified form as a part thereof.
Also, the magnified image control apparatus 7a may be configured to determine the magnified display area and the magnification rate by detecting other subjects than the face of a man. Such subjects may be, for example, an automotive vehicle or the whole human body. In such a case, an example of a part further magnified as described above is the driver's seat of the vehicle or a part of the human body (hand, leg, torso, face, etc.).
Also, the magnified image control apparatus 7a may receive an image not from the imaging unit 2 but may be configured to execute the process using the image already stored in the image storage unit 5 (for example, the image already picked up by the imaging unit 2). In this case, the display unit 6 may be configured to receive, magnify and display the image to be processed by the magnified image control apparatus 7a from the image storage unit 5.
[System Configuration]
Next, an imaging apparatus 1b having a magnified image control apparatus 7b as a second embodiment of the magnified image control apparatus 7 is explained.
<Magnified Image Control Apparatus>
The magnified image control apparatus 7b, unlike the magnified image control apparatus 7a, further includes a mass detector 10 and a magnified image control unit 9b in place of the magnified image control unit 9a. The difference of the magnified image control apparatus 7b from the magnified image control apparatus 7a is described below.
<<Mass Detector>>
The mass detector 10 clusters the faces detected by the face detector 8 into a plurality of masses. As the result of cluster operation by the mass detector 10, the faces included in a predetermined area of the image may be classified into the same mass, or the faces located in proximity to each other in the image may be classified into the same mass. A specific example of the process executed by the mass detector 10 is explained below.
The mass detector 10, after clustering, outputs the face information included in each mass to the magnified image control unit 9b.
<<Magnified Image Control Unit>>
The magnified image control unit 9b, unlike the magnified image control unit 9a, further executes the process in accordance with the result of clustering by the mass detector 10. The magnified image control unit 9b determines the magnified display area and the magnification rate for each mass clustered by the mass detector 10. In other words, the faces clustered into the same mass are controlled to be displayed in the display unit 6 at the same time.
A specific example of the process executed by the magnified image control unit 9b is explained with reference to
The magnified image control unit 9b first acquires the face rectangular area of each face included in the mass to be processed. The magnified image control unit 9b may acquire the face rectangular area by the same method as the magnified image control unit 9a. Next, the magnified image control unit 9b acquires Wsum and Hsum and determines these values as the magnified display area. Next, the magnified image control unit 9b calculates aw=Wd/Wsum and ah=Hd/Hsum. Then, the magnified image control unit 9b acquires a magnification rate from aw or ah, whichever is smaller in value. The magnified image control unit 9b may output the magnified display area and the magnification rate thus obtained to the control unit 4a.
Also, the magnified image control unit 9b may be configured to further execute the process described below. The magnified image control unit 9b determines the area specified by Wsum and Hsum as a provisional magnified display area and acquires aw or ah, whichever is smaller in value, as a provisional magnification rate. Next, in the case where the provisional magnified display area is magnified by the provisional magnification rate, the magnified image control unit 9a determines whether the image of the face included in the particular area is sufficiently large or not. The magnified image control unit 9b, upon determination that the face image has no sufficient display size, divides the provisional magnified display area into a plurality of areas and determines each area thus divided as a magnified display area. In this way, the display of the face image of a sufficiently large size is guaranteed. A specific example of this process is explained below.
With this configuration, first, the magnified image control unit 9b defines aw or ah, whichever smaller, as a provisional magnification rate, and acquires the largest face rectangular area in the mass (i.e. the face rectangular area defined by Wmax and Hmax) magnified by the provisional magnification rate as Smax. Specifically, the magnified image control unit 9b calculates the value of Smax according to the following equation:
Smax=Wmax×Hmax×min(aw,ah)2 [Expression 4]
Incidentally, in Expression 4, min(aw, ah) indicates the value of the smaller one of aw and ah. The magnified image control unit 9b compares the value Smax with a predetermined threshold A. In the case where the value Smax is not less than the threshold A, the magnified image control unit 9b determines the area specified by Wsum, Hsum as a magnified display area and outputs the value of min(aw, ah) as a magnification rate. In the case where the value Smax is smaller than the threshold A, on the other hand, the magnified image control unit 9b divides the area specified by Wsum, Hsum into a plurality of areas, and specifies each of the divided areas as a magnified display area.
Next, an example of the area-dividing process executed by the magnified image control unit 9b is explained.
Next, the magnified image control unit 9b, upon execution of the magnification process using the minimum magnification rate Emin, specifies a plurality of division areas having a sufficient size to be accommodated in the display frame of the display unit 6. For example, the magnified image control unit 9b specifies a plurality of division areas by executing the process described below. First, the figures below the decimal point of DIVw and DIVh calculated by Expression 6 are carried up and the resulting integer is used as a division number along the width and height, respectively.
The magnified image control unit 9b, in accordance with the resulting division number, divides the area specified by Wsum, Hsum into a plurality of areas.
Next, the magnified image control unit 9b classifies the faces having the center thereof in the same area divided are classified as faces associated with the same mass. Based on the face rectangular areas associated with each mass, the magnified display area for each mass is specified.
[Operation Example]
In the case where no face is detected by the face detecting operation at step S02 (0 at S16), the normal display is carried out (S04). Also, in the case where only one face is detected in the face detecting operation (1 at S16), the process of determining the magnified display area for this face is executed (S05), and the face is magnified and displayed (S06). Also, in the case where a plurality of faces are detected at the face detection step S02 (S16>=2), the mass detector 10 executes the clustering operation (S17). Then, the magnified image control unit 9b executes the process of determining the mass magnified display area for each mass specified by the mass detector 10 (S18).
In the case where the magnified image control unit 9b determines that the magnification process with the provisional magnification rate is not proper (NO at S21), on the other hand, the minimum magnification rate is calculated as the magnitude of a minimum required magnification rate to execute the proper magnification process (S23). Next, the magnified image control unit 9b determines the number of divisions into which the provisional magnified display area is divided in accordance with the minimum magnification rate calculated (S24). Then, the magnified display area and the magnification rate are specified in accordance with the faces included in each division area of the provisional magnified display area divided (S25). By outputting these values, the process of determining the mass magnified display area is ended.
Returning to
[Operation/Effects]
In the imaging apparatus 1b, the faces of men imaged in proximity to each other on the original image or in the same area (such as the areas A to E in
Also, in the case where the faces of men arranged in a long row or column are clustered as a mass, the value of aw or ah, whichever is smaller, obtained as a magnification rate is liable to be very small. In such a case, even though the faces included in a mass are magnified and displayed at the same time, a sufficient magnification (i.e. the proper magnification process) is impossible and it may be difficult to effectively confirm the image. In the imaging apparatus 1b, therefore, the magnified image control unit 9b determines whether the proper magnification process is executed or not with the magnification rate provisionally obtained (provisional magnification rate). In the case where the magnified image control unit 9b determines that the proper magnification process cannot be executed, the provisional magnified display area is further divided into a plurality of magnified display areas. In this way, a magnification rate higher than the provisional magnification rate is secured to guarantee the proper magnification process. As a result, the user confirming the image can view the image sufficiently magnified, and conduct the confirmation job effectively.
[Modification]
The magnified image control unit 9b may be configured to request the mass detector 10 to cluster again the area specified by Wsum, Hsum in the process of area division. In this case, the mass detector 10 executes the clustering described above and specifies a mass of a plurality of faces for the area specified by Wsum, Hsum. Then, the magnified image control unit 9b calculates Wsum, Hsum anew based on the result of reclustering by the mass detector 10. In this way, the magnified display area is specified and further the magnification rate is calculated. The magnified image control unit 9b may be configured to recursively execute this process until the conditions of the threshold A are satisfied.
Also, the magnified image control unit 9b may be configured to assign the order of priority of display in outputting a plurality of magnified display areas and magnification rates. For example, the order of priority of display (i.e. the sequence of display) may be determined in accordance with the number of faces included in a mass, the maximum size of the face rectangular area included in the mass, the total size of the faces or the face rectangular areas included in the mass, the sequence predetermined for each area (A, B, C and D in that order, for example), the number of faces directed forward, the number of faces by sex, the number of faces by age or the result of identification of the faces included in the mass (i.e. whose faces are included).
Also, the number of the faces included in a mass may be controlled. In the case where the user designates the number of faces, for example, the mass detector 10 executes the clustering process in such a manner that more faces than the designated number are not included in a mass. In the case where more faces than designated are included in a mass as the result of clustering, for example, the clustering is recursively executed for the particular mass.
Also, in the case where a plurality of faces are displayed as a mass at the same time, a face on display may be selected and only the particular face may be further magnified and displayed. In this case, the process of determining the face magnified display area is executed for the face selected by the user, for example, thereby determining the magnified display area and the magnification rate unique to the particular face. In accordance with the contents thus determined, a face is displayed on the display unit 6.
Also, the imaging apparatus 1b according to the second embodiment may be configured in accordance with a modification of the first embodiment.
[System Configuration]
Next, an imaging apparatus 1c having a magnified image control apparatus 7c according to a third embodiment based on the magnified image control apparatus 7 is explained.
<Magnified Image Control Apparatus>
The magnified image control apparatus 7c, unlike the magnified image control apparatus 7a, includes a magnified image control unit 9c in place of the magnified image control unit 9a. The difference of the magnified image control apparatus 7c from the magnified image control apparatus 7a is explained below.
<<Magnified Image Control Unit>>
The magnified image control unit 9c is different from the magnified image control unit 9a in that the former generates a whole image and determines the magnified display area and the magnification rate in such a manner as to make it possible to display the whole image. The whole image is defined as an image showing the whole of the original images and implemented as an image reduced from the original image or an image including the figures indicating the position and size of the faces detected in the original image. The magnified image control unit 9c determines the magnified display area and the magnification rate in such a manner as not to reduce the visibility of the face image as an intended subject in the magnified image when displaying the whole image on the display unit 6. Three types of specific processes executed by the magnified image control unit 9c are explained below.
<Control Unit>
The control unit 4c determines by control as to which one of the first to third examples of process is executed by the magnified image control apparatus 7c in accordance with the setting stored or input by the user.
In the case where the process shown in the first example of process is executed by the magnified image control apparatus 7c, the control unit 4c controls the display unit 6 in such a manner as to display a reduced original image as the whole image. Also, in the process, the control unit 4c may control the display unit 6 in such a manner that the frame indicated by the magnified display area is displayed in the whole image (in such a manner as to be displayed in a thick frame, for example). Also, the control unit 4c may control the display unit 6 in such a manner that a particular face of a man displayed in magnified form is displayed in the whole image (in such a manner as to display the face as a thick circular frame, for example). Also, in the case where the process shown as the first example of process is executed in the magnified image control apparatus 7c, the control unit 4c controls the magnified image control apparatus 7c in such a manner that the process of determining the face magnified display area is executed in accordance with the display frame defined as Wd-We, Hd-He.
In the case where the process shown in the second example of process is executed by the magnified image control apparatus 7c, the control unit 4c controls the display unit 6 in such a manner as to display a similar image to the first example of process as the whole image. In the process, the control unit 4c controls the display unit 6 by superposing the whole image on the magnified image at a predetermined position (lower right corner in
In the case where the process shown in the third example of process is executed by the magnified image control apparatus 7c, the control unit 4c controls the display unit 6 in such a manner that the reduced original image is not displayed as the whole image, but a geometric figure indicating the position and size of the face detected by the face detector 8 is displayed. In the process, the control unit 4c may control the display unit 6 in such a manner that the geometric figure indicating the face displayed in magnified form as a magnified display area is displayed in a manner identifiable from other geometric figures. For example, such a geometric figure may be displayed with a pattern, shape or color different from other geometric figures, or may be configured to further display a frame surrounding such as geometric figure. Further, the geometric figure and the frame may be displayed translucently.
[operation/Effects]
In the imaging apparatus 1c, in addition to the magnified display with the face of a man displayed in magnified form, the whole image whereby the whole configuration of the original image is recognizable is displayed on the display unit 6. Also, the position and size of the face of the man displayed in magnified form is displayed in the whole image. The user, therefore, can easily grasp which part of the original image constitutes the face displayed magnified or to what degree the face image is magnified.
Also, since the whole image is displayed in a small display frame, the user may be unable to confirm the whole configuration simply by displaying the reduced original image. In the third example of process of the imaging apparatus 1c, however, the original image is not displayed as the whole image, but a geometric figure showing a face is displayed. As a result, the whole image can be displayed as a more simple image, and it becomes easy to grasp the whole configuration (the arrangement and size of each face imaged).
[Modification]
The magnified image control apparatus 7c further includes a mass detector 10 according to the second embodiment, and the magnified image control unit 9c, like the magnified image control unit 9b according to the second embodiment, may be configured to further operate in accordance with the output of the mass detector 10. In other words, the imaging apparatus 1c, like the imaging apparatus 1b according to the second embodiment, may be configured to handle a plurality of faces as a single mass.
Also, the control unit 4c may control the display unit 6 in such a manner that the faces magnified and displayed and the mass can be selected from the whole image displayed. For example, the display unit 6 may be controlled in such a manner that in the whole image, the face or the mass selected by the user is displayed in a manner discriminable from other faces and masses, and the selected face and mass are changed in accordance with the input operation of the user through the input unit 3.
Also, the control unit 4c may be configured to determined by control, through the input operation of the user by way of the input unit 3, as to whether the whole image is displayed or not.
Also, in the case where the magnified display is conducted in accordance with the first or second example of process, the display using a geometric figure may be conducted in accordance with the third example of process as the whole image. Also, in the case where the magnified display is conducted in accordance with the third example of process, the reduced original image may be displayed in accordance with the first or second example of process.
Also, the imaging apparatus 1c according to the third embodiment may be configured in accordance with a modification of the first or second embodiment.
Number | Date | Country | Kind |
---|---|---|---|
2004-128654 | Apr 2004 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5438357 | McNelley | Aug 1995 | A |
5835641 | Sotoda et al. | Nov 1998 | A |
6049674 | Yamamoto et al. | Apr 2000 | A |
6124841 | Aoyama | Sep 2000 | A |
6137469 | Wu et al. | Oct 2000 | A |
6304271 | Nehme | Oct 2001 | B1 |
7587068 | Steinberg et al. | Sep 2009 | B1 |
20030071908 | Sannoh et al. | Apr 2003 | A1 |
20030090497 | Yoshioka | May 2003 | A1 |
20030103065 | Masera et al. | Jun 2003 | A1 |
20030174220 | Ito | Sep 2003 | A1 |
20040119852 | Shin | Jun 2004 | A1 |
20040169668 | Yamada et al. | Sep 2004 | A1 |
20040183819 | Henry | Sep 2004 | A1 |
20040246272 | Ramian | Dec 2004 | A1 |
20050041044 | Gannon | Feb 2005 | A1 |
20050083350 | Battles | Apr 2005 | A1 |
20060215924 | Steinberg et al. | Sep 2006 | A1 |
Number | Date | Country |
---|---|---|
1 128 316 | Aug 2001 | EP |
2003-271931 | Sep 1926 | JP |
09-233384 | Sep 1997 | JP |
2000-048184 | Feb 2000 | JP |
2001-045407 | Feb 2001 | JP |
2003-107335 | Apr 2003 | JP |
2003-108979 | Apr 2003 | JP |
Number | Date | Country | |
---|---|---|---|
20050251015 A1 | Nov 2005 | US |