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

10 visualizaciones (últimos 30 días)
Arul
Arul el 3 de Mayo de 2013
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'

Respuesta aceptada

Image Analyst
Image Analyst el 3 de Mayo de 2013
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;

Más respuestas (1)

Bjorn Gustavsson
Bjorn Gustavsson el 3 de Mayo de 2013
Inner product ought to be somethinhg like this (assuming gray-scale image):
img_inner_product = im1(:)'*im2(:);

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by