| Constructor and Description |
|---|
SpotIconGrabber(ImgPlus<T> img) |
| Modifier and Type | Method and Description |
|---|---|
String |
getImageString(Spot spot,
double radiusFactor)
Returns the image string for the specified spot.
|
Img<T> |
grabImage(long x,
long y,
long slice,
long width,
long height)
Returns a 2D slice extract around the specified coordinates.
|
Img<T> |
grabImage(long x,
long y,
long slice,
long width,
long height,
long depth)
Returns a 3D cropped copy around the specified coordinates.
|
public String getImageString(Spot spot, double radiusFactor)
ImgPlus.spot - the spot to generate a thumbnail image from.radiusFactor - a factor that determines the size of the thumbnail. The
thumbnail will have a size equal to the spot diameter times
this radius.public final Img<T> grabImage(long x, long y, long slice, long width, long height)
x - top-left x coordinate.y - top-left y coordinate.slice - z-slice index.width - width of the extract.height - height of the extract.Img containing the extract, potentially padded with
0s.public final Img<T> grabImage(long x, long y, long slice, long width, long height, long depth)
x - top-left x coordinate.y - top left y coordinate.slice - central z-slice index.width - width of the extract.height - height of the extract.depth - depth (along z) of the extract.Img containing the extract, potentially padded with
0s.Copyright © 2015–2021 Fiji. All rights reserved.