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

Inactive Publication Date: 2016-10-12
BANBAO CO LTD
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] 1. Classify the color blocks, and use the same matching method for each color block. During the matching process, the color characteristics of each color block are mainly investigated. However, due to the relatively small number of primary colors of the building blocks (due to production costs and difficulty, etc.) Considering factors, there are about 40-50 kinds of primary colors of building blocks),

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
  • Mosaic processing method of 2D picture
  • Mosaic processing method of 2D picture
  • Mosaic processing method of 2D picture

Examples

Experimental program
Comparison scheme
Effect test

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.

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 provides a mosaic processing method of a 2D picture. The method is characterized by comprising the following steps that a) an original picture is pre-cut, and the pre-cut picture is divided into color blocks; b) a primary color building block closest to each color block is searched, and an building-block effect of the picture is optimized; and c) the closest primary color building blocks are used to carry out color filling on the corresponding color blocks, and a modularized mosaic picture is obtained. Compared with the prior art, the method of the invention has the advantages that The picture processing method is simplified, fewer building block colors are used to form the modularized mosaic picture, a visual effect closer to the original picture can be obtained when the picture is observed from a position far away, splicing can be completed via building blocks of fewer colors, and the production cost is reduced effectively.

Description

technical field [0001] The invention relates to a mosaic processing method for two-dimensional pictures. Background technique [0002] The so-called adding a mosaic to a picture refers to dividing the original image into several small areas through a processing method, each area is called a color block, and a new solid color similar to the original image is used for each color block. The color of the block is replaced, so as to obtain a process of blurring the artistic effect. [0003] Jigsaw puzzle is a kind of intellectual game which is very popular. It has many changes and different difficulties, which makes people never get tired of playing it. At present, puzzles are usually realized by dividing a picture into multiple puzzle units. This method can ensure that the spliced ​​jigsaw puzzle is a complete picture, but different jigsaw puzzles will use different jigsaw units, making it difficult to reduce the cost of the jigsaw puzzle, and the jigsaw puzzle unit of a jigsa...

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
IPC IPC(8): G06T3/40
CPCG06T3/4038
Inventor 苏锐强张承钿林怡史洪泽光
Owner BANBAO CO LTD
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