Expand description
N-Dimensional Image Processing Module
This module provides comprehensive multidimensional image processing functionality,
built on top of scirs2-ndimage. It includes:
- Filters: Gaussian, median, rank, and edge detection filters
- Morphology: Binary and grayscale morphological operations
- Measurements: Region properties, moments, and extrema detection
- Segmentation: Thresholding and watershed algorithms
- Features: Corner and edge detection
- Interpolation: Spline and geometric transformations
§Examples
use numrs2::ndimage;
use scirs2_core::ndarray::Array2;
// Create a sample 2D image
let image = Array2::<f64>::from_shape_fn((10, 10), |(i, j)| {
if (i > 3 && i < 7) && (j > 3 && j < 7) {
1.0
} else {
0.0
}
});
// Apply Gaussian filter
let sigma = 1.0;
let filtered = ndimage::filters::gaussian_filter(&image, sigma, None, None).expect("gaussian_filter should succeed");
// Create binary image and apply binary dilation
let binary_image: Array2<bool> = Array2::from_shape_fn((10, 10), |(i, j)| {
i > 3 && i < 7 && j > 3 && j < 7
});
let dilated = ndimage::morphology::binary_dilation(&binary_image, None, None, None, None, None, None).expect("binary_dilation should succeed");§Filters
The filters module provides various image filtering operations:
gaussian_filter: Apply Gaussian filter for smoothingmedian_filter: Apply median filter for noise reductionminimum_filter,maximum_filter: Morphological filterssobel,prewitt: Edge detection filterslaplace: Laplace filter for edge enhancement
§Morphology
Morphological operations for binary and grayscale images:
binary_erosion,binary_dilation: Basic morphological operationsbinary_opening,binary_closing: Composite operationsbinary_fill_holes: Fill holes in binary objectsgrey_erosion,grey_dilation: Grayscale morphology
§Measurements
Functions for measuring properties of labeled regions:
label: Connected component labelingcenter_of_mass: Compute center of masssum,mean,variance: Statistics over labeled regionsminimum,maximum: Extrema over labeled regions
§Segmentation
Image segmentation algorithms:
threshold_otsu: Otsu’s automatic thresholdingthreshold_adaptive: Adaptive local thresholdingwatershed: Watershed segmentation
§Features
Feature detection algorithms:
corner_harris: Harris corner detectorcanny: Canny edge detectorsobel: Sobel edge detector
§Interpolation
Geometric transformations and interpolation:
rotate,shift,zoom: Basic geometric transformationsaffine_transform: General affine transformationsmap_coordinates: Custom coordinate mapping
Modules§
- active_
contours - Advanced active contour (snake) models for image segmentation
- adaptive_
image_ optimizer - Adaptive Advanced Optimizer - Dynamic Performance Tuning
- advanced_
fusion_ algorithms - Advanced Fusion Core - Ultimate Image Processing Engine
- advanced_
streaming_ ai - Advanced AI-Driven Streaming with Predictive Chunking
- ai_
driven_ adaptive_ processing - AI-Driven Adaptive Processing - Next-Generation Intelligent Image Processing
- analysis
- Advanced image analysis and quality assessment functions
- api_
compatibility_ verification - API Compatibility Verification with SciPy ndimage
- array4d
- 4D spatiotemporal array support for scirs2-ndimage.
- backend
- Backend delegation system for GPU acceleration
- biological_
vision_ inspired - Biological Vision System Inspired Algorithms
- chunked
- Chunked processing for memory-efficient operations on large arrays
- chunked_
morphology - Memory-efficient morphological operations with chunked processing
- chunked_
processing - Enhanced chunked image processing for large images
- chunked_
v2 - Enhanced chunked processing using scirs2-core’s memory-efficient features
- co_
occurrence - Co-occurrence Matrix Features and Run-Length Matrix
- comprehensive_
examples - Comprehensive Examples and Documentation for scirs2-ndimage
- comprehensive_
scipy_ benchmarks - Comprehensive benchmarking suite comparing scirs2-ndimage with SciPy ndimage
- comprehensive_
scipy_ validation - Comprehensive Numerical Validation Against SciPy ndimage
- comprehensive_
validation - Enhanced Validation Framework for Advanced Mode
- convolution3d
- 3D Convolution and Volumetric Filtering
- crf
- Conditional Random Field (CRF) post-processing module
- deep_
features - CNN-inspired deep image feature extraction (no neural network training required).
- distance_
transforms - Distance transform algorithms for 2D binary images
- documentation
- Documentation Generation System
- domain_
specific - Domain-specific imaging functions
- error
- Error types for the ndimage module
- feature_
detection - Advanced Image Feature Detection
- features
- Feature detection module
- filters
- Filtering functions for n-dimensional arrays
- filters3d
- 3D Image Filters
- freq_
filter - Frequency Domain Filtering Module
- frequency_
domain - Frequency Domain Image Processing
- gpu_
chunked - GPU-accelerated chunked image processing
- gpu_
operations - GPU-accelerated implementations for intensive ndimage operations
- hyperdimensional_
computing - Hyperdimensional Computing for Advanced-Efficient Pattern Recognition
- interpolation
- Interpolation functions for n-dimensional arrays
- level_
set - Geodesic active contours and Chan-Vese level-set segmentation.
- measurements
- Measurement functions for n-dimensional arrays
- memory_
management - Memory management utilities for ndimage operations
- meta_
learning_ algorithms - Advanced Enhanced Meta-Learning and Transfer Learning System
- mmap_io
- Memory-mapped I/O operations for large images
- moment_
invariants - Image moments and invariant descriptors.
- morphology
- Morphological operations on n-dimensional arrays
- morphology3d
- 3D Morphological Operations
- morphology_
advanced - Advanced mathematical morphology transforms
- morphology_
ext - Extended mathematical morphology operations.
- neuromorphic_
computing - Neuromorphic Computing for Image Processing
- optical_
flow - Optical flow algorithms for dense motion estimation
- out_
of_ core - Out-of-core image processing pipeline
- performance_
profiler - Advanced performance profiling and optimization tools for ndimage operations
- profiling
- Performance profiling and optimization tools
- python_
interop - Python Interoperability Support
- quality
- Image quality assessment metrics.
- quantum_
ai_ consciousness - Quantum-AI Consciousness Processor - Beyond Human-Level Image Understanding
- quantum_
enhanced_ gpu - Quantum-Enhanced GPU Acceleration Framework
- quantum_
inspired - Quantum-Inspired Image Processing Algorithms
- quantum_
neuromorphic_ fusion - Quantum-Neuromorphic Fusion for Image Processing
- radiomics
- Radiomics feature extraction module
- regionprops
- Region properties analysis for labeled images
- registration
- Image Registration Module
- scipy_
compat - SciPy ndimage compatibility layer
- scipy_
compat_ layer - SciPy ndimage compatibility layer
- scipy_
migration_ layer - SciPy ndimage API compatibility layer for seamless migration
- scipy_
performance_ comparison - Comprehensive Performance Comparison with SciPy ndimage
- segmentation
- Image segmentation module
- segmentation_
advanced - Advanced segmentation algorithms for scirs2-ndimage
- segmentation_
ext - Extended image segmentation algorithms.
- shape_
analysis - Shape analysis: convex hull, contour extraction, shape descriptors, ellipse fitting, and minimum bounding rectangle.
- skeletonize
- Morphological skeletonization and binary shape analysis
- slice_
processing - Multi-Planar Reconstruction and Volume Rendering
- streaming
- Streaming operations for processing large datasets
- template_
matching - Template Matching and Sliding Window Detection
- texture_
segmentation - Texture-Based Image Segmentation
- threading
- Thread pool integration for shared worker management
- topology
- Topological analysis of binary images.
- utils
- Common utility functions for ndimage processing
- visualization
- Visualization and Reporting Utilities for Image Processing Results
- volume_
analysis - 3D Volumetric Image Analysis
- volumetric_
ops - Volumetric Image Operations
- watershed
- Advanced watershed segmentation algorithms
- watershed3d
- 3D watershed segmentation with topological constraints.
- zero_
copy - Zero-copy transformations for memory-efficient image processing
Macros§
- profile_
op - Profile an operation
Structs§
- Accuracy
Result - Numerical accuracy comparison results
- Active
Contour Params - Parameters for active contour evolution
- Adaptive
Memory Consolidation - Adaptive Memory Consolidation
- Adaptive
Thread Pool - Adaptive thread pool that adjusts based on workload
- Advanced
Config - Advanced Processing Configuration
- Advanced
State - Advanced Processing State
- ApiCompatibility
Result - API compatibility test result
- ApiCompatibility
Tester - Comprehensive API compatibility tester
- Backend
Builder - Builder for creating backend executors
- Backend
Config - Configuration for backend selection and operation
- Backend
Executor - Backend executor that handles delegation
- Batch
Norm Params - Batch normalization parameters
- Benchmark
Config - Comprehensive benchmark suite configuration
- Bounding
Box2D - 2D bounding box for a labeled region
- Buffer
Pool - Buffer pool for reusing allocated arrays
- Cell
Info - Information about a segmented cell
- Cell
Segmentation Params - Parameters for cell segmentation
- Chan
Vese Params - Parameters for Chan-Vese segmentation
- Chunk
Config - Configuration for chunked processing
- Colocalization
Metrics - Colocalization analysis results
- Compact
Watershed Config - Configuration for compact (regularized) watershed
- Compatibility
Config - Configuration for compatibility testing
- Compatibility
Result - API compatibility test result
- Comprehensive
Validator - Comprehensive validation framework for Advanced operations
- Consciousness
Complexity - Consciousness Complexity
- Consciousness
State - Consciousness State
- Contour
- A contour extracted from a binary image
- Contour
Hierarchy - Contour hierarchy information
- Contour
Moments - Calculate moments of a contour
- DamResult
- Result of dam (boundary) extraction
- Edge
Detection Config - Configuration for edge detection algorithms
- Enhanced
Meta Learning System - Enhanced Meta-Learning System
- Event
- Event representation for address-event processing
- Example
Tutorial - Comprehensive tutorial and example collection
- Feature
Detector Weights - Pre-trained model weights for feature detection
- Gabor
Params - Gabor filter parameters
- Gaussian
Chunk Processor - Example chunk processor for Gaussian filtering
- Graph
Cuts Params - Parameters for graph cuts segmentation
- Hierarchical
Learner - Hierarchical Learner
- Image
Quality Metrics - Comprehensive image quality metrics
- Interactive
Graph Cuts - Interactive graph cuts segmentation with iterative refinement
- Learned
Edge Detector - Learned edge detector using convolutional filters
- Learned
Keypoint Descriptor - Keypoint descriptor using learned features
- MLDetector
Config - Configuration for ML-based feature detection
- Memory
Config - Configuration for memory-efficient operations
- Memory
Efficient Op - Memory-efficient wrapper for array operations
- Meta
Learning Tracker - Meta-Learning Tracker
- Multi
Scale Bilateral Config - Configuration for multi-scale bilateral filtering
- Multi
Scale Config - Multi-scale analysis configuration
- Multi
Scale Morph Config - Advanced morphological operations for texture analysis and feature extraction
- Neuromorphic
Config - Neuromorphic processing configuration
- Nodule
- Detected nodule information
- Object
Proposal - Object proposal with location and score
- Object
Proposal Generator - Object proposal generator using learned objectness scores
- Oversegmentation
Config - Configuration for oversegmentation control
- Parameter
Test - Parameter compatibility test
- Performance
Benchmark - Performance benchmark data
- Performance
Result - Performance comparison results for a single operation
- Performance
Summary - Performance summary
- Plastic
Synapse - Synaptic connection with plasticity
- Plot
Config - Configuration for plotting operations
- Quantum
Aware Resource Scheduler - Quantum-Aware Resource Scheduler
- Quantum
Coherence Optimizer - Quantum Coherence Optimizer
- Quantum
Config - Configuration for quantum-inspired algorithms
- Quantum
Consciousness Evolution - Quantum consciousness evolution system
- Quantum
State - Quantum state representation for image processing
- Region
Properties - Properties structure for labeled regions
- Region
Properties2D - Comprehensive properties of a labeled region in a 2D image
- Region
Props - Comprehensive properties of a single labeled region
- Report
Config - Configuration for report generation
- Resource
Scheduling Decision - Resource Scheduling Decision
- SciPy
Benchmark Suite - Main benchmark suite for comprehensive performance analysis
- SciPy
Validation Config - Configuration for validation testing
- SciPy
Validation Suite - Comprehensive numerical validation suite
- Semantic
Feature Extractor - Semantic feature extractor using pre-trained deep features
- Snake
Params - Parameters controlling active contour evolution
- Snake
Result - Result of active contour evolution
- Spiking
Neuron - Spiking neuron state
- Strategy
Evolution - Strategy Evolution
- Stream
Config - Configuration for streaming operations
- Stream
Processor - Streaming processor for large arrays
- Streaming
Gaussian Filter - Example: Streaming Gaussian filter
- Temporal
Memory Fusion - Temporal Memory Fusion
- Texture
Metrics - Texture analysis results
- Thread
Pool Config - Thread pool configuration
- Thread
Pool Context - Thread pool aware execution context
- Tutorial
Step - Individual tutorial step
- Validation
Config - Validation configuration parameters
- Validation
Error - Validation error information
- Validation
Report - Validation report
- Validation
Result - Numerical validation result for a single test case
- Vessel
Enhancement Params - Parameters for vessel enhancement
- Watershed
Config - Configuration for watershed segmentation
- Wavelet
Filter - Wavelet filter coefficients
- Work
Stealing Queue - Work-stealing queue for load balancing
- Worker
Info - Thread-local worker information
- Workload
Characteristics - Workload Characteristics
Enums§
- Adaptive
Method - Apply adaptive thresholding
- Approximation
Method - Contour approximation method
- Backend
- Available computation backends
- Border
Mode - Border handling modes for filters
- Boundary
Mode - Boundary mode for handling points outside the input array
- Coherence
Strategy - Coherence Strategy
- Color
Map - Color map types for visualization
- Connectivity
- Structuring element connectivity for binary morphology
- Distance
Metric - Distance metrics for distance transforms
- Edge
Detection Algorithm - Edge detection algorithm options
- Gradient
Method - Gradient calculation method for edge detection
- Interpolation
Order - Order of interpolation
- Memory
Strategy - Memory allocation strategy for operations
- Morph
Border Mode - Border handling modes for morphological operations
- Morph
Operation - Types of morphological operations
- Ndimage
Error - Error type for ndimage operations
- PanSharpen
Method - Pan-sharpening method
- Region
Connectivity - Connectivity mode for connected component labeling
- Region
Filter - Predicate for filtering regions by property
- Report
Format - Report output format options
- Retrieval
Mode - Contour retrieval mode
- Structure
Type - Types of structuring elements
- Threshold
Method - Watershed
Connectivity - Connectivity mode for watershed segmentation
- Watershed
Neighborhood - Connectivity mode for watershed neighbor traversal
- Wavelet
Family - Wavelet family enumeration
Traits§
- Backend
Op - Trait for operations that can be delegated to different backends
- Chunk
Processor - Trait for operations that can be applied to chunks
- InPlace
Op - Trait for operations that can be performed in-place
- Streamable
Op - Trait for operations that can be applied in a streaming fashion
Functions§
- active_
contour - Active contour segmentation using parametric snakes
- adaptive_
bilateral_ filter - Adaptive bilateral filter that automatically adjusts parameters based on local characteristics
- adaptive_
threshold - adaptive_
wiener_ filter - Apply adaptive Wiener filtering for noise reduction
- affine_
transform - Apply an affine transformation to an array using interpolation
- anisotropic_
diffusion - Apply anisotropic diffusion filtering for edge-preserving smoothing
- area_
opening_ 2d - Area opening - removes connected components smaller than a given area
- auto_
backend - Convenience function to create an auto-selecting backend executor
- auto_
markers - Generate automatic markers from local minima of the image
- batch_
quality_ assessment - High-performance batch quality assessment for multiple image pairs
- bilateral_
filter - Apply a bilateral filter to preserve edges while smoothing
- bilateral_
gradient_ filter - Apply a bilateral edge-preserving gradient filter
- binary_
closing - Close an array using a structuring element
- binary_
dilation - Dilate a binary array using a structuring element
- binary_
dilation_ 2d_ optimized - Optimized binary dilation for 2D arrays
- binary_
erosion - Erode a binary array using a structuring element
- binary_
erosion_ 2d_ optimized - Optimized binary erosion for 2D arrays
- binary_
fill_ holes - Fill holes in a binary array
- binary_
hit_ or_ miss - Apply a binary hit-or-miss transform to an array
- binary_
opening - Open an array using a structuring element
- black_
tophat - Apply black tophat transformation to a grayscale array
- black_
tophat_ 2d_ fast - Fast 2D black top-hat transform (closing - image)
- box_
structure - Create a box structuring element of given size
- bspline
- Evaluate a B-spline at given positions
- calculate_
accuracy_ metrics - Calculate numerical accuracy metrics between two arrays
- canny
- Canny edge detector
- center_
of_ mass - Find the center of mass (centroid) of an array
- central_
moments - Calculate central moments (moments around centroid)
- chan_
vese - Chan-Vese segmentation using level sets
- chan_
vese_ multiphase - Multi-phase Chan-Vese segmentation for multiple regions
- check_
memory_ limit - Check if an operation would exceed memory limit
- checkerboard_
level_ set - Create checkerboard initialization for multi-phase segmentation
- chessboard_
distance_ transform - Optimized chessboard distance transform
- chessboard_
dt - Chessboard (Chebyshev / L-infinity) distance transform
- cityblock_
distance_ transform - Optimized city-block (Manhattan) distance transform
- cityblock_
dt - City block (Manhattan / L1) distance transform
- coherence_
enhancing_ diffusion - Apply coherence enhancing diffusion for line-like structure enhancement
- colocalization_
analysis - Colocalization analysis for multi-channel microscopy
- compact_
watershed - Compact (regularized) watershed segmentation
- compute_
local_ variance - Compute local variance in a sliding window
- compute_
ndvi - Compute Normalized Difference Vegetation Index (NDVI)
- configure_
parallel_ ops - Integration with scirs2-core parallel operations
- contour_
area - Compute the area enclosed by a closed contour using the shoelace formula
- contour_
energy - Compute the total energy of a contour on an image
- contour_
perimeter - Compute the perimeter (total arc length) of a closed contour
- contrast_
to_ noise_ ratio - Compute Contrast-to-Noise Ratio
- convolve
- Convolve an n-dimensional array with a filter kernel
- count_
labels - Count the number of pixels/elements in each labeled region
- count_
labels_ 2d - Count pixels per label in a labeled image
- create_
circle_ contour - Generate initial circular contour
- create_
circular_ contour - Create a circular initial contour
- create_
colormap - Create a color map for visualization
- create_
ellipse_ contour - Generate initial elliptical contour
- create_
elliptical_ contour - Create an elliptical initial contour
- create_
output_ array - Create a memory-efficient view or copy based on configuration
- create_
rectangular_ contour - Create a rectangular initial contour
- createimage_
montage - Create an image montage/grid from multiple 2D arrays
- detect_
clouds - Cloud detection in satellite imagery
- detect_
lung_ nodules - Lung nodule detection (simplified)
- detect_
nuclei - Detect and count nuclei in fluorescence microscopy
- detect_
water_ bodies - Detect water bodies using spectral indices
- disk_
structure - Create a disk structuring element
- distance_
transform_ bf - Calculate the distance transform of a binary image using a brute force algorithm.
- distance_
transform_ cdt - Calculate the city block (Manhattan) distance transform of a binary image.
- distance_
transform_ chessboard_ 2d - Efficient 2D Chessboard distance transform
- distance_
transform_ cityblock_ 2d - Efficient 2D Manhattan (city-block) distance transform
- distance_
transform_ edt - Calculate the Euclidean distance transform of a binary image.
- distance_
transform_ edt_ 2d - Efficient 2D Euclidean distance transform using Meijster’s algorithm
- distance_
transform_ edt_ full - Compute the distance transform with both distances and indices
- draw_
contours - Draw contours on an image
- dwt_1d
- 1D Discrete Wavelet Transform
- dwt_2d
- 2D Discrete Wavelet Transform
- edge_
detector - Unified edge detector function that works with different algorithms
- edge_
detector_ simple - Enhanced edge detector (compatible with previous API)
- enhance_
bone_ structure - Bone structure enhancement using morphological operations
- enhanced_
meta_ learning_ with_ temporal_ fusion - Enhanced Meta-Learning with Temporal Memory Fusion
- enhanced_
quantum_ consciousness_ evolution - Enhanced Quantum Consciousness Processing with Evolution
- estimate_
fractal_ dimension - Estimate fractal dimension using box-counting method
- estimate_
memory_ usage - Estimate memory usage for an operation
- euclidean_
distance_ transform - Compute the Euclidean distance transform (not squared)
- euclidean_
distance_ transform_ separable - Compute the squared Euclidean distance transform using the Felzenszwalb & Huttenlocher algorithm
- euclidean_
dt - Exact Euclidean Distance Transform using the Meijster separable algorithm
- event_
driven_ processing - Event-Driven Image Processing
- evolve_
snake - Evolve an active contour (snake) on an image
- extract_
dams - Extract dam (boundary) pixels from a watershed segmentation
- extrema
- Find the extrema (min, max, min_loc, max_loc) of an array
- fast_
corners - Fast corner detector (FAST: Features from Accelerated Segment Test)
- fill_
holes_ 2d - Fill holes in a binary 2D image
- filter_
regions - Filter regions by one or more property criteria
- find_
boundaries - Find the boundaries of objects in a labeled array
- find_
contours - Find contours in a binary image using the Suzuki-Abe algorithm
- find_
objects - Find and locate objects in a labeled array
- find_
objects_ 2d - Find objects (bounding boxes) in a 2D labeled image
- frangi_
vesselness - Enhance blood vessels using Frangi filter
- fusion_
processing - Advanced Quantum-Conscious Image Processing
- gabor_
filter - Apply a Gabor filter to a 2D array
- gabor_
filter_ bank - Apply a bank of Gabor filters with different orientations
- gaussian_
filter - Apply a Gaussian filter to an n-dimensional array of f64 values
- gaussian_
filter_ chunked - Memory-efficient Gaussian filter
- gaussian_
filter_ f32 - Apply a gaussian filter to an n-dimensional array of f32 values
- gaussian_
filter_ f64 - Specialized Gaussian filter implementation for f64 arrays
- generate_
binary_ structure - Generate a binary structure for morphological operations
- generate_
report - Generate a comprehensive analysis report
- generic_
filter - Apply a generic filter to an n-dimensional array
- geodesic_
dilation_ 2d - Geodesic dilation - dilation constrained by a reference image
- geodesic_
dt - Geodesic distance transform
- geodesic_
erosion_ 2d - Geodesic erosion - erosion constrained by a reference image
- geometric_
transform - Apply a general geometric transform to an array
- get_
thread_ pool_ config - Get the current thread pool configuration
- gradient_
edges - Gradient-based edge detection
- granulometry_
2d - Granulometry analysis for texture characterization
- graph_
cuts - Perform graph cuts segmentation on an image
- grey_
closing - Close a grayscale array using a structuring element
- grey_
dilation - Dilate a grayscale array using a structuring element
- grey_
dilation_ 2d_ optimized - Optimized grayscale dilation for 2D arrays using SIMD and parallel processing
- grey_
erosion - Erode a grayscale array using a structuring element
- grey_
erosion_ 2d_ optimized - Optimized grayscale erosion for 2D arrays using SIMD and parallel processing
- grey_
opening - Open a grayscale array using a structuring element
- h_
minima_ transform - H-minima transform: suppress all minima whose depth is less than
h - harris_
corners - Harris corner detector
- histogram
- Calculate histogram of values within labeled regions
- homeostatic_
adaptive_ filter - Adaptive Homeostatic Filtering
- idwt_1d
- 1D Inverse Discrete Wavelet Transform
- idwt_2d
- 2D Inverse Discrete Wavelet Transform
- image_
entropy - Compute image entropy (information content)
- image_
quality_ assessment - Compute comprehensive image quality metrics
- image_
sharpness - Compute image sharpness using Laplacian variance
- init_
thread_ pool - Initialize the global thread pool configuration
- iterate_
structure - Iterate binary erosion or dilation until convergence
- label
- Label connected components in a binary array
- label_
2d - Optimized 2D connected component labeling using two-pass algorithm with union-find
- label_
components - Label connected components in a binary image
- laplace
- Apply a Laplace filter to detect edges in an n-dimensional array
- laplacian_
edges - Laplacian of Gaussian (LoG) edge detector
- liquidstate_
machine - Liquid State Machine for Temporal Image Processing
- local_
extrema - Find the local extrema of an array
- local_
feature_ analysis - Optimized local feature analysis using sliding window statistics
- log_
gabor_ filter - Apply a Log-Gabor filter to a 2D array
- map_
coordinates - Map coordinates from one array to another
- marker_
watershed - Marker-controlled watershed for 2D arrays with configurable connectivity
- mask_
to_ contour - Extract contour from segmentation mask
- mask_
to_ level_ set - Initialize level set from binary mask
- maximum_
filter - Apply a maximum filter to an n-dimensional array
- mean_
absolute_ error - Compute Mean Absolute Error
- mean_
labels - Calculate the mean (average) value for each labeled region
- mean_
squared_ error - Compute Mean Squared Error
- median_
filter - Apply a median filter to an n-dimensional array
- median_
filter_ chunked - Memory-efficient median filter
- merge_
small_ regions - Control oversegmentation by merging small regions
- minimum_
filter - Apply a minimum filter to an n-dimensional array
- moments
- Calculate image moments
- moments_
inertia_ tensor - Find the moment of inertia tensor of an array
- morphological_
gradient - Apply morphological gradient to a grayscale array
- morphological_
gradient_ 2d_ fast - Fast 2D morphological gradient (dilation - erosion)
- morphological_
laplace - Apply morphological Laplace to a grayscale array
- morphological_
reconstruction_ 2d - Morphological reconstruction using geodesic operations
- morphological_
reconstruction_ by_ dilation - Morphological reconstruction by dilation using fast hybrid algorithm
- morphological_
reconstruction_ by_ erosion - Morphological reconstruction by erosion using fast hybrid algorithm
- multi_
scale_ analysis - Perform multi-scale image analysis
- multi_
scale_ bilateral_ filter - Multi-scale bilateral filter for enhanced edge preservation and noise reduction
- multi_
scale_ morphology_ 2d - Multi-scale morphological analysis
- nearest_
background - Compute the nearest background pixel indices for each foreground pixel
- non_
local_ means - Apply non-local means denoising filter
- normalized_
moments - Calculate normalized moments
- otsu_
threshold - Apply Otsu’s thresholding method
- pan_
sharpen - Pan-sharpening: merge high-resolution panchromatic with low-resolution multispectral
- peak_
prominences - Calculate peak prominence for peaks in a 1D array
- peak_
signal_ to_ noise_ ratio - Compute Peak Signal-to-Noise Ratio (PSNR)
- peak_
widths widths- Width of each peak at the specified heightwidth_heights- Actual height values at which widths were measuredleft_ips- Left interpolation points (x-coordinates) of width measurementsright_ips- Right interpolation points (x-coordinates) of width measurements- percentile_
filter - Apply a percentile filter to an n-dimensional array
- plot_
contour - Generate a contour plot representation of a 2D array
- plot_
heatmap - Generate a heatmap visualization of a 2D array
- plot_
histogram - Generate a histogram plot representation
- plot_
profile - Generate a profile plot (line plot) representation
- plot_
statistical_ comparison - Generate a comparative statistical plot for multiple datasets
- plot_
surface - Generate a 3D surface plot representation of a 2D array
- point_
in_ contour - Check if a point is inside a contour using ray casting
- process_
chunked - Process an array in chunks using the given processor
- quantum_
amplitude_ amplification - Quantum Amplitude Amplification for Feature Detection
- quantum_
annealing_ segmentation - Quantum Annealing-Based Segmentation
- quantum_
aware_ resource_ scheduling_ optimization - Quantum-Aware Resource Scheduling and Optimization
- quantum_
entanglement_ correlation - Quantum Entanglement Correlation Analysis
- quantum_
error_ correction - Quantum Error Correction for Image Processing
- quantum_
fourier_ enhancement - Quantum Fourier Transform Enhancement
- quantum_
machine_ learning_ classifier - Quantum Machine Learning for Image Classification
- quantum_
superposition_ filter - Quantum Superposition Filtering
- quantum_
tensor_ network_ processing - Quantum Tensor Network Image Processing
- quantum_
variational_ enhancement - Quantum Variational Image Enhancement
- quantum_
walk_ edge_ detection - Quantum Walk-Based Edge Detection
- rank_
filter - Apply a rank filter to an n-dimensional array
- region_
properties - Extract comprehensive properties of labeled regions
- region_
props_ advanced - Compute region properties for all labeled regions in a 2D image
- regionprops_
2d - Compute comprehensive properties for each labeled region in a 2D image
- remove_
small_ holes - Remove small holes from a labeled array
- remove_
small_ objects - Remove small objects from a labeled array
- resample_
contour - Resample a contour to have a specified number of uniformly spaced points
- rotate
- Rotate an array using interpolation
- safe_
f64_ to_ float - Helper function for safe conversion of hardcoded constants from f64 to generic float type
- safe_
float_ to_ f64 - Helper function for safe float to f64 conversion
- safe_
usize_ to_ float - Helper function for safe usize conversion
- segment_
cells - Segment cells in microscopy images
- shift
- Shift an array using interpolation
- shock_
filter - Apply shock filter for edge enhancement
- signal_
to_ noise_ ratio - Compute Signal-to-Noise Ratio
- signed_
distance_ function - Signed distance function (SDF) for a binary image
- smooth_
contour - Smooth a contour using B-spline interpolation
- sobel
- Apply a Sobel filter to calculate gradients in an n-dimensional array
- sobel_
edges - Sobel edge detector (for backward compatibility)
- spiking_
neural_ network_ filter - Spiking Neural Network for Image Processing
- spline_
filter - Spline filter for use in interpolation
- spline_
filter1d - Spline filter 1D for use in separable interpolation
- stdp_
unsupervised_ learning - STDP-based Unsupervised Learning Filter
- steerable_
filter - Apply a steerable filter to a 2D array
- stream_
process_ file - Stream process a file-based array
- structural_
similarity_ index - Compute Structural Similarity Index Measure (SSIM)
- sum_
labels - Sum the values of an array for each labeled region
- temporal_
coding_ feature_ extraction - Temporal Coding Feature Extraction
- texture_
analysis - Perform comprehensive texture analysis
- threshold_
binary - Apply a threshold to an image to create a binary image
- uniform_
filter - Apply a uniform filter to an n-dimensional array
- uniform_
filter_ chunked - Memory-efficient uniform filter
- update_
thread_ pool_ config - Update thread pool configuration
- validate_
all_ examples - Utility function to run all examples and validate they work
- validate_
api_ compatibility - Validate API compatibility for a specific function
- validated_
advanced_ processing - Enhanced Advanced processing with validation
- value_
at_ coordinates - Find values at given indices in an array
- variance_
labels - Calculate the variance of an array for each labeled region
- visualize_
gradient - Visualize gradient information as a vector field
- watershed
- Watershed segmentation for 2D arrays (Meyer’s flooding algorithm)
- watershed_
from_ distance - Automatic watershed segmentation from distance transform
- watershed_
with_ config - Full watershed segmentation with configuration
- wavelet_
decompose - Multi-level wavelet decomposition
- wavelet_
denoise - Wavelet-based denoising using soft thresholding
- wavelet_
reconstruct - Multi-level wavelet reconstruction
- white_
tophat - Apply white tophat transformation to a grayscale array
- white_
tophat_ 2d_ fast - Fast 2D white top-hat transform (image - opening)
- zoom
- Zoom an array using interpolation
Type Aliases§
- Comprehensive
Summary - Comprehensive summary of validation and performance results
- Ndimage
Result - Result type for ndimage operations
- Peak
Widths Result - Calculate peak widths at specified height levels in a 1D array