Reference

Table of Contents  ▸  List of Commands  ▸  Matrix Computation  ▸  eigen◀  dijkstra    |    invert  ▶

eigen

Built-in command

No arguments

Description:

Compute the eigenvalues and eigenvectors of selected symmetric matrices or matrix fields.

If one selected image has 3 or 6 channels, it is regarded as a field of 2x2 or 3x3 symmetric matrices,
whose eigen elements are computed at each point of the field.

This command has a tutorial page.

Examples of use:

• Example #1

$ gmic (1,0,0;0,2,0;0,0,3) +eigen
Command: (1,0,0;0,2,0;0,0,3) +eigen
Command: (1,0,0;0,2,0;0,0,3) +eigen
Command: (1,0,0;0,2,0;0,0,3) +eigen

• Example #2

$ gmic image.jpg structuretensors blur 2 eigen split[0] c
Command: image.jpg structuretensors blur 2 eigen split[0] c
Command: image.jpg structuretensors blur 2 eigen split[0] c
Command: image.jpg structuretensors blur 2 eigen split[0] c