ProcessVolumeAutomaticJob
class ProcessVolumeAutomaticJob extends Job
Traits
Batchable
InteractsWithQueue
SerializesModels
Queueable
Dispatchable
Properties
| $tries |
Methods
void
__construct(Volume $volume, float $distance, int $numLaserpoints = 2, string|null $channelMode = null)
Create a new job instance.
void
handle()
Execute the job.
?string
detectChannelMode()
Detect the channel mode on a random sample of images of the volume.
?string
performColorDetection(array $images, array $paths)
Execute the color detection.
Details
at line 35
void
__construct(Volume $volume, float $distance, int $numLaserpoints = 2, string|null $channelMode = null)
Create a new job instance.
at line 50
void
handle()
Execute the job.
at line 75
protected ?string
detectChannelMode()
Detect the channel mode on a random sample of images of the volume.
at line 106
protected ?string
performColorDetection(array $images, array $paths)
Execute the color detection.