rhodricusack / diffeomorph

6 stars 12 forks source link

Not managing to run code #6

Open raphael-lorenzdelaigue opened 6 months ago

raphael-lorenzdelaigue commented 6 months ago

Hello,

I am trying to scramble some images using your code. I am setting a picpath and outpicpath

picpath='Z:\15\A_44_RL\Projekt 2 fNIRS\Bilder' outpicpath='Z:\15\A_44_RL\Projekt 2 fNIRS\Bilder\scrambled'

The outpicpath gets created correctly, and then a figure window opens named "figure 10" which I suppose, corresponds to this line of code

figure(10);

However, no scrambled image is being created in my outpicpath.

How exactly is this code supposed to be run?

Happy if you find time for assistance.

Best,

Raphael Lorenz-de Laigue

rhodricusack commented 6 months ago

Hi Raphael, It is going to look for all files with the suffix .jpg What format are your images? You can also change line 27 imgtype='jpg'; %file type Does this fix it? R


From: raphael-lorenzdelaigue @.> Sent: Wednesday 24 April 2024 14:49 To: rhodricusack/diffeomorph @.> Cc: Subscribed @.***> Subject: [rhodricusack/diffeomorph] Not managing to run code (Issue #6)

Hello,

I am trying to scramble some images using your code. I am setting a picpath and outpicpath

picpath='Z:\15\A_44_RL\Projekt 2 fNIRS\Bilder' outpicpath='Z:\15\A_44_RL\Projekt 2 fNIRS\Bilder\scrambled'

The outpicpath gets created correctly, and then a figure window opens named "figure 10" which I suppose, corresponds to this line of code

figure(10);

However, no scrambled image is being created in my outpicpath.

How exactly is this code supposed to be run?

Happy if you find time for assistance.

Best,

Raphael Lorenz-de Laigue

— Reply to this email directly, view it on GitHubhttps://github.com/rhodricusack/diffeomorph/issues/6, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAL7HSIRTBIAMUWVWSQI3DLY662AHAVCNFSM6AAAAABGW64YJKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DCMZVGYYDKOA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

raphael-lorenzdelaigue commented 6 months ago

Hi Rhodri, sorry about the late answer & thanks for the great tool. Your answer helped me run the code properly. Best, Raphael