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 »

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

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

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