Commit f3cc9179 authored by Jordi Inglada's avatar Jordi Inglada
Browse files

Solution warnings pour pixel type RGB int

parent 05d235e8
......@@ -74,7 +74,7 @@ DrawPathListFilter<TInputImage,TInputPath,TOutputImage>
InputPathListConstPointerType pathListPtr = this->GetInputPath();
outputPtr->SetRegions(inputPtr->GetLargestPossibleRegion());
outputPtr->Allocate();
outputPtr->FillBuffer(static_cast<OutputImagePixelType>(0));
outputPtr->FillBuffer(itk::NumericTraits<OutputImagePixelType>::Zero);
// First, we copy input to output
typedef itk::ImageRegionIterator<OutputImageType> OutputIteratorType;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment