imagej / imagej-common

ImageJ core data model
https://imagej.net/libs/imagej-common
BSD 2-Clause "Simplified" License
10 stars 18 forks source link

DatasetToDatasetViewConverter: Ensure valid color tables #104

Closed gselzer closed 2 years ago

gselzer commented 2 years ago

Without a call to DatasetView.rebuild(), calls to getColorTables will result in a NullPointerException. By making the call in the converter, we ensure that NPEs will not be encountered.

ctrueden commented 2 years ago

@gselzer Perfect, thanks!