navigate Logo

Getting Started

  • Quick Start Guide
  • Software Installation
  • I Want To…

User Guide

  • Supported Hardware
  • Supported File Formats
  • User Interface Walkthrough
  • Setting Up A Microscope
  • Acquiring Data
  • Case Studies

Development

  • Contributing Guidelines
  • Developer Install
  • Software Architecture
  • Feature Container
  • REST-API
  • Plugin Architecture

Troubleshooting & Known Issues

  • Troubleshooting
  • Known Issues

Plugins

  • navigate Plugin Template
  • navigate Confocal Projection
  • navigate at Scale
  • navigate Constant Velocity Acquisition
  • navigate MMCore
  • navigate ilastik Server
  • navigate Photoactivation

Reference

  • Implemented Microscopes
  • Software API
    • navigate.config
    • navigate.controller
    • navigate.log_files
    • navigate.model
      • navigate.model.analysis
      • navigate.model.concurrency
      • navigate.model.data_sources
      • navigate.model.device_startup_functions
      • navigate.model.devices
      • navigate.model.features
        • navigate.model.features.adaptive_optics
        • navigate.model.features.auto_tile_scan
        • navigate.model.features.autofocus
        • navigate.model.features.common_features
        • navigate.model.features.feature_container
        • navigate.model.features.feature_related_functions
        • navigate.model.features.image_writer
        • navigate.model.features.remove_empty_tiles
        • navigate.model.features.restful_features
        • navigate.model.features.update_setting
        • navigate.model.features.volume_search
      • navigate.model.metadata_sources
      • navigate.model.microscope
      • navigate.model.model
      • navigate.model.plugins_model
      • navigate.model.waveforms
    • navigate.tools
    • navigate.view
navigate
  • Acquiring Data
  • Currently Implemented Features
  • navigate.model.features.restful_features
  • navigate.model.features.restful_features.IlastikSegmentation
  • View page source

navigate.model.features.restful_features.IlastikSegmentation

class navigate.model.features.restful_features.IlastikSegmentation(model, microscope_name='Nanoscale', zoom_value='N/A')

Bases: object

Ilastik segmentation class.

Uses Ilastik REST API to perform segmentation in a separate process.

__init__(model, microscope_name='Nanoscale', zoom_value='N/A')

Initialize Ilastik segmentation class.

Parameters:

model (Model) – Model object

Methods

__init__(model[, microscope_name, zoom_value])

Initialize Ilastik segmentation class.

data_func(frame_ids)

Perform Ilastik segmentation.

init_func(*args)

Initialize Ilastik segmentation.

mark_position(mask)

Mark position based on the segmentation mask.

update_setting()

Update Ilastik segmentation settings.

Attributes

model

Model object

service_url

url of the service

project_file

project file for Ilastik segmentation

resolution

resolution of the current microscope

zoom

zoom of the current microscope

pieces_num

number of pieces

pieces_size

size of pieces

high_res_microscope_name

high resolution microscope name

high_res_zoom_value

zoom value

config_table

configuration table

data_func(frame_ids)

Perform Ilastik segmentation.

Parameters:

frame_ids (list) – list of frame ids

init_func(*args)

Initialize Ilastik segmentation.

Parameters:

args (list) – list of arguments

mark_position(mask)

Mark position based on the segmentation mask.

Parameters:

mask (numpy.ndarray) – segmentation mask

update_setting()

Update Ilastik segmentation settings.

config_table

configuration table

Type:

dict

high_res_microscope_name

high resolution microscope name

Type:

str

high_res_zoom_value

zoom value

Type:

str

model

Model object

Type:

navigate.model.Model

pieces_num

number of pieces

Type:

int

pieces_size

size of pieces

Type:

int

project_file

project file for Ilastik segmentation

Type:

str

resolution

resolution of the current microscope

Type:

str

service_url

url of the service

Type:

str

zoom

zoom of the current microscope

Type:

str

Previous Next

© Copyright 2025, Dean Lab, UT Southwestern Medical Center.