Скачать презентацию IDL GUI for Digital Halftoning Final Project for Скачать презентацию IDL GUI for Digital Halftoning Final Project for

6cfec6b3d2211c20aad8b609e0fafa20.ppt

  • Количество слайдов: 29

IDL GUI for Digital Halftoning Final Project for SIMG-726 Computing For Imaging Science Changmeng IDL GUI for Digital Halftoning Final Project for SIMG-726 Computing For Imaging Science Changmeng Liu 2. 14. 2004

Outline n n n Objective Digital Halftoning Background Halftoning algorithm Resolution of the display Outline n n n Objective Digital Halftoning Background Halftoning algorithm Resolution of the display device and Human Vision MTF and CSF GUI design and demo Conclusion and Future Work

Objective n n n A IDL GUI is implemented to display the halftone image Objective n n n A IDL GUI is implemented to display the halftone image created by different Digital Halftoning algorithms. The GUI can simulate the Halftone image in different resolution Dispersed-dot, Clustered-dot with different orientation, and Random dithering algorithms are implemented

What is Halftone and Why Halftone n n A process converts a gray scale What is Halftone and Why Halftone n n A process converts a gray scale image into a bi-level image or more generally to fewer gray levels. Applications: a. Printing images b. Display images with low-end display unit c. compressing images & video clips

Continuous Tone image vs. Halftone image n n n Continuous tone image: every pixel Continuous Tone image vs. Halftone image n n n Continuous tone image: every pixel has its continuous valued gray level, for example from 0 to 255 Halftone image: every pixel only has two gray levels: 0 and 1 Example of continuous tone and halftone image

Halftone cell --- Resolution vs. Represent gray level n n n There is a Halftone cell --- Resolution vs. Represent gray level n n n There is a trade off in halftone technique, the resolution vs. represent gray level Larger halftone cell can represent more gray level, but larger halftone cell will reduce the resolution of the halftone image. Note: Error diffusion has no such limitation

Halftone Algorithm n The Ordered Dithering Algorithm flow chart 8 bpp image 1 bpp Halftone Algorithm n The Ordered Dithering Algorithm flow chart 8 bpp image 1 bpp halftone 8 bpp screen compare pixel-by-pixel 1 0 if image > screen otherwise ready for printing on a binary printer

Cluster-dot Dithering n n n In its simplest form, a digital version of analog Cluster-dot Dithering n n n In its simplest form, a digital version of analog methods Used in higher resolution printing devices where system response is nonlinear Clustering the black pixels yields repeatable, low noise images with acceptable tone reproduction characteristics

Screen Cell n The screen is usually constructed from small rectangular bricks, called cells Screen Cell n The screen is usually constructed from small rectangular bricks, called cells 98 112 154 224 168 28 14 56 210 252 238 84 This screen is constructed from 3 x 6 cells; the cells are offset by 3 pixels. 42 70 126 140 196 182 Single Cell Construction. The screen on the left with this cell form a 45 degree screen

Halftone Cell Orientation n n Human Vision have lowest contrast sensitivity at 45° For Halftone Cell Orientation n n Human Vision have lowest contrast sensitivity at 45° For monochrome screens (e. g. , B&W), cells are typically nx 2 n in dimension and offset so the lowest frequency component is at 45°, where the visual MTF is lowest. 0° 45° m 2 n m n

Dispersed-Dot Dithering n n Dispersed-dot produces finer image details, and its halftone texture pattern Dispersed-Dot Dithering n n Dispersed-dot produces finer image details, and its halftone texture pattern contains much higher frequency and therefore is less visible Bayer’s mask is used as the dispersed-dot dithering mask in this project

Dispersed-Dot Mask Design n Recursively Define mask M(k), for K>0 n M(k) has dimensions Dispersed-Dot Mask Design n Recursively Define mask M(k), for K>0 n M(k) has dimensions 2 k * 2 k

Random Dithering n n White noise dithering use an uniformly distributed uncorrelated noise as Random Dithering n n White noise dithering use an uniformly distributed uncorrelated noise as threshold function. Random dithering has visible low frequency noise

Resolution of the display device n n DPI refers to the number of dots Resolution of the display device n n DPI refers to the number of dots (pixels) per inch on a screen. Macintosh computer (or Mac. OS compatible), have a 72 dpi screen. Windows PC have a 96 dpi screen. Because of this, objects that are displayed under Windows will appear to be 133% of their printed size (at default 72 dpi). Printer have 72 dpi (default), 300 dpi, 600 dpi or even higher resolution.

Question n Can I Simulate the High Resolution Halftone Image (300 dpi) with a Question n Can I Simulate the High Resolution Halftone Image (300 dpi) with a Low Resolution CRT(96 dpi)? - No, you can’t display it by just down sampling the high resolution halftone image directly because of the Aliasing. - But, you can simulate the appearance of the high resolution ht image in CRT.

Human Visual MTF n Human Visual MTF is a kind of low pass filter Human Visual MTF n Human Visual MTF is a kind of low pass filter

Human Visual CSF n n Contrast Sensitivity Function of Human Visual system is a Human Visual CSF n n Contrast Sensitivity Function of Human Visual system is a band pass filter From the MTF and CSF, the high spatial frequency in high resolution printer can’t be “seen” by human eye

Simulate different resolution halftone image on CRT n n Up-sample (or scale) the image Simulate different resolution halftone image on CRT n n Up-sample (or scale) the image to high resolution size. Applying halftone algorithm Convolve the halftone image with the low pass filter to simulate what our eye sees Down-sample the low-passed image to real size

GUI design, flow chart Image Input Halftone Algorithm Select Dithering Halftone Image Display Input GUI design, flow chart Image Input Halftone Algorithm Select Dithering Halftone Image Display Input Image Display Resolution Select Save the Halftone Image

Output 1, 0° Cluster-dot at 96 dpi Output 1, 0° Cluster-dot at 96 dpi

Output 2, 0° Cluster-dot at 300 dpi Output 2, 0° Cluster-dot at 300 dpi

Output 3, 45° Cluster-dot at 96 dpi Output 3, 45° Cluster-dot at 96 dpi

Output 4, 45° Cluster-dot at 300 dpi Output 4, 45° Cluster-dot at 300 dpi

Output 5, Dispersed-dot at 96 dpi Output 5, Dispersed-dot at 96 dpi

Output 6, Dispersed-dot at 300 dpi Output 6, Dispersed-dot at 300 dpi

Output 7, Random dithering at 96 dpi Output 7, Random dithering at 96 dpi

Output 8, Random dithering at 300 dpi Output 8, Random dithering at 300 dpi

Conclusion and Future Work n n This GUI can simulate the different resolution halftone Conclusion and Future Work n n This GUI can simulate the different resolution halftone image display Cluster-dot (45° and 0°), disperse-dot, and random dot is implemented. The convolution kernel can be changed to fit the human visual MTF and CSF better. More halftone algorithms can be implemented.

Question? Question?