Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Error executing template_matching

1 view (last 30 days)
Mangal Murugesan
Mangal Murugesan on 26 Jul 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
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.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!