ENGR 101 Lecture Notes - Lecture 5: Grayscale, Matlab, Heat Map
Document Summary
There are two ways to represent intensity: an unsigned integer between 0 and. 255 or a real number (a double) between 0. 0 and 1. 0. A grayscale image is just a grid of intensity values, in matlab it"s a matrix r = cat_gray([end:-1:1], :); hf = cat_gray(:, [end:-1:1]); vf = cat_gray([end:-1:1], :); t = cat_gray"; Layers in 3d are controlled by a 3rd dimension. Mat3d(4, : , 2) - fourth row, all columns, second layer. Hsv is an alternate that works well for certain applications o o o. Hue "which color?" (refers to the first layer) Saturation "how strong is the color?" (refers to the second layer) To convert between rgb to hsv o hsvimg = rgb2hsv(img); To convert from hsv back to rgb o. To reduce the "noise", apply filter using imfilter o. How to make a radiation heat map o. Write a function called heatmap that makes a heatmap of the area around the dome.