[FWTools] gererate report for image

Frank Warmerdam warmerdam at pobox.com
Mon Feb 5 15:49:54 EST 2007

Travis Kirstine wrote:
> Is it possible to gererate a text file report listing pixel location of none
> null values for a image using the GDAL api.  I have a image that I've ran a
> harris corner detection filter over to gererate a  image where 0 is null and
> 255 is a corner.  I would like to create a report listing the x y pixel
> locations for the corners.


I think you could likely modify the gdal2grd.py script to only output
location where the pixel value is 255, and put out the pixel locations instead
of the values.


Best regards,
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org

More information about the FWTools mailing list