Documentation API of the 'ij.process.DownsizeTable' Java class

Class DownsizeTable

  • public class DownsizeTableextends Object
    A table for easier downsizing by convolution with a kernel. Supports the interpolation methods of ImageProcessor: none, bilinear, bicubic Convention used: The left edges of the first pixel are the same for source and destination. E.g. when downsizing by a factor of 2, pixel 0 of the destination takes the space of pixels 0 and 1 of the source. Example for use: Downsizing row 0 of 'pixels' from 'roi.width' to 'destinationWidth'. The input range is given by the roi rectangle. Output is written to row 0 of 'pixels2' (width: 'destinationWidth') DownSizeTable dt = new DownSizeTable(width, roi.x, roi.width, destinationWidth, ImageProcessor.BICUBIC); int tablePointer = 0; for (int srcPoint=dt.srcStart, srcPoint<=dt.srcEnd; srcPoint++) { float v = pixels[srcPoint]; for (int i=0; i

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.