#include <mitkEncodedGradientEstimator.h>
Inherits mitkObject.
Inherited by mitkFiniteDifferenceGradientEstimator.
Inheritance diagram for mitkEncodedGradientEstimator:
mitkEncodedGradientEstimator is an abstract class for gradient estimation. Some codes are borrowed from VTK, and please see the copyright at end.
|
Get the bounds of the computation (used if this->ComputationBounds is 1.) The bounds are specified xmin, xmax, ymin, ymax, zmin, zmax.
|
|
Get the bounds of the computation (used if this->ComputationBounds is 1.) The bounds are specified xmin, xmax, ymin, ymax, zmin, zmax.
|
|
Get the bounds of the computation (used if this->ComputationBounds is 1.) The bounds are specified xmin, xmax, ymin, ymax, zmin, zmax.
|
|
Get the bounds clip value
|
|
Get the max bounds clip value
|
|
Get the min bounds clip value
|
|
Get the circle limits value
|
|
Get the compute gradient magnitude value
|
|
Get the cylinder clip value
|
|
Get the direction encoder used to encode normal directions to fit within two bytes
|
|
Get the encoded normals.
|
|
Get the encoded normals volume (in case of out-of-core data).
|
|
Get the scale and bias for the gradient magnitude
|
|
Get the gradient magnitudes
|
|
Get the scale and bias for the gradient magnitude
|
|
Get the gradient magnitudes volume (in case of out-of-core data).
|
|
Get the scalar input for which the normals will be calculated
|
|
Get the use cylinder clip value
|
|
Get teh zero normal threshold value
|
|
Get the zero pad value
|
|
Get the max zero pad value
|
|
Get the min zero pad value
|
|
Set the bounds of the computation (used if this->ComputationBounds is 1.) The bounds are specified xmin, xmax, ymin, ymax, zmin, zmax.
|
|
Set the bounds of the computation (used if this->ComputationBounds is 1.) The bounds are specified xmin, xmax, ymin, ymax, zmin, zmax.
|
|
Turn on the bounding of the normal computation by the this->Bounds bounding box
|
|
Turn off the bounding of the normal computation by the this->Bounds bounding box |
|
Turn on the bounding of the normal computation by the this->Bounds bounding box |
|
If you don't want to compute gradient magnitudes (but you do want normals for shading) this can be used. Be careful - if if you a non-constant gradient magnitude transfer function and you turn this on, it may crash
|
|
If you don't want to compute gradient magnitudes (but you do want normals for shading) this can be used. Be careful - if if you a non-constant gradient magnitude transfer function and you turn this on, it may crash |
|
If you don't want to compute gradient magnitudes (but you do want normals for shading) this can be used. Be careful - if if you a non-constant gradient magnitude transfer function and you turn this on, it may crash |
|
If the data in each slice is only contained within a circle circumscribed within the slice, and the slice is square, then don't compute anything outside the circle. This circle through the slices forms a cylinder.
|
|
If the data in each slice is only contained within a circle circumscribed within the slice, and the slice is square, then don't compute anything outside the circle. This circle through the slices forms a cylinder. |
|
If the data in each slice is only contained within a circle circumscribed within the slice, and the slice is square, then don't compute anything outside the circle. This circle through the slices forms a cylinder. |
|
Set the direction encoder used to encode normal directions to fit within two bytes
|
|
Set the scale and bias for the gradient magnitude
|
|
Set the scale and bias for the gradient magnitude
|
|
Set the scalar input for which the normals will be calculated
|
|
Set the ZeroNormalThreshold - this defines the minimum magnitude of a gradient that is considered sufficient to define a direction. Gradients with magnitudes at or less than this value are given a "zero normal" index. These are handled specially in the shader, and you can set the intensity of light for these zero normals in the gradient shader.
|
|
Assume that the data value outside the volume is zero when computing normals.
|
|
Assume that the data value outside the volume is zero when computing normals. |
|
Assume that the data value outside the volume is zero when computing normals. |
|
Recompute the encoded normals and gradient magnitudes. |