dtype_type_check

imagepypelines.dtype_type_check(dtype)[source]

checks to see if the interpolation type is one of the acceptable values specified in opencv, otherwise raises an imagepypelines.InvalidInterpolationType error