Re: [gdal-dev] nearblack troubles [SEC=UNCLASSIFIED]

2011-04-28 Thread Even Rouault
Le jeudi 28 avril 2011 17:49:48, Matt Wilkie a écrit : > > Worked for me using the following: > > > > #Change black to white > > gdalbuildvrt -srcnodata 0 -vrtnodata 255 to-be-decollared.vrt > > to-be-decollared.tif > > #Run nearblack -white > > nearblack -white -o decollared.tif to-be-deco

Re: [gdal-dev] nearblack troubles [SEC=UNCLASSIFIED]

2011-04-28 Thread Matt Wilkie
> Worked for me using the following: > > #Change black to white > gdalbuildvrt -srcnodata 0 -vrtnodata 255 to-be-decollared.vrt > to-be-decollared.tif > #Run nearblack -white > nearblack -white -o decollared.tif to-be-decollared.vrt Luke, once again I thank you. :) matt wilkie -

RE: [gdal-dev] nearblack troubles [SEC=UNCLASSIFIED]

2011-04-27 Thread Pinner, Luke
[mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Matt Wilkie Sent: Thursday, 28 April 2011 1:57 AM To: gdal-dev Subject: [gdal-dev] nearblack troubles Hi All, The geotiff here (http://www.maphew.com/Itches/Decollaring_with_nearblack) has two collars to be removed. The outermost consists of pure

Re: [gdal-dev] nearblack troubles

2011-04-27 Thread Even Rouault
Le mercredi 27 avril 2011 17:57:26, Matt Wilkie a écrit : > Hi All, > > The geotiff here > (http://www.maphew.com/Itches/Decollaring_with_nearblack) has two > collars to be removed. The outermost consists of pure black (0,0,0) > while the innermost is off-white (ranges from 240 thru 255). I used >

[gdal-dev] nearblack troubles

2011-04-27 Thread Matt Wilkie
Hi All, The geotiff here (http://www.maphew.com/Itches/Decollaring_with_nearblack) has two collars to be removed. The outermost consists of pure black (0,0,0) while the innermost is off-white (ranges from 240 thru 255). I used gdalsetnull[1] to change 0,0,0 to nodata, then ran `nearblack -whi