when compaer between image how can doing circle in the place where is different

hi ...i doing hammig dicetance to comper between images...i want when enter images it will find similary images and then Put circuits on different locations in the entering image how can do this?? plz help me???

댓글 수: 3

What do you mean by "circuit"? And "put"? And where do you want to put these "circuits" - what's the criteria for specifying the "location"?
By the way, browsers have spell checkers built in (at least Firefox does ), so you might take advantage of that.
And psnr() is a function built in to the Image Processing Toolbox.
thanks for your answer.. that mean if we comper between two images will put circle around the diferernt lik this immages:
<<
>>
privouse images differnt this images by mathworks word...can we done this in matlab???

댓글을 달려면 로그인하십시오.

 채택된 답변

Image Analyst
Image Analyst 2014년 6월 22일
Yes. Just extract each color channel, subtract them and call regionprops to get the bounding box. The attached demo, test.m3, will produce this figure:

댓글 수: 5

this code can do it also by gray image?
Yes. Make the adaptation something like this
[rows, columns, numberOfColorChannels] = size(rgbImage1);
if numberOfColorChannels == 1
% Grayscale
% Find non-matching pixels
binaryImage = subtraction~=0;
else
% RGB
% Find non-matching pixels
binaryImage = max(subtraction~=0, [], 3);
end
thank you very much image analyst...this code is very good... but when apply this code to detetion this difference as in picture it can not detection the differernce...how can do this??plz help me
It would have been nice if you'd given this image first so I didn't waste my time on something you did not need at all. Like I said before in your other posts, I don't know how to analyze the underside of vehicles. Asking me a much, much simpler question will not suddenly make me be able to analyze these kinds of images, it only wastes our time.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

질문:

2014년 6월 22일

댓글:

2014년 6월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by