[GRASS-dev] [GRASS GIS] #3683: i.segment: output is always NULL

#3683: i.segment: output is always NULL
---------------------------------------+-------------------------
Reporter: mlennert | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 7.4.2
Component: Imagery | Version: svn-trunk
Keywords: i.segment segment library | CPU: Unspecified
Platform: Unspecified |
---------------------------------------+-------------------------
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
?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3683&gt;
GRASS GIS <https://grass.osgeo.org>

#3683: i.segment: output is always NULL
--------------------------+---------------------------------------
  Reporter: mlennert | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: blocker | Milestone: 7.4.2
Component: Imagery | Version: svn-trunk
Resolution: | Keywords: i.segment segment library
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------------

Comment (by mmetz):

Replying to [ticket:3683 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).

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3683#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3683: i.segment: output is always NULL
--------------------------+---------------------------------------
  Reporter: mlennert | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: blocker | Milestone: 7.6.0
Component: Imagery | Version: svn-trunk
Resolution: fixed | Keywords: i.segment segment library
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------------
Changes (by neteler):

* status: new => closed
* resolution: => fixed
* milestone: 7.4.2 => 7.6.0

Comment:

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

Closing as fixed.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3683#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#3683: i.segment: output is always NULL
--------------------------+---------------------------------------
  Reporter: mlennert | Owner: grass-dev@…
      Type: defect | Status: reopened
  Priority: blocker | Milestone: 7.6.0
Component: Imagery | Version: svn-trunk
Resolution: | Keywords: i.segment segment library
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------------
Changes (by martinl):

* status: closed => reopened
* resolution: fixed =>

Comment:

Backport to 7.4 needed.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3683#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>

#3683: i.segment: output is always NULL
--------------------------+---------------------------------------
  Reporter: mlennert | Owner: grass-dev@…
      Type: defect | Status: reopened
  Priority: blocker | Milestone: 7.4.4
Component: Imagery | Version: svn-trunk
Resolution: | Keywords: i.segment segment library
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------------
Changes (by martinl):

* milestone: 7.6.0 => 7.4.4

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3683#comment:4&gt;
GRASS GIS <https://grass.osgeo.org>

#3683: i.segment: output is always NULL
--------------------------+---------------------------------------
  Reporter: mlennert | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: blocker | Milestone: 7.4.4
Component: Imagery | Version: svn-trunk
Resolution: fixed | Keywords: i.segment segment library
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------------
Changes (by martinl):

* status: reopened => closed
* resolution: => fixed

Comment:

Backported to 7.4 branch in r73795

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3683#comment:5&gt;
GRASS GIS <https://grass.osgeo.org>