j2d
Class MorphUtils
java.lang.Object
j2d.MorphUtils
public class MorphUtils
- extends java.lang.Object
Method Summary |
static void |
close(ShortImageBean shortImageBean,
float[][] k)
|
static void |
colorClose(ShortImageBean shortImageBean,
float[][] k)
|
static void |
colorDilate(ShortImageBean shortImageBean,
float[][] k)
|
static void |
colorDilateErode(ShortImageBean shortImageBean,
float[][] k)
|
static void |
colorErode(ShortImageBean shortImageBean,
float[][] k)
|
static void |
colorOpen(ShortImageBean shortImageBean,
float[][] k)
|
static void |
colorPyramid(ShortImageBean shortImageBean,
float[][] k)
|
static short[][] |
complement(short[][] s)
|
static short[][] |
convolveZeroCross(short[][] a,
float[][] k)
|
static void |
deleteFlagedPoints(ShortImageBean shortImageBean)
|
static short[][] |
dilate(short[][] f,
float[][] k)
|
static void |
dilate(ShortImageBean shortImageBean,
float[][] k)
|
static short[][] |
dilategs(short[][] f,
float[][] k)
|
static short[][] |
erode(short[][] f,
float[][] k)
|
static void |
erode(ShortImageBean shortImageBean,
float[][] k)
|
static void |
erode5(ShortImageBean shortImageBean)
|
static short[][] |
erodegs(short[][] f,
float[][] k)
|
static float[][] |
getKcross()
|
static float[][] |
getKh()
|
static float[][] |
getKoutline()
|
static float[][] |
getKsquare()
|
static float[][] |
getKthinbottom()
|
static float[][] |
getKthintop()
|
static float[][] |
getKv()
|
static void |
insideContour(ShortImageBean shortImageBean,
float[][] k)
|
static short[][] |
intersect(short[][] a,
short[][] b)
|
static void |
middleContour(ShortImageBean shortImageBean,
float[][] k)
|
static int |
numberOf01Transitions(boolean[] p)
|
static int |
numberOfNeighbors(boolean[] p)
|
static void |
open(ShortImageBean shortImageBean,
float[][] k)
|
static void |
outsideContour(ShortImageBean shortImageBean,
float[][] k)
|
static short |
redPassSuen(ShortImageBean sib,
boolean firstPass)
|
static void |
resample(ShortImageBean shortImageBean,
int ratio)
|
static void |
roberts2(ShortImageBean sib)
|
static void |
serria(ShortImageBean shortImageBean,
float[][] k)
|
static void |
singlePixelEdge(ShortImageBean shortImageBean)
|
static void |
skeleton(ShortImageBean shortImageBean)
|
static boolean |
skeletonRedPassSuen(ShortImageBean shortImageBean,
boolean firstPass)
|
static void |
thin(ShortImageBean shortImageBean)
|
static void |
thresh(ShortImageBean shortImageBean)
|
static short[][] |
zeroCross(short[][] f)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
kv
public static final float[][] kv
kh
public static final float[][] kh
kCross
public static final float[][] kCross
kSquare
public static final float[][] kSquare
kThinTop
public static final float[][] kThinTop
kThinBottom
public static final float[][] kThinBottom
kOutline
public static final float[][] kOutline
MorphUtils
public MorphUtils()
dilategs
public static short[][] dilategs(short[][] f,
float[][] k)
dilate
public static short[][] dilate(short[][] f,
float[][] k)
redPassSuen
public static short redPassSuen(ShortImageBean sib,
boolean firstPass)
erodegs
public static short[][] erodegs(short[][] f,
float[][] k)
numberOfNeighbors
public static int numberOfNeighbors(boolean[] p)
numberOf01Transitions
public static int numberOf01Transitions(boolean[] p)
getKv
public static float[][] getKv()
getKh
public static float[][] getKh()
getKcross
public static float[][] getKcross()
getKsquare
public static float[][] getKsquare()
getKthintop
public static float[][] getKthintop()
getKthinbottom
public static float[][] getKthinbottom()
getKoutline
public static float[][] getKoutline()
erode
public static short[][] erode(short[][] f,
float[][] k)
close
public static void close(ShortImageBean shortImageBean,
float[][] k)
intersect
public static short[][] intersect(short[][] a,
short[][] b)
complement
public static short[][] complement(short[][] s)
dilate
public static void dilate(ShortImageBean shortImageBean,
float[][] k)
erode
public static void erode(ShortImageBean shortImageBean,
float[][] k)
colorDilate
public static void colorDilate(ShortImageBean shortImageBean,
float[][] k)
colorErode
public static void colorErode(ShortImageBean shortImageBean,
float[][] k)
resample
public static void resample(ShortImageBean shortImageBean,
int ratio)
colorOpen
public static void colorOpen(ShortImageBean shortImageBean,
float[][] k)
colorClose
public static void colorClose(ShortImageBean shortImageBean,
float[][] k)
open
public static void open(ShortImageBean shortImageBean,
float[][] k)
serria
public static void serria(ShortImageBean shortImageBean,
float[][] k)
insideContour
public static void insideContour(ShortImageBean shortImageBean,
float[][] k)
outsideContour
public static void outsideContour(ShortImageBean shortImageBean,
float[][] k)
middleContour
public static void middleContour(ShortImageBean shortImageBean,
float[][] k)
deleteFlagedPoints
public static void deleteFlagedPoints(ShortImageBean shortImageBean)
skeletonRedPassSuen
public static boolean skeletonRedPassSuen(ShortImageBean shortImageBean,
boolean firstPass)
skeleton
public static void skeleton(ShortImageBean shortImageBean)
thin
public static void thin(ShortImageBean shortImageBean)
colorDilateErode
public static void colorDilateErode(ShortImageBean shortImageBean,
float[][] k)
colorPyramid
public static void colorPyramid(ShortImageBean shortImageBean,
float[][] k)
erode5
public static void erode5(ShortImageBean shortImageBean)
thresh
public static void thresh(ShortImageBean shortImageBean)
roberts2
public static void roberts2(ShortImageBean sib)
zeroCross
public static short[][] zeroCross(short[][] f)
convolveZeroCross
public static short[][] convolveZeroCross(short[][] a,
float[][] k)
singlePixelEdge
public static void singlePixelEdge(ShortImageBean shortImageBean)