Download presentation
Presentation is loading. Please wait.
1
Michael Gormish Prepared by:Emin Sinan Mimaroglu
ICON BASED ERROR CONCEALMENT FOR JPEG AND JPEG 2000 IMAGES Published in the 2003 International Conference on Image Processing (ICIP 2003) Michael Gormish Prepared by:Emin Sinan Mimaroglu
2
Outline Introduction Jpeg error concealment Jpeg 2000 introduction
Summary
3
Introduction Small errors can have devastating effects on compressed files for this reason, 1)Jpeg provides restart markers which cause encoding and decoding processes to be reset after some amount of coded data. 2)Jpeg 2000 encodes image portions independently to allow for random access but also several options were included to improve the ability to detect and recover from errors like :”segmentation symbols”,”termination on every coding pass ”.
4
Error??? Figure 1 shows several images taken with the digital camera and transferred to a computer while the camera had a low battery.
5
Error It is obvious that there is useful data available for the lower portion of the image although the position and the color is wrong.
6
Error
7
How the Error Occurs? In figure2 the first region appears correct.
Then the “error region “begins which is solid color band. Decoder resynchronizes with the code stream and produces image in region 2. Because decoder gets the DC value of the previous block’s DC.
8
Error Concealment There are 3 important things to check in error concealment: 1) Determining the location. 2) Determining the correct DC values to use in the error regions. 3) Estimating values to use in the error regions.
9
Jpeg Error Concealment
10
Jpeg Error Concealment Algorithms
1)Align compressed data correctly 2)Adjust DC value of full image to match the icon’s DC value
11
Align Compressed Data Correctly
Every 8x8 block in the error code stream begins with a DC value which has been subtracted from the previous blocks DC value and then Huffman coding the difference. These difference DC values may have more or less DC values than the number 8x8 block in the image because the errors could cause insertion or deletion of code blocks.
12
Align Compressed Data Correctly
N is the number of sample which overlap. I(b) is the differential DC value of the bth block of. The scaled icon image. E(b-s) is the differential DC value of the error image. M(s) indicates the amount of shift caused by errors in the compressed data.
13
Align Compressed Data Correctly Cont.
T end C(t)=m1(i)+ m2(i) I= i=t This estimate(c(t)) is sufficient for computing the correct DC offset to use after the error
14
After the Alignment…
15
Adjust DC Value of Full Image to Match the Icon’s DC Value
Each region of the corrected image receives pixel data from a different place. The first region can be decoded normally until the first error. The region after the error is filled in by decoding and shifting the blocks by the amount determined from the align compressed data algorithm which is c(t). The absolute DC values for all color components(y,Cb,Cr) must be determined.This can be done by determining the overall average DC value for blocks in the region in both the error image and the icon image.
16
Adjust DC Value of Full Image to Match the Icon’s DC Value Cont.
The average luminance DC value in the error image assuming the previous absolute DC value was 0 is t2 Oy= ————E(b-s2) t2-t b=t1 Apply this equation also for Cb and Cr components by summing the differential DC values.
17
Adjust DC Value of Full Image to Match the Icon’s DC Value Cont.
The average Luminance DC value in the icon image is t2 Ay= ————DC(b-s2) t2-t b=t1 The corrected image should use Ay-Oy as the previous DC values and apply the differences decoded from the shifted codestream as usual.
19
Jpeg 2000
20
Jpeg 2000 Jpeg 2000 is wavelet based image compression standard.
In JPEG 2000 the blocks are compressed individually without reference to the adjoining blocks. Jpeg 2000 can operate at higher compression ratios without generating ‘blocky and blurry ‘artifacts of the DCT based jpeg standard
21
Jpeg 2000 The JPEG 2000 standard works on image tiles .
The source image is partitioned into rectangular non-overlapping blocks in a process called tiling. All operations, including component mixing, wavelet transform, quantization, and entropy coding, are performed independently on each different tile. Tiling is done to reduce memory requirements, and since each tile is reconstructed independently, they can be used to decode specific parts of the image, rather than the whole image.
22
Jpeg 2000
23
Jpeg 2000 Each tile component is then decomposed using the DWT into a series of decomposition levels which each contain a number of subbands.
24
Advantages of Jpeg2000 Jpeg 2000 has lots of advantages:
1) Low bit rate compression performance 2)Offers both Lossy and lossless compression 3) Random codestream access and processing, also referred as region of interest(ROI)
25
Jpeg 2000 Error Concealment
26
Determine Error Location
Wavelet subbands from the presumed valid icon can be compared with corresponding subbands from the image. If the wavelet coefficients from a scaled icon differ significantly for any code block,an error can be declared for that code block.
27
Replace coded data with data from icon
In the event of an error,data can be replaced on a code block basis with data from the scaled icon. If this is done on a compressed codestream,packet headers will have to be rewritten.
28
Example
29
Conclusion The methods presented here are particularly useful for as long as there are a few errors in the image.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.