Hi,
What is the algorithm of B&C Auto function. How are the Minimum and Maximum values calculated exactly when Auto button is presses. I am trying to replicate the calculation in Python. Thanks. Best regards, Paul Paul Xiao, Ph.D. ________________________________ This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited. -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Greetings Paul,
perhaps this thread <https://forum.image.sc/t/macro-for-image-adjust-brightness-contrast-auto-button/37157> may help. Looking at the source code is best! Regards Herbie :::::::::::::::::::::::::::::::::::::::: Am 25.11.20 um 18:11 schrieb Xiao, Paul: > Hi, > What is the algorithm of B&C Auto function. How are the Minimum and Maximum values calculated exactly when Auto button is presses. I am trying to replicate the calculation in Python. > Thanks. > > Best regards, > > Paul > > Paul Xiao, Ph.D. > ________________________________ > This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited. > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Xiao, Paul
Dear Paul,
Within ImageJ, when you press the key "l" the command finder window will appear. Within it you can start to write "brightness" but already with "brig" i get as only choice the Brightness/Contrast... tool. And when you select it and press the "Source" button you will directly be linked to the following adress: https://imagej.nih.gov/ij/source/ij/plugin/frame/ContrastAdjuster.java and looking a little bit within the ciode you can find that it is the following method that is doing the job: void autoAdjust(ImagePlus imp, ImageProcessor ip) My best regards, Philippe Philippe CARL Laboratoire de Bioimagerie et Pathologies UMR 7021 CNRS - Université de Strasbourg Faculté de Pharmacie 74 route du Rhin 67401 ILLKIRCH Tel : +33(0)3 68 85 42 89 ----- Le 25 Nov 20, à 18:11, Xiao, Paul [hidden email] a écrit : Hi, What is the algorithm of B&C Auto function. How are the Minimum and Maximum values calculated exactly when Auto button is presses. I am trying to replicate the calculation in Python. Thanks. Best regards, Paul Paul Xiao, Ph.D. ________________________________ This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited. -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |