Skip to content
Snippets Groups Projects
Commit 5d0cc46c authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

WRG: signed-unsigned comparison

parent 698dadd2
Branches
Tags
No related merge requests found
......@@ -373,11 +373,11 @@ MeanShiftImageFilter<TInputImage,TOutputImage,TLabeledOutput,TBufferConverter>
//define the boundaries
RegionList *regionList = edisonProcessor.GetBoundaries();
int *regionIndeces;
unsigned int numRegions = regionList->GetNumRegions();
int numRegions = regionList->GetNumRegions();
typename LabeledOutputType::IndexType boundIndex;
for (LabelType label = 0; label < numRegions;++label)
for (LabelType label = 0; label < numRegions; ++label)
{
OutputPixelType pixel;
TBufferConverter::FloatArrayToPixel(modes,static_cast<unsigned int>(label*clusteredOutputPtr->GetNumberOfComponentsPerPixel()),
......
......@@ -811,7 +811,7 @@ WaveletFilterBank< TInputImage, TOutputImage, TWaveletOperator, INVERSE >
lowPassOperator.SetUpSampleFactor( this->GetUpSampleFilterFactor() );
lowPassOperator.CreateDirectional();
long int radius [ InputImageDimension ];
unsigned long int radius [ InputImageDimension ];
//radius[0] = lowPassOperator.GetRadius()[0];
HighPassOperatorType highPassOperator;
......
......@@ -219,7 +219,7 @@ TerraSarCalibrationComplexImageFunctor<TInput, TOutput>
double outRadBr = static_cast<double>(m_RadarBrightness( modulus ));
double NEBN = 0.;
for(int i=0; i<curCoeff.size(); i++)
for(unsigned int i=0; i<curCoeff.size(); i++)
{
NEBN += curCoeff[i]*vcl_pow( diffCurRange, i);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment