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
> 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
-
[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
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
>
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