Mosaic processing method of 2D picture
A processing method and mosaic technology, applied in image data processing, graphics and image conversion, instruments, etc., can solve problems such as poor picture definition, few primary colors of building blocks, and difficulty in obtaining visual effects, so as to reduce production costs and simplify processing methods Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] Such as figure 1 As shown, the two-dimensional picture in this embodiment is a picture with 460*350 pixels. A mosaic processing method for a two-dimensional image, comprising the following steps:
[0047] a. Carry out cutting preprocessing on the original image, and divide the color blocks of the image after cutting and preprocessing;
[0048] b. Each color block finds the closest original color block of the building block, which optimizes the image building block effect;
[0049] c. Use the closest primary color blocks of the above-mentioned building blocks to fill the corresponding color blocks with colors, so as to obtain a picture of a mosaic of building blocks.
[0050] The cutting preprocessing in the step a is to divide the original picture into an M×N matrix, so that each color block divided by the matrix contains k×k pixels. According to the above method, the figure 1 The two-dimensional picture shown is divided into small modules of 2×2 pixels each, and di...
Embodiment 2
[0076] Such as Figure 4 As shown, the difference between this embodiment and Embodiment 1 is that the two-dimensional image in Embodiment 2 of the present invention has a resolution of 321 columns×243 rows, and when the color block is divided according to the size of 4×4, one column of the original image will be discarded and three rows, thus divided into 80 columns × 60 rows of color blocks;
[0077] Figure 5 It is the picture of the building block mosaic obtained after the processing in Example 2, consisting of 4800 (80×60) building blocks.
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