Adjustable rectangular window image scaling method and device
A technology of image zooming and rectangular window, which is applied in the direction of cathode ray tube indicators, instruments, static indicators, etc., can solve the problems of edge jaggedness, low cost, and complex hardware implementation, so as to save cache units, reduce zooming time, and improve The effect of scaling efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] Embodiment 1: a method for zooming an adjustable rectangular window image, characterized in that the image includes a plurality of pixels, and the pixels are arranged in a two-dimensional matrix, with rows in the horizontal direction and columns in the vertical direction, and each pixel A point is regarded as a pixel block with a certain width and height, and the operation steps are as follows:
[0039] 1) Obtain the row and column positions of the vertices of the target pixel block to be sought in the source image;
[0040] 2) Obtain the position and size of the adjustable rectangular window where the target pixel block is located during the scaling process, that is, obtain the adjustable scaling parameters;
[0041] 3) According to the size and the position of the above-mentioned adjustable rectangular window, obtain the position and the pixel value of the source pixel block needed when calculating the target pixel block;
[0042] 4) According to the position and pix...
Embodiment 2
[0044] Embodiment two: the present embodiment is basically the same as embodiment one, and special feature is as follows: described step 1) obtains the method for the row, column position that the apex of the target pixel block to be sought is located in the source image is: the source The image and the target image are regarded as two two-dimensional images of equal size, and they are overlapped and placed in the same rectangular coordinate plane, so as to calculate the row and column positions of the vertices of the target pixel block in the source image.
[0045] The step 2) obtains the size of the adjustable rectangular window in the scaling process, that is, the method for obtaining adjustable scaling parameters is:
[0046] Determine the size of the adjustable rectangular window according to the setting of the initial zoom mode of the system or the setting of the upper computer.
[0047] The method for obtaining the position of the source pixel block and its correspondin...
Embodiment 3
[0053]Embodiment three: this embodiment is also basically the same as embodiment one, and the more specific situation and working principle are as follows: this embodiment is based on the four source pixel values covered by the adjustable rectangular window where the target pixel is to be sought and the sum of the products of the area coverage ratios occupied by the four pixels in the rectangular window. Due to the adjustable parameters of the rectangular window, the zoomed target image can have different display effects between soft and sharp, and because the source pixels closer to the target pixel occupy a greater weight, the zoomed target image The pixel can maintain the maximum characteristics of the original pixel.
[0054] Such as figure 1 As shown, it is the overlapping view of the source image and the target image of this adjustable rectangular window image scaling method, including the following parameters:
[0055] The resolution of the source image: the number ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com