public class StackResampler extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StackResampler.LinearTransformation |
| Modifier and Type | Field and Description |
|---|---|
static int |
FULL_VOLUME |
static int |
OTHOGONAL_VIEWS |
static int |
YX_PROJECTION |
| Constructor and Description |
|---|
StackResampler(int mode,
boolean maxProjection,
double theta,
double cameraPixelSizeXyUm,
double zStepUm,
int zPixelShape,
int yPixelShape,
int xPixelShape) |
| Modifier and Type | Method and Description |
|---|---|
void |
addImageToRecons(short[] image,
int imageZIndex) |
void |
addToProcessImageQueue(mmcorej.TaggedImage image) |
double[] |
cameraCoordsFromReconCoords(double reconZ,
double reconY) |
void |
computeRemappedCoordinateSpace() |
static String |
createSettingsKey(int mode,
double theta,
double cameraPixelSizeXyUm,
double zStepUm,
int zPixelShape,
int yPixelShape,
int xPixelShape) |
void |
finalizeProjections()
Call after all images have arrived to finalize the projections
|
short[][] |
getReconstructedVolumeZYX() |
double |
getReconstructionVoxelSizeUm() |
int |
getResampledShapeX() |
int |
getResampledShapeY() |
int |
getResampledShapeZ() |
String |
getSettingsKey() |
short[] |
getYXProjection() |
short[] |
getZXProjection() |
short[] |
getZYProjection() |
void |
initializeProjections()
Call before any images arrive to initialize the projection and recon arrays
|
void |
precomputeCoordTransformLUTs() |
void |
precomputeReconWeightings() |
double[] |
reconCoordsFromCameraCoords(double imageZ,
double imageY) |
public static final int YX_PROJECTION
public static final int OTHOGONAL_VIEWS
public static final int FULL_VOLUME
public StackResampler(int mode,
boolean maxProjection,
double theta,
double cameraPixelSizeXyUm,
double zStepUm,
int zPixelShape,
int yPixelShape,
int xPixelShape)
public static String createSettingsKey(int mode, double theta, double cameraPixelSizeXyUm, double zStepUm, int zPixelShape, int yPixelShape, int xPixelShape)
public String getSettingsKey()
public double[] reconCoordsFromCameraCoords(double imageZ,
double imageY)
public double[] cameraCoordsFromReconCoords(double reconZ,
double reconY)
public void computeRemappedCoordinateSpace()
public void precomputeCoordTransformLUTs()
public void precomputeReconWeightings()
public void initializeProjections()
public void addImageToRecons(short[] image,
int imageZIndex)
public void finalizeProjections()
public double getReconstructionVoxelSizeUm()
public short[] getYXProjection()
public short[] getZYProjection()
public short[] getZXProjection()
public short[][] getReconstructedVolumeZYX()
public int getResampledShapeX()
public int getResampledShapeY()
public int getResampledShapeZ()
public void addToProcessImageQueue(mmcorej.TaggedImage image)
Copyright © 2023. All rights reserved.