[][src]Function photon_rs::conv::detect_45_deg_lines

pub fn detect_45_deg_lines(photon_image: &mut PhotonImage)

Detect lines at a forty five degree angle in an image, and highlight these only.

Arguments

  • img - A DynamicImage that contains a view into the image.

Example

// For example, to display the lines at a forty five degree angle in an image:
use photon::channels;
photon::conv::detect_fortyfivedeg_lines(img);