Code covered by the BSD License  

Highlights from
Cone-plane intersection

5.0

5.0 | 2 ratings Rate this file 17 Downloads (last 30 days) File Size: 5.9 KB File ID: #19631
image thumbnail

Cone-plane intersection

by Sylvain Calinon

 

18 Apr 2008 (Updated 24 Jul 2009)

Compute the intersection of a cone and a plane, where the result is represented as an ellipse

| Watch this File

File Information
Description

This function computes the intersection of a cone and a plane, where the result is represented either as an ellipse or in the form of a Gaussian distribution.

This algorithm can be used to extract probabilistically information concerning gazing or pointing direction. Indeed, by representing a visual field as a cone and representing a table as a plane, the Gaussian distribution can be used to compute the probability that one object on the table is observed/pointed by the user.

The source code is an implementation of the algorithms described in the book "Robot Programming by Demonstration: A Probabilistic Approach", EPFL/CRC Press (more information on http://programming-by-demonstration.org/book/)

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
02 Aug 2008 Gavriel Aminov

The very thing I need! I had a need of a routine that calculates the intersection of antenna beam with the terrain surface. This routine has helped me. Some more features I need in this routine are the next:
1) How do I model the cone of two different angles at its two axes - the axis of elevation and the axis of azimuth? Which parameters must be changed at the cone matrix in order to achieve such an "ellipsoid" cone?
2) How can I modulate the gain of the intersection instead of the modulation by PDF function? E.g. modulation by the sinc function (as is at the common antennas)?

10 Feb 2009 Val Schmidt

I want to comment on my own comment The author of this package emailed me directly, pointing out that I had failed to normalize the coneDir vector.

SO PLEASE DISREGARD MY MESSAGE ABOVE.

The error was mine!

-Val

02 Mar 2009 Yanhua

anyone advise on how to normalize the coneDir vector?

Please login to add a comment or rating.
Updates
24 Jul 2009

Notation updated to match the description of the algorithm in the the book "Robot Programming by Demonstration: A Probabilistic Approach", EPFL/CRC Press (more information on http://programming-by-demonstration.org/book/)

Tag Activity for this File
Tag Applied By Date/Time
coneplane intersection Sylvain Calinon 22 Oct 2008 09:58:19
conicplane intersection Sylvain Calinon 22 Oct 2008 09:58:19
gaze Sylvain Calinon 22 Oct 2008 09:58:19
conic Sylvain Calinon 22 Oct 2008 09:58:19
conic plane intersection Sylvain Calinon 24 Jul 2009 11:00:55
cone plane intersection Sylvain Calinon 24 Jul 2009 11:00:55
cone plane intersection Joe Smith 07 Aug 2009 10:17:03
cone plane intersection Wayne Scantling 02 Nov 2009 11:26:51

Contact us at files@mathworks.com