<div dir="ltr"><div><div><div><div><div><div><div><br><br></div>Hi All,<br><br></div>Is watershed image segmentation program or a similar module available in GRASS GIS? <br><br></div>I understand that we have r.watershed, i.segment and r.grow in GRASS GIS. But I do not know which one best suits my problem.<br><br></div><div>The problem is:<br></div><div><br></div>I have two layers of raster data - <br>1.) a gradient image (obtained by applying a 3 x 3 sobel filter on a water index using r.mapcalc), and <br>2.) a seed image of 2 classes labelled as "1" and "2" and remaining pixels as "0".<br><br></div>I want to use the seed image and the gradient image (which shows direction of change in intensity) information to perform segmentation using the watershed algorithm and label all "0" pixels as either 1 or 2.<br><br></div><div>r.watershed does not use watershed segmentation algorithm. i.segment is something close but I am not sure.<br><br></div><div>Please suggest.<br></div><div><br></div>Any comment is appreciated.<br><br></div>Uttam.<br><div><div><div> <div><div><br><br></div></div></div></div></div></div>