ethanhe42 / panorama

Image alignment and stitching with MATLAB
https://yihui-he.github.io/blog/panorama-with-matlab
MIT License
180 stars 71 forks source link

big pixel #5

Open cowboyniu opened 6 years ago

cowboyniu commented 6 years ago

My photo pixel is 20 million, the program is always running an error like this:

panorama=main(1); figure imshow(panorama); imwrite(panorama,'stitching.jpg'); creating panorama for ucsb4 resizing14 sec warping:67 sec SIFT & RANSAC: 134 sec end2end alignment:0 sec Error using / Out of memory. Type HELP MEMORY for your options.

Error in im2double (line 58) d = double(img) / range(2);

Error in merge (line 2) imgs=im2double(imgs);

Error in create (line 65) newImg = merge(cylindricalimages, absoluteTrans , panorama_h, panorama_w, f);

Error in main (line 59) panorama=create( imgs, f, full);