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

Threshold in percentage #52

Open
jeaunrg opened this issue Jun 27, 2021 · 1 comment
Open

Threshold in percentage #52

jeaunrg opened this issue Jun 27, 2021 · 1 comment

Comments

@jeaunrg
Copy link
Collaborator

jeaunrg commented Jun 27, 2021

To apply a threshold in percentage, how do we calculate the true threshold ?

  1. For instance for 50%, does it mean that 50% of pixels value must be underneath ?
  2. Is it the percentage on pixel possible values 0% = 0, 100% = 255, 50 % = 127.5
  3. Is it the percentage on image dispersion 0% = minimum, 100% = maximum and 50 % = (mean of min and max)

I would opt for the 3.

@Hboni
Copy link
Owner

Hboni commented Jun 29, 2021

For me I thought about option 3, which seems more logical for me. If you agree we can do it like that 👍

jeaunrg added a commit that referenced this issue Jul 3, 2021
* enormous update from my 1 month project (CDD)

* update requirements

* update pytest

* handle 2D image and update pytest

* update save/open/new project with .iag files

iag (image analysis graph) are json-like files and contains project settings.

* prepare for multiple graphs

* allow to open/save multiple project on same app

* update pytest

* fix pytest

* update process/thread handle and comment

* delete session folder

* fix compilation issue

* [#46] handle colored images

* Fixes test about click & foots

* Update text file test

* Let all codecov checks only be informational

* explain menu from dict

* Add thresholding with percentage

* [#52] Add thresholding with percentage

* [#52] Add thresholding with percentage

* dictionnary to dictionary

* Remove unecessary requirement

* empty filenames

Co-authored-by: Hboni <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants