public class Position extends Object
| Constructor and Description |
|---|
Position() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute_eigenvals(double dfdrr,
double dfdrc,
double dfdcc,
double[] eigval,
double[][] eigvec)
Compute the eigenvalues and eigenvectors of the Hessian matrix given by
dfdrr, dfdrc, and dfdcc, and sort them in descending order according to their
absolute values.
|
void |
detect_lines(float[] image,
int width,
int height,
Lines contours,
org.apache.commons.lang3.mutable.MutableInt num_result,
double sigma,
double low,
double high,
int mode,
boolean compute_width,
boolean correct_pos,
boolean extend_lines,
Junctions junctions)
Detect lines.
|
void |
solve_linear(double a,
double b,
org.apache.commons.lang3.mutable.MutableDouble t,
org.apache.commons.lang3.mutable.MutableInt num)
Solve the linear equation a*x+b=0 and return the result in t and the number
of solutions in num.
|
public void solve_linear(double a,
double b,
org.apache.commons.lang3.mutable.MutableDouble t,
org.apache.commons.lang3.mutable.MutableInt num)
a - the ab - the bt - the tnum - the numpublic void compute_eigenvals(double dfdrr,
double dfdrc,
double dfdcc,
double[] eigval,
double[][] eigvec)
dfdrr - the dfdrrdfdrc - the dfdrcdfdcc - the dfdcceigval - the eigvaleigvec - the eigvecpublic void detect_lines(float[] image,
int width,
int height,
Lines contours,
org.apache.commons.lang3.mutable.MutableInt num_result,
double sigma,
double low,
double high,
int mode,
boolean compute_width,
boolean correct_pos,
boolean extend_lines,
Junctions junctions)
image - the imagewidth - the widthheight - the heightcontours - the contoursnum_result - the num resultsigma - the sigmalow - the lowhigh - the highmode - the modecompute_width - the compute widthcorrect_pos - the correct posextend_lines - the extend linesjunctions - the junctionsCopyright © 2014–2017 SciJava. All rights reserved.