ducha-aiki / mods

MODS (Matching On Demand with view Synthesis) is algorithm for wide-baseline matching.
http://cmp.felk.cvut.cz/wbs/
GNU General Public License v2.0
87 stars 16 forks source link

MODS failing for some images #6

Closed supritimulay closed 7 years ago

supritimulay commented 7 years ago

Hi,

I am using MODS for retinal image matching and it works fine for most of the images .For following two retinal image vessel extraction images MODS is failing with the error "This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc".

PFA images for your reference. image_0_vessel image_3_vessel

Can you please help me to sort out this issue.

Thanks, Supriti

ducha-aiki commented 7 years ago

The most probable reason is that image is too big and you have memory problem. Try to set number of cores to 1 in config_iter.ini: [Computing] LoadColor=1; numberOfCores=1

supritimulay commented 7 years ago

Thanks a lot!