CustusX
22.04-rc5
An IGT application
|
#include <intersection.hpp>
Public Member Functions | |
Intersection () | |
const Spline3D< T > * | getSpline () const |
void | setSpline (const Spline3D< T > *spline) |
T | getParameterPosition () const |
void | setParameterPosition (T t) |
T | getCosTheta () const |
void | setCosTheta (T t) |
void | setPoints (const vector< T > &points) |
void | setPoints (vector< T > &&points) |
vector< T > & | getPoints () |
T | getAverage () |
void | setValid (bool valid) |
bool | isValid () const |
const MetaImage< inData_t > * | getMetaImage () const |
void | setMetaImage (const MetaImage< inData_t > *img) |
void | evaluate (T p[3]) const |
T | getOrigAvgValue () |
void | correctAliasing (T direction, T Vnyq) |
T | sampleWeight (const T A, const T a, const T b) const |
T | estimateVelocitySimple () |
void | regionGrow () |
Class to represent an intersection between an image and a spline curve
Definition at line 17 of file intersection.hpp.
|
inline |
Initialize everything to 0, false or NULL
Definition at line 24 of file intersection.hpp.
|
inline |
Perform aliasing correction on the image data of this intersection
direction | Direction (relative to parameter of spline) the blood is assumed to flow |
Vnyq | the nyquist velocity |
Definition at line 209 of file intersection.hpp.
|
inline |
Return the simple velocity estimation for this image
Definition at line 267 of file intersection.hpp.
|
inline |
Convenience method to evaluate the spline
Definition at line 185 of file intersection.hpp.
|
inline |
Get the (cached) average of the region growed points
Definition at line 132 of file intersection.hpp.
|
inline |
Get the cosTheta value of the intersection (cos(theta) where theta is the angle between the acquisition direction and the derivative of the curve
Definition at line 81 of file intersection.hpp.
|
inline |
Get pointer to the meta image the spline intersects
Definition at line 164 of file intersection.hpp.
|
inline |
Get original average value (pre aliasing correction)
Definition at line 198 of file intersection.hpp.
|
inline |
Get the spline curve parameter position of the intersection
Definition at line 60 of file intersection.hpp.
|
inline |
Set the points associated with this intersection (i.e. the region-grown points)
Definition at line 123 of file intersection.hpp.
|
inline |
Retrieve the intersecting spline curve
Definition at line 40 of file intersection.hpp.
|
inline |
Check if this intersection is valid
Definition at line 154 of file intersection.hpp.
|
inline |
Region grow the meta image
Definition at line 281 of file intersection.hpp.
|
inline |
Compute the sample weight for the image in this intersection
A | The factor with which to multiply the sample weighting function |
a | lower abs(cosTheta) cutoff |
b | upper abs(cosTheta) cutoff |
Definition at line 242 of file intersection.hpp.
|
inline |
Set the cosTheta value of the intersection
t | the cosTheta value |
Definition at line 91 of file intersection.hpp.
|
inline |
Set the meta image of this intersection
img | image |
Definition at line 174 of file intersection.hpp.
|
inline |
Set the parameter position of the intersection
Definition at line 70 of file intersection.hpp.
|
inline |
Set the points associated with this intersection (i.e. the region-grown points)
points | the points |
Definition at line 101 of file intersection.hpp.
|
inline |
Set the points associated with this intersection (i.e. the region-grown points)
points | the points |
Definition at line 112 of file intersection.hpp.
|
inline |
Set the intersecting spline curve
spline | Pointer to the intersecting spline curve |
Definition at line 50 of file intersection.hpp.
|
inline |
Set whether this intersection is valid
valid |
Definition at line 144 of file intersection.hpp.