Skip to content

ihunhh/8bits_gray_BMP_rotation_with_pure_cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

8bits gray BMP rotation with pure C++

  • For 8bits gray BMP image clockwise rotation between 0~360 degree

    • Without any CV API

    • Interpolation method is based on Nearest Neighbor

    • Procedure:

      • Generating a trigonometric functions list for reducing computing overhead

      • Computing the new image size

      • Mapping each point in new image back to original image (360 - withch the degree you want to rotate)

    • Example

      • Original image:

      • Rotation 279 degree:

About

8bits_BMP_rotation_with_pure_cpp

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages