ProcessImageManualJob
class ProcessImageManualJob extends Job
Traits
Properties
protected float | $distance | Distance between laser points im cm to use for computation. |
from Job |
protected int | $labelId | ID of the laser point label. |
from Job |
protected Image | $image | The image to compute the area for. |
|
protected bool | $deleteWhenMissingModels | Ignore this job if the image does not exist any more. |
Methods
Filtered
filterInvalidLaserPoints(Collection $annotations)
Removes items from the annotations array if the laser point annotations are invalid.
void
void
handle()
Execute the job.
Collection
getLaserpointsForVolume(int $id)
Collects all images of a volume that contain laser point annotations.
from
Job
string
getLaserpointsForImage(int $id)
Collects the laser point annotations of the given image.
Details
in
FiltersInvalidLaserPoints at line 16
Filtered
filterInvalidLaserPoints(Collection $annotations)
Removes items from the annotations array if the laser point annotations are invalid.
at line 37
void
__construct(Image $image, float $distance, int $labelId)
Create a new job instance.
at line 48
void
handle()
Execute the job.
in
Job at line 66
protected Collection
getLaserpointsForVolume(int $id)
Collects all images of a volume that contain laser point annotations.
in
Job at line 89
protected string
gather(Collection $points)
Perform the gather step.
at line 62
protected string
getLaserpointsForImage(int $id)
Collects the laser point annotations of the given image.