Skip to content
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

The histogram function is missing a parameter determine_min_max #264

Open
haesleinhuepf opened this issue Oct 16, 2024 · 4 comments
Open
Assignees
Labels
prototype issues raised from removing the prototype

Comments

@haesleinhuepf
Copy link
Member

... which it had in the _prototpye. This is what it does:

https://github.com/clEsperanto/pyclesperanto_prototype/blob/8bd12efd32d2bcdbfc859bcfec85c7a567e17b06/pyclesperanto_prototype/_tier3/_histogram.py#L93-L95

I'm ok with not implementing this, but it must go in the transition guide document otherwise.

@StRigaud
Copy link
Member

did not see the use of the parameter, ok to put it in the transition guide

@StRigaud StRigaud added the prototype issues raised from removing the prototype label Oct 16, 2024
@haesleinhuepf
Copy link
Member Author

did not see the use of the parameter

It's user friendly, because it allows you to determine a histogram without the need to determine min and max before. It's the default in tools like ImageJ ;-)

@StRigaud
Copy link
Member

It's user friendly, because it allows you to determine a histogram without the need to determine min and max before. It's the default in tools like ImageJ ;-)

Yeah, but if you do not provide the min or max, the histogram recompile them already. I find this redondant with default value (on the python side, they are marked as Optionnal) , and unclear for the user actually as is allows to overwrite parameter provided by the user.

It can make sense in ImageJ though as it has a GUI, this is not the case for pyclesperanto.

@haesleinhuepf
Copy link
Member Author

, the histogram recompile them already.

❤️

@StRigaud StRigaud self-assigned this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prototype issues raised from removing the prototype
Projects
None yet
Development

No branches or pull requests

2 participants