[GRASS-dev] [GRASS GIS] #3210: r.texture: bug when non continuous series of values

GRASS GIS trac at osgeo.org
Thu Nov 24 06:57:30 PST 2016


#3210: r.texture: bug when non continuous series of values
--------------------------+-------------------------
  Reporter:  mlennert     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  reopened
  Priority:  normal       |  Milestone:  7.2.0
 Component:  Raster       |    Version:  svn-trunk
Resolution:               |   Keywords:  r.texture
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by mlennert):

 Replying to [comment:25 mmetz]:
 > Replying to [comment:23 mlennert]:
 > > Replying to [comment:22 mmetz]:
 > > > Replying to [comment:20 mlennert]:
 > > > > Thanks for all these fixes !
 > > > >
 > > > > r.texture now runs much faster than before and results seem more
 meaningful.
 > > > >
 > > > > [...]
 > > > >
 > > > > using 7.0.5 (left) and current trunk (right) for each of the
 texture indicators. On 7.0.5 this takes over 2 minutes, where in trunk it
 takes less than 30 seconds.
 > > > >
 > > > > Several results now seem more relevant (SV, SA, DV, Contrast).
 Others do not change. I don't know whether this is because they were
 already ok or not. Variance seems to be less clear after the change.
 > > >
 > > > Fixed in r69877-9.
 > > >
 > > > > And MOC-2 doesn't give any result (0 everywhere) in both versions.
 > > >
 > > > That bug was introduced 14 years ago with r11641 when r.texture was
 added to GRASS. An f got lost.
 > >
 > > Wow. Really sounds like noone has actually ever seriously used
 r.texture before...
 >
 > Maybe because noone knows what this is good for? According to Haralick's
 publications, the texture measurements can be used for image
 classification. Could you update the manual if you can suggest
 applications for these texture measurments? Thanks!

 I just committed what I consider some improvements, including a very
 simple, but thus hopefully pedagogical, example. I allowed myself to
 rearrange some of the existing text, including some of your recent
 additions.

 Please have a look and if you think this is ok, we can backport to the
 other branches.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3210#comment:26>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list