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 Center および File ExchangeImage Processing Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by