![]() |
IDS peak IPL v1.16.0
|
Edge Enhancement for a given image. More...
#include <peak_ipl/algorithm/peak_ipl_edge_enhancement.hpp>
Public Member Functions | |
| EdgeEnhancement () | |
| Constructor for a new EdgeEnhancement instance. | |
| ~EdgeEnhancement () | |
| Destructor for the EdgeEnhancement instance. | |
| EdgeEnhancement (const EdgeEnhancement &other) | |
| Copy Constructor for a new EdgeEnhancement instance. | |
| EdgeEnhancement & | operator= (const EdgeEnhancement &other) |
| Copy assigment for EdgeEnhancement instance. | |
| EdgeEnhancement (EdgeEnhancement &&other) noexcept | |
| Move constructor for EdgeEnhancement instance. | |
| EdgeEnhancement & | operator= (EdgeEnhancement &&other) noexcept |
| Move assignment for EdgeEnhancement instance. | |
| void | ProcessInPlace (Image &image) const |
| Process an image. | |
| Image | Process (const Image &image) const |
| Process an image. | |
| bool | IsPixelFormatSupported (PixelFormatName pixelFormatName) const |
| Check if the pixel format is supported. | |
| void | SetFactor (std::uint32_t factor) |
| Set the edge enhancement factor. | |
| std::uint32_t | Factor () const |
| Get the edge enhancement factor. | |
| std::uint32_t | DefaultFactor () const |
| Get the default edge enhancement factor. | |
| peak::ipl::Range< std::uint32_t > | Range () const |
| Get the range for the edge enhancement factor. | |
Edge Enhancement for a given image.
This class uses a software filter that emphasizes the edges in the image. The enhancement factor is configurable.
|
inline |
|
inline |
|
inline |
Copy Constructor for a new EdgeEnhancement instance.
Creates a new EdgeEnhancement instance.
| [in] | other | The other instance to acquire a reference for. |
|
inlinenoexcept |
Move constructor for EdgeEnhancement instance.
Moves the instance from other to this. Afterwards other is invalid.
| [in] | other | The other instance to move. |
|
inline |
Get the default edge enhancement factor.
| Exception | An internal error has occurred. |
|
inline |
Get the edge enhancement factor.
| Exception | An internal error has occurred. |
|
inline |
Check if the pixel format is supported.
| [in] | pixelFormatName | The PixelFormatName to check support for. |
| Exception | An internal error has occurred. |
|
inline |
Copy assigment for EdgeEnhancement instance.
Acquires a reference from other to this instance. If this instance already has a reference, it will be destroyed.
| [in] | other | The other instance to acquire a reference for. |
|
inlinenoexcept |
Move assignment for EdgeEnhancement instance.
Moves the instance from other to this. Afterwards other is invalid.
| [in] | other | The other instance to move. |
Process an image.
To check if it is supported, call EdgeEnhancement::IsPixelFormatSupported first This function causes a higher CPU load.
| [in] | image | Image to process. |
| InvalidPixelFormat | pixel format isn't supported. |
| Exception | An internal error has occurred. |
|
inline |
Process an image.
To check if it is supported, call EdgeEnhancement::IsPixelFormatSupported first This function causes a higher CPU load.
| [in] | image | Image to process. |
| InvalidPixelFormat | pixel format isn't supported. |
| Exception | An internal error has occurred. |
|
inline |
Get the range for the edge enhancement factor.
| Exception | An internal error has occurred. |
|
inline |
Set the edge enhancement factor.
| [in] | factor | The factor to set. |
| Exception | An internal error has occurred. |