MATLAB User Input Prompt in Functions

  • MATLAB
  • Thread starter n1caboose
  • Start date
  • #1
12
0
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!
 

Answers and Replies

Related Threads on MATLAB User Input Prompt in Functions

Replies
1
Views
2K
Replies
1
Views
25K
Replies
1
Views
2K
Replies
5
Views
11K
  • Last Post
Replies
2
Views
43K
Replies
2
Views
3K
Replies
1
Views
2K
  • Last Post
Replies
4
Views
2K
Replies
4
Views
4K
Top