필터 지우기
필터 지우기

Is there something similar to polyval for circle fitting?

조회 수: 3 (최근 30일)
Marshall Botta
Marshall Botta 2023년 9월 7일
댓글: Image Analyst 2023년 9월 8일
I am trying to grab tracked objects within a semicircle on the left and right of a vehicle. In the ACC test bed example within multi object tracking documentation on the website, to find a lead vehicle the matlab function uses...
yleftlane = polyval ([curvature, 0, halfLaneWidth], x);
This checks for any car half a lane width to the left within a curved road using the polyval function.
What I want to do is something like this...
yleftcircle = circularfit ([(pi/2)radius^2]); %% find lead vehicle half a circle to the left...
I cant seem to find any circular fitting except for downloaded ones.
Any recommendations or advice?

채택된 답변

Image Analyst
Image Analyst 2023년 9월 7일
What's wrong with downloaded functions? I'm attaching one I use, along with a paper for more general purpose one.
  댓글 수: 2
Marshall Botta
Marshall Botta 2023년 9월 7일
I apologize for the confusion, I may have asked the wrong question. Is there something similar to polynomial evaluation but more like circular evaluation. It seems like this fitting was not the right question to ask. I dont want to make a circle around the points that are already within my camera detection (360 degree FOV), I want to evaluate each point that is detected and tracked and which ever one is more important is the main one I output (lead vehicle).
Image Analyst
Image Analyst 2023년 9월 8일
I have no idea how to determine, in a cluster of several/numerous points, which is "more important" or "the main one." Sorry.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Wireless Communications에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by