CN104184958B - A kind of automatic exposure control method and its device based on FPGA suitable for space exploration imaging - Google Patents

A kind of automatic exposure control method and its device based on FPGA suitable for space exploration imaging Download PDF

Info

Publication number
CN104184958B
CN104184958B CN201410476774.1A CN201410476774A CN104184958B CN 104184958 B CN104184958 B CN 104184958B CN 201410476774 A CN201410476774 A CN 201410476774A CN 104184958 B CN104184958 B CN 104184958B
Authority
CN
China
Prior art keywords
exposure
brightness
time
image
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410476774.1A
Other languages
Chinese (zh)
Other versions
CN104184958A (en
Inventor
余国彬
刘恩海
周武林
周向东
钟杰
赵汝进
王进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Optics and Electronics of CAS
Original Assignee
Institute of Optics and Electronics of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Institute of Optics and Electronics of CAS filed Critical Institute of Optics and Electronics of CAS
Priority to CN201410476774.1A priority Critical patent/CN104184958B/en
Publication of CN104184958A publication Critical patent/CN104184958A/en
Application granted granted Critical
Publication of CN104184958B publication Critical patent/CN104184958B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The present invention relates to a kind of automatic exposure control method and its device based on FPGA suitable for space exploration imaging, the method obtains current frame image mean flow rate by present frame subject image mean flow rate, time for exposure is chosen come self adaptation with the positive and negative and size of the difference of expected mean picture brightness according to current frame image mean flow rate, current frame image mean flow rate is reached expected mean picture brightness using the continuous loop iteration of successive frame.A kind of automatic exposure control device to implement above-mentioned automatic exposure control method includes optical lens, APS sensors, spectrum assignment FPGA.The present invention solves that target image in existing space detection imaging technology is over-exposed, technical problem that is weighing between target image segmentation and automatic exposure speed and stability, improve the contrast of image, can realize being carried out under various space exploration photoenvironments more rapidly, more stable, more accurately auto-exposure control, increased adaptive ability when space exploration environment is imaged.

Description

A kind of automatic exposure control method based on FPGA suitable for space exploration imaging and Its device
Technical field
The present invention relates to the auto-exposure control field in survey of deep space technology, particularly it is a kind of be applied to space exploration into The automatic exposure control method and its device based on FPGA of picture.
Background technology
Influence of the auto-exposure control of imaging device to output image quality is very big.The target of auto-exposure control is The image dark portion details of shooting main body is set not lose, highlights not overexposure, while mean flow rate is adapted to human eye viewing.
When being applied to the imaging device operation on orbit of space exploration, time for exposure whether suitable extremely important, the time for exposure It is too short that scenery can be caused very dark, and it is long can cause scene brightness saturation, therefore it is required to carry out auto-exposure control, but Auto-exposure control is extremely complex, and spectrum assignment is bad may to be absorbed in time for exposure disorder, dark situation when bright when occurring.Cause Whether this auto-exposure control suitable, to imaging device it is critical that, be related to the success or failure of task.
Current civil camera comparative maturity in Control Technique for Automatic Exposure, can set according to night scene, daytime, portrait etc. Required different exposure control modes, effect is fine, it is also possible to use aperture priority formula, shutter according to different shooting main bodys Prerequisite formula and program mode auto-exposure control obtain Correct exposure.If the Control Technique for Automatic Exposure of civil camera is applied to The space industries such as space exploration, there is limitation.
First from for automatic exposure control method, the imaging device of space exploration is 1. applied to, is carried out to shooting main body During imaging, illumination condition, position, the shared image area size of main body are shot because of situations such as that cannot predict, it is impossible to according to existing Field scene setting automatic exposure control mode.If the imaging device for being 2. applied to space exploration is integrally bright using existing image Degree controls exposure, if the luminance difference shot between main body and background is too big, can cause to shoot main body occur it is under-exposed or The over-exposed phenomenon of person.If being 3. applied to the imaging device of space exploration using the reference brightness value controlling party of civil camera Method, by image block, the brightness of each piece of subgraph is used to set up with reference to brightness value, and the reference brightness value can be by adjustment Aperture size is obtained, and equally can also obtain the reference brightness value by setting shutter speed certainly, then be applied to space exploration Imaging device is unattended, it is impossible to set aperture or shutter.4. civil camera have by studying under different illumination conditions Relation between brightness and exposure value is exposed control, the imaging device of application space detection cannot carry out in advance brightness with Demarcation between exposure value, so such exposal control method can not be used.5. civilian automatic exposure control method is base Auto-exposure control is carried out in entire image, when main body is shot with respect to background very little, shooting main body can be caused over-exposed. When shooting main body is very bright, background is dark, should now reduce the time for exposure;But due to calculating entire image, The brightness number of pixels high number of pixels low much smaller than brightness, therefore entire image is dark, in order to improve the bright of entire image Degree, continues to increase the time for exposure, ultimately results in shooting main body over-exposed.Therefore need to divide in existing automatic exposure algorithm Shooting subject image is cut out, effective auto-exposure control is carried out to shooting subject image.6. it is existing to shooting subject image Automatic exposure algorithm, in order to be partitioned into shooting subject image, split through frequently with constant brightness threshold value, but due to application Influenceed in the temperature of space exploration imaging device, constant brightness Threshold segmentation does not adapt to various situations, it is therefore desirable to will be adaptive The method of Threshold segmentation is answered to be introduced into automatic exposure control method.
Secondly from for the selection of automatic exposure step-length, the step-length of automatic exposure search can influence search speed and search stabilization Trade-off relationship between property.Time for exposure adjusting step is too small to increase searching times, cause to reduce search speed;And if exposed Light time adjusting step is long to be likely to result in search cannot restrain, and be vacillated now to the left, now to the right unstable phenomenon in optimum exposure point.It is existing Automatic explosion method majority step-size in search can not dynamically be adjusted according to the brightness case of different scenes.
Finally from for the device for realizing automatic exposure control method, the particular microprocessor part that civil camera is typically used To realize automatic exposure control method, and such particular microprocessor part can not typically apply space product, it is impossible in deep space Ensure the reliability of space borne imagery device under environment.Thus automatic exposure will be realized using the device for being adapted to space exploration environment Light control method, and automatic exposure control method is optimized.
At present, the method for space optical remote camera adjustments exposure is simultaneously few, and large-scale remote sensing of the earth camera is because its ground The certainty of target, it is possible to use when spoke Luminance Analysis software, camera opticses and sensor chip characteristic draw accurate exposure Between, need to only be switched over according to several grades of time for exposure of the different set of ground scenery.
The domestic space exploration imaging device automatic exposure control method that is applied at present is because imaging device cannot be to shooting Main body is identified, when scenery is relative complex in visual field, it is impossible to carry out effective spectrum assignment, dry by noise and non-shooting main body Disturb big so that main body brightness is shot in image and is difficult in a suitable scope, increase the difficulty of auto-exposure control.
The content of the invention
In view of this, it is a primary object of the present invention to provide it is a kind of suitable for space exploration imaging based on FPGA from Dynamic exposal control method and its device.
In order to achieve the above object, the technical proposal of the invention is realized in this way:
The invention provides a kind of automatic exposure control method based on FPGA suitable for space exploration imaging, to current Two field picture uses adaptive threshold fuzziness, identifies present frame subject image, is worked as by present frame subject image mean flow rate Prior image frame mean flow rate, selects with the size of the difference of expected mean picture brightness according to current frame image mean flow rate come self adaptation The time for exposure is taken, current frame image mean flow rate is reached expected mean picture brightness using the continuous loop iteration of successive frame, its In, auto-exposure control step is:
Step (11):The mean picture brightness of present frame is calculated, with the half of the average of all pixels of current frame image Used as adaptive threshold, the pixel that will be greater than being equal to threshold value is divided into present frame subject image, then present frame subject image is bright Degree carries out the cumulative mean picture brightness for being averaging and obtaining present frame, comprises the following steps:
Step (111):The color composograph brightness of RGB tri-, will using rgb color space to YUV colour space transformations relation Pixel is adjacent four components R of entire image of M × N, G1, G2, B weighted average obtain an image brightness data, by M × N number of value of color is converted to M/2 × N/2 brightness value.
Step (112):Brightness of image sampling is extracted, and the M/2 × N/2 brightness value that the colors of RGB tri- synthesize is pressed in column direction According to the sampling principle of 1/m, M/2 × N/2 brightness value is converted into M/2m × N/2 brightness value.
Step (113):Image line mean flow rate is calculated, M/2m × N/2 every a line all pixels of brightness value of calculating Average value, and threshold value will be more than or equal to as the adaptive threshold of current line using the half of the average value of previous row in current line Pixel be divided into current line subject image, then the brightness of current line subject image is carried out into the cumulative figure for being averaging and obtaining current line As mean flow rate, M/2m × N/2 brightness value is converted into N/2 row average brightness.
Step (114):Image block mean flow rate is calculated, M/2m × N/2 brightness value is synthesized 1 piece with adjacent n rows, M/2m × N/2 brightness values are divided into N/2n blocks, the average value of adjacent n rows is added up to be averaging obtains each piece average bright Degree, obtains N/2n Block Brightness average value.
Step (115):Mean picture brightness is calculated, N/2n average brightness is added up to be averaging obtains entire image Luminance mean value, using the half of average as adaptive threshold, the pixel that will be greater than being equal to threshold value is divided into present frame subject image, The brightness of present frame subject image is carried out into the cumulative mean picture brightness Y (mean) for being averaging and obtaining present frame again.
Step (12):The mean picture brightness of present frame compares with expected mean picture brightness, if the image of present frame Mean flow rate is less than or equal to setting mean picture brightness difference Y (th) with the absolute value of the difference of expected mean picture brightness, just Think that auto-exposure control has controlled to stop the adjustment of time for exposure in place, using the time for exposure of present frame as next frame Time for exposure, if the mean picture brightness of present frame is schemed with the absolute value of the difference of expected mean picture brightness more than setting As mean flow rate difference Y (th), then enter time for exposure adjustment.
Step (13):Determine the next frame time for exposure, the determination of next frame automatic exposure time is the exposure in present frame On the basis of time, the mean picture brightness according to present frame is entered with the positive and negative and size of the difference of expected mean picture brightness The row time for exposure selects, and comprises the following steps:
Step (131):If the mean picture brightness of present frame is just next frame with the difference of expected mean picture brightness Image exposuring time is accomplished by reducing the time for exposure on the basis of the previous frame image time for exposure;
Step (132):If the mean picture brightness of present frame is negative, next frame with the difference of expected mean picture brightness Image exposuring time is accomplished by increasing the time for exposure on the basis of the previous frame image time for exposure;
Step (133):It is true that the mean picture brightness of present frame carrys out self adaptation with the size of the difference of expected mean picture brightness Fixed to increase, reduce exposure time values, the exposure time values for increase, reducing are worked as step-length numerical value R × luminance difference × time for exposure Value t;
Step (134):Next frame image exposuring time is reduced, if the time for exposure of former frame and exposure time range Lower limit difference more than the exposure time values for determining to reduce, then the time for exposure of next frame subtract determination for time for exposure of former frame Reduction exposure time values;Otherwise directly using the lower limit of exposure time range as next frame time for exposure;
Step (135):Next frame image exposuring time increases, if the time for exposure of former frame and exposure time range More than the increased exposure time values for determining, then the time for exposure of next frame is the time for exposure of former frame plus true to upper limit difference Fixed increased exposure time values;Otherwise directly using the higher limit of exposure time range as next frame time for exposure;
In such scheme, the rgb color space to YUV colour space transformations relation is (8R+R+4B+16G1+2G2+ G2)/32, wherein:
G1 is the G components of strange passage;
G2 is the G components of even passage;
In such scheme, described automatic exposure control method runs in spectrum assignment FPGA, wherein, spectrum assignment FPGA is the A54SX72A-CQ208B of anti-molten formula FPGA, its model Actel companies of space flight level.
In such scheme, the time for exposure gear of described automatic exposure control method is divided into two grades, a grades of time for exposure Scope is 4 μ s~140ms, and b grades of exposure time range is 16 μ s~560ms.
A kind of automatic exposure control device based on FPGA suitable for space exploration imaging, the automatic exposure control device Including optical lens, APS sensors, spectrum assignment FPGA;Wherein, optical lens, APS sensors, spectrum assignment FPGA be successively Place,
Optical lens, for by target imaging to be imaged in APS sensors;
APS sensors, for converting optical signals into electronic signal;
Spectrum assignment FPGA, calculates, and gained brightness of image is compared with expected brightness of image for brightness of image Compared with determining the automatic exposure time.
Advantage for present invention:
1st, the present invention can be realized under various illumination conditions, temperature conditions, the adaptivenon-uniform sampling to shooting subject image, Shooting subject image to being partitioned into carries out effective spectrum assignment.
2nd, adaptive threshold is introduced into automatic exposure control method by the present invention, it is possible to achieve oneself under various temperature regimes Dynamic spectrum assignment.
3rd, in the present invention automatic exposure time adjustment by shooting image mean flow rate and expected mean picture brightness difference Value size determines that brightness of image difference is smaller, and the time for exposure of adjustment is smaller, and brightness of image difference is bigger, during the exposure of adjustment Between it is bigger.Such auto-exposure control mechanism ensure that the time for exposure adjustment with depth of exposure change, reach search speed and Balance between search stability.
4th, the present invention can fast and accurately adjust exposure value, and regulation exposure value is more stable, it is possible to prevente effectively from due to The explosure flash phenomenon for causing is not restrained.
5th, the present invention uses automatic exposure control method, not true to the bright target of dark background in space exploration, target sizes The various situations such as fixed obtain good exposure effect, and convergence is fine.
6th, the present invention realizes automatic exposure control method using the anti-molten formula FPGA of space flight level, adapts to space exploration imaging Space environment, improves the reliability of automatic exposure device.
Brief description of the drawings
Fig. 1 is automatic exposure control method block diagram of the invention;
Fig. 2 is that brightness of image of the invention calculates block diagram;
Fig. 3 is time for exposure selection block diagram of the invention;
Fig. 4 is automatic exposure control device schematic diagram of the invention;
Marked in its figure:21- optical lens, 22-APS sensors, 23- spectrum assignments FPGA;
Fig. 5 is auto-exposure control flow chart of the invention;
Marked in its figure:Y (mean)-current frame image mean flow rate, Y (ref)-expection mean picture brightness, Y (th)-setting mean picture brightness difference.
Specific embodiment
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further described in more detail, but this should not be limited with this The protection domain of invention.
The invention provides it is a kind of suitable for space exploration imaging the automatic exposure control method based on FPGA, it is described from Dynamic exposal control method uses adaptive threshold fuzziness to current frame image, present frame subject image is identified, by present frame master Body mean picture brightness obtains current frame image mean flow rate, according to current frame image mean flow rate and expected mean picture brightness Size of the difference come self adaptation choose the time for exposure, reach current frame image mean flow rate using the continuous loop iteration of successive frame Expected mean picture brightness, as shown in figure 1, wherein, automatic exposure control method step is:
Step (11):The mean picture brightness of present frame is calculated, with the half of the average of all pixels of current frame image Used as adaptive threshold, the pixel that will be greater than being equal to threshold value is divided into present frame subject image, then present frame subject image is bright Degree carries out the cumulative mean picture brightness for being averaging and obtaining present frame, as shown in Fig. 2 comprising the following steps:
Step (111):The color composograph brightness of RGB tri-, will using rgb color space to YUV colour space transformations relation Pixel is adjacent four components R of entire image of M × N, G1, G2, B weighted average obtain an image brightness data, by M × N number of value of color is converted to M/2 × N/2 brightness value, for example, 2352 × 1728 value of colors are converted into 1176 × 864 brightness Value.
Step (112):Brightness of image sampling is extracted, and the M/2 × N/2 brightness value that the colors of RGB tri- synthesize is pressed in column direction According to the sampling principle of 1/m, M/2 × N/2 brightness value is converted into M/2m × N/2 brightness value, such as in column direction according to 1/8 Sampling principle, 1176 × 864 brightness values are converted into 147 × 864 brightness values.
Step (113):Image line mean flow rate is calculated, M/2m × N/2 every a line all pixels of brightness value of calculating Average value, and threshold value will be more than or equal to as the adaptive threshold of current line using the half of the average value of previous row in current line Pixel be divided into current line subject image, then the brightness of current line subject image is carried out into the cumulative figure for being averaging and obtaining current line As mean flow rate, M/2m × N/2 brightness value is converted into N/2 row average brightness.
Step (114):Image block mean flow rate is calculated, M/2m × N/2 brightness value is synthesized 1 piece with adjacent n rows, M/2m × N/2 brightness values are divided into N/2n blocks, the average value of adjacent n rows is added up to be averaging obtains each piece average bright Degree, obtains N/2n Block Brightness average value, and such as 147 × 864 brightness values synthesize 1 piece with 27 adjacent rows, by 147 × 864 brightness values are divided into 32 pieces.
Step (115):Mean picture brightness is calculated, N/2n average brightness is added up to be averaging obtains entire image Luminance mean value, using the half of average as adaptive threshold, the pixel that will be greater than being equal to threshold value is divided into present frame subject image, The brightness of present frame subject image is carried out into the cumulative mean picture brightness for being averaging and obtaining present frame again.
Step (12):The mean picture brightness of present frame compares with expected mean picture brightness, if the image of present frame Mean flow rate is less than or equal to setting mean picture brightness difference Y (th) with the absolute value of the difference of expected mean picture brightness, just Think that auto-exposure control has controlled to stop the adjustment of time for exposure in place, using the time for exposure of present frame as next frame Time for exposure, if the brightness of image of present frame is bright more than setting image averaging with the absolute value of the difference of expected brightness of image Degree difference Y (th), then enter time for exposure adjustment, such as Y (th)=8.
Step (13):Determine the next frame time for exposure, the determination of next frame automatic exposure time is the exposure in present frame On the basis of time, the mean picture brightness according to present frame is entered with the positive and negative and size of the difference of expected mean picture brightness The row time for exposure selects, as shown in figure 3, comprising the following steps:
Step (131):If the difference of the mean picture brightness of present frame and expected mean picture brightness is just, next The two field picture time for exposure is accomplished by reducing the time for exposure on the basis of the previous frame image time for exposure;
Step (132):If the mean picture brightness of present frame is negative with the difference of expected mean picture brightness, next The two field picture time for exposure is accomplished by increasing the time for exposure on the basis of the previous frame image time for exposure;
Step (133):The mean picture brightness of present frame carries out self adaptation with the size of the difference of expected mean picture brightness The selection of the time for exposure for increase, reducing, the exposure time values for increase, reducing are time for exposure step-length numerical value R × luminance difference × time for exposure equivalent value t, such as time for exposure step-length numerical value and time for exposure equivalent value are as shown in table 1.
Table 1 is automatic exposure control parameter table of the invention
Step (134):Next frame image exposuring time is reduced, if the time for exposure of former frame and exposure time range Lower limit difference more than the reduction for determining exposure time values, then the time for exposure of next frame subtract really for time for exposure of former frame The exposure time values of fixed reduction;Otherwise directly using the lower limit of exposure time range as next frame time for exposure, for example Exposure time range is as shown in table 1.
Step (135):Next frame image exposuring time increases, if the time for exposure of former frame and exposure time range More than the increased exposure time values for determining, then the time for exposure of next frame is the time for exposure of former frame plus true to upper limit difference Fixed increased exposure time values;Otherwise directly using the range higher limit of time for exposure as next frame time for exposure, for example Exposure time range is as shown in table 1.
The rgb color space to YUV colour space transformations relation be (8R+R+4B+16G1+2G2+G2)/32, wherein:
G1 is the G components of strange passage;
G2 is the G components of even passage;
Described automatic exposure control method runs in spectrum assignment FPGA, wherein, spectrum assignment FPGA is space flight level The A54SX72A-CQ208B of anti-molten formula FPGA, its model Actel companies.
The time for exposure gear of described automatic exposure control method is divided into two grades, a grades of exposure time range for 4 μ s~ 140ms, b grade of exposure time range is 16 μ s~560ms.
As shown in figure 4, the automatic exposure control device that a kind of Threshold segmentation and time for exposure based on FPGA are chosen, should be certainly Dynamic exposure-control device includes optical lens, APS sensors, spectrum assignment FPGA;Wherein, optical lens, APS sensors, exposure Photocontrol FPGA is sequentially placed;
Optical lens, for such as in APS sensors, the optical parametric of optical lens is ripple by target imaging to be imaged Segment limit is 420~700nm, and visual field is 22.9 ° × 16.9 °, and focal length is 43mm, and F numbers are 8, and normal imaging distance is 5m~∞, Transmission function MTF is more than 0.45;
APS sensors, for converting optical signals into electronic signal, the model IA-G3 of such as APS sensors, as First quantity is 2352 × 1728, and pixel dimension is 7.4 μm of 7.4 μ m;
Spectrum assignment FPGA, calculates, and gained brightness of image is compared with expected brightness of image for brightness of image Compared with determining automatic exposure time, such as A54SX72A-CQ208B of FPGA models Actel companies.
The auto-exposure control stream of the automatic exposure control device that the Threshold segmentation for being based on FPGA and time for exposure are chosen Journey is as shown in figure 5, auto-exposure control flow makes gained brightness of image reach expected figure using the continuous loop iteration of successive frame The process of image brightness.The first step, carries out current frame window mean flow rate and calculates;Second step, carries out brightness of image error judgment, such as Fruit present image average brightness value Y (mean) is less than setting image with the absolute value of the difference of expected image brightness values Y (ref) Mean flow rate difference Y (th), then it is assumed that the time for exposure is adjusted in place, stops the adjustment time for exposure, should by the time for exposure of this frame Use next frame image exposure;3rd step, in brightness of image error judgment, if present image average brightness value Y (mean) Enter more than mean picture brightness difference Y (th) is set, then with the absolute value of the difference of expected image brightness values Y (ref) and expose Light time plus-minus step-length judges;4th step, automatic exposure time step is selected according to mean picture brightness size of the difference, such as The mean picture brightness Y (mean) of fruit present frame is negative, then next two field picture with the difference of expected mean picture brightness Y (ref) Time for exposure is accomplished by increasing the time for exposure on the basis of the previous frame image time for exposure, and increased exposure time values are exposure Time step numerical value R × luminance difference × time for exposure equivalent value t.If the time for exposure of former frame and exposure time range More than the increased exposure time values for determining, then the time for exposure of next frame is the time for exposure of former frame plus true to upper limit difference Fixed increased exposure time values;Otherwise directly using the range higher limit of time for exposure as next frame time for exposure;5th Step, if the mean picture brightness Y (mean) of present frame is just next frame with the difference of expected mean picture brightness Y (ref) Image exposuring time is accomplished by reducing the time for exposure on the basis of the previous frame image time for exposure, and the exposure time values of reduction are Time for exposure step-length numerical value R × luminance difference × time for exposure equivalent value t.If the time for exposure of former frame and time for exposure model The lower limit difference enclosed more than the reduction for determining exposure time values, then the time for exposure of next frame subtract for time for exposure of former frame Go the exposure time values of the reduction of determination;Otherwise directly using the lower limit of exposure time range as next frame time for exposure.

Claims (2)

1. it is a kind of suitable for space exploration imaging the automatic exposure control method based on FPGA, it is characterised in that:To present frame Image uses adaptive threshold fuzziness, identifies present frame subject image, is obtained currently by present frame subject image mean flow rate Two field picture mean flow rate, comes from according to current frame image mean flow rate with the positive and negative and size of the difference of expected mean picture brightness Adapt to choose the time for exposure for determining next frame, reach current frame image mean flow rate using the continuous loop iteration of successive frame pre- Phase mean picture brightness, wherein, auto-exposure control step is:
Step (11):Calculate present frame mean picture brightness, using the half of the average of all pixels of current frame image as Adaptive threshold, the pixel that will be greater than being equal to threshold value is divided into present frame subject image, then present frame subject image brightness is entered Cumulative being averaging of row obtains current frame image mean flow rate, comprises the following steps:
Step (111):The color composograph brightness of RGB tri-, using rgb color space to YUV colour space transformations relation by pixel For adjacent four components R of the entire image of M × N, G1, G2, B weighted average obtain an image brightness data, by M × N Individual value of color is converted to M/2 × N/2 brightness value;
Step (112):Brightness of image sampling extract, by the color of R, G, B tri- synthesize M/2 × N/2 brightness value column direction according to The sampling principle of 1/m, M/2m × N/2 brightness value is converted to by M/2 × N/2 brightness value;
Step (113):Image line mean flow rate is calculated, the average of M/2m × N/2 every a line all pixels of brightness value is calculated Value, and using the half of the average value of previous row as the adaptive threshold of current line, by the picture in current line more than or equal to threshold value Element is divided into current line subject image, then the brightness of current line subject image is carried out into cumulative being averaging obtains the image of current line and put down Equal brightness, N/2 row average brightness is converted to by M/2m × N/2 brightness value;
Step (114):Image block mean flow rate is calculated, M/2m × N/2 brightness value 1 piece is synthesized with adjacent n rows, by M/ 2m × N/2 brightness values are divided into N/2n blocks, and the average value of adjacent n rows is added up the mean flow rate for being averaging and obtaining each piece, is obtained To N/2n Block Brightness average value;
Step (115):Mean picture brightness is calculated, N/2n average brightness is added up and is averaging the brightness for obtaining entire image Average, using the half of average as adaptive threshold, the pixel that will be greater than being equal to threshold value is divided into present frame subject image, then will The brightness of present frame subject image carries out the cumulative mean picture brightness Y (mean) for being averaging and obtaining present frame;
Step (12):The mean picture brightness of present frame compares with expected mean picture brightness, if the image averaging of present frame Brightness is less than or equal to setting mean picture brightness difference Y (th) with the absolute value of the difference of expected mean picture brightness, is considered as Auto-exposure control has controlled to stop the adjustment of time for exposure in place, using the time for exposure of present frame as the exposure of next frame The light time, if the mean picture brightness of present frame is put down with the absolute value of the difference of expected mean picture brightness more than setting image Equal luminance difference Y (th), then enter time for exposure adjustment;
Step (13):Determine the next frame time for exposure, the determination of next frame automatic exposure time is the time for exposure in present frame On the basis of, the mean picture brightness according to present frame is exposed with the positive and negative and size of the difference of expected mean picture brightness Light selection of time, comprises the following steps:
Step (131):If the mean picture brightness of present frame is just next frame figure with the difference of expected mean picture brightness As the time for exposure is accomplished by reducing the time for exposure on the basis of the previous frame image time for exposure;
Step (132):If the mean picture brightness of present frame is negative, next frame figure with the difference of expected mean picture brightness As the time for exposure is accomplished by increasing the time for exposure on the basis of the previous frame image time for exposure;
Step (133):The mean picture brightness of present frame carrys out self adaptation and determines to increase with the size of the difference of expected mean picture brightness Plus, reduce exposure time values, increase, reduce exposure time values be time for exposure step-length numerical value R × luminance difference × exposure Time equivalent value t;
Step (134):Next frame image exposuring time is reduced, if the lower limit of the time for exposure of former frame and exposure time range Difference more than the reduction for determining exposure time values, then the time for exposure of next frame subtract determination for time for exposure of former frame The exposure time values of reduction;Otherwise directly using the lower limit of exposure time range as next frame time for exposure;
Step (135):Next frame image exposuring time increases, if the upper limit of the time for exposure of former frame and exposure time range More than the increased exposure time values for determining, then the time for exposure of next frame is the time for exposure of former frame plus determination to difference Increased exposure time values;Otherwise directly using the higher limit of exposure time range as next frame time for exposure;
The rgb color space to YUV colour space transformations relation be (8R+R+4B+16G1+2G2+G2)/32, wherein:
G1 is the G components of strange passage;
G2 is the G components of even passage;
Described automatic exposure control method runs in spectrum assignment FPGA, wherein, spectrum assignment FPGA is anti-molten space flight level The A54SX72A-CQ208B of formula FPGA, its model Actel company;
The time for exposure gear of described automatic exposure control method is divided into two grades, a grades of exposure time range for 4 μ s~ 140ms, b grade of exposure time range is 16 μ s~560ms;
The automatic exposure control method based on FPGA for being applied to space exploration imaging can be realized in various illumination conditions, temperature In the case of degree, the adaptivenon-uniform sampling to shooting subject image, the shooting subject image to being partitioned into carries out effective spectrum assignment;
Adaptive threshold is introduced automatic exposure by the automatic exposure control method based on FPGA for being applied to space exploration imaging In control method, it is possible to achieve the auto-exposure control under various temperature regimes;
The adjustment of the automatic exposure time suitable for the automatic exposure control method based on FPGA of space exploration imaging is by clapping Take the photograph mean picture brightness and determine that brightness of image difference is smaller, during the exposure of adjustment with the size of the difference of expected mean picture brightness Between it is smaller, brightness of image difference is bigger, and the time for exposure of adjustment is bigger, when such auto-exposure control mechanism ensure that exposure Between adjust with depth of exposure change, reach search speed and search stability between balance;
The automatic exposure control method based on FPGA for being applied to space exploration imaging can fast and accurately adjust exposure Value, regulation exposure value is more stable, it is possible to prevente effectively from due to not restraining the explosure flash phenomenon for causing;
The automatic exposure control method based on FPGA for being applied to space exploration imaging uses automatic exposure control method, to sky Between detect in the bright target of dark background, target sizes uncertain condition obtain good exposure effect, convergence is fine;
The automatic exposure control method based on FPGA for being applied to space exploration imaging instead melts formula FPGA come real using space flight level Existing automatic exposure control method, adapts to space exploration imaging space environment, improves the reliability of automatic exposure device.
2. a kind of automatic exposure control device to realize automatic exposure control method described in claim 1, it is characterised in that should Automatic exposure control device includes optical lens (21), APS sensors (22), spectrum assignment FPGA (23);Wherein, optical lens (21), APS sensors (22), spectrum assignment FPGA (23) are sequentially placed,
Optical lens (21), for by target imaging to be imaged in APS sensors (22);
APS sensors (22), for converting optical signals into electronic signal;
Spectrum assignment FPGA (23), calculates, and gained brightness of image is compared with expected brightness of image for brightness of image Compared with determining the automatic exposure time.
CN201410476774.1A 2014-09-17 2014-09-17 A kind of automatic exposure control method and its device based on FPGA suitable for space exploration imaging Active CN104184958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410476774.1A CN104184958B (en) 2014-09-17 2014-09-17 A kind of automatic exposure control method and its device based on FPGA suitable for space exploration imaging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410476774.1A CN104184958B (en) 2014-09-17 2014-09-17 A kind of automatic exposure control method and its device based on FPGA suitable for space exploration imaging

Publications (2)

Publication Number Publication Date
CN104184958A CN104184958A (en) 2014-12-03
CN104184958B true CN104184958B (en) 2017-07-11

Family

ID=51965666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410476774.1A Active CN104184958B (en) 2014-09-17 2014-09-17 A kind of automatic exposure control method and its device based on FPGA suitable for space exploration imaging

Country Status (1)

Country Link
CN (1) CN104184958B (en)

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323496B (en) * 2015-02-13 2019-01-11 维沃移动通信有限公司 Automatic explosion method, camera arrangement and mobile terminal
CN106034208A (en) * 2015-03-16 2016-10-19 深圳酷派技术有限公司 Method and device for automatic exposure
CN105430293B (en) * 2015-12-03 2018-05-22 哈尔滨工业大学 The in-orbit dynamic scene real-time matching method of Optical remote satellite
CN105635565A (en) * 2015-12-21 2016-06-01 华为技术有限公司 Shooting method and equipment
CN108606804A (en) * 2016-12-13 2018-10-02 上海西门子医疗器械有限公司 The automated calibration system and method and Medical Devices of auto-exposure control
CN106803898A (en) * 2017-03-21 2017-06-06 上海航天控制技术研究所 A kind of Visible Light Camera automatic explosion method for space monitoring
CN111526300A (en) * 2017-08-17 2020-08-11 吴彬 Video shooting method capable of obtaining clear image quality
CN107645606B (en) * 2017-09-29 2021-02-05 努比亚技术有限公司 Screen brightness adjusting method, mobile terminal and readable storage medium
CN110493530B (en) * 2018-05-14 2021-09-28 浙江宇视科技有限公司 Automatic exposure control method and device for monitoring camera
WO2020107289A1 (en) * 2018-11-28 2020-06-04 深圳市大疆创新科技有限公司 Photographing method and apparatus, and unmanned aerial vehicle
CN109660781B (en) * 2018-12-12 2021-02-02 北京时代奥视科技有限公司 Image auxiliary exposure processing method and device and electronic equipment
CN109901754B (en) * 2019-02-20 2021-04-13 Oppo广东移动通信有限公司 Data self-calibration method and related device
CN110086959A (en) * 2019-04-30 2019-08-02 吉林省智宸光电技术有限公司 A kind of multichannel aerial camera automatic explosion method and device
CN110189312B (en) * 2019-05-24 2021-06-29 北京康夫子健康技术有限公司 Method and device for evaluating brightness of fundus image, electronic device and storage medium
CN110248112B (en) * 2019-07-12 2021-01-29 成都微光集电科技有限公司 Exposure control method of image sensor
CN110557562A (en) * 2019-07-30 2019-12-10 杭州晶一智能科技有限公司 self-adaptive imaging method of mowing robot
CN110731078B (en) * 2019-09-10 2021-10-22 深圳市汇顶科技股份有限公司 Exposure time calculation method, device and storage medium
CN112584054A (en) * 2019-09-29 2021-03-30 深圳市光鉴科技有限公司 Brightness self-adaptive adjusting method, system, equipment and medium based on image coding
WO2021097744A1 (en) * 2019-11-21 2021-05-27 北京机电研究所有限公司 Dynamic measuring apparatus for three-dimensional size and measurement method therefor
CN111225160B (en) * 2020-01-17 2021-06-22 中国科学院西安光学精密机械研究所 Automatic exposure control method based on image multi-threshold control
CN214201988U (en) * 2020-08-03 2021-09-14 神盾股份有限公司 Display device with fingerprint sensing function
CN112312036A (en) * 2020-10-30 2021-02-02 天津天地伟业智能安全防范科技有限公司 Automatic exposure method in photographing field
CN113469297B (en) * 2021-09-03 2021-12-14 深圳市海邻科信息技术有限公司 Image tampering detection method, device, equipment and computer readable storage medium
CN114389674B (en) * 2021-11-30 2022-12-09 中国科学院西安光学精密机械研究所 Rapid automatic exposure method and system for space micro-nano large-field-of-view camera and storage medium
CN114095667B (en) * 2022-01-13 2022-04-26 浙江华睿科技股份有限公司 Automatic exposure method, device, electronic equipment and storage medium
CN114531533A (en) * 2022-02-22 2022-05-24 中国科学院长春光学精密机械与物理研究所 Sliding window type high-definition color camera
CN116055889A (en) * 2023-02-16 2023-05-02 瀚湄信息科技(上海)有限公司 Endoscope device and method for automatically adjusting exposure and realizing global rolling shutter
CN117793539B (en) * 2024-02-26 2024-05-10 浙江双元科技股份有限公司 Image acquisition method based on variable period and optical sensing device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783888A (en) * 2010-03-23 2010-07-21 中国科学院西安光学精密机械研究所 Automatic exposure method based on analogous column diagram
CN102096273A (en) * 2010-12-29 2011-06-15 北京空间机电研究所 Automatic exposure method of space camera based on target characteristics
CN102291538A (en) * 2011-08-17 2011-12-21 浙江博视电子科技股份有限公司 Automatic exposure method and control device of camera
CN102694981A (en) * 2012-05-11 2012-09-26 中国科学院西安光学精密机械研究所 Automatic exposure method based on adaptive threshold segmentation and histogram equalization
CN103983251A (en) * 2014-05-29 2014-08-13 中国科学院光电技术研究所 Low-power consumption, light, small and multifunctional space camera for deep space detection and implementation method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100992367B1 (en) * 2008-12-01 2010-11-04 삼성전기주식회사 Method for controlling auto exposure

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783888A (en) * 2010-03-23 2010-07-21 中国科学院西安光学精密机械研究所 Automatic exposure method based on analogous column diagram
CN102096273A (en) * 2010-12-29 2011-06-15 北京空间机电研究所 Automatic exposure method of space camera based on target characteristics
CN102291538A (en) * 2011-08-17 2011-12-21 浙江博视电子科技股份有限公司 Automatic exposure method and control device of camera
CN102694981A (en) * 2012-05-11 2012-09-26 中国科学院西安光学精密机械研究所 Automatic exposure method based on adaptive threshold segmentation and histogram equalization
CN103983251A (en) * 2014-05-29 2014-08-13 中国科学院光电技术研究所 Low-power consumption, light, small and multifunctional space camera for deep space detection and implementation method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
嫦娥二号卫星APS相机设计关键技术及在轨应用;黄长宁等;《中国科学:技术科学》;20130720;第43卷(第7期);第763页第2栏第12-13行 *

Also Published As

Publication number Publication date
CN104184958A (en) 2014-12-03

Similar Documents

Publication Publication Date Title
CN104184958B (en) A kind of automatic exposure control method and its device based on FPGA suitable for space exploration imaging
CN104184957B (en) Automatic exposure control method based on adaptive expected image average brightness and suitable for space exploration imaging
CN105635593B (en) Multiple exposure imaging system and white balance method thereof
KR101155406B1 (en) Image processing apparatus, image processing method and computer readable-medium
KR102075456B1 (en) Image processing method for improving image quality and image processing device therewith
CN108174172B (en) Image pickup method and device, computer readable storage medium and computer equipment
CN108024057B (en) Background blurring processing method, device and equipment
CN102495511B (en) Automatic exposure regulating method for camera
CN103369252A (en) Image processing apparatus and control method therefor
CN107995396B (en) Two camera modules and terminal
JP2016126750A (en) Image processing system, image processing device, imaging device, image processing method, program, and recording medium
CN107682611B (en) Focusing method and device, computer readable storage medium and electronic equipment
CN111028187B (en) Light-adaptive airborne double-light image reconnaissance device and method
CN113643214A (en) Image exposure correction method and system based on artificial intelligence
AU2017218753B2 (en) Imaging device with white balance compensation and related systems and methods
US20050030415A1 (en) Exposure adjustment in an imaging apparatus
US20160156825A1 (en) Outdoor exposure control of still image capture
CN111654641B (en) Airborne camera exposure parameter adjusting method and system
CN108337448A (en) High-dynamic-range image acquisition method, device, terminal device and storage medium
CN108551555A (en) A kind of automatic explosion method of industrial camera using cmos detector
CN111355896B (en) Method for acquiring automatic exposure parameters of all-day camera
JP2012085093A (en) Imaging device and acquisition method
Li et al. Improving high dynamic range image based light measurement
JP6883855B2 (en) Imaging device and control method of imaging device
Wu et al. Measurement for opto-electronic conversion functions (OECFs) of digital still-picture camera

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant