Generation method for irregular-scale photomosaic
A technology of image generation and mosaic, applied in 2D image generation, image data processing, instruments, etc., to achieve the effect of optimizing display effect, enhancing performance effect, visual impact, and high accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] The method for generating an irregular scale mosaic image in this embodiment includes the following steps:
[0053] Step 1: Determine the current replacement area in the area that has not been replaced in the original image according to the preset search method;
[0054] Step 2: Find the best replacement scales in the replacement gallery according to the preset matching method and update the found best scales to the current replacement area;
[0055] Repeat step 1-step 2 until all the original images are replaced.
[0056]In the traditional mosaic image generation method, the original image will be divided into many original scales, and the replacement scales will find the replacement scales with good replacement effect through the preset matching method, and then cut or stretch to make the replacement scales meet the replaced original scales size, this traditional replacement method satisfies the effect of retaining the original image information as much as possible, ...
Embodiment 2
[0059] Such as figure 2 As shown, the method for generating an irregular scale mosaic image in this embodiment includes the following steps:
[0060] Step 1: Determine the current replacement region in the region that has not been replaced in the original image according to the optimization point method;
[0061] Step 2: Find the best replacement scales in the replacement gallery according to the preset matching method and update the found best scales to the current replacement area;
[0062] The preset search method is an optimization point method;
[0063] Such as figure 1 Shown, described optimization point method comprises the following steps again:
[0064] Search for the vertices of each corner formed by the boundary line between the unreplaced area and the replaced area, and all vertices form a set V;
[0065] The number K of positions that have not been replaced and have not reached the boundary of the original image or the boundary of the replaced area among the ...
Embodiment 3
[0078] Such as image 3 As shown, the method for generating an irregular scale mosaic image in this embodiment, when calculating the image distance in step 2, also includes calculating D shape , the D shape If the replacement scale replaces the current replacement area, the ratio of the sum of the overlapping part with a replacement area and the part beyond the boundary of the original image to the total area of the replacement scale. Picture D confirms the current replacement area in the optimization point method and calculates the picture distance D=D col +D var +D shape The best replacement plan E is obtained; where D shape The ratio of is equal to the ratio of the part indicated by the slash in the figure to the total area of the replacement scale e. It can be seen that D shape The value between [0, 1] and the smaller the value, the better, so the smaller the value of the picture distance D is, the less the repeated area of the mosaic picture will be, and the l...
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