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?

 Accepted Answer

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

1 Comment

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...

Sign in to comment.

More Answers (0)

Categories

Find more on Communications Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!