DetectManual
class DetectManual
Computation of the image footprint area based on manually annotated laser points.
The computation is purely geometric and requires nothing but the image dimensions, the real world distance of the laser points and their pixel coordinates. In particular it does not require access to the image file.
Constants
| METHOD |
Name of the detection method that is stored with the results. |
Methods
array
execute(int $width, int $height, float $distance, array $points)
Execute a new manual laser point detection.
float
distance(array $a, array $b)
Euclidean distance between two points.
array
pairwiseDistances(array $points)
Euclidean distances between all pairs of the given points.
array
error(string $message)
Assemble an error result.
Details
at line 32
array
execute(int $width, int $height, float $distance, array $points)
Execute a new manual laser point detection.
at line 108
protected float
distance(array $a, array $b)
Euclidean distance between two points.
at line 120
protected array
pairwiseDistances(array $points)
Euclidean distances between all pairs of the given points.
at line 141
protected array
error(string $message)
Assemble an error result.