# opentl::cvprocess::GRAY2Sobel Class Reference

GRAY2Sobel filter. Applies a horizontal and vertical Sobel filter to a grayscale texture. Resulting texture channel values: .r = hEdge , .g = vEdge, b = norm(sobelHV) The resulting texture must support signed values and have double number of bits per channel. More...

Inherits opentl::cvprocess::GpuStdShaders.

List of all members.

## Public Member Functions
| GRAY2Sobel ()
| Constructor.
virtual | ~GRAY2Sobel ()
| Destructor.

## Detailed Description

GRAY2Sobel filter. Applies a horizontal and vertical Sobel filter to a grayscale texture. Resulting texture channel values: .r = hEdge , .g = vEdge, b = norm(sobelHV) The resulting texture must support signed values and have double number of bits per channel.

Derived class from GpuStdShaders. ATTENTION: This filter works with a source texture of type GL_TEXTURE_RECTANGLE_ARB only.

Author:
  Erwin Roth <eroth@mytum.de>

## Constructor & Destructor Documentation

opentl::cvprocess::GRAY2Sobel::GRAY2Sobel | ( |  | ) |

Constructor.

virtual opentl::cvprocess::GRAY2Sobel::~GRAY2Sobel | ( |  | ) | `[virtual]`

Destructor.