| MATLAB Central > MATLAB Newsreader > GUI to load image and draw on it??? |
|
|
|
Subject: GUI to load image and draw on it??? From: Becca Davidson Date: 3 Nov, 2008 15:59:02 Message: 1 of 9 |
|
Hi Everyone, |
|
Subject: GUI to load image and draw on it??? From: Dave Brackett Date: 3 Nov, 2008 16:44:02 Message: 2 of 9 |
|
"Becca Davidson" <becca.davidson@gmail.com> wrote in message <gen746$jkd$1@fred.mathworks.com>... |
|
Subject: GUI to load image and draw on it??? From: Becca Davidson Date: 3 Nov, 2008 16:54:02 Message: 3 of 9 |
|
Thank you very much for your guidance Dave. |
|
Subject: GUI to load image and draw on it??? From: Dave Brackett Date: 3 Nov, 2008 17:20:17 Message: 4 of 9 |
|
Ok. Once you have created your GUI layout, go to the callbacks .m file and near the top of the file should be a section titled: |
|
Subject: GUI to load image and draw on it??? From: Becca Davidson Date: 3 Nov, 2008 18:42:02 Message: 5 of 9 |
|
Thank you Dave - your explanation was perfect and I have it all working. |
|
Subject: GUI to load image and draw on it??? From: Dave Brackett Date: 3 Nov, 2008 19:26:03 Message: 6 of 9 |
|
The 'line' function will do what you want. Type 'help line' in the command window. |
|
Subject: GUI to load image and draw on it??? From: Becca Davidson Date: 3 Nov, 2008 21:27:01 Message: 7 of 9 |
|
Thanks again Dave. |
|
Subject: GUI to load image and draw on it??? From: Dave Brackett Date: 3 Nov, 2008 22:20:04 Message: 8 of 9 |
|
You can 'merge' the original image and the overlayed line using the 'getframe' command like this: |
|
Becca - |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| line | Dave Brackett | 3 Nov, 2008 17:25:05 |
| getframe | Dave Brackett | 3 Nov, 2008 17:25:05 |
| guide | Dave Brackett | 3 Nov, 2008 11:45:08 |
| image | Becca Davidson | 3 Nov, 2008 11:00:21 |
| java | Becca Davidson | 3 Nov, 2008 11:00:21 |
| image processing | Becca Davidson | 3 Nov, 2008 11:00:21 |
| gui | Becca Davidson | 3 Nov, 2008 11:00:21 |
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.
Contact us at files@mathworks.com