Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions include/itkLabelSetUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,9 @@ doOneDimensionErodeFirstPass(TInIter & inputIterator,
// restructure equation to reduce numerical error
// const RealType magnitude = (magnitudeSign * iscale * iscale)/(2.0 *
// sigma);
const RealType magnitude = (magnitudeSign * iscale * iscale) / (2.0);
const typename TInIter::PixelType initPixelValue = 0.0;
LineBufferType lineBuf(lineLength, 0.0);
LabelBufferType labBuf(lineLength, 0.0);
const RealType magnitude = (magnitudeSign * iscale * iscale) / (2.0);
LineBufferType lineBuf(lineLength, 0.0);
LabelBufferType labBuf(lineLength, 0.0);

inputIterator.SetDirection(direction);
outputIterator.SetDirection(direction);
Expand Down
Loading