Line Drawing by Bresenham Algorithm

Bresenham Line drawing Algorithm uses error for next pixel to decide its course.
2,6K Downloads
Aktualisiert 11. Okt 2009

Lizenz anzeigen

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.

Zitieren als

Chandan Kumar (2026). Line Drawing by Bresenham Algorithm (https://de.mathworks.com/matlabcentral/fileexchange/25544-line-drawing-by-bresenham-algorithm), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R14SP3
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu ECG / EKG finden Sie in Help Center und MATLAB Answers
Version Veröffentlicht Versionshinweise
1.0.0.0