Questions tagged [pgm]

PGM is a grayscale image format used by the Netpbm library and other graphics software.

Portable Gray Map (PGM) is a simple image format for grayscale images.

The format allows data to be stored in either ASCII or binary format. PGM is the native format of the Netpbm graphics library and the format is described on the Netpbm web site. It is part of a family of formats including , , and , collectively tagged (the original name for what is now the Netpbm library).

168 questions
-3
votes
1 answer

How to convert .pgm file to .mat file in Matlab?

I have to convert 'Yale' dataset whose format is .pgm to .mat file, I searched about this issue but couldn't find anything. I appreciate any help.
Samaneh Rezaei
  • 75
  • 2
  • 11
-3
votes
1 answer

Wrong image result after 2d FFT

I have a problem when I try a FFT filter on an image . The input is the pgm file format (b&w). The result image ain’t correct . The right one should look like this this . Don't mind the colors :) For more detail please see the code. It ain’t clean…
Tiana987642
  • 600
  • 1
  • 8
  • 24
-4
votes
1 answer

Open a pgm image 16 bpp

i need to convert a pgm image 16 bit per pixel to a pgm image 8 bit per pixel but i have problem to read a pgm image 16 bpp and i don't understand what i'm doing wrong. here the code: #include "pgm.h" #include #include…
1 2 3
11
12