Public Member Functions | |
JismImage3D (String path) | |
Construct a new image 3D. | |
int | getWidth () |
Return the image width. | |
int | getHeight () |
Return the image height. | |
int | getDepth () |
Return the image depth. | |
int | getPixelIntensity (int p) |
Return a pixel. | |
int | getPixelIntensity (int x, int y, int z) |
Return a pixel. | |
int | getMaxIntensity () |
Return max voxel intensity. | |
int | getNeighSize (int p) |
Return the neigh size of the given pixel. | |
int | getNeighSize (int x, int y, int z) |
Return the neigh size of the given pixel. | |
int | getNeighAt (int p, int id) |
Return the neighbor of a given pixel at the given id. | |
int | getNeighAt (int x, int y, int z, int id) |
Return the neighbor of a given pixel at the given id. | |
double | getNewRandomDouble () |
Get a new random double. | |
int | pixelId (int x, int y) |
Get pixel unique id. | |
int | pixelId (int x, int y, int z) |
Get pixel unique id. | |
int | pixelX (int id) |
Get pixel abscissa. | |
int | pixelY (int id) |
Get pixel ordinate. | |
int | pixelZ (int id) |
Get pixel depth. | |
Package Functions | |
void | readImage (String path) |
Read an image file. | |
Classes | |
class | Voxel |
Voxel implementation for JismImage3D. |
This object will be used to create context from a 3D picture. Pixel implementation is Pixel23.
org.miv.jism.core.JismImage3D.JismImage3D | ( | String | path | ) |
Construct a new image 3D.
path | path to image file |
int org.miv.jism.core.JismImage3D.getWidth | ( | ) |
int org.miv.jism.core.JismImage3D.getHeight | ( | ) |
int org.miv.jism.core.JismImage3D.getDepth | ( | ) |
int org.miv.jism.core.JismImage3D.getPixelIntensity | ( | int | p | ) |
Return a pixel.
x | abscissa of the pixel | |
y | ordinate of the pixel |
Implements org.miv.jism.core.JismContext.
int org.miv.jism.core.JismImage3D.getPixelIntensity | ( | int | x, | |
int | y, | |||
int | z | |||
) |
Return a pixel.
x | abscissa of the pixel | |
y | ordinate of the pixel | |
z | depth of the pixel |
int org.miv.jism.core.JismImage3D.getMaxIntensity | ( | ) |
int org.miv.jism.core.JismImage3D.getNeighSize | ( | int | p | ) |
Return the neigh size of the given pixel.
x | abscissa | |
y | ordinate |
Implements org.miv.jism.core.JismContext.
int org.miv.jism.core.JismImage3D.getNeighSize | ( | int | x, | |
int | y, | |||
int | z | |||
) |
Return the neigh size of the given pixel.
x | abscissa | |
y | ordinate | |
z | depth |
int org.miv.jism.core.JismImage3D.getNeighAt | ( | int | p, | |
int | id | |||
) |
Return the neighbor of a given pixel at the given id.
x | abscissa | |
y | ordinate | |
id | id of the neighbor |
Implements org.miv.jism.core.JismContext.
int org.miv.jism.core.JismImage3D.getNeighAt | ( | int | x, | |
int | y, | |||
int | z, | |||
int | id | |||
) |
Return the neighbor of a given pixel at the given id.
x | abscissa | |
y | ordinate | |
z | depth | |
id | id of the neighbor |
double org.miv.jism.core.JismImage3D.getNewRandomDouble | ( | ) |
Get a new random double.
Implements org.miv.jism.core.JismContext.
void org.miv.jism.core.JismImage3D.readImage | ( | String | path | ) | [package] |
Read an image file.
path | path to the image file |
int org.miv.jism.core.JismImage3D.pixelId | ( | int | x, | |
int | y | |||
) |
Get pixel unique id.
Context assumes that pixel id is between 0 and n where n is the total number of pixels.
x | abscissa | |
y | ordinate |
Implements org.miv.jism.core.JismContext.
int org.miv.jism.core.JismImage3D.pixelId | ( | int | x, | |
int | y, | |||
int | z | |||
) |
Get pixel unique id.
Context assumes that pixel id is between 0 and n where n is the total number of pixels.
x | abscissa | |
y | ordinate | |
z | depth |
Implements org.miv.jism.core.JismContext.
int org.miv.jism.core.JismImage3D.pixelX | ( | int | id | ) |
Get pixel abscissa.
id | id of pixel |
Implements org.miv.jism.core.JismContext.
int org.miv.jism.core.JismImage3D.pixelY | ( | int | id | ) |
Get pixel ordinate.
id | id of pixel |
Implements org.miv.jism.core.JismContext.
int org.miv.jism.core.JismImage3D.pixelZ | ( | int | id | ) |
Get pixel depth.
id | id of pixel |
Implements org.miv.jism.core.JismContext.