Package org.anchoranalysis.plugin.image.bean.scale
package org.anchoranalysis.plugin.image.bean.scale
Implementations of
ScaleCalculator
for calculating
a scaling-factor from dimensions.-
ClassesClassDescriptionScale X and Y dimension by a constant floating-point number.Scales an image to approximately similar in size to a
SizeXY
.Invert theScaleFactor
calculated by thescaleCalculator
delegate.Calculates a scale factor to ensure a minimum XY resolution is achieved.Calculates a scaling-factor to make the source image have identical dimensions asdimensionsTarget
.Scales to the suggested-size if one is provided, otherwise callsfallback
.