JosephCottam / AbstractRendering

Bin-based rendering...for the win!
Other
52 stars 6 forks source link

Guides for Emergent Colors #11

Open JosephCottam opened 11 years ago

JosephCottam commented 11 years ago

The raw visualization definition says "red" and "blue" but it used transparency, so I got some pink and purple...

Use abstract rendering to build a guide that represents those emergent colors.

JosephCottam commented 10 years ago

Partially done on the SCDemo branch. Works for counts. Need to get categorical support.

Categories will probably require taking a "Sampler" object to do correctly. Samplers determine which of the many unique input/output pairs to actually show in the legend. The numeric sampler just samples at even intervals, but the interval space is not as well defined in categories. Probably want pure-category outputs as well as some mixtures up to a certain total number...

JosephCottam commented 10 years ago

Basic framework is done in cee213c21286c4321b25043e25f4a9fb8cbf2a29. Not very GOOD guides yet, but guides none-the less.

Basic strategy is to measure the span of the output color space and divide it up into equal-sized bins. Exemplars that land in the bins are selected from the actual pixels and the corresponding aggregate source-value is used as the label.

Things to look at:

JosephCottam commented 10 years ago

Idea for improved value-selection: