Skip to content
Snippets Groups Projects
Commit bed04f95 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

COMP: Fixed warning compilations

parent 3edb1909
No related branches found
No related tags found
No related merge requests found
......@@ -380,12 +380,12 @@ MeanShiftImageFilter<TInputImage,TOutputImage,TLabeledOutput,TBufferConverter>
for (LabelType label = 0; label < numRegions;++label)
{
OutputPixelType pixel;
TBufferConverter::FloatArrayToPixel(modes,label*clusteredOutputPtr->GetNumberOfComponentsPerPixel(),
TBufferConverter::FloatArrayToPixel(modes,static_cast<unsigned int>(label*clusteredOutputPtr->GetNumberOfComponentsPerPixel()),
pixel,clusteredOutputPtr->GetNumberOfComponentsPerPixel(),invScale);
// Filling the modes map
m_Modes[label]=pixel;
regionIndeces = regionList->GetRegionIndeces(label);
for (int i = 0; i<regionList->GetRegionCount(label); ++i)
regionIndeces = regionList->GetRegionIndeces(static_cast<int>(label));
for (int i = 0; i<regionList->GetRegionCount(static_cast<int>(label)); ++i)
{
boundIndex[0]= regionIndeces[i] % clusterBoudariesOutputPtr->GetRequestedRegion().GetSize()[0];
boundIndex[1]= regionIndeces[i] / clusterBoudariesOutputPtr->GetRequestedRegion().GetSize()[0];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment