Week+8+LabVIEW+3.1

Home

LabVIEW 3.1 Image Qantization
▐ **256*256** || ▐ **height* width* # of bits** || ▐ **524288** || ▐ **As the quantized image as the bits per pixel change, the shades of grey decrease so the image transitions from detailed to more black and white.** || Observe and record the changes in the quantized image. || original image? ▐ **2:1** || ▐ **524288:327680** || water - **yes** face - **yes** hair - **no** Why do some parts of the image have false contouring and not others? ▐ **darker shades show up as the bits per pixel increase** || ▐ **the 3 bit image is slightly darker due to the gray shades** || ▐ **8 times smaller** A8a: How much of the detail from the original image is lost? ▐ **all of the gray colors** || ▐ **The gray shades tend to blur.** Q9a: Explain why there is a difference. ▐ **The lower the bits per pixel, the less the distinctions of gray shades.** || Adjust the slider to vary the number of bits per pixel from 8 to 1. Observe the differences in the image at each level. At first glance, the sky in the origial image appears to be the same grey level. (no false contours) || ▐ **8 levels** Q10a: Using the quantized image, estimate and record the range of 8 bit values used for the sky in the original image. || ▐ **The sky in the original picture is made up of mixed gray and white pixels unlike the very white building.** || ▐ **524288** || Adjust the slider to vary the number of bits per pixel from 8 to 1. Observe the differences in the image at each level. || //512*512// Q13a: How does this compare to the number of pixels in the origial image in Q1? ▐ **The number of pixels is the same.** Q13b. Explain why there is a difference in the number of bits. ▐ **The number of bits per pixel is 8 times less than the original.** Q13c: How does the quality of the image compare to the the image is step 8 **building256x256.bmp** || Q14: Compare the following and look for false contouring. The cloud? **yes** The sky? **yes** The building? **barely noticeable** The palm trees? **not noticeable** Explain why some parts have false contours and other do not. ▐ **False contours do not occur on sharp edges.** || building256x256.bmp. What is the number of bits per pixel that makes the total number of bits match? ▐ **3 bits per pixel** Which image is best? Why? ▐ **The building512x512.bmp image is better because it has more pixels per inch than the other image.** || ||
 * ||~ Procedures ||
 * 1. || Start the Lab
 * (Insert image of LabVIEW and girlOnWater here)** ||
 * 2. || The lab starts with the slider set to 8 bits / pixel ||
 * || Q1: What is the width and height of the original image in pixels?
 * || Q2: What is the formula for the number of bits per pixel in each image?
 * || What is the total number of bits in the original image?
 * || Q4: Examine the quantized image carefully. Identify the differences between the two images
 * 3. || For the next questions switch the slider between 5 and 4 bits per pixel.
 * || Q5: At 4 bits per pixel, what is the ratio of the number of bits in the quantized image to the number of bits in the
 * || Q5a: At 5 bits per pixel, what is the ratio of the number of bits in the quantized image to the number of bits in the original image?
 * || Q6: Examine the following parts of the image for [|false contouring].
 * 4. || Adjust the slider to 3 bits per pixel. Study the pattern in the shirt for both images. ||
 * || Q7: Which is darker? Why?
 * 5. || Adjust the slider to 1 bit per Pixel. ||
 * || Q8: How much smaller is this image in terms of bits than the original?
 * 6. || Use the Image File Path and the browse folder icon to load a new image **cityLights256x256.bmp** ||
 * 7. || Adjust the slider to vary the number of bits per pixel from 8 to 1. Record the differences in the image at each level. ||
 * || Q9: As the number of bits per pixel is lowered, how does the detail of the image compare to the previous level?
 * 8. || Use the Image File Path and the browse folder icon to load a new image **building256x256.bmp**.
 * || Q10: Change the number of bits per pixel to find the number of gray levels in the original image. How may levels are there?
 * || Q11: Why is false contouring more noticeable in the sky than the building?
 * || Q12: What is the total number of bits in the original image?
 * 9. || Use the Image File Path and the browse folder icon to load a new image **building512x512.bmp**.
 * || Q13: What is the width and height of the original image in pixels?
 * || Set the image to 3 bits per pixel.
 * || Q15: Work with the number of bits per pixel until you get the number of bits to match the the number of bits in question 12.
 * 10. || Experiment with other images in the lab.
 * 11. || Stop the lab and Close the lab. ||