Modifier and Type | Field and Description |
---|---|
boolean |
offsetmodified |
int |
type |
Constructor and Description |
---|
StructureElement(int[] amask,
int width) |
StructureElement(int type,
int shift,
float radius,
int[] offset)
Creates a new instance of a StructureElement
|
StructureElement(String tokenString) |
Modifier and Type | Method and Description |
---|---|
int[] |
Delta(int[] offset) |
int |
getArea() |
int[] |
getBorder() |
double |
getDistance(int[] X,
int metrics) |
int |
getHeight() |
int[] |
getMask() |
int |
getMaskAt(int index) |
int |
getMaskAt(int x,
int y) |
int[] |
getOffset() |
double |
getR() |
int |
getShift() |
int |
getType() |
int[][] |
getVect() |
int |
getWidth() |
int[] |
H(int[] strel,
int sign) |
void |
setMask(int[] amask) |
void |
setOffset(int[] offset) |
void |
setType(int type) |
int[] |
T(int[] h) |
StructureElement |
Tr(int[] h) |
int[][] |
VectTransform(int opt) |
public StructureElement(int[] amask, int width)
public StructureElement(String tokenString)
public StructureElement(int type, int shift, float radius, int[] offset)
public int[] getMask()
public int getMaskAt(int index)
public int getMaskAt(int x, int y)
public void setMask(int[] amask)
public int getWidth()
public int getHeight()
public int getShift()
public double getR()
public int getType()
public void setType(int type)
public int[] getOffset()
public void setOffset(int[] offset)
public int[] T(int[] h)
public StructureElement Tr(int[] h)
public int[] Delta(int[] offset)
public int[] H(int[] strel, int sign)
public int getArea()
public int[] getBorder()
public double getDistance(int[] X, int metrics)
public int[][] VectTransform(int opt)
public int[][] getVect()
Copyright © 2015–2021 Fiji. All rights reserved.