View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Sampling Of 2D Geometrical Object via Line Beams

Be the first to rate this file! 7 Downloads (last 30 days) File Size: 308 KB File ID: #29674 Version: 1.0
image thumbnail

Sampling Of 2D Geometrical Object via Line Beams


Michael Chan (view profile)


Illustrates coordinated sampling of a geometrical shape such as an eclipse is used in this case.

| Watch this File

File Information

main executing reference usage: usage_SamplingOf2D_GeometricalObject_viaLineBeams.m
For illustrative purposes the gridded plot is sampled by detection of line beam intersections of the edge and in-bound regions of the eclipse.
The coordinates are traced and pixelized into an image map.

* Caveat:
- For random ray beams, as many lines are required for the projections, the longer the process may take depending on your processors.
- Though fan ray beams and parallel ray beams are provided, they are not incorporated yet.
- 10 lines are projected for demo purposes. Number of lines may be set at:
- Help section yet to be included.

* Caveat:
For auto results sending at : sendResults.m

The sender's email has to be a gmail account to send the results via email.

For automated results emailing, please provide the following parameters in the stated files:

senderMail = '';
password = '_______';
recipientEmails = '____@_____';

* Caveat: For reference only.

If the reference demo has a more elegant presentation, please do not hesitate to suggest and send feedback to author.

Thank you.

Michael Chan JT


Coordinate Rotation and Get Points For A Line Between 2 Points inspired this file.

MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
15 Aug 2012 Yash

Yash (view profile)

a very good code

Comment only

Contact us