<< cv_thresh_tozero_inverse ComputerVision cv_threshold_gaussian >>

ComputerVision >> ComputerVision > cv_thresh_truncate

cv_thresh_truncate

"Provide Truncate Threholding"

Calling Sequence

"img_ret"=cv_thresh_truncate("image","threshold","maxVal")

Arguments

"image"

"input image"

"threshold"

"thresh value"

"maxVal"

"It represents the value to be given if pixel value is more than (sometimes less than) the threshold value.It should be integer"

"img_ret"

"Output image"

Description

"Truncate Thresholding"

"Thresholding is a process where If pixel value is greater than a arbitrary value, it is assigned one value (may be white), else it is assigned another value (may be white)"

Examples

"img_ret=cv_thresh_truncate(input_image,127,255)"

See Also


Report an issue
<< cv_thresh_tozero_inverse ComputerVision cv_threshold_gaussian >>