Extension methods the Foundation Package adds to Image objects.
More...
|
| static void | Init (this Image img, double value) |
| | Initialize the planes of this image to a value.
|
| |
| static void | Init (this Image img, double[] values) |
| | Initialize the planes of this image to different values.
|
| |
| static void | Init (this Image img, Rect aoi, double value) |
| | Initialize the planes of this image to a value.
|
| |
| static void | Init (this Image img, Rect aoi, double[] values) |
| | Initialize the planes of this image to different values.
|
| |
| static Image | SubImage (this Image img, Area2D aoi) |
| | Extract the content of an aoi (area of interest) into a new image using linear interpolation.
|
| |
| static Image | SubImage (this Image img, Area2D aoi, Interpolation interpolation) |
| | Extract the content of an aoi (area of interest) into a new image.
|
| |
Extension methods the Foundation Package adds to Image objects.
◆ Init() [1/4]
| static void Init |
( |
this Image | img, |
|
|
double | value ) |
|
static |
Initialize the planes of this image to a value.
- Parameters
-
| img | Image to be initialized. |
| value | Values to which the various planes are to be initialized. |
- Exceptions
-
| ArgumentNullException | If the input img is null |
| ObjectDisposedException | If the input img has already been disposed |
◆ Init() [2/4]
| static void Init |
( |
this Image | img, |
|
|
double[] | values ) |
|
static |
Initialize the planes of this image to different values.
- Parameters
-
| img | Image to be initialized. |
| values | Values to which the various planes are to be initialized (needs at least one value per plane). |
- Exceptions
-
| ArgumentNullException | If the input img is null |
| ObjectDisposedException | If the input img has already been disposed |
◆ Init() [3/4]
| static void Init |
( |
this Image | img, |
|
|
Rect | aoi, |
|
|
double | value ) |
|
static |
Initialize the planes of this image to a value.
- Parameters
-
| img | Image to be initialized. |
| aoi | Rect to initialize. |
| value | Values to which the various planes are to be initialized. |
- Exceptions
-
| ArgumentNullException | If the input img is null |
| ObjectDisposedException | If the input img has already been disposed |
◆ Init() [4/4]
| static void Init |
( |
this Image | img, |
|
|
Rect | aoi, |
|
|
double[] | values ) |
|
static |
Initialize the planes of this image to different values.
- Parameters
-
| img | Image to be initialized. |
| aoi | Area of interest to initialize. |
| values | Values to which the various planes are to be initialized (needs at least one value per plane). |
- Exceptions
-
| ArgumentNullException | If the input img is null |
| ObjectDisposedException | If the input img has already been disposed |
◆ SubImage() [1/2]
Extract the content of an aoi (area of interest) into a new image using linear interpolation.
- Parameters
-
| img | Image to work from. |
| aoi | Area of interest to be extracted. |
- Returns
- New image of the subregion.
- Exceptions
-
| ArgumentNullException | If the input img is null |
| ObjectDisposedException | If the input img has already been disposed |
◆ SubImage() [2/2]
Extract the content of an aoi (area of interest) into a new image.
- Parameters
-
| img | Image to work from. |
| aoi | Area of interest to be extracted. |
| interpolation | Interpolation mode to be used. |
- Returns
- New image of the subregion.
- Exceptions
-
| ArgumentNullException | If the input img is null |
| ObjectDisposedException | If the input img has already been disposed |