unibas-gravis / scalismo-ui

Visualization for Statistical Shape Models and Medical Images based on Scalismo.
GNU General Public License v3.0
22 stars 15 forks source link

Sidebar color pallet error when setting mesh to black #22

Closed madsendennis closed 6 years ago

madsendennis commented 6 years ago

It is currently not possible to set the color value of a mesh/landmark/other to black within scalismo-ui. When doing so in code, this removes the option of further on changing the color value as shown in the attachment:

scalismoui_blackmeshbug

What would be the best way to solve this problem? An additional color intensity bar? Or, setting the color pallet to the standard colors even if black is chosen?

clangguth commented 6 years ago

Essentially, the solution is similar to what's done in the background color setting: you'll need an additional control over the brightness, while letting the color circle select hue and saturation. In other words, there are three dimensions, but one isn't currently controllable in the UI.

I'll take a look at this and come up with an integrated solution, maybe over the weekend.

clangguth commented 6 years ago

Fixed with #24