#include <iostream>#include <algorithm>#include <string>#include "itkPluginFilterWatcher.h"#include "itkPluginUtilities.h"#include "vtkFloatArray.h"#include "vtkCellArray.h"#include "vtkTransformPolyDataFilter.h"#include "vtkSmartPointer.h"#include "vtkPolyDataWriter.h"#include "vtkTimerLog.h"#include "vtkMath.h"#include "vtkNRRDReader.h"#include "vtkNRRDWriter.h"#include "vtkImageData.h"#include "ROISelectCLP.h"#include "vtkPolyData.h"#include "vtkPointData.h"#include "vtkXMLPolyDataReader.h"#include "vtkTransform.h"#include "vtkXMLPolyDataWriter.h"Functions | |
| int | main (int argc, const char *argv[]) |
Trans from IJK to RAS trans->Inverse(); Take into account spacing to compute Scaled IJK trans->Scale(1/sp[0],1/sp[1],1/sp[2]); now it's RAS to scaled IJK trans->Inverse();
References vtkNRRDReader::GetRasToIjkMatrix(), j, vtkNRRDReader::New(), p, and PARSE_ARGS.
1.6.1