diff --git a/reg23Topograms/itkDTRrecon/itkImageProcessor.cpp b/reg23Topograms/itkDTRrecon/itkImageProcessor.cpp index 867ff03..2916db1 100644 --- a/reg23Topograms/itkDTRrecon/itkImageProcessor.cpp +++ b/reg23Topograms/itkDTRrecon/itkImageProcessor.cpp @@ -1443,14 +1443,13 @@ itkImageProcessor::CalculateInternalTransformV2( } itkImageProcessor::TransformType::Pointer -itkImageProcessor::CalculateInternalTransform( +itkImageProcessor::CalculateInternalTransformV2( ImageType3D::PointType m_TranslationOffset, //IEC ImageType3D::PointType m_RotationOffset, //IEC ImageType3D::PointType m_TranslationUser, //IEC ImageType3D::PointType m_RotationUser, //IEC - ImageType3D::PointType m_ProjectionTransformCenter, //LPS - ImageType3D::PointType m_UserTransformCenter, //LPS - ImageType3D::PointType m_OffsetTransformCenter, //LPS + ImageType3D::PointType m_CalibratedProjectionCenter, //LPS + ImageType3D::PointType m_RTIsocenter, //LPS InternalImageType::DirectionType m_IECtoLPSDirections ) { @@ -1469,51 +1468,31 @@ itkImageProcessor::CalculateInternalTransform( ImageType3D::PointType m_RUserLPS = m_IECtoLPSDirections * m_RotationUser; - // Map user to the projection center - TransformType::Pointer m_UserTransform = - MapTransformToNewOrigin ( - m_ProjectionTransformCenter - m_UserTransformCenter, - m_TUserLPS, - m_RUserLPS - ); + TransformType::OutputVectorType translation; + translation[0] = m_TOffsetLPS[0] + m_TUserLPS[0]; + translation[1] = m_TOffsetLPS[1] + m_TUserLPS[1]; + translation[2] = m_TOffsetLPS[2] + m_TUserLPS[2]; + + TransformType::OutputVectorType rotations; + rotations[0] = m_ROffsetLPS[0] + m_RUserLPS[0]; + rotations[1] = m_ROffsetLPS[1] + m_RUserLPS[1]; + rotations[2] = m_ROffsetLPS[2] + m_RUserLPS[2]; // Map offset to the projection center - TransformType::Pointer m_OffsetTransform = + TransformType::Pointer m_outputTransform = MapTransformToNewOrigin ( - m_ProjectionTransformCenter - m_UserTransformCenter, - m_TOffsetLPS, - m_ROffsetLPS + m_CalibratedProjectionCenter - m_RTIsocenter, + translation, + rotations ); - TransformType::Pointer m_OutputTransform = - TransformType::New(); - m_OutputTransform ->SetComputeZYX(true); - m_OutputTransform ->SetIdentity(); + m_outputTransform->SetCenter(m_CalibratedProjectionCenter); - m_OutputTransform->SetTranslation( - m_OffsetTransform->GetTranslation() + - m_UserTransform->GetTranslation() - ); + return m_outputTransform; - m_OutputTransform->SetRotation( - m_OffsetTransform->GetAngleX() + - m_UserTransform->GetAngleX(), - m_OffsetTransform->GetAngleY() + - m_UserTransform->GetAngleY(), - m_OffsetTransform->GetAngleZ() + - m_UserTransform->GetAngleZ() - ); - - m_OutputTransform->SetCenter( - m_ProjectionTransformCenter); - - - //std::cout<GetProjectionOriginLPS(); - //ImageType3D::PointType pFakeIsoLPS = - // m_CTMetaInfo->GetProjectionOriginLPS( - // m_DRTGeometryMetaInfo->GetProjectionCenter1()); + CurrTransform = - CalculateInternalTransform( + CalculateInternalTransformV2( ZeroPoint, ZeroPoint, m_TransformMetaInfo->GetTranslations(), m_TransformMetaInfo->GetRotations(), + m_DRTImage1MetaInfo->GetProjectionOriginLPSZero(), m_DRTImage1MetaInfo->GetProjectionOriginLPS(), - pFakeIsoLPS, - ZeroPoint, IECtoLPS_Directions ); + } else { - CurrTransform = - CalculateInternalTransform( + CurrTransform = CalculateInternalTransformV2( ZeroPoint , m_DRTGeometryMetaInfo->GetIECS2IECScannerR(), m_TransformMetaInfo->GetTranslations(), m_TransformMetaInfo->GetRotations(), - m_DRTImage1MetaInfo->GetProjectionOriginLPS(), - m_RTMetaInfo->GetIsocenterLPS() - m_CTMetaInfo->GetImportOffset(), - m_CTMetaInfo->GetImportOffset(), + m_DRTImage1MetaInfo->GetProjectionOriginLPSZero(), + m_RTMetaInfo->GetIsocenterLPS() - m_CTMetaInfo->GetOriginLPS(), IECtoLPS_Directions ); @@ -1641,6 +1616,7 @@ void itkImageProcessor::InitializeRegistration( ); transform1->SetCenter( m_DRTImage1MetaInfo->GetProjectionOriginLPSZero() ); + /********* END OF CALCULATE INTERNAL TRANSFORM FOR PROJ1 *********/ @@ -1651,37 +1627,31 @@ void itkImageProcessor::InitializeRegistration( ImageType3D::PointType pFakeIsoLPS = m_DRTImage2MetaInfo->GetProjectionOriginLPS(); - //ImageType3D::PointType pFakeIsoLPS = - // m_CTMetaInfo->GetProjectionOriginLPS( - // m_DRTGeometryMetaInfo->GetProjectionCenter2()); + CurrTransform = + CalculateInternalTransformV2( + ZeroPoint, + ZeroPoint, + m_TransformMetaInfo->GetTranslations(), + m_TransformMetaInfo->GetRotations(), + m_DRTImage2MetaInfo->GetProjectionOriginLPSZero(), + m_DRTImage2MetaInfo->GetProjectionOriginLPS(), + IECtoLPS_Directions + ); - - - CurrTransform = - CalculateInternalTransform( - ZeroPoint, - ZeroPoint, - m_TransformMetaInfo->GetTranslations(), - m_TransformMetaInfo->GetRotations(), - m_DRTImage2MetaInfo->GetProjectionOriginLPS(), - pFakeIsoLPS, - ZeroPoint, - IECtoLPS_Directions - ); } else { - CurrTransform = - CalculateInternalTransform( - ZeroPoint , + + CurrTransform = CalculateInternalTransformV2( + ZeroPoint, m_DRTGeometryMetaInfo->GetIECS2IECScannerR(), m_TransformMetaInfo->GetTranslations(), m_TransformMetaInfo->GetRotations(), - m_DRTImage2MetaInfo->GetProjectionOriginLPS(), - m_RTMetaInfo->GetIsocenterLPS() - m_CTMetaInfo->GetImportOffset(), - m_CTMetaInfo->GetImportOffset(), + m_DRTImage2MetaInfo->GetProjectionOriginLPSZero(), + m_RTMetaInfo->GetIsocenterLPS() - m_CTMetaInfo->GetOriginLPS(), IECtoLPS_Directions ); + } transform2->SetComputeZYX(true); transform2->SetIdentity(); @@ -1912,35 +1882,30 @@ void itkImageProcessor::InitializeProjector() if(m_RTMetaInfo == NULL) { - //AAAAAA TODOOOOO CERCA - ImageType3D::PointType pFakeIsoLPS = - m_DRTImage1MetaInfo->GetProjectionOriginLPS(); + CurrTransform = CalculateInternalTransformV2( + ZeroPoint , + ZeroPoint , + m_TransformMetaInfo->GetTranslations(), + m_TransformMetaInfo->GetRotations(), + m_DRTImage1MetaInfo->GetProjectionOriginLPSZero(), + m_DRTImage1MetaInfo->GetProjectionOriginLPS(), + IECtoLPS_Directions + ); - CurrTransform = - CalculateInternalTransform( - ZeroPoint, - ZeroPoint, - m_TransformMetaInfo->GetTranslations(), - m_TransformMetaInfo->GetRotations(), - m_DRTImage1MetaInfo->GetProjectionOriginLPS(), - pFakeIsoLPS, - ZeroPoint, - IECtoLPS_Directions - ); - } else { + } else { - CurrTransform = - CalculateInternalTransform( + + CurrTransform = CalculateInternalTransformV2( ZeroPoint , m_DRTGeometryMetaInfo->GetIECS2IECScannerR(), m_TransformMetaInfo->GetTranslations(), m_TransformMetaInfo->GetRotations(), - m_DRTImage1MetaInfo->GetProjectionOriginLPS(), - m_RTMetaInfo->GetIsocenterLPS() - m_CTMetaInfo->GetImportOffset(), - m_CTMetaInfo->GetImportOffset(), + m_DRTImage1MetaInfo->GetProjectionOriginLPSZero(), + m_RTMetaInfo->GetIsocenterLPS() - m_CTMetaInfo->GetOriginLPS(), IECtoLPS_Directions ); + } @@ -1955,10 +1920,9 @@ void itkImageProcessor::InitializeProjector() CurrTransform->GetAngleZ() ); - transform1->SetCenter( m_DRTImage1MetaInfo->GetProjectionOriginLPSZero() ); -// transform1->Print(std::cout); + // 2D Image 1 interpolator1->SetProjectionAngle( @@ -1969,54 +1933,36 @@ void itkImageProcessor::InitializeProjector() m_DRTGeometryMetaInfo->GetIntensityThreshold() ); interpolator1->SetPanelOffset( m_DRTGeometryMetaInfo->GetPanel1Offset()); - std::cout<< - "00000000000000 IP1 m_DRTGeometryMetaInfo->GetPanel2Offset()" - <GetPanel1Offset()<SetTransform(transform1); interpolator1->Initialize(); - - - //CurrTransform->SetComputeZYX(true); - //CurrTransform->SetIdentity(); - if(m_RTMetaInfo == NULL) { - ImageType3D::PointType pFakeIsoLPS = - m_DRTImage2MetaInfo->GetProjectionOriginLPS(); - - //ImageType3D::PointType pFakeIsoLPS = - // m_CTMetaInfo->GetProjectionOriginLPS( - // m_DRTGeometryMetaInfo->GetProjectionCenter2()); - - CurrTransform = - CalculateInternalTransform( - ZeroPoint, - ZeroPoint, - m_TransformMetaInfo->GetTranslations(), - m_TransformMetaInfo->GetRotations(), - m_DRTImage2MetaInfo->GetProjectionOriginLPS(), - pFakeIsoLPS, - ZeroPoint, - IECtoLPS_Directions - ); + CalculateInternalTransformV2( + ZeroPoint, + ZeroPoint, + m_TransformMetaInfo->GetTranslations(), + m_TransformMetaInfo->GetRotations(), + m_DRTImage2MetaInfo->GetProjectionOriginLPSZero(), + m_DRTImage2MetaInfo->GetProjectionOriginLPS(), + IECtoLPS_Directions + ); + + } else { - CurrTransform = - CalculateInternalTransform( - ZeroPoint , + CurrTransform = CalculateInternalTransformV2( + ZeroPoint, m_DRTGeometryMetaInfo->GetIECS2IECScannerR(), m_TransformMetaInfo->GetTranslations(), m_TransformMetaInfo->GetRotations(), - m_DRTImage2MetaInfo->GetProjectionOriginLPS(), - m_RTMetaInfo->GetIsocenterLPS() - m_CTMetaInfo->GetImportOffset(), - m_CTMetaInfo->GetImportOffset(), + m_DRTImage2MetaInfo->GetProjectionOriginLPSZero(), + m_RTMetaInfo->GetIsocenterLPS() - m_CTMetaInfo->GetOriginLPS(), IECtoLPS_Directions ); - } @@ -2045,25 +1991,10 @@ void itkImageProcessor::InitializeProjector() m_DRTGeometryMetaInfo->GetIntensityThreshold() ); interpolator2->SetPanelOffset( m_DRTGeometryMetaInfo->GetPanel2Offset()); - std::cout<< - "00000000000000 IP2 m_DRTGeometryMetaInfo->GetPanel2Offset()" - <GetPanel2Offset()<SetTransform(transform2); interpolator2->Initialize(); - // // 2D Image 2 - // interpolator2->SetProjectionAngle( - // dtr * - // m_DRTImage2MetaInfo->GetProjectionAngleLPS() ); - // interpolator2->SetFocalPointToIsocenterDistance( - // m_DRTImage2MetaInfo->GetSCD()); - // interpolator2->SetThreshold( - // m_DRTGeometryMetaInfo->GetIntensityThreshold() - // ); - // interpolator2->SetTransform(transform); - // interpolator2->Initialize(); - resampleFilter1 = ResampleFilterType::New(); resampleFilter1->SetInput( @@ -2216,9 +2147,6 @@ void itkImageProcessor::loadRTPlanInfo( ); -// std::cout<< "m_CTMetaInfo->GetImportOffset() " -// <GetImportOffset() <UpdateProjectionGeometryMeta(); this->InitializeProjector(); @@ -2265,11 +2193,11 @@ void itkImageProcessor::UpdateProjectionGeometryMeta(){ IsocenterOffsetLPS = m_CTMetaInfo->ConvertIECPointToLPSPoint( m_DRTGeometryMetaInfo->GetProjectionCenterOffset1()); - std::cout<< "///////////////// PGEOM META BEG ///////////////" <GetProjectionCenter() <GetProjectionCenter() <SetProjectionAngleLPS( this->CalcProjectionAngleLPS( @@ -2328,16 +2256,15 @@ void itkImageProcessor::UpdateProjectionGeometryMeta(){ CalcDRTImageOrigin( m_DRTImage1MetaInfo->GetOrigin(), m_DRTImage1MetaInfo->GetCOV(), - NominalIsocenter_wZcorrectionLPS, + NominalIsocenter_wZcorrectionLPS,//m_DRTImage1MetaInfo->GetProjectionOriginLPS(), this->CalcProjectionAngleLPS( m_CTMetaInfo->GetPatientOrientation(), m_DRTGeometryMetaInfo->GetProjectionAngle1IEC() ), + //m_DRTGeometryMetaInfo->GetProjectionAngle1IEC(),// m_DRTImage1MetaInfo->GetProjectionAngleLPS(), Std_DRT2LPS ) + ); - std::cout<<"CALIBRATION GetOriginLPS "<GetOriginLPS()<SetImageDirectionsLPS( CalcDRTImageDirections( @@ -2348,24 +2275,6 @@ void itkImageProcessor::UpdateProjectionGeometryMeta(){ Std_DRT2LPS) ); -// std::cout<<"IsocenterOffsetLPS"<< IsocenterOffsetLPS <GetSize()"<< m_DRTImage1MetaInfo->GetSize() <GetSpacing()"<< m_DRTImage1MetaInfo->GetSpacing() <GetOrigin()"<< m_DRTImage1MetaInfo->GetOrigin() <CalcProjectionAngleLPS( -// m_CTMetaInfo->GetPatientOrientation(), -// m_DRTGeometryMetaInfo->GetProjectionAngle1IEC() ), -// Std_DRT2LPS -// ) <GetCOV()"<< m_DRTImage1MetaInfo->GetCOV() <GetOriginLPS()"<< m_DRTImage1MetaInfo->GetOriginLPS() <GetProjectionAngleLPS()"<GetProjectionAngleLPS()<GetImageDirectionsLPS()"<< m_DRTImage1MetaInfo->GetImageDirectionsLPS() <SetProjectionOriginLPSZero( CalibratedIsocenterZeroLPS); + m_DRTImage2MetaInfo->SetSizeWithBounds( NULL,//vBounds.data(), m_DRTGeometryMetaInfo->GetDRT2Size(), @@ -2433,8 +2343,6 @@ void itkImageProcessor::UpdateProjectionGeometryMeta(){ Std_DRT2LPS )); - std::cout<<"m_DRTImage2MetaInfo->GetOriginLPS()"<< m_DRTImage2MetaInfo->GetOriginLPS() <SetOriginLPS( CalcDRTImageOrigin( @@ -2459,26 +2367,6 @@ void itkImageProcessor::UpdateProjectionGeometryMeta(){ Std_DRT2LPS) ); -// std::cout<<"IsocenterOffsetLPS"<< IsocenterOffsetLPS <GetSize()"<< m_DRTImage2MetaInfo->GetSize() <GetSpacing()"<< m_DRTImage2MetaInfo->GetSpacing() <GetOrigin()"<< m_DRTImage2MetaInfo->GetOrigin() <CalcProjectionAngleLPS( -// m_CTMetaInfo->GetPatientOrientation(), -// m_DRTGeometryMetaInfo->GetProjectionAngle2IEC() ), -// Std_DRT2LPS -// ) <GetCOV()"<< m_DRTImage2MetaInfo->GetCOV() <GetOriginLPS() - Offset "<< m_DRTImage2MetaInfo->GetOriginLPS() <GetProjectionAngleLPS()"<GetProjectionAngleLPS()<GetImageDirectionsLPS()"<< m_DRTImage2MetaInfo->GetImageDirectionsLPS() <CalcDRTImageDirections(dAngle, stdDRT2LPS); - -// ImageType3D::PointType NewOffset = -// DRT2LPS * (m_DRTOffset); - -// return -// NewOffset; -//} void itkImageProcessor::GetProjectionImages(){ @@ -2549,48 +2421,35 @@ void itkImageProcessor::GetProjectionImages(){ IECtoLPS_Directions = m_CTMetaInfo->GetLPS2IECDirections().GetTranspose(); TransformType::Pointer CurrTransform; - //CurrTransform->SetComputeZYX(true); - //CurrTransform->SetIdentity(); + if(m_RTMetaInfo == NULL) { - - ImageType3D::PointType pFakeIsoLPS = - m_DRTImage1MetaInfo->GetProjectionOriginLPS(); - //m_CTMetaInfo->GetProjectionOriginLPS( - // m_DRTGeometryMetaInfo->GetProjectionCenter()); - -// std::cout<<"pFakeIsoLPS: "<GetTranslations(), m_TransformMetaInfo->GetRotations(), + m_DRTImage1MetaInfo->GetProjectionOriginLPSZero(), m_DRTImage1MetaInfo->GetProjectionOriginLPS(), - pFakeIsoLPS, - ZeroPoint, IECtoLPS_Directions ); + } else { - CurrTransform = - CalculateInternalTransform( + CurrTransform = CalculateInternalTransformV2( ZeroPoint , m_DRTGeometryMetaInfo->GetIECS2IECScannerR(), m_TransformMetaInfo->GetTranslations(), m_TransformMetaInfo->GetRotations(), - m_DRTImage1MetaInfo->GetProjectionOriginLPS(), - m_RTMetaInfo->GetIsocenterLPS() - m_CTMetaInfo->GetImportOffset(), - m_CTMetaInfo->GetImportOffset(), + m_DRTImage1MetaInfo->GetProjectionOriginLPSZero(), + m_RTMetaInfo->GetIsocenterLPS() - m_CTMetaInfo->GetOriginLPS(), IECtoLPS_Directions ); } - std::cout<<"Curr GetCenter"<GetCenter()<GetIsocenterLPS()<SetComputeZYX(true); transform1->SetIdentity(); @@ -2602,22 +2461,9 @@ void itkImageProcessor::GetProjectionImages(){ CurrTransform->GetAngleY(), CurrTransform->GetAngleZ() ); - -// std::cout<< "itkImageProcessor::GetProjectionImages" <SetCenter( m_DRTImage1MetaInfo->GetProjectionOriginLPSZero()); -// std::cout<<"Angle1 "<GetProjectionAngleLPS() <GetProjectionOriginLPSZero() <GetProjectionOriginLPS()<GetProjectionAngleLPS() <GetProjectionOriginLPSZero() <GetProjectionOriginLPS()<Print(std::cout); // The parameters of interpolator1, such as ProjectionAngle and FocalPointToIsocenterDistance @@ -2627,61 +2473,37 @@ void itkImageProcessor::GetProjectionImages(){ interpolator1->Initialize(); - - - transform2->SetComputeZYX(true); transform2->SetIdentity(); - //CurrTransform->SetComputeZYX(true); - //CurrTransform->SetIdentity(); if(m_RTMetaInfo == NULL) { - ImageType3D::PointType pFakeIsoLPS = - m_DRTImage2MetaInfo->GetProjectionOriginLPS(); - //m_CTMetaInfo->GetProjectionOriginLPS( - // m_DRTGeometryMetaInfo->GetProjectionCenter()); - -// std::cout<<"pFakeIsoLPS: "<GetTranslations(), - m_TransformMetaInfo->GetRotations(), - m_DRTImage2MetaInfo->GetProjectionOriginLPS(), - pFakeIsoLPS, - ZeroPoint, - IECtoLPS_Directions - ); - -// std::cout<<"pFakeIsoLPS: "<GetTranslations(), + m_TransformMetaInfo->GetRotations(), + m_DRTImage2MetaInfo->GetProjectionOriginLPSZero(), + m_DRTImage2MetaInfo->GetProjectionOriginLPS(), + IECtoLPS_Directions + ); } else { - CurrTransform = - CalculateInternalTransform( - ZeroPoint , + CurrTransform = CalculateInternalTransformV2( + ZeroPoint, m_DRTGeometryMetaInfo->GetIECS2IECScannerR(), m_TransformMetaInfo->GetTranslations(), m_TransformMetaInfo->GetRotations(), - m_DRTImage2MetaInfo->GetProjectionOriginLPS(), - m_RTMetaInfo->GetIsocenterLPS() - m_CTMetaInfo->GetImportOffset(), - m_CTMetaInfo->GetImportOffset(), + m_DRTImage2MetaInfo->GetProjectionOriginLPSZero(), + m_RTMetaInfo->GetIsocenterLPS() - m_CTMetaInfo->GetOriginLPS(), IECtoLPS_Directions ); - std::cout<<"GGGG CalculateInternalTransform GGG"<GetIECS2IECScannerR()<GetTranslations()<GetRotations()<GetProjectionOriginLPS()<GetIsocenterLPS()<GetImportOffset()<GetIsocenterLPS() - m_CTMetaInfo->GetImportOffset()<GetImportOffset() <GetAngleZ() ); - transform2 ->SetCenter( m_DRTImage2MetaInfo->GetProjectionOriginLPSZero()); - //transform2 ->Print(std::cout); - - - // // The parameters of interpolator2, such as ProjectionAngle and FocalPointToIsocenterDistance // // have been set before registration. Here we only need to replace the initial // // transform with the final transform. interpolator2->SetTransform(transform2); //finalTransform); interpolator2->Initialize(); -// std::cout<<"pFakeIsoLPS: "<Update(); filter2->Update(); imageDRT1In = filter1->GetOutput(); imageDRT2In = filter2->GetOutput(); -// std::cout<< "itkImageProcessor::GetProjectionImages END" <GetInverseTransform()->GetMatrix()<GetInverseTransform()->GetTranslation()<GetOutput()->GetBounds(); - - std::cout<< "-------- Proj 2 --------" <GetOutput()->GetBounds(); +// std::cout<< "-------- Proj 2 --------" <GetOutput(); diff --git a/reg23Topograms/itkDTRrecon/itkImageProcessor.h b/reg23Topograms/itkDTRrecon/itkImageProcessor.h index 18365e7..aba2660 100644 --- a/reg23Topograms/itkDTRrecon/itkImageProcessor.h +++ b/reg23Topograms/itkDTRrecon/itkImageProcessor.h @@ -269,17 +269,30 @@ private: TransformType::Pointer transform, DRTImageMetaInformation::Pointer imageMetaInfo); - TransformType::Pointer - CalculateInternalTransform( - ImageType3D::PointType m_TranslationOffset, - ImageType3D::PointType m_RotationOffset, - ImageType3D::PointType m_TranslationUser, - ImageType3D::PointType m_RotationUser, - ImageType3D::PointType m_ProjectionTransformCenter, - ImageType3D::PointType m_UserTransformCenter, - ImageType3D::PointType m_OffsetTransformCenter, - InternalImageType::DirectionType m_IECtoLPSDirections - ); +// TransformType::Pointer +// CalculateInternalTransform( +// ImageType3D::PointType m_TranslationOffset, +// ImageType3D::PointType m_RotationOffset, +// ImageType3D::PointType m_TranslationUser, +// ImageType3D::PointType m_RotationUser, +// ImageType3D::PointType m_ProjectionTransformCenter, +// ImageType3D::PointType m_UserTransformCenter, +// ImageType3D::PointType m_OffsetTransformCenter, +// InternalImageType::DirectionType m_IECtoLPSDirections +// ); + + /* Calculate the transform used in siddon. + * The isocentric transform is mapped to the calibrated center of projection */ + TransformType::Pointer + CalculateInternalTransformV2( + ImageType3D::PointType m_TranslationOffset, + ImageType3D::PointType m_RotationOffset, + ImageType3D::PointType m_TranslationUser, + ImageType3D::PointType m_RotationUser, + ImageType3D::PointType m_CalibratedProjectionCenter, + ImageType3D::PointType m_RTIsocenter, + InternalImageType::DirectionType m_IECtoLPSDirections + ); TransformType::Pointer CalculateInternalTransformV2( diff --git a/reg23Topograms/itkDTRrecon/itkQtIterationUpdate.h b/reg23Topograms/itkDTRrecon/itkQtIterationUpdate.h index 402c4b6..91e982a 100644 --- a/reg23Topograms/itkDTRrecon/itkQtIterationUpdate.h +++ b/reg23Topograms/itkDTRrecon/itkQtIterationUpdate.h @@ -97,7 +97,7 @@ public: Execute(const itk::Object* object, const itk::EventObject& event) override { if(objIterUpdate->getAbortFlag()){ - std::cout << "Abortisci per piacere" << std::endl; + std::cout << "AbortRequest" << std::endl; objIterUpdate->setAbortFlag(false); throw itk::ProcessAborted(); }