Commit f59501a7 authored by Rashad Kanavath's avatar Rashad Kanavath

WRG: silence Wunsed parameter warning with itkNotUsed Macro

parent 6db692e5
......@@ -150,7 +150,7 @@ LabelImageRegionMergingFilter<TInputLabelImage, TInputSpectralImage, TOutputLabe
template <class TInputLabelImage, class TInputSpectralImage, class TOutputLabelImage, class TOutputClusteredImage>
void
LabelImageRegionMergingFilter<TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage>
::EnlargeOutputRequestedRegion( itk::DataObject *output )
::EnlargeOutputRequestedRegion( itk::DataObject *itkNotUsed(output) )
{
// This filter requires all of the output images in the buffer.
for ( unsigned int j = 0; j < this->GetNumberOfOutputs(); j++ )
......
......@@ -151,7 +151,7 @@ LabelImageRegionPruningFilter<TInputLabelImage, TInputSpectralImage, TOutputLabe
template <class TInputLabelImage, class TInputSpectralImage, class TOutputLabelImage, class TOutputClusteredImage>
void
LabelImageRegionPruningFilter<TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage>
::EnlargeOutputRequestedRegion( itk::DataObject *output )
::EnlargeOutputRequestedRegion( itk::DataObject *itkNotUsed(output) )
{
// This filter requires all of the output images in the buffer.
for ( unsigned int j = 0; j < this->GetNumberOfOutputs(); j++ )
......
......@@ -98,7 +98,7 @@ protected:
virtual void GenerateData();
/** Region growing */
virtual void RegionGrowing(const IndexType indexSeed) {}
virtual void RegionGrowing(const IndexType itkNotUsed(indexSeed)) {}
/** Instance region growing filter*/
RegionGrowingFilterPointerType m_RegionGrowingFilter;
......
......@@ -90,7 +90,7 @@ template<class TListSample, class THistogramMeasurement, class TFrequencyContain
typename ListSampleToHistogramListGenerator<TListSample,THistogramMeasurement, TFrequencyContainer>
::DataObjectPointer
ListSampleToHistogramListGenerator<TListSample,THistogramMeasurement, TFrequencyContainer>
::MakeOutput(DataObjectPointerArraySizeType idx)
::MakeOutput(DataObjectPointerArraySizeType itkNotUsed(idx))
{
DataObjectPointer output;
output = static_cast<itk::DataObject*>(HistogramListType::New().GetPointer());
......
......@@ -85,7 +85,7 @@ template<class TListSample, class THistogramMeasurement, class TFrequencyContain
typename ListSampleToVariableDimensionHistogramGenerator<TListSample,THistogramMeasurement, TFrequencyContainer>
::DataObjectPointer
ListSampleToVariableDimensionHistogramGenerator<TListSample, THistogramMeasurement,TFrequencyContainer>
::MakeOutput(unsigned int idx)
::MakeOutput(unsigned int itkNotUsed(idx))
{
DataObjectPointer output;
output = static_cast<itk::DataObject*>(HistogramType::New().GetPointer());
......
......@@ -143,7 +143,7 @@ MeanShiftImageFilter<TInputImage, TOutputImage, TLabeledOutput, TBufferConverter
template <class TInputImage, class TOutputImage, class TLabeledOutput, class TBufferConverter>
void
MeanShiftImageFilter<TInputImage, TOutputImage, TLabeledOutput, TBufferConverter>::EnlargeOutputRequestedRegion( itk::DataObject *output )
MeanShiftImageFilter<TInputImage, TOutputImage, TLabeledOutput, TBufferConverter>::EnlargeOutputRequestedRegion( itk::DataObject *itkNotUsed(output) )
{
// This filter requires all of the output images in the buffer.
......
......@@ -59,7 +59,7 @@ StreamingShrinkImageRegionSplitter
StreamingShrinkImageRegionSplitter::RegionType
StreamingShrinkImageRegionSplitter
::GetSplit(unsigned int i, unsigned int numberOfPieces, const RegionType& region)
::GetSplit(unsigned int i, unsigned int itkNotUsed(numberOfPieces), const RegionType& region)
{
RegionType splitRegion;
IndexType splitIndex;
......
......@@ -164,7 +164,7 @@ TileImageFilter<TImage>
template <class TImage>
void
TileImageFilter<TImage>
::ThreadedGenerateData(const RegionType& outputRegionForThread, itk::ThreadIdType threadId)
::ThreadedGenerateData(const RegionType& outputRegionForThread, itk::ThreadIdType itkNotUsed(threadId))
{
// Retrieve output image pointer
ImageType * outputPtr = this->GetOutput();
......
......@@ -84,7 +84,7 @@ template <class TInputImage, class TOutputImage>
void
VectorImageTo3DScalarImageFilter<TInputImage, TOutputImage>
::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread,
itk::ThreadIdType threadId)
itk::ThreadIdType itkNotUsed(threadId))
{
const InputImageType* inputPtr = this->GetInput();
OutputImageType* outputPtr = this->GetOutput();
......
......@@ -33,7 +33,7 @@ CommandLineArgumentParseResult::CommandLineArgumentParseResult() {}
CommandLineArgumentParseResult::~CommandLineArgumentParseResult() {}
void CommandLineArgumentParseResult
::PrintSelf(std::ostream& itkNotUsed(os), itk::Indent indent) const
::PrintSelf(std::ostream& itkNotUsed(os), itk::Indent itkNotUsed(indent)) const
{
}
......
......@@ -64,7 +64,7 @@ DrawLineSpatialObjectListFilter<TInputImage, TOutputImage>
template <class TInputImage, class TOutputImage>
void
DrawLineSpatialObjectListFilter<TInputImage, TOutputImage>
::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId)
::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType itkNotUsed(threadId))
{
typename InputImageType::ConstPointer input = this->GetInput();
......@@ -280,7 +280,7 @@ void
DrawLineSpatialObjectListFilter<TInputImage, TOutput>
::CropSegment(OutputIndexType *indexToCrop,
OutputIndexType *otherIndex,
const OutputImageRegionType *outputRegionForThread) const
const OutputImageRegionType *itkNotUsed(outputRegionForThread)) const
{
OutputIndexType tempIndex;
......
......@@ -215,7 +215,7 @@ BijectionCoherencyFilter<TDisparityImage,TOutputImage>
template <class TDisparityImage, class TOutputImage>
void
BijectionCoherencyFilter<TDisparityImage,TOutputImage>
::ThreadedGenerateData(const OutputRegionType & outputRegionForThread, itk::ThreadIdType threadId)
::ThreadedGenerateData(const OutputRegionType & outputRegionForThread, itk::ThreadIdType itkNotUsed(threadId))
{
const TDisparityImage * directHmap = this->GetDirectHorizontalDisparityMapInput();
const TDisparityImage * directVmap = this->GetDirectVerticalDisparityMapInput();
......
......@@ -299,18 +299,18 @@ DisparityMapToDEMFilter<TDisparityImage,TInputImage,TOutputDEMImage,TEpipolarGri
lr[0] += static_cast<double>(inputSize[0]);
lr[1] += static_cast<double>(inputSize[1]);
ll[1] += static_cast<double>(inputSize[1]);
rightImgPtr->TransformContinuousIndexToPhysicalPoint(ul,ulp);
rightImgPtr->TransformContinuousIndexToPhysicalPoint(ur,urp);
rightImgPtr->TransformContinuousIndexToPhysicalPoint(ll,llp);
rightImgPtr->TransformContinuousIndexToPhysicalPoint(lr,lrp);
RSTransform2DType::OutputPointType right_ul, right_ur, right_lr, right_ll;
right_ul = rightToGroundTransform->TransformPoint(ulp);
right_ur = rightToGroundTransform->TransformPoint(urp);
right_ll = rightToGroundTransform->TransformPoint(llp);
right_lr = rightToGroundTransform->TransformPoint(lrp);
double left_xmin = std::min(std::min(std::min(left_ul[0],left_ur[0]),left_lr[0]),left_ll[0]);
double left_xmax = std::max(std::max(std::max(left_ul[0],left_ur[0]),left_lr[0]),left_ll[0]);
double left_ymin = std::min(std::min(std::min(left_ul[1],left_ur[1]),left_lr[1]),left_ll[1]);
......@@ -624,7 +624,7 @@ DisparityMapToDEMFilter<TDisparityImage,TInputImage,TOutputDEMImage,TEpipolarGri
typename DisparityMapType::RegionType requestedRegion = horizDisp->GetRequestedRegion();
m_UsedInputSplits = m_InputSplitter->GetNumberOfSplits(requestedRegion, this->GetNumberOfThreads());
m_LeftToGroundTransform = RSTransformType::New();
m_RightToGroundTransform = RSTransformType::New();
......
......@@ -319,7 +319,7 @@ DisparityTranslateFilter<TDisparityImage,TGridImage,TSensorImage,TMaskImage>
template <class TDisparityImage, class TGridImage, class TSensorImage, class TMaskImage>
void
DisparityTranslateFilter<TDisparityImage,TGridImage,TSensorImage,TMaskImage>
::ThreadedGenerateData(const RegionType & outputRegionForThread, itk::ThreadIdType threadId)
::ThreadedGenerateData(const RegionType & outputRegionForThread, itk::ThreadIdType itkNotUsed(threadId))
{
const TGridImage * leftGrid = this->GetInverseEpipolarLeftGrid();
const TGridImage * rightGrid = this->GetDirectEpipolarRightGrid();
......
......@@ -248,7 +248,7 @@ void Multi3DMapToDEMFilter<T3DImage, TMaskImage, TOutputDEMImage>::SetOutputPara
outOrigin[0] = box_xmin + 0.5 * outSpacing[0];
outOrigin[1] = box_ymax + 0.5 * outSpacing[1];
outputPtr->SetOrigin(outOrigin);
// Compute output size
typename TOutputDEMImage::RegionType outRegion;
outRegion.SetIndex(0, 0);
......@@ -536,8 +536,8 @@ void Multi3DMapToDEMFilter<T3DImage, TMaskImage, TOutputDEMImage>::BeforeThreade
template<class T3DImage, class TMaskImage, class TOutputDEMImage>
void Multi3DMapToDEMFilter<T3DImage, TMaskImage, TOutputDEMImage>::ThreadedGenerateData(
const RegionType & outputRegionForThread,
itk::ThreadIdType threadId)
const RegionType & itkNotUsed(outputRegionForThread),
itk::ThreadIdType threadId)
{
TOutputDEMImage * outputPtr = this->GetOutput();
......
......@@ -342,7 +342,7 @@ template <class TDisparityImage, class TOutputImage,
class TMaskImage, class TResidueImage>
void
MultiDisparityMapTo3DFilter<TDisparityImage,TOutputImage,TMaskImage,TResidueImage>
::ThreadedGenerateData(const RegionType & outputRegionForThread, itk::ThreadIdType threadId)
::ThreadedGenerateData(const RegionType & outputRegionForThread, itk::ThreadIdType itkNotUsed(threadId))
{
TOutputImage * outputPtr = this->GetOutput();
TResidueImage * residuePtr = this->GetResidueOutput();
......
......@@ -376,7 +376,7 @@ TDisparityImage,TMaskImage,TBlockMatchingFunctor>
{
itkExceptionMacro(<<"Missing input, need left and right input images.");
}
if (!inHDispPtr)
{
itkExceptionMacro(<<"Input horizontal disparity map is missing");
......@@ -406,7 +406,7 @@ TDisparityImage,TMaskImage,TBlockMatchingFunctor>
{
itkExceptionMacro(<<"Initial horizontal and vertical disparity maps don't have the same size ! Horizontal disparity largest region: "<<inHDispPtr->GetLargestPossibleRegion()<<", vertical disparity largest region: "<<inVDispPtr->GetLargestPossibleRegion());
}
}
template <class TInputImage, class TOutputMetricImage,
......@@ -423,7 +423,7 @@ TDisparityImage,TMaskImage,TBlockMatchingFunctor>
TOutputMetricImage * outMetricPtr = this->GetMetricOutput();
TDisparityImage * outHDispPtr = this->GetHorizontalDisparityOutput();
TDisparityImage * outVDispPtr = this->GetVerticalDisparityOutput();
outMetricPtr->CopyInformation(inHDispPtr);
outHDispPtr->CopyInformation(inHDispPtr);
outVDispPtr->CopyInformation(inHDispPtr);
......@@ -471,7 +471,7 @@ TDisparityImage,TMaskImage,TBlockMatchingFunctor>
TOutputMetricImage * outMetricPtr = this->GetMetricOutput();
TDisparityImage * outHDispPtr = this->GetHorizontalDisparityOutput();
TDisparityImage * outVDispPtr = this->GetVerticalDisparityOutput();
// Retrieve requested region (TODO: check if we need to handle
// region for outHDispPtr)
RegionType outputRequestedRegion = outHDispPtr->GetRequestedRegion();
......
......@@ -561,7 +561,7 @@ std::vector<typename ImageToSIFTKeyPointSetFilter<TInputImage, TOutputPointSet>:
ImageToSIFTKeyPointSetFilter<TInputImage, TOutputPointSet>
::ComputeKeyPointOrientations(const NeighborhoodIteratorType& currentScale,
const unsigned int scale,
const PixelType translation)
const PixelType itkNotUsed(translation))
{
// radius of the neighborhood
unsigned int radius = 4;
......
......@@ -102,7 +102,7 @@ public:
return m_Vcondopt;
}
inline TOutput operator ()(const TInputMultiSpectral& ms,
inline TOutput operator ()(const TInputMultiSpectral& itkNotUsed(ms),
const TInputMultiSpectralInterp& msi,
const TInputPanchro& p)
{
......
......@@ -148,7 +148,7 @@ typename StandardDSCostFunction<TDSValidationFilter>
template <class TDSValidationFilter>
void
StandardDSCostFunction<TDSValidationFilter>
::GetDerivative(const ParametersType & parameters, DerivativeType & derivative) const
::GetDerivative(const ParametersType & itkNotUsed(parameters), DerivativeType & itkNotUsed(derivative)) const
{
//Not necessary for Amoeba Optimizer
itkExceptionMacro(<< "Not Supposed to be used when using Amoeba Optimizer!")
......
......@@ -87,7 +87,7 @@ MDMDNMFImageFilter<TInputImage, TOutputImage>
::Criterion(const MatrixType & X,
const MatrixType & A,
const MatrixType & S,
const double &m_Delt,
const double &itkNotUsed(m_Delt),
const double &m_LambdS,
const double &m_LambdD)
{
......@@ -164,7 +164,7 @@ MDMDNMFImageFilter<TInputImage, TOutputImage>
::EvalGradS(const MatrixType &X,
const MatrixType &A,
const MatrixType &S,
const double &m_Delt,
const double &itkNotUsed(m_Delt),
const double &m_LambdS,
MatrixType & gradS)
{
......@@ -185,7 +185,7 @@ MDMDNMFImageFilter<TInputImage, TOutputImage>
::EvalGradA(const MatrixType &X,
const MatrixType &A,
const MatrixType &S,
const double &m_Delt,
const double &itkNotUsed(m_Delt),
const double &m_LambdD,
MatrixType &gradA)
{
......
......@@ -55,7 +55,7 @@ public:
/** Set the nth component of the pixel. */
static void SetNthComponent(int c, PixelType& pixel, const ComponentType& v)
{ pixel.SetNthComponent(c, v); }
static void SetNthComponent(int c, PixelType & pixel, const PixelType& v)
static void SetNthComponent(int itkNotUsed(c), PixelType & pixel, const PixelType& v)
{ pixel = v; }
/** Return a single scalar value from this pixel. */
......
......@@ -66,16 +66,16 @@ GDALDatasetWrapper::IsJPEG2000() const
GDALDriverManagerWrapper::GDALDriverManagerWrapper()
{
GDALAllRegister();
GDALDriver* driver = 0;
// Ignore incompatible Jpeg2000 drivers (Jasper)
/*
driver = GetGDALDriverManager()->GetDriverByName( "JPEG2000" );
if (driver)
GetGDALDriverManager()->DeregisterDriver( driver );
*/
#ifndef CHECK_HDF4OPEN_SYMBOL
// Get rid of the HDF4 driver when it is buggy
driver = GetGDALDriverManager()->GetDriverByName( "hdf4" );
......@@ -94,7 +94,7 @@ GDALDatasetWrapper::Pointer
GDALDriverManagerWrapper::Open( std::string filename ) const
{
GDALDatasetWrapper::Pointer datasetWrapper;
// first : test if a driver can identify the dataset
GDALDriverH identifyDriverH = GDALIdentifyDriver(filename.c_str(), NULL);
if(identifyDriverH == NULL)
......@@ -102,9 +102,9 @@ GDALDriverManagerWrapper::Open( std::string filename ) const
// don't try to open it and exit
return datasetWrapper;
}
GDALDriver *identifyDriver = static_cast<GDALDriver*>(identifyDriverH);
// check if Jasper will be used
if (strcmp(identifyDriver->GetDescription(),"JPEG2000") == 0)
{
......@@ -113,7 +113,7 @@ GDALDriverManagerWrapper::Open( std::string filename ) const
"(which fails on OTB). Try setting the environment variable GDAL_SKIP"
" in order to avoid this driver.");
}
GDALDatasetH dataset = GDALOpen(filename.c_str(), GA_ReadOnly);
if (dataset != NULL)
......@@ -211,7 +211,7 @@ void GDALOverviewsBuilder::GetGDALResamplingMethod(std::string &resamplingMethod
extern "C"
{
static int CPL_STDCALL otb_UpdateGDALProgress(double dfComplete,
const char *pszMessage,
const char *itkNotUsed(pszMessage),
void * pProgressArg)
{
otb::GDALOverviewsBuilder* _this = (otb::GDALOverviewsBuilder*)pProgressArg;
......@@ -272,4 +272,3 @@ void GDALOverviewsBuilder::Update()
}
} // end namespace otb
......@@ -430,7 +430,7 @@ template <typename T>
bool
itkSetPixelType(ImageIOBase *This,
const std::type_info &ptype,
ImageIOBase::IOComponentType ntype,
ImageIOBase::IOComponentType itkNotUsed(ntype),
std::complex<T> itkNotUsed( dummy ) )
{
if (ptype == typeid(std::complex<short>))
......
......@@ -414,7 +414,7 @@ protected:
/**
* Tests the coherency of the Meta File (especifically band selection) with the image types
*/
virtual void TestBandSelection(std::vector<unsigned int>& bands){}
virtual void TestBandSelection(std::vector<unsigned int>& itkNotUsed(bands)){}
/** GenerateData
* This method will be specialised if template definitions follow:
......
......@@ -153,7 +153,7 @@ protected:
* order to add the appropriated path
*/
virtual void TestFileExistanceAndReadability(std::string& file, FileType fileType);
virtual void TestBandSelection(std::vector<unsigned int>& bands) {}
virtual void TestBandSelection(std::vector<unsigned int>& itkNotUsed(bands)) {}
virtual void GenerateData(void);
......
......@@ -332,7 +332,7 @@ ImageSeriesFileReaderBase<TImage, TInternalImage>
template <class TImage, class TInternalImage>
void
ImageSeriesFileReaderBase<TImage, TInternalImage>
::GenerateData(unsigned int idx)
::GenerateData(unsigned int itkNotUsed(idx))
{
std::ostringstream msg;
msg << "Something wrong... Check the template definition of this class in the program...\n";
......
......@@ -669,7 +669,7 @@ JPEG2000TileCache::~JPEG2000TileCache()
void JPEG2000TileCache::EstimateTileCacheSize(unsigned int originalWidthTile, unsigned int originalHeightTile,
unsigned int nbComponent,
unsigned int precision,
unsigned int itkNotUsed(precision),
unsigned int resolution)
{
this->m_TileCacheSizeInByte = originalWidthTile * originalHeightTile
......
......@@ -484,7 +484,7 @@ KmzProductWriter<TInputImage>
m_ResampleVectorImage->TransformContinuousIndexToPhysicalPoint(indexTile, inputPoint);
outputPoint = m_Transform->TransformPoint(inputPoint);
double east = outputPoint[0];
// Compute center value (lat / long)
indexTile = indexRef;
indexTile[0] += halfSizeTile[0];
......@@ -500,7 +500,7 @@ KmzProductWriter<TInputImage>
m_ResampleVectorImage->TransformContinuousIndexToPhysicalPoint(indexTile, inputPoint);
outputPoint = m_Transform->TransformPoint(inputPoint);
OutputPointType upperLeftCorner = outputPoint;
// Compute lower left corner
indexTile[1] += sizeTile[1];
m_ResampleVectorImage->TransformContinuousIndexToPhysicalPoint(indexTile, inputPoint);
......@@ -634,7 +634,7 @@ KmzProductWriter<TInputImage>
double south,
double east,
double west,
bool extended)
bool itkNotUsed(extended))
{
// Give a name to the root file
std::ostringstream kmlname;
......@@ -883,7 +883,7 @@ KmzProductWriter<TInputImage>
template <class TInputImage>
void
KmzProductWriter<TInputImage>
::GenerateKMLExtended(const std::string& pathname, int depth, int x, int y,
::GenerateKMLExtended(const std::string& pathname, int depth, int itkNotUsed(x), int y,
OutputPointType lowerLeft, OutputPointType lowerRight,
OutputPointType upperRight, OutputPointType upperLeft)
{
......@@ -939,7 +939,7 @@ template <class TInputImage>
void
KmzProductWriter<TInputImage>
::GenerateKML(const std::string& pathname, int depth,
int x, int y, double north, double south,
int itkNotUsed(x), int y, double north, double south,
double east, double west)
{
std::ostringstream kmlname;
......@@ -990,10 +990,10 @@ template <class TInputImage>
void
KmzProductWriter<TInputImage>
::GenerateKMLExtendedWithLink(const std::string& pathname,
int depth, int x, int y, int tileStartX, int tileStartY,
OutputPointType lowerLeft, OutputPointType lowerRight,
OutputPointType upperRight, OutputPointType upperLeft,
double centerLong, double centerLat)
int depth, int itkNotUsed(x), int y, int tileStartX, int tileStartY,
OutputPointType lowerLeft, OutputPointType lowerRight,
OutputPointType upperRight, OutputPointType upperLeft,
double centerLong, double centerLat)
{
std::ostringstream kmlname;
kmlname << pathname;
......@@ -1175,8 +1175,8 @@ template <class TInputImage>
void
KmzProductWriter<TInputImage>
::GenerateKMLWithLink(const std::string& pathname,
int depth, int x, int y, int tileStartX, int tileStartY,
double north, double south, double east, double west, double centerLong, double centerLat)
int depth, int itkNotUsed(x), int y, int tileStartX, int tileStartY,
double north, double south, double east, double west, double centerLong, double centerLat)
{
std::ostringstream kmlname;
kmlname << pathname;
......@@ -1402,7 +1402,7 @@ KmzProductWriter<TInputImage>
template <class TInputImage>
std::string
KmzProductWriter<TInputImage>
::GetCuttenFileName(const std::string& description, unsigned int idx)
::GetCuttenFileName(const std::string& itkNotUsed(description), unsigned int idx)
{
std::string currentImageName;
std::string tempName;
......
......@@ -94,7 +94,7 @@ LibSVMMachineLearningModel<TInputValue,TOutputValue>
template <class TInputValue, class TOutputValue>
void
LibSVMMachineLearningModel<TInputValue,TOutputValue>
::Save(const std::string & filename, const std::string & name)
::Save(const std::string & filename, const std::string & itkNotUsed(name))
{
m_SVMestimator->GetModel()->SaveModel(filename.c_str());
}
......@@ -102,7 +102,7 @@ LibSVMMachineLearningModel<TInputValue,TOutputValue>
template <class TInputValue, class TOutputValue>
void
LibSVMMachineLearningModel<TInputValue,TOutputValue>
::Load(const std::string & filename, const std::string & name)
::Load(const std::string & filename, const std::string & itkNotUsed(name))
{
m_SVMestimator->GetModel()->LoadModel(filename.c_str());
}
......@@ -139,7 +139,7 @@ LibSVMMachineLearningModel<TInputValue,TOutputValue>
template <class TInputValue, class TOutputValue>
bool
LibSVMMachineLearningModel<TInputValue,TOutputValue>
::CanWriteFile(const std::string & file)
::CanWriteFile(const std::string & itkNotUsed(file))
{
return false;
}
......
......@@ -71,7 +71,7 @@ SOMImageClassificationFilter<TInputImage, TOutputImage, TSOMMap, TMaskImage>
template <class TInputImage, class TOutputImage, class TSOMMap, class TMaskImage>
void
SOMImageClassificationFilter<TInputImage, TOutputImage, TSOMMap, TMaskImage>
::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId)
::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType itkNotUsed(threadId))
{
InputImageConstPointerType inputPtr = this->GetInput();
MaskImageConstPointerType inputMaskPtr = this->GetInputMask();
......