Struct edge_detection::Detection [] [src]

pub struct Detection { /* fields omitted */ }

The result of a computation.

Methods

impl Detection
[src]

[src]

Returns the width of the computed image.

[src]

Returns the height of the computed image.

[src]

Linearly interpolates the edge at the specified location.

Similar to as if the edges detection were continuous.

[src]

Renders the detected edges to an image.

The intensity of the pixel represents the magnitude of the change in brightnes while the color represents the direction.

Useful for debugging.

Trait Implementations

impl Clone for Detection
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Index<usize> for Detection
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl Index<(usize, usize)> for Detection
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.