public class NearestNeighbourResampler extends java.lang.Object implements VolumeImageResampler
Constructor and Description |
---|
NearestNeighbourResampler() |
Modifier and Type | Method and Description |
---|---|
double |
resample(VolumeImage image,
int channel,
double col,
double row,
double slice)
Samples an image channel at new (potentially fractional) col, row, slice
|
public double resample(VolumeImage image, int channel, double col, double row, double slice)
VolumeImageResampler
resample
in interface VolumeImageResampler
image
- image to resamplechannel
- image channelcol
- image columnrow
- image rowslice
- image slice