Ignore:
Timestamp:
Nov 3, 2010, 4:04:07 PM (9 years ago)
Author:
tjniskan
Message:
  • Added aedes_roifill.m for doing binary flood fill operation. This is

much slower than using the imfill-function, but does not dependend on
Image Processing toolbox. The goal is to make Aedes run with just the
base Matlab install. DICOM support will probably be the last obstacle
in achieving this, because it's going to be a great pain in the a to
code...

  • Fixed overwriting ROIs in aedes_roi_copy_gui.m and added additional

information in the ROI copy button tooltips.

  • Some further iterations to the new readvnmr-function.

M aedes_roi_copy_gui.m
M aedes_getmatlabversion.m
M aedes_readvnmr.m
M aedes.m
M aedes_helpabout.m
M aedes_readfid.m
M aedes_revision.m
A aedes_roifill.m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aedes_getmatlabversion.m

    r133 r148  
    1 function version_number = aedes_getmatlabversion()
     1function [version_number,isImProcToolbox] = aedes_getmatlabversion()
    22% AEDES_GETMATLABVERSION - Returns the numerical Matlab (main) version
    33%   
    44%
    55% Synopsis:
    6 %       version_number = aedes_getmatlabversion;
     6%       [version_number,isImProcToolbox] = aedes_getmatlabversion;
    77%
    88% Description:
    9 %       Returns the numerical Matlab (main) version (e.g. 7.6)
     9%       Returns the numerical Matlab (main) version. The number is converted
     10%       to a proper decimal format (e.g. Matlab 7.6 -> 7.06, Matlab 7.10 ->
     11%       7.1). The availability of Image Processing Toolbox is also
     12%       returned in isImProcToolbox.
    1013%
    1114% Examples:
    12 %       version_number = aedes_getmatlabversion;
     15%       [version_number,isImProcToolbox] = aedes_getmatlabversion;
    1316%
    1417% See also:
     
    3235
    3336version_str = version;
     37isImProcToolbox = false;
    3438ind = find(version_str=='.');
    3539major_ver = str2double(version_str(1:ind(1)-1));
    3640minor_ver = str2double(version_str(ind(1)+1:ind(2)-1));
    3741version_number = str2double(sprintf('%d.%02d',major_ver,minor_ver));
     42if nargout>1
     43  try
     44    s=ver;
     45    toolboxes = {s(:).Name};
     46    if any(strcmpi(toolboxes,'Image Processing Toolbox'))
     47      isImProcToolbox = true;
     48    end
     49  catch
     50    isImProcToolbox = false;
     51  end
     52end
Note: See TracChangeset for help on using the changeset viewer.

Powered by Trac 1.0.9.Copyright © Juha-Pekka Niskanen 2008