Volume Cartographer 2.27.0
|
An image generated by intersecting a plane with a Volume. More...
#include <vc/core/types/Reslice.hpp>
Public Member Functions | |
Reslice (cv::Mat data, const cv::Vec3d &origin, const cv::Vec3d &xvec, const cv::Vec3d &yvec) | |
Construct with image data and plane generation parameters. More... | |
template<typename T > | |
cv::Vec3d | sliceToVoxelCoord (const cv::Point_< T > &resliceCoord) const |
Convert a Reslice coordinate to a Volume coordinate. More... | |
const cv::Mat & | sliceData () const |
Get the Reslice image. More... | |
cv::Mat | draw () const |
Get the Reslice image with an indicator for the middle pixel. More... | |
Private Attributes | |
cv::Mat | sliceData_ |
cv::Vec3d | origin_ |
cv::Vec3d | xvec_ |
cv::Vec3d | yvec_ |
An image generated by intersecting a plane with a Volume.
Generated by Volume::reslice(). Stores the reslice image, as well as the parameters and position of the reslicing plane.
Definition at line 19 of file Reslice.hpp.
|
inline |
cv::Mat volcart::Reslice::draw | ( | ) | const |
Get the Reslice image with an indicator for the middle pixel.
Used by segmentation::LocalResliceSegmentation. For debug purposes only.
|
inline |
Get the Reslice image.
Definition at line 49 of file Reslice.hpp.
|
inline |
Convert a Reslice coordinate to a Volume coordinate.
Definition at line 43 of file Reslice.hpp.
|
private |
3D Volume position for the origin of the Reslice image
Definition at line 65 of file Reslice.hpp.
|
private |
Reslice image
Definition at line 63 of file Reslice.hpp.
|
private |
Vector defining the direction of the Reslice X-axis
Definition at line 67 of file Reslice.hpp.
|
private |
Vector defining the direction of the Reslice Y-axis
Definition at line 69 of file Reslice.hpp.