/** Returns the largest displayed pixel value. */ public double getMax() { if (!minMaxSet) findMinAndMax(); return max; }
/** Returns the smallest displayed pixel value. */ public double getMin() { if (!minMaxSet) findMinAndMax(); return min; }
/** Returns the largest displayed pixel value. */ public double getMax() { if (!minMaxSet) findMinAndMax(); return max; }
/** Returns the smallest displayed pixel value. */ public double getMin() { if (!minMaxSet) findMinAndMax(); return min; }
/** Recalculates the min and max values used to scale pixel values to 0-255 for display. This ensures that this FloatProcessor is set up to correctly display the image. */ public void resetMinAndMax() { fixedScale = false; findMinAndMax(); resetThreshold(); }
/** Recalculates the min and max values used to scale pixel values to 0-255 for display. This ensures that this FloatProcessor is set up to correctly display the image. */ public void resetMinAndMax() { fixedScale = false; findMinAndMax(); resetThreshold(); }
public void findMinAndMax() { Utils.printCaller(this, 15); Utils.log2("FPT2.findMinAndMax called"); super.findMinAndMax(); }
break; case ImagePlus.GRAY32: ((FloatProcessor)ip).findMinAndMax(); patch.setMinAndMax(ip.getMin(), ip.getMax()); break;
heightMapProcessor.findMinAndMax(); heightMapProcessor.setMinAndMax(0.0f, Dimensions[3] * myCal.pixelDepth); heightMap.updateAndDraw(); heightMapProcessor.findMinAndMax(); heightMapProcessor.setMinAndMax(heightMapProcessor.getMin(), heightMapProcessor.getMax()); heightMap.updateAndDraw(); qrMapProcessor.findMinAndMax(); qrMapProcessor.setMinAndMax(0.0f, Dimensions[3] * myCal.pixelDepth); qrMap.updateAndDraw(); qrSharpnessProcessor.findMinAndMax(); qrSharpnessProcessor.setMinAndMax(qrMapProcessor.minValue(), qrMapProcessor.maxValue());
fip.findMinAndMax(); fip.setMinAndMax(fip.getMin(), fip.getMax());