CN104331912B - A kind of garment material method for quickly filling based on matrix of edge - Google Patents
A kind of garment material method for quickly filling based on matrix of edge Download PDFInfo
- Publication number
- CN104331912B CN104331912B CN201410583597.7A CN201410583597A CN104331912B CN 104331912 B CN104331912 B CN 104331912B CN 201410583597 A CN201410583597 A CN 201410583597A CN 104331912 B CN104331912 B CN 104331912B
- Authority
- CN
- China
- Prior art keywords
- matrix
- pixel
- region
- fabric
- filling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/40—Filling a planar surface by adding surface attributes, e.g. colour or texture
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
Claims (1)
- A kind of 1. garment material method for quickly filling based on matrix of edge, it is characterised in that including:Clothes region kimonos rim Preservation, garment material filling and the processing at fabric filling region edge of edge information, specifically implement according to the following steps:Step 1:Image processor extracts to the region of image of clothing and marginal information, and computer is according to the information extracted Define two matrixes:Matrix of areas and matrix of edge, and respectively store information wherein;Described information storage process is:The method identification clothes region increased using region, is to specify face by clothes regional processing Color, and to the region number consecutively of selection, pixel corresponding to this region is numbered labeled as this, is stored in matrix of areas;To choosing The direction for selecting region fabric is defined, and after the zone number in the region is associated with the fabric orientation angle in the region, is preserved Enter database;While region increases and the gray value g (i, j) at image of clothing edge pixel point position (i, j) place is calculated, so Blackness a=g (i, j)/255 of this pixel are calculated afterwards;According to blackness value judgment matrix, finally the data in two matrixes are write Enter text preservation;Method according to blackness value judgment matrix is:If a > 0.15, represent that the pixel belongs to matrix of areas, by pixel Pixel (x, y) is used as seed point;Seed point pixel (x, y) pixel is arranged to certain color, and to this seed point Region numbering is 1, and by seed point coordinates, element corresponding to A [x, y] is entered as 1 in matrix of areas;Successively to seed point Pixel (x, y) transverse and longitudinal coordinate carries out x++, x--, y++, y-- respectively, obtain four new pixel pixel (x+1, y), Pixel (x-1, y), pixel (x, y+1), pixel (x, y-1), this four pixel blackness are judged respectively, a will be met > 0.15 point continues to repeat aforesaid operations, completes the selection of an area information as new seed point;If a≤0.15, Pixel color is not the color set selected by then representing, the pixel belongs to matrix of edge, the selecting party of reference zone matrix Method, complete the selection of an area information;Step 2:The text for having matrix of areas obtained by step 1 is read out, extracts area information and corresponding region face Expect filling direction information, by fabric information initializing, carry out fabric Fast Filling;The fabric Fast Filling process is:Step 2.1:To there being the reading of the text of matrix of areas, matrix of areas is obtained;Step 2.2:Numbering identical matrix of areas content is read out, obtains a certain clothes area information and fabric filling side To corresponding informance;Step 2.3:Reading area matrix, corresponding identical numbering corresponding pixel in style image in matrix of areas is used Corresponding pixel is replaced in the fabric figure initialized, and the now a certain region fabric filling of clothes is completed;Step 2.4, aforesaid operations are repeated, realize the Fast Filling of image of clothing fabric;Step 3:Borderline documents text is read, matrix of edge is obtained, utilizes the composite formula P=aF+ (1- during imaging importing A) S is handled clothes edge, and wherein a is corresponding pixel points blackness, and S is style figure, and F is fabric figure, and P is the effect after processing Fruit is schemed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410583597.7A CN104331912B (en) | 2014-10-27 | 2014-10-27 | A kind of garment material method for quickly filling based on matrix of edge |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410583597.7A CN104331912B (en) | 2014-10-27 | 2014-10-27 | A kind of garment material method for quickly filling based on matrix of edge |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104331912A CN104331912A (en) | 2015-02-04 |
CN104331912B true CN104331912B (en) | 2018-01-16 |
Family
ID=52406632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410583597.7A Active CN104331912B (en) | 2014-10-27 | 2014-10-27 | A kind of garment material method for quickly filling based on matrix of edge |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104331912B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105023284B (en) * | 2015-07-16 | 2018-01-16 | 山东济宁如意毛纺织股份有限公司 | A kind of fabric for two-dimentional garment virtual display fills deformation texture method |
CN104978469A (en) * | 2015-08-05 | 2015-10-14 | 安徽贵谷电子商务有限公司 | Costume fabric quick filling method based on edge matrix |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0851240B1 (en) * | 1996-12-26 | 2006-01-25 | Nippon Telegraph And Telephone Corporation | Meteorological radar precipitation pattern prediction method and apparatus |
CN102044069A (en) * | 2010-12-01 | 2011-05-04 | 华中科技大学 | Method for segmenting white blood cell image |
CN102063623A (en) * | 2010-12-28 | 2011-05-18 | 中南大学 | Method for extracting image region of interest by combining bottom-up and top-down ways |
CN103049907A (en) * | 2012-12-11 | 2013-04-17 | 深圳市旭东数字医学影像技术有限公司 | Interactive image segmentation method |
CN103606162A (en) * | 2013-12-04 | 2014-02-26 | 福州大学 | Stereo matching algorithm based on image segmentation |
-
2014
- 2014-10-27 CN CN201410583597.7A patent/CN104331912B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0851240B1 (en) * | 1996-12-26 | 2006-01-25 | Nippon Telegraph And Telephone Corporation | Meteorological radar precipitation pattern prediction method and apparatus |
CN102044069A (en) * | 2010-12-01 | 2011-05-04 | 华中科技大学 | Method for segmenting white blood cell image |
CN102063623A (en) * | 2010-12-28 | 2011-05-18 | 中南大学 | Method for extracting image region of interest by combining bottom-up and top-down ways |
CN103049907A (en) * | 2012-12-11 | 2013-04-17 | 深圳市旭东数字医学影像技术有限公司 | Interactive image segmentation method |
CN103606162A (en) * | 2013-12-04 | 2014-02-26 | 福州大学 | Stereo matching algorithm based on image segmentation |
Also Published As
Publication number | Publication date |
---|---|
CN104331912A (en) | 2015-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105069754B (en) | System and method based on unmarked augmented reality on the image | |
TWI559242B (en) | Visual clothing retrieval | |
US9691145B2 (en) | Methods and systems for automated selection of regions of an image for secondary finishing and generation of mask image of same | |
CN107340852A (en) | Gestural control method, device and terminal device | |
US10540568B2 (en) | System and method for coarse-to-fine video object segmentation and re-composition | |
CN106157341A (en) | Generate the method and device of synthesising picture | |
JP6529686B2 (en) | IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, AND PROGRAM | |
CN104008547B (en) | A kind of visualization sliced image of human body serializing dividing method based on skeleton angle point | |
CN106096542A (en) | Image/video scene recognition method based on range prediction information | |
CN104952070B (en) | A kind of corn field remote sensing image segmentation method of class rectangle guiding | |
CN110097616B (en) | Combined drawing method and device, terminal equipment and readable storage medium | |
CN102289671A (en) | Method and device for extracting texture feature of image | |
CN102592132A (en) | System and method for classifying digital image data | |
CN108307189A (en) | Three-dimensional content provides system, method and computer readable recording medium storing program for performing | |
CN104658030A (en) | Secondary image mixing method and apparatus | |
CN104331912B (en) | A kind of garment material method for quickly filling based on matrix of edge | |
CN104881641B (en) | Mobile device-based questionnaire and table Digital identification method and system | |
CN110660018B (en) | Image-oriented non-uniform style migration method | |
CN116051575A (en) | Image segmentation method, apparatus, computer device, and storage medium program product | |
CN111563462A (en) | Image element detection method and device | |
CN105808682A (en) | Relational graph display method and apparatus | |
CN108764419A (en) | A method of the antifalsification label of identification tool random grain | |
Governi et al. | Digital bas-relief design: A novel shape from shading-based method | |
CN103914825A (en) | Three-dimensional model texture coloring method based on image segmentation | |
CN105809683A (en) | Shopping image collaborative segmenting method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C41 | Transfer of patent application or patent right or utility model | ||
CB03 | Change of inventor or designer information |
Inventor after: Zhu Xinjuan Inventor after: Zhao Hui Inventor after: Shi Meihong Inventor after: Lin Li Inventor after: He Xingxing Inventor before: Zhu Xinjuan Inventor before: He Xingxing |
|
COR | Change of bibliographic data | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20151209 Address after: 272000 Ruyi Industrial Park, hi tech Zone, Jining, Shandong Applicant after: Shandong Jining Ruyi Woolen Textile Co.,Ltd. Applicant after: Xi'an Engineering Univ. Address before: 710048 Shaanxi province Xi'an Beilin District Jinhua Road No. 19 Applicant before: Xi'an Engineering Univ. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |