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.analysis.boundary_detect
        • navigate.model.analysis.camera
        • navigate.model.analysis.image_contrast
      • navigate.model.concurrency
      • navigate.model.data_sources
      • navigate.model.device_startup_functions
      • navigate.model.devices
      • navigate.model.features
      • navigate.model.metadata_sources
      • navigate.model.microscope
      • navigate.model.model
      • navigate.model.plugins_model
      • navigate.model.waveforms
    • navigate.tools
    • navigate.view
navigate
  • Software API
  • navigate.model
  • navigate.model.analysis
  • navigate.model.analysis.boundary_detect
  • navigate.model.analysis.boundary_detect.find_tissue_boundary_2d
  • View page source

navigate.model.analysis.boundary_detect.find_tissue_boundary_2d

navigate.model.analysis.boundary_detect.find_tissue_boundary_2d(image_data: Union[_SupportsArray[dtype], _NestedSequence[_SupportsArray[dtype]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]], mag_ratio: Optional[float] = 1.0) → list

Find all pixels containing tissue, based on an Otsu threshold. Optionally, return pixels in image space resampled by mag_ratio.

Parameters:
  • image_data (npt.ArrayLike) – Image

  • mag_ratio (float) – Ratio between pixel sizes of current over target tiles.

Returns:

boundary – List of boundaries of tissue by row of downsampled image.

Return type:

list

Previous Next

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