From eaa0b45c151fd5ef97420108c3b2478cf38132bd Mon Sep 17 00:00:00 2001 From: Davis King Date: Sat, 28 May 2011 11:18:17 -0400 Subject: [PATCH] Cleaned up this example a little. --- examples/image_ex.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/examples/image_ex.cpp b/examples/image_ex.cpp index 932ca3755..947207aec 100644 --- a/examples/image_ex.cpp +++ b/examples/image_ex.cpp @@ -50,16 +50,13 @@ int main(int argc, char** argv) // vertical gradient images. array2d horz_gradient, vert_gradient; array2d edge_image; - sobel_edge_detector(img,horz_gradient, vert_gradient); + sobel_edge_detector(img, horz_gradient, vert_gradient); // now we do the non-maximum edge suppression step so that our edges are nice and thin suppress_non_maximum_edges(horz_gradient, vert_gradient, edge_image); - // Now we would like to see what our images look like. So lets use our - // window to display them on the screen. - - - // create a window to display the edge image. (Note that you can zoom into + // Now we would like to see what our images look like. So lets use a + // window to display them on the screen. (Note that you can zoom into // the window by holding CTRL and scrolling the mouse wheel) image_window my_window(edge_image);