Embodiment
Below, with reference to accompanying drawing the signal processing apparatus 1 that example of the present invention relates to is described.In addition; This signal processing apparatus 1 is the civilian camera as image processing apparatus; But; Also can be used as monitoring camera, TV camera, perhaps also go in image diagnosing system that microscope, binoculars and then NMR take etc. etc., the instrument beyond the camera with other purposes such as camera, portable video camera, endoscope cameras.
The summary of the formation of Fig. 1 expression signal processing unit 1.Signal processing apparatus 1 is provided with: takes the shoot part 2 of personage's etc. image, drives the control system portion 3 of this shoot part 2, and the handling part 4 that the image that shoot part 2 is taken is handled.In addition; The signal processing apparatus 1 that this example relates to; And then be provided with: record is processed the record images portion 5 that portion 4 handles; Constitute, detect the variation essential factor detection of information portion 6 that becomes the main cause that image deterioration etc. changes by angular-rate sensor etc., and preserve the essential factor information storing section 7 that makes the variation essential factor information that image deterioration etc. takes place.In addition, at signal processing apparatus 1 as the device beyond the image processing apparatus and under the suitable situation, shoot part 2 becomes the acceptance division 2 (below, suitably shoot part 2 and acceptance division were opened use in 2 minutes) of the various input signals that receive voice signal etc.
Shoot part 2 is, is provided with the part of picture pick-up device that light with the photographic optical system of having passed through to have camera lens and camera lens converts CCD (Charge Coupled Devices) or the C-MOS (Complementary Metal Oxide Semiconductor) etc. of the signal of telecommunication into.Control system portion 3 is the part of each one in the signal processing apparatus such as control shoot part 2, handling part 4, recording portion 5, test section 6 and essential factor information storing section 7.
Handling part 4 is made up of image processor, and is made up of the such hardware of ASIC (Application Specific Integr ated Circuit, application-specific integrated circuit (ASIC)).Handling part 4, the sampling frequency (sampling frequency) that the vibration detection of rocking of detecting etc. is used takes place, and simultaneously, this sampling frequency is supplied to test section 6.In addition, the beginning and the end of handling part 4 control vibration detection.And then handling part 4 dwindles the dwindling processing, will dwindle processing and amplifying, the 1st and second reprocessing that the capacity of restored data amplifies of capacity (capacity value) of original signal data.And then, handling part 4, the degree of the variation that obtains according to the data by test section 6 detected variation essential factor information judges whether to dwindle processing, first reprocessing, processing and amplifying and second reprocessing.In addition, at signal processing apparatus 1 and under the suitable situation, can change the reception sensitivity of acceptance division 2 according to the size of input signal etc. as the device beyond the image processing apparatus.
In addition, in this handling part 4, also there is the relatively situation of the original digital image data (original signal data) etc. on the basis when dwindling data and relatively using amplification data of generation that becomes of preserving.And then handling part 4 also can be used as the formation of utilizing software to handle, rather than constitutes as the such hardware of ASIC.Recording portion 5 is made up of semiconductor memory, still, also can adopt the magnetic recording system of hard drive etc. or use the optical recorder etc. of DVD etc.
Test section 6 is as shown in Figure 2, is that to detect with respect to the Z axle as the optical axis of signal processing apparatus 1 be the part of rotary speed of X axle, the Y axle of vertical direction.Shake during shooting, the image of shooting just becomes blurred picture.Rocking so also can be taken place to the moving of all directions of directions X, Y direction, Z direction, around the rotation of Z axle, with respect to each change suffered what have the greatest impact is around the rotation of Y axle with around the rotation of X axle.These two kinds of changes only change a little, and the image of shooting just can be very fuzzy.Therefore, in this example, for detect Fig. 2 around the X axle with around the rocking of Y axle, use PITCH ((Y) direction moves up and down) to detect with two transducers of transducer and YAW (about (X) direction mobile) detection with transducer.But more perfect in order to expect, also further additional detected is used transducer around the ROLL detection of the rotation of Z axle, and perhaps further additional detected is to the transducer that moves of directions X or Y direction.In addition, also can be angular acceleration transducer as the transducer that uses, rather than angular-rate sensor.In addition; Be suitable for as object with the signal beyond the picture signal and the response characteristic of receiving feature or signal processing system etc. receives under the situation of influence of temperature for example or humidity at signal processing apparatus 1, can make thermometer or hygrometer be contained in test section 6.Like this, in test section 6, observe the variation essential factor that makes Signal Degrade.
Essential factor information storing section 7 is the variation essential factor recording of information portions that preserve the variation essential factor that makes Signal Degrade etc., wherein, changes essential factor information and is the aberration of for example optical system and/or test section 6 detected vibrations, or the some transform calculated in view of the above etc.Be recorded in the variation essential factor information of essential factor information storing section 7; For example from the original digital image data (view data that deterioration changes has taken place) of the original signal data that become up-to-date shooting to the base image data that become the basis signal data (view data or its approximate data before changing) or become the base image data are dwindled or amplify after the recovery processing of similar image data of similarity signal data the time, in handling part 4, be utilized.In addition; At signal processing apparatus 1 and under the suitable situation as the device beyond the image processing apparatus; Because the problem that also exists temperature, humidity etc. that the characteristic of receiving feature or the entire system of acceptance division 2 is changed; Therefore can detection record these, and utilize as changing essential factor information.In addition, also can response characteristic function of impulse response of system etc., the system known in advance etc. be stored in essential factor information storing section 7.
At this, original digital image data is restored period of processing to base image data or similar image data, the period that postpones in the time of can being power-off for shooting, when the running rate of handling part 4 is low etc., from the period of taking original image.In this case, be stored in the original digital image data of recording portion 5 and be stored in the variation essential factor information about this original digital image data (some transform etc.) of essential factor information storing section 7, preserved chronically with associated state respectively.Be the burden of handling part 4 can alleviate the shooting of following various processing time from the advantage that postpones the period of having taken original image the period of like this, the recovery of carrying out original digital image data being handled.
Then, the summary of the main processing (dwindling processing, processing and amplifying, each reprocessing) that the signal processing apparatus 1 that this example that as above, constitutes is related to reference to accompanying drawing carries out describes, and simultaneously, the handling process of integral body is described.
(dwindling processing)
Fig. 3 representes to dwindle the summary of processing.A unit of the foursquare grid among the figure, of the pixel of expression composing images data.The left side of arrow is the pixel of dwindling before handling, and the right side is the pixel of dwindling after the processing.Fig. 3 (A) expression will form the example that dwindles processing that mean value foursquare adjacent four pixels, each pixel data is replaced into the pixel data of a pixel as a whole.Minification under this situation is 25%.Fig. 3 (B) expression will form the example that dwindles processing that mean value foursquare adjacent 16 pixels, each pixel data is replaced into the pixel data of a pixel as a whole.Minification under this situation is 6.25%.
Fig. 3 (C) expression will form the example that dwindles processing that foursquare adjacent nine pixels form the pixel data of four pixels as a whole.Minification under this situation is about 44.4%.This method of dwindling processing is; The mean value of the pixel data of pixel A, B, D and E is replaced into the pixel data of pixel a; The mean value of the pixel data of pixel B, C, E and F is replaced into the pixel data of pixel b; The mean value of the pixel data of pixel D, E, G and H is replaced into the pixel data of pixel c, the mean value of the pixel data of pixel E, F, H and I is replaced into the pixel data of pixel d.
Fig. 3 just extracts the part of view data out and the summary of representing to dwindle processing.Be actually all pixels of view data are carried out the processing of dwindling shown in Figure 3.In the signal processing apparatus 1 that this example relates to, adopt the processing of dwindling shown in Fig. 3 (C).Carry out following explanation as prerequisite.In addition, dwindle to handle and be, utilize the pixel data value of the pixel that constitutes original digital image data to generate a pixel, replace these a plurality of pixels and use the processing of this pixel by a plurality of pixels.At this; The method of " utilizing the pixel data value of the pixel that constitutes original digital image data "; Be not limited to ask the method for mean value of the pixel data of a plurality of pixels, also can be method that the value of a pixel data in a plurality of pixels is intactly utilized, the method for the mean value of the pixel data of a part of asking a plurality of pixels, or ask in these any one method with the value behind the coefficient of regulation on duty etc.Dwindle processing through this, can obtain taking place on the surface original digital image data that dwindles of big variation by original digital image data (captured image data).In addition, when the mean value of the pixel data that uses a plurality of pixels, generate a pixel through using this mean value, the recovery of image that has alleviated the noise of white noise (white noise) etc. becomes possibility.In addition, handle the original digital image data that dwindles obtain, also can be used as the monitor institute images displayed data of digital camera etc. and use through dwindling.
(processing and amplifying)
Fig. 4 representes the summary of processing and amplifying.A unit of the foursquare grid among the figure, of the pixel of expression composing images data.In addition, pixel a, b, c and d are corresponding with represented pixel a, b, c and the d of Fig. 3 (C) respectively.And each pixel is the pixel with pixel data of the symbol that is affixed to each pixel.Between pixel a shown in Fig. 3 (C) and b, insert the pixel of pixel data of mean value ((a+b)/2) of the pixel data of pixel data with pixel a and pixel b.Between pixel a and the c, between pixel c and the d, between pixel b and the d, also carry out the insertion of same pixel between pixel a and the d.At this, the pixel data of the pixel at the center of inserting between pixel a and the d also can be the mean value ((b+c)/2) of pixel data of pixel data and the pixel c of pixel b.This is because the pixel at this center is the pixel that is present between pixel b and the c.According to identical viewpoint, the pixel at this center also can be the pixel of the pixel data of mean value ((a+b+c+d)/4) with pixel data of pixel a, b, c and d.Through this processing and amplifying, can return to the processing and amplifying of the pixel count that dwindles the original digital image data before handling shown in Fig. 3 (C).Fig. 4 just extracts the part of view data out and representes the situation of processing and amplifying.Be actually all pixels of view data are carried out processing and amplifying shown in Figure 4.In the signal processing apparatus 1 that this example relates to, adopted processing and amplifying shown in Figure 4.Carry out following explanation as prerequisite.
In addition, processing and amplifying is that in constituting the pixel of dwindling restored data that obtains at last through stating first reprocessing later, the new pixel data that will generate according to the pixel data that desire is amplified inserts the processing between a plurality of pixels.At this; " the new pixel data that the pixel data that amplifies according to desire generates "; Be not limited to the mean value of the pixel data of adjacent a plurality of pixels, also can utilize separation place pixel data or adjacent a plurality of pixels a part pixel data mean value or in these any one mean value multiply by data behind the coefficient of regulation etc.Through this processing and amplifying, can access with after state and dwindle original digital image data and compare exterior design big variation does not take place, but the enlarged image data that are exaggerated.
(reprocessing)
In the reprocessing that the signal processing apparatus 1 that this example relates to carries out, second reprocessing that has first reprocessing handled as the signal restoring of dwindling the view data after the processing, handles as the signal restoring of the view data after the processing and amplifying.In addition, exist as after state such as dwindle handle and the signal restoring processing of the original digital image data of processing and amplifying the 3rd repeat processing.At first, general common processing in these three reprocessings is described following.
The common processing is; The data that handling part 4 utilization changes the essential factor information are generated relatively with after the data by view data arbitrarily; The data allocations of difference that will become the view data of process object and relatively use data through the data that utilize to change essential factor information is in above-mentioned view data arbitrarily; And the generation restored data replaces above-mentioned view data arbitrarily and uses this restored data to lay equal stress on complex phase with the processing of handling.
According to Fig. 5 the summary of common processing is described.Fig. 5 is the process chart that is used for the related handling procedure of the explanation reprocessing that recovery is handled as signal (image).In Fig. 5, " I
0" be view data arbitrarily, " J " is the view data that becomes process object, these data are the data of image that are stored in the recording portion of handling part 4.At this, because " I
0" be view data arbitrarily, therefore also can use the view data " J " that becomes process object as view data arbitrarily." I
0" represent this view data I arbitrarily
0The data of modified-image, these data become be used for comparison relatively use data." G " is the variation function (some transform) of being calculated by the variation essential factor information that is stored in essential factor information storing section 7 (=deterioration essential factor information).
" δ " becomes the view data J of process object and relatively uses data I
0The data of difference." k " is based on the distribution ratio of the data that change essential factor information." I
0+n" be according to by changing variation function (some transform) G that essential factor information is calculated, the data δ of difference is allocated in view data I arbitrarily
0And the data of newly-generated restored image (restored data).At this, " h " is the destination image data of the no deterioration of finally wishing to get, and then destination image data h and the relation that becomes the view data J of process object can represent with following formula (1).
J=h×G ……(1)
At this, " * " is the operator (below identical) of expression superposition integral.
The handling procedure of handling part 4 is, at first, and from preparing view data I arbitrarily
0Beginning (step S101).In step S102, replace destination image data h and the substitution view data I arbitrarily in (1) formula
0, obtain and relatively use data I as modified-image
0Then, relatively become the view data J of process object and relatively use data I
0, the data δ (step S103) that calculates difference.
In step S104, whether each absolute value of data δ of judging this difference if setting above, then among step S105s generates the processing of the data (=restored data) of new restored image less than setting.That is, according to changing function G, with the view data J that relatively becomes process object with relatively use data I
0The time the data δ of difference be allocated in view data I arbitrarily
0Thereby, generate new restored data I
0+1Then, repeating step S102, S103, S104 and S105.
In step S104, under the situation of absolute value of the data δ of difference, finish reprocessing less than setting.And, the restored data I when being through with reprocessing
0+nBe inferred as destination image data h.That is, during less than setting, be judged as to become and relatively use data I at the absolute value of the data δ of difference
0+nThe restored data I on basis
0+nVery be similar to destination image data h, and with this restored data I
0+nBe inferred as destination image data h.In addition, also can in recording portion 5, write down view data I arbitrarily in advance
0, change function G, be delivered to handling part 4 as required.
The words that the viewpoint of above-mentioned common processing is summarized are described below.That is, in this processing method, separating as inverse problem of process object do not solved, but solve as obtaining the optimization problem of reasonably separating.Solving as inverse problem is possible in theory, still, is difficult as realistic problem.
Under situation about solving, in the common processing that this example relates to, be prerequisite with following condition as optimization problem.
That is, (1) is defined as unique value with respect to the output of input.
(2) if the output of contrast is identical, then these inputs are identical.
(3) identical for the output that makes contrast, through when upgrading input, carrying out repeatedly
Handle and make and separate convergence.
In other words, shown in Fig. 6 (A), (B), if can generate with the view data J that becomes process object approximate relatively use data I
0(I
0+n), then become the view data I of the basic data of this generation
0(I
0+n), become the data that are similar to destination image data h.
Then; According to Fig. 7, Fig. 8, Fig. 9, Figure 10, Figure 11, Figure 12, Figure 13 and Figure 14; With with destination image data h as base image data I mg, to become the view data J of process object be example as the situation of original digital image data Img ' (afterwards state the 3rd repeat to handle), the details of the recovery (repeated treatments of step S102, S103, S104, S105) of the rolling motion video that utilizes common processing shown in Figure 5 is described.
(the recovery algorithm that rocks)
When not shaking,, in the time for exposure, concentrate on this pixel corresponding to the luminous energy of determined pixel.In addition, when shaking, luminous energy is scattered in the pixel of rocking in the time for exposure.And then, if know rocking in the time for exposure, just know the dispersing mode of the energy in the time for exposure, therefore can make unambiguous image by fuzzy image.
Below, for the sake of simplicity, describe with horizontal one dimension.With pixel begin from a left side to be made as successively S-1, S, S+1, S+2, S+3 ..., and note a certain pixel S.Because the concentration of energy in the time for exposure is in this pixel when not shaking, so the energy concentration degree is " 1.0 ".This STA representation is in Fig. 7.The shooting results of this moment is shown in the table of Fig. 8.Data shown in Figure 8 become the correct images data I mg when deterioration does not take place.In addition, each data is with the data representation of eight (bit) (0~255).
Rock in time for exposure, and the time that is respectively for 50% in the time for exposure shakes in S number pixel, time of 30% shakes in S+1 number pixel, time of 20% shakes in S+2 number pixel.The dispersing mode of energy table as shown in Figure 9 is put down in writing.This becomes by changing variation function (some transform) G that essential factor information is calculated.
Rock in all pixels identically, grasped as the problem of shift invariant amount (shift invariant).And if there is not the top to rock (vertically rocking), the situation of rocking table shown in figure 10 is put down in writing.Conduct among Figure 10 " blurred picture " and the expression data be the original digital image data Img ' of deterioration.Specifically; " 120 " of the pixel of " S-3 " for example; According to by as " 0.5 ", " 0.3 " of rocking variation function (some transform) G that change in information essential factor information calculates, the distribution ratio of " 0.2 ", in the pixel of " S-3 ", disperse to disperse in the pixel of " 60 ", " S-2 " to disperse " 24 " in the pixel of " 36 ", " S-1 ".Likewise, as " 60 " of the pixel data of " S-2 ", in " S-2 ", disperse to disperse among " 30 ", " S-1 " to disperse among " 18 ", " S " " 12 ".Variation function (some transform) G from the original digital image data Img ' and the variation essential factor information shown in Figure 9 of this deterioration are calculated calculates base image data I mg.
The I of view data arbitrarily shown in the step S101 of Fig. 5
0, when carrying out this explanation, use original digital image data Img '.That is, as I
0=Img ' begins to handle.The data that in the table of Figure 11, are used as " input " are equivalent to view data I arbitrarily
0With this data I
0, be Img ' and in step S 102, carry out superposition integral by changing variation function (some transform) G that essential factor information calculates.That is, for example, view data I arbitrarily
0" 60 " of pixel of " S-3 ", in the pixel of " S-3 ", distribute respectively in the pixel of distributing " 18 ", " S-1 " in the pixel of " 30 ", " S-2 " and distribute " 12 ".Pixel for other is distributed similarly, generates as " output I
0" and expression relatively use data I
0Therefore, the data δ of the difference of step S103 is shown in one hurdle, bottom of Figure 11.
Then, in the step S104 of Fig. 5, judge to constitute original digital image data Img ' and relatively use data I
0The absolute value of data δ of difference of a plurality of each pixel of image whether less than setting.If the result of its judgement is " denying ", then get into step S105.That is, the data of use variation essential factor information are allocated in view data I arbitrarily with the data δ of difference
0, the conduct that generates among Figure 12 " is imported " and the restored data I of expression next time
0+nAt this moment, owing to be for the first time, therefore in Figure 12, be expressed as I
0+1
The distribution of the data δ of difference is; Utilization is by changing variation function (some transform) G that essential factor information is calculated; For example will on the pixel data " 30 " of " S-3 ", multiply by the pixel that is allocated in " S-3 " as " 15 " of 0.5 gained of the distribution ratio of himself (pixel of=" S-3 "); In addition; Be distributed on the data " 15 " of the pixel of " S-2 " and multiply by as " 4.5 " that should result from 0.3 gained of the distribution ratio in this " S-2 " pixel, and then, be distributed on the data " 9.2 " of the pixel of " S-1 " and multiply by " 1.84 " that conduct should result from 0.2 gained of the distribution ratio in this " S-1 " pixel.The total amount (renewal amount) that is allocated in the pixel of " S-3 " is " 21.34 ", should be worth and view data I arbitrarily
0(using original digital image data Img ' here) addition, and generate restored data I
0+1
Shown in figure 13, this restored data I
0+1Become the data (=view data I arbitrarily of input picture of the step S102 of Fig. 5
0), execution in step S102 and to step S103 transition, thus the data δ of new difference obtained.Then, with the above-mentioned judgement of likewise carrying out step S104.If the result of its judgement is " denying ", then get into step S105, the data δ of new difference is allocated in the restored data I of last time
0+1In, generate new restored data I
0+2(with reference to Figure 14).Then, through the carrying out of step S102, by restored data I
0+2Generate the new data I of relatively using
0+2Like this, after execution in step S102, S103, if the judgement among the step S104 is " denying ", just to step S105 transition.Repeat such processing.
As above, through carrying out reprocessing, the absolute value of the data δ of difference little by little diminishes, if less than setting, and being judged as of step S104 " being " then, thus obtain rocking data that be reduced, approximate with base image data I mg.
In the restoration processing method (reprocessing of step S102, S103, S104 and S105 (the common processing)) of above-described blurred picture shown in Figure 5; The processing that utilizes handling part 4 to carry out is made up of software; But, also can be through carrying out the hardware that parts that a part handles form and constitute by sharing.In addition,, not only comprise the data of deterioration essential factor information, also comprise only making information that image changes or the information that image is improved with deterioration as the data that change essential factor information.
In addition, the number of repetition of processing also can automatically or regularly be set in signal processing apparatus 1 side.Under this situation, also can change this number of times that is set according to variation function (some transform) G that calculates by variation essential factor information.For example, also can be in the data of a certain pixel owing to rocking the number of times that increases repetition under the situation that is scattered in a plurality of pixels, and at the number of times that disperses to reduce under few situation repetition.
And then, in reprocessing, also can disperse or the energy of the view data of energy after moving does not diminish when becoming big on the contrary abort process at the data δ of difference.Whether disperse, can adopt behind the mean value of the data δ that for example observes difference if this mean value just is judged as the method for dispersing greater than the last time.In addition, in reprocessing, also can be when desire change to exceptional value with input, abort process.For example, under eight situation, the value that changes when desire is when surpassing 255 value, abort process.In addition, in reprocessing, when desire will change to exceptional value as the input of new data, also can not use this value and form normal value.For example, eight 0~255 in, will be above 255 value during in desire as the input data, handle as maximum 255.
In addition, when generation becomes the restored data of output image, there is the data conditions that exceeds the image-region of desire recovery owing to variation function (some transform) G that calculates by variation essential factor information.In this case, exceed regional data and be transfused to opposition side.In addition, existing under the data conditions that outside the zone, to import, also can be taken into this data from opposition side.For example, by be positioned at the zone below the data conditions of the data of pixel XN 1 pixel below being allocated in more under, this position is in outside the zone.Therefore, these data carry out directly over pixel XN 1, being allocated in the processing of the pixel X11 that is positioned at the top.For the adjacent pixels XN2 of pixel XN1, similarly directly over be allocated in the pixel X12 (adjacent pixels of=pixel X11) on a hurdle topmost.
In addition, in common the processing, the sampling frequency of angular velocity detection transducer is set in 60Hz~240Hz, still,, also can whenever just detects angular speed at a distance from 5 μ sec in order to detect high frequency.In addition, becoming the value of determinating reference of the data δ of difference, representing under each data conditions with eight (0~255), is " 6 " in this example.That is, less than 6 o'clock end process.In addition, through the initial data of rocking that the angular velocity detection sensor goes out, when the calibration of transducer self is insufficient, not corresponding with rocking of reality.Therefore, for corresponding, when transducer is not calibrated, must carry out the initial data that goes out through sensor multiply by the rectification of regulation multiplying power with rocking of reality.
It more than is the common processing method of handling.As based on first reprocessing of this common processing method of handling same insight in, with " the view data I arbitrarily in handling jointly
0" as the original digital image data that dwindles that the original digital image data Img ' that takes is dwindled after the processing.In addition, " relatively use data I in common the processing
0", become utilization and make this view data I arbitrarily by changing variation function (some transform) G1 that essential factor information calculates
0After (dwindling the original digital image data that dwindles after the processing) deterioration, with dwindle original digital image data be same capability relatively with dwindling data.In addition, " the becoming the view data J of process object " in common the processing becomes and dwindles original digital image data.In addition, " the data δ of difference " in common the processing becomes and dwindles original digital image data and dwindle first differential data of data with usefulness relatively.In addition, " the restored data I in common the processing
0+n", become through utilizing and first differential data is allocated in dwindles the restored data of dwindling that original digital image data generates by changing variation function (some transform) G1 that essential factor information calculates.In addition, " the destination image data h " in common the processing becomes the restored data of dwindling that obtains at last.
In second reprocessing, with " the view data I arbitrarily in handling jointly
0" conduct, will last dwindle the enlarged image data after restored data (destination image data h) is carried out processing and amplifying through what carry out that first reprocessing obtains.In addition, " relatively use data I in common the processing
0", become utilization and make this view data I arbitrarily by changing variation function (some transform) G2 that essential factor information calculates
0Relatively use amplification data after (carry out processing and amplifying after enlarged image data) deterioration.In addition, " the becoming the view data J of process object " in common the processing becomes with original digital image data Img ' or relatively uses the original image similar image data of amplification data as same capability.In addition, " the data δ of difference " in common the processing becomes the enlarged image data and relatively uses second differential data of amplification data.In addition, " the restored data I in common the processing
0+n", become through utilizing variation function (some transform) G2 that calculates by variation essential factor information that second differential data is allocated in the amplification restored data that the enlarged image data generate.In addition, " the destination image data h " in common the processing is the amplification restored data (base image data I mg or similar image data) that obtains at last.
The 3rd to repeat to handle be the common processing itself that the specified image data are carried out.That is, in the 3rd repeats to handle, " the view data I arbitrarily in common the processing
0" also can use original digital image data Img ', in addition, also can use the data of such image such as complete black, complete white, full ash, chequered with black and white tartan.In addition, " relatively use data I in common the processing
0" in the 3rd repeats to handle, become utilization and make this view data I arbitrarily by changing variation function (some transform) G3 that essential factor information calculates
0Relatively use data after (view data arbitrarily) deterioration.In addition, " the becoming the view data J of process object " in common the processing becomes original digital image data Img ' in the 3rd repeats to handle.In addition, " the data δ of difference " in common the processing becomes original digital image data Img ' and the 3rd differential data of relatively using data in the 3rd repeats to handle.In addition, " the restored data I in common the processing
0+n" in the 3rd repeats to handle, become through utilizing by changing variation function (some transform) G3 that essential factor information calculates the 3rd differential data is allocated in the restored data that view data arbitrarily generates.In addition, " the destination image data h " in common the processing becomes base image data I mg in the 3rd repeats to handle.
(whole handling process)
That Figure 15 representes is that the handling part 4 of the signal processing apparatus 1 that this example relates to mainly carries out, the flow chart of whole processing.At first, obtain among variation function (some transform) G that calculates by the variation essential factor information that obtains through test section 6, only with rock relevant information Ga, and judge degree that whether Ga below setting, promptly rock whether big (step S201).If below the setting, under the little situation of the degree of rocking, carry out the 3rd and repeat to handle (step S202), obtain the base image data at Ga, handle thereby finish image restoration as the restored image data that finally obtain.At this; Under the little situation of the degree of rocking, adopt the 3rd reason that repeat to handle to be because; Dwindle the words of processing and processing and amplifying to rocking little view data; How the original digital image data Img ' of vibrating state will dwindle or will amplify owing to will be in not, and the danger that causes deterioration of image generation on the contrary or processing time and increase becomes greatly.In addition; So only surpass under the situation of setting in the variation (being Ga) that obtains by variation essential factor information at this; Dwindle processing, first reprocessing, processing and amplifying and second reprocessing; Under the situation below the setting, carry out the 3rd processing method that repeat to handle, be not necessarily necessaryly, can not have the handling process of step S201 and S202 according to the formation such as image of the specification of signal processing apparatus 1 or processing.In addition, in step S201, also can replace with rocking relevant information Ga the information that comprises the information beyond rocking of using.
Be judged as under the situation that Ga surpasses (step S201) under the situation of setting, the degree of promptly rocking is big, the capacity of the original digital image data Img ' that at first carries out shooting is obtained dwindles dwindles processing (with reference to Fig. 3 (C)) (step S203).Then, carry out first reprocessing (step S204) to dwindling original digital image data.Then, carry out the last capacity that dwindles restored data that first reprocessing and obtain is enlarged into the processing and amplifying (with reference to Fig. 4) (step S205) identical with the capacity of original digital image data Img '.Enlarged image data after this processing and amplifying are carried out second reprocessing (step S206); And the restored image data that will finally obtain obtain as the base image data, thereby the image restoration processing that the handling part 4 of the signal processing apparatus 1 that this example relates to carries out finishes.
Under limited situation of processing time, the number of times of this second reprocessing is good with the number of times that is less than first reprocessing.Through carrying out like this, can carry out first reprocessing repeatedly, the recovering quality that dwindles restored data becomes well.In addition, meanwhile, also can be through using dwindling the auxiliary ground of restored data (confirming ground) and carrying out second reprocessing of this good quality, and the recovering quality that becomes jumbo enlarged image data through processing and amplifying is also become well.
In addition, each reprocessing of first, second and third, the precision of the image restoration along with the number of times that increases repetition (not being pro rata) improves usually.On the other hand, the whole needed processing time of image restoration, elongated pro rata with the number of times that repeats.In addition, if identical number of repetition, a needed time of reprocessing is elongated along with the capacity change of view data is many.
At this, the view data of hypothesis original digital image data Img ' is five mega pixels, dwindles the experimental example of original digital image data for equal about 300,000 pixels (minification is about 6%) of VGA (Video Graphics Array, video and graphic array of display) time and describe.In this experiment, in the processing time of carrying out 50 times first reprocessings, and original digital image data Img ' is carried out three times of repeating to handle of three order and equate.Then, carry out twice second reprocessings, its processing time equated with the times of original digital image data Img ' being carried out the triple multiple processing of two order.Will to original digital image data Img ' carried out the restored image of five order three when repeating to handle, with carried out 50 times first reprocessings after amplification restored image when carrying out twice second reprocessings again compare the obvious precision of the image restoration of the latter's amplification restored image and quality height.In addition, be equal with having carried out the restored image of 50 order three when repeating to handle.
In addition, as the additive method of the speed of accelerating reprocessing, the method that can consider to make the feedback oscillator (feedback gain) (" k " shown in Figure 5: based on the distribution ratio of the data that change essential factor information) in the reprocessing to increase.But,, then have " k δ " shown in Figure 5 thereby too become and in reprocessing, disperse the situation that can't restrain (value of δ is fully reduced) greatly if the value of feedback oscillator " k " is too increased.Therefore, make the value of feedback oscillator become big and carry out the 3rd and repeat to handle, it is all suitable generally to think.In addition, there is situation through the noise that increases white noise that number of repetition causes stressing that original digital image data Img ' is had etc.But, in this example, dwindle and amplify respectively handle the time, the noise that is comprised in the pixel data also averages out (dispersion), thus its influence is alleviated.In addition; Owing to the approaching good recovering quality of the enlarged image data that obtain by first reprocessing; Therefore the data δ of the difference in second reprocessing fully diminishes, thereby even the value change of the feedback oscillator in second reprocessing " k " is big, it is big that k δ can too not become yet.Therefore, image restoration that the signal processing apparatus 1 in this example carries out is handled, and compares with carrying out the situation that first reprocessing or the 3rd repeats to handle, and the disadvantage that in second reprocessing, causes because of the value that increases feedback oscillator is little.Therefore, in the signal processing apparatus 1 that this example relates to, can seek than carry out rapidization that the image restoration further of the 3rd situation that repeat to handle is handled.
Signal processing apparatus 1 in this example, owing to being repeats to generate restored image to improve constantly its quality, therefore device can not maximize.In addition; Signal processing apparatus 1 in this example; Owing to be to utilize the data that change essential factor information to generate relatively with after the data by the view data of stipulating; To become the view data of process object and relatively generate restored data in the view data of regulation through the data that utilize to change essential factor information with the data allocations of the difference of data, the view data that replacement is stipulated and use this restored data and repeat same processing, thus little by little obtain base image data or similar image data; Therefore,, image restoration becomes processing of circuit mode when handling with actuality.
More than, the signal processing apparatus in the example of the present invention 1 is illustrated, still, the present invention is only otherwise breaking away from its main idea just can implement various changes.For example, the restored image data that finally obtain, also can be become with the base image data dwindle or amplify after the similar image data of similarity signal data, rather than base image data.In order to obtain the similar image data, when processing and amplifying, generate the enlarged image data different (original image similar image data) with the capacity of base image.Then, original digital image data Img ' is dwindled processing or processing and amplifying, so that original digital image data Img ' is identical with original image similar image data capacity, and the adjusted original digital image data of the capacity that obtains.Then, replace view data J and the adjusted original digital image data of use capacity of the process object of the step S103 become Fig. 5, and carry out second reprocessing.
Other the method that is used to obtain the similar image data is, for example only dwindles and handles and first reprocessing, and will last dwindle the method that restored data obtains as the similar image data through what carry out that first reprocessing obtains.If this method of employing owing to can omit second reprocessing, therefore can make whole image restoration handle rapidization.When this method of employing, will handle the capacity that dwindles original digital image data that obtains through dwindling, it is identical to be adjusted into the carrying out that finally obtains the capacity that restores image data processed.In addition, the similar image data that obtain by this method, also can carry out with first reprocessing obtain at last dwindle that restored data is amplified and the processing that obtains the amplification data identical with the similar image data capacity.The method of the amplification under this situation also can be processing and amplifying (with reference to Fig. 4) method in addition that this example relates to.
Along with the exploring degree of original digital image data Img ' uprises, picture quality improves, carry out that image restoration is handled and the recovering quality of the view data that finally obtains becomes well.Therefore; The advantage that obtains the similar image data is; For example; Obtaining high-quality original digital image data Img ' through high-resolution afterwards, dwindling and handle and various reprocessing (image restoration processing) etc., can obtain finally rocking less and comparing that original digital image data Img ' capacity is little, applicability preferable image data etc.In addition, the exploring degree of the similar image data that finally obtain through signal processing apparatus 1 can be set regularly, also can be multiple setting.And, in digital camera, select or the mechanism of the exploring degree of the image that the adjustment operator finally wishes to get is good to be provided with as the signal processing apparatus that can access the similar image data 1.
The image restoration that signal processing apparatus 1 in this example carries out is handled; Shown in figure 15, carry out, finish with the order of dwindling processing (step S203), first reprocessing (step S204), processing and amplifying (step S205), second reprocessing (step S206).But, also can be for example afterwards in second reprocessing (step S206), dwindle once more handle and first reprocessing after finish.And then, also can the processing integral body with the image restoration in sequence of dwindling processing (step S203), first reprocessing (step S204), processing and amplifying (step S205), second reprocessing (step S206) shown in Figure 15 be repeated repeatedly.In addition, also can front and back that image restoration is handled, or various processing (step S203~step S206) between any period, carry out that so-called γ corrects etc., handle irrelevant processing with image restoration.
Signal processing apparatus in this example is 1 that carry out, handle with dwindling of Fig. 3 (C) expression and be, as the capacity of x, original digital image data during as y, the value (minification) that makes x/y is about 0.444 processing at the capacity that will dwindle original digital image data.The minification of dwindling processing that signal processing apparatus 1 carries out is being for good more than 0.05.Its reason is, for fear of the excessive forfeiture of the pixel data of original digital image data Img '.In addition, this minification to be being good below 0.9, with below 0.5 for better.Its reason is, in order promptly to carry out first reprocessing.
In first and second reprocessings that signal processing apparatus 1 in this example carries out; As shown in Figure 5; Dwindle original digital image data with relatively with the situation of absolute value of absolute value and the enlarged image data of the first differential data δ that dwindles data and the second differential data δ that relatively uses amplification data less than setting under (step S104), finish first reprocessing and second reprocessing.But; The condition of the end of first reprocessing; Can be with dwindling original digital image data and relatively contrast with dwindling data, become the situation below the setting according to this results of comparison or first differential data, perhaps the number of repetition of first reprocessing be the situation of setting.In addition; The condition of the end of second reprocessing; Can be with original digital image data or relatively use amplification data relatively to contrast with amplification data as the original image similar image data of same capability and above-mentioned; Become the situation below the setting according to these results of comparison or above-mentioned second differential data, the number of repetition of perhaps above-mentioned second reprocessing is the situation of setting.In addition, the judgment standard of step S201 also can be "<", rather than "≤".
At this, above-mentioned " contrast " comprises that the corresponding relation of regulation with a plurality of data of contrast compares.For example, even seem that the view data that compare is not approximate, if the specific part of two data satisfies certain relation, the processing that handling part 4 also can make reprocessing shown in Figure 5 finish.In addition, also having the first and second differential data δ also can be the situation of the simple difference of respective pixel, still, and in general according to difference by changing variation function (some transform) G that essential factor information calculates.For example, the first and second differential data δ represent with following formula (2).
δ=f(J、I
0、G)……(2)
In this example, will restore object as view data.But these restore viewpoint and the gimmick of handling, and can be applicable to that the recovery of all data is handled.For example, can be applicable to the recovery etc. of the voice data of numeral.Under the situation of sound signal data, can likewise handle with the pixel data in the view data making data after sound quantizes at regular intervals as the signal factor data.
In addition, above-mentioned each signal restoring method also can be by sequencing.In addition, also can be with being deposited in medium, for example CD, DVD, USB storage by the signal restoring method of sequencing, and can read through computer.Under this situation, signal processing apparatus 1 also can be downloaded the external server that is deposited in signal processing apparatus 1 by the signal restoring method of sequencing in this medium and used as required.Under this situation, signal processing apparatus 1 has the communicator that the program in this medium is downloaded.