-
Notifications
You must be signed in to change notification settings - Fork 47
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
Add example images of simulation of color deficiency #413
Conversation
I like the colors 😍 and it's a fantastic image for color2gray algorithms benchmarking, may I add this to TestImages? |
Codecov Report
@@ Coverage Diff @@
## master #413 +/- ##
=======================================
Coverage 81.87% 81.87%
=======================================
Files 11 11
Lines 883 883
=======================================
Hits 723 723
Misses 160 160 Continue to review full report at Codecov.
|
Sure. It is released under the Creative Commons CC0 license. 😄 |
I forgot to erase unnecessary code, so I removed it.:sweat_smile: Since this changes the docs only, I will merge this within a few days if there is no objection. |
It seems likely to be useful for many purposes, not just colors but segmentation algorithms, algorithms inferring depth from blur, etc. And it's just plain beautiful. Thanks, @kimikage! Out of curiosity, why is it an svg? Did you actually generate this image rather that it being a photograph? |
This is a 3d computer-generated image, and post-processed to make some glass beads to be in indistinguishable color pairs. I hated depending on ImageMagick just for these examples, so I decided to use the technique used in the cross-sectional charts (cf. PR #406), i.e. the use of paletted PNGs. However, 256 colors are too few to represent this image. We shouldn't really use the dithering because of the different color spaces from normal vision. Therefore, I adjusted the hues so that they did not deviate significantly. |
I made a mistake on the HTML syntax. 😭 Edit: On my personal github pages, it was accepted (even with syntax errors). I'm going to wait and see. |
occursin("<?xml", line) && continue | ||
if occursin("<svg", line) | ||
line = replace(line, ">"=> | ||
"""width="$width" height="$height" style="display:inline; margin-left:1em; margin-bottom:1em">""") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-"""width="$width"
+""" width="$width"
Updated! 😄 |
The new docs just look fantastic. |
FYI, Documenter 0.24 provides a For example, JuliaImages/juliaimages.github.io#115 |
cf. #398 (comment)