abstractclass Job extendsJob implementsShouldQueue

Traits

InteractsWithQueue
Queueable
Dispatchable

Properties

protectedfloat $distance Distance between laser points im cm to use for computation.
protectedint $labelId ID of the laser point label.

Methods

Filtered
filterInvalidLaserPoints($annotations)

Removes items from the annotations array if the laser point annotations are invalid.

void
__construct(float$distance,int$labelId)

Create a new job instance.

void
handle()

Execute the job.

Collection
getLaserpointsForVolume(int$id)

Collects all images of a volume that contain laser point annotations.

string
gather(Collection$points)

Perform the gather step.

Details

Filtered filterInvalidLaserPoints($annotations)

Removes items from the annotations array if the laser point annotations are invalid.

Parameters

$annotations

Return Value

Filtered points array

at line46
void __construct(float$distance,int$labelId)

Create a new job instance.

Parameters

float $distance
int $labelId

Return Value

void

at line57
abstractvoid handle()

Execute the job.

Return Value

void

at line66
protectedCollection getLaserpointsForVolume(int$id)

Collects all images of a volume that contain laser point annotations.

Parameters

int $id Volume ID

Return Value

Collection Laser point coordinates indexed by image ID

at line89
protectedstring gather(Collection$points)

Perform the gather step.

Parameters

Collection $points Points Collection returned from getLaserpointsForVolume.

Return Value

string Path to the gather file in the storage disk.