Info

此问题已关闭。 请重新打开它进行编辑或回答。

Error executing template_matching

1 次查看(过去 30 天)
Mangal Murugesan
Mangal Murugesan 2016-7-26
关闭: MATLAB Answer Bot 2021-8-20
Hi, I am experiencing a simple error, yet I was not able to find the solution. I have 2 images (say a and b) image 'b' is a part or croped part of a. I wanted to use template matching command to this image.. Hence my code goes like this
>> a = imread('2.jpg'); >> b = imread('crop.jpg'); >> [I_SSD,I_NCC]=template_matching(b,a);
but I am currently experiencing the following errors.
Out of memory. The likely cause is an infinite recursion within the program.
Error in imjpginfo (line 28) [info,exif_offset, idx] = imjpgbaselineinfo(fid);
Please resolve my problem
Thanks in advance.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by