itkSetMacro(FuzzyMapOnlyFlag, bool);
itkBooleanMacro(FuzzyMapOnlyFlag);
+ itkGetConstMacro(FastFlag, bool);
+ itkSetMacro(FastFlag, bool);
+ itkBooleanMacro(FastFlag);
+
+ itkGetConstMacro(Radius, double);
+ itkSetMacro(Radius, double);
+
typename FloatImageType::Pointer GetFuzzyMap() { return m_FuzzyMap; }
// I dont want to verify inputs information
bool m_RemoveObjectFlag;
bool m_CombineWithOrFlag;
bool m_FuzzyMapOnlyFlag;
+ bool m_FastFlag;
+ double m_Radius;
virtual void GenerateOutputInformation();
virtual void GenerateInputRequestedRegion();
VerboseStepFlagOff();
WriteStepFlagOff();
FuzzyMapOnlyFlagOff();
+ FastFlagOff();
+ SetRadius(2.0);
}
//--------------------------------------------------------------------
for(int i=0; i<GetNumberOfAngles(); i++) {
// Compute fuzzy map
relPosFilter = RelPosFilterType::New();
+ relPosFilter->SetFast(GetFastFlag());
+ relPosFilter->SetRadius(GetRadius());
relPosFilter->SetInput(working_image);
relPosFilter->SetAlpha1(m_Angle1[i]); // xy plane
relPosFilter->SetAlpha2(m_Angle2[i]);
relPosFilter->SetK1(M_PI/2.0); // Opening parameter, default = pi/2
- relPosFilter->SetFast(true);
- relPosFilter->SetRadius(1); // seems sufficient in this case
+
+ // relPosFilter->SetFast(true);
+ // relPosFilter->SetRadius(1); // seems sufficient in this case
+
// relPosFilter->SetVerboseProgress(true);
relPosFilter->Update();
relPos = relPosFilter->GetOutput();