-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
morphologie operator clean up #385
Comments
Hey @StRigaud, in general, having a Cheers, |
Yes, not planning to remove them. At best add missing operations like opening and close for binary. Now keeping 'box' and 'sphere' in function name make lots of sense. Deprecation in future will only concerns naming. |
Still working on this, i am noticing an other assymmetry in the code: will put back all to 1 for now |
Here is the current output of the update: legacy with prototype:
new operation:
The generic operation are not super optimised because they are grayscale compatible. You cant have flexibility and speed so that is okay. I could make a binary version which would be a bit quicker but maybe not that necessary for now. @haesleinhuepf one last check on this if you agree before I start merging |
We have a bit of inconsistancy around morphology operation, between grayscale and binary, and how to use them.
From the prototype (same for sphere pattern):
In CLIc, same as the prototype with the following renaming:
This leads now to 2 morphological processing pipeline available:
To this we have to add user request for custom structuring element operations which should run on grayscale and binary. I belive it would be nice to be able to specify any structuring element.
Here is the proposed reorganisation of name with legacy for the prototype
I will try to aim for the following structure:
binary filter with pre-encoded structuring element :
grayscale filter with pre-encoded structuring element :
custom structuring element grayscale (also work on binary):
strel
parameter)strel
parameter)Side question:
strel
element behing renamefootprint
?👋 @haesleinhuepf a quick opinion on this? deprecation of some filters can be done later.
The text was updated successfully, but these errors were encountered: