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.
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to