IDS peak ICV v1.1.0
Loading...
Searching...
No Matches
__init__.py
Go to the documentation of this file.
1"""!
2@brief
3@defgroup ids_peak_icv_python Python
4@ingroup ids_peak_icv_library
5
6@brief
7 The Python interface for the IDS peak ICV library.
8
9The interface is delivered as a wheel via the Python Package Index (PyPI).
10It can be installed using `pip`:
11
12```bash
13pip install ids_peak_icv
14```
15
16To use @htmlonly IDS peak ICV @endhtmlonly in your project import ids_peak_icv by calling:
17
18```python
19import ids_peak_icv
20```
21
22
23@defgroup ids_peak_icv_python_pipeline Image Pipeline
24@ingroup ids_peak_icv_python
25
26@brief
27 Comprehensive image processing pipeline system for real-time image transformation and enhancement.
28
29The Image Pipeline provides a complete, modular framework for processing raw sensor data through
30a series of configurable transformation stages. It supports a wide range of image processing
31operations from basic format conversions to advanced enhancement algorithms.
32
33## Architecture Overview
34
35The pipeline follows a modular design with two main component types:
36- **Modules**: Core processing units that perform specific image transformations
37- **Features**: High-level interfaces that provide user-friendly access to module functionality
38
39## Processing Flow
40
41The pipeline processes images through sequential stages:
42
43- **Data Unpacking** - Converts packed sensor formats to standard representations
44- **Defect Correction** - Removes hot pixels and other sensor artifacts
45- **Geometric Transformations** - Handles binning, decimation, rotation, and mirroring
46- **Gain Control** - Applies brightness and white balance adjustments
47- **Color Processing** - Performs debayering and color space transformations
48- **Enhancement** - Applies sharpening, gamma correction, and tone mapping
49- **Format Conversion** - Converts to the desired output pixel format
50
51For more information refer to the @ref guide_pipeline Guide.
52
53
54@defgroup ids_peak_icv_python_serialization Serialization
55@ingroup ids_peak_icv_python
56
57@brief
58 Functions and classes for converting objects into a storable format.
59
60Serialization refers to the process of transforming
61an object’s state or a data structure
62into a format suitable for storage or transmission
63(e.g., files, databases, or network streams).
64This allows data to be persisted
65and later reconstructed through deserialization,
66restoring the original structure and values.
67
68Typical use cases include:
69- Saving application state to disk
70- Transferring data between processes or systems
71
72
73@defgroup ids_peak_icv_python_types Types
74@ingroup ids_peak_icv_python
75
76@brief
77 Collection of fundamental data types used throughout the library.
78
79
80@defgroup ids_peak_icv_python_calibration Calibration
81@ingroup ids_peak_icv_python
82
83@brief
84Group of functions for calibration.
85
86
87@defgroup ids_peak_icv_python_filters Filters
88@ingroup ids_peak_icv_python
89
90@brief
91Image filters.
92
93
94@defgroup ids_peak_icv_python_painting Painting
95@ingroup ids_peak_icv_python
96
97@brief
98Functions for painting on an image.
99
100
101@defgroup ids_peak_icv_python_selectors Selectors
102@ingroup ids_peak_icv_python
103
104@brief
105Provides utilities to filter objects from a given set.
106
107A Selector encapsulates a filtering operation
108applied to a given set of objects.
109Instead of modifying the original set,
110each selection function returns a new Selector object
111that represents the filtered subset.
112
113This design enables the chaining of multiple selection criteria.
114
115To access the currently selected objects,
116use the respective accessor functions,
117such as `RegionSelector.regions`.
118
119
120@defgroup ids_peak_icv_python_thresholds Thresholds
121@ingroup ids_peak_icv_python
122
123@brief
124Group of functions for thresholding images.
125
126
127@defgroup ids_peak_icv_python_transformations Transformations
128@ingroup ids_peak_icv_python
129
130@brief
131A collection of classes that implement
132geometric transformations for image processing
133
134
135@defgroup ids_peak_icv_python_types Types
136@ingroup ids_peak_icv_python
137
138@brief
139Collection of fundamental data types used throughout the library.
140
141
142@defgroup ids_peak_icv_python_types_geometry Geometry
143@ingroup ids_peak_icv_python_types
144
145@brief Types representing geometric concepts such as polygons and 3D points.
146
147"""
148
149from .backend.utils import Loader
150
151lib_loader = Loader()
152
153from .datatypes import (BinningFactor, Image, Region, Rotation)
154from . import pipeline
155from . import serialization
156from .exceptions import (CorruptedException, IOException, MismatchException, NotSupportedException,
157 NotPossibleException, TargetNotFoundException, OutOfRangeException, InternalErrorException,
158 MathErrorException, NullPointerException, InvalidConfigurationException,
159 ICVException)
160from . import (selectors, thresholds, calibration, transformations, filters)
161from .datatypes import (PointCloud, XYZImage, Polygon, PointXYZ, PointXYZI, CoordinateSystem)