Ask Your Question

how to save 1 frame of depth registered depth image [closed]

asked 2015-08-29 22:45:31 -0600

dmngu9 gravatar image

I tried modifying the image view nodes image_saver and extract_image but it stiil gives me error " cant convert 16UC1 to BRG8' . I want to save it in png type

anyone has any idea

edit retag flag offensive reopen merge delete

Closed for the following reason OpenCV Question: THe OpenCV community prefers to answer questions at: by tfoote
close date 2015-11-02 01:25:49.390787

2 Answers

Sort by ยป oldest newest most voted

answered 2015-08-30 12:31:04 -0600

NEngelhard gravatar image

This is most probably rather an OpenCV-Question. Can you show the corresponding code?

edit flag offensive delete link more

answered 2015-08-31 04:45:05 -0600

Just use:

rosrun image_view image_saver image:=/camera/depth_registered/image_raw _encoding:=16UC1 _filename_format:="image%04i.png"

Get sure the topic is published. Maybe you need to activate registration with dynamic reconfiguration.

edit flag offensive delete link more

Question Tools



Asked: 2015-08-29 22:45:31 -0600

Seen: 877 times

Last updated: Aug 31 '15