<div dir="ltr">Dear all,<div><br></div><div>I am using r.cluster to identify the clumps of pixels of my binary map (0=matrix and 1=habitat).</div><div>But when I run r.cluster, I get and output cluster map as (B) (see below) and in fact</div>
<div>I would like the those diaagonal patches were clumped as the same clump.</div><div>Almost to those that work with landscape ecology, the patches are formed&nbsp;</div><div>using rules with 8 neighbors intead of 4 neighbors.&nbsp;</div>
<div><br></div><div>I know that I can do it on other programs, but I need to implement a sequence of</div><div>codes on GRASS, and I really need a rule-8 to build my patches map. Any idea?</div><div><br></div><div>Best wishes,</div>
<div><br></div><div>miltinho astronauta</div><div>brazil</div><div><br></div><div>(A)</div><div><div>00000000</div><div>01000000</div><div>00110000</div><div>00110000</div><div>00001100</div><div>00001100</div><div>00001100</div>
<div>00000000</div><div>(B)</div><div>00000000</div><div>01000000</div><div>00220000</div><div>00220000</div><div>00003300</div><div>00003300</div><div>00001100</div><div>00000000</div><div><br></div></div></div>