class ProcessImageDelphiJob extends Job

Traits

InteractsWithQueue
Queueable
Dispatchable

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.

Methods

Filtered
filterInvalidLaserPoints(Collection $annotations)

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

void
__construct(Image $image, 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.

from  Job
string
gather(Collection $points)

Perform the gather step.

from  Job

Details

Filtered filterInvalidLaserPoints(Collection $annotations)

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

Parameters

Collection $annotations

Annotations grouped by image

Return Value

Filtered

points array

at line 27
void __construct(Image $image, float $distance, int $labelId)

Create a new job instance.

Parameters

Image $image
float $distance
int $labelId

Return Value

void

at line 38
void handle()

Execute the job.

Return Value

void

in Job at line 66
protected Collection 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

in Job at line 89
protected string 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.