Hi,
I'm getting this error only when using Chamfer5, not Chamfer3. The image is at 64bit, single colour, 3D image (582x522x26x1) with 44 ROI spread around. If I specify a single ROI it works OK.
"java.lang.ArrayIndexOutOfBoundsException: 304385
    at plugins.adufour.distancetransforms.Chamfer5.updateUnsignedChamferDistance3D(Chamfer5.java:422)
    at plugins.adufour.distancetransforms.ChamferDistanceTransform.createDistanceMap(ChamferDistanceTransform.java:142)
    at plugins.adufour.distancetransforms.ROIToDistanceMap.execute(ROIToDistanceMap.java:51)
    at plugins.adufour.ezplug.EzPlug.run(EzPlug.java:439)
    at java.lang.Thread.run(Unknown Source)"
I'd like to be able to use the 5x5x5 for increased accuracy!
Cheers
Tamlyn