|
The blo Library
|
Image gradient magnitude and direction processor. More...
#include <ImageGradientMagnitudeDirection.h>
Public Member Functions | |
| ImageGradientMagnitudeDirection () | |
| Default constructor. | |
| ImageGradientMagnitudeDirection (int width, int height) | |
| Constructs image gradient magnitude and direction processor of specified size work buffers. | |
| ImageGradientMagnitudeDirection (const ImageGradientMagnitudeDirection &rhs) | |
| Copy constructor. | |
| ImageGradientMagnitudeDirection (ImageGradientMagnitudeDirection &&rhs) noexcept | |
| Move constructor. | |
| virtual | ~ImageGradientMagnitudeDirection () |
| Destructor. | |
| ImageGradientMagnitudeDirection & | operator= (const ImageGradientMagnitudeDirection &rhs) |
| Copy assignment operator. | |
| ImageGradientMagnitudeDirection & | operator= (ImageGradientMagnitudeDirection &&rhs) noexcept |
| Move assignment operator. | |
| void | resize (int width, int height) |
| Resizes work buffers. | |
| void | clear () |
| Resizes work buffers to zero width and zero height. | |
| int | width () const |
| Width of the work buffers. | |
| int | height () const |
| Height of the work buffers. | |
| void | setWinSize (int winSize) |
| Sets size of the feature window. | |
| int | winSize () const |
| Size of the feature window. | |
| void | calcMagnitude (const T *pSrcIx, int srcIxStep, const T *pSrcIy, int srcIyStep, T *pDst, int dstStep, int dstRoiWidth, int dstRoiHeight) |
| Calculates the gradient magnitude of windows within an image. | |
| void | gradientMagnitudeDirection (const T *pSrcIx, int srcIxStep, const T *pSrcIy, int srcIyStep, T *pDstMagnitude, int dstMagnitudeStep, SmallMatrix< T, 2, 1 > *pDstDirection, int dstDirectionStep, int dstRoiWidth, int dstRoiHeight) |
| Calculates the gradient magnitude and direction of windows within an image. | |
| void | gradientMagnitudeDirection (const T *pSrcIx, int srcIxStep, const T *pSrcIy, int srcIyStep, T *pDstMagnitude, int dstMagnitudeStep, T *pDstDirection, int dstDirectionStep, int dstRoiWidth, int dstRoiHeight) |
| Calculates the gradient magnitude and direction of windows within an image. | |
Related Functions | |
(Note that these are not member functions.) | |
| BLO_EXPIMP_TEMPLATE template class BLO_API | ImageGradientMagnitudeDirection< float, 1 > |
| BLO_EXPIMP_TEMPLATE template class BLO_API | ImageGradientMagnitudeDirection< float, 3 > |
Image gradient magnitude and direction processor.
| T | Data type. |
| C | Number of channels. |
| blo::ImageGradientMagnitudeDirection< T, C >::ImageGradientMagnitudeDirection | ( | ) |
Default constructor.
| blo::ImageGradientMagnitudeDirection< T, C >::ImageGradientMagnitudeDirection | ( | int | width, |
| int | height | ||
| ) |
Constructs image gradient magnitude and direction processor of specified size work buffers.
| width | Width of the work buffers in pixels. |
| height | Height of the work buffers in pixels. |
| blo::ImageGradientMagnitudeDirection< T, C >::ImageGradientMagnitudeDirection | ( | const ImageGradientMagnitudeDirection< T, C > & | rhs | ) |
Copy constructor.
|
noexcept |
Move constructor.
|
virtual |
Destructor.
| void blo::ImageGradientMagnitudeDirection< T, C >::calcMagnitude | ( | const T * | pSrcIx, |
| int | srcIxStep, | ||
| const T * | pSrcIy, | ||
| int | srcIyStep, | ||
| T * | pDst, | ||
| int | dstStep, | ||
| int | dstRoiWidth, | ||
| int | dstRoiHeight | ||
| ) |
Calculates the gradient magnitude of windows within an image.
| pSrcIx | Pointer to the source image x-derivative. |
| srcIxStep | Step in bytes between the rows in the source image pSrcIx. |
| pSrcIy | Pointer to the source image y-derivative. |
| srcIyStep | Step in bytes between the rows in the source image pSrcIy. |
| pDst | Pointer to the destination image. |
| dstStep | Step in bytes between the rows in the destination image. |
| dstRoiWidth | Width of the destination image ROI in pixels. |
| dstRoiHeight | Height of the destination image ROI in pixels. |
| void blo::ImageGradientMagnitudeDirection< T, C >::clear | ( | ) |
Resizes work buffers to zero width and zero height.
| void blo::ImageGradientMagnitudeDirection< T, C >::gradientMagnitudeDirection | ( | const T * | pSrcIx, |
| int | srcIxStep, | ||
| const T * | pSrcIy, | ||
| int | srcIyStep, | ||
| T * | pDstMagnitude, | ||
| int | dstMagnitudeStep, | ||
| SmallMatrix< T, 2, 1 > * | pDstDirection, | ||
| int | dstDirectionStep, | ||
| int | dstRoiWidth, | ||
| int | dstRoiHeight | ||
| ) |
Calculates the gradient magnitude and direction of windows within an image.
| pSrcIx | Pointer to the source image x-derivative. |
| srcIxStep | Step in bytes between the rows in the source image pSrcIx. |
| pSrcIy | Pointer to the source image y-derivative. |
| srcIyStep | Step in bytes between the rows in the source image pSrcIy. |
| pDstMagnitude | Pointer to the destination gradient magnitude image. |
| dstMagnitudeStep | Step in bytes between the rows in the destination gradient magnitude image. |
| pDstDirection | Pointer to the destination gradient direction image. |
| dstDirectionStep | Step in bytes between the rows in the destination gradient direction image. |
| dstRoiWidth | Width of the destination images ROI in pixels. |
| dstRoiHeight | Height of the destination images ROI in pixels. |
| void blo::ImageGradientMagnitudeDirection< T, C >::gradientMagnitudeDirection | ( | const T * | pSrcIx, |
| int | srcIxStep, | ||
| const T * | pSrcIy, | ||
| int | srcIyStep, | ||
| T * | pDstMagnitude, | ||
| int | dstMagnitudeStep, | ||
| T * | pDstDirection, | ||
| int | dstDirectionStep, | ||
| int | dstRoiWidth, | ||
| int | dstRoiHeight | ||
| ) |
Calculates the gradient magnitude and direction of windows within an image.
| pSrcIx | Pointer to the source image x-derivative. |
| srcIxStep | Step in bytes between the rows in the source image pSrcIx. |
| pSrcIy | Pointer to the source image y-derivative. |
| srcIyStep | Step in bytes between the rows in the source image pSrcIy. |
| pDstMagnitude | Pointer to the destination gradient magnitude image. |
| dstMagnitudeStep | Step in bytes between the rows in the destination gradient magnitude image. |
| pDstDirection | Pointer to the destination gradient direction image. |
| dstDirectionStep | Step in bytes between the rows in the destination gradient direction image. |
| dstRoiWidth | Width of the destination images ROI in pixels. |
| dstRoiHeight | Height of the destination images ROI in pixels. |
| int blo::ImageGradientMagnitudeDirection< T, C >::height | ( | ) | const |
Height of the work buffers.
| ImageGradientMagnitudeDirection & blo::ImageGradientMagnitudeDirection< T, C >::operator= | ( | const ImageGradientMagnitudeDirection< T, C > & | rhs | ) |
Copy assignment operator.
|
noexcept |
Move assignment operator.
| void blo::ImageGradientMagnitudeDirection< T, C >::resize | ( | int | width, |
| int | height | ||
| ) |
Resizes work buffers.
| width | Width in pixels to resize work buffers to. |
| height | Height in pixels to resize work buffers to. |
| void blo::ImageGradientMagnitudeDirection< T, C >::setWinSize | ( | int | winSize | ) |
Sets size of the feature window.
| winSize | Size of the feature window. |
| int blo::ImageGradientMagnitudeDirection< T, C >::width | ( | ) | const |
Width of the work buffers.
| int blo::ImageGradientMagnitudeDirection< T, C >::winSize | ( | ) | const |
Size of the feature window.
|
related |
|
related |