Skip to content
This repository has been archived by the owner on Oct 31, 2018. It is now read-only.

Make image enhancement configurable. #137

Open
3 tasks done
hajicj opened this issue Dec 7, 2016 · 2 comments
Open
3 tasks done

Make image enhancement configurable. #137

hajicj opened this issue Dec 7, 2016 · 2 comments

Comments

@hajicj
Copy link
Owner

hajicj commented Dec 7, 2016

The image processing settings should be configurable, with a Settings panel of their own.

  • Median filter kernel size
  • Background lightness threshold.
  • Do background thresholding?
@hajicj
Copy link
Owner Author

hajicj commented Dec 7, 2016

The median filter is applied during the enhancements in #135 to find a robust estimate of the intensity range of the image. The median filter kernel size is an integer that defines the size of the window over which to compute the median for a given point. Has to be an odd number (because the square has to have a center pixel). Larger means slower and more robust, but beyond 121 is generally useless. A good range for this robustness purpose is 21 - 121.

@hajicj
Copy link
Owner Author

hajicj commented Dec 7, 2016

The background lightness threshold is applied after the range normalization in #135. It pushes all pixels that are not light enough to the darkest (which is generally 0, after intensity range normalization). "Light enough" means that their intensity is lower than (original lightest - background lightness threshold).

hajicj added a commit that referenced this issue Dec 7, 2016
…ckground lightness threshold are both configurable from an "Image processing" settings panel.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant