5.0

5.0 | 1 rating Rate this file 9 Downloads (last 30 days) File Size: 5.2 KB File ID: #23337
image thumbnail

Interactive Spline Region of Interest

by Azim

 

17 Mar 2009 (Updated 04 Dec 2009)

An interactive, closed spline

| Watch this File

File Information
Description

Matlab class that creates an interactive, closed spline which can be used as a region of interest. Can be used to select regions in an image

Required Products Spline Toolbox
MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
25 Oct 2009 Abe Lau

Thanks Azim. very nicely coded and useful for region of interest selection! easily extensible for additional functionality also! I've added things like clear plot etc... It shouldn't be hard to add/delete Node anywhere within the spline even!

Good work

27 Oct 2009 Eric Diaz

I tried to use this but there is very little documentation and I received many errors.

??? Error: File: splineroi.m Line: 28 Column: 16
Undefined function or variable 'private'.

??? Error: File: splineroi.m Line: 146 Column: 13
Undefined function or variable 'private'.

??? Error: File: splineroi.m Line: 1 Column: 10
Illegal value for attribute Static.
Parameter must be scalar.

30 Oct 2009 Abe Lau

Eric, what version are you using? You need MATLAB R2008a or later to use all the OO functionality.

04 Dec 2009 Ben

Could you add a document or a demo so that others can easily know how to use it?

And at that time, maybe I will rate your work.

Thx.

04 Dec 2009 Azim

thanks all. Added a demo script which should indicate how to use the object. I also added a delete node method as suggested by Abe Lau.

Please login to add a comment or rating.
Updates
04 Dec 2009

Added an example script on how to use the splineroi object and a deleteNode method

04 Dec 2009

updated example script to demonstrate creation of mask from the roispline object

Tag Activity for this File
Tag Applied By Date/Time
gui Azim 19 Mar 2009 13:35:54
interactive Azim 19 Mar 2009 13:35:54
gui kemal 10 Jun 2009 16:23:03
interactive kemal 10 Jun 2009 16:23:07
roi Abe Lau 25 Oct 2009 19:27:45
region of interest Abe Lau 25 Oct 2009 19:27:45
spline Abe Lau 25 Oct 2009 19:27:45

Contact us at files@mathworks.com