14,081 karma · joined Mar 7, 2014 (12y ago) · 1,887 submissions
comment 7y ago · link · parent
Here's the interesting thing about your observation: doing alpha compositing of text in a perceptual space (as opposed to a linear space) results in a thickening of black-on-white and a thinning of white-on-black. So doing gamma "wrong" actually results in better perceptual matching.
Do you have evidence that either Apple or Adobe varies the amount of stem darkening based on text luminance? I've tested Apple (macOS 10.12 most carefully) and have not seen this.
comment 7y ago · link · parent
This question is less important than the other two, and plausibly the best place to address the effect is in design, rather than rendering.
comment 7y ago · link · parent
Also I totally agree that we need to take into account the perceptual differences between black-on-white and white-on-black even assuming the display technology is perfect. That's one reason doing these studies is not trivial!
comment 7y ago · link · parent
Does this mean that there is not one true right answer for images, as there is for audio[0]? That you should use different reconstruction filters depending on the application. Is it accurate to say that a pixel is not a little square unless you're rendering text, in which case it is?
[0] I know this is a slight oversimplification, if you care deeply about latency you might choose between linear and minimal phase, etc. But for consumer applications it's true enough.
comment 7y ago · link · parent
I basically agree with your points regarding compositing in a linear space, except that I suspect that thin black-on-white lines will come out looking thin and spindly.
comment 7y ago · link · parent
There are two ways this is not true for pixels. First, even for "retina" displays the human visual system can make out spatial frequencies beyond the Nyquist limit of the display (this will vary by viewing distance, so is more of an issue for young people who can get close to their displays). Second, even assuming perfect gamma, the display must clip at black and white because of physical device limitations. Thus, especially for text rendering, only a reconstruction filter with nonnegative support is generally useful. Such a reconstruction filter would be an extremely poor choice for audio.
It is true that many of the underlying signal processing principles are the same, and I encourage people to learn and understand those :)
comment 7y ago · link · parent
We desperately need some research, based in user studies and using modern display technology, to settle some basic questions:
* What reconstruction filter gives the best results? Is it the same for vector (text) and natural images? By "best" I do mean contrast (sharpness) and lack of visible artifacts.
* For rendering of very thin lines (relevant to text), what gamma curve gives the perception of equal line thickness across the range of subpixel phase? How does it vary with display dpi? (Hint: it's likely not linear luminance)
* What gamma curve yields the perception of equal width of black-on-white and white-on-black thin lines (also relevant for text)? (Hint: likely not linear luminance)
I've seen a number of discussions where people feel they are able to answer these questions from first principles, and corresponding arguments that doing these in a "correct" way gives results that are less visually appealing than the common assumptions of treating a pixel as a little square (so doing a box filter for reconstruction) and ignoring gamma so effectively using a perceptual color space for the purposes of alpha compositing.
I posit that these questions cannot be solved by argumentation. I think user studies might not be very difficult to do; you could probably get "good enough" results by doing online surveys, though this wouldn't pass standards of academic rigor.
comment 7y ago · link · parent
The GSoC student project is a GPU compute renderer for 2D graphics. Early experiments (piet-metal) show promise that this could advance the state of the art.
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
ETA: I found that Claire has posted a sampling of these on her site: http://cargocollective.com/clairest/Miscellaneous
comment 7y ago · link · parent
I also highly recommend the talk "CRDTs and the Quest for Distributed Consistency"[0] from Martin Kleppmann, which I believe surveys the landscape in as clear and accessible a manner as I've seen; much of the literature is pretty dense.
comment 7y ago · link · parent
I'm a fan of Drew's work, and also hope to help GPL projects such as Inkscape (I met many such developers at Libre Graphics Meeting). Choose the license that works best for you, and if you can articulate the reasons for your choice, as Drew has done here, even better.
comment 7y ago · link · parent
comment 7y ago · link · parent
Of course, this might sound like a nitpick but only confirms the actual point you were making, that treating text as a sequence of grapheme clusters is often but not always the right way to view the problem.
If you're talking about cursor motion when hitting an arrow key, then yeah, grapheme cluster.
[1]: https://github.com/xi-editor/xi-editor/blob/master/rust/core...
comment 7y ago · link · parent
Having a spiritual practice really helps keep me grounded. Keeping it relevant to the article, it's something I would recommend.
comment 7y ago · link · parent
comment 7y ago · link · parent
For me, "resuming normal life" was going into the PhD program at UC Berkeley at 22. I wasn't the only former child prodigy (hi NJ if you're reading!), wasn't the smartest kid in the room. More importantly, I had peers I could bond with. I keep up with a lot of my grad school friends, not so much from the small town where I grew up.
Btw, here's some publicity from the time (there wasn't much, which I think was very wise of my parents): https://archive.org/details/marybaldwin1980mary/page/9
comment 7y ago · link · parent
I'm not sure I have any useful advice regarding reading, other than doing quite a bit of it (though these days a lot of it is net stuff, which is varied in quality). Lately I've been reading a whole bunch of papers on GPU, both 2D rendering and how GPU's work (the Citadel stuff is a good read). A couple years ago I read a ton of stuff on CRDT's, and while it obviously grabbed my attention at the time, I look back and kinda regret the effort spent on it.
Hope this is at least interesting, if not helpful.
comment 7y ago · link · parent
These days I do independent CS research and open source development, and still enjoy learning. One of my latest projects involves programming GPU compute, and I find it very exciting to grapple with a new computing model.
I don't talk about my early experience that much, but in this thread, feel free to AMA.
comment 7y ago · link · parent
For this to really fly, though, needs to come revenue streams from businesses who depend on open source, rather than other individuals. I'm hopeful this can get there.