how many pixels are moved when servo is moved one degree??
1 view (last 30 days)
Show older comments
i am using a servo motor and a camera fixed on it.during real time, i take an image with an help of camera using getsnapshot command.the image i get is [200x200].now i move the servo motor one degree to right.now i want to find how many pixels have been shifted to right when servo motor is moved one degree.please help me.actually i want to find how many pixels are shifted when servo is moved one degree
0 Comments
Answers (2)
Walter Roberson
on 6 Apr 2011
Surely everything movable on the motor will be moved??
"degree" is an angular measurement, not a measurement of distance (not unless the distance is being measured at a fixed radius.)
Unless you give more information, I don't think we are going to be able to answer your question. Perhaps you could make a pair of images available ?
3 Comments
Walter Roberson
on 6 Apr 2011
Is the motor moving one *degree* or is it moving one *step* in a straight line such that the camera remains at the same angle to the scene?
sabeeh
on 6 Apr 2011
5 Comments
Walter Roberson
on 6 Apr 2011
There is no way to do what you want without image processing of _some_ kind. *Any* examination of the content of an image is "image processing". Image processing does not necessarily require segmentation; segmentation is not likely to help in your situation. You need to identify foreground from background, which you will probably do using differences in pixel intensities.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!