Bresenham
Algorithm::Line::Bresenham is a Perl module that contains a simple pixellated line-drawing algorithm. SYNOPSIS use Algorithm::Line::Bresenham qw/line/; my @points = line(3,3 => 5,0); # returns the list: [3,3], [4,2], [4,1], [5,0] line(3,3 => 5,0, &draw_line); # calls draw_line on each...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (140): Algorithm::Line::Bresenham Download |
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...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Line Drawing by Bresenham Algorithm Download |
Code uses Bresenham Algorithm to draw a circle, with a modification parameter to increase/decrease the step for calculation of point. Bresenham Algorithm is used to reduce the calculation needed for drawing a circle by making use of property of symmetry
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Bresenham Circle Download |
This code uses Bresenham line generation algorithm to generate a line, with modified expression for error calculation which does not involves any division or calculation of slope of line. This parameter is however modified by same mechanism as original algorithm but with different value than...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Bresenham line generation Download |
This program will generate the coordinates of a 3D Bresenham's raster line between two given points.A very useful application of this algorithm can be found in the implementation of Fischer's Bresenham interpolation method in my another program that can rotate three dimensional image volume with...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): 3D Bresenham's line generation Download |
This code does not use any for loops and takes advantage of Matlabs internally optimized routines to produce a fast, optimized version of Bresenham's line drawing algorithm
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): Bresenham optimized for Matlab Download |
3D Affine matrix is such a 4x4 matrix:M = [ [R T]; [0 0 0 1] ];[x2 y2 z2 1]d-deOao = M * [x1 y1 z1 1]d-deOao ;where, R is a 3x3 rotation matrix, and T is a 3x1 translation matrix. [x1 y1 z1] is a location in original 3D image volume, and [x2 y2 z2] is a location in transformed 3D image...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Resampling volume or image with affine matrix Download |
Given starting and ending points returns list of coordinates as per Bresenham's line algorithm. I wrote this a long time ago under Matlab 4.x I think. It works under Matlab 5.3 and 6.1. I have not reviewed the code since I wrote it.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): brlinexya Download |
This javascript VectorGraphics library provides graphics capabilities for javascript: functions to draw circles, ellipses (ovals), oblique lines, polylines and polygons (for instance triangles, rectangles) dynamically into a webpage.Usage of this Vector Graphics library should be easy even if you...
Platforms: JavaScript
License: Freeware | Size: 10 KB | Download (50): javascript VectorGraphics library for Graphics and Animations Download |