Opened 16 years ago

Closed 10 years ago

#353 closed task (fixed)

r.texture: flags to method= option

Reported by: hamish Owned by: grass-dev@…
Priority: trivial Milestone: 7.0.0
Component: Raster Version: svn-trunk
Keywords: r.texture, interface Cc:
CPU: All Platform: All

Description

Hi,

for grass7 the various r.texture flags would more simply be implemented in a single method= option (with multiple=YES).

thoughts?

Hamish

Change History (1)

comment:1 by wenzeslaus, 10 years ago

Keywords: interface added
Resolution: fixed
Status: newclosed

The current r.texture in GRASS 7 has:

Usage:
 r.texture [-sa] input=name prefix=string [size=value]
   [distance=value] [method=string[,string,...]] [--overwrite] [--help]
   [--verbose] [--quiet]

Flags:
  -s   Separate output for each angle (0, 45, 90, 135)
  -a   Calculate all textural measurements
 --o   Allow output files to overwrite existing files
 --h   Print usage summary
 --v   Verbose module output
 --q   Quiet module output

Parameters:
     input   Name of input raster map
    prefix   Prefix for output raster map(s)
      size   The size of moving window (odd and >= 3)
             default: 3
  distance   The distance between two samples (>= 1)
             default: 1
    method   Textural measurement method
             options: asm,contrast,corr,var,idm,sa,se,sv,entr,dv,de,moc1,moc2

So, I guess that this is fixed. Multiple method is possible. GRASS 6 has the flags.

Note: See TracTickets for help on using tickets.