blob: d9439d69a2a9e859403a5fa8e7e3010922167008 (
plain)
1
2
3
4
5
6
7
|
function [outputImg,res]= threshold(inputImage, threshold_value, max_value,thresholdType)
inputList=mattolist(inputImage);
[outputList,res]=opencv_threshold(inputList, threshold_value, max_value,thresholdType)
for i=1:size(outputList)
outputImg(:,:,i)=outputList(i)
end
endfunction
|