File tree Expand file tree Collapse file tree
src/main/java/fiji/plugin/trackmate/gui/editor/labkit/component Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6666import bdv .util .BdvOptions ;
6767import fiji .plugin .trackmate .gui .Icons ;
6868import fiji .plugin .trackmate .gui .editor .labkit .model .TMLabKitModel ;
69- import net .imagej .ImgPlus ;
70- import net .imagej .axis .Axes ;
7169import net .imglib2 .Dimensions ;
7270import net .imglib2 .util .Intervals ;
7371import net .miginfocom .swing .MigLayout ;
@@ -99,12 +97,6 @@ public TMLabKitFrame( final TMLabKitModel model )
9997 {
10098 final ImageLabelingModel imageLabelingModel = model .imageLabelingModel ();
10199
102- // How many sources?
103- final ImgPlus < ? > img = imageLabelingModel .imageForSegmentation ().get ();
104- final int cAxis = img .dimensionIndex ( Axes .CHANNEL );
105- final int nChannels = cAxis < 0 ? 1 : ( int ) img .dimension ( cAxis );
106- final int nSources = nChannels + 1 ; // for the labels
107-
108100 /*
109101 * Here we create a specific config for BDV, so that we can use a custom
110102 * keymap selected not to interfere with the TrackMate-Labkit keymap. I
You can’t perform that action at this time.
0 commit comments