Skip to main content

compute_gradient_orientation

Function compute_gradient_orientation 

Source
pub fn compute_gradient_orientation(
    image: &Tensor,
) -> Result<(Tensor, Tensor), ImgProcError>
Expand description

Compute gradient orientation from Sobel gradients. Computes image gradients and orientation for descriptor construction. Returns a gradient magnitude + orientation pair per pixel.