Skip to content

Commit

Permalink
support additional downsamplings
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanPreibisch committed Feb 28, 2024
1 parent b457def commit f258c69
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public abstract class DifferenceOfGUI extends InterestPointDetectionGUI
{
protected static final int[] ds = { 1, 2, 4, 8, 16, 32, 64 };

public static String[] downsampleChoiceXY = { ds[ 0 ] + "x", ds[ 1 ] + "x", ds[ 2 ] + "x", ds[ 3 ] + "x", "Match Z Resolution (less downsampling)", "Match Z Resolution (more downsampling)" };
public static String[] downsampleChoiceXY = { ds[ 0 ] + "x", ds[ 1 ] + "x", ds[ 2 ] + "x", ds[ 3 ] + "x", ds[ 4 ] + "x", ds[ 5 ] + "x", ds[ 6 ] + "x", "Match Z Resolution (less downsampling)", "Match Z Resolution (more downsampling)" };
public static String[] downsampleChoiceZ = { ds[ 0 ] + "x", ds[ 1 ] + "x", ds[ 2 ] + "x", ds[ 3 ] + "x" };
public static String[] localizationChoice = { "None", "3-dimensional quadratic fit", "Gaussian mask localization fit" };
public static String[] brightnessChoice = { "Very weak & small (beads)", "Weak & small (beads)", "Comparable to Sample & small (beads)", "Strong & small (beads)", "Advanced ...", "Interactive ..." };
Expand Down Expand Up @@ -253,6 +253,12 @@ else if ( dsxy == 2 )
else if ( dsxy == 3 )
downsampleXYIndex = 8;
else if ( dsxy == 4 )
downsampleXYIndex = 16;
else if ( dsxy == 5 )
downsampleXYIndex = 32;
else if ( dsxy == 6 )
downsampleXYIndex = 64;
else if ( dsxy == 7 )
downsampleXYIndex = 0;
else
downsampleXYIndex = -1;
Expand Down

0 comments on commit f258c69

Please sign in to comment.