1. 首页
  2. 编程语言
  3. C++ 
  4. High quality image rotation (rotate by shear)

High quality image rotation (rotate by shear)

上传者: 2018-12-26 16:22:36上传 ZIP文件 4KB 热度 43次
Unlike traditional rotation of images, where every n'th pixel is sampled and copied to the result image, this template provides much more accurate image rotation features (weighing the pixels). template is instantiated with a specific pixel format and must be inherited to support pixel access functions for a specific bitmap implementation. This provides abstaction of the rotation mechanism from the actual bitmap representation. Major features: ides professional quality image rotation. Code is optimized for image quality, not speed. Rotated image retains size and aspect ratio of source image (destination image size is usally bigger). Supports double precision rotation angles (0..360). Supports generic bitmap structures. Specific bitmap structure is defined by inheritance. Template based - no need for libraries, DLLs etc. No linkage problems. speed. Rotated image retains size and aspect ratio of source image (destination image size is usally bigger). Supports double precision rotation angles (0..360). Supports generic bitmap structures. Specific bitmap structure is defined by inheritance. Template based - no need for libraries, DLLs etc. No linkage problems.
用户评论