[−][src]Function libvips::ops::percent
pub fn percent(inp: &VipsImage, percent: f64) -> Result<i32>
VipsPercent (percent), find threshold for percent of pixels
inp: &VipsImage
-> Input image
percent: f64
-> Percent of pixels
min: 0, max: 100, default: 50
returns i32
- Threshold above which lie percent of pixels