| New Reply |
MATLAB User Input Prompt in Functions |
Share Thread |
| Jun20-12, 12:33 AM | #1 |
|
|
MATLAB User Input Prompt in Functions
I am working on a program that compares the monochrome intensities of two circular objects within a greyscale image. However, because I'm a beginner I don't know how to have my program locate where these objects are. This means I need to manually input the radius and position of each circle to the program as input variables.
It can be rather annoying to have to use another program to figure these variables out. Is it possible to have MATLAB display the image on my screen before the function runs, with a grid overlapping it? If that is possible then it would be much easier to measure these values as well as input them into the program. Also, if anyone does know how to detect the locations of spheres in MATLAB and can tell me, then that would be much appreciated. Thanks! |
| Jun22-12, 09:11 AM | #2 |
|
|
This might help you find the circles automatically
http://www.mathworks.com/matlabcentr...eexchange/9168 |
| New Reply |
Similar discussions for: MATLAB User Input Prompt in Functions
|
||||
| Thread | Forum | Replies | ||
| MATLAB HELP how to ask user for 2 input variables | Math & Science Software | 0 | ||
| CSE 1010 - MATLAB - User-Controlled Input and Output - fprintf | Engineering, Comp Sci, & Technology Homework | 0 | ||
| How to set a variable name by user input in MATLAB | Math & Science Software | 5 | ||
| input 4m user: MATLAB | Programming & Comp Sci | 0 | ||
| matlab user input variable name | Math & Science Software | 1 | ||