Method for zooming out images

An image and original image technology, applied in the field of image processing, can solve problems such as large buffer space, image distortion, discomfort, etc., to achieve the effect of occupying less memory space, saving memory space, and improving quality

Inactive Publication Date: 2011-06-15
HISENSE BROADBAND MULTIMEDIA TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These image reduction methods in the prior art have the following shortcoming: 1, because the transformation algorithm adopted in the method is more complicated, it is difficult to program and realize; Some overlapping pixels will be obtained. If these overlapping pixels are not properly selected, it is easy to cause a certain degree of image distortion; 3. These methods decode all the images first, and then compress them, which need to occupy a large buffer space. Not suitable for applications with limited memory space, such as embedded platforms

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
  • Method for zooming out images
  • Method for zooming out images
  • Method for zooming out images

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] figure 2 Shown is a specific flow chart of an embodiment of the image reduction method of the present invention.

[0034] In the first embodiment, a row is used as a basic unit to discard pixels of an image, so as to reduce the size of the image. The specific process is as follows:

[0035] Step S201: the image reduction process starts.

[0036] Step S202: read the image file, determine the image type, read the file header, and obtain the width W and height H of the original image. In this embodiment, W=10, H=8, that is, the original image size is 10×8.

[0037] Step S203: Obtain the size of the area to be displayed in the target image.

[0038] Step S204: Calculate the width W1 and height H1 of the target image. In this embodiment, firstly, the size of the area to be displayed of the target image is obtained, the compression ratio of the image is calculated, and then the width and height of the target image are calculated according to the compression ratio. In t...

Embodiment 2

[0059] Embodiment 2 has the same steps as Embodiment 1, and the difference from Embodiment 1 is that the size of the original image in Embodiment 2 is 20×20, and the size of the target image is 16×16, that is, W=20, H= 20, W1=16, H1=16. According to the calculation of the row discarding factor and the column discarding factor, it can be known that the positions of the discarded rows of the original image are the 4th row, the 8th row, the 12th row and the 16th row, and the positions of the discarded columns are: Columns 4, 8, 12, and 16.

[0060] In the above embodiments, it is first judged whether the current Y line is discarded, and then decoding is performed. Of course, it is also possible to first decode the current Y row of data, and then determine whether to discard it.

[0061] In the image reduction method of the present invention, the following method can also be used to determine the position of the line that should be discarded in the original image according to th...

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 a method for zooming out images, comprising the step of determining row rejection factors and column rejection factors of the images according to the dimensions of the original images and the dimensions of the target images zoomed out and the steps of determining the pixel points supposed to be rejected according to the row rejection factors and column rejection factors and obtaining the target images zoomed out. The method adopts the method of exclusion, uses rows or columns as the basic units to draw and reject each pixel of the image, realizes zooming out the imagesand saves the memory space occupied by image zooming out.

Description

technical field [0001] The invention relates to the field of image processing, in particular to an image reduction method. Background technique [0002] At present, the commonly used methods for image reduction include nearest neighbor sampling method, bilinear interpolation method and bicubic interpolation method, etc. The basic principle of these methods is to take a certain pixel of the image, and transform it into the corresponding point of the target image after various changes; then, according to a certain algorithm, select the pixels of the target image, and these pixels are combined into the target image . These image reduction methods in the prior art have the following shortcoming: 1, because the transformation algorithm adopted in the method is more complicated, it is difficult to program and realize; Some overlapping pixels will be obtained. If these overlapping pixels are not properly selected, it is easy to cause a certain degree of image distortion; 3. These...

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): G09G5/373
Inventor 朱海霞宋敬彬赵同凯
Owner HISENSE BROADBAND MULTIMEDIA 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