class ProcessVolumeDelphiJob extendsJob

Traits

SerializesModels
InteractsWithQueue
Queueable
Dispatchable

Properties

protectedfloat $distance Distance between laser points im cm to use for computation. from Job
protectedint $labelId ID of the laser point label. from Job
protectedVolume $volume The volume to process the images of.
protectedbool $deleteWhenMissingModels Ignore this job if the image does not exist any more.

Methods

Filtered
filterInvalidLaserPoints($annotations)

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

void
__construct(Volume$volume,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($annotations)

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

Parameters

$annotations

Return Value

Filtered points array

at line37
void __construct(Volume$volume,float$distance,int$labelId)

Create a new job instance.

Parameters

Volume $volume
float $distance
int $labelId

Return Value

void

at line48
void handle()

Execute the job.

Return Value

void

inJobat 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

inJobat 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.