Fct_Pixel_Get_Gradient_Dir

 

 

 

 

 

Syntax

 

Vect          (*Fct_Pixel_Gradient_Dir)(

          SliceO_Frame *pt

          void *ima,

          Vect pos,

)

 

 

Parameters

 

pt

Pointer to the class calling the function.

 

ima

Pointer to a Tomo_Image structure, as defined in the SliceO_File class.

 

pos

position of a point in the image plane.

 

Return value

 

This function return the direction of the gradient vector.

 

 

Remarks

 

If the dataset is 3D, then the gradient is 3D.  Otherwise it is a 2D direction.

 

 

Requirements

 

Header:

          sliceO_include.hpp

 

Library:

          sliceO_Structures.lib

 

 

Example

 

 

 

 

See also