IDS peak ICV v1.2.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@defgroup ids_peak_icv_python_experimental Experimental
87@ingroup ids_peak_icv_python
88
89@brief
90 Contains experimental functionality for evaluation and feedback.
91
92Next to its officially released functions the IDS peak ICV library contains preliminary functions
93that are being prepared by our software development team but are still under development.
94These preliminary functions are marked with a warning.
95All preliminary functionality is located in the experimental Python module (ids_peak_icv.experimental).
96Please use these functions and classes for testing purposes only.
97We welcome any feedback or suggestions that can help us improve them.
98Do not use these functions in production environments until they have been officially released.
99
100@defgroup ids_peak_icv_python_filters Filters
101@ingroup ids_peak_icv_python
102
103@brief
104Image filters.
105
106
107@defgroup ids_peak_icv_python_painting Painting
108@ingroup ids_peak_icv_python
109
110@brief
111Functions for painting on an image.
112
113
114@defgroup ids_peak_icv_python_selectors Selectors
115@ingroup ids_peak_icv_python
116
117@brief
118Provides utilities to filter objects from a given set.
119
120A Selector encapsulates a filtering operation
121applied to a given set of objects.
122Instead of modifying the original set,
123each selection function returns a new Selector object
124that represents the filtered subset.
125
126This design enables the chaining of multiple selection criteria.
127
128To access the currently selected objects,
129use the respective accessor functions,
130such as `RegionSelector.regions`.
131
132
133@defgroup ids_peak_icv_python_thresholds Thresholds
134@ingroup ids_peak_icv_python
135
136@brief
137Group of functions for thresholding images.
138
139
140@defgroup ids_peak_icv_python_transformations Transformations
141@ingroup ids_peak_icv_python
142
143@brief
144A collection of classes that implement
145geometric transformations for image processing
146
147
148@defgroup ids_peak_icv_python_types Types
149@ingroup ids_peak_icv_python
150
151@brief
152Collection of fundamental data types used throughout the library.
153
154
155@defgroup ids_peak_icv_python_types_geometry Geometry
156@ingroup ids_peak_icv_python_types
157
158@brief Types representing geometric concepts such as polygons and 3D points.
159
160"""
161
162from .backend.utils import Loader
163
164lib_loader = Loader()
165
166from .datatypes import (BinningFactor, Image, Region, Rotation)
167from . import pipeline
168from . import serialization
169from .exceptions import (CorruptedException, IOException, MismatchException, NotSupportedException,
170 NotPossibleException, TargetNotFoundException, OutOfRangeException, InternalErrorException,
171 MathErrorException, NullPointerException, InvalidConfigurationException,
172 ICVException)
173from . import (selectors, thresholds, calibration, transformations, filters)
174from .datatypes import (PointCloud, XYZImage, Polygon, PointXYZ, PointXYZI, CoordinateSystem)