Call function that deliver 2 results

Hello, I work on Image Quality Assessment Algortihms. My problem is the following: When I call a function that needs two. Exe files (needed for SVM classification) that is not in the current folder (after changing the path, including adding sub paths) so that it provides a result A. When I put it in the folder where is the function, so that it provides a result B (which the correct result). I do not understand why this metric provides two different results? What I realized is that when I call the function to its own directory, so that it recognizes the EXE files which I have spoken. however when I call out the current directory, it do not know the .EXE !! If you have any ideas, I'll take.
Thank you.

답변 (2개)

Image Analyst
Image Analyst 2013년 10월 12일

0 개 추천

How can it provide result A when it's not in the search path, and return the correct result B when it is in the search path when you say it can't even find the EXE when it's in the current folder? How can it possibly return result B if it can't find the EXE?
Anass
Anass 2013년 10월 12일

0 개 추천

Thank you for your reply.
Here is the code of the metric (on attachement).
To test, simply load a image.jpg, and call the function Biqi: score_qualité Biqi = (image);
and there you will notice that if you are in the folder that contains all the functions of the metric, it gives a result.
and if you are out the file, and although you add the path and subpath of the folder containing the codes, so after test, you will have a second income.
I'm waiting for your response.
thank you

카테고리

도움말 센터File Exchange에서 Get Started with Image Processing Toolbox에 대해 자세히 알아보기

태그

질문:

2013년 10월 11일

답변:

2013년 10월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by