![]() |
IDS peak IPL
v1.7.0
|
Edge Enhancement for a given image. More...
#include <peak_ipl/algorithm/peak_ipl_edge_enhancement.hpp>
Public Member Functions | |
| EdgeEnhancement () | |
| ~EdgeEnhancement () | |
| EdgeEnhancement (const EdgeEnhancement &)=delete | |
| EdgeEnhancement & | operator= (const EdgeEnhancement &)=delete |
| EdgeEnhancement (EdgeEnhancement &&) noexcept | |
| EdgeEnhancement & | operator= (EdgeEnhancement &&) noexcept |
| void | ProcessInPlace (Image &image) const |
| Process an image. More... | |
| Image | Process (const Image &image) const |
| Process an image. More... | |
| bool | IsPixelFormatSupported (PixelFormatName pixelFormatName) const |
| Check if the pixel format is supported. More... | |
| void | SetFactor (std::uint32_t factor) |
| Set the edge enhancement factor. More... | |
| std::uint32_t | Factor () const |
| Get the edge enhancement factor. More... | |
| std::uint32_t | DefaultFactor () const |
| Get the default edge enhancement factor. More... | |
| peak::ipl::Range< std::uint32_t > | Range () const |
| Get the range for the edge enhancement factor. More... | |
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 |
|
delete |
|
inlinenoexcept |
|
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. |
|
delete |
|
inlinenoexcept |
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 is not supported. |
| Exception | An internal error has occurred. |
|
inline |
|
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. |