#include <itkFEMImageMetricLoad.h>
Inheritance diagram for itk::fem::ImageMetricLoad:
LoadImageMetric computes FEM gravity loads by using derivatives provided by itkImageToImageMetrics (e.g. mean squares intensity difference.) The function responsible for this is called Fg, as required by the FEMLoad standards. It takes a vnl_vector as input. We assume the vector input is of size 2*ImageDimension. The 0 to ImageDimension-1 elements contain the position, p, in the reference (moving) image. The next ImageDimension to 2*ImageDimension-1 elements contain the value of the vector field at that point, v(p).
Then, we evaluate the derivative at the point p+v(p) with respect to some region of the target (fixed) image by calling the metric with the translation parameters as provided by the vector field at p. The metrics return both a scalar similarity value and vector-valued derivative. The derivative is what gives us the force to drive the FEM registration. These values are computed with respect to some region in the Target image. This region size may be set by the user by calling SetMetricRadius. As the metric derivative computation evolves, performance should improve and more functionality will be available (such as scale selection).
Definition at line 92 of file itkFEMImageMetricLoad.h.
|
Definition at line 131 of file itkFEMImageMetricLoad.h. |
|
Const pointer or SmartPointer to an object. Reimplemented from itk::fem::LoadElement. Definition at line 94 of file itkFEMImageMetricLoad.h. |
|
Definition at line 142 of file itkFEMImageMetricLoad.h. |
|
Definition at line 161 of file itkFEMImageMetricLoad.h. |
|
Definition at line 144 of file itkFEMImageMetricLoad.h. |
|
Float type used in Element and derived classes Reimplemented from itk::fem::LoadElement. Definition at line 98 of file itkFEMImageMetricLoad.h. Referenced by itk::fem::ImageMetricLoad< ImageType, ImageType >::GetMetricGradientImage(), itk::fem::ImageMetricLoad< ImageType, ImageType >::GetSolution(), and itk::fem::ImageMetricLoad< ImageType, ImageType >::SetSign(). |
|
Gradient filtering Definition at line 180 of file itkFEMImageMetricLoad.h. |
|
Gradient filtering Definition at line 177 of file itkFEMImageMetricLoad.h. |
|
Gradient filtering Definition at line 176 of file itkFEMImageMetricLoad.h. |
|
Gradient filtering Definition at line 174 of file itkFEMImageMetricLoad.h. |
|
Definition at line 134 of file itkFEMImageMetricLoad.h. |
|
Definition at line 169 of file itkFEMImageMetricLoad.h. |
|
Definition at line 163 of file itkFEMImageMetricLoad.h. |
|
Definition at line 152 of file itkFEMImageMetricLoad.h. |
|
Type of supported metrics. Definition at line 147 of file itkFEMImageMetricLoad.h. |
|
Definition at line 148 of file itkFEMImageMetricLoad.h. Referenced by itk::fem::ImageMetricLoad< ImageType, ImageType >::GetMetricGradientImage(). |
|
Definition at line 150 of file itkFEMImageMetricLoad.h. |
|
Definition at line 154 of file itkFEMImageMetricLoad.h. |
|
Definition at line 162 of file itkFEMImageMetricLoad.h. |
|
Definition at line 156 of file itkFEMImageMetricLoad.h. |
|
Definition at line 130 of file itkFEMImageMetricLoad.h. |
|
Pointer or SmartPointer to an object. Reimplemented from itk::fem::LoadElement. Definition at line 94 of file itkFEMImageMetricLoad.h. |
|
Gradient filtering Definition at line 172 of file itkFEMImageMetricLoad.h. |
|
Definition at line 101 of file itkFEMImageMetricLoad.h. |
|
Definition at line 117 of file itkFEMImageMetricLoad.h. |
|
Definition at line 115 of file itkFEMImageMetricLoad.h. |
|
Definition at line 102 of file itkFEMImageMetricLoad.h. Referenced by itk::fem::ImageMetricLoad< ImageType, ImageType >::GetMetricGradientImage(). |
|
Definition at line 119 of file itkFEMImageMetricLoad.h. Referenced by itk::fem::ImageMetricLoad< ImageType, ImageType >::GetMetricGradientImage(), and itk::fem::ImageMetricLoad< ImageType, ImageType >::GetTargetImage(). |
|
Definition at line 100 of file itkFEMImageMetricLoad.h. Referenced by itk::fem::ImageMetricLoad< ImageType, ImageType >::SetMetric(). |
|
Definition at line 132 of file itkFEMImageMetricLoad.h. |
|
Definition at line 128 of file itkFEMImageMetricLoad.h. |
|
Definition at line 111 of file itkFEMImageMetricLoad.h. |
|
Standard Self typedef. Reimplemented from itk::fem::LoadElement. Definition at line 94 of file itkFEMImageMetricLoad.h. |
|
Standard Superclass typedef. Reimplemented from itk::fem::LoadElement. Definition at line 94 of file itkFEMImageMetricLoad.h. |
|
Definition at line 105 of file itkFEMImageMetricLoad.h. |
|
Definition at line 123 of file itkFEMImageMetricLoad.h. |
|
Definition at line 121 of file itkFEMImageMetricLoad.h. |
|
Definition at line 104 of file itkFEMImageMetricLoad.h. Referenced by itk::fem::ImageMetricLoad< ImageType, ImageType >::GetMetricGradientImage(). |
|
Definition at line 125 of file itkFEMImageMetricLoad.h. |
|
Definition at line 103 of file itkFEMImageMetricLoad.h. |
|
Definition at line 133 of file itkFEMImageMetricLoad.h. |
|
Definition at line 129 of file itkFEMImageMetricLoad.h. |
|
Definition at line 112 of file itkFEMImageMetricLoad.h. |
|
Definition at line 143 of file itkFEMImageMetricLoad.h. |
|
Definition at line 135 of file itkFEMImageMetricLoad.h. |
|
|
|
Virtual function to access the class ID Reimplemented from itk::fem::LoadElement. Definition at line 94 of file itkFEMImageMetricLoad.h. |
|
Create a new object from the existing one Reimplemented from itk::fem::LoadElement. |
|
|
|
Compute the image based load - implemented with ITK metric derivatives. |
|
Compute the image based load - implemented with ITK metric derivatives. |
|
This method returns the total metric evaluated over the image with respect to the current solution. |
|
Set/Get the metric gradient image Definition at line 286 of file itkFEMImageMetricLoad.h. |
|
Get the metric region size. Definition at line 225 of file itkFEMImageMetricLoad.h. |
|
Set/Get methods for the number of integration points to use in each 1-dimensional line integral when evaluating the load. This value is passed to the load implementation. Definition at line 232 of file itkFEMImageMetricLoad.h. |
|
This method returns the total metric evaluated over the image with respect to the current solution. |
|
Definition at line 218 of file itkFEMImageMetricLoad.h. |
|
Definition at line 260 of file itkFEMImageMetricLoad.h. |
|
Sets the pointer to solution vector. This function is automatically called by the Solver class on every load object. Some types of external Loads may need access to previous values of solution vector. If a derived class needs that, it should implement this function, and store the passed pointer accordingly. If the result vector is not required, the functionn should be left unimplemented, so that only the dummy implementation in base class is called.
Reimplemented from itk::fem::Load. Definition at line 248 of file itkFEMImageMetricLoad.h. |
|
Definition at line 219 of file itkFEMImageMetricLoad.h. |
|
|
|
Dimensionality of input and output data is assumed to be the same. |
|
|
|
Object creation in an itk compatible way Reimplemented from itk::fem::LoadElement. Definition at line 94 of file itkFEMImageMetricLoad.h. |
|
Definition at line 279 of file itkFEMImageMetricLoad.h. |
|
Scaling of the similarity energy term Definition at line 245 of file itkFEMImageMetricLoad.h. |
|
Set/Get the Metric. Definition at line 188 of file itkFEMImageMetricLoad.h. |
|
Set/Get the metric gradient image Definition at line 285 of file itkFEMImageMetricLoad.h. |
|
Define the metric region size. Definition at line 222 of file itkFEMImageMetricLoad.h. |
|
Definition at line 198 of file itkFEMImageMetricLoad.h. |
|
Define the target (fixed) image. Definition at line 210 of file itkFEMImageMetricLoad.h. |
|
Set/Get methods for the number of integration points to use in each 1-dimensional line integral when evaluating the load. This value is passed to the load implementation. Definition at line 231 of file itkFEMImageMetricLoad.h. |
|
Define the reference (moving) image. Definition at line 191 of file itkFEMImageMetricLoad.h. |
|
Set the direction of the gradient (uphill or downhill). E.g. the mean squares metric should be minimized while NCC and PR should be maximized. Definition at line 238 of file itkFEMImageMetricLoad.h. |
|
Sets the pointer to solution vector. This function is automatically called by the Solver class on every load object. Some types of external Loads may need access to previous values of solution vector. If a derived class needs that, it should implement this function, and store the passed pointer accordingly. If the result vector is not required, the functionn should be left unimplemented, so that only the dummy implementation in base class is called.
Reimplemented from itk::fem::Load. Definition at line 247 of file itkFEMImageMetricLoad.h. |
|
Define the target (fixed) image. Definition at line 205 of file itkFEMImageMetricLoad.h. |
|
Set the sigma in a gaussian measure. Definition at line 241 of file itkFEMImageMetricLoad.h. |
|
Class ID for FEM object factory Reimplemented from itk::fem::LoadElement. Definition at line 94 of file itkFEMImageMetricLoad.h. |