Please help to remove the error in the code
古いコメントを表示
Hello everyone, I am trying to detect copy move image forgery using SIFT in digital images.But am stuck at some point due to some errors like the following one:-
>> run_F220_experiment
Processing: dataset\MICC-F220\CRW_4853tamp1.jpg (1/220)
The system cannot find the path specified.
Error using match_features (line 53)
error calling executables
Error in process_image (line 52)
[num p1 p2 tp] = match_features(imagefile, siftfile);
Error in run_F220_experiment (line 35)
countTrasfGeom = process_image(loc_file, metric, th, min_pts, 0);
Please help me to resolve this error, so that the attached code can detect copy move forgery in mage dataset.
P.S. - Code is attached. plz mail at er.harpreetkaur26 @ gmail.com Thanks in advance:)
採用された回答
その他の回答 (3 件)
Image Analyst
2015 年 4 月 30 日
Check your filename. Perhaps there is a slash missing or a mistyped character, or a drive letter missing or something like that.
filename = 'dataset\MICC-F220\CRW_4853tamp1.jpg';
if ~exist(filename, 'file')
warningMessage = sprintf('Error: file not found:\n %s\n', filename);
uiwait(warndlg(warningMessage));
end
harpreet
2015 年 4 月 30 日
0 投票
3 件のコメント
Tushar Bhaskar
2018 年 5 月 5 日
How you resolved the problem ?
Image Analyst
2018 年 5 月 5 日
Probably by specifying the full path, starting with the drive letter.
Tushar Bhaskar
2018 年 5 月 5 日
OK, How will i specify the same using fullfile in matlab? Somethinf like this - fullfile('B:\','Matlab R2017','bin','sift-open-master','lib','sift','bin','siftfeat');
カテゴリ
ヘルプ センター および File Exchange で SIFT - Scale Invariant Feature Transform についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!