CN107330957A - A kind of image processing method with mapping interaction relation between figure layer - Google Patents

A kind of image processing method with mapping interaction relation between figure layer Download PDF

Info

Publication number
CN107330957A
CN107330957A CN201710374613.5A CN201710374613A CN107330957A CN 107330957 A CN107330957 A CN 107330957A CN 201710374613 A CN201710374613 A CN 201710374613A CN 107330957 A CN107330957 A CN 107330957A
Authority
CN
China
Prior art keywords
bitmap
region
polar plot
layer
interaction relation
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.)
Withdrawn
Application number
CN201710374613.5A
Other languages
Chinese (zh)
Inventor
沈纯青
杨强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201710374613.5A priority Critical patent/CN107330957A/en
Publication of CN107330957A publication Critical patent/CN107330957A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/32Image data format

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a kind of with the image processing method that interaction relation is mapped between figure layer, it is characterized in that, during processing of being modified to a certain image, user can combine polar plot modification and bitmap changes both advantages and carries out decision-making, if processing target can be better met using the form of bitmap, directly handled accordingly on bitmap;If can preferably reach effect using the form progress processing of polar plot, original image is converted into polar plot and then changed accordingly, after modification is finished, the modification result in a certain figure layer is embodied according to mapping relations in another figure layer.

Description

A kind of image processing method with mapping interaction relation between figure layer
Technical field
The present invention relates to image processing field, more particularly to a kind of image procossing with mapping interaction relation between figure layer Method.
Technical background
With the development and research of computer science and technology and other scientific theories, the scope of application of digital picture is constantly obtained Expand, and no small achievement and breakthrough are all had been achieved with many fields.From image procossing, developing into now occurs in this subject There is the appearance of many image processing softwares, too busy to get away computer digital image handles skill to current human society Art, be unable to do without image processing software.
By taking the outstanding person of the main software of current image procossing as an example, these softwares are all specially skillful in a certain respect, such as Photoshop specializes in bitmap processing direction, and CorelDRAW is then directed to polar plot direction.Although also there is some softwares to have simultaneously Function of both having, but reputation does not show, and will more importantly be carried out in addition without a software between polar plot and bitmap Mapping, organically combines both advantages, so that where avoiding respective inferior position.
The content of the invention
The present invention proposes a kind of new images processing method, and the VectorLayer after vector quantization and BitmapLayer are set up into mapping closes System, with reference to the advantage of both image procossings, target figure layer is mapped to after modification by result, so as to reach better image processing knot Really.
The purpose of the present invention be between figure layer map interaction relation image processing method, this method have provide compared with The characteristics of quality of service guarantee got well.
The purpose of the present invention is achieved through the following technical solutions:
A kind of image processing method with mapping interaction relation between figure layer, this method comprises the following steps:
1) mapping relations are set up
A vector quantization) is carried out to bitmap using vectorization method and obtains VectorLayer;During vector quantization, bitmap is entered Row rim detection and extraction, record have determined as the Pixel Information at edge, i.e. position letter of these edge pixels in bitmap Breath;When boundary curve is closed, position of the region that record edge closure is included in bitmap, and rower is entered to the region Note, during forming polar plot, contraposition figure marked region corresponding graphic element in polar plot is marked;
B) vector quantization completes to be formed after polar plot, by the zone marker information and vector that are recorded before during vector quantization The label information of graphic element is corresponded in figure, forms one-to-one relationship;
C mapping interaction relation) is set up;Preserve;
2) image processing process:
A image processing operations) are carried out on BitmapLayer or VectorLayer;
B) during image procossing, according to the object being directed to during image procossing, to this pair of picture in figure layer The region at place or place object increase modification mark;
C) marked, by treated region or figure by mapping interaction relation by result, entered according to modification Row mapping, the part without changing unmarked modification;
D) preserve.
The method of described foundation mapping interaction relation is specially:
A) area information of record carries out piecemeal mark to bitmap before;
B) figure in VectorLayer determines the corresponding region in bitmap according to the one-to-one relationship set up.
Image processing process is specially:
Image procossing is carried out to bitmap, the operation target information of the image procossing is recorded, the piecemeal mark in bitmap Information determines to have carried out the region of image procossing;The region for having carried out image procossing carries out vector quantization again, replaces in former vector Graphic element corresponding with the region for carrying out image procossing in figure;
Or the graphic element in polar plot is modified, according to the label information of the graphic element, it is determined that being changed Graphic element;The graphic element changed is subjected to rasterizing processing, the corresponding region in bitmap is replaced.
The beneficial effects of the invention are as follows:The present invention is proposed to map between kind of multi-layer image, and image is carried out with reference to polar plot and bitmap The method of processing.In the method, when handling bitmap, vectorized process first is carried out to image, vector quantization figure is constituted Layer.During vector quantization, the mapping relations set up between bitmap and polar plot, i.e. in polar plot element can with bitmap Pixel formation corresponding relation.During image procossing, the advantage carried out using polar plot in terms of image procossing is such as sweared Spirogram very can neatly enter edlin, and the basic element of polar plot is object, and each object is the entity having a style of one's own, The change of some object, which is not interfered with, does not have related object, so that the shortcoming presented to bitmap in image processing process, As and the editor of bitmap is restricted, bitmap is the arrangement of point (pixel), local motion or changes and just influences whether it The point of his part, is made up.Image is handled accordingly, then by the part changed before and after contrast images, passed through The mapping relations defined before by the part mapping of change to corresponding figure layer, so as to provide high-quality magnitude processing result image.
Brief description of the drawings
Fig. 1 is the closure mark of enclosed region.
Fig. 2 is that bitmap is corresponding with region in polar plot and the mark of element.
Embodiment
The present invention is described in detail below according to accompanying drawing, and the purpose of the present invention and effect will be apparent.
Polar plot is also referred to as on the image or Drawing image of object-oriented, traditional font version being referred to as vectogram, is computer With geometirc graphical presentation images based on math equation such as point, straight line or polygons in graphics.These graphic elements are referred to as Object.Each object is an entity having a style of one's own, and it has the category such as color, shape, profile, size and screen position Property.Since each object is an entity having a style of one's own, it is possible to while its original definition and flexibility is maintained, Repeatedly move and change its attribute, without influenceing other objects in legend.
The present invention is there is provided with the image processing method that interaction relation is mapped between figure layer.This method includes:
1) mapping relations are set up
A vector quantization) is carried out to non-polar plot using prior art such as potrace isovectors technology;In vector quantization process In, rim detection and extraction are carried out to bitmap, record has determined as the Pixel Information at edge, i.e. these edge pixels are in place Positional information in figure;When boundary curve is closed, position of the region that record edge closure is included in bitmap, and to this Region is marked, and during forming polar plot, contraposition figure marked region corresponding graphic element in polar plot enters rower Note;As shown in Figure 1;
B) vector quantization completes to be formed after polar plot, by the zone marker information and vector that are recorded before during vector quantization The label information of graphic element is corresponded in figure, forms one-to-one relationship;As shown in Figure 2;
C mapping interaction relation) is set up;Preserve;
2) image processing process:
A image processing operations) are carried out on BitmapLayer or VectorLayer;
B) during image procossing, according to the object being directed to during image procossing, to this pair of picture in figure layer The region at place or place object increase modification mark;
C) marked, by treated region or figure by mapping interaction relation by result, entered according to modification Row mapping, the part without changing unmarked modification;
D) preserve.
Image processing process is specially:
Image procossing is carried out to bitmap, the operation target information of the image procossing is recorded, the piecemeal mark in bitmap Information determines to have carried out the region of image procossing;The region for having carried out image procossing carries out vector quantization again, replaces in former vector Graphic element corresponding with the region for carrying out image procossing in figure;
Or the graphic element in polar plot is modified, according to the label information of the graphic element, it is determined that being changed Graphic element;The graphic element changed is subjected to rasterizing processing, the corresponding region in bitmap is replaced.

Claims (3)

1. it is a kind of with the image processing method that interaction relation is mapped between figure layer, it is characterised in that this method includes following step Suddenly:
1) mapping relations are set up
A vector quantization) is carried out to bitmap using vectorization method and obtains VectorLayer;During vector quantization, side is carried out to bitmap Edge is detected and extracted, and record has determined as the Pixel Information at edge, i.e. positional information of these edge pixels in bitmap; When boundary curve is closed, position of the region that record edge closure is included in bitmap, and the region is marked, shape During polar plot, contraposition figure marked region corresponding graphic element in polar plot is marked;
B) vector quantization completes to be formed after polar plot, by the zone marker information recorded before during vector quantization and polar plot The label information of graphic element is corresponded, and forms one-to-one relationship;
C mapping interaction relation) is set up;Preserve;
2) image processing process:
A image processing operations) are carried out on BitmapLayer or VectorLayer;
B) during image procossing, according to the object being directed to during image procossing, to this pair of picture in figure layer where Region or place object increase modification mark;
C) marked, by treated region or figure by mapping interaction relation by result, reflected according to modification Penetrate, the part without changing unmarked modification;
D) preserve.
2. it is according to claim 1 with the image processing method that interaction relation is mapped between figure layer;It is characterized in that institute That states, which sets up the method for mapping interaction relation, is specially:
A) area information of record carries out piecemeal mark to bitmap before;
B) figure in VectorLayer determines the corresponding region in bitmap according to the one-to-one relationship set up.
3. it is according to claim 1 with the image processing method that interaction relation is mapped between figure layer;It is characterized in that figure As processing procedure is specially:
Image procossing is carried out to bitmap, the operation target information of the image procossing is recorded, the piecemeal label information in bitmap It is determined that having carried out the region of image procossing;The region for having carried out image procossing carries out vector quantization again, replaces in former polar plot Graphic element corresponding with the region for carrying out image procossing;
Or the graphic element in polar plot is modified, according to the label information of the graphic element, it is determined that the figure changed Shape element;The graphic element changed is subjected to rasterizing processing, the corresponding region in bitmap is replaced.
CN201710374613.5A 2017-05-24 2017-05-24 A kind of image processing method with mapping interaction relation between figure layer Withdrawn CN107330957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710374613.5A CN107330957A (en) 2017-05-24 2017-05-24 A kind of image processing method with mapping interaction relation between figure layer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710374613.5A CN107330957A (en) 2017-05-24 2017-05-24 A kind of image processing method with mapping interaction relation between figure layer

Publications (1)

Publication Number Publication Date
CN107330957A true CN107330957A (en) 2017-11-07

Family

ID=60193657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710374613.5A Withdrawn CN107330957A (en) 2017-05-24 2017-05-24 A kind of image processing method with mapping interaction relation between figure layer

Country Status (1)

Country Link
CN (1) CN107330957A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002048A (en) * 2018-06-12 2018-12-14 浙江大学 A kind of scale centralization photovoltaic plant image data acquiring method based on multi-rotor unmanned aerial vehicle
CN112365477A (en) * 2020-11-13 2021-02-12 常州微亿智造科技有限公司 Defect detection method and device
CN113779462A (en) * 2021-09-09 2021-12-10 金蝶软件(中国)有限公司 Image linkage method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183283A (en) * 2007-12-04 2008-05-21 哈尔滨工业大学深圳研究生院 Method for directly writing handwriting information
CN101593354A (en) * 2009-07-01 2009-12-02 上海可鲁系统软件有限公司 A kind of method that redraws and device of two-dimension vector graphics
CN104572967A (en) * 2014-12-30 2015-04-29 北京奇虎科技有限公司 Method and device for drawing pattern on page

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183283A (en) * 2007-12-04 2008-05-21 哈尔滨工业大学深圳研究生院 Method for directly writing handwriting information
CN101593354A (en) * 2009-07-01 2009-12-02 上海可鲁系统软件有限公司 A kind of method that redraws and device of two-dimension vector graphics
CN104572967A (en) * 2014-12-30 2015-04-29 北京奇虎科技有限公司 Method and device for drawing pattern on page

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002048A (en) * 2018-06-12 2018-12-14 浙江大学 A kind of scale centralization photovoltaic plant image data acquiring method based on multi-rotor unmanned aerial vehicle
CN109002048B (en) * 2018-06-12 2020-06-09 浙江大学 Multi-rotor unmanned aerial vehicle large-scale centralized photovoltaic power station image data acquisition method
CN112365477A (en) * 2020-11-13 2021-02-12 常州微亿智造科技有限公司 Defect detection method and device
CN113779462A (en) * 2021-09-09 2021-12-10 金蝶软件(中国)有限公司 Image linkage method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US20200374600A1 (en) Method for Embedding Advertisement in Video and Computer Device
DE102020100684B4 (en) MARKING OF GRAPHICAL REFERENCE MARKERS
US11507777B2 (en) Labeling techniques for a modified panoptic labeling neural network
US8013870B2 (en) Image masks generated from local color models
CN103914699A (en) Automatic lip gloss image enhancement method based on color space
CN105931180B (en) Utilize the irregular mosaic joining method of the image of significant information guidance
CN107895345A (en) A kind of method and apparatus for improving facial image resolution ratio
CN105701493B (en) The method and system of image zooming-out and prospect estimation based on stratum's figure
CN107330957A (en) A kind of image processing method with mapping interaction relation between figure layer
CN106598235B (en) Gesture identification method, device and virtual reality device for virtual reality device
CN105760073B (en) A method of realizing graphical perspectives in interactive electric whiteboard software
CN107689050A (en) A kind of depth image top sampling method based on Color Image Edge guiding
JP4842340B2 (en) Image processing apparatus, program, and recording medium therefor
CN107103635A (en) Image layout color matching method
Montserrat et al. Logo detection and recognition with synthetic images
CN107516302A (en) A kind of method of the mixed image enhancing based on OpenCV
JP3740351B2 (en) Image processing apparatus and method, and recording medium on which execution program for the method is recorded
CN110390657A (en) A kind of image interfusion method
JP2014016688A (en) Non-realistic conversion program, device and method using saliency map
CN110321452A (en) A kind of image search method based on direction selection mechanism
JP7151742B2 (en) Image conversion device, image conversion method, and computer program for image conversion
JP6294700B2 (en) Image processing apparatus and image processing method
CN101764940A (en) Subtitle rendering method based on pixel space mask matrix model
KR101566459B1 (en) Concave surface modeling in image-based visual hull
CN108694398A (en) A kind of image analysis method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20171107

WW01 Invention patent application withdrawn after publication