[−][src]Function opencv::cudaimgproc::mean_shift_proc
pub fn mean_shift_proc(
src: &dyn ToInputArray,
dstr: &mut dyn ToOutputArray,
dstsp: &mut dyn ToOutputArray,
sp: i32,
sr: i32,
criteria: TermCriteria,
stream: &mut Stream
) -> Result<()>
Performs a mean-shift procedure and stores information about processed points (their colors and positions) in two images.
Parameters
- src: Source image. Only CV_8UC4 images are supported for now.
- dstr: Destination image containing the color of mapped points. The size and type is the same as src .
- dstsp: Destination image containing the position of mapped points. The size is the same as src size. The type is CV_16SC2 .
- sp: Spatial window radius.
- sr: Color window radius.
- criteria: Termination criteria. See TermCriteria.
- stream: Stream for the asynchronous version.
See also
cuda::meanShiftFiltering
C++ default parameters
- criteria: TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS,5,1)
- stream: Stream::Null()