pontikos-lab / Relayer

Web app for segmenting OCT Scans
GNU Affero General Public License v3.0
2 stars 0 forks source link

Matlab Warning message #8

Closed IsmailM closed 6 years ago

IsmailM commented 6 years ago

The below warning message is shown - @giovanniometto - Is this of any concern?


                                                     < M A T L A B (R) >
                                           Copyright 1984-2017 The MathWorks, Inc.
                                            R2017a (9.2.0.538062) 64-bit (maci64)
                                                      February 23, 2017

To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.

Warning: Image is too big to fit on screen; displaying at 67%
> In images.internal.initSize (line 71)
  In imshow (line 328)
  In processVolumeRELAYER>saveResultsAndImages (line 314)
  In processVolumeRELAYER (line 215)
Warning: Image is too big to fit on screen; displaying at 67%
> In images.internal.initSize (line 71)
  In imshow (line 328)
  In processVolumeRELAYER>saveResultsAndImages (line 314)
  In processVolumeRELAYER (line 215)
Warning: Image is too big to fit on screen; displaying at 67%
> In images.internal.initSize (line 71)
  In imshow (line 328)
  In processVolumeRELAYER>saveResultsAndImages (line 314)
  In processVolumeRELAYER (line 215)
IsmailM commented 6 years ago

I suspect that this is due to having a smaller screen than @giovanniometto's screen - will imshow() work on a server where there is no X11 device?

giovanniometto commented 6 years ago

looking into this issue, it could be a problem

giovanniometto commented 6 years ago

i think this could be the solution: calling the function using the -nodesktop option.. matlab -nodesktop -r "processVolumeRELAYER(sourceFolder, machineCode, destinationFolder)"

IsmailM commented 6 years ago

Have implemented in 2eaca085d26a3a91d35fc344c5cf4d324e2418a9.

Will reopen, if this still causes issues.