# Patent

## Title
Image device and image-capturing device with timing control circuit for outputting first vertical synchronization signal and second vertical synchronization signal

## Abstract

An image device is adapted to control an image-capturing section and a display section. The image-capturing section captures an image of a subject and generate image-capture data in synchronization with a first vertical synchronization signal. The display section displays an image on the basis of image data in synchronization with a second vertical synchronization signal. The image device includes an image-data-generation section configured to generate the image data on the basis of the image-capture data, and a timing generator configured to output the first vertical synchronization signal and the second vertical synchronization signal. The second vertical synchronization signal is outputted after a predetermined period from a timing at which the first vertical synchronization signal is outputted. The predetermined period is shorter than a period of one cycle of the first vertical synchronization signal and variable. The first vertical synchronization signal and the second vertical synchronization signal are synchronized.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This is a continuation application of U.S. patent application Ser. No. 14/467,800 filed on Aug. 25, 2014, which is a continuation application of U.S. patent application Ser. No. 13/161,917 filed on Jun. 16, 2011, now U.S. Pat. No. 8,830,342. This application claims priority to Japanese Patent Application No. 2010-136847 filed on Jun. 16, 2010. The entire disclosures of U.S. patent application Ser. Nos. 14/467,800 and 13/161,917 and Japanese Patent Application No. 2010-136847 are hereby incorporated herein by reference.


BACKGROUND
Technical Field
The present invention relates to an image-capturing device for displaying an image of a subject in a display section, and to an image device.
Related Art
Image-capturing devices adapted to display, on a liquid crystal display, images that have been captured by an image sensor are known in the past, and various techniques have been developed for preventing displayed images displayed on a liquid crystal display from being delayed with respect to the actual subject. In Patent Citation 1, for example, a technique is disclosed whereby an image signal is read and displayed by a liquid crystal display before writing of the image signal of a single frame to the VRAM is completed in an image-capturing device provided with a VRAM for recording an image signal of a single frame. Specifically, a configuration is described in which image display by a liquid crystal display is started at a playback timing that is delayed by ΔT from the drive timing of the image sensor.
Japanese Patent Application Publication No. 2007-243615 (Patent Citation 1) is an example of the related art.
SUMMARY
In the technique of Patent Citation 1, the cycle of the drive timing and the playback timing is the cycle for processing an image of a single frame, and a constant ΔT is defined for each frame. In other words, in the technique of Patent Citation 1, ΔT is described as being defined for each mode (Patent Citation 1, paragraph 0057), and ΔT is determined so that reading of image data does not take place before writing thereof (Patent Citation 1, paragraphs 0055 and 0056). Consequently, although ΔT may fluctuate for each mode, ΔT is a common value for each frame in the same mode, and the same phase difference ΔT is given for all lines of the image that is to be displayed.
However, in a configuration in which image processing is carried out for the purpose of displaying an image of a subject in a display section on the basis of image-capture data from an image sensor, because the period needed for image processing of various kinds differs for individual lines, the time needed for image processing of frames, which are collections of lines, may differ for the individual frames in question. For example, in a live view mode whereby a moving picture is captured and displayed, whereas it is desirable for the frame rate of the image sensor to be as fast as possible, it is undesirable for image-capture data to be imported from the image sensor under conditions in which preparations are not yet in order for carrying out processing to generate the image data of the next frame (due to lengthening of the image data generation process of the current frame). The reason is that, depending on the mode of the image-data-generation section, problems such as, for example, overwriting or destruction of image-capture data of lines for which the image data generation process is yet uncompleted may arise.
With the foregoing problem in view, it is an object of the invention to control the timing for import of image-capture data from an image sensor, doing so in accordance with current conditions.
An image device according to one aspect is adapted to control an image-capturing section and a display section. The image-capturing section is configured to capture an image of a subject and generate image-capture data in synchronization with a first vertical synchronization signal. The display section is configured to display an image on the basis of image data in synchronization with a second vertical synchronization signal. The image device includes an image-data-generation section configured to generate the image data on the basis of the image-capture data, and a timing generator configured to output the first vertical synchronization signal and the second vertical synchronization signal. The second vertical synchronization signal is outputted after a predetermined period from a timing at which the first vertical synchronization signal is outputted. The predetermined period is shorter than a period of one cycle of the first vertical synchronization signal and variable. The first vertical synchronization signal and the second vertical synchronization signal are synchronized.
An image device according to another aspect is adapted to control an image-capturing section and a display section. The image-capturing section is configured to capture an image of a subject and generate image-capture data in synchronization with a first vertical synchronization signal. The display section is configured to display an image on the basis of image data in synchronization with a second vertical synchronization signal. The image device includes an image-data-generation section configured to generate the image data on the basis of the image-capture data, and a timing generator configured to output the first vertical synchronization signal and the second vertical synchronization signal. The first vertical synchronization signal is outputted after a predetermined period from a timing at which the second vertical synchronization signal is outputted. The predetermined period is shorter than a period of one cycle of the second vertical synchronization signal and being variable. The first vertical synchronization signal and the second vertical synchronization signal are synchronized.



BRIEF DESCRIPTION OF THE DRAWINGS
Referring now to the attached drawings which form a part of this original disclosure:
FIG. 1 is a block diagram according to an embodiment of the invention;
FIG. 2 is a view showing the number of pixels of the area image sensor and the liquid crystal panel;
FIG. 3 is a view showing an example of the method for outputting the image-capturing of the area image sensor;
FIG. 4 is a timing chart showing the signals applied to the display section according to the present embodiment;
FIGS. 5A to 5C are timing charts of signals applied to the area image sensor according to the present embodiment;
FIG. 6 is a timing chart according to another embodiment of the invention; and
FIG. 7 is a block diagram according to another embodiment of the invention.



DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS
Embodiments of the invention will be described in the following order.

    
    
        (1) Configuration of the image-capturing device
        (2) Control of the horizontal synchronization signal
        (3) Control of signals applied to the area image sensor
        (4) Other embodiments
    
    


(1) Configuration of the Image-Capturing Device
FIG. 1 is an image-capturing device 1 according to one embodiment of the invention. The image-capturing device 1 is provided with an optical system 10, an area image sensor 15, an ASIC 200, a timing generator 30, a display section 40, a CPU 50, a VRAM 51, an SD-RAM 52, a ROM 53, a RAM 54, and an operating section 55. The CPU 50 is capable of executing a program recorded in the ROM 53 by appropriately utilizing the VRAM 51, the SD-RAM 52, and the RAM 54, and through this program, the CPU 50 executes a function for generating image data which indicate a subject captured by the area image sensor 15, in accordance with an operation of the operating section 55. The operating section 55 is provided with a shutter button, a dial switch as a mode switching section for switching a mode, a dial switch for switching an aperture and a shutter speed, and a push button for operating various types of setting menus, and a user can issue various types of instructions to the image-capturing device 1 by operating the operating section 55.
The display section 40 is an EVF (electronic view finder) for displaying an image indicating a subject to be captured and allowing the user to comprehend the appearance of the subject prior to the capturing of the image, and image-capturing conditions and other information, and the image-capturing device 1 according to the present embodiment is a mirrorless digital camera provided with an EVF. The display section 40 is provided with an interface circuit not shown in the drawing, a liquid crystal panel driver 41, a liquid crystal panel 42, and an eyepiece lens and other components not shown in the drawing. In the present embodiment, the liquid crystal panel 42 is a high-temperature polysilicon TFT (Thin Film Transistor) provided with three sub-pixels corresponding to three colors of color filters for each pixel, and the positions of the pixels are prescribed by coordinates in an orthogonal coordinate system. A line is composed of a plurality of pixels aligned in the direction parallel to one coordinate axis, and a plurality of lines is aligned in the direction parallel to the other coordinate axis. In the present specification, the direction parallel to the lines is referred to as the horizontal direction, the direction perpendicular to the lines is referred to as the vertical direction, and a single screen composed of all the pixels of the liquid crystal panel 42 is referred to as a single frame.
The liquid crystal panel driver 41 applies a voltage to each sub-pixel and outputs a signal for driving the liquid crystals to the liquid crystal panel 42. The liquid crystal panel 42 is provided with a gate driver and a source driver not shown in the drawing, and performs display by a process whereby the gate driver controls the display timing in each pixel of each line in accordance with the signal outputted from the liquid crystal panel driver 41, and the source driver applies a voltage that corresponds to the image data of each pixel to each pixel of a line designated by the display timing. In other words, the liquid crystal panel driver 41 is configured so as to output various types of signals for performing display in the liquid crystal panel 42, e.g., a vertical synchronization signal (DVsync) for prescribing a period for display of a single frame; a horizontal synchronization signal (DHsync) for prescribing a period for display of a single line; a data active signal (DDactive) for prescribing a period for importing image data within each line; a data clock signal (DDotclock) for prescribing the import timing of image data of each pixel; and image data (Data) of each pixel.
The image-capturing device 1 according to the present embodiment is provided with the timing generator 30, and the vertical synchronization signal DVsync, the horizontal synchronization signal DHsync, the data active signal DDactive, and the data clock signal DDotclock are generated by the timing generator 30.
In other words, the timing generator 30 is provided with a display control section 30b which is provided with a division circuit or the like for generating a signal in which the signal level varies in synchrony with the variation timing of a clock signal having a predetermined cycle outputted from a clock signal generation section. By control of the display control section 30b, the timing generator 30 generates the vertical synchronization signal DVsync, data active signal DDactive, and data clock signal DDotclock in which the signal levels vary at a timing determined in advance. The output timing of the horizontal synchronization signal DHsync is variable in the present embodiment, and the output timing is determined depending on the processing result of a resizing processing section 20e, as described hereinafter.
The liquid crystal panel 42 in the present embodiment is a panel having an XGA-size pixel count provided with 1024 effective pixels in the horizontal direction and 768 effective pixels in the vertical direction, and can display gradations corresponding to the Data in any position by adjusting the content and output timing of the image data Data outputted by the liquid crystal panel driver 41. In the present embodiment, a configuration is adopted in which an image of the subject is displayed based on the image-capture data of the area image sensor 15 in a subject image display region of the liquid crystal panel 42 determined in advance, and characters indicating image-capturing conditions or other information are displayed in a region outside the subject image display region. In other words, characters indicating image-capturing conditions or other information are displayed as an OSD (on-screen display) together with the image of the subject in the liquid crystal panel 42. The liquid crystal panel 42 is provided with a large number of pixels in excess of the effective pixels in the horizontal direction and the vertical direction, but in order to simplify the present specification, no description is given of the processing that relates to pixels other than the effective pixels.
The optical system 10 is provided with a lens 11 for forming a subject image on the area image sensor 15, and an aperture 12, a shutter 13, and a low-pass filter 14. Among these components, the lens 11 and the aperture 12 are replaceably attached to a chassis not shown in the drawing. A CMOS (complementary metal oxide semiconductor) image sensor, CCD (charge coupled device) image sensor, or other solid image-capturing element provided with color filters arranged in a Bayer array, and a plurality of photodiodes for accumulating a charge according to a quantity of light by photoelectric conversion for each pixel is used as the area image sensor 15. The positions of the pixels of the area image sensor 15 are prescribed by coordinates in an orthogonal coordinate system, wherein a line is composed of a plurality of pixels aligned in the direction parallel to one coordinate axis, and a plurality of lines is aligned in the direction parallel to the other coordinate axis. In the present specification, the direction parallel to the lines is referred to as the horizontal direction; the direction perpendicular to the lines is referred to as the vertical direction. A single screen composed of all the pixels of the area image sensor 15 is referred to as a single frame.
In the present embodiment, the area image sensor 15 also operates in synchrony with the various types of signals outputted by the timing generator 30. In other words, the timing generator 30 outputs a vertical synchronization signal (SVsync) for prescribing a period for reading the detection results of the photodiodes for a single frame; a horizontal synchronization signal (SHsync) for prescribing a period for reading the detection results of the photodiodes for a single line; and a data clock signal (SDotclock) for prescribing the read timing and the like of image data of each pixel. The area image sensor 15 starts outputting the image-capture data for a single frame in accordance with the vertical synchronization signal SVsync, and sequentially reads image-capture data which indicate the detection results of the photodiodes corresponding to a portion of the pixels of the area image sensor 15 at a timing in accordance with the data clock signal SDotclock within the period prescribed by the horizontal synchronization signal SHsync.
The ASIC 200 is provided with an image-data-generation section 20 which is composed of a circuit for performing processing whereby line buffers 52a through 52d for a plurality of lines reserved in advance in the SD-RAM 52 are utilized, and image data for displaying an image of the subject in the display section 40 are generated by pipeline processing. This ASIC 200 may be a digital signal processor (DSP) for image processing as well. The line buffers 52a through 52d for a plurality of lines may also be provided to the image-data-generation section 20 or another component. The display section 40 displays the subject on the liquid crystal panel 42 on the basis of the generated image data. In other words, the user can confirm the subject while utilizing the display section 40 as an EVF.
In a case in which the user operates the operating section 55 to issue an image capture instruction, in response to the image capture instruction, the area image sensor 15 starts outputting the image-capture data for a single frame in accordance with the vertical synchronization signal SVsync, and sequentially reads the image-capture data which indicate the detection results of the photodiodes corresponding to all of the effective pixels of the area image sensor 15 at a timing in accordance with the data clock signal SDotclock within the period prescribed by the horizontal synchronization signal SHsync. The image-data-generation section 20 then utilizes the SD-RAM 52 or another component to generate image data in a JPEG format or other format, and the image data are recorded in a removable memory or the like not shown in the drawing. In other words, the user can generate image data for indicating the subject.
(2) Control of the Horizontal Synchronization Signal
In a case in which image data indicating a subject are recorded in the removable memory or the like, and printing or another operation is considered, the number of pixels of the area image sensor 15 must be greater than a predetermined number in order to obtain high-quality image data. Therefore, the effective number of pixels of the area image sensor 15 in the present embodiment is 5400 pixels in the horizontal direction and 3600 pixels in the vertical direction, as shown in FIG. 2. The area image sensor 15 is provided with a large number of pixels in excess of the effective pixels in the horizontal direction and the vertical direction, but in order to simplify the present specification, no description is given of the processing that relates to pixels other than the effective pixels.
On the other hand, the liquid crystal panel 42 is provided with 1024 pixels in the horizontal direction and 768 pixels in the vertical direction, as described above, and is configured so that the image of the subject is displayed in the subject image display region (R1 shown in FIG. 2). In the present embodiment, in order to display the image of the subject as large as possible while maintaining the aspect ratio (2:3) of the area image sensor 15, a rectangular region of a 2:3 aspect ratio whose top side and left and right sides contact the top side and left and right sides of the liquid crystal panel 42 is adopted as the subject image display region R1 for displaying the image of the subject. The remaining region is the information display region (region shown in FIG. 2) for displaying characters indicating image-capturing conditions or other information. Consequently, the subject image display region R1 in the liquid crystal panel 42 is composed of 1024 pixels in the horizontal direction and 682 pixels in the vertical direction. As described above, the number of pixels of the area image sensor 15 and the number of pixels of the liquid crystal panel 42 are not the same in the present embodiment.
Furthermore, since the display in the display section 40 is utilized by the user to confirm the subject, when the delay between the timing at which the subject is captured by the area image sensor 15 and the timing at which the image of the captured subject is displayed by the display section 40 is noticeable by the user, the subject seen in the EVF and the recorded image of the subject are misaligned, and the EVF becomes extremely difficult to use. The delay must therefore be minimal when the display section 40 is used as an EVF.
Therefore, in order for the image captured by the area image sensor 15 to be displayed in the display section 40 so that the delay is so extremely short as to not be seen by the human eye, a configuration is adopted in the present embodiment whereby various types of processing are performed by the area image sensor 15 and the image-data-generation section 20, and the display section 40 causes the image data generated as a result of the processing to be displayed at high speed.
In other words, the area image sensor 15 according to the present embodiment is provided with a circuit capable of executing interlaced scanning for reading the detection results of the photodiodes at a ratio of 1 for every n (where n is an odd number) lines aligned in the vertical direction. An adder is also provided for adding m (where m is a natural number) detection results aligned in the horizontal direction among the photodiodes for performing photoelectric conversion via color filters of the same color, and outputting 1/m of the sum (i.e., outputting the arithmetic average of the m detection results). The present embodiment is configured so that when the display section 40 is caused to function as an EVF, interlaced scanning and processing by the adder are executed in the area image sensor 15, whereby pixels in the horizontal direction and the vertical direction are decimated, and the image-capture data of a smaller number of pixels than the number of pixels provided to the area image sensor 15 are outputted, and the subject can thereby be captured at high speed.
In other words, in a live view mode for causing the display section 40 to function as an EVF, the area image sensor 15 reads for lines in the vertical direction at a ratio of 1 for every n lines in accordance with the horizontal synchronization signal SHsync. Processing for outputting the result of adding the detection results of m photodiodes as image-capture data by the adder is also performed in accordance with the data clock signal SDotclock. FIG. 3 shows an example of the method for outputting the image-capture data of a smaller number of pixels than the number of pixels provided to the area image sensor 15 in the present embodiment. In FIG. 3, the rectangles labeled R indicate photodiodes that correspond to color filters for transmitting light in a red spectrum, the rectangles labeled G indicate photodiodes that correspond to color filters for transmitting light in a green spectrum, and the rectangles labeled B indicate photodiodes that correspond to color filters for transmitting light in a blue spectrum.
As shown in FIG. 3, in a case in which the color filters of the pixels indicated by rectangles are in a Bayer array, since a color filter of only one color corresponds to each pixel, the color of each pixel must be interpolated by utilizing the surrounding pixels. Therefore, when lines are decimated to acquire the image-capture data, decimation must be performed so that the color filters of adjacent lines after decimation are of a different color. Therefore, in the present embodiment, by acquiring the detection values in the photodiodes of each line at a ratio of 1 line for every n lines (where n is an odd number) as the image-capture data, it is possible to acquire image-capture data in which the color of each pixel can be specified by interpolation. In the present embodiment, a configuration is adopted in which the image-capture data are acquired at a ratio of 1 line for every 5 lines in order to make the number of lines in the vertical direction of the area image sensor 15 as close as possible to the number of lines in the vertical direction of the subject image display region R1 of the liquid crystal panel 42. In FIG. 3, the left-directed arrows indicate that image-capture data are acquired at a ratio of 1 line for every 5 lines, and in this example, the number of lines in the vertical direction is 1/5, i.e., 720.
In a case in which the color filters are in a Bayer array, the colors of adjacent pixels in the horizontal direction are different, and the same color of color filter occurs at every other position. Therefore, decimation processing can essentially be performed by adding m at every other pixel for pixels aligned in the horizontal direction and multiplying the sum by 1/m (i.e., calculating the arithmetic average of m detection results). In the present embodiment, m is set to 3, due to such factors as limitations for the sake of image quality in cases in which adding is performed by the adder. In the configuration shown in FIG. 3, in the lowest line shown, the detection results of the three photodiodes aligned in the horizontal direction that are photodiodes for performing photoelectric conversion via green color filters are added by an adder S1 and multiplied by 1/3, and the detection results of the three photodiodes aligned in the horizontal direction that are photodiodes for performing photoelectric conversion via red color filters are added by an adder S2 and multiplied by 1/3. In this example, the number of pixels in the horizontal direction is 1/3, i.e., 1800 pixels. In FIG. 2, the data size after decimation in the area image sensor 15 is indicated by the dashed-line rectangle 15a. 
As described above, in the area image sensor 15, the number of lines in the vertical direction may be set to 720, and the number of pixels in the horizontal direction may be set to 1800. However, in such decimation, because of n being an odd number in the vertical direction, m being a natural number in the horizontal direction, and other such limitations for the sake of image quality, the number of pixels after decimation and the number of pixels of the subject image display region R1 of the liquid crystal panel 42 do not readily coincide. In a case in which n and m differ, as described above, the aspect ratio differs between the subject and the subject image on the liquid crystal panel 42.
A configuration is therefore adopted in the present embodiment in which resizing is further performed in the image-data-generation section 20 for the decimated image-capture data, and image data are generated for display in the subject image display region R1 of the liquid crystal panel 42. In other words, the image-data-generation section 20 is provided with a pixel interpolation section 20a, a color reproduction processing section 20b, a filter processing section 20c, a gamma correction section 20d, and a resizing processing section 20e. In this configuration, the number of pixels in the vertical direction and the horizontal direction is modified by the resizing processing section 20e in the process of generating the image data, and image data are generated which are equivalent to the number of pixels of the subject image display region R1 of the liquid crystal panel 42.
The line buffer 52a is a buffer memory for temporarily recording the decimated image-capture data outputted from the area image sensor 15, and when the decimated image-capture data are outputted from the area image sensor 15, the image-capture data are temporarily recorded in the line buffer 52a by the processing of the image-data-generation section 20. The pixel interpolation section 20a imports data of the necessary number of pixels for generating the colors of the two channels missing in each pixel in the Bayer array from the line buffer 52a, and while doing so, generates the colors of the two channels by interpolation processing. As a result, three channels of data are generated in each pixel. The color reproduction processing section 20b then performs color conversion processing for color matching by performing a 3×3 matrix computation on the basis of the generated data. The data generated by color conversion processing are temporarily recorded in the line buffer 52b. The filter processing section 20c then executes sharpness adjustment, noise removal processing, and other processing by filter processing. The gamma correction section 20d then executes gamma correction to compensate for a characteristic difference between the colors indicated by the gradation values of the image-capture data of the area image sensor 15 and the colors indicated by the gradation values of the image data handled by the display section 40. The data generated by gamma correction are temporarily recorded in the line buffer 52c. 
The number of pixels in the data that is recorded line by line in the line buffer 52c in question is one obtained through decimation in the area image sensor 15. In other words, data of 720 lines in the vertical direction and 1800 pixels in the horizontal direction are recorded line by line. The resizing processing section 20e performs resizing by sequentially referencing the data recorded in the line buffer 52c to perform interpolation computation processing and specify the gradation value of each channel in the positions between pixels. In the present embodiment, since the decimation in the area image sensor 15 described above is 1/5 in the vertical direction and 1/3 in the horizontal direction, the aspect ratio of the decimated data differs from the aspect ratio of the image-capture data of the area image sensor 15, as shown in the rectangle 15a in FIG. 2. Therefore, the resizing processing section 20e first performs reduction processing for reduction to a size of approximately 57% in the horizontal direction on the basis of the data recorded in the line buffer 52c. As a result, the number of pixels in the horizontal direction is set to 1024. The resizing processing section 20e also performs reduction processing for reduction to a size of approximately 95% in the vertical direction. As a result, image data are generated for which there are 1024 pixels in the horizontal direction and 682 lines in the vertical direction. The generated image data are recorded line by line in the line buffer 52d. 
In the present embodiment, by the processing described above, generation processing is performed for generating image data that can be displayed in the subject image display region R1 of the liquid crystal panel 42 on the basis of the image-capture data of the area image sensor 15, but the image-capture data of the area image sensor 15 have 720 lines in the vertical direction, whereas the number of lines of the image data in the vertical direction is 682, and the number of lines of the liquid crystal panel 42 in the vertical direction is 768. In other words, different numbers of lines are required to capture a single frame and to display a single frame.
Therefore, in the present embodiment, the horizontal synchronization signal SHsync, the vertical synchronization signal SVsync, the data active signal SDactive, and the data clock signal SDotclock of the area image sensor 15 are set to the cycle necessary for driving the area image sensor 15. In other words, the timing generator 30 outputs the horizontal synchronization signal SHsync the number of times and at the timing whereby the decimation in the vertical direction such as described above can be performed in the area image sensor 15, and the image-capture data of the number of lines of a single frame can be acquired within the period prescribed by the vertical synchronization signal SVsync. The timing generator 30 also outputs the data clock signal SDotclock the number of times and at the timing whereby decimation in the horizontal direction such as described above can be performed, and the image-capture data of the number of pixels of a single line can be acquired within the period prescribed by the horizontal synchronization signal SHsync.
On the other hand, in order to minimize the delay period and perform display in the liquid crystal panel 42 on the basis of the image-capturing data outputted line by line from the area image sensor 15, a configuration is adopted in the present embodiment whereby the horizontal synchronization signal DHsync is outputted at the time that the image data for display of each line of the liquid crystal panel 42 are prepared. In other words, the liquid crystal panel 42 in the present embodiment is capable of displaying lines for which processing by the resizing processing section 20e is ended. The timing generator 30 therefore outputs the horizontal synchronization signal DHsync for displaying the Nth line in the vertical direction of the liquid crystal panel 42 at the time that the processing for generating the image data of the Nth line (where N is a natural number) is ended.
Specifically, the timing generator 30 is provided with a progress information acquisition section 30a, and the progress information acquisition section 30a is capable of acquiring, from the resizing processing section 20e, progress information for indicating a line for which the processing for generating image data is ended in the resizing processing section 20e. Consequently, through this progress information, it is possible to specify a line that can be displayed in the liquid crystal panel 42 on the basis of the image data. Therefore, in this configuration, the timing generator 30 outputs the horizontal synchronization signal DHsync in synchrony with the timing at which the processing for generating the image data of each line is ended, and display of a line for which the processing for generating the image data is thereby started in the liquid crystal panel 42. Through this configuration, display of each line does not start before preparation of the image data is finished, and each line can be immediately displayed with the display preparation thereof is finished.
Since the liquid crystal panel 42 is preferably capable of displaying the pixels of each line of the liquid crystal panel 42 within the horizontal synchronization period prescribed by the output timing of the horizontal synchronization signal DHsync, the timing generator 30 outputs the data active signal DDactive and the data clock signal DDotclock so that the pixels of a single line can be displayed within a period assumed to be the period in which the horizontal synchronization period prescribed by the output timing of the horizontal synchronization signal DHsync is shortest.
In the present embodiment, the vertical synchronization signal SVsync of the area image sensor 15 and the vertical synchronization signal DVsync of the liquid crystal panel 42 are set so as to be synchronized in order to prevent the image-capture data from the area image sensor 15 and the display by the liquid crystal panel 42 from becoming inconsistent by frame units. In other words, the timing generator 30 outputs the vertical synchronization signal DVsync of the display section 40 after a predetermined period from the timing at which the vertical synchronization signal SVsync of the area image sensor 15 is outputted. As a result, the cycles of the vertical synchronization signals SVsync, DVsync are the same and constant in the present embodiment. Consequently, the display in the liquid crystal panel 42 of the subject captured by the area image sensor 15 is not delayed by the period of a single frame or longer, and a display of an image of the subject captured at the same timing does not remain on the liquid crystal panel 42 for a period of a plurality of frames.
Since the horizontal synchronization period prescribed by the horizontal synchronization signal DHsync of the liquid crystal panel 42 is of variable length in the present embodiment, the cycles of the vertical synchronization signals SVsync, DVsync are the same and constant even when the horizontal synchronization period varies. Specifically, the timing generator 30 controls the output signal so that the vertical synchronization period for displaying a single frame is constant by lengthening or shortening the horizontal synchronization period with respect to a reference period TH determined in advance, and thereby canceling out the time fluctuation from a reference period TH. The reference period TH is configured as the horizontal synchronization period in a case in which each of the total number of lines of the liquid crystal panel 42 is displayed for an equal period within the vertical synchronization period.
In the subject image display region R1, a state is attained in which the horizontal synchronization period can be lengthened by waiting to output the horizontal synchronization signal DHsync until the processing for generating the image data of each line is ended. In the information display region R2 of the liquid crystal panel 42 for displaying characters indicating image-capturing conditions or other information, the horizontal synchronization period is made shorter than the reference period TH so as to cancel out the cumulative total of the difference of the horizontal synchronization period lengthened in the subject image display region R1 and the reference period TH.
FIG. 4 shows the horizontal synchronization signal DHsync outputted from the timing generator 30 configured as described above, and also shows the data active signal DDactive, the data clock signal DDotclock, and the progress information. The progress information outputted from the resizing processing section 20e in the present embodiment is composed of a single pulse in which a low-level output is maintained as the processing for generating the image data for a single line is being executed, and a high-level output occurs at a predetermined period at the time that the processing for generating the image data for a single line is ended.
When the timing generator 30 acquires the progress information through the progress information acquisition section 30a, the horizontal synchronization signal DHsync is outputted in synchrony with the pulse of the progress information by the processing of the display control section 30b. Therefore, even in a case in which the processing for generating the image data of a certain line fails to occur within the reference period TH, the horizontal synchronization signal DHsync is not outputted until the generation processing is ended, and a horizontal synchronization period TDH becomes longer than the reference period TH. Consequently, in a case in which the processing for generating the image data of a certain line fails to occur within the reference period TH, display of the certain line is not started in the liquid crystal panel 42 until the generation processing is completed. Display is also not performed before preparation of the image data of each line is ended. Furthermore, since the horizontal synchronization signal DHsync is outputted when the processing for generating the image data of a certain line is ended, the image data of each line is displayed without delay when preparation thereof is ended. As described above, since the liquid crystal panel 42 in the present embodiment is driven in a state in which the horizontal synchronization period TDH may be longer than the reference period TH, aspects of the invention are suitable for application to a situation in which the period for generating the image data of a single line to be displayed by the liquid crystal panel 42 may fluctuate. A possible example of such a situation is one in which the speed of data output processing of the area image sensor 15 or the processing for generating image data by the image-data-generation section 20 may differ for each line.
Aspects of the invention can also, of course, be applied in a situation in which the processing speed differs for each line depending on the image-capturing conditions or the hardware used for capturing and image. For example, aspects of the invention can be applied to a configuration in which the vertical synchronization period or the horizontal synchronization period of the area image sensor 15 fluctuates, or the period needed for processing for generating image data fluctuates due to an operation of the operating section 55 by the user. Aspects of the invention can also be applied to a configuration in which the vertical synchronization period or the horizontal synchronization period of the area image sensor 15 fluctuates, or the period needed for processing for generating image data fluctuates due to the changing of an interchangeable EVF or an interchangeable lens.
As described above, in the subject image display region R1 in the present embodiment, the timing generator 30 adjusts the horizontal synchronization period TDH in accordance with the progress information outputted from the resizing processing section 20e. The horizontal synchronization signal DHsync may therefore be lengthened according to the progress of the processing for generating the image data to be displayed in the subject image display region R1, and the horizontal synchronization period TDH prescribed by the horizontal synchronization signal DHsync of the liquid crystal panel 42 is not necessarily constant. On the other hand, since the vertical synchronization period prescribed by the vertical synchronization signal DVsync is constant in the present embodiment, as described above, the timing generator 30 sets the output timing of the horizontal synchronization signal DHsync so that a horizontal synchronization period TDH2 is shorter than the abovementioned reference period TH in the information display region R2, so that displaying of all the lines of the liquid crystal panel 42 ends within the vertical synchronization period even in a case in which the horizontal synchronization period TDH in the subject image display region R1 is lengthened.
In other words, since the data (referred to as OSD data) of the characters indicating the image-capturing conditions or other information can be created in advance and recorded in advance in the VRAM 51 irrespective of operation of the area image sensor 15, an appropriate display can be performed without overtaking the reading of data even when a display based on the OSD data is executed according to a short horizontal synchronization period. Therefore, in the present embodiment, the horizontal synchronization period in the information display region R2 for displaying characters indicating image-capturing conditions or other information is set so as to be shorter than that of the subject image display region R1 for producing a display based on the image-capture data of the area image sensor 15.
Specifically, the timing generator 30 adjusts the output timing of the horizontal synchronization signal DHsync, and thereby shortens the horizontal synchronization period TDH2 so that the sum of the differences of the lengthened horizontal synchronization period TDH and the reference period TH in the subject image display region R1, and the sum of the differences of the shortened horizontal synchronization period TDH2 and the reference period TH in the information display region R2 coincide. As a result, the following relation obtains: horizontal synchronization period TDH2<reference period≦horizontal synchronization period TDH. Various configurations can be adopted in the information display region R2 as configurations whereby the horizontal synchronization signal DHsync is outputted so that the horizontal synchronization period TDH2 is shorter than the reference period TH. For example, as shown in FIG. 4, a configuration may be adopted in which the period of shortening in each line is equal to a value T2 obtained by dividing the sum of delay T1 (ΣT1) with respect to the horizontal synchronization period TH generated in the subject image display region R1 by the number of lines L2 of the information display region R2. In other words, a configuration may be adopted in which the value of horizontal synchronization period TH−ΔT2 is assumed to be the horizontal synchronization period TDH2 in the information display region R2.
As described above, in order to produce a suitable display in each region on the basis of the horizontal synchronization signal adjusted for each region of the liquid crystal panel 42 in the present embodiment, the line numbers of the portions of the liquid crystal panel 42 that correspond to the subject image display region R1 and the information display region R2 are determined in advance. For example, in the example shown in FIG. 2, lines 1 through 682 are the subject image display region R1, and lines 683 through 768 are the information display region R2. Therefore, the timing generator 30 outputs the horizontal synchronization signal DHsync so that the horizontal synchronization period TDH2 is shorter than the abovementioned reference period TH during display in the information display region R2 that corresponds to lines 683 through 768, while the timing generator 30 outputs the horizontal synchronization signal DHsync at a timing in accordance with the abovementioned progress information during display in the subject image display region R1 that corresponds to lines 1 through 682.
The ASIC 200 is also provided with an image data output section 201, and the image data output section 201 outputs the image data (Data) recorded in the line buffer 52d to the display section 40 line by line during display of lines 1 through 682 of the liquid crystal panel 42. As a result, the image of the subject captured by the area image sensor 15 is displayed in the subject image display region R1.
The CPU 50 records OSD data to the VRAM 51 prior to at least display in an information display region R2. During display in lines 683 through 768 of the liquid crystal panel 42, the image data output section 201 outputs the OSD data recorded in the VRAM 51 to the display section 40 line by line as the image data (Data). As a result, characters indicating image-capturing conditions and the like are displayed in the information display region R2.
Through this configuration, display of image-capturing conditions or other information by the OSD data is performed within a short horizontal synchronization period in the information display region R2, while the subject captured by the area image sensor 15 is displayed in the subject image display region R1 in a state of minimal delay. Then, in the manner described above, the horizontal synchronization periods are controlled such that the sum of differences between the reference period TH and the lengthened horizontal synchronization period TDH in the subject image display region R1 and the sum of differences between the reference period TH and the shortened horizontal synchronization period TDH2 in the information display region R2 coincide, whereby display by the display section 40 can take place under conditions in which the cycles of the vertical synchronization signals SVsync, DVsync are the same and constant. Consequently, the display in the liquid crystal panel 42 of the subject captured by the area image sensor 15 is not delayed by the period of a single frame or longer, and the same image does not remain displayed on the liquid crystal panel 42 for a plurality of frame periods.
(3) Control of Signals Applied to the Area Image Sensor
In the present embodiment, furthermore, the output timing of the vertical synchronization signals SVsync varies in accordance with conditions of progress of processing by the image data processing section 20. For this purpose, the timing generator 30 is provided with a sensor control section 30c (corresponding to the image capture control section). The sensor control section 30c outputs a vertical synchronization signal SVsync at points in time that preparations are in order for carrying out processing to generate image data of the frame (next frame) that follows a frame (current frame) currently being processed to generate current image data. As mentioned above, in the case that the time needed for processing to generate image data differs for individual lines, the time needed for processing to generate image data corresponding to the equivalent of one frame may differ as well. FIG. 5A shows an example thereof. Let the reference cycle of the vertical synchronization signal SVsync be denoted as TSV0. The example of FIG. 5A depicts a situation in which, at a timing coincident with output of a vertical synchronization signal corresponding to the n+1-th frame (the timing of the reference cycle TSV0), image data generation processing for the n-th frame has ended, and preparations are in order for starting processing to generate image data of the n+1-th frame. The progress information shown in FIG. 5A is a signal identical to the progress information described using FIG. 4.
The n+1-th frame of FIG. 5A shows an example in which, at a timing coincident with the elapsing of the reference cycle TSV0 following output of a vertical synchronization signal SVsync corresponding to the n+1-th frame, preparations are not yet in order for starting processing to generate image data of the n+2-th frame. In other words, at a timing coincident with the elapsing of the reference cycle TSV0, processing to generate image data corresponding to the n+1-th frame up through the last line thereof has not yet ended. The description continues on the assumption that, in the present embodiment, there has arisen a state whereby after generation of image data corresponding to the last line of the current frame has ended and the image data has been output to the display section 40 by the image data output section 201, in the image-data-generation section 20 preparations are not yet in order for acquiring the image-capture data corresponding to the next frame and starting processing to generate the image data of the next frame. At a timing coincident with the elapsing of the reference cycle TSV0 following output of a vertical synchronization signal SVsync corresponding to the n+1-th frame of FIG. 5A, if processing to generate image data corresponding to the last line of the n+1-th frame has not yet ended, when a vertical synchronization signal SVsync is output at the timing in question the image-capture data corresponding to the next frame will be imported from the area image sensor 15 in a state in which preparations for starting processing to generate image data corresponding to the next frame are not yet in order in the image-data-generation section 20.
In order to prevent this, at a timing coincident with the elapsing of the reference cycle TSV0, the sensor control section 30c determines whether or not a period that extends from the start of processing to generate image data corresponding to one frame, up to a state in which preparations are in order for starting processing to generate image data corresponding to the next frame, should be made longer than the reference cycle TSV0; and, if the period is to be lengthened, waits to output a vertical synchronization signal SVsync for the next frame until preparations for carrying out processing to generate image data corresponding to the next frame are in order in the image-data-generation section 20. Then, after preparations are in order in the image-data-generation section 20, the sensor control section 30c outputs a vertical synchronization signal SVsync to the area image sensor 15.
The reference cycle TSD0 of the dot clocks SDotclock which are output to the area image sensor 15 is determined in advance by the specifications of the area image sensor 15. Likewise, the reference pulse count PSD0 of a dot clock SDotclock output to the area image sensor 15 during the period of one cycle of a horizontal synchronization signal SHsync is also determined in advance as a specification of the area image sensor 15. Further, the reference pulse count PSH0 of a horizontal synchronization signal SHsync output to the area image sensor 15 during the period of one cycle of a vertical synchronization signal SVsync is determined as well. Similarly, the reference cycle TSV0 of the vertical synchronization signals SVsync is determined in advance by specifications.
In the present embodiment, for the purpose of determining whether or not to lengthen the period for putting preparations in order for processing to generate image data corresponding to the next frame to a period longer than the reference cycle TSV0, the number of lines for which processing to generate image data has been completed is identified from progress information of line units output from the resizing processing section 20e. Within the period of the reference cycle TSV0, if processing for generating image data up through the last line has ended, a vertical synchronization signal SVsync for the purpose of importing the image-capture data of the next frame is output at timing coincident with the reference cycle TSV0 (the n+1-th vertical synchronization signal of FIG. 5A). At a timing coincident with the elapsing of the period of the reference cycle TSV0, if processing for generating image data up through the last line has not yet ended, the sensor control section 30c outputs a vertical synchronization signal SVsync (the n+2-th vertical synchronization signal of FIG. 5A) only after having verified, on the basis of progress information, the fact that processing to generate image data corresponding to the last line has ended. In other words, the sensor control section 30c prolongs the actual cycle TSV of the vertical synchronization signal SVsync for a period longer than the reference cycle TSV0.
Specifically, in the case that, at a timing coincident with the elapsing of the reference cycle TSV0, processing to generate the image data up through the last line has not ended, the sensor control section 30c continues to output dummy horizontal synchronization signals SHsync as shown in FIG. 5A, until it is verified on the basis of the progress information that processing to generate the image data corresponding to the last line has ended. In other words, horizontal synchronization signals SHsync are output in excess of the reference pulse count PSH0 which is output in the reference cycle TSV0, and the period until output of the next vertical synchronization signal SVsync (cycle TSV) is made longer than the reference cycle TSV0. The circuit configuration in the present embodiment is such that, despite dummy horizontal synchronization signals SHsync being output in excess of the reference pulse count PSH0, no vertical synchronization signal SVsync is output for an interval which lasts until output of a pulse of progress information indicating that the processing to generate image data of the last line has ended. The area image sensor 15 ignores the dummy horizontal synchronization signals SHsync, and dummy image-capture data is not generated in response to the signals in question. In the case of the example shown in FIG. 5A, the cycle TSD of the dot clocks SDotclock remains at the reference cycle TSD0, and the cycle TSH of the horizontal synchronization signals SHsync remains at the reference cycle TSH0.
As another method for prolonging a vertical synchronization signal SVsync, as shown in FIG. 5B, the sensor control section 30c may increase the pulse count PSD of the dot clock SDotclocks during the period of one cycle of a horizontal synchronization signal SHsync to a pulse count greater than the reference pulse count PSD0, thereby prolonging the cycle TSH of the horizontal synchronization signal SHsync for a duration longer than the reference cycle TSH0. As a result, the period until output of the next vertical synchronization signal SVsync (cycle TSV) may be made longer than the reference cycle TSV0. The area image sensor 15 ignores the dummy dot clocks SDotclock, and dummy image-capture data is not generated in response to the signals in question. Also, in a case where the cycle TSH of a horizontal synchronization signal SHsync is made longer than the reference cycle TSH0 by increasing the pulse count PSD of the dot clocks SDotclock during the period of one cycle of a horizontal synchronization signal SHsync to a pulse count greater than the reference pulse count PSD0, the number of pulses of the horizontal synchronization signals SHsync generated in the period of one cycle of a vertical synchronization signal SVsync is preferably constant, but the number of pulses of the horizontal synchronization signals SHsync generated in the period of one cycle of a vertical synchronization signal SVsync may be variable as well. At this time, the cycle TSD of the dot clock SDotclocks remains at the reference cycle TSD0.
Alternatively, as shown in FIG. 5C, without reducing the pulse count PSD of the dot clocks SDotclock during the period of one cycle of a horizontal synchronization signal SHsync, the sensor control section 30c may make the cycle TSH of a horizontal synchronization signal SHsync longer than the reference cycle TSH0 by making the cycle TSD of a dot clock SDotclock longer than the reference cycle TSD0. As a result, the period until output of the next vertical synchronization signal SVsync (cycle TSV) may be may be made longer than the reference cycle TSV0. In this case, the pulse count PSH of the horizontal synchronization signals SHsync per cycle of a vertical synchronization signal SVsync is not brought lower than the reference pulse count PSH0.
As described above, in the present embodiment, acquisition of image-capture data from the area image sensor 15 can start in a state in which preparations are in order for starting processing to generate the image data of the next frame. As a result, image-capture data can be prevented from overwriting or destroying lines for which processing to generate image data is not yet complete.
(4) Other Embodiments
The embodiment described above is merely one example of implementing the invention, it being possible to adopt various other embodiments, such as combinations of the following modified examples, without departing from the spirit of the invention.
For example, a back porch of the horizontal synchronization signal DHsync may be lengthened when the horizontal synchronization period TDH is made longer than the reference period TH. In this configuration, the output period of progress information from the resizing processing section 20e is detected in the progress information acquisition section 30a in the configuration shown in FIG. 1. In other words, the period TS(N−1) is detected between the progress information outputted at the time that processing for generating the image data of the (N−1)th line is ended and the progress information outputted at the time that processing for generating the image data of the Nth line is ended. The timing generator 30 then determines the length of the back porch of the horizontal synchronization signal DHsync of the Nth line on the basis of the period TS(N−1), and outputs various types of signals.
In other words, by the processing of the display control section 30b, the timing generator 30 outputs a signal DHsync2 indicating a precharge period when a period ΔT1 has elapsed after outputting of the horizontal synchronization signal DHsync of the Nth line, as shown in FIG. 6, the period ΔT1 being obtained by subtracting the length of the reference period TH from the length of the period TS(N−1). By the processing of the display control section 300b, the timing generator 30 then outputs DDactive when the predetermined precharge period has elapsed after outputting of the signal DHsync2, and outputs the horizontal synchronization signal DHsync of the (N+1)th line, providing a front porch having a predetermined period after maintaining the level of DDactive until the data clock signal DDotclock of the number of pixels of a single line is outputted. The period from the start of the precharge period until the end of the front porch coincides with the reference period TH. Consequently, the horizontal synchronization period TDH, which is the period between the horizontal synchronization signal DHsync of the Nth line and the horizontal synchronization signal DHsync of the (N+1)th line, is the sum of the reference period TH and ΔT1. As a result, N lines can be displayed with precharging, inversion, and other operations synchronized with the signal DHsync2 in the liquid crystal panel 42, and the horizontal synchronization period TDH can be made longer than the reference period TH.
In the first embodiment described above, since the front porch of the horizontal synchronization signal DHsync is lengthened, the back porch period can be set as a constant period, and the period for performing precharging, inversion, and other operations can be provided according to normal specifications.
In the embodiment described above, the horizontal synchronization signal SHsync is outputted so that the horizontal synchronization period is shorter in the information display region R2 of the liquid crystal panel 42 than in the subject image display region R1, in order to cause the cycle of the vertical synchronization signal SVsync of the area image sensor 15 and the cycle of the vertical synchronization signal DVsync of the liquid crystal panel 42 to coincide, but the cycle of the vertical synchronization signal SVsync and the cycle of the vertical synchronization signal DVsync of the liquid crystal panel 42 can be made to coincide by another method. For example, since the area image sensor 15 has a larger number of lines than the liquid crystal panel 42 in a normal image-capturing device, in a case in which the horizontal synchronization period that should be maintained within a specific vertical synchronization period is assumed to be equal, the cycle of the horizontal synchronization signal DHsync of the liquid crystal panel 42 is shorter than the cycle of the horizontal synchronization signal SHsync of the area image sensor 15. Consequently, even in a case in which the horizontal synchronization signal DHsync of the liquid crystal panel 42 is lengthened, it is not often necessary to lengthen the vertical synchronization period of the liquid crystal panel 42 according to the lengthening of the horizontal synchronization signal DHsync. In a case in which lengthening the horizontal synchronization signal DHsync causes the vertical synchronization signal DVsync of the liquid crystal panel 42 to be longer than the vertical synchronization signal SVsync of the area image sensor 15, the vertical synchronization signal SVsync of the area image sensor 15 may be lengthened, and the vertical synchronization signal DVsync and vertical synchronization signal SVsync may be synchronized.
In the embodiment described above, a configuration is adopted in which progress information is acquired which indicates for each line whether the resizing processing of the processing for generating image data is ended, but any configuration may be adopted insofar as progress information for the processing of the final step is acquired, even in a case in which the final step of the processing for generating the image data is not the resizing processing. A configuration may also be adopted in which the progress information is acquired for processing of a step prior to the final step (e.g., a step in which the processing time may fluctuate), insofar as processing can be performed at such a high speed that the processing time of the final step of processing for generating the image data can be ignored, processing can be performed in a certain time, or it is possible to predict the ending of the final step. In a case in which an image processing step is included for referencing the data of a plurality of lines and generating data of a single line in the processing for generating the image data, the progress information may be acquired for the included step. Specifically, it is not necessary that processing for generating image data already be complete at the point in time that the progress information is acquired; instead, the timing of completion of processing for generating image data may be predicted on the basis of acquired progress information.
FIG. 7 is a view showing an image-capturing device 1 that is configured so as to acquire progress information for a plurality of image processing steps for referencing the data of a plurality of lines to generate data of a single line. In FIG. 7, the same reference symbols as those of FIG. 1 are used to refer to constituent elements that are the same as those in FIG. 1. A timing generator 300 of the image-capturing device 1 shown in FIG. 7 is capable of acquiring progress information which indicates a line for which outputting of the image-capture data from the area image sensor 15 is completed, and a line for which the processing for generating data in each of the color reproduction processing section 20b, the gamma correction section 20d, and the resizing processing section 20e of the image-data-generation section 20 is ended. By the processing of a display control section 300b, the timing generator 300 is capable of outputting a trigger signal (e.g., a horizontal synchronization signal) for starting processing for generating data of a single line to each of the pixel interpolation section 20a, the filter processing section 20c, and the resizing processing section 20e. 
In other words, in the embodiment shown in FIG. 7, processing of data of an Lth line can be executed in the pixel interpolation section 20a when the image-capture data of a Kth line is outputted from the area image sensor 15, and as a result of line-by-line processing by the pixel interpolation section 20a and the color reproduction processing section 20b, specification is made in advance that the processing of data of an Mth line in the filter processing section 20c can be executed when processing of the data of the Lth line is ended. As a result of line-by-line processing by the filter processing section 20c and the gamma correction section 20d, specification is also made in advance that the processing for generating image data of an Nth line can be started in the resizing processing section 20e when processing of the data of the Mth line is ended.
The timing generator 300 specifies that image-capture data of the Kth line is outputted from the area image sensor 15 on the basis of a horizontal synchronization signal SHsync having a prescribed cycle outputted by the timing generator 300. In a case in which specification is made that the image-capture data of the Kth line is outputted from the area image sensor 15, the timing generator 300 outputs the trigger signal to the pixel interpolation section 20a to start data processing of the Lth line. In a case in which a progress information acquisition section 300a specifies that processing of the data of the Lth line is ended in the color reproduction processing section 20b, the timing generator 300 outputs the trigger signal to the filter processing section 20c to start data processing of the Mth line. In a case in which the progress information acquisition section 300a specifies that processing of the data of the Mth line is ended in the gamma correction section 20d, the timing generator 300 outputs the trigger signal to the resizing processing section 20e to start processing for generating the image data of the Nth line.
When specification is made that processing for generating the image data of the Nth line by the resizing processing section 20e is ended, the timing generator 300 outputs the horizontal synchronization signal DHsync for displaying the Nth line, in the same manner as in the embodiment described above. In other words, in the image-data-generation section 20, in an image processing step in which it is possible to start generating data of a line which is subsequent to recording of the data of two or more lines in a line buffer, a determination is made as to whether processing for generating data of the lowest necessary number of lines is ended, and the next image processing step is started at the time that the generation processing is ended. Through this configuration, processing for each line does not start before preparation of the necessary data for executing each step is finished, and processing for each line can be immediately started when the data of each line are prepared. As a result, the wait time during execution of each image processing step is minimized. In the present embodiment, since the data of only the lowest necessary number of lines is temporarily recorded in the line buffers 52a through 52d, the capacity of the line buffers 52a through 52d can be minimized.
Furthermore, the display section 40 is an EVF which uses a liquid crystal panel in the embodiment described above, but the display section 40 may be a display section other than an EVF. For example, the display section 40 may be a display section which uses a liquid crystal panel attached to a back surface of the image-capturing device 1, or a display section other than a liquid crystal panel may be used. The image-capturing device 1 may also be a single-lens reflex camera provided with a mirror, the image-capturing device 1 may be a movie camera, or the image-capturing device 1 may be a mobile telephone or other device provided with image-capturing functionality. The color filters are also in a Bayer array in the area image sensor 15 described above, but aspects of the invention can also be applied in an image-capturing device which utilizes a sensor configured in an arrangement other than a Bayer array. The line buffer 52d may be a line buffer, but may also be a VRAM provided with a recording capacity for recording the image data of a single frame. Through this configuration, various types of processing can be performed on the basis of the image data to be displayed. The horizontal synchronization period is also preferably lengthened with respect to a reference period, and various types of periods can be assumed as the reference period. For example, the cycle of the horizontal synchronization signal SHsync of the area image sensor 15, the cycle for generating the image data, and other cycles may be used as the reference period. Furthermore, various forms may be adopted as the form in which various types of signals are transmitted from the timing generator 30 to the display section 40, and signals may be transmitted by HDMI (high-definition multimedia interface) and other methods. The directions in the embodiment described above may also be reversed. In the horizontal direction, for example, display may be performed from left to right or from right to left.
Also, in relation to the configuration for varying the timing for outputting vertical synchronization signals SVsync on the basis of progress information, in the embodiment above, there was described a configuration whereby preparations for starting processing to generate image data of the next frame are put in order after processing to generate image data up through the last line of the current frame is ended. As another embodiment, there may be adopted a configuration whereby preparations for processing to generate image data of the next frame are put in order if processing is ended for generating image data up through an L-th line (where L is less than the last line) of the current frame within the period of the reference cycle TSV0. The L-th line may be predetermined in accordance with the buffer that stores the image-capture data from the area image sensor, the buffers that store data derived from the image-capture data in question by various types of image processing, and the like.
In the embodiment described above, there was described an example in which horizontal synchronization signals SHsync are output in excess of the reference pulse count PSH0 which is output in the reference cycle TSV0, and the period until output of the next vertical synchronization signal SVsync (cycle TSV) is made longer than the reference cycle TSV0. In a case where, for example, the reference pulse count PSH0 is set to include a margin (i.e., to the number of pulses required for the equivalent of a line, plus a margin), and it is desired to accelerate the timing for generating the vertical synchronization signal SVsync, a vertical synchronization signal SVsync may be generated at the point in time of generation of horizontal synchronization signals SHsync having a smaller number of pulses than the reference pulse count PSH0. Also, in a case where, for example, the reference pulse count PSD0 of the dot clocks SDotclock has been similarly set to include a margin, and it is desired to accelerate the timing for generating the vertical synchronization signals SVsync, a horizontal synchronization signal SHsync may be generated at the point in time of generation of dot clocks SDotclock having a smaller number of pulses than the reference pulse count PSD0. As a result, the period until output of a vertical synchronization signal SVsync (cycle TSV) may made shorter than the reference cycle TSV0.
Each of the processes that were carried out on individual single lines in the preceding embodiment may instead be carried out on individual predetermined units such as a plurality of lines or a plurality of pixels.
In the embodiment there is adopted a configuration in which the number of pulses of subsignals which are generated a plurality of times within the period of one cycle of vertical synchronization signals, as well as the generation cycle of the vertical synchronization signals, are varied; and the timing for importing of image-capture data from the image-capturing section is controlled in accordance with current conditions. For example, it is possible for the cycle of generating a vertical synchronization signal corresponding to the next frame to be extended until processing for generating image data that corresponds to one frame has ended, and as a result, to prevent overwriting or destruction of unprocessed image-capture data.
Optionally, the image capture control section can vary the number of pulses of a subsignals generated a plurality of times within the period of one cycle of a vertical synchronization signal, whereby the cycle of output of the vertical synchronization signals is varied. As one mode for doing so, for example, the number of pulses of horizontal synchronization signals (subsignals) output within the period of one cycle of a vertical synchronization signal may be increased or decreased to vary the cycle of the vertical synchronization signals.
In this case, the image-capturing section carries out generation of image-capture data on the basis of the horizontal synchronization signals; however, horizontal synchronization signal pulses in excess of a predetermined number within the period of one cycle of the vertical synchronization signals are ignored. The predetermined number signifies, for example, the number of lines contained in a single frame. Ignoring refers, in other words, to not carrying out generating of image data in response to the signals in question.
Optionally, for example, the cycle of the horizontal synchronization signals may be varied by increasing or decreasing the number of pulses of the dot clocks (subsignals) output within the period of one cycle of the horizontal synchronization signals, and varying the cycle of the vertical synchronization signals as a result. In this case, the image-capturing section carries out generating of image-capture data on the basis of the horizontal synchronization signals and the dot clocks, but dot clock pulses in excess of a predetermined number within the period of one cycle of the horizontal synchronization signals are ignored. The predetermined number signifies, for example, the number of dots contained in a single line. In this configuration, the image-capturing control portion may generate a constant number of horizontal synchronization signals within the period of one cycle of the vertical synchronization signals without relying on an increase or decrease in the number of pulses of the dot clocks; or may instead increase or decrease the number of pulses of the horizontal synchronization signals within the period of one cycle of the vertical synchronization signals.
The image-data-generation section is also preferably capable of generating image data indicating an image of a subject on the basis of image-capture data of an image-capturing section (e.g., an area image sensor), and displaying the image of the subject in the display section on the basis of the image data. The processing for generating image data may comprise any type of image processing, and the period required for processing may fluctuate according to the image-capture data of the image-capturing section, a mode in the image-capturing device, the image-capturing conditions, or other factors. The period required for processing may also be unknown.
The embodiment may also be a timing control circuit for outputting subsignals having a variable number of pulses, and a vertical synchronization signal having a variable generation cycle, to an image-capturing section for capturing a subject and starting the generating of image-capture data corresponding to a single frame in synchronization with the vertical synchronization signal, the subsignals being generated a plurality of times within a period of one cycle of the vertical synchronization signal.
The procedures taught in the disclosure for varying the timing of the vertical synchronization signals applied to the image-capturing section may be implemented as a program or method as well. A device, program, or method such as described above may be implemented as an independent device or by utilizing a shared component in a device having multiple functions, and various types of embodiments are included.

## Claims

1. An image device adapted to control an image-capturing circuit and a display, the image-capturing circuit being configured to capture an image of a subject and generate image-capture data in synchronization with a first vertical synchronization signal, the display being configured to display an image on the basis of image data in synchronization with a second vertical synchronization signal, the image device comprising:
an image-data-generation circuit configured to generate the image data on the basis of the image-capture data; and
a timing generating circuit configured to output the first vertical synchronization signal and the second vertical synchronization signal, the second vertical synchronization signal being outputted after a predetermined period from a timing at which the first vertical synchronization signal is outputted, the predetermined period being shorter than a period of one cycle of the first vertical synchronization signal and being variable, and the first vertical synchronization signal and the second vertical synchronization signal being synchronized.

2. The image device according to claim 1, wherein
the timing generating circuit is configured to vary the period of one cycle of the first vertical synchronization signal.

3. The image device according to claim 1, wherein
the timing generating circuit is configured to vary the period of one cycle of the second vertical synchronization signal.

4. The image device according to claim 1, wherein
the timing generating circuit is configured to vary the period of one cycle of the first vertical synchronization signal and the second vertical synchronization signal.

5. The image device according to claim 1, wherein
the timing generating circuit varies both a number of pulses of a subsignal generated a plurality of times within the period of one cycle of the first vertical synchronization signal and the period of one cycle of the first vertical synchronization signal.

6. The image device according to claim 5, wherein
the image-capturing circuit carries out generating of the image-capture data on the basis of a provided predetermined number of the subsignal.

7. The image device according to claim 6, wherein
the image-capturing circuit carries out the generating of the image-capture data in a manner not based on horizontal synchronization signal pulses exceeding the provided predetermined number.

8. The image device according to claim 1, wherein
the timing generating circuit increases or decreases a number of pulses of a horizontal synchronization signal functioning a subsignal generated a plurality of times within the period of one cycle of the first vertical synchronization signal.

9. The image device according to claim 1, wherein
the timing generating circuit increases or decreases a number of pulses of a dot clock used as a subsignal generated a plurality of times within the period of one cycle of the first vertical synchronization signal, and varies a cycle of a horizontal synchronization signal, the dot clock being generated within a period of one cycle of the horizontal synchronization signal, and the horizontal synchronization signal being generated a prescribed number of times within the period of one cycle of the first vertical synchronization signal.

10. The image device according to claim 1, wherein
the timing generating circuit increases or decreases a number of pulses of a horizontal synchronization signal used as a first subsignal generated a plurality of times within the period of one cycle of the first vertical synchronization signal,
the timing generating circuit increases or decreases a number of pulses of a dot clock used as a second subsignal, generated in a period of one cycle of the horizontal synchronization signal; and
the timing generating circuit varies the period of one cycle of the horizontal synchronization signal.

11. An image device adapted to control an image-capturing circuit and a display, the image-capturing circuit being configured to capture an image of a subject and generate image-capture data in synchronization with a first vertical synchronization signal, the display being configured to display an image on the basis of image data in synchronization with a second vertical synchronization signal, the image device comprising:
an image-data-generation circuit configured to generate the image data on the basis of the image-capture data; and
a timing generating circuit configured to output the first vertical synchronization signal and the second vertical synchronization signal, the first vertical synchronization signal being outputted after a predetermined period from a timing at which the second vertical synchronization signal is outputted, the predetermined period being shorter than a period of one cycle of the second vertical synchronization signal and being variable, and the first vertical synchronization signal and the second vertical synchronization signal being synchronized.

12. An image-capturing device comprising the image device according to claim 1.

13. An image-capturing device comprising the image device according to claim 11.