how to inner product two images......
1 次查看(过去 30 天)
显示 更早的评论
inner product two images and then if each pixel value is greater than some threshold level put '1' in the pixel or else if it is zero then put '0'
0 个评论
采纳的回答
Image Analyst
2013-5-3
I don't know what inner product has to do with it, but for the latter half of your question, you're describing thresholding. So to do that you do this:
binaryImage = grayImage > thresholdValue;
0 个评论
更多回答(1 个)
Bjorn Gustavsson
2013-5-3
Inner product ought to be somethinhg like this (assuming gray-scale image):
img_inner_product = im1(:)'*im2(:);
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!