ENGR 101 Lecture Notes - Lecture 5: Grayscale, Matlab, Heat Map

38 views4 pages
7 Aug 2018
School
Department
Course

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.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents