Simplified example and added a call to jet()

This commit is contained in:
Davis King 2013-05-14 20:29:05 -04:00
parent 62a564bf28
commit 13b8c5f3d5
1 changed files with 4 additions and 2 deletions

View File

@ -63,8 +63,10 @@ int main(int argc, char** argv)
// the window by holding CTRL and scrolling the mouse wheel) // the window by holding CTRL and scrolling the mouse wheel)
image_window my_window(edge_image, "Normal Edge Image"); image_window my_window(edge_image, "Normal Edge Image");
// We can also easily display the edge_image as a heatmap like so. // We can also easily display the edge_image as a heatmap or using the jet color
image_window win_hot(heatmap(edge_image, 255)); // scheme like so.
image_window win_hot(heatmap(edge_image));
image_window win_jet(jet(edge_image));
// also make a window to display the original image // also make a window to display the original image
image_window my_window2(img, "Original Image"); image_window my_window2(img, "Original Image");