Rank: 919 based on 80 downloads (last 30 days) and 5 files submitted
photo

Yi Sui

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Yi View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
12 Jun 2013 Adjust window level of image using mouse button You can adjust the window level using mouse Author: Yi Sui image processing, window level 16 4
  • 3.0
3.0 | 2 ratings
11 Apr 2013 Screenshot Enhanced Dicom Viewer A enhanced version of DICOMViewer Author: Yi Sui gui, dicom, image processing 35 0
11 Apr 2013 Screenshot Add an ROI toolbar to your figure This function adds an ROI toolbar to your figure. Author: Yi Sui roi, image processing 23 2
  • 4.0
4.0 | 1 rating
12 Sep 2012 Use Mac OS X XML Plists with MATLAB (Updated Version) A updated version of that by John Iversen Author: Yi Sui convert, mac os, plist 5 2
16 Sep 2010 YIPLOT : Easy plot YIPLOT makes plot much easier. you can use it to compress a bunch of codes into one single line. Author: Yi Sui plot, graph, self_rating 1 1
  • 1.0
1.0 | 2 ratings
Comments and Ratings by Yi View all
Updated File Comments Rating
11 Apr 2013 Add an ROI toolbar to your figure This function adds an ROI toolbar to your figure. Author: Yi Sui

arnold, thank you for your feedback.
I updated it to support the live update of histogram.

07 Nov 2012 Bloch Equation Vector Diagram Simulation Toolbox Two functions that carry out pulses and evolution time periods for an array of spins. Author: Robert McCarrick

30 Oct 2012 Adjust window level of image using mouse button You can adjust the window level using mouse Author: Yi Sui

Thank you for your long comments. Should you ever try the code, you would know it is useful, usable and does work for more than 1 figure at the same time.

10 Sep 2012 Use Mac OS X XML Plists with MATLAB Utilities to convert Mac OS X native storage format (XML Property Lists) for use in MATLAB. Author: John Iversen

Excellent.
To make it better, you can use genvarname() to make sure the field names are valid. e.g if the key name is sth like a-b, genvarname() will return a valid matlab variable name a_b.

16 Mar 2012 DICOM server connection This script connects to a DICOM server and transfer the a dicom series to the MATLAB workspace Author: Laszlo Balkay

Comments and Ratings on Yi's Files View all
Updated File Comment by Comments Rating
13 Jun 2013 Adjust window level of image using mouse button You can adjust the window level using mouse Author: Yi Sui Simon, Jan

The updated version of your code is much nicer - thanks!
The local variables are now stored in the figure's UserData, wuch that it can be applied to multiple figures without confusions.

I still see a problem in the missing documentation. While the code does not contain a help section, the only specification is found here in the FEX: "adjust the window level". But what exactly is adjusted?

Now I think, that this function is probably useful. Only the lack of a documentation reduces the usability substantially. A small help sections with a H1-line, which decribes the inputs and the applied procedure clearly, would be enough.

16 Apr 2013 Use Mac OS X XML Plists with MATLAB (Updated Version) A updated version of that by John Iversen Author: Yi Sui Gravel, Pierre

Bonjour,

I like this function. It's quite useful indeed.

I have a problem however when I try compiling it. The compiler tells me that it does not accept cells. I can rewrite a more restricted version of the program without cells but there is still a compilation problem because there is a line in the code where the input xml (an mxArray) is indexed

tag = xml( (ibra(itag)+1):(iket(itag)-1) );

I get the message: Subscripting into an mxArray is not supported.

What can I do to fix the problem?

Pierre

11 Apr 2013 Add an ROI toolbar to your figure This function adds an ROI toolbar to your figure. Author: Yi Sui Sui, Yi

arnold, thank you for your feedback.
I updated it to support the live update of histogram.

04 Apr 2013 Add an ROI toolbar to your figure This function adds an ROI toolbar to your figure. Author: Yi Sui arnold

Thanks, nice function!

Is there a way you could add a live update for a plot or histogram?

06 Feb 2013 Use Mac OS X XML Plists with MATLAB (Updated Version) A updated version of that by John Iversen Author: Yi Sui Simon

Great utility.

However, I get an error when trying to import a plist where the Root is an Array, and each item in the array is a Dict with three Numbers (x, y, z coordinates).

Error received:
Attempted to access arraylv(0); index must be a positive integer or logical.

Error in XMLPlistToStruct2 (line 112)
if arraylv(dictLevel) ==0

Error in loadXMLPlist (line 16)
[S KT]= XMLPlistToStruct2(text);

Top Tags Applied by Yi
image processing, convert, dicom, graph, gui
Files Tagged by Yi View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
12 Jun 2013 Adjust window level of image using mouse button You can adjust the window level using mouse Author: Yi Sui image processing, window level 16 4
  • 3.0
3.0 | 2 ratings
11 Apr 2013 Screenshot Enhanced Dicom Viewer A enhanced version of DICOMViewer Author: Yi Sui gui, dicom, image processing 35 0
11 Apr 2013 Screenshot Add an ROI toolbar to your figure This function adds an ROI toolbar to your figure. Author: Yi Sui roi, image processing 23 2
  • 4.0
4.0 | 1 rating
12 Sep 2012 Use Mac OS X XML Plists with MATLAB (Updated Version) A updated version of that by John Iversen Author: Yi Sui convert, mac os, plist 5 2
16 Sep 2010 YIPLOT : Easy plot YIPLOT makes plot much easier. you can use it to compress a bunch of codes into one single line. Author: Yi Sui plot, graph, self_rating 1 1
  • 1.0
1.0 | 2 ratings

Contact us