Expansion of line DDA algorithm is *
Answers
Answered by
9
Answer:
Expansion of line DDA algorithm is
A
Digital difference analyzer
B
Direct differential analyzer
C
Digital differential analyzer
D
Data differential analyzer
Answered by
0
Answer:
The Digital differential Analyzer(DDA) is a scan-conversion line algorithm.
Explanation:
- DDA algorithm is summarized in the following procedure, which accepts as input the two endpoint pixel positions.
- Horizontal and vertical differences between the endpoint positions are assigned to parameters dx and dy.
- The difference with the greater magnitude determines the value of parameter steps.
- Starting with pixel positions ( , ), we determine the offset needed at each step to generate the next pixel position along the line path. We loop through this process steps many times.
- If the magnitude of dx is greater than the magnitude of dy and xa is less than xb, the values of the increments in the x and y directions are 1 and m, respectively.
- If the greater change is in the x direction but xa is greater than xb, then the decrements -1 and -m are used to generate each new point on the line.
- Otherwise, we use a unit increment ( or decrement ) in the y direction and an x increment ( or decrement ) of 1/m.
Similar questions