public class Flood3D
extends java.lang.Object
This file is part of tango
tango 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
Constructor and Description |
---|
Flood3D() |
Modifier and Type | Method and Description |
---|---|
static void |
connect2DByteXY(ImageByte img,
int zcoord,
IntCoord3D seed,
byte lowVal,
byte highVal,
byte tmpVal)
Connect in 3D pixel with low values to pixel with high values
Pixels with low values not connected to pixels with high values will remain with low values
|
static void |
connect3D(ImageHandler img,
int lowVal,
int highVal,
boolean log) |
static void |
connect3D(ImageInt img,
int lowVal,
int highVal) |
static void |
connect3DByteMultiZ(ImageByte img,
IntCoord3D seed,
byte lowVal,
byte highVal,
byte tmpVal) |
static void |
flood3d26(ImageInt img,
int seedX,
int seedY,
int seedZ,
int newVal) |
static void |
flood3d6(ImageInt img,
int seedX,
int seedY,
int seedZ,
int newVal) |
static void |
flood3DNoise(ImageHandler img,
IntCoord3D seed,
int limit,
int newVal) |
static void |
flood3DNoise26Short(ImageShort img,
IntCoord3D seed,
int limit,
int newVal) |
public static void flood3d6(ImageInt img, int seedX, int seedY, int seedZ, int newVal)
public static void flood3d26(ImageInt img, int seedX, int seedY, int seedZ, int newVal)
public static void flood3DNoise(ImageHandler img, IntCoord3D seed, int limit, int newVal)
public static void flood3DNoise26Short(ImageShort img, IntCoord3D seed, int limit, int newVal)
public static void connect3D(ImageInt img, int lowVal, int highVal)
public static void connect3D(ImageHandler img, int lowVal, int highVal, boolean log)
public static void connect2DByteXY(ImageByte img, int zcoord, IntCoord3D seed, byte lowVal, byte highVal, byte tmpVal)
img
- The image to process, 8-bit imageseed
- one seed to start the connectionhighVal
- the high valuelowVal
- the low valuepublic static void connect3DByteMultiZ(ImageByte img, IntCoord3D seed, byte lowVal, byte highVal, byte tmpVal)