Fraxinus  22.09
An IGT application
cxBronchoscopyRegistration.cpp File Reference
#include "cxBronchoscopyRegistration.h"
#include <vtkPointData.h>
#include <vtkPolyData.h>
#include <vtkPolyDataWriter.h>
#include <vtkCellArray.h>
#include <vtkMatrix4x4.h>
#include <vtkLinearTransform.h>
#include <vtkLandmarkTransform.h>
#include "cxTransform3D.h"
#include "cxVector3D.h"
#include "cxLogger.h"
#include <boost/math/special_functions/fpclassify.hpp>

Go to the source code of this file.

Namespaces

 cx
 Namespace for all CustusX production code.
 

Functions

M4Vector cx::excludeClosePositions (M4Vector Tnavigation)
 
Eigen::VectorXd cx::sortVector (Eigen::VectorXd v)
 
Eigen::VectorXd cx::findMedian (Eigen::MatrixXd matrix)
 
std::pair< Eigen::MatrixXd, Eigen::MatrixXd > cx::findPositionsWithSmallesAngleDifference (int percentage, Eigen::VectorXd DAngle, Eigen::MatrixXd trackingPositions, Eigen::MatrixXd nearestCTPositions)
 
vtkPointsPtr cx::convertTovtkPoints (Eigen::MatrixXd positions)
 
Eigen::Matrix4d cx::performLandmarkRegistration (vtkPointsPtr source, vtkPointsPtr target)
 
std::vector< Eigen::MatrixXd::Index > cx::dsearch2n (Eigen::MatrixXd pos1, Eigen::MatrixXd pos2, Eigen::MatrixXd ori1, Eigen::MatrixXd ori2)
 
std::pair< Eigen::MatrixXd, Eigen::MatrixXd > cx::RemoveInvalidData (Eigen::MatrixXd positionData, Eigen::MatrixXd orientationData)
 
M4Vector cx::RemoveInvalidData (M4Vector T_vector)
 
Eigen::Matrix4d cx::registrationAlgorithm (BranchListPtr branches, M4Vector Tnavigation, Transform3D old_rMpr)
 
Eigen::Matrix4d cx::registrationAlgorithmImage2Image (BranchListPtr branchesFixed, BranchListPtr branchesMoving)
 
Eigen::MatrixXd cx::makeTransformedMatrix (vtkPolyDataPtr linesPolyData, Transform3D rMd)
 makeTransformedMatrix This method takes an vtkpolydata as input, runs it through a transform and returns it on an eigen matrix format. Typically used on a centerline object to get it on the matrix format before using it as input to another method to find its branches. More...