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
This may need a bit of thought...currently we accept conns in some places to mean an structuring element, and in other places we have conns=4|8 in 2D and conns=6|26 3D. However, usually we just want to know if we should included diagonal connections or not. Having to generate a strel each time is a pain. And the 4|8, 6|26 is not dimension agnostic, so maybe conn='min'|'max' is better?
Also note that nphase_border actually has include_diagonals as an argument, which should be changed to whatever is decided.
The text was updated successfully, but these errors were encountered:
This may need a bit of thought...currently we accept
conns
in some places to mean an structuring element, and in other places we haveconns=4|8
in 2D andconns=6|26
3D. However, usually we just want to know if we should included diagonal connections or not. Having to generate a strel each time is a pain. And the 4|8, 6|26 is not dimension agnostic, so maybeconn='min'|'max'
is better?Also note that
nphase_border
actually hasinclude_diagonals
as an argument, which should be changed to whatever is decided.The text was updated successfully, but these errors were encountered: