[GRASS-user] r.texture error

Hi,
I'm running r.texture over an image but I get the following error:

Reading raster map...
ERROR: Too many categories (found: 300, max: 255). Try to rescale or
reclassify the map

What is mean?!!??What are the categories?How can I reduce that?
No idea what this mean!!

Solimyr

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/r-texture-error-tp6807585p6807585.html
Sent from the Grass - Users mailing list archive at Nabble.com.

On Mon, Sep 19, 2011 at 10:22 AM, Solimyr <giannicristian@msn.com> wrote:

Hi,
I'm running r.texture over an image but I get the following error:

Reading raster map...
ERROR: Too many categories (found: 300, max: 255). Try to rescale or
reclassify the map

What is mean?!!??What are the categories?How can I reduce that?

Like this:

r.rescale input=input output=output to=0,255
r.texture ...

No idea what this mean!!

I have improved the manual now to better explain this issue.

Markus

Thanks for the answer!!!Can you link to me the manual url please?
I’m not understand why I must do that (rescale) because if I change the kernel window and the step I get different value from 300 (but all over 255).

If I do this rescale and I compare the result with the ENVI tool or the ArcMap tool, I get the same results or this rescale will change the result?

Thanks in advance for the answer!

Solimyr


Date: Mon, 19 Sep 2011 12:43:09 -0700
From: [hidden email]
To: [hidden email]
Subject: Re: r.texture error

On Mon, Sep 19, 2011 at 10:22 AM, Solimyr <[hidden email]> wrote:

Hi,
I’m running r.texture over an image but I get the following error:

Reading raster map…
ERROR: Too many categories (found: 300, max: 255). Try to rescale or
reclassify the map

What is mean?!!??What are the categories?How can I reduce that?

Like this:

r.rescale input=input output=output to=0,255
r.texture …

No idea what this mean!!

I have improved the manual now to better explain this issue.

Markus


grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user


If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1803224.n2.nabble.com/r-texture-error-tp6807585p6809826.html
To unsubscribe from r.texture error, click here.


View this message in context: RE: r.texture error
Sent from the Grass - Users mailing list archive at Nabble.com.

On Mon, Sep 19, 2011 at 10:20 PM, Solimyr <giannicristian@msn.com> wrote:

Thanks for the answer!!!Can you link to me the manual url please?

http://grass.osgeo.org/grass64/manuals/html64_user/r.texture.html

I'm not understand why I must do that (rescale) because if I change the
kernel window and the step I get different value from 300 (but all over
255).

The input map range must be between 0..255. To reach that, use
r.rescale:
http://grass.osgeo.org/grass64/manuals/html64_user/r.rescale.html

If I do this rescale and I compare the result with the ENVI tool or the
ArcMap tool, I get the same results or this rescale will change the result?

I suppose that the results are similar or even identical. Probably
ENVI or ArcMap also rescale internally (as GRASS 7 does) without
telling you...

Markus