[GRASS-dev] i.segment gives different results in G72 and G73

Martin Landa landa.martin at gmail.com
Sun Dec 4 00:56:54 PST 2016


Running `i.segment` on the same data in G72 and G73 gives different
results. Both commands should use the same method - G72 supports only
'region growing', G73 has this method as default one.

Region:

{{{
north:      -1057730
south:      -1058250
west:       -713860
east:       -712960
nsres:      0.25
ewres:      0.25
rows:       2080
cols:       3600
cells:      7488000
}}}

Command:

{{{
i.segment group=seg output=seg1 threshold=0.01 --o
}}}

G72:

{{{
...
Segmentation converged after 8 iterations
Writing out segment IDs...
i.segment complete. Number of segments created: 4367082
(Sun Dec  4 09:42:19 2016) Command finished (3 min 36 sec)
}}}

G73:

{{{
Segmentation converged after 14 iterations
Assigning region IDs to remaining single-cell regions...
Writing out segment IDs...
i.segment complete. Number of segments created: 4359666
}}}

Segmentation performed in G73 gives slightly different results and
takes longer time to finish.

Thanks for clarification in advance, Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the grass-dev mailing list