Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Digital Image Processing Halftoning Lab Title: Binary Image Rendering using Halftoning. Halftoning is a technique that uses patterns of black and white dots to simulate

Digital Image Processing

Halftoning Lab

image text in transcribed

image text in transcribed

image text in transcribed

Title: Binary Image Rendering using Halftoning. Halftoning is a technique that uses patterns of black and white dots to simulate a grayscale image. It is useful when an output device can only print or display black or white. The figure below shows 3x3 patterns of black and white dots that you will use to represent blocks of 3x3 pixels in grayscale images. That is, the input will be a grayscale image whose pixels have values from 0 to 255 and the output will be an image that only contains two values, one corresponding to black and the other to white 0 2 4 (Ignore the fact that the dots above are circular. They should really be square.) Your assignment In MATLAB, write the function halftone that takes a grayscale image with values 0-255 as its input (this input should be a matrix, not a filename) and returns a binary (two-valued) image (again a matrix) as its output. The input and output should be of type uint8. Your function should use the 10 dot patterns above to transform the grayscale image to the binary image. You will have to decide on this transformation. Importantly, your input and output images should have the same size (number of pixels). Include the code for this function in your lab report Write a test script that generates a test pattern image consisting of a gray scale "wedge" of size 256x256, whose first row is all 0, the next row is all 1, and so on, with the last row being 255. a) b)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intranet And Web Databases For Dummies

Authors: Paul Litwin

1st Edition

0764502212, 9780764502217

More Books

Students also viewed these Databases questions

Question

1. Television more Over watching faceing of many problems ?

Answered: 1 week ago

Question

Is there a link between chronic stress and memory function?

Answered: 1 week ago