AU2004233551B2 - Digital image processing - Google Patents
Digital image processing Download PDFInfo
- Publication number
- AU2004233551B2 AU2004233551B2 AU2004233551A AU2004233551A AU2004233551B2 AU 2004233551 B2 AU2004233551 B2 AU 2004233551B2 AU 2004233551 A AU2004233551 A AU 2004233551A AU 2004233551 A AU2004233551 A AU 2004233551A AU 2004233551 B2 AU2004233551 B2 AU 2004233551B2
- Authority
- AU
- Australia
- Prior art keywords
- image
- pixel
- intensity
- bit
- pixels
- 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.)
- Expired
Links
- 238000012545 processing Methods 0.000 title claims description 13
- 238000000034 method Methods 0.000 claims description 43
- 238000013144 data compression Methods 0.000 claims description 6
- 230000004048 modification Effects 0.000 claims description 5
- 238000012986 modification Methods 0.000 claims description 5
- 239000002131 composite material Substances 0.000 claims description 3
- 238000007906 compression Methods 0.000 description 13
- 230000006835 compression Effects 0.000 description 12
- 230000000875 corresponding effect Effects 0.000 description 9
- 230000003287 optical effect Effects 0.000 description 7
- 238000003384 imaging method Methods 0.000 description 6
- 238000001444 catalytic combustion detection Methods 0.000 description 5
- 238000002474 experimental method Methods 0.000 description 5
- 238000013507 mapping Methods 0.000 description 5
- 230000003321 amplification Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000003199 nucleic acid amplification method Methods 0.000 description 4
- 238000012937 correction Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000007792 addition Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 238000005352 clarification Methods 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 238000001228 spectrum Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 101000608653 Homo sapiens UbiA prenyltransferase domain-containing protein 1 Proteins 0.000 description 1
- 201000004224 Schnyder corneal dystrophy Diseases 0.000 description 1
- 102100039547 UbiA prenyltransferase domain-containing protein 1 Human genes 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000008713 feedback mechanism Effects 0.000 description 1
- 239000003574 free electron Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000010030 laminating Methods 0.000 description 1
- 238000012886 linear function Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 238000009966 trimming Methods 0.000 description 1
Landscapes
- Image Processing (AREA)
Description
*IC
AUSTRALIA
Patents Act COMPLETE SPECIFICATION
(ORIGINAL)
Class Int. Class Application Number: Lodged: Complete Specification Lodged: Accepted: Published: Priority Related Art: Name of Applicant: Redflex Traffic Systems Pty Ltd Actual Inventor(s): Gurchan Ercan, Peter Whyte Address for Service and Correspondence: PHILLIPS ORMONDE FITZPATRICK Patent and Trade Mark Attorneys 367 Collins Street Melbourne 3000 AUSTRALIA Invention Title: DIGITAL IMAGE PROCESSING Our Ref 733911 POF Code: 297354/297354 The following statement is a full description of this invention, including the best method of performing it known to applicant(s): -1- 6006q -2- Digital Image Processing 0The present application is a divisional application from Australian patent application number 37051/02, the entire disclosure of which is incorporated
O'
Z herein by reference.
This application is related to applications filed at the same time by the same applicant entitled "Imaging Apparatus" (claiming priority from Australian Provisional Application P05257 filed 24 February 1997) and 'Vehicle Imaging and I/3 SVerification" (claiming priority from Australian Provisional Application P05256 filed S24 February 1997). The contents of those applications are hereby incorporated io herein by reference.
N This invention relates to a method of processing digital image information.
It relates particularly but not exclusively to a method of selectively modifying pixel intensity information in order to improve legibility or visibility of parts of a digital image.
Image contrast problems resulting in under-exposure and over-exposure of parts of an image are relatively common in photography. When an image of a person or object is taken facing into the sun, or with some other background which is bright compared to the person or object, the person's or object's features often are difficult to discern in the finished photographic image. Similarly, when part of-the image is very bright compared to the rest of the image, the bright part is often over-exposed or "burnt out", so that its details are not discernible in the finished photographic image.
This problem is particularly noticeable in consumer video cameras which have automatic light contrast controls based on average light intensity for an image. In order for such video cameras to be able to capture images with a range of different intensities, they increase or decrease the brightness of each image captured, depending on the average brightness of all pixels in the image. When an image is being taken, for example, of a person in an unlit room against the background of a window, with bright sunshine outside, the person will often appear merely as a silhouette against the window, because the camera has compensated for the bright background by reducing the pixel image intensity. If the person moves against a wall in the same room, so that the window is no longer in the background, the average pixel intensity reduces, and the camera AP W:povFligliuMrvcA compensates by increasing pixel intensities, so that the person's features become Svisible.
In some video cameras, a manual image intensity override control is 0 Z provided to allow an operator to compensate for this problem. The operator can 5 move the control to ensure that the image pixel intensities remain bright even when the background is bright. This results in "image burn" (or over-exposure) for the background, but at least it ensures that the details of interest, such as the person's face, remain clearly visible. Alternatively, if the operator is taking images Sof, say, a fireworks display on a dark night, the camera will naturally tend to io brighten the pixel intensities to compensate for the darkness of the average pixel intensity, with the result that the fireworks images are "burnt out". By using the manual exposure control, the operator can ensure that the pixel intensities remain dark and the fireworks remain visible.
In film-based photography, it is possible to compensate for a bright background or a dark background by varying the length of exposure during development of the film. However, if it is desired that very dark and very bright features both be visible in a photograph, it is often necessary to use two different exposures and create two separate images.
A particular application in which image contrast presents a problem is traffic cameras used in Law Enforcement Programs such as speed and red-light violation prosecution. Due to the retro-reflective nature of most licence plates, any light energy which is directed towards this area is reflected back at a level (result of a high reflection efficiency) which is higher then the average intensity entering the camera. Consequently an optical burn (ie over exposure) appears around the area of the licence plate. An example of this is shown in Figure 14.
Summary of the Invention An object of the present invention is to provide a method of selectively varying the image intensity of part of an image.
According to a first aspect of the present invention there is provided a method of processing digital image information which includes pixel intensity information, including the steps of: identifying a region of the image in which pixel intensities are similar to each other, but the median pixel intensity differs significantly from the median pixel intensity of other parts of the image; and AP W:prnDigomProc.dc -4modifying pixel intensities in the identified region so that the median for the C region is closer to the median for the other parts of the image.
The identified region of the image may have a median pixel intensity below 0 Z the median pixel intensity of the rest of the image, as in the previously described example of a person photographed in a dark room against the background of a bright window. The region may comprise the person's face, and the pixels in the region of the person's face may be modified by increasing their intensity values until their median intensity value approaches the median for the rest of the image.
SThis results in an image which shows both the background and the person in io good detail.
(Alternatively, the identified region may have a median pixel intensity higher than the median for the rest of the image, as in the previously described example of the retro-reflective licence plate. In this case, the identified region is the licence plate, and the pixel intensities in that region are modified by reducing their intensity values until their median intensity value approaches the median for the rest of the image. Again, this results in an image which shows both the background and the licence plate in good detail.
The region may be identified in any suitable way. One way of identifying the region is for a person to examine the image and manually identify any region which needs pixel intensity correction. Another way is locate computationally any pixels which have an intensity greater than a particular high value or less than a particular low value and which have more than a predetermined number of other pixels meeting the same criteria within a predetermined distance. Another way arises when all images being processed have common features in this case, a predefined region at the same place on each image can be used, if it is known in advance that the region contains pixels which require pixel intensity correction.
Alternatively, if it is known that a similar-shaped region requiring pixel intensity correction will appear on all images, but not necessarily in the same place (as in the case of traffic images featuring retro-reflective licence plates), a shape recognition algorithm may be applied to the image to locate the region.
Any suitable pixel intensity modification algorithm may be applied to the identified region. One suitable modification algorithm involves adding a fixed intensity value to, or subtracting a fixed intensity value from, all pixel intensity values in the identified region. Another algorithm involves multiplying or dividing AP W:oVrcRFDiglmP'odoC
I
all pixel intensity values in the region by a fixed amount. It will be appreciated that C many different algorithms using fixed or sliding scales may be used, depending upon the particular application.
O
Z According to a second aspect of the invention, there is provided a method 5 of processing digital image information by modifying pixel intensities according to a non-linear algorithm, with the result that one or more regions of the image have their median pixel intensities adjusted to a level which is closer to the median pixel intensity for other parts of the image.
SIn this aspect of the invention, the pixel modification algorithm can be io applied to the whole of the image, and not just to a particular identified region. For (N example, the algorithm may specify that all pixel intensity values over a particular threshold are to be reduced according to a particular scale, and all values under the threshold are to be kept constant, or increased or reduced according to another scale. In the case of the previously described example of a person photographed in a dark room against the background of a bright window, this type of algorithm may be successful in selectively increasing pixel intensities in the face region relative to pixel intensities elsewhere. On the other hand, the results may be less than desirable if other parts of the image which do not require intensification have pixel intensities similar to those of the face region.
In the-previously described example of the retro-reflective licence plate, a non-linear algorithm applied to all pixel intensities may be successful in reducing "plate burn", by selectively decreasing all pixel intensities over a particular threshold relative to pixel intensities elsewhere.
When processing digital images according to the first and second aspects of the invention, the input device (such as a scanner or a digital camera) needs to have a sufficient "dynamic range" to resolve all the light intensities under consideration. The dynamic range of a CCD imaging system is the ratio of CCD saturation (full well charge) to the read noise. It is the ability to detect quantitatively very dim and very bright light information in a single pixel. For example, if a CCD has a typical full well of 45,000 electrons and 11 electrons read noise, then the dynamic range is 45,000 11 4091 levels or Loglo(4091) 71dB.
With a dynamic range of 4091 levels an analog to digital converter (ADC) of 12 bits is needed to resolve the small voltage levels representing the small AP W:VpasDiglmrboc4C -6variants in light levels across the spectrum of information being captured by the 0 CCD. However, this produces a large volume of data. A 12 bit ADC produces 4096 levels, which in the case of an RGB CCD translates to 4096 X 4096 X 4096 Z 6.9 X 10 bits of RGB information which are beyond the resolving capabilities ID 5 of the human eye. The average human eye can only resolve 64 or at most 128 grey levels or intensities.
Because of the human eye's limited ability to resolve large spectrums of intensities and colours, there is little value in storing the large amounts of Sinformation produced by a CCD with a broad dynamic range. The present lo invention is primarily directed towards selecting and presenting those parts of the (pixel intensity range which provide the most useful information; however, a useful side effect is that this results in a very significant compression of the size of data which must be stored.
One suitable algorithm for achieving this is to allow a particular relatively broad band of intensity levels in the final compressed image to represent the narrow band of pixel intensity values which require clarification (eg, the licence plate "burnt out" pixel values, or the face "blacked out" values) and a comparatively narrow band of intensity levels in the final image to represent the rest of the image. In other words, the part of the image which requires clarification -has its-pixel intensity-range -expanded (or -compressed-by-an- amount significantly less than the compression of the rest of the image) and the rest of the image is compressed.
For example, an 8-bit intensity pixel provides 256 different possible intensity or grey-scale levels. It may be desirable to compress this into a 4-bit pixel (which has 16 different possible intensity levels). In the original image, the "burnt out" licence plate may have all pixel intensity values in the region above level 230. A suitable result in which the licence plate is legible might be achieved by mapping the first 230 levels in the original image to levels 1 to 10 in the compressed image, and mapping levels above 230 in the original image to levels 11 to 16 in the compressed image.
According to another aspect of the invention there is provided a method of forming a composite digital image including the steps of: AP W:NmprvRPeiJmftvCiCC -7obtaining first and second digital images of the same scene but with different exposure or light reception conditions so that one of the digital images has higher pixel intensity values than the other; Z identifying one or more regions on the first image which are less clear than N 5O the corresponding regions on the second image; and replacing the identified regions of the first image with the corresponding regions of the second image.
The regions identified as less clear than corresponding regions on the (second image may be "burnt out" regions such as a retro reflective number plate io or "blacked out" regions such as the details of a person's face in an otherwise ibright image.
Prior to or as part of the step of replacing the identified regions of the first image with the corresponding regions of the second image, the intensities of the pixels in the first image and/or the second image may be manipulated. If, for example, the pixels in the first image have 64 different intensity levels, and in an "burnt out" region all pixels have intensity of 64, whereas in the second darker version the corresponding pixels of the "burnt out" region have intensity values of from 33 to 64, all pixels in the first image could be reassigned intensity values of between 1 and 48, with all intensity values between 33 and 64 in the second image being reassigned to-values between-49 and 64, before the -replacement operation, with the result that the portion of the first image identified as "burnt out" remains brighter than the rest of the image.
Although the method has been described with reference to combining two separate images, it will be appreciated that the technique is equally applicable to a combination of more than two images.
The first and second digital images may be obtained in any suitable manner. They may be obtained simultaneously or sequentially. It is preferred that a single optical plane or path be used to ensure pixel relativity in each image, so that pixels align correctly. One image may have a longer exposure time than the other. Additionally or alternatively, an optical filter may be applied to a digital camera in taking one of the images.
In one preferred arrangement, a single objective lens is used to provide a common optical path for two CCDs. The image is split using a 50% reflective mirror with 50% of the light going to a first CCD and 50% going to a second CCD.
AP W.VmwWYDWMPF=dDC -8- The ratio can be adjusted to suit the application. Most CCDs have built-in Selectronic shutters which can control the exposure time of the imaging area.
Configuring the first CCD to have a relatively slow shutter speed (say in the Z order of 1/250 th of a second) can provide sufficient image contrast for low and medium light levels (that is, energy levels normally expected back from the object of interest). The second CCD can be geared to record abnormally high light levels S(resulting, for example, from in-line flash systems targeted directly at retro- I' reflective licence plates) with a shutter speed of around 1/1000 of a second.
Running the shutter at this speed also reduces the effects of velocity blur caused io by an object moving whilst the camera shutter is open (thus increasing licence Splate readability).
This configuration ensures that a sufficient dynamic range of data is available for the image combining/compression processes and ensures successful outcomes. It also allows for the use of cheaper lower dynamic range CCDs and associated electronics such as analog to digital converters.
An electronic feedback mechanism such as automatic gain controls (AGCs) can be used to automatically adjust shutter speeds or output amplification to ensure nominal system outputs.
According to a fourth aspect of the invention, there is provided a method of forming-a composite-digital image including the steps-of: obtaining first and second digital images of the same scene but with different exposure or light reception conditions so that the first digital imagehas higher pixel intensity values than the second; identifying all pixels in the first image which have a pixel intensity greater than a predetermined value; and replacing the identified pixels in the first image with corresponding pixels from the second image.
This method may be varied by first identifying all pixels in the second image which have a pixel intensity lower than a predetermined value, and then 3o replacing the identified pixels in the second image with corresponding pixels from the first image.
The intensity values of pixels in the first and/or second image may be manipulated before or during the replacing step. For example, if there are 64 different intensity levels in each image, and the predetermined value for the first A? W:.\%wa\Di 8 mVRodoc image is 64, there may be a significant number of pixels in the first image with Sthat value. The corresponding pixels in the second image may have intensity values ranging between 33 and 64. In order to ensure that the replaced pixels Z from the first image' retain intensity values greater than the pixels which are not replaced, each of the pixel intensities in the first image could be multiplied by 0.75, giving them intensity levels of between 1 and 48. Each of the pixel intensity values of between 33 and 64 in the second image could be divided by 2 and added to 32, giving a range of from 49 to 64. This would then ensure that the replaced pixels remained brighter than the non-replaced pixels.
It will be appreciated that the third and fourth aspects of the invention can 0 operate effectively when the CCDs or other digital imaging devices have a relatively low dynamic range; that is, when the number of different intensity levels which can be detected is relatively low. An advantage of processing the digital information arises because a smaller amount of information is captured.
However, the overall flexibility available to these methods of operation is lower than for the methods described in the first and second aspects of the invention.
It will be appreciated that all four aspects of the invention are applicable to image scanners, digital cameras and any other digital imaging apparatus.
This invention will hereinafter be described in greater detail by reference to the attached drawings which show example forms of-the -invention. It is to be understood that the particularity of those drawings does not supersede the generality of the preceding description of the invention.
Detailed Description Figure 1 is an illustration of a typical hardware layout according to an embodiment of the invention.
Figure 2 shows a comparison between a 4-bit grey scale and an 8-bit grey scale.
Figure 3 shows an 8-bit image of a motor vehicle including a licence plate area.
Figure 4 is a graph of pixel intensity values for a typical speed violation image.
Figure 5 is a diagram showing an algorithm for mapping 8-bit pixel intensity information to 4-bit information according to an embodiment of the invention.
AP W:%prozFDizgmPr-OC Figure 6 is a 4-bit version of the image of Figure 3, with mapping done Saccording to the algorithm of Figure Figure 7 is a schematic diagram illustrating another pixel intensity Z compression algorithm.
Figure 8 is a further schematic diagram illustrating the compression algorithm.
Figure 9 is a 4-bit version of the image of Figure 3, with mapping done according to the algorithm of Figures 7 and 8.
SFigure 10 is a 4-bit version of the image of Figure 3, with mapping done io according to the direct division algorithm.
SFigure 11 is a schematic representation of a digital camera suitable for use in conjunction with the method of the present invention.
Figure 12 shows a representation of a 16-bit analog to digital converter suitable for use in the camera of Figure 11.
Figure 13 is a representation of a non-linear amplifier suitable for eliminating "optical burn" in accordance with the invention.
Figure 14 shows an image of a vehicle with an over-exposed licence plate, a typical case of "optical burn".
Figure 15 shows a portion of the image of Figure 14 after processing according-to the-invention-so that the licence plate has become legible.
Figure 1 shows a typical hardware layout for apparatus which. uses the inventive method. A light image is detected by a charge coupled device (CCD) 1, which is an element of a type which is used in video cameras. The detected image is split into red, green and blue (RGB) analog streams, which are passed to analog to digital converters (A/D converters) 2. The digital signals so produced are passed to a first digital signal processor (DSP) stage 3, which in the example illustrated filters the 16-bit RGB digital signals into 8-bit RGB signals using userselectable criteria. The signals are then passed to a second DSP stage 4, in which RGB signals are converted to a more compact YUV format. The YUV signals are then passed to a third DSP stage 5, in which a data compression algorithm is applied. It will be appreciated that this configuration is illustrative only, and many different configurations can be applied to achieve the objects of the invention.
A W:~wrsvRFigbmPrv oc -11 A typical CCD has an image sensing area which is configured into Shorizontal lines, each containing numerous pixels. As light enters the silicon in the image sensing area, free electrons are generated and collected inside Z photosensitive potential wells. The quantity of the charge collected in each pixel is a linear function of the incident light and the exposure time. Thus a conversion between the light energy and electrical charge is obtained.
After exposure the charge packets are transferred from the image area to the serial register, typically at the rate of one line per clock pulse, although this Sdepends on the particular CCD. Once an image line has been transferred into the io serial register, the serial register gate can be clocked until all of the charge N packets are moved out of the serial register through a buffer and amplification stage producing a signal of approximately Colour sensing is achieved by laminating a striped colour filter with RGB (Red, Green, Blue) organisation on top of the image sensing area. The stripes are precisely aligned to the sensing elements, and the signal charged columns are multiplexed during the readout into three separate registers with three separate outputs corresponding to each individual colour.
One suitable type of CCD image sensor is Sony's ICX075AK 1/2 inch progressive scan image sensor. It has 823(H)x592(V) effective pixels (487216 pixels) and a dynamic range of 65dB. The colour information is achieved through the use of a RGB primary colour mosaic filter, so that of all effective pixels is sensitive to blue light, is sensitive to red light and remaining /2 is sensitive to green light. Another suitable type of CCD image sensor is Sony's soon-to-bereleased ICX205AK which has a resolution of 1434 x 1050 pixels, of which 1392 x 1040 are usable, and a dynamic range of 70dB. This latter type of CCD has several discharge modes allowing both high and low resolution image output simultaneously.
The time for outputting all of the pixel signals is given as 1/25sec(40msec).
Therefore, the data rate for the ICX075AK can be calculated as: data rate no-of-pixels-per-frame/tframe 487216pixels/0.040sec 12.2 Mpixels/sec and pixel time is calculated as: 1/data rate 82.1nsec.
AP W:VrovDiFD4PordOC -12- (Note: the pixel time is actually less due to charge transfer times between Slines and frames. With CXD2424 timing generator it is 68nsec.) In a preferred arrangement described in more detail in the afore-mentioned Z co-pending patent application entitled "Imaging Apparatus", the image sensing part of the apparatus comprises an array of multiple CCD sensors in order to obtain a high resolution. One preferred embodiment has a 2 x 2 array of CCDs, and another has a 5 x 5 array. In the latter case, 25 of the CCDs are placed in a l o n 5x5 matrix; 5 sensors in each row and 5 sensors in each column. A 26th CCD Ssensor is employed to capture the whole image in low resolution.
A more detailed diagram of that arrangement is shown in Figure 11. Each SCCD 6 captures a segment of the image and passes it to an associated "analog front-end" 7, which provides correlated double sampling, signal amplification, AGC, and sample-and-hold. The integrated circuit (IC) specified by Sony for the ICX075AK is CXA1690Q. However, other ICs such as Analog Device's AD9807 are also suitable.
The next component shown in Figure 11 is the analog multiplexers 8, which reduce the number of analog-to-digital converters (A/D converters) 9 which are required. Each multiplexer 8 sequentially directs the analog signal from each sensor output to that row's A/D converter 9. There is one 5x1 multiplexer 8 for -each row of the sensor -array. The-main-criteria for-the -multiplexer is that its propagation delay should be low enough for 12.5mhz(80nsec) data rate.
The next component shown in both Figure 1 and Figure 11 is the A/D converters 2, 9, which convert the analog electrical signal into a digital signal. The resolution and dynamic range of the A/D converter stage as well as speed determine the required brightness resolution of the final digital image. The bit resolution required for >60000 levels is 16, but 16-bit converters are not presently commercially available. Possible sources for 10-20MSPS, 10-14bit A/D converters are: Sony: 10 bit specifies CXD2311AR (20MSPS) converter for ICX075AK Analog Devices; 10 bit andl2 bit Crystal: 10 bit and 12 bit Brooktree: 8 bit only Comlinear Corporation: 12 bit Datel: 10 bit, 12 bit and 14 bit AP W:\prov\RFDig P.doc -13- Bit resolution of the available converters introduces a potential problem in capturing the image with the brightness resolution required for processing of the final image to resolve "optical burn". Possible solutions for this problem include: Z As shown in Figure 12, a 16 bit converter can be made out of a 12 bit ID 5 converter 10 and a 4 bit converter 11. The disadvantages of this method include the number of components required, requirement for trimming of D/A voltage, amplification of very low level (and high speed) signals, uncertainty about final performance and the development time.
(N As shown in Figure 13, a non-linear amplifier 12 can be introduced io preceding the A/D converter 13 such that the incremental voltage gain is kept at (N minimum at low brightness levels but increased to a higher value at high brightness levels. Although that brings a problem of gain-matching among all five row amplifiers, this problem can easily be tolerated because there will be considerable improvement in resolution.
After the A/D conversion stage, Figure 1 shows some digital signal processors (DSPs) 3, 4, 5. These are primarily intended to provide data compression, and may be arranged in various different ways. As indicated above, in the arrangement of Figure 1, the first DSP.3 filters out a user-selectable range of 8 data bits from a 16-bit signal.
The second DSP 4of Figure 1 converts-the RGB- signal-produced by the CCD into a YUV signal. RGB signals are full-colour signals of the type typically used in computer displays, based on addition of red, green and blue signals. YUV signals are full colour signals in a different format, of a type used in PAL and SECAM formats (television formats used in Australia and Europe), with the three signal components representing intensity, chrominance and luminance. This conversion provides the first level of data compression. The technique relies on the fact that the human eye cannot differentiate colours as well as it does intensity. With the YUV format set to a ratio of 4:2:2, each 4 pixel group is represented by 4 intensity values, 2 blue and 2 red chrominance values which are averaged over the 4 pixel group; thus each 4 pixel group is represented by 8 values, whereas when represented by RGB each pixel in the four group would required separate red, green and blue values, requiring a total of 12 values for the same amount of data.
AP W-*ovtRFD 5 mftv d -14- The third DSP 5 of Figure 1 compresses the signal according to a 0 compression algorithm such as Huffman encoding. Different variants of Huffman coding exist, allowing different compression efficiencies. Although the actual Z compression ratio differs depending on the data being sampled by the coding ON 5 technique, the advantage of using such techniques on images is that images generally contain large areas of consistency which considerably benefit the coding algorithms.
VThe data compressor stage 14 shown in Figure 11 is required mainly to n reduce the high data transfer rate to an acceptable level for a PC. This can be to achieved by lossless image compression algorithms. Two of the possible 0 algorithms are "Huffman coding" and "predictive coding". The input data for this stage is: x 3 654 120 bytes/frame) 730 824 bytes/frame 19 001 424 bytes/frame or 20 Mbytes/frame.
On the other hand, the data rate for a PC must be less than 40 Mbytes/sec (based on 100 nsec access time for DRAM and 32 bit data bus).
Therefore, it can be concluded that: for 2 frames/sec camera speed, no compression is required; for 3 frames/sec camera speed, 3x20/40=1.5, 1.5:1 compression is required; for 4 frames/sec camera speed, 4x20/40=2.0, 2.0:1 compression is required; for 5 frames/sec camera speed, 5x20/40=2.5, 2.5:1 compression is required.
(note: however, anything less than 5 frames/sec will require slower pixel clock or extra waiting states between scan lines.) The options for the data compressor include: One DSP for each A/D converter, e.g. Analog Devices' ADSP2181 or ADSP2171 or ADSP21csp01.
One (or more if required) 32bit fast DSP, e.g. TMS320C80 of Texas Instrument or SHARC or Analog Devices.
One (or more) Field Programmable Gate Array (FPGA).
The 1 st and 2 nd options are more suitable for Huffman coding. The 3 rd option is more suitable for predictive coding, especially for the simplest predictive AP W:provlRFDigImPW.doc coding algorithm, DPCM. (Another advantage of the 3 rd option is that it can 0 incorporate PCI bus interface as well.) During the data compression and digital signal processing stages, the Z intensity values of pixels in one or more regions of the image are adjusted to provide better visibility or clarity for the image in that region. In the examples illustrated in Figures 14 and 15, a region 15 (the front of a car) has been extracted from an image which shows a car 16 against a dark background scene v' 17. In the blown-up portion of Figure 14, it is apparent that the licence plate 18 is Snot visible because of "plate burn". However, Figure 15 shows the extracted lo region 15 after processing according to the present invention. The licence plate S18 has become visible.
The final stage shown in Figure 11 is the PCI bus interface 19. The function of this stage is to form an interface stage between camera hardware and PC. It receives compressed data from the data compressor stage and arranges it for the 32 bit PCI bus 20. It receives PCI signals and prepares the necessary responses to send back. Depending upon the selected option for the data compressor, there will be different buffering and/or multiplexing between that stage and the PCI bus. An FPGA is suitable for this stage, due to its programming flexibility and speed. It may also function as an added compression stage (it may need an external fast SRAM for Huffman coding). Alternatively, a DMA (Direct Memory Access) port of a DSP can be used.
Turning now to the theory underlying the invention, the A/D conversion process is a sampling process, in which each sample is quantized. This quantization process converts the continuous-tone intensity, at the sample point, to a digital brightness value. The accuracy of the digital value is directly dependent upon how many bits are used in the quantizer. If 3 bits are used, the brightness can be converted to one of eight grey levels. In this case, grey level "0" represents black, grey level represents white, and grey level to "6" represent the ascending grey tones between black and white. The eight grey levels comprise what is called the grey scale, or in this case, the 3-bit grey scale.
With a 4-bit brightness value, every pixel's brightness is represented by one of 16 grey levels. A 5-bit brightness value yields a 32-level grey-scale range.
An 8-bit brightness value yields a 256-level grey-scale range. Every additional bit used to represent the brightness doubles the range of the grey scale. The range AP W:Vr-UURPDyimimrdOC -16of the grey scale is also referred to as dynamic range. An image with 8-bit brightness values is said to have an available dynamic range of 256 to 1. Figure 2 shows two different grey scales. A four-bit grey scale 21 is represented on the Z left, and an 8-bit grey scale 22 is represented on the right. The transitions from black to white are more continuous in the 8-bit grey scale 22 than in the 4-bit grey scale 21. The smoothness of the grey scale improves as more bits are used to represent brightness.
In For the purpose of illustrating the inventive method in use during a compression operation, the following examples relate to an 8-bit image (shown in io Figure 3) being dynamically sampled to a 4-bit image, and the resulting pictures i are compared against the original 8-bit image. Figure 3 shows an 8-bit image of a relatively dark background scene 23 with a vehicle 24 having a licence plate Three methods of dynamic extraction have been tested for this example.
Example 1: 10-levels and 6-levels representation Typically, the brightest area of a speed and red-light violation image is in the licence plate area, the car head lamps or another white area. This means that these areas reflect most light energy, causing higher intensity light to enter the camera. Figure 4 shows a typical histogram of the intensities of pixels in a speed violation image.
This method assumes that the Licence Plate is always located at the high 10-20% of the intensity graph 26. Pixel intensities for the remainder of the image 27 are centred around a lower value. Therefore, to convert the 8-bit image (255 levels of brightness) to a 4-bit (16 levels of brightness) image, 6 of the 16 levels in the final 4-bit image are assigned to the highest 10-20% intensities of the original 8-bit image (representing the Licence Plate) and the other 10 levels are assigned to the lowest 80-90% of intensities of the original image (representing the rest of the Scene). This method is described in the following pseudo code: Compute the highest intensity (Ymax) of the image. The lowest intensity is assumed to be zero.
Calculate 10-20% high intensity range from the Ymax.
Compute the magnitude of each division for Scene image (10 levels) SceneDiv and Licence Plate image (6 levels) LPDiv.
Convert each pixel of the image to intensity Y.
For each pixel Y, AP WwV\RFDigmPIV0CA -17if the intensity is in the "Scene" range, divide the intensity with the 0 Scene Div.
if the intensity is in the "Licence Plate" range, divide the intensity with the Z LP_Div.
D 5 For the purpose of displaying the 4-bit image with a graphics program, the resulting 4-bit image is converted back to an equivalent 8-bit image by multiplying each intensity value by the conversion factor (256/16).
v' For example: If Ymax 240.
n 20% intensity of the high end is 240 .8 192 If a calculated Y intensity is 180 (in low intensity range), then the equivalent Slevel is 180 Scene Div If a calculated. Y intensity is 230 (in high intensity range), then the equivalent level is ((240 230) LP_Div Figure 5 illustrates the mapping arrangement used by the above example.
The resulting 4-bit image of the above described method is shown in Figure 6, including a blown-up view 28 of the licence plate.
Example 2: Bit-wise representation This option allows 4 individual bits of the 8-bit image to be selected to represent the 4-bit image. Since the High Order Bits (Most Significant Bit) contain the-most information, 3-out-of-the 4 High Order Bits-are normally-selected to represent a 4-bit image. One bit is selected from the Low Order Bits to maintain the contrast of the Scene.
This is illustrated in Figure 7. Bits 1, 4, 5 and 6 areselected to represent the new 4-bit image. This could be accomplished by using a logical bit-mask AND method. The Bit-wise representation method is described in the following pseudo code: Convert each pixel of the image to intensity Y; For each intensity, perform a logical AND operation with the predetermined bit-mask and then perform the appropriate bit shifting operation. Eg. If bit 1, 4, 5 and 6 are to be selected to represent the 4-bit image, the bit-masks are 00000010, 00010000, 00100000 and 01000000. Figure 8 illustrates the bit-mask logical AND and bit Shifting operations.
AP W:%pmrDisW ProcdoA
I
-18- For the purpose of displaying this 4-bit image in a graphics program, each pixel is converted back to an equivalent 8-bit representation by multiplying its intensity value by a conversion factor (256/16).
O
Z Figure 9 is the result of the above described bit-wise representation. Bits 4, 5, 6, 7 are selected to represent the 4-bit image.
Example 3: Direct division This option is similar to the first option described above in which the i n Licence Plate and Scene are divided into two separate levels. The difference with C this option is that each Licence Plate and Scene level is divided by 16. The to following pseudo code describes this option: SCompute the highest intensity (Ymax) of the image. The lowest intensity is assumed to be zero.
Calculate 20% high intensity range from the Ymax. Calculate the value at Calculate the conversion factor for Licence Plate and Scene (Ymax Convert each pixel of the image to intensity Y For each intensity, if the intensity is in the high intensity range (20% range), 1. Compute the-magnitude of the-intensity-(intensity 2. Divide the magnitude by 16 ((intensity Value_80) 16).
3. Multiply the result with the conversion factor of the Licence Plate result x If the intensity is in the low intensity range, 1. Divide the intensity by 16 (intensity/ 16).
2. Multiply the result with the conversion factor of the Scene result x (Ymax For the purpose of displaying the 4-bit image with a graphics program, the resulting 4-bit image is converted back to an equivalent 8-bit image by multiplying each intensity value by the conversion factor (256/16).
Figure 10 shows the result of the Direct division method mentioned above.
The following observations may be made from the above experiments: Experiment 1 10 levels and 6 levels representation: Scene Becomes darker but visible.
AP W:o\RFDiimPcdoc -19- Licence Plate More visible and readable than the original image.
0 Experiment 2 Bit-wise representation bits 4, 5, 6, 7 (4 MSB): Scene Becomes brighter and similar to the original image.
O
Z Licence Plate Brighter and very close to the original image.
Experiment 3 Direct Division: Scene Visible and similar to the original image.
Licence Plate Poor number is more difficult to read.
Conclusion: The method used in Experiment 1 is preferred above the n others because the Licence Plate is more visible and more readable than the original image. The Scene is a somewhat darker, but that is not the critical part of 0 the overall image.
It is to be understood that various alterations, modifications and additions may be made to the parts and methods described without departing from the ambit of the invention.
AP W:prov\RFDigmProdo
Claims (10)
- 2. A method according to claim 1 wherein the identified region is identified by io locating computationally any pixels which have an intensity greater than a Sparticular high value or less than a particular low value and which have more than a predetermined number of other pixels meeting the same criteria within a predetermined distance.
- 3. A method according to claim 1 wherein a shape recognition algorithm is applied to the image to locate the region.
- 4. A method of processing digital image information by modifying pixel intensities according to a non-linear algorithm, with the result that one or more regions of the image have their median pixel intensities adjusted to a level which is closer to the median pixel intensity for other parts of the image.
- 5. A -method according to claim 4 wherein the-non--linear algorithm involves reduction of pixel intensities which have intensity values higher than a predetermined threshold value and/or intensification of pixel intensities which have intensity values lower than a predetermined threshold value.
- 6. A method of forming a composite digital image including the steps of: obtaining first and second digital images of the same scene but with different exposure or light reception conditions so that one of the digital images has higher pixel intensity values than the other; identifying one or more regions on the first image which are less clear than the corresponding regions on the second image; and replacing the identified regions of the first image with the corresponding regions of the second image.
- 7. A method according to claim 6 wherein the pixel intensity values of the first and/or the second images are modified prior to or during the replacing step. AP W:p.ig\RMhngPlRdOC r Ch -21-
- 8. A method according to claim 6 involving the combination of three or more images.
- 9. A method of forming a composite digital image including the steps of: 0 Z obtaining first and second digital images of the same scene but with (N 5 different exposure or light reception conditions so that the first digital image has higher pixel intensity values than the second; identifying all pixels in the first image which have a pixel intensity greater than a predetermined value; and Sreplacing the identified pixels in the first image with corresponding pixels io from the second image. A method according to claim 9 wherein the pixel intensity values of the first and/or the second images are modified prior to or during the replacing step.
- 11. A method according to any one of claims 1 to 10 further including one or more data compression steps.
- 12. A method according to claim 11 wherein data compression results in selective modification of the relative intensity values of pixels. DATED: 25 November, 2004 Phillips Ormonde Fitzpatrick Patent Attorneys for: REDFLEX TRAFFIC SYSTEMS PTY LTD. AP W:VrojDigmbPfoOc
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
AU2004233551A AU2004233551B2 (en) | 1997-02-24 | 2004-11-26 | Digital image processing |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
AUPO5258 | 1997-02-24 | ||
AU37051/02A AU3705102A (en) | 1997-02-24 | 2002-04-26 | Digital image processing |
AU2004233551A AU2004233551B2 (en) | 1997-02-24 | 2004-11-26 | Digital image processing |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU37051/02A Division AU3705102A (en) | 1997-02-24 | 2002-04-26 | Digital image processing |
Publications (2)
Publication Number | Publication Date |
---|---|
AU2004233551A1 AU2004233551A1 (en) | 2004-12-23 |
AU2004233551B2 true AU2004233551B2 (en) | 2007-08-09 |
Family
ID=3724207
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU37051/02A Abandoned AU3705102A (en) | 1997-02-24 | 2002-04-26 | Digital image processing |
AU2004233551A Expired AU2004233551B2 (en) | 1997-02-24 | 2004-11-26 | Digital image processing |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU37051/02A Abandoned AU3705102A (en) | 1997-02-24 | 2002-04-26 | Digital image processing |
Country Status (1)
Country | Link |
---|---|
AU (2) | AU3705102A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5191413A (en) * | 1990-11-01 | 1993-03-02 | International Business Machines | System and method for eliminating interlace motion artifacts in captured digital video data |
WO1997004417A1 (en) * | 1995-07-19 | 1997-02-06 | The Victoria University Of Manchester | Image enhancement |
-
2002
- 2002-04-26 AU AU37051/02A patent/AU3705102A/en not_active Abandoned
-
2004
- 2004-11-26 AU AU2004233551A patent/AU2004233551B2/en not_active Expired
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5191413A (en) * | 1990-11-01 | 1993-03-02 | International Business Machines | System and method for eliminating interlace motion artifacts in captured digital video data |
WO1997004417A1 (en) * | 1995-07-19 | 1997-02-06 | The Victoria University Of Manchester | Image enhancement |
Also Published As
Publication number | Publication date |
---|---|
AU2004233551A1 (en) | 2004-12-23 |
AU3705102A (en) | 2002-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6240217B1 (en) | Digital image processing | |
US7944485B2 (en) | Method, apparatus and system for dynamic range estimation of imaged scenes | |
US7509042B2 (en) | Digital camera, image capture method, and image capture control program | |
US8687087B2 (en) | Digital camera with selectively increased dynamic range by control of parameters during image acquisition | |
US5589880A (en) | Television camera using two image pickup devices with different sensitivity | |
Xiao et al. | High dynamic range imaging of natural scenes | |
CN100594736C (en) | Image capture apparatus and control method thereof | |
US20020145667A1 (en) | Imaging device and recording medium storing and imaging program | |
US6411331B1 (en) | Automatic white balance detection and correction of an image captured in a digital camera | |
US6181830B1 (en) | Image signal correction device | |
US20030081141A1 (en) | Brightness adjustment method | |
US6992712B2 (en) | Imaging apparatus | |
JP2011010108A (en) | Imaging control apparatus, imaging apparatus, and imaging control method | |
EP1542453B1 (en) | Image pickup system | |
JP2575592B2 (en) | Method and apparatus for removing color from multicolor image documents | |
JP3495768B2 (en) | Image synthesis device | |
AU2004233551B2 (en) | Digital image processing | |
JP2000013806A (en) | Image processing device and method | |
JP2004222160A (en) | Digital camera | |
US7411619B2 (en) | Signal processing method, a signal processor circuit, and imaging apparatus | |
JP4028396B2 (en) | Image composition method and digital camera | |
JP2003158670A (en) | Electronic camera and signal processing method | |
JP4954658B2 (en) | Image processing device | |
JP2766528B2 (en) | Electronic camera image data processing device | |
KR100475284B1 (en) | Light source correction device of digital still camera |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FGA | Letters patent sealed or granted (standard patent) | ||
PC | Assignment registered |
Owner name: REDFLEX TRAFFIC PTY LTD Free format text: FORMER OWNER WAS: REDFLEX TRAFFIC SYSTEMS PTY LTD |
|
PC | Assignment registered |
Owner name: RTS R & D PTY LTD Free format text: FORMER OWNER WAS: REDFLEX TRAFFIC PTY LTD |
|
MK14 | Patent ceased section 143(a) (annual fees not paid) or expired |