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.map_labels
  • View page source

navigate.model.analysis.boundary_detect.map_labels

navigate.model.analysis.boundary_detect.map_labels(labeled_image, position, z_start, z_step, x_direction, y_direction, current_pixel_size, current_image_width, current_image_height, target_pixel_size, target_image_width, target_image_height, overlap=0.05, filter_pixel_number=10)

Map labels to positions

Parameters:
  • labeled_image (ndarray) – Labeled image data

  • position (array[int]) – position of x, y, z, theta, f

  • z_start (float) – Z start position

  • z_step (float) – step of Z

  • current_pixel_size (float) – Current camera pixel size

  • current_image_width (int) – Current image width

  • current_image_height (int) – Current image height

  • target_pixel_size (float) – Target camera pixel size

  • target_image_width (int) – Target image width

  • target_image_height (int) – Target image height

  • overlap (float) – Overlap ratio

  • filter_pixel_number (int) – The pixel number to filter a label

Returns:

  • z_range (int) – The maximum number of z steps

  • positions (array) – Array of positions

  • target_labels (array) – Array of target label index.

Previous Next

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