@frauzufall
Below ColorMap implementation is something that we probably should reuse in our repo: https://github.com/fiji/TrackMate3/blob/master/src/main/java/org/mastodon/revised/ui/coloring/ColorMap.java#L40
The input objects for which to get a color are only of kind double, which is too limiting for us because we need to get a color for each Object of any type T. However, I just had a brief look and evidently I am doing a mapping from T to double already in my code, see. e.g., here
https://github.com/tischi/table-utils/blob/master/src/main/java/de/embl/cba/tables/color/LazyCategoryColoringModel.java#L34
Once you pushed the code to this repo I could try making a branch where we are using the Mastodon ColorMap.
What do you think?
@frauzufall
Below
ColorMapimplementation is something that we probably should reuse in our repo: https://github.com/fiji/TrackMate3/blob/master/src/main/java/org/mastodon/revised/ui/coloring/ColorMap.java#L40The input objects for which to get a color are only of kind
double, which is too limiting for us because we need to get a color for eachObjectof any typeT. However, I just had a brief look and evidently I am doing a mapping fromTtodoublealready in my code, see. e.g., herehttps://github.com/tischi/table-utils/blob/master/src/main/java/de/embl/cba/tables/color/LazyCategoryColoringModel.java#L34
Once you pushed the code to this repo I could try making a branch where we are using the Mastodon
ColorMap.What do you think?