cropping a triangular area determined by two points and a known angle
Show older comments
Hi all, so I have an image (frame from a video cropped and resized to 500x500x3). Within that image I have located an object of interest (a bee; always close to the middle [250 250]). I've fitted an ellipse around the bee and get an angle for that ellipse, which tells me the direction she is facing (with the help of a paint mark near her head). I can estimate her 'attentional' field of view to be about 15 degrees on either side of a line pointing in her viewing direction. I'd like to crop her field of view (and do other stuff I can handle with that). I had imagined that I could use poly fit to get the slope of the line, then somehow use the field of view angle to determine the triangle (or pie shape) which I would crop from the image. Any help is appreciated. Cheers, Clint
Accepted Answer
More Answers (0)
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!