Summary of the invention
What technical solution of the present invention solved is the debugging of existing imaging system and the problem of fault location complexity.
For solving the problems of the technologies described above, technical solution of the present invention provides a kind of debugging apparatus of imaging system, comprising:
Be suitable for generating the clock generating module of synchronizing clock signals, described synchronizing clock signals is suitable for the synchronizing clock signals of the image conversion module of simulating described imaging system;
Be connected with described clock generating module, be suitable for exporting under the control of the synchronizing clock signals generating in described clock generating module the view data module of the viewdata signal of predetermined image.
Optionally, described synchronizing clock signals comprises: frame synchronization clock signal, row synchronizing clock signals and pixel synchronizing clock signals.
Optionally, described view data module comprises:
Be suitable for the memory module of the view data that stores described predetermined image;
Be connected with described memory module and clock generating module, under the synchronizing clock signals control that is suitable for generating in described clock generating module, the control module of the view data output image data signal of the predetermined image based on described storage module stores.
Optionally, the viewdata signal of described predetermined image is suitable for the viewdata signal of the image conversion module output of simulating described imaging system.
Optionally, the viewdata signal of described predetermined image is suitable for the viewdata signal of the image processing module output of simulating described imaging system.
Optionally, described predetermined image is monochrome image, color fringe image, gradual change color fringe image or the image after special effect treatment.
For solving the problems of the technologies described above, technical solution of the present invention also provides a kind of imaging system, comprises image conversion module, image processing module and image display, also comprises the debugging apparatus of described imaging system.
Optionally, described imaging system also comprises:
Be connected between described clock generating module, image conversion module and described image processing module, be suitable for selecting described clock generating module or described image conversion module to provide the clock selection module of synchronizing clock signals for described image processing module;
Be connected between described view data module, image conversion module and described image processing module, be suitable for selecting described view data module or described image conversion module to provide the processing selecting module of viewdata signal for described image processing module;
Be connected between described view data module, image processing module and described image display, be suitable for selecting described view data module or described image processing module to select module for described image display provides the demonstration of viewdata signal.
For solving the problems of the technologies described above, technical solution of the present invention also provides a kind of adjustment method of described imaging system, comprising:
Select described clock generating module to provide synchronizing clock signals for described image processing module;
Select described view data module to provide viewdata signal for described image processing module;
Utilize the viewdata signal of predetermined image to debug the image processing module of described imaging system, the image effect that described image display is shown is consistent to the treatment effect of described predetermined image with described image processing module.
For solving the problems of the technologies described above, technical solution of the present invention also provides a kind of adjustment method of described imaging system, comprising:
Select described view data module to provide viewdata signal for described image display;
Utilize the viewdata signal of predetermined image to debug the image display of described imaging system, the image that described image display is shown is consistent with described predetermined image.
For solving the problems of the technologies described above, technical solution of the present invention also provides a kind of Fault Locating Method of described imaging system, comprising:
Select described view data module to provide viewdata signal for described image display;
If the demonstration of described imaging system is abnormal, be defined as described image display fault;
If the demonstration of described imaging system is normal, be defined as described image processing module or image conversion module fault.
Optionally, if be defined as described image processing module or image conversion module fault, described Fault Locating Method also comprises:
Select described clock generating module to provide synchronizing clock signals for described image processing module, select described view data module to provide viewdata signal for described image processing module, select described image processing module to provide viewdata signal for described image display;
If the demonstration of described imaging system is abnormal, be defined as described image processing module fault;
If the demonstration of described imaging system is normal, be defined as described image conversion module fault.
Optionally, if be defined as described image conversion module fault, described Fault Locating Method also comprises:
Select described image conversion module to provide synchronizing clock signals for described image processing module, select described view data module to provide viewdata signal for described image processing module, select described image processing module to provide viewdata signal for described image display; If the demonstration of described imaging system is abnormal, be defined as module failure relevant to synchronizing clock signals in described image conversion module;
Select described image conversion module to provide viewdata signal for described image processing module, select described clock generating module to provide synchronizing clock signals for described image processing module, select described image processing module to provide viewdata signal for described image display; If the demonstration of described imaging system is abnormal, be defined as module failure relevant to viewdata signal in described image conversion module.
For solving the problems of the technologies described above, technical solution of the present invention also provides a kind of Fault Locating Method of described imaging system, comprising:
Select described clock generating module to provide synchronizing clock signals for described image processing module, select described view data module to provide viewdata signal for described image processing module, select described image processing module to provide viewdata signal for described image display;
If the demonstration of described imaging system is normal, be defined as described image conversion module fault;
If the demonstration of described imaging system is abnormal, be defined as described image processing module or image display fault.
Optionally, if be defined as described image processing module or image display fault, described Fault Locating Method also comprises:
Select described view data module to provide viewdata signal for described image display;
If the demonstration of described imaging system is normal, be defined as described image processing module fault;
If the demonstration of described imaging system is abnormal, be defined as described image display fault.
Optionally, if be defined as described image conversion module fault, described Fault Locating Method also comprises:
Select described image conversion module to provide synchronizing clock signals for described image processing module, select described view data module to provide viewdata signal for described image processing module, select described image processing module to provide viewdata signal for described image display; If the demonstration of described imaging system is abnormal, be defined as module failure relevant to synchronizing clock signals in described image conversion module;
Select described image conversion module to provide viewdata signal for described image processing module, select described clock generating module to provide synchronizing clock signals for described image processing module, select described image processing module to provide viewdata signal for described image display; If the demonstration of described imaging system is abnormal, be defined as module failure relevant to viewdata signal in described image conversion module.
Compared with prior art, technical solution of the present invention provides a kind of debugging apparatus of imaging system, by the synchronizing clock signals of clock generating module analog image modular converter, by view data module based on being stored in inner predetermined image data output image data signal, with the output signal of analog image modular converter or image processing module.Utilize the debugging apparatus of described imaging system can realize debugging and the fault location to imaging system.
The debugging apparatus of described imaging system is integrated in to imaging system inside, can image conversion module (imageing sensor) be installed before in imaging system, analog image modular converter provides synchronizing clock signals and viewdata signal for image processing module, to realize the debugging to image processing module and image display; Also can analog image processing module for image display provides viewdata signal, to realize the debugging to image display; Can also, after assembling image conversion module, once break down, locate fast the source of trouble.
Described imaging system and debugging apparatus thereof are simple in structure, with low cost, be convenient to realize, the adjustment method of the debugging apparatus based on this imaging system and the method for fault location are simple, can greatly improve and use the electronic equipment of the imageing sensor efficiency in the time of assembling and setting and fault location.
Embodiment
The adjusting, measuring method of traditional imaging system, is limited by image conversion module, just can carry out system debug after only assembling image conversion module.And in debug process, cannot position the problem occurring fast, need to investigate one by one the links of system, workload is large, and efficiency is low.
Figure 1 shows that a kind of operation principle schematic diagram that is widely used in the inner high-resolution imaging system such as mobile phone, digital camera and Digital Video in prior art, comprise imageing sensor, image processor and image display.First, by the camera lens of camera, subject is captured as to light signal and passes to image converter, by imageing sensor, light signal is converted to the signal of telecommunication.Imageing sensor can be ccd image sensor or cmos image sensor, adopt the semiconductor device of ISO to make, under the effect of light, by the accumulation that light intensity is converted into electric charge, light signal is converted into analog electrical signal, then through the analog-to-digital conversion module that imageing sensor carries, analog electrical signal is converted to digital electric signal.Through the processing of image processor, be converted to can driving display picture signal, image processor can also carry out other to picture signal simultaneously special processing or editor have reached better display effect, as noise reduction, sharpening etc.Finally, picture signal can be presented on image display, and common display has liquid crystal display, plasma display etc.Meanwhile, image display also can complete some special display effects, as transparent, stack etc.
For the imaging system shown in Fig. 1, in process of production, if there is no installation diagram image-position sensor, just cannot produce and can, for the digital electric signal of processing, therefore also cannot debug image processor and image display.But along with the development of digital image processing techniques, the function of image processor and image display is more and more abundanter, also becomes increasingly complex, often need to complete assembling before image processor and image display are completed to debugging.In addition, complete after assembling in imaging system, if system can not show correct image according to expection, because intermediate treatment link is more, be also difficult to carry out fault location fast.
For addressing the above problem, the embodiment of the present invention provides a kind of debugging apparatus of imaging system, and as shown in Figure 2, the debugging apparatus 1 of described imaging system comprises:
The clock generating module 11 that is suitable for generating synchronizing clock signals, described synchronizing clock signals is suitable for the synchronizing clock signals of the image conversion module of simulating described imaging system;
Be connected with described clock generating module 11, be suitable for exporting under the control of the synchronizing clock signals generating in described clock generating module 11 the view data module 12 of the viewdata signal of predetermined image.
Concrete, the clock generating module of the debugging apparatus of the present embodiment imaging system as shown in Figure 3, described clock generating module 11 is made up of counter A counter B sum counter C, three counters are by counting counter reference clock, clocking, is respectively used to pixel synchronizing clock signals, row synchronizing clock signals and the frame synchronization clock signal of analog image modular converter.In the present embodiment, counter can adopt existing frequency multiplier circuit to realize, by the multiple of frequency multiplication is set, and the clock signal of output different frequency; Can also adopt existing frequency dividing circuit to realize, by the divider ratio of frequency dividing circuit is set, the clock signal of output different frequency, now can be set to the frequency of counter reference clock the integral multiple of pixel synchronizing clock signals so that counting.
Further, the sequential relationship of the synchronizing clock signals of the clock generating module of the debugging apparatus of imaging system of the present invention as shown in Figure 4, each frame synchronization clock cycle equals M row synchronised clock cycle, and each row synchronised clock cycle equals N pixel synchronised clock cycle.The resolution of imaging system has how many row and every row to have how many pixels to decide by every frame, and as shown in Figure 4, the debugging apparatus of imaging system of the present invention can be applied in the imaging system that resolution is M*N.Visible, in the time being applied in the imaging system of different resolution, can arrange by adjusting the frequency of counter reference clock, the multiple of counter of adjusting frequency multiplier circuit realization or the divider ratio of frequency dividing circuit realization, adjust flexibly the frequency of the synchronizing clock signals of output, to meet application needs.
The view data module of the debugging apparatus of the imaging system of the present embodiment as shown in Figure 5, comprises memory module and control module composition.Wherein, memory module can adopt read-only memory (ROM, Read Only Memory) to realize, for storing the view data of predetermined image of arbitrary format; Control module can comprise reading circuit and output circuit, wherein reading circuit is under the control of the synchronizing clock signals of clock generating module, read the view data of the predetermined image in memory module, then by output circuit according to the sequential output image data signal of the synchronizing clock signals of clock generating module.General described predetermined image can be the image of arbitrary format, set according to the actual requirements, as so that debugging for object, predetermined image can be monochrome image, color fringe image, gradual change color fringe image and the image after special effect treatment etc.Wherein the image after special effect treatment can meet the debugging needs of special screne, as can be debugs the noise reduction process effect of image processing module containing noisy image, can also be that the image of negate look is debugged the negate look function of image processing module.The predetermined image of the view data module of the debugging apparatus of imaging system of the present invention comprises red monochrome image, green monochrome image, blue monochromatic image, 8 color vitta print images, 8 look gradual change color fringe images and contains noisy image.
Utilize the debugging apparatus of above-mentioned imaging system can realize debugging and the fault location to imaging system, the debugging apparatus of described imaging system can be integrated in imaging system.As shown in Figure 6, the imaging system of the present embodiment comprises debugging apparatus 1, image conversion module 2, image processing module 3, image display 4, clock selection module 5, the processing selecting module 6 of imaging system and shows selection module 7.
Concrete, image conversion module 2 can be cmos image sensor or ccd image sensor, comprise sequence circuit, pel array and analog to digital conversion circuit, wherein, sequence circuit is for generation of clock signal, pel array, for the light signal strength of seizure is converted to charge level, according to certain sequential output, then is converted to digital electric signal through analog to digital conversion circuit by the signal of telecommunication of simulation.
Image processing module 3 is made up of image processing software and image processing hardware, wherein image processing software is used for providing user interface, editting function etc. is provided, image processing hardware adopts central processing unit, microcontroller or digital signal processor to realize, and has been used for the processing of digital signal.
Image display 4 the most at last viewdata signal is presented on show media, can check for user, and can be liquid crystal display, plasma scope or organic light emitting diode display etc.
Clock selection module 5, is used to image processing module to select the synchronizing clock signals of image conversion module or clock generating module; Processing selecting module 6, is used to image processing module to select the viewdata signal of image conversion module or view data module; Show and select module 7, be used to image display to select the viewdata signal of image processing module or view data module.Selecting module for above-mentioned three, can be to adopt the alternative circuit of MOS device composition to realize.
Based on above-mentioned imaging system, the schematic flow sheet of the embodiment mono-of the adjustment method of imaging system of the present invention as shown in Figure 7, can also under the prerequisite of unassembled image conversion module, complete the debugging to image processing module and image display in imaging system.As shown in the figure, the step of described adjustment method comprises:
Step S701: clock selection module is set, selects clock generating module to provide synchronizing clock signals for image processing module;
Step S702: set handling is selected module, selects view data module to provide viewdata signal for image processing module;
Step S703: control chart, as the viewdata signal of data module output predetermined image, is debugged image processing module, makes the image effect of demonstration consistent to the treatment effect of predetermined image with image processing module.For instance, step S703 can be, control described view data module output containing noisy image, the processing mode that image processing module is set is noise reduction, described image processing module is debugged, made the noise reduction of the image showing consistent to the noise reduction of the expection containing noisy image with image processing module.
The schematic flow sheet of the embodiment bis-of the adjustment method of imaging system of the present invention as shown in Figure 8, comprises the steps:
Step S801: arrange and show and select module, select view data module to provide viewdata signal for image display;
Step S802: control chart, as the viewdata signal of data module output predetermined image, is debugged image processing module, makes the image of demonstration consistent with predetermined image.For instance, step S802 can be, control described view data module output red monochrome image, green monochrome image, blue monochromatic image, 8 color vitta images and 8 look gradual change color-bar images successively, described image display is debugged, make the image of demonstration consistent with the predetermined image in view data module.
Based on above-mentioned imaging system, the schematic flow sheet of the embodiment mono-of the Fault Locating Method of imaging system of the present invention as shown in Figure 9, comprises the steps:
Step S901: described demonstration is set and selects module, select view data module to provide viewdata signal for described image display;
Step S902: judge whether image shows normal;
If not, show extremely, perform step S903: be defined as image display fault;
If so, show normally, perform step S904: be defined as image processing module or image conversion module fault;
After step S904, execution step S905: clock selection module is set, select clock generating module to provide synchronizing clock signals for image processing module, set handling is selected module, select view data module to provide viewdata signal for image processing module, arrange and show and select module, select image processing module to provide viewdata signal for image display;
Step S906: judge whether image shows normal;
If not, show extremely, perform step S907: be defined as image processing module fault;
If so, show normally, perform step S908: be defined as image conversion module fault;
After step S908, can also comprise step S909 and S910, wherein,
Step S909: clock selection module is set, select image conversion module to provide synchronizing clock signals for image processing module, set handling is selected module, select view data module to provide viewdata signal for image processing module, arrange and show selection module, select image processing module for image display provides viewdata signal, if image demonstration is abnormal, be defined as module relevant to synchronizing clock signals in image conversion module (as sequence circuit) fault;
Step S910: clock selection module is set, select clock generating module to provide synchronizing clock signals for image processing module, set handling is selected module, select image conversion module to provide viewdata signal for image processing module, arrange and show selection module, select image processing module for image display provides viewdata signal, if image demonstration is abnormal, be defined as module relevant to viewdata signal in image conversion module (as pel array, D/A converting circuit) fault.
Based on above-mentioned imaging system, the schematic flow sheet of the embodiment bis-of the Fault Locating Method of imaging system of the present invention as shown in figure 10, comprises the steps:
Step S1001: clock selection module is set, select clock generating module to provide synchronizing clock signals for image processing module, set handling is selected module, select view data module to provide viewdata signal for image processing module, arrange and show and select module, select image processing module to provide viewdata signal for image display;
Step S1002: judge whether image shows normal;
If so, show normally, perform step S1003: be defined as image conversion module fault;
If not, show extremely, perform step S1004: be defined as image processing module or image display fault;
After step S1004, execution step S1005: arrange and show and select module, select view data module to provide viewdata signal for image display;
After step S1005, perform step S1006: judge whether image shows normal;
If so, show normally, perform step S1007: be defined as image processing module fault;
If not, show extremely, perform step S1008: be defined as image display fault;
After step S1003, can also comprise step S1009 and S1010, wherein,
Step S1009: clock selection module is set, select image conversion module to provide synchronizing clock signals for image processing module, set handling is selected module, select view data module to provide viewdata signal for image processing module, arrange and show selection module, select image processing module for image display provides viewdata signal, if image demonstration is abnormal, be defined as module failure relevant to synchronizing clock signals in image conversion module;
Step S1010: clock selection module is set, select clock generating module to provide synchronizing clock signals for image processing module, set handling is selected module, select image conversion module to provide viewdata signal for image processing module, arrange and show selection module, select image processing module for image display provides viewdata signal, if image demonstration is abnormal, be defined as module failure relevant to viewdata signal in image conversion module.
Although the present invention with preferred embodiment openly as above; but it is not for limiting the present invention; any those skilled in the art without departing from the spirit and scope of the present invention; can utilize method and the technology contents of above-mentioned announcement to make possible variation and amendment to technical solution of the present invention; therefore; every content that does not depart from technical solution of the present invention; any simple modification, equivalent variations and the modification above embodiment done according to technical spirit of the present invention, all belong to the protection range of technical solution of the present invention.