[Nirfast] Change Optical Properties
Scott C. Davis
Scott.C.Davis at dartmouth.edu
Tue Jun 28 08:51:53 EDT 2016
Hi Vince,
I have seen this before and there is an easy fix. Some of the GUI programs have dummy/blank rectangular panels just to keep things looking organized. The input fields should lay on top of these panels, so you have a border around the fields. For whatever reason, in later versions of matlab on Mac OS, the panel is shown on top of the input fields, blocking them from view. The fix is to type “guide” at the matlab command prompt and then open the matlab figure file (NIRFAST/gui/gui_set_values.fig in this case) in GUIDE. Once in edit mode, you can select the panel and right click and select “Send to back” (much like in powerpoint) and should then see all of the fields. Save your edited file and you should be set.
I thought I had gone through and fixed all of these before we released the latest version of NIRFASTmatlab. If you don’t have NIRFASTMatlab 9, you can try downloading it. If you do have it and are still seeing this error, follow the steps above.
FYI, For command line work:
To see the regions of a mesh, type “plotimage(mesh,mesh.region)”, where “mesh” is your mesh workspace variable.
Then, to change an optical property for a given region (region 2 in the case), type “mesh.mua(mesh.region==2) = yourvalue”.
I hope this helps!
Scott
From: Nirfast <nirfast-bounces at public.kitware.com> on behalf of Hamid Dehghani <h.dehghani at cs.bham.ac.uk>
Date: Sunday, June 26, 2016 at 2:55 PM
To: "nirfast at public.kitware.com" <nirfast at public.kitware.com>
Subject: Re: [Nirfast] Change Optical Properties
Hi Vince
Yet another issue of MATLAB not being fully compatible with latest MAC OSand on how MAC OS sets screen resolution.
To set optical properties on command line, you can either run NIRFAST on a different OS to see the commands we use, or just type:
help add_blob
Regards
Hamid
On 24/06/2016 18:58, Vincent Kitsmiller wrote:
I am having an issue when attempting to change optical properties. When I attempt to change optical properties I get a mostly blank screen like this
[nline image 1]
I don't get any errors however and did see a populated or partially populated screen at some point. I know you can also change optical properties by region with a script or the nirfast command window but I am not sure how nirfast assigns the region numbers. Thanks in advance for the help.
-Vince
_______________________________________________
Nirfast mailing list
Nirfast at public.kitware.com<mailto:Nirfast at public.kitware.com>
http://public.kitware.com/mailman/listinfo/nirfast
--
--------------------------
Hamid Dehghani, PhD, MIPEM
School of Computer Science
Acting Director, Physical Sciences for Health Doctoral Training Centre
University of Birmingham
B15 2TT
0121 414 8728
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/nirfast/attachments/20160628/524087b6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 18547 bytes
Desc: image001.png
URL: <http://public.kitware.com/pipermail/nirfast/attachments/20160628/524087b6/attachment-0001.png>
More information about the Nirfast
mailing list