![]() Public static ImagePlus doScale(ImagePlus imp, String newSize, String interpolationType, String boarderType) Public static ImagePlus addColorBar(ImagePlus imp, String lut, String cbwhere, String cbsize, double fgll, double fgul, String format, Font font, Color fgc, Color bgc)Īdd a properly adorned colorbar of at edge of the image. Public static ImagePlus addLabel(ImagePlus imp, double x, double y, String label, Font font, Color fgc, Color bgc)Īdd label to imp at x,y using font and colors. ![]() Roi(s) need to explicitly identified image(s) will not be queried for Roi(s). Public static ImagePlus doOverlay(ImagePlus bgimp, Roi bgroi, ImagePlus fgimp, Roi fgroi, double wmin, double wmax, String lut)Īpply LUT to Roi'ed DisplayRange'd forground image, overlay on Roi'ed background image and crop to bounding box. Style is the font style to use for the annotations.Ĭolor is the foreground color to use for the annotations.īackground in the overlayed annotation background. If the voxel values are in meters and the annotation is in mm, then set to 1000.įormat is the Java format string used to produce the colorbar annotations.įont is the font family to use for the annotations. Multiplier scales the colorized range before annotating the colorbar. Label is the string to be inserted at the top left of the image. in and out specify the number of voxels added to the attachment proximal and distal side of the colorbar. W and H identify the axial and longitudinal dimension of the colorbar # is in voxels and #% is a fraction of the rescaled image. Size identifies the size and boarder of the colorbar. Interpolation identifies the means by which the image will be scaled.īoarder identifies the location of the source image in the resultant image, i.e., opposite of where to stick the boarder voxels.ĬolorBar identifies if and where a colorbar should be placed. The w and h are columns and rows of voxels added to the resulting image before annotation. W and H are the scaling factor, 1 and 100% are the same. Scale identifies the rescaling of the images that is done before any annotation is performed. If Query is on, then the range will be requeried and set every time a foreground image is selected. Defaults to the display range of the foreground source image. Range is the colorization range that will be used. If the ImageWindow contains an Roi then only the contents of the Roi will be overlayed. If the specified ImageWindow contains an Roi, the image is cropped to the bounding box and cleared outside the Roi, i.e., set to background color.įoreground identifies the foreground image that is colorized. If unspecified the background color is used. The process of generating a colorized overlay is best, but not required, done in three stages.īackground identifies the background image.
0 Comments
Leave a Reply. |