Re: [GRASS-dev] [GRASS GIS] #3142: Implementing SLIC image segmentation

2017-02-03 Thread GRASS GIS
#3142: Implementing SLIC image segmentation
---+-
  Reporter:  SCrommelinck  |  Owner:  grass-dev@…
  Type:  enhancement   | Status:  closed
  Priority:  normal|  Milestone:  7.2.1
 Component:  Imagery   |Version:  unspecified
Resolution:  fixed |   Keywords:  SLIC image segmentation
   CPU:  Unspecified   |   Platform:  Unspecified
---+-
Changes (by mlennert):

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


Comment:

 i.superpixels.slic is now available as an addon, so closing.

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3142: Implementing SLIC image segmentation

2017-01-23 Thread GRASS GIS
#3142: Implementing SLIC image segmentation
---+-
  Reporter:  SCrommelinck  |  Owner:  grass-dev@…
  Type:  enhancement   | Status:  new
  Priority:  normal|  Milestone:  7.2.1
 Component:  Imagery   |Version:  unspecified
Resolution:|   Keywords:  SLIC image segmentation
   CPU:  Unspecified   |   Platform:  Unspecified
---+-

Comment (by mlennert):

 Replying to [comment:18 rashadkm]:
 > here is first version on grass7 addons:
 > https://trac.osgeo.org/grass/browser/grass-
 addons/grass7/imagery/i.superpixels.slic
 >
 > can we close this ticket?

 There are still one [https://lists.osgeo.org/pipermail/grass-
 dev/2017-January/083745.html comment from Markus] that you didn't apply:
 the memory allocation for distvec. Just uncomment
 [https://trac.osgeo.org/grass/browser/grass-
 addons/grass7/imagery/i.superpixels.slic/main.c#L353 lines 353 and
 following], not forgetting to add the G_free() call later (see the patch
 in #3247). Otherwise the memory is allocated in the stack, where there
 might not be enough available, rather than the heap.

 When this is done, I agree that this ticket can be closed and we can open
 new tickets for any other problems.

 However, while you're at it: could you also consider the two additions
 proposed in that same patch of #3247, assigning a color table and adding
 the module call to the raster map's history ?

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3142: Implementing SLIC image segmentation

2017-01-22 Thread GRASS GIS
#3142: Implementing SLIC image segmentation
---+-
  Reporter:  SCrommelinck  |  Owner:  grass-dev@…
  Type:  enhancement   | Status:  new
  Priority:  normal|  Milestone:  7.2.1
 Component:  Imagery   |Version:  unspecified
Resolution:|   Keywords:  SLIC image segmentation
   CPU:  Unspecified   |   Platform:  Unspecified
---+-

Comment (by rashadkm):

 here is first version on grass7 addons:
 https://trac.osgeo.org/grass/browser/grass-
 addons/grass7/imagery/i.superpixels.slic

 can we close this ticket?

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3142: Implementing SLIC image segmentation

2016-12-08 Thread GRASS GIS
#3142: Implementing SLIC image segmentation
---+-
  Reporter:  SCrommelinck  |  Owner:  grass-dev@…
  Type:  enhancement   | Status:  new
  Priority:  normal|  Milestone:  7.2.0
 Component:  Imagery   |Version:  unspecified
Resolution:|   Keywords:  SLIC image segmentation
   CPU:  Unspecified   |   Platform:  Unspecified
---+-

Comment (by mmetz):

 Replying to [comment:15 tgrippa]:
 > For information, the Windows GUI which was provided in the EPFL website
 (http://ivrl.epfl.ch/research/superpixels) didn't generate the .dat file
 containing the segment labels. I contacted the author (Achanta
 Radhakrishna) who fix this. The version on the website is the fixed one.

 I suggest to continue the discussion about details of the implementation
 of SLIC(O) in GRASS in the mailing list or offlist in order to not crowd
 this ticket.

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3142: Implementing SLIC image segmentation

2016-12-07 Thread GRASS GIS
#3142: Implementing SLIC image segmentation
---+-
  Reporter:  SCrommelinck  |  Owner:  grass-dev@…
  Type:  enhancement   | Status:  new
  Priority:  normal|  Milestone:  7.2.0
 Component:  Imagery   |Version:  unspecified
Resolution:|   Keywords:  SLIC image segmentation
   CPU:  Unspecified   |   Platform:  Unspecified
---+-

Comment (by tgrippa):

 Replying to [comment:13 rashadkm]:
 > Okay. in that case we should decide on module name. i.superpixels.slic
 or i.segment.slic ?
 I think i.superpixels.slic is more interesting in perspective of further
 development of other superpixels methods, but it's only my opinion.

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3142: Implementing SLIC image segmentation

2016-12-07 Thread GRASS GIS
#3142: Implementing SLIC image segmentation
---+-
  Reporter:  SCrommelinck  |  Owner:  grass-dev@…
  Type:  enhancement   | Status:  new
  Priority:  normal|  Milestone:  7.2.0
 Component:  Imagery   |Version:  unspecified
Resolution:|   Keywords:  SLIC image segmentation
   CPU:  Unspecified   |   Platform:  Unspecified
---+-

Comment (by rashadkm):

 Okay. in that case we should decide on module name. i.superpixels.slic or
 i.segment.slic ?

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3142: Implementing SLIC image segmentation

2016-12-07 Thread GRASS GIS
#3142: Implementing SLIC image segmentation
---+-
  Reporter:  SCrommelinck  |  Owner:  grass-dev@…
  Type:  enhancement   | Status:  new
  Priority:  normal|  Milestone:  7.2.0
 Component:  Imagery   |Version:  unspecified
Resolution:|   Keywords:  SLIC image segmentation
   CPU:  Unspecified   |   Platform:  Unspecified
---+-

Comment (by mlennert):

 Replying to [comment:11 rashadkm]:
 > could i.segment have an option to choose between slic and other ones?

 It's possible, but:

 * SLIC itself is complex enough that MarkusM suggested it should go into a
 separate module to not overcharge i.segment
 * From what I've seen up to now, the use of superpixels in remote sensing
 is mostly to reduce the number of "pixels" to treat for segmentation. In
 that sense the "segmentation" into superpixels is not exactly the same as
 segmentation using other algorithms. But my experience is limited and the
 differences I see are more semantic than anything else.

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3142: Implementing SLIC image segmentation

2016-12-07 Thread GRASS GIS
#3142: Implementing SLIC image segmentation
---+-
  Reporter:  SCrommelinck  |  Owner:  grass-dev@…
  Type:  enhancement   | Status:  new
  Priority:  normal|  Milestone:  7.2.0
 Component:  Imagery   |Version:  unspecified
Resolution:|   Keywords:  SLIC image segmentation
   CPU:  Unspecified   |   Platform:  Unspecified
---+-

Comment (by rashadkm):

 could i.segment have an option to choose between slic and other ones?

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3142: Implementing SLIC image segmentation

2016-12-07 Thread GRASS GIS
#3142: Implementing SLIC image segmentation
---+-
  Reporter:  SCrommelinck  |  Owner:  grass-dev@…
  Type:  enhancement   | Status:  new
  Priority:  normal|  Milestone:  7.2.0
 Component:  Imagery   |Version:  unspecified
Resolution:|   Keywords:  SLIC image segmentation
   CPU:  Unspecified   |   Platform:  Unspecified
---+-

Comment (by mlennert):

 Ok, so we agree on option 2, i.e. a native GRASS implementation
 translating the original C++ code.

 And as Markus mentions it should include the SLICO version. Maybe as a
 flag ? Something like: i.superpixels.slic with a flag -o for SLICO ? Or
 i.slic -o ? Or i.segment.slic ? If we plan on implementing other
 superpixel approaches the i.superpixels.slic might be the way to go...

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3142: Implementing SLIC image segmentation

2016-12-06 Thread GRASS GIS
#3142: Implementing SLIC image segmentation
---+-
  Reporter:  SCrommelinck  |  Owner:  grass-dev@…
  Type:  enhancement   | Status:  new
  Priority:  normal|  Milestone:  7.2.0
 Component:  Imagery   |Version:  unspecified
Resolution:|   Keywords:  SLIC image segmentation
   CPU:  Unspecified   |   Platform:  Unspecified
---+-

Comment (by mmetz):

 Replying to [comment:7 mlennert]:
 > Replying to [comment:6 rashadkm]:
 > > Replying to [comment:5 mlennert]:
 > > > Replying to [comment:4 rashadkm]:
 > > > > Replying to [comment:3 mlennert]:
 > > > > > After some discussion with MarkusM, I see three options, all
 based on the source code published at
 [http://ivrl.epfl.ch/research/superpixels], which is GPL3:
 > > > > >
 > > > > >  * Integrate the code as is into GRASS. Disadvantage: it's C++
 and we would have to maintain it. Advantage: code exists, so less work, we
 would "only" have to write the GRASS io wrapper
 > > > > >  * Translate the original code to C and integrate into GRASS.
 Disadvantage: more work, we have to maintain; Advantage: no C++, no
 installation by user, native implementation in GRASS
 > > > > >  * Write a GRASS module that calls the compiled command line
 tool. Disadvantage: the user would have to install and compile the code.
 Advantage: less work for us, others maintain
 > > > >
 > > > > mortiz,
 > > > > the second option seems better than others. right?
 > > >
 > > > I personally would prefer it, yes, but it means more work and
 someone has to do it. Are you volunteering ? :-)
 > > I am interested to work.. given help from all grass devs ;).
 >
 > Well, maybe not all, but I'm willing to help, and we should definitely
 have MarkusM on board.

 I am on board. SLIC(O) is an interesting method, and I would be happy to
 help with the implementation. I would also prefer the second option, even
 if it means more work, but the result might be more stable/portable.

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3142: Implementing SLIC image segmentation

2016-12-06 Thread GRASS GIS
#3142: Implementing SLIC image segmentation
---+-
  Reporter:  SCrommelinck  |  Owner:  grass-dev@…
  Type:  enhancement   | Status:  new
  Priority:  normal|  Milestone:  7.2.0
 Component:  Imagery   |Version:  unspecified
Resolution:|   Keywords:  SLIC image segmentation
   CPU:  Unspecified   |   Platform:  Unspecified
---+-

Comment (by rashadkm):

 Thanks. I will be back hopefully with some code :-). I will definitely
 ping back if have questions. Either here or on grass-dev.

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3142: Implementing SLIC image segmentation

2016-12-06 Thread GRASS GIS
#3142: Implementing SLIC image segmentation
---+-
  Reporter:  SCrommelinck  |  Owner:  grass-dev@…
  Type:  enhancement   | Status:  new
  Priority:  normal|  Milestone:  7.2.0
 Component:  Imagery   |Version:  unspecified
Resolution:|   Keywords:  SLIC image segmentation
   CPU:  Unspecified   |   Platform:  Unspecified
---+-

Comment (by mlennert):

 Replying to [comment:6 rashadkm]:
 > Replying to [comment:5 mlennert]:
 > > Replying to [comment:4 rashadkm]:
 > > > Replying to [comment:3 mlennert]:
 > > > > After some discussion with MarkusM, I see three options, all based
 on the source code published at
 [http://ivrl.epfl.ch/research/superpixels], which is GPL3:
 > > > >
 > > > >  * Integrate the code as is into GRASS. Disadvantage: it's C++ and
 we would have to maintain it. Advantage: code exists, so less work, we
 would "only" have to write the GRASS io wrapper
 > > > >  * Translate the original code to C and integrate into GRASS.
 Disadvantage: more work, we have to maintain; Advantage: no C++, no
 installation by user, native implementation in GRASS
 > > > >  * Write a GRASS module that calls the compiled command line tool.
 Disadvantage: the user would have to install and compile the code.
 Advantage: less work for us, others maintain
 > > >
 > > > mortiz,
 > > > the second option seems better than others. right?
 > >
 > > I personally would prefer it, yes, but it means more work and someone
 has to do it. Are you volunteering ? :-)
 > I am interested to work.. given help from all grass devs ;).

 Well, maybe not all, but I'm willing to help, and we should definitely
 have MarkusM on board.

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3142: Implementing SLIC image segmentation

2016-12-06 Thread GRASS GIS
#3142: Implementing SLIC image segmentation
---+-
  Reporter:  SCrommelinck  |  Owner:  grass-dev@…
  Type:  enhancement   | Status:  new
  Priority:  normal|  Milestone:  7.2.0
 Component:  Imagery   |Version:  unspecified
Resolution:|   Keywords:  SLIC image segmentation
   CPU:  Unspecified   |   Platform:  Unspecified
---+-

Comment (by rashadkm):

 Replying to [comment:3 mlennert]:
 > After some discussion with MarkusM, I see three options, all based on
 the source code published at [http://ivrl.epfl.ch/research/superpixels],
 which is GPL3:
 >
 >  * Integrate the code as is into GRASS. Disadvantage: it's C++ and we
 would have to maintain it. Advantage: code exists, so less work, we would
 "only" have to write the GRASS io wrapper
 >  * Translate the original code to C and integrate into GRASS.
 Disadvantage: more work, we have to maintain; Advantage: no C++, no
 installation by user, native implementation in GRASS
 >  * Write a GRASS module that calls the compiled command line tool.
 Disadvantage: the user would have to install and compile the code.
 Advantage: less work for us, others maintain

 mortiz,
 the second option seems better than others. right?

 first is okay, if we need to drag in c++. but still there needs to be some
 additional work.
 why not write new grass module. we can port/copy/translate those c++
 methods into using grass api wherever possible.

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3142: Implementing SLIC image segmentation

2016-12-02 Thread GRASS GIS
#3142: Implementing SLIC image segmentation
---+-
  Reporter:  SCrommelinck  |  Owner:  grass-dev@…
  Type:  enhancement   | Status:  new
  Priority:  normal|  Milestone:  7.2.0
 Component:  Imagery   |Version:  unspecified
Resolution:|   Keywords:  SLIC image segmentation
   CPU:  Unspecified   |   Platform:  Unspecified
---+-

Comment (by mlennert):

 After some discussion with MarkusM, I see three options, all based on the
 source code published at [http://ivrl.epfl.ch/research/superpixels], which
 is GPL3:

  * Integrate the code as is into GRASS. Disadvantage: it's C++ and we
 would have to maintain it. Advantage: code exists, so less work, we would
 "only" have to write the GRASS io wrapper
  * Translate the original code to C and integrate into GRASS.
 Disadvantage: more work, we have to maintain; Advantage: no C++, no
 installation by user, native implementation in GRASS
  * Write a GRASS module that calls the compiled command line tool.
 Disadvantage: the user would have to install and compile the code.
 Advantage: less work for us, others maintain

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3142: Implementing SLIC image segmentation

2016-11-24 Thread GRASS GIS
#3142: Implementing SLIC image segmentation
---+-
  Reporter:  SCrommelinck  |  Owner:  grass-dev@…
  Type:  enhancement   | Status:  new
  Priority:  normal|  Milestone:  7.2.0
 Component:  Imagery   |Version:  unspecified
Resolution:|   Keywords:  SLIC image segmentation
   CPU:  Unspecified   |   Platform:  Unspecified
---+-

Comment (by tgrippa):

 Hi,

 First of all, thank to GRASS GIS contributors for the great jobs they
 make, especially for recent advances in segmentation :D.

 In our lab (ANAGEO, Free University of Brussels), we moved recently from
 proprietary software (eCognition) to GRASS GIS and we are very happy of
 this change. As we are regularly confronted with large image datasets (>2
 billion pixels with multispectral bands), we have to face quite important
 processing time, which is an obstacle for dealing with "real" big
 datasets. We hope that SLIC segmentation will be implemented in GRASS GIS,
 which would allow us to save processing time and improve our ambitions.

 Thank you

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3142: Implementing SLIC image segmentation

2016-09-02 Thread GRASS GIS
#3142: Implementing SLIC image segmentation
---+-
  Reporter:  SCrommelinck  |  Owner:  grass-dev@…
  Type:  enhancement   | Status:  new
  Priority:  normal|  Milestone:  7.2.0
 Component:  Imagery   |Version:  unspecified
Resolution:|   Keywords:  SLIC image segmentation
   CPU:  Unspecified   |   Platform:  Unspecified
---+-
Changes (by neteler):

 * component:  Default => Imagery
 * milestone:  7.0.5 => 7.2.0


Old description:

> Would someone be interested in implementing Simple Linear Iterative
> Clustering (SLIC) image segmentation in GRASS?
>
> References:
> http://ivrl.epfl.ch/research/superpixels
> http://docs.opencv.org/trunk/df/d6c/group__ximgproc__superpixel.html
> http://scikit-
> image.org/docs/dev/api/skimage.segmentation.html#skimage.segmentation.slic

New description:

 Would someone be interested in implementing Simple Linear Iterative
 Clustering (SLIC) image segmentation in GRASS?

 References:
  * http://ivrl.epfl.ch/research/superpixels
  * http://docs.opencv.org/trunk/df/d6c/group__ximgproc__superpixel.html
  * http://scikit-
 image.org/docs/dev/api/skimage.segmentation.html#skimage.segmentation.slic

--

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev