imageproc::math
pub fn cast<T, U>(x: T) -> U where T: ValueInto<U>,
Helper for a conversion that we know can't fail.