You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Following up #1932, I've updated the test yarp/example/opencv that now uses the latest yarp::cv::[toCvMat|fromCvMat<>] routines handling the conversion [to|from] OpenCV.
Two test images are saved by means of yarp::sig::file::write() function, which should be the same but they're not.
To Reproduce
cmake
make
launch the binary
compare test-1.ppm vs. test-2.ppm
Expected behavior
The two images should look the same.
Screenshots
test-1.ppm
test-2.ppm
Note that the two images have been converted into png to be dropped herein.
pattacini
changed the title
yarp::sig::file::write() doesn't handle properly images retrieved with fromCvMat()
yarp::sig::file::write() doesn't handle properly images retrieved with yarp::cv::fromCvMat()
Jan 2, 2019
Describe the bug
Following up #1932, I've updated the test
yarp/example/opencv
that now uses the latestyarp::cv::[toCvMat|fromCvMat<>]
routines handling the conversion [to|from] OpenCV.Two test images are saved by means of
yarp::sig::file::write()
function, which should be the same but they're not.To Reproduce
test-1.ppm
vs.test-2.ppm
Expected behavior
The two images should look the same.
Screenshots
test-1.ppm
test-2.ppm
Note that the two images have been converted into
png
to be dropped herein.Configuration:
devel
cc @Nicogene @drdanz
The text was updated successfully, but these errors were encountered: