Image block type judging method and system
An image block and type technology, applied in the field of image processing, can solve the problems of large amount of calculation, large amount of calculation, inability to realize real-time application, etc., to achieve the effect of improving operation speed and realizing real-time application.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] DUBE image enlargement methods such as figure 1As shown, the pixels A, B, C, D, E, F, G, H, I, J, K, L, M, N, O and P are the pixels of the original image, and the DUBE image is enlarged through the A , B, C, D and other pixels to the right, just below and below the right to insert some new pixels to achieve, the steps specifically include: first judge the block type of the 4x4 image block, and then according to the type of the 4x4 image block, use Different filter operators perform interpolation to obtain new pixels for image enlargement. Wherein, the method of classifying the image block type is: first judge whether it is a flat area, if not, judge whether it is an edge block or a texture block by calculating the number of connected components. Then according to the image block type, different filter operators are used for interpolation to obtain new pixel points, such as on the right, directly below and below right of pixel F, and new pixel points x, y and z are obt...
Embodiment 2
[0091] In the embodiment of the present invention, when the center designated mark point is a pixel marked as the second type of mark among the four pixels in the center, the step of judging the type of the 4x4 image block according to the mark of the neighboring pixel points of the center designated mark point is specific for see Figure 4 :
[0092] It is worth noting that the method in the embodiment of the present invention is described by taking the pixel marked as the second type of mark as an example. The steps are the same as the technical solution of this embodiment, and will not be repeated here.
[0093] In step S401, according to the pixels marked as the second type of mark in the center 4 pixels of the image block, the types of the center 4 pixels are determined, and the types of the center 4 pixels specifically include:
[0094] Type 1: There is no second type of marking point for the 4 pixel points in the center of the image block;
[0095] Type 2: The mark o...
Embodiment 3
[0112] In the embodiment of the present invention, in step S402, the step of judging the type of the 4x4 image block is specifically as follows:
[0113] a. When the four pixels in the center are type 1, the image block is an edge block.
[0114] b. When the 4 pixels in the center are type 2, when the two endpoints of the neighborhood are judged to be the second type of markers, and the middle point is the first type of markers, the image block is a texture block, otherwise it is an edge block.
[0115] c. When the 4 pixels in the center are type 3, at this time, the neighbor pixels of the two second-type markers in the same row or in the same column form a neighborhood together:
[0116] c1. When the markers of the two endpoints of the neighborhood are the second-type markers, and the markers of the middle point contain at least one first-type marker, it is a texture block, otherwise it is an edge block.
[0117] c2. When the markers of the two endpoints of the neighborhood ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 