[−][src]Function sdl2::gfx::imagefilter::binarize_using_threshold
pub fn binarize_using_threshold(
src1: CVec<u8>,
t: u8
) -> Result<CVec<u8>, String>
Filter using BinarizeUsingThreshold
: D = (S >= T) ? 255:0.