Page MenuHomePhabricator

Define default segmentation colors for organs
Closed, ResolvedPublic

Description

Or use a color sequence to avoid similar colors for different segmentations.

Event Timeline

Es gibt eine Stelle, wo Defaultfarben festgelegt werden: in DataTreeNodeFactory::DefaultColorForOrgan(...) in Hexadezimal-Notation (wie z.B. in HTML).

Möchte das vielleicht eine(r) unserer medizinischen Anwender übernehmen? Wie man an die (seltsamen hexadezimalen) Farbwerte kommt, kann ich gerne zeigen.

Wen es interessiert, bitte einfach unten bei "Reassign bug to ..." den eigenen Namen auswählen, dann auf "commit" und mal mit mir wg. der Farben reden.

Maybe we could use the class mitk::ColorSequenceCycleH for this purpose. It generates 36 different colors, where one is easily distinguished from the preceding one.

Ok, that's at least aa first solution, I can implement that.

But I think I would prefer some default colors that are more consistent with anatomical images. I'm just not sure if this would be useful.

Ok, that's at least aa first solution, I can implement that.

But I think I would prefer some default colors that are more consistent with anatomical images. I'm just not sure if this would be useful.

This is not a blocker for the M5 release, but should be considered for the final release.

Defined for some organs at least.

Nicole/Daniel developed some default colors, which are used for planning/videos now. These should be integrated into the planning SW.

Implemented as far as possible. Missing are color definitions for the parts of a resection proposal. Nicole/Daniel defined only colors for the first 4 parts. There are like 20 parts defined, however. I asked them to define colors for the remaining parts as well.

Helpful for finding colors: http://www.colorschemer.com/schemes/

Daniel, could you change the code according to your color definitions? I'll assist if needed.

Changed first definitions as mentioned in comment #8 with revision 15966

Because we never show more than one resection proposal at the same time there is no need to think about more colors for them (actually it is not easy to find so many colors which can be distinguished easily and also look nice). As far as I can see, all necessary things have their defined colors.

This was not only related to resection proposals but rather to segmentations in general. Anja just implemented a new way to define default colors, but as far as I'm informed the default color is red for most anatomical structures.

This bug was meant for the definition of actual colors. Perhaps you or e.g. Deborah could talk to Anja and lookup colors from an anatomical textbook that would both look nice AND are visible/usable. Please let Deborah decide which would be usable for the medical end user.

Reassigned the bug to Anja.
Anja can you please talk with Deborah and ask her for good colors for the anatomical structures.

[SVN revision 21892]
FIX (#1041): Changed default segmentation colors to the colors Deborah had chosen.