You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the erode function with a diamond shape structuring element, but the output doesn't look like what I expected. I'm working with 3D masks. Here is a minimal example with 3x3x3 showing the unexpected result.
Explanation:
The center voxel image[2,2,2] should be 0 after erosion (It is connected to image[2,2,3]==0).
In the output of erode, the voxel eroded[2,2,2]==1 though, which is not what I expected.
I'm using the erode function with a diamond shape structuring element, but the output doesn't look like what I expected. I'm working with 3D masks. Here is a minimal example with 3x3x3 showing the unexpected result.
Explanation:
The center voxel
image[2,2,2]
should be 0 after erosion (It is connected toimage[2,2,3]==0
).In the output of
erode
, the voxeleroded[2,2,2]==1
though, which is not what I expected.The text was updated successfully, but these errors were encountered: