problem with combine features extraction code
이전 댓글 표시
when iam run this code i hade error "Out of memory. Type "help memory" for your options."
[regon,d] = detectMSERFeatures(I1,'ThresholdDelta',1,'MaxAreaVariation',1);%
[features2, valid_point3] = extractFeatures(I1,regon);
[regon1,d1] = detectMSERFeatures(I2,'ThresholdDelta',1,'MaxAreaVariation',1);%
[features3,valid_point4] = extractFeatures(I2,regon1);
points=detectSURFFeatures(I1,'NumOctaves',1,'NumScaleLevels',3,'MetricThreshold',5000);
points1=detectSURFFeatures(I2,'NumOctaves',1,'NumScaleLevels',3,'MetricThreshold',5000);
[features, valid_point] = extractFeatures(I1,points);
[features1, valid_point1] = extractFeatures(I2,points1);
comfeat=[features(:,:);features2(:,:)];
comfeat1=[features1(:,:);features3(:,:)];
indexPairs1 = matchFeatures(comfeat,comfeat1) ;
답변 (1개)
Sai Bhargav Avula
2019년 8월 9일
0 개 추천
The main issue is the system is running out of RAM memory.
These can be avoided by reducing the number of variables and use already existing variables.
Single the matrices are larg they can defined as a single precision or int32.
You can also try allocating more java heap memory to MATLAB.
For this go to : Preferences (in the Matlab tab "Home") --> General --> Java Heap Memory
Hope this helps !
카테고리
도움말 센터 및 File Exchange에서 Image Segmentation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!