A method of image rotation based on fpga

A technology of image rotation and original image, applied in the field of image processing, to achieve the effect of improving resource utilization efficiency, ensuring fluency, and ensuring real-time performance

Active Publication Date: 2021-12-21
SHENZHEN FASTPRINT CIRCUIT TECH +2
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When realizing the real-time image rotation function, because each pixel needs to be processed sequentially, the operation speed of the image rotation algorithm cannot be lower than the speed of image scanning. In order to ensure the real-time and smoothness of image display, it is usually necessary to add GPU or DSP to the hardware Realize the algorithm, but the traditional image rotation algorithm involves many signed operations and floating-point operations, which is not suitable for implementation in FPGA

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method of image rotation based on fpga

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0063] Its overall process is as follows figure 1 As shown, the flow is a processing flow of one pixel in image scanning. First, the coordinate addresses are incremented sequentially, and the image rotation angle θ is updated at the same time; then, look up the table to get |sinθ| and |cosθ|; at the same time, judge the positive and negative polarities of sinθ and cosθ, and judge the current position according to the positional relationship between the coordinate address and the center coordinate of the screen quadrant; finally, substitute the parameters into the formula to calculate the pixel address after rotation, check the table to determine whether the address after rotation is within the circular border, and then cache the pixel, if the pixel is outside the border, write black at the corresponding address , if the pixel is within the border, write the data input by the video capture device at the corresponding address to complete the processing of the pixel. Since the d...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an image rotation method based on FPGA, the method includes: taking the center of the image to be rotated as the origin (X ORIGIN , Y ORIGIN ) to establish an XY coordinate system, and the original image pixel coordinates (X 0 , Y 0 ) is divided into four quadrants, and the image rotation angle θ is divided into four situations, according to the original image pixel coordinates (X 0 , Y 0 ) is located in the quadrant and the different classifications of the image rotation angle θ to calculate the pixel coordinates (X, Y) after rotation, and write the data input by the video capture device at the corresponding address, and the FPGA is used to implement the above method. Compared with the traditional image rotation algorithm, many symbol operations and floating-point operations are more suitable for running in FPGA. While ensuring the real-time and smoothness of image rotation, it can be realized with only an entry-level FPGA. Compared with traditional GPU or DSP implementation methods, it reduces hardware costs and improves resource utilization efficiency.

Description

technical field [0001] The present invention relates to the technical field of image processing, in particular to an image rotation method based on FGPA. Background technique [0002] With the advancement of image processing technology, as well as the improvement of the automation and intelligence level of industrial electronic equipment and electronic consumer goods, more and more electronic products are equipped with dedicated GPU for image processing or use DSP to do image processing algorithms, so that The functions of electronic products are becoming more and more powerful, and at the same time, the cost of the hardware of the whole machine is becoming higher and higher, which increases the complexity of hardware design. [0003] Image rotation is a commonly used image processing algorithm at present. When realizing the real-time image rotation function, because each pixel needs to be processed sequentially, the operation speed of the image rotation algorithm cannot be...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06T3/60
CPCG06T3/60G06T2200/28
Inventor 钟相燚杜焕勇雷勇锋
Owner SHENZHEN FASTPRINT CIRCUIT TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products