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

Post Reply
shmihara
Posts: 3
Joined: Wed Nov 20, 2019 12:35 am

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

Post by shmihara » Wed Nov 20, 2019 12:50 am

Are there any functions or examples to read a pgm file written by ImagePair::writePgmFile()?
k.schauwecker
Posts: 51
Joined: Mon Mar 25, 2019 1:12 pm

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

Post by k.schauwecker » Wed Nov 20, 2019 7:50 am

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
Post Reply