public class FastFilters3D
extends java.lang.Object
This file is part of mcib3d
mcib3d is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program. If not, see
Modifier and Type | Field and Description |
---|---|
static int |
ADAPTIVE |
static int |
CLOSEGRAY |
static int |
MAX |
static int |
MAXLOCAL |
static int |
MEAN |
static int |
MEDIAN |
static int |
MIN |
static int |
OPENGRAY |
static int |
SOBEL |
static int |
TOPHAT |
static int |
VARIANCE |
Constructor and Description |
---|
FastFilters3D() |
Modifier and Type | Method and Description |
---|---|
static int[] |
createKernelBrick(int stepx,
int stepy,
int stepz)
Create a kernel neighorhood as an ellipsoid
|
static int[] |
createKernelEllipsoid(float radx,
float rady,
float radz)
Create a kernel neighorhood as an ellipsoid
|
static int[] |
createKernelFromObject(Object3D obj) |
static ImageFloat |
filterFloatImage(ImageFloat stackorig,
int filter,
float vx,
float vy,
float vz,
int nbcpus,
boolean showstatus) |
static ImageFloat |
filterFloatImage(ImageFloat stackorig,
int filter,
Object3DVoxels obj,
int nbcpus,
boolean showstatus) |
static ImageStack |
filterFloatImageStack(ImageStack stackorig,
int filter,
float vx,
float vy,
float vz,
int nbcpus,
boolean showstatus) |
static ImageHandler |
filterImage(ImageHandler stackorig,
int filter,
float vx,
float vy,
float vz,
int nbcpus,
boolean showstatus) |
static ImageHandler |
filterImage(ImageHandler stackorig,
int filter,
Object3DVoxels obj,
int nbcpus,
boolean showstatus) |
static ImageStack |
filterImageStack(ImageStack stackorig,
int filter,
float vx,
float vy,
float vz,
int nbcpus,
boolean showstatus) |
static ImageInt |
filterIntImage(ImageInt stackorig,
int filter,
float vx,
float vy,
float vz,
int nbcpus,
boolean showstatus) |
static ImageInt |
filterIntImage(ImageInt stackorig,
int filter,
float vx,
float vy,
float vz,
int nbcpus,
boolean showstatus,
AbstractLog log) |
static ImageInt |
filterIntImage(ImageInt stackorig,
int filter,
Object3DVoxels obj,
int nbcpus,
boolean showstatus) |
static ImageStack |
filterIntImageStack(ImageStack stackorig,
int filter,
float vx,
float vy,
float vz,
int nbcpus,
boolean showstatus) |
static java.util.ArrayList<Voxel3DComparable> |
getListMaxima(ImageHandler stackorig,
float vx,
float vy,
float vz,
int nbcpus,
boolean showstatus) |
static java.util.ArrayList<Voxel3DComparable> |
getListMaximaFloat(ImageFloat stackorig,
float vx,
float vy,
float vz,
int nbcpus,
boolean showstatus) |
static java.util.ArrayList<Voxel3DComparable> |
getListMaximaInt(ImageInt stackorig,
float vx,
float vy,
float vz,
int nbcpus,
boolean showstatus) |
static int |
getNbFromKernel(int[] ker) |
static float[] |
getRadiiFromObject(Object3D obj) |
public static final int MEAN
public static final int MEDIAN
public static final int MIN
public static final int MAX
public static final int MAXLOCAL
public static final int TOPHAT
public static final int OPENGRAY
public static final int CLOSEGRAY
public static final int VARIANCE
public static final int SOBEL
public static final int ADAPTIVE
public static ImageStack filterIntImageStack(ImageStack stackorig, int filter, float vx, float vy, float vz, int nbcpus, boolean showstatus)
public static java.util.ArrayList<Voxel3DComparable> getListMaxima(ImageHandler stackorig, float vx, float vy, float vz, int nbcpus, boolean showstatus)
public static java.util.ArrayList<Voxel3DComparable> getListMaximaInt(ImageInt stackorig, float vx, float vy, float vz, int nbcpus, boolean showstatus)
public static java.util.ArrayList<Voxel3DComparable> getListMaximaFloat(ImageFloat stackorig, float vx, float vy, float vz, int nbcpus, boolean showstatus)
public static ImageInt filterIntImage(ImageInt stackorig, int filter, float vx, float vy, float vz, int nbcpus, boolean showstatus)
public static ImageInt filterIntImage(ImageInt stackorig, int filter, float vx, float vy, float vz, int nbcpus, boolean showstatus, AbstractLog log)
public static ImageStack filterImageStack(ImageStack stackorig, int filter, float vx, float vy, float vz, int nbcpus, boolean showstatus)
public static ImageHandler filterImage(ImageHandler stackorig, int filter, float vx, float vy, float vz, int nbcpus, boolean showstatus)
public static ImageFloat filterFloatImage(ImageFloat stackorig, int filter, float vx, float vy, float vz, int nbcpus, boolean showstatus)
public static ImageStack filterFloatImageStack(ImageStack stackorig, int filter, float vx, float vy, float vz, int nbcpus, boolean showstatus)
public static int[] createKernelEllipsoid(float radx, float rady, float radz)
radx
- Radius x of the ellipsoidrady
- Radius y of the ellipsoidradz
- Radius z of the ellipsoidpublic static int[] createKernelBrick(int stepx, int stepy, int stepz)
stepx
- Radius x of the ellipsoidstepy
- Radius y of the ellipsoidstepz
- Radius z of the ellipsoidpublic static int[] createKernelFromObject(Object3D obj)
public static int getNbFromKernel(int[] ker)
public static float[] getRadiiFromObject(Object3D obj)
public static ImageHandler filterImage(ImageHandler stackorig, int filter, Object3DVoxels obj, int nbcpus, boolean showstatus)
public static ImageInt filterIntImage(ImageInt stackorig, int filter, Object3DVoxels obj, int nbcpus, boolean showstatus)
public static ImageFloat filterFloatImage(ImageFloat stackorig, int filter, Object3DVoxels obj, int nbcpus, boolean showstatus)