Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Image rotation realization method and apparatus

A technology of image rotation and implementation method, which is applied in the field of image processing, can solve the problems of large data volume, slow response speed, increase of chip area, etc., and achieve the effect of improving processing speed and efficiency, reducing hardware cost investment, and timely processing

Pending Publication Date: 2017-06-13
新岸线(北京)科技集团有限公司
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The existing image rotation technology is mostly realized by software. The image is rotated through the software to change the display direction of the image. Due to the large amount of data to be processed, this method usually has a slow response speed and cannot meet the needs of fast and timely image rotation operations. Sexual Processing Requests
[0004] And a very small number of schemes implemented by hardware, the use of hardware processing is less used in the prior art due to being limited by the performance of the hardware itself, and the size of the random storage memory (RAM) it uses is relatively large, thus Increase the chip area, which puts forward higher requirements for the hardware itself
[0005] It can be seen that none of the image rotation implementation schemes in the prior art can satisfy the need to quickly and efficiently complete the image rotation operation without increasing hardware investment.

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
  • Image rotation realization method and apparatus
  • Image rotation realization method and apparatus
  • Image rotation realization method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] Embodiment 1 of the present invention provides a method for implementing image rotation, the process of which is as follows figure 1 As shown, the principle is as figure 2 As shown, the method includes the following steps:

[0066] Step S101: Determine the reading sequence of image data according to the source storage format and source data format of the image to be rotated, and the rotation angle of the image.

[0067] like figure 2 As shown, the image rotation is realized by combining three hardware modules of direct memory access (DMA), rotator (Rotator), and random storage memory controller (RAM Controller). For example, when selecting the rotation angle of the screen or moving the display screen, the image display angle will be rotated, etc.

[0068] The DMA determines the reading sequence of the image data according to the angle to be rotated, the storage format of the image source, and the data format of the image source. Wherein, the angle to be rotated ma...

Embodiment 2

[0076] Embodiment 2 of the present invention provides a specific implementation process of a method for implementing image rotation, which is described in detail for the case of 180-degree rotation. The process is as follows image 3 As shown, the method includes the following steps:

[0077] Step S201: According to the source storage format and source data format of the image to be rotated, and the image rotation angle of 180 degrees, reverse the address sequence of the rotation unit during memory access.

[0078] This step is handled by DMA. When rotating 180 degrees, in fact, it is only necessary to reverse the order of each pixel according to the original storage format and data format. However, since memory reading generally does not only read one pixel at a time, it is necessary to rotate Address order inversion processing is performed in units of units.

[0079] Step S202: Send the rotation unit whose address sequence is reversed to the rotator.

[0080] Step S203: R...

Embodiment 3

[0099] Embodiment 3 of the present invention provides a specific implementation process of an image rotation implementation method, the process of which is as follows Figure 6 As shown, the method includes the following steps:

[0100] Step S301: According to the source storage format and source data format of the image to be rotated, and the rotation angle of the image is 90 degrees or 270 degrees, the address sequence of the rotation unit during memory access is converted according to the rotation angle.

[0101] This step is handled by DMA. Wherein, the transformation directions of 90 degrees and 270 degrees are different. When rotating at 90 degrees and 270 degrees, in fact, it is only necessary to transform the order of each pixel according to the original storage format and data format. Since memory reading generally does not only read one pixel at a time, it is necessary to The conversion processing of the address order is performed in units of rotation units.

[01...

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 realization method and apparatus. The method comprises the steps of determining a reading sequence of image data according to a source storage format and a source data format of a to-be-rotated image, and a rotating angle of the image; reading rotating units in the image data according to the determined reading sequence, and transmitting the rotating units to a rotator; and performing pixel rotation on pixels in the read rotating units according to the rotating angle by the rotator, and recombining the rotating units subjected to the pixel rotation, thereby obtaining an image of the corresponding rotating angle. The image rotation is realized in a form of changing the reading sequence through hardware, so that the hardware cost input is reduced and the processing speed and efficiency are improved.

Description

technical field [0001] The invention belongs to the technical field of image processing, and in particular relates to a method and device for realizing image rotation. Background technique [0002] With the development of electronic technology, the use of electronic images is becoming more and more extensive. During the use of electronic images, it is often necessary to rotate the images to facilitate browsing by users. [0003] The existing image rotation technology is mostly realized by software. The image is rotated through the software to change the display direction of the image. Due to the large amount of data to be processed, this method usually has a slow response speed and cannot meet the needs of fast and timely image rotation operations. Sexual processing requirements. [0004] And a very small number of schemes implemented by hardware, the use of hardware processing is less used in the prior art due to being limited by the performance of the hardware itself, and...

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 Applications(China)
IPC IPC(8): G06T3/60
CPCG06T3/602G06T3/606
Inventor 赵艳云张师群罗旻鲍东山
Owner 新岸线(北京)科技集团有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products