public class Width extends Object
| Modifier and Type | Field and Description |
|---|---|
static double |
LINE_WIDTH_COMPENSATION
The Constant LINE_WIDTH_COMPENSATION.
|
static double |
MAX_CONTRAST
The Constant MAX_CONTRAST.
|
static double |
MIN_LINE_WIDTH
The Constant MIN_LINE_WIDTH.
|
| Constructor and Description |
|---|
Width() |
| Modifier and Type | Method and Description |
|---|---|
void |
bresenham(double nx,
double ny,
double px,
double py,
double length,
Offset[] line,
org.apache.commons.lang3.mutable.MutableInt num_points)
Bresenham.
|
void |
compute_line_width(float[] dx,
float[] dy,
int width,
int height,
double sigma,
int mode,
boolean correct_pos,
ArrayList<Line> contours,
org.apache.commons.lang3.mutable.MutableInt num_contours)
Compute line width.
|
public static final double LINE_WIDTH_COMPENSATION
public static final double MIN_LINE_WIDTH
public static final double MAX_CONTRAST
public void bresenham(double nx,
double ny,
double px,
double py,
double length,
Offset[] line,
org.apache.commons.lang3.mutable.MutableInt num_points)
nx - the nxny - the nypx - the pxpy - the pylength - the lengthline - the linenum_points - the num pointspublic void compute_line_width(float[] dx,
float[] dy,
int width,
int height,
double sigma,
int mode,
boolean correct_pos,
ArrayList<Line> contours,
org.apache.commons.lang3.mutable.MutableInt num_contours)
dx - the dxdy - the dywidth - the widthheight - the heightsigma - the sigmamode - the modecorrect_pos - the correct poscontours - the contoursnum_contours - the num contoursCopyright © 2014–2017 SciJava. All rights reserved.