Ordered Dithering Block Truncation Coding Image (Ref: Improved block truncation coding based on the void-and-cluster dithering approach ) - ODBTC MATLAB CODE
Ordered dithering block truncation coding image (OD-BTC) is an improved version of BTC integrating the ordered dithering of halftoning.
Before getting into this, please refer to
ORDERED DITHERING:
BTC:
OD-BTC Generation: (the same steps are also followed in the provided code)
1) Define the dithering screen
2) Process the image in a block wise manner (block size can be 4, 8, 16..)
a) Find Maximum and Minimum of the block
b) Calculate its difference
c) Multiply the difference with the dither screen and add the minimum value and the dither screen for the block is constructed (DA)
d) Perform thresholding between the actual image block and DA
e) Assign MAX and MIN for the 1's and 0's respectively.
MATLAB CODE:
Comments
Post a Comment