how to inner product two images......

조회 수: 10 (최근 30일)
Arul
Arul 2013년 5월 3일
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'

채택된 답변

Image Analyst
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;

추가 답변 (1개)

Bjorn Gustavsson
Bjorn Gustavsson 2013년 5월 3일
Inner product ought to be somethinhg like this (assuming gray-scale image):
img_inner_product = im1(:)'*im2(:);

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by