PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPlusUsScanConvertCurvilinear Class Reference

This class performs scan conversion from scan lines for curvilinear probes. More...

#include <src/PlusImageProcessing/vtkPlusUsScanConvertCurvilinear.h>

Inheritance diagram for vtkPlusUsScanConvertCurvilinear:
Inheritance graph
[legend]
Collaboration diagram for vtkPlusUsScanConvertCurvilinear:
Collaboration graph
[legend]

Classes

struct  InterpolatedPoint
 

Public Types

typedef vtkPlusUsScanConvert Superclass
 
- Public Types inherited from vtkPlusUsScanConvert
typedef vtkThreadedImageAlgorithm Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual double GetDistanceBetweenScanlineSamplePointsMm ()
 
const std::vector< InterpolatedPoint > & GetInterpolatedPointArray ()
 
virtual vtkImageData * GetOutput ()
 
virtual double GetRadiusStartMm ()
 
virtual double GetRadiusStopMm ()
 
PlusStatus GetScanLineEndPoints (int scanLineIndex, double scanlineStartPoint_OutputImage[4], double scanlineEndPoint_OutputImage[4])
 
virtual const char * GetTransducerGeometry ()
 
virtual int IsA (const char *type)
 
virtual void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
virtual PlusStatus ReadConfiguration (vtkXMLDataElement *scanConversionElement)
 
virtual void SetOutputImageStartDepthMm (double)
 
virtual void SetRadiusStartMm (double)
 
virtual void SetRadiusStopMm (double)
 
virtual void SetThetaStartDeg (double)
 
virtual void SetThetaStopDeg (double)
 
virtual PlusStatus WriteConfiguration (vtkXMLDataElement *scanConversionElement)
 
- Public Member Functions inherited from vtkPlusUsScanConvert
virtual intGetInputImageExtent ()
 
virtual void GetInputImageExtent (int &, int &, int &, int &, int &, int &)
 
virtual void GetInputImageExtent (int [6])
 
virtual void GetOutputImageExtent (int [6])
 
virtual intGetOutputImageExtent ()
 
virtual void GetOutputImageExtent (int &, int &, int &, int &, int &, int &)
 
virtual FrameSizeType GetOutputImageSizePixel ()
 
virtual void GetOutputImageSpacing (double [3])
 
virtual double * GetOutputImageSpacing ()
 
virtual void GetOutputImageSpacing (double &, double &, double &)
 
virtual char * GetTransducerName ()
 
virtual void SetInputData (vtkDataObject *input)
 
virtual void SetInputImageExtent (int [6])
 
virtual void SetInputImageExtent (int, int, int, int, int, int)
 
virtual void SetOutputImageSpacing (double, double, double)
 
virtual void SetOutputImageSpacing (double [3])
 
virtual void SetTransducerName (const char *)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkPlusUsScanConvertCurvilinearNew ()
 
static vtkPlusUsScanConvertCurvilinearSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkPlusUsScanConvert
static int IsTypeOf (const char *type)
 
static vtkPlusUsScanConvertSafeDownCast (vtkObject *o)
 

Protected Member Functions

virtual void AllocateOutputData (vtkImageData *output, vtkInformation *outInfo, int *uExtent)
 
void ComputeInterpolatedPointArray (int *inputImageExtent, double radiusStartMm, double radiusStopMm, double thetaStartDeg, double thetaStopDeg, int *outputImageExtent, double *outputImageSpacing, double *transducerCenterPixel, double intensityScaling)
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int SplitExtent (int splitExt[6], int startExt[6], int num, int total)
 
virtual void ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int id)
 
 vtkPlusUsScanConvertCurvilinear ()
 
virtual ~vtkPlusUsScanConvertCurvilinear ()
 
- Protected Member Functions inherited from vtkPlusUsScanConvert
 vtkPlusUsScanConvert ()
 
virtual ~vtkPlusUsScanConvert ()
 

Protected Attributes

int InterpInputImageExtent [6]
 
double InterpIntensityScaling
 
std::vector< InterpolatedPointInterpolatedPointArray
 
int InterpOutputImageExtent [6]
 
double InterpOutputImageSpacing [3]
 
double InterpRadiusStartMm
 
double InterpRadiusStopMm
 
double InterpThetaStartDeg
 
double InterpThetaStopDeg
 
double InterpTransducerCenterPixel [2]
 
double OutputImageStartDepthMm
 
double OutputIntensityScaling
 
double RadiusStartMm
 
double RadiusStopMm
 
double ThetaStartDeg
 
double ThetaStopDeg
 
- Protected Attributes inherited from vtkPlusUsScanConvert
int InputImageExtent [6]
 
int OutputImageExtent [6]
 
double OutputImageSpacing [3]
 
double TransducerCenterPixel [2]
 
bool TransducerCenterPixelSpecified
 
char * TransducerName
 

Detailed Description

This class performs scan conversion from scan lines for curvilinear probes.

Definition at line 18 of file vtkPlusUsScanConvertCurvilinear.h.

Member Typedef Documentation

◆ Superclass

Definition at line 22 of file vtkPlusUsScanConvertCurvilinear.h.

Constructor & Destructor Documentation

◆ vtkPlusUsScanConvertCurvilinear()

vtkPlusUsScanConvertCurvilinear::vtkPlusUsScanConvertCurvilinear ( )
protected

Definition at line 38 of file vtkPlusUsScanConvertCurvilinear.cxx.

◆ ~vtkPlusUsScanConvertCurvilinear()

vtkPlusUsScanConvertCurvilinear::~vtkPlusUsScanConvertCurvilinear ( )
protectedvirtual

Definition at line 73 of file vtkPlusUsScanConvertCurvilinear.cxx.

Member Function Documentation

◆ AllocateOutputData()

void vtkPlusUsScanConvertCurvilinear::AllocateOutputData ( vtkImageData *  output,
vtkInformation *  outInfo,
int uExtent 
)
protectedvirtual

Definition at line 243 of file vtkPlusUsScanConvertCurvilinear.cxx.

◆ ComputeInterpolatedPointArray()

void vtkPlusUsScanConvertCurvilinear::ComputeInterpolatedPointArray ( int inputImageExtent,
double  radiusStartMm,
double  radiusStopMm,
double  thetaStartDeg,
double  thetaStopDeg,
int outputImageExtent,
double *  outputImageSpacing,
double *  transducerCenterPixel,
double  intensityScaling 
)
protected

Computes the InterpolatedPointArray from the method arguments. The array is not recomputed if the input arguments are the same as last time.

Definition at line 78 of file vtkPlusUsScanConvertCurvilinear.cxx.

◆ GetClassName()

virtual const char* vtkPlusUsScanConvertCurvilinear::GetClassName ( )
virtual

Reimplemented from vtkPlusUsScanConvert.

◆ GetDistanceBetweenScanlineSamplePointsMm()

double vtkPlusUsScanConvertCurvilinear::GetDistanceBetweenScanlineSamplePointsMm ( )
virtual

Get the distance between two sample points in the scanline, in mm

Implements vtkPlusUsScanConvert.

Definition at line 500 of file vtkPlusUsScanConvertCurvilinear.cxx.

◆ GetInterpolatedPointArray()

const std::vector<InterpolatedPoint>& vtkPlusUsScanConvertCurvilinear::GetInterpolatedPointArray ( )
inline

Retrieve the InterpolatedPointArray (used internally by the thread function)

Definition at line 50 of file vtkPlusUsScanConvertCurvilinear.h.

◆ GetOutput()

vtkImageData * vtkPlusUsScanConvertCurvilinear::GetOutput ( )
virtual

Get the scan converted image

Implements vtkPlusUsScanConvert.

Definition at line 513 of file vtkPlusUsScanConvertCurvilinear.cxx.

◆ GetRadiusStartMm()

virtual double vtkPlusUsScanConvertCurvilinear::GetRadiusStartMm ( )
virtual

◆ GetRadiusStopMm()

virtual double vtkPlusUsScanConvertCurvilinear::GetRadiusStopMm ( )
virtual

◆ GetScanLineEndPoints()

PlusStatus vtkPlusUsScanConvertCurvilinear::GetScanLineEndPoints ( int  scanLineIndex,
double  scanlineStartPoint_OutputImage[4],
double  scanlineEndPoint_OutputImage[4] 
)
virtual

Get the start and end point of the selected scanline transducer surface, the end point is far from the transducer surface.

Parameters
scanLineIndexIndex of the scanline. Starts with 0 (the scanline closest to the marked side of the transducer)
scanlineStartPoint_OutputImageStarting point of the scanline (near the transducer surface), in output image coordinate frame (in pixels)
scanlineEndPoint_OutputImageLast point of the scanline (far from the transducer surface), in output image coordinate frame (in pixels)

Implements vtkPlusUsScanConvert.

Definition at line 472 of file vtkPlusUsScanConvertCurvilinear.cxx.

◆ GetTransducerGeometry()

virtual const char* vtkPlusUsScanConvertCurvilinear::GetTransducerGeometry ( )
inlinevirtual

Implements vtkPlusUsScanConvert.

Definition at line 25 of file vtkPlusUsScanConvertCurvilinear.h.

◆ IsA()

virtual int vtkPlusUsScanConvertCurvilinear::IsA ( const char *  type)
virtual

Reimplemented from vtkPlusUsScanConvert.

◆ IsTypeOf()

static int vtkPlusUsScanConvertCurvilinear::IsTypeOf ( const char *  type)
static

◆ New()

static vtkPlusUsScanConvertCurvilinear* vtkPlusUsScanConvertCurvilinear::New ( )
static

◆ PrintSelf()

void vtkPlusUsScanConvertCurvilinear::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Reimplemented from vtkPlusUsScanConvert.

Definition at line 347 of file vtkPlusUsScanConvertCurvilinear.cxx.

◆ ReadConfiguration()

PlusStatus vtkPlusUsScanConvertCurvilinear::ReadConfiguration ( vtkXMLDataElement *  scanConversionElement)
virtual

Read configuration from xml data. The scanConversionElement is typically in DataCollction/ImageAcquisition/RfProcessing.

Reimplemented from vtkPlusUsScanConvert.

Definition at line 411 of file vtkPlusUsScanConvertCurvilinear.cxx.

◆ RequestInformation()

int vtkPlusUsScanConvertCurvilinear::RequestInformation ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

Definition at line 206 of file vtkPlusUsScanConvertCurvilinear.cxx.

◆ RequestUpdateExtent()

int vtkPlusUsScanConvertCurvilinear::RequestUpdateExtent ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

Definition at line 232 of file vtkPlusUsScanConvertCurvilinear.cxx.

◆ SafeDownCast()

static vtkPlusUsScanConvertCurvilinear* vtkPlusUsScanConvertCurvilinear::SafeDownCast ( vtkObject *  o)
static

◆ SetOutputImageStartDepthMm()

virtual void vtkPlusUsScanConvertCurvilinear::SetOutputImageStartDepthMm ( double  )
virtual

◆ SetRadiusStartMm()

virtual void vtkPlusUsScanConvertCurvilinear::SetRadiusStartMm ( double  )
virtual

Initialize the parameters used in reconstruction. These are for the cases when video source can obtain them from the hardware

◆ SetRadiusStopMm()

virtual void vtkPlusUsScanConvertCurvilinear::SetRadiusStopMm ( double  )
virtual

◆ SetThetaStartDeg()

virtual void vtkPlusUsScanConvertCurvilinear::SetThetaStartDeg ( double  )
virtual

◆ SetThetaStopDeg()

virtual void vtkPlusUsScanConvertCurvilinear::SetThetaStopDeg ( double  )
virtual

◆ SplitExtent()

int vtkPlusUsScanConvertCurvilinear::SplitExtent ( int  splitExt[6],
int  startExt[6],
int  num,
int  total 
)
protectedvirtual

Definition at line 368 of file vtkPlusUsScanConvertCurvilinear.cxx.

◆ ThreadedRequestData()

void vtkPlusUsScanConvertCurvilinear::ThreadedRequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector,
vtkImageData ***  inData,
vtkImageData **  outData,
int  outExt[6],
int  id 
)
protectedvirtual

Definition at line 311 of file vtkPlusUsScanConvertCurvilinear.cxx.

◆ WriteConfiguration()

PlusStatus vtkPlusUsScanConvertCurvilinear::WriteConfiguration ( vtkXMLDataElement *  scanConversionElement)
virtual

Write configuration to xml data. The scanConversionElement is typically in DataCollction/ImageAcquisition/RfProcessing.

Reimplemented from vtkPlusUsScanConvert.

Definition at line 454 of file vtkPlusUsScanConvertCurvilinear.cxx.

Member Data Documentation

◆ InterpInputImageExtent

int vtkPlusUsScanConvertCurvilinear::InterpInputImageExtent[6]
protected

Definition at line 115 of file vtkPlusUsScanConvertCurvilinear.h.

◆ InterpIntensityScaling

double vtkPlusUsScanConvertCurvilinear::InterpIntensityScaling
protected

Definition at line 123 of file vtkPlusUsScanConvertCurvilinear.h.

◆ InterpolatedPointArray

std::vector<InterpolatedPoint> vtkPlusUsScanConvertCurvilinear::InterpolatedPointArray
protected

Each element of this array defines the computation of a pixel in the output (scan converted) image.

Definition at line 113 of file vtkPlusUsScanConvertCurvilinear.h.

◆ InterpOutputImageExtent

int vtkPlusUsScanConvertCurvilinear::InterpOutputImageExtent[6]
protected

Definition at line 120 of file vtkPlusUsScanConvertCurvilinear.h.

◆ InterpOutputImageSpacing

double vtkPlusUsScanConvertCurvilinear::InterpOutputImageSpacing[3]
protected

Definition at line 121 of file vtkPlusUsScanConvertCurvilinear.h.

◆ InterpRadiusStartMm

double vtkPlusUsScanConvertCurvilinear::InterpRadiusStartMm
protected

Definition at line 116 of file vtkPlusUsScanConvertCurvilinear.h.

◆ InterpRadiusStopMm

double vtkPlusUsScanConvertCurvilinear::InterpRadiusStopMm
protected

Definition at line 117 of file vtkPlusUsScanConvertCurvilinear.h.

◆ InterpThetaStartDeg

double vtkPlusUsScanConvertCurvilinear::InterpThetaStartDeg
protected

Definition at line 118 of file vtkPlusUsScanConvertCurvilinear.h.

◆ InterpThetaStopDeg

double vtkPlusUsScanConvertCurvilinear::InterpThetaStopDeg
protected

Definition at line 119 of file vtkPlusUsScanConvertCurvilinear.h.

◆ InterpTransducerCenterPixel

double vtkPlusUsScanConvertCurvilinear::InterpTransducerCenterPixel[2]
protected

Definition at line 122 of file vtkPlusUsScanConvertCurvilinear.h.

◆ OutputImageStartDepthMm

double vtkPlusUsScanConvertCurvilinear::OutputImageStartDepthMm
protected

Depth for start of output image, in mm. If positive then the image fan origin (center of the transducer) is outside the output image.

Definition at line 97 of file vtkPlusUsScanConvertCurvilinear.h.

◆ OutputIntensityScaling

double vtkPlusUsScanConvertCurvilinear::OutputIntensityScaling
protected

Intensity scaling factor from envelope to image

Definition at line 110 of file vtkPlusUsScanConvertCurvilinear.h.

◆ RadiusStartMm

double vtkPlusUsScanConvertCurvilinear::RadiusStartMm
protected

Depth for start of scanline, in mm

Definition at line 100 of file vtkPlusUsScanConvertCurvilinear.h.

◆ RadiusStopMm

double vtkPlusUsScanConvertCurvilinear::RadiusStopMm
protected

Depth for end of scanline, in mm

Definition at line 102 of file vtkPlusUsScanConvertCurvilinear.h.

◆ ThetaStartDeg

double vtkPlusUsScanConvertCurvilinear::ThetaStartDeg
protected

Angle for first scanline in image, in degrees

Definition at line 105 of file vtkPlusUsScanConvertCurvilinear.h.

◆ ThetaStopDeg

double vtkPlusUsScanConvertCurvilinear::ThetaStopDeg
protected

Angle for last scanline in image, in degrees

Definition at line 107 of file vtkPlusUsScanConvertCurvilinear.h.


The documentation for this class was generated from the following files: