tasks#

Background tasks triggered by the front-end.

class Task[source]#

Thread base class supporting status updates

status_update#

Emitted with a message when the status bar should be updated.

status_clear#

Emitted when the status bar should be cleared.

status(message: str)[source]#

Updates the status bar with the given message.

class Worker[source]#

Worker thread to be used in thread pools

class WorkerSignals[source]#

Qt signals for worker threads

done#

Emitted when the worker thread is done.

class CompressImages[source]#

Compresses the input images.

start(self, priority: PySide6.QtCore.QThread.Priority = Instance(PySide6.QtCore.QThread.Priority.InheritPriority)) None[source]#
run(self) None[source]#
class StitchImages[source]#

Stitches the full image.

start(self, priority: PySide6.QtCore.QThread.Priority = Instance(PySide6.QtCore.QThread.Priority.InheritPriority)) None[source]#
run(self) None[source]#
class TileImage[source]#

Tiles a large image into a zoom-level pyramid.

start(self, priority: PySide6.QtCore.QThread.Priority = Instance(PySide6.QtCore.QThread.Priority.InheritPriority)) None[source]#
run(self) None[source]#
class RollBall[source]#

Corrects background using the rolling-ball method.

start(self, priority: PySide6.QtCore.QThread.Priority = Instance(PySide6.QtCore.QThread.Priority.InheritPriority)) None[source]#
run(self) None[source]#
terminate(self) None[source]#
class RollBallWorker(source: Path, target: Path, radius: int)[source]#
run(self) None[source]#
class BernsenThreshold[source]#

Performs local thresholding using the Bernsen method.

start(self, priority: PySide6.QtCore.QThread.Priority = Instance(PySide6.QtCore.QThread.Priority.InheritPriority)) None[source]#
run(self) None[source]#
class OutlineDisk[source]#

Draws the disk boundary onto the image.

start(self, priority: PySide6.QtCore.QThread.Priority = Instance(PySide6.QtCore.QThread.Priority.InheritPriority)) None[source]#
run(self) None[source]#
class SegmentCells[source]#

Performs the cell segmentation.

start(self, priority: PySide6.QtCore.QThread.Priority = Instance(PySide6.QtCore.QThread.Priority.InheritPriority)) None[source]#
run(self) None[source]#
class MarkCells[source]#

Marks the cells in the image.

start(self, priority: PySide6.QtCore.QThread.Priority = Instance(PySide6.QtCore.QThread.Priority.InheritPriority)) None[source]#
run(self) None[source]#
class FitCurve[source]#

Fits curve to cell density data.

start(self, priority: PySide6.QtCore.QThread.Priority = Instance(PySide6.QtCore.QThread.Priority.InheritPriority)) None[source]#
run(self) None[source]#
delete(items: Iterable[Path])[source]#

Deletes given files or folders.