[Gdal-dev] code to guess the pixels and lines of a raw image

Joaquim Luis jluis at ualg.pt
Tue Nov 25 11:19:30 EST 2003


Fu Chen wrote:

> This is a small script to guess the pixels and lines of a raw image. I think photoshop use the same engine, but more efficient. I hope this code will be useful for some pals. Enjoy!

Fu,
I translated your code to matlab and than realized that it only works for gray scale images.
Well, at least with the example file I used (an RGBA raw file).
Andrey, does your code work with color raw images?

Thanks

J. Luis




More information about the Gdal-dev mailing list