DDA scan conversion algorithm

Describe in brief regarding the DDA scan conversion algorithm?

E

Expert

Verified

Digital differential analyzer (or DDA) is a scan conversion algorithm mainly based on calculation either Δy or Δx by using the given equations:

Δy = m Δx
Δx = Δy/m

Sampling the line at unit intervals in one coordinate and find out corresponding integer values closest to the line path for coordinates.

Sample at X intervals (?x = 1) and calculate each successive Y value as:
Yk+1 = Yk + m

For the lines with positive slope more than 1, reverse the roles of X and Y. The sample at unit Y intervals (?y = 1) and compute each successive X value as:

Xk+1 = Xk + 1/m

   Related Questions in Computer Graphics

©TutorsGlobe All rights reserved 2022-2023.