Opened 5 years ago

Closed 5 years ago

#3683 closed defect (fixed)

i.segment: output is always NULL

Reported by: mlennert Owned by: grass-dev@…
Priority: blocker Milestone: 7.4.4
Component: Imagery Version: svn-trunk
Keywords: i.segment segment library Cc:
CPU: Unspecified Platform: Unspecified

Description

Classifying this as a blocker, as it looks like a serious regression in the 7.6 releasebranch.

With trunk and 7.6 releasebranch:

g.region n=220000 s=219456 w=637033 e=638000 align=ortho_2001_t792_1m -p
i.group ortho in=ortho_2001_t792_1m
i.segment ortho thresh=0.01 minsize=1 out=test
r.info -r test
min=NULL
max=NULL

With 7.4.1 I get:

r.info -r test
min=1
max=433067

Is this due to the recent changes in the segment library ? Or in i.segment ?

Change History (5)

in reply to:  description comment:1 by mmetz, 5 years ago

Replying to mlennert:

Classifying this as a blocker, as it looks like a serious regression in the 7.6 releasebranch.

With trunk and 7.6 releasebranch:

g.region n=220000 s=219456 w=637033 e=638000 align=ortho_2001_t792_1m -p
i.group ortho in=ortho_2001_t792_1m
i.segment ortho thresh=0.01 minsize=1 out=test
r.info -r test
min=NULL
max=NULL

With 7.4.1 I get:

r.info -r test
min=1
max=433067

Is this due to the recent changes in the segment library ? Or in i.segment ?

This is due to recent changes in i.segment, fixing goodness of fit output. Segment ID's are again properly produced with r73559,60 (trunk, relbr76).

comment:2 by neteler, 5 years ago

Milestone: 7.4.27.6.0
Resolution: fixed
Status: newclosed

I have added an initial testsuite for i.segment to catch such errors (trunk r73564, relbr76 r73565).

Closing as fixed.

comment:3 by martinl, 5 years ago

Resolution: fixed
Status: closedreopened

Backport to 7.4 needed.

comment:4 by martinl, 5 years ago

Milestone: 7.6.07.4.4

comment:5 by martinl, 5 years ago

Resolution: fixed
Status: reopenedclosed

Backported to 7.4 branch in r73795

Note: See TracTickets for help on using tickets.