Commit b68f8265 authored by David Thompson's avatar David Thompson Committed by Kitware Robot
Browse files

Merge topic 'fix-label-map-extent-padding'

da4f922d

 Fix extent computation.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !13
parents f5f148b1 da4f922d
......@@ -241,8 +241,8 @@ smtk::model::OperatorResult WriteOperator::writeLabelMap()
}
}
extent[1] = extent[0] + dims[0] - 1;
extent[3] = extent[3] + dims[1] - 1;
extent[5] = extent[5] + dims[2] - 1;
extent[3] = extent[2] + dims[1] - 1;
extent[5] = extent[4] + dims[2] - 1;
pad->SetOutputWholeExtent(extent);
// Write out the data
......
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