|
BIJ API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--VolumeJ.VJRenderView | +--VolumeJ.VJRenderViewCine | +--VolumeJ.VJSurfacePlotShell
This class implements utility for surface plotting. Surface plotting is a rendering technique that displays a 2-D image in the form of a colored, shaded volume rendering. The 'heights' of the shape in the volume rendering derive from the pixel values in the 2-D image. Algorithms, implementation (c) Michael Abramoff Idea from: Paulo Magalhaes, PhD University of Padua Dept. Biomedical Sciences Viale G. Colombo, 3 Tel: +39 049 827 6065 I-35121 Padua - Italy Fax: +39 049 827 6049 Copyright (c) 1999-2003, Michael Abramoff. All rights reserved.
Fields inherited from class VolumeJ.VJRenderViewCine |
n, stepx, stepy, stepz, toDisk |
Fields inherited from class VolumeJ.VJRenderView |
description, m, message, mLight, renderer, rotx, roty, rotz, running, scale |
Fields inherited from class java.lang.Thread |
inheritableThreadLocals, MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY, threadLocals |
Constructor Summary | |
VJSurfacePlotShell(VJRenderer renderer,
float scale,
float xrot,
float yrot,
float zrot,
Volume vimages,
float min,
float max,
float aspectz,
float sigma,
java.lang.String message)
Instantiates a new surface plotting rendering shell. |
Method Summary | |
protected static VolumeShort |
imagesVolumeToSurfaceVolume(VolumeShort vimages,
int k,
float max,
float min,
float aspectz,
float sigma)
Convert the k'th 2-D image slice in vimages to a surface VolumeShort. |
protected void |
nextView(int k)
Prepare for the (k+1) th rendering in a cine rendering. |
Methods inherited from class VolumeJ.VJRenderViewCine |
run, setRotationSteps |
Methods inherited from class VolumeJ.VJRenderView |
center, computeTransformationMatrix, kill, memoryInUse, renderToImageProcessor, renderToPixelArray, report, toString |
Methods inherited from class java.lang.Thread |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public VJSurfacePlotShell(VJRenderer renderer, float scale, float xrot, float yrot, float zrot, Volume vimages, float min, float max, float aspectz, float sigma, java.lang.String message)
renderer
- a VJRendererscale
- the amount by which to scale the volumerotx,
- roty, rotz the amount by which to rotate the amount in that order.vimages:
- a VolumeShort containing the images to be sufrace plotted.min,
- max: the minimum and maxium values within vimages (determines the height of each srface volume)aspectz:
- the aspect ration in the z-direction.sigma:
- Standard deviation of a Gaussian smoothing kernel before rendering starts.message
- a useful message to identify the characteristics of this rendering.Method Detail |
protected void nextView(int k)
nextView
in class VJRenderViewCine
k
- the number of the current (i.e. before the next) rendering.protected static VolumeShort imagesVolumeToSurfaceVolume(VolumeShort vimages, int k, float max, float min, float aspectz, float sigma)
vimages
- an VolumeShort containing the 2-D images.k
- the index to vimages.depth
- the eventual number of slices in the volumemin
- the minimum pixel value in vimages.v[k].
|
BIJ API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |