From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is Huffman compression methode applicable to create 16 Bit gray scale PGM image

Hi,

I created 16 bit gray scale pgm image from set of intensities values,but the size of image was too large.So i used Huffman compression algoritham,but it was failed(full black image).

Is it possible to apply Huffman compression algoritham in pgm image creation?

 

Regards,

Manoj

0 Kudos
Message 1 of 2
(2,171 Views)

Hi Manoj,

 

to answer those questions (totally unrelated to LabVIEW) you might consider reading Wikipedia or use a search engine like G**gle.

 

Those old PBM/PGM/PPM formats usually don't support compression to keep things simple.

You may put such a file into a ZIP container afterwards for data transfer reasons, but you need to unZIP them before working with the images in your image processing tool.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,161 Views)