double lower = ip.getMinThreshold();
if (lower!=ImageProcessor.NO_THRESHOLD) {
transparencyLower = (int)lower;
transparencyUpper = (int)ip.getMaxThreshold();
}
Calibration cal = imp.getCalibration();
GenericDialog gd = new GenericDialog("3D Projection");
gd.addChoice("Projection Method:", methodList, methodList[projectionMethod]);
gd.addChoice("Axis of Rotation:", axisList, axisList[axisOfRotation]);
//gd.addMessage("");
gd.addNumericField("Slice Spacing ("+cal.getUnits()+"):",cal.pixelDepth,2);
gd.addNumericField("Initial Angle (0-359 degrees):", initAngle, 0);
gd.addNumericField("Total Rotation (0-359 degrees):", totalAngle, 0);
gd.addNumericField("Rotation Angle Increment:", angleInc, 0);
gd.addNumericField("Lower Transparency Bound:", transparencyLower, 0);