[GRASS-user] Re: [beginner][r.to.vect] -v? polygonizing only white parts of an image

baobazz baobazz at hotmail.fr
Thu May 27 05:21:42 EDT 2010


Hello and thanks, Hamish, for the answer


After thinning my image with r.thin, I described my thinned raster
r.describe rasterThin 
>* 1

The white parts of my image seemed to be *
I launched r.reclass input=rasterThin output=rasterReclass
> 1=NULL
> *=1 black
But I got everything equal to NULL=>blank image..

So, I recalculated my map so as to replace NULL values by 0 value.
r.mapcalc  if(isnull(rasterThin), 0, rasterThin) 

Then, i processed it with r.to.vect
Then, I cleant the result with the snap and prune tools
--
Just one question:
r.describe rasterThin gave me
>* 1
Did "*" mean "everything else than 1" or everything?
Why did I get a blank/NULL map?

Thanks a lot!
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/beginner-r-to-vect-v-polygonizing-only-white-parts-of-an-image-tp5103294p5107720.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list