Computer vision basics (drawing, straight lines, rectangles, translation, rotation, scaling, etc.)

The main thing is to use some of the most basic principles to draw straight lines, rectangles, etc. The most basic algorithms are DDA algorithm and bresenham algorithm.

1. Mouse interactive

  1. Keyboard interactive image drawing

  1. Based on DDA algorithm

Effects show translation, scaling, rotation, etc.

Guess you like

Origin blog.csdn.net/qq_54575112/article/details/128605326