ROS camera : added reading from directory of images and video files, fixed 1 channel wrong encoding

ImageViewQt: updated to handle 8bits mono (1 channel) images

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/ros-pkg@575 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2012-06-26 19:27:47 +00:00
parent fc30eb3fbd
commit 39e4f95031
7 changed files with 167 additions and 84 deletions
+4 -2
View File
@@ -8,7 +8,9 @@ gen = ParameterGenerator()
gen.add("device_id", int_t, 0, "Camera device ID", 0, 0, 7)
gen.add("frame_rate", double_t, 0, "Frame rate", 15.0, 0.0, 100.0)
gen.add("width", int_t, 0, "Width", 640, 1, 1920)
gen.add("height", int_t, 0, "Image height", 480, 1, 1080)
gen.add("width", int_t, 0, "Width", 640, 0, 1920)
gen.add("height", int_t, 0, "Image height", 480, 0, 1080)
gen.add("video_or_images_path", str_t, 0, "Video or images directory path", "")
gen.add("auto_restart", bool_t, 0, "Auto restart the camera (with reading from images and video)", True)
exit(gen.generate(PACKAGE, "dynamic_camera", "camera"))