Commit 13b8c5f3 authored by Davis King's avatar Davis King

Simplified example and added a call to jet()

parent 62a564bf
......@@ -63,8 +63,10 @@ int main(int argc, char** argv)
// the window by holding CTRL and scrolling the mouse wheel)
image_window my_window(edge_image, "Normal Edge Image");
// We can also easily display the edge_image as a heatmap like so.
image_window win_hot(heatmap(edge_image, 255));
// We can also easily display the edge_image as a heatmap or using the jet color
// 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
image_window my_window2(img, "Original Image");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment