We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
So I have the following:
to_normrgb (Takes colors, but not arrays) rgb2uint (takes arrays) any2rgb (takes arrays)
For completeness, need a to_normgray or something. The only time I've needed this so far is in noise._parse intensity()
if img.ndim == 2: r,g,b = intensity intensity = 0.2125 * r + 0.7154 * g + 0.0721 * b
If possible, shouldn't only 2 of these be required:
any2rgb any2uint
The text was updated successfully, but these errors were encountered:
Made any2uint, no super well-tested, but used in mc.from_labels( mapper = ...)
Also any2rgb should handle non-arrays just by wrapping to_normrgb() any2bool also needs there
Sorry, something went wrong.
No branches or pull requests
So I have the following:
to_normrgb (Takes colors, but not arrays)
rgb2uint (takes arrays)
any2rgb (takes arrays)
For completeness, need a to_normgray or something. The only time I've needed this so far is in noise._parse intensity()
If possible, shouldn't only 2 of these be required:
any2rgb
any2uint
The text was updated successfully, but these errors were encountered: