Added missing function calls
Menu options now become Enabled/Disabled appropriately depending on images loaded and analyses performed. Added textbox to inform users of current slice
Fixed bug with dialog box not working as expected
Added new heterogeneity function, adapted from Tzeng YS, Albert A (2009) J. Appl. Physiol. Automated some section to speed up process and made algorithm more general. Some problems still exist in replicating results from original implementation
Update heterogeneity calculation. Testing still required
Updated patient data structure for hetergeneity values
Added heterogeneity calculation. Lung segmentation now performed using Kmeans, so fuzzy logic toolbox no longer needed
Fixed mistake in threshold algorithm;
Changed montage3 to return a handle to the figure instead of launching a figure
Changed beta value of noise claculation from 0.5 to 0.1 for better fitting
Heterogeneity calculation working properly, heterogeneity scoring function added. Appropriate menu options added to GUI
Fixed bug when checking whether heterogeneity was calculated for lung images
Automatic coregistration is in functional, but still incomplete state
Removing unused files from repository
Added heteroimages, which allows visualization and creation of images to compared heterogeneity of patients
Merged with master. Hopefully the main figure works, I tried too add all the new GUI objects from master->maingui.fig, but I could have missed some.