diff --git a/trunk/bin/img0.jpg b/trunk/bin/img0.jpg new file mode 100644 index 0000000000000000000000000000000000000000..dbe69e2b6ea98b8b280bc6eedea61a888c0ef75e Binary files /dev/null and b/trunk/bin/img0.jpg differ diff --git a/trunk/bin/img1.jpg b/trunk/bin/img1.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a7cca2a2e52dd3e052d98020673d88dda859ebd1 Binary files /dev/null and b/trunk/bin/img1.jpg differ diff --git a/trunk/bin/img2.jpg b/trunk/bin/img2.jpg new file mode 100644 index 0000000000000000000000000000000000000000..96d5950569f48780f9a12b7571dc9b76f9c23702 Binary files /dev/null and b/trunk/bin/img2.jpg differ diff --git a/trunk/bin/img3.jpg b/trunk/bin/img3.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1f228eccfb901d079d91589b6cb05fcaeb4c3095 Binary files /dev/null and b/trunk/bin/img3.jpg differ diff --git a/trunk/bin/img4.jpg b/trunk/bin/img4.jpg new file mode 100644 index 0000000000000000000000000000000000000000..054f541b345e8d71fa23d1569c2653404dfbaff5 Binary files /dev/null and b/trunk/bin/img4.jpg differ diff --git a/trunk/bin/img5.jpg b/trunk/bin/img5.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bc35277e7c4a7e9804ba7c21a8127249aa5d620c Binary files /dev/null and b/trunk/bin/img5.jpg differ diff --git a/trunk/bin/original.jpg b/trunk/bin/original.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9e01de26805132c8b5a965ec1b2950d7418196cc Binary files /dev/null and b/trunk/bin/original.jpg differ diff --git a/trunk/bin/tos_supervoxels_test b/trunk/bin/tos_supervoxels_test index 92dfff1f2d6107cf2450ff13b84b20728c98e1a1..10b4d22901fc3d1632d6bc74201ec96e259e547b 100755 Binary files a/trunk/bin/tos_supervoxels_test and b/trunk/bin/tos_supervoxels_test differ diff --git a/trunk/build/src/examples/CMakeFiles/tos_supervoxels_test.dir/tos_supervoxels_test.o b/trunk/build/src/examples/CMakeFiles/tos_supervoxels_test.dir/tos_supervoxels_test.o index 438fa1a99aa27b2a72ffea2d77c96292a0dace6c..a5e3637958cd76483fb852c08cf20ca86a2c5be6 100644 Binary files a/trunk/build/src/examples/CMakeFiles/tos_supervoxels_test.dir/tos_supervoxels_test.o and b/trunk/build/src/examples/CMakeFiles/tos_supervoxels_test.dir/tos_supervoxels_test.o differ diff --git a/trunk/src/examples/tos_supervoxels_test.cpp b/trunk/src/examples/tos_supervoxels_test.cpp index ba4ef17fffdfb085686acab752fc72e0ab382424..001b663c8dab721db61e7cfd268fc0ba385b8e4a 100644 --- a/trunk/src/examples/tos_supervoxels_test.cpp +++ b/trunk/src/examples/tos_supervoxels_test.cpp @@ -139,6 +139,9 @@ main (int argc, char ** argv) if(cloud->isOrganized())//if the point cloud is organized we can work with the RGB image { + std::cout << "You are now viewing the RGB image (recovered by the point cloud)." + << " Press whatever key to go further."; + // recover the RGB IMAGE from the point cloud cv::Mat img_orignal(480, 640, CV_8UC3); //create an image ( 3 channels, 8 bit image depth); @@ -161,10 +164,11 @@ main (int argc, char ** argv) } } + + cv::namedWindow("Original", CV_WINDOW_AUTOSIZE); //create a window with the name "MyWindow" cv::imshow("Original", img_orignal); //display the image which is stored in the 'img' in the "MyWindow" window - std::cout << "You are now viewing the RGB image (recovered by the point cloud)." - << " Press whatever key to go further."; + cv::imwrite( "./original.jpg", img_orignal ); cv::waitKey(0);