SHINE Toolbox - Test Run - Erros with imwrite

Hi all! I have just installed the SHINE toolbox and I am runnig the testrun (just with the images provided with donwload). I am getting the followin error message
>> SHINE
SHINE options [1=default, 2=custom]: 1
Number of images: 2
Option: specMatch & histMatch with 1 iteration(s)
Option: whole image
Progress: specMatch successful
Progress: histMatch successful
Error using imwrite (line 454)
Unable to open file "C:\Program Files\Matlab\R2016a\work\SHINEtoolbox\SHINE_OUTPUT\SHINEd_scene1.tif" for writing. You might not
have write permission.
Error in SHINE (line 395)
imwrite(images{im},fullfile(output_folder,strcat('SHINEd_',imname{im})));
Any idea what might be the problem?

 Réponse acceptée

Walter Roberson
Walter Roberson le 31 Août 2018

2 votes

Before you run the toolbox, cd into a directory that you have write access to.

1 commentaire

Many thanks for the reply! I did that but I had still problems with imwrite. What solved for me the problem is running matlab as administrator...

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Communications Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by