[GRASS-user] GRASS raster curvature analysis type

Hello,

I would like to know whether raster curvature analysis in GRASS is Gaussian
or Mean curvature analysis?
https://en.wikipedia.org/wiki/Gaussian_curvature
https://en.wikipedia.org/wiki/Mean_curvature

This GRASS 7.2 manuals page mentions that raster curvature analysis can be conducted in direction of steepest slope and in the direction of the contour tangent, therefor distinguishing two curvature options: profile and tangential.

Still are these two Gaussian or Mean curvatures?

Thank you for the reply.

Kind regards,
Djordje Spasic

georges wrote

Hello,

I would like to know whether raster curvature analysis in GRASS
is Gaussianor Mean curvature analysis?
https://en.wikipedia.org/wiki/Gaussian_curvature
https://en.wikipedia.org/wiki/Mean_curvature

This GRASS 7.2 manuals page mentions that raster curvature analysis can be
conducted in direction of steepest slope and in the direction of the
contour tangent, therefor distinguishing two curvature options: profile
and tangential.

Still are these two Gaussian or Mean curvatures?

Thank you for the reply.

I can't tell you directly which algorithm is used.

fortunately GRASS GIS is open source; so maybe have a look at the source
code to check:

r.slope.aspect:

https://trac.osgeo.org/grass/browser/grass/trunk/raster/r.slope.aspect/main.c

or

r.resamp.rst

https://trac.osgeo.org/grass/browser/grass/trunk/raster/r.resamp.rst/main.c

HTH

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GRASS-raster-curvature-analysis-type-tp5285498p5285523.html
Sent from the Grass - Users mailing list archive at Nabble.com.

On Tue, Sep 13, 2016 at 7:58 AM, Helmut Kudrnovsky <hellik@web.de> wrote:

georges wrote

Hello,

I would like to know whether raster curvature analysis in GRASS
is Gaussianor Mean curvature analysis?
https://en.wikipedia.org/wiki/Gaussian_curvature
https://en.wikipedia.org/wiki/Mean_curvature

This GRASS 7.2 manuals page mentions that raster curvature analysis can be
conducted in direction of steepest slope and in the direction of the
contour tangent, therefor distinguishing two curvature options: profile
and tangential.

Still are these two Gaussian or Mean curvatures?

Thank you for the reply.

I can't tell you directly which algorithm is used.

fortunately GRASS GIS is open source; so maybe have a look at the source
code to check:

r.slope.aspect:

https://trac.osgeo.org/grass/browser/grass/trunk/raster/r.slope.aspect/main.c

or

r.resamp.rst

https://trac.osgeo.org/grass/browser/grass/trunk/raster/r.resamp.rst/main.c

HTH

also r.param.scale:
https://trac.osgeo.org/grass/browser/grass/trunk/raster/r.param.scale/

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GRASS-raster-curvature-analysis-type-tp5285498p5285523.html
Sent from the Grass - Users mailing list archive at Nabble.com.
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Tue, Sep 13, 2016 at 4:02 PM, Anna Petrášová <kratochanna@gmail.com> wrote:

On Tue, Sep 13, 2016 at 7:58 AM, Helmut Kudrnovsky <hellik@web.de> wrote:

georges wrote

Hello,

I would like to know whether raster curvature analysis in GRASS
is Gaussianor Mean curvature analysis?
https://en.wikipedia.org/wiki/Gaussian_curvature
https://en.wikipedia.org/wiki/Mean_curvature

This GRASS 7.2 manuals page mentions that raster curvature analysis can be
conducted in direction of steepest slope and in the direction of the
contour tangent, therefor distinguishing two curvature options: profile
and tangential.

Still are these two Gaussian or Mean curvatures?

Thank you for the reply.

I can't tell you directly which algorithm is used.

fortunately GRASS GIS is open source; so maybe have a look at the source
code to check:

r.slope.aspect:

https://trac.osgeo.org/grass/browser/grass/trunk/raster/r.slope.aspect/main.c

or

r.resamp.rst

https://trac.osgeo.org/grass/browser/grass/trunk/raster/r.resamp.rst/main.c

HTH

also r.param.scale:
https://trac.osgeo.org/grass/browser/grass/trunk/raster/r.param.scale/

You find the formulas used for the r.slope.aspect and r.resamp.rst
implementations in the GRASS book, 3rd edition, 2008, Springer,
Appendix pages 371-376.

Best,
Markus

On Tue, Sep 13, 2016 at 5:48 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Tue, Sep 13, 2016 at 4:02 PM, Anna Petrášová <kratochanna@gmail.com> wrote:

On Tue, Sep 13, 2016 at 7:58 AM, Helmut Kudrnovsky <hellik@web.de> wrote:

georges wrote

Hello,

I would like to know whether raster curvature analysis in GRASS
is Gaussianor Mean curvature analysis?
https://en.wikipedia.org/wiki/Gaussian_curvature
https://en.wikipedia.org/wiki/Mean_curvature

This GRASS 7.2 manuals page mentions that raster curvature analysis can be
conducted in direction of steepest slope and in the direction of the
contour tangent, therefor distinguishing two curvature options: profile
and tangential.

Still are these two Gaussian or Mean curvatures?

Thank you for the reply.

I can't tell you directly which algorithm is used.

fortunately GRASS GIS is open source; so maybe have a look at the source
code to check:

r.slope.aspect:

https://trac.osgeo.org/grass/browser/grass/trunk/raster/r.slope.aspect/main.c

or

r.resamp.rst

https://trac.osgeo.org/grass/browser/grass/trunk/raster/r.resamp.rst/main.c

HTH

also r.param.scale:
https://trac.osgeo.org/grass/browser/grass/trunk/raster/r.param.scale/

IIUC, Gaussian and Mean curvatures are based on principal curvatures.
Principal curvatures in turn are calculated for an orthonormal basis.
r.param.scale calculates different principal curvatures for different
bases (z-axis and the surface normal vector). You can obtain Gaussian
or Mean curvatures from these principal curvatures.

Markus M

You find the formulas used for the r.slope.aspect and r.resamp.rst
implementations in the GRASS book, 3rd edition, 2008, Springer,
Appendix pages 371-376.

Best,
Markus
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Dear Mrs. Patrasova, Mr. Metz, Mr. Kudrnovsky, Mr. Neteler,

Thank you all for the replies!!

@ Mr. Metz:
So curvature analysis in GRASS are neither Gaussian nor Mean curvature analysis types? Did I understand that correctly?

@ Mr. Kudrnovsky, Mrs. Patrasova:
Both source codes seem to mention the profile and tangential curvature.

@Mr. Neteler:
The book is a bit expensive (for my country) but seems to be quite good as well!

I also not sure just looking at the equations would help me identify whether it is Gaussian or Mean curvature type, due to my non-mathematical non-GIS background.

Kind regards,
Djordje Spasic

On Wed, Sep 14, 2016 at 1:07 AM, Djordje Spasic <issworld2000@yahoo.com> wrote:

Dear Mrs. Patrasova, Mr. Metz, Mr. Kudrnovsky, Mr. Neteler,

Thank you all for the replies!!

@ Mr. Metz:
So curvature analysis in GRASS are neither Gaussian nor Mean curvature
analysis types? Did I understand that correctly?

You can do both in GRASS. Get the principal curvatures you need with
one of the previously mentioned modules, then calculate Gaussian (K1 *
K2) and/or Mean ((K1 + K2) / 2) curvature.

Markus M

@ Mr. Kudrnovsky, Mrs. Patrasova:
Both source codes seem to mention the profile and tangential curvature.

@Mr. Neteler:
The book is a bit expensive (for my country) but seems to be quite good as
well!
I also not sure just looking at the equations would help me identify whether
it is Gaussian or Mean curvature type, due to my non-mathematical non-GIS
background.

Kind regards,
Djordje Spasic

Dear Mr. Metz,

Thank you for the useful reply.
I now understand that one can perform Gaussian and Mean curvature analysis in GRASS, thanks to you.

But neither profile nor tangential GRASS curvatures are Gaussian nor Mean curvatures?
Did I understand that correctly?

Kind regards,
Djordje Spasic

On Wed, Sep 14, 2016 at 9:20 AM, Markus Metz
<markus.metz.giswork@gmail.com> wrote:

On Wed, Sep 14, 2016 at 1:07 AM, Djordje Spasic <issworld2000@yahoo.com> wrote:

Dear Mrs. Patrasova, Mr. Metz, Mr. Kudrnovsky, Mr. Neteler,

Thank you all for the replies!!

@ Mr. Metz:
So curvature analysis in GRASS are neither Gaussian nor Mean curvature
analysis types? Did I understand that correctly?

You can do both in GRASS. Get the principal curvatures you need with
one of the previously mentioned modules, then calculate Gaussian (K1 *
K2) and/or Mean ((K1 + K2) / 2) curvature.

Related FWD from Helena, supporting above:

On Wed, Sep 14, 2016 at 1:08 AM, Helena Mitasova <hmitaso@ncsu.edu> wrote:

No it is neither gaussian, nor mean. v. surf.rst outputs also mean. But any
curvature can be computed using the second order derivatives output and map
algebra. It would be also relatively easy to add mean and gaussian curvature
to the outputs.

...

Helena

Dear Mr. Neteler,

Thank you for the help.