Line Drawing by Bresenham Algorithm
by Chandan
11 Oct 2009
Bresenham Line drawing Algorithm uses error for next pixel to decide its course.
|
Watch this File
|
| File Information |
| Description |
This code implements Bresenham Line Algorithm with slight modification of error term in respect of computation efficiency that it does not require any division process. Hence it is more efficient. Also it has been generalized to draw lines of any slope. Point input order is thus insignificant. I hope this code would be helpful. |
| MATLAB release |
MATLAB 7.1.0 (R14SP3)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us at files@mathworks.com