Page 1 of 1

How to read a pgm file written by writePgmFile()?

Posted: Wed Nov 20, 2019 12:50 am
by shmihara
Are there any functions or examples to read a pgm file written by ImagePair::writePgmFile()?

Re: How to read a pgm file written by writePgmFile()?

Posted: Wed Nov 20, 2019 7:50 am
by k.schauwecker
You can for example use OpenCV to read the PGM file. Have a look at this tutorial:
https://docs.opencv.org/master/db/deb/tutorial_display_image.html