Skip to content
Snippets Groups Projects
Commit 5bd89178 authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Added superclass for semantic segmentation models and modified ilastik pixel...

Added superclass for semantic segmentation models and modified ilastik pixel classification to inherit from it
parent e629a6bc
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ from skimage.filters import gaussian, sobel
from extensions.ilastik.models import IlastikPixelClassifierModel
from extensions.chaeo.products import export_3d_patches_with_focus_metrics, export_patches_from_zstack
from extensions.chaeo.zmask import ZMaskObjectTable
from extensions.chaeo.zmask import RoiSet
from model_server.accessors import generate_file_accessor, InMemoryDataAccessor, write_accessor_data_to_file
from model_server.workflows import Timer
......@@ -58,7 +58,7 @@ def export_patch_focus_metrics_from_multichannel_zstack(
# filters=zmask_filters,
# expand_box_by=zmask_expand_box_by,
# )
obj_table = ZMaskObjectTable(
obj_table = RoiSet(
obmask.get_one_channel_data(pixel_class),
stack.get_one_channel_data(zmask_channel),
mask_type=mask_type,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment