CN107016385A - A kind of isomery animation picture proof recognition positioning method based on cloud service - Google Patents

A kind of isomery animation picture proof recognition positioning method based on cloud service Download PDF

Info

Publication number
CN107016385A
CN107016385A CN201710145848.7A CN201710145848A CN107016385A CN 107016385 A CN107016385 A CN 107016385A CN 201710145848 A CN201710145848 A CN 201710145848A CN 107016385 A CN107016385 A CN 107016385A
Authority
CN
China
Prior art keywords
animation
picture proof
animation picture
image
cloud service
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.)
Pending
Application number
CN201710145848.7A
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 of Technology ZJUT
Original Assignee
Zhejiang University of Technology ZJUT
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 of Technology ZJUT filed Critical Zhejiang University of Technology ZJUT
Priority to CN201710145848.7A priority Critical patent/CN107016385A/en
Publication of CN107016385A publication Critical patent/CN107016385A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • G06V10/225Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition based on a marking or identifier characterising the area
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/24Aligning, centring, orientation detection or correction of the image
    • G06V10/243Aligning, centring, orientation detection or correction of the image by compensating for image skew or non-uniform image deformations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/30Noise filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Processing Or Creating Images (AREA)

Abstract

A kind of isomery animation picture proof recognition positioning method based on cloud service, animation picture proof image sequence is generated by animation picture proof;Selection standard witness marker type, the animation picture proof image sequence in network is downloaded to locally, pre-processed:Animation picture proof image is converted into binary image and denoising;Standard setting mark or the standard setting mark edge contour point newly added are as a reference point, are gradually swept out from reference point locations, and the witness marker of remaining animation manuscript base piece is positioned according to edge contour characteristic quantity;Enter line tilt correction, translation and scaling to animation picture proof image to correct;Region is carried out to animation picture proof image to cut;The animation picture proof image sequence being disposed is produced and generated into animated video according to the broadcasting speed of setting to preserve to local, and uploads to the network address and returns.Simple to operate, service call of the invention is convenient, flexibility is good, cost is low.

Description

A kind of isomery animation picture proof recognition positioning method based on cloud service
Technical field
Technical field, especially a kind of isomery animation picture proof identification positioning based on cloud service are clapped the present invention relates to animation line Method.
Background technology
In image teaching, line claps software and has played important function.In traditional two dimension has paper cartoon making, line inspection, also Move inspection work and be constantly in a more consequence.Although line inspection is operated in work shared in whole animation process Measure smaller, but can directly or indirectly determine the whether accurate of the animating image characteristics of motion, be played very in cartoon making Crucial effect.
Line inspection work mainly for cartoon making early stage original painting and animation, after the seizure and synthesis to image Camera lens continuously play the action for carrying out the animating image that the former animation teacher of auxiliary examination draws on paper and whether expression smooth.
Line shooting system is analyzed from business perspective, and cost, reduction cartoon making can be reduced during cartoon production and is returned Original text repaiies the number of times of line;Improve producing efficiency, final lifting animation quality.Analyze, learn being created to student from teaching angle In while give self-affirmation, negative, and provide a more easily teaching platform to teacher, form scene in real time Demonstration, the well atmosphere of work-place study.Software is clapped in existing state interior lines mainly enlightening life, Ou Lei, the outstanding grid line shooting system of space, all It is to be realized by the way of line claps table top+camera or scanner+line claps software+existing shooting system.
The content of the invention
Animation line original text is from during papery is converted into digital document, it is understood that there may be several technological difficulties:Manuscript paper is being shot During scanning, it may appear that the situation of the micro-shifting of paper position, so as to cause cartoon picture not align;Camera and paper The trickle gap of distance is opened, the size of line manuscript base piece is influenced whether, can similarly cause cartoon picture not smooth.
If animation picture proof contains positioning hole, it becomes possible to by carrying out quickly recognizing to the positioning hole of animation picture proof, position come Solve the problem of line original text can not align.But true upper Positioning holes are the one of which in the witness marker of a variety of patterns, some Rough sketch can be positioned in the form of marking cross, also some rough sketches then with multiple circles position, and positioning hole also likely to be present it is many Shape and specification are planted, this adds difficulty for automation positioning correction rough sketch.
Line is clapped into equipment with combination of software into unified line shooting system, equipment, equipment and software are clapped by software operation lines Interface be completely embedded, although facility is complete, but flexibility is not high, once line claps equipment or software systems failure replacement, all Need to update whole line shooting system.
In order to overcome, the complex operation, very flexible, cost of existing animation line shooting method are high, only support specific type to move The deficiency of unrestrained picture proof, the invention provides a kind of isomery animation picture proof recognition positioning method based on cloud service, supports multiple types Simple services, are combined into by the manuscript paper image file of animation picture proof and the plurality of devices generation of type by the form of Services Composition Quickly positioning, matching automatically can be carried out to the witness marker of animation picture proof, then carry out the correction of paper image, cut, Image is finally generated to the complex services of video.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of isomery animation picture proof recognition positioning method based on cloud service, the localization method comprises the following steps:
1) animation picture proof, is shot into generation animation picture proof image sequence by scanner scanning or photographing device;
2) pinpoint graphics cloud service, is opened, selection standard witness marker type there are two kinds of situations here:If in option In the presence of the witness marker consistent with animation paper, then the option is chosen, into step 4);If identical positioning mark is not present in option Will, then do not select, into step 3);
3), the positioning animation paper of one blank of scanning/shooting, is uploaded to network, calls witness marker to recognize that cloud service is known Other witness marker;
4), the animation picture proof image sequence by scanning/shooting generation is uploaded to network, sets video playout speed, calls Pinpoint graphics make cloud service;
5) after, pinpoint graphics making cloud service is called successfully, service background is by under the animation picture proof image sequence in network It is loaded onto locally, is pre-processed:Animation picture proof image is converted into binary image and denoising;
6), with step 2) in selection standard setting mark or step 3) the standard setting mark edge contour point that newly adds It is as a reference point, gradually swept out from reference point locations, determining for remaining animation manuscript base piece is positioned according to edge contour characteristic quantity Bit flag;
7), according to animation original text witness marker, line tilt correction, translation and scaling is entered to animation picture proof image and is corrected;
8), region is carried out to animation picture proof image to cut;
9) the animation picture proof image sequence being disposed, is produced and generated into animated video according to the broadcasting speed of setting to preserve To local, and upload to the network address and return.
Further, the step 3) processing procedure it is as follows:
(3.1), the blank to upload positions animation paper image progress binaryzation, denoising;
(3.2), the blank to upload positions animation paper image progress rim detection;
(3.3), due to there are multiple positioning holes on animation paper, it is necessary to which segmenting edge, discontinuous edge contour is separated Open, if at this moment unidentified to image or only identify an edge contour that can not split, return to " None- identified positioning mark The information of will ", and require scanning/shooting again and upload blank positioning animation paper.
Beneficial effects of the present invention are mainly manifested in:1st, the process for handling animation picture proof image file is packaged into multiple clouds Service, is supplied to user, simple to operate, service call is convenient, flexibility is good, cost is low after combination;2nd, support a variety of manuscript paper and Shoot scanning device, including the higher mobile phone camera of pixel etc.;3rd, strong applicability, accuracy are high.
Brief description of the drawings
Fig. 1 is a kind of scan image for the pinpoint graphics paper for having positioning hole, wherein 1,3 be strip positioning hole, 2 be circle Positioning hole.
Fig. 2 is that user is illustrated using pinpoint graphics cloud service process.
Fig. 3 is witness marker identification cloud service internal flow chart.
Fig. 4 is witness marker identification cloud service internal flow chart.
Embodiment
Technical scheme is described in further detail below by specific embodiment.
1~Fig. 4 of reference picture, a kind of isomery animation picture proof recognition positioning method based on cloud service, the localization method bag Include following steps:
1) animation picture proof, is shot into generation animation picture proof image sequence by scanner scanning or photographing device;
2) pinpoint graphics cloud service, is opened, selection standard witness marker type there are two kinds of situations here:If in option In the presence of the witness marker consistent with animation paper, then the option is chosen, into step 4);If identical positioning mark is not present in option Will, then do not select currently, into step 3);
3), the positioning animation paper of one blank of scanning/shooting, is uploaded to network, calls witness marker to recognize that cloud service is known Other witness marker, detailed process is as follows:
(3.1) the blank positioning animation paper image of upload, is converted into binary image and denoising;
(3.2), call the service of figure rim detection to position animation paper image to the blank of upload and carry out rim detection:1. by In to image binaryzation and denoising, it is 0 that need to only search out itself pixel gray value in step (3.1), on Four neighbor pixels in the lower left and right point that both gray value is 0, includes the point that gray value is 255 again, so that it may which it is edge to think the point Point;2. the direction of marginal point is determined by other marginal points in eight pixel positions adjacent thereto;
(3.3), will, due to there are multiple positioning holes on animation paper, it is necessary to call figure rim detection to service segmenting edge Discontinuous edge contour is separated, if at this moment unidentified to image or only identify an edge contour that can not split, The information of " None- identified witness marker " is returned, and requires scanning/shooting again and uploads blank positioning animation paper;
(3.4) witness marker, is adjusted:1. the service of profile center calculation is called to calculate the seat of whole points of each continuous boundary Cursor position average value, is the center at the edge;2. the minimum point A coordinates (xa, ya) of abscissa, abscissa in central point are obtained Maximum point B coordinates (xb, yb), by formula tan θ=(xb-xa)/(yb-ya) obtain θ value;3. call image rotation service will Image clockwise rotates θ angles;
(3.5), the witness marker of animation paper is all located above manuscript paper, calls image cropping service to be located under witness marker The blank parts of side, which are cut, deletes, and generates witness marker image;
(3.6), calling figure is as the Hu squares of Hu squares calculating service calculating witness marker image border profile:1. in region Image f (x, y), calculates the p+q rank geometric moments of image:Here p, q for 0 to 3 it is whole Number;2. p+q rank central moments are calculated:Wherein 3. central moment is normalized:ηpqpq/(μ00 ρ), wherein ρ=(p+q)/2+1;4. 7 invariant moments is calculated:M12002, M2 =(η2002)2+4η11 2, M3=(η3002)2+(3η2103)2, M4=(η3012)2+(η2103)2, M5=(η30-3η12) (η3012)[(η3012)2-3(η2103)2]+(3η2112)(η2130)[3(η3012)2-(η2103)2], M6=(η20- η02)[(η3012)2-(η2103)2]+4η113012)(η2103), M7=(3 η2103)(η3012)[(η3012)2-3 (η2103)2]+(η30-3η12)(η2130)[3(η3012)2-(η2103)2];5. current witness marker image border profile I.e. by M1~M7, this 7 invariant moments is constituted characteristic quantity:M=[M1, M2, M3, M4, M5, M6, M7];
(3.7) witness marker image, witness marker edge contour point and the edge contour characteristic quantity calculated, are preserved, It is used as the standard setting flag information newly added;
(3.8), show witness marker image and ask whether using the witness marker image identified, if be confirmed Reply then adds the standard setting mark and continues operation, and step 2 is returned to if cancelling);
4), the animation picture proof image sequence by scanning/shooting generation is uploaded to network, calls pinpoint graphics to make cloud clothes Business, sets video playout speed Z frames/s to be used as input parameter;
5) after, pinpoint graphics making cloud service is called successfully, service background is by under the animation picture proof image sequence in network It is loaded onto locally, is pre-processed:Call batch images binaryzation, denoising service that whole animation picture proof images are converted into binaryzation Image and denoising;
6), with step 2) in selection standard setting mark or step 3) in the standard setting mark edge contour that newly adds Point is as a reference point, calls batch images scan service gradually to be swept out from reference point locations, once it is 255 to find gray value Point, just call the service of batch pattern edge profile to extract the edge contour of figure being connected with the point, and call batch images Hu squares calculate service and calculate the edge contour Hu squares extracted:If new edge contour Hu moment characteristics amount M and standard setting mark The Hu moment characteristics amount M errors of edge contour are no more than threshold, you can be considered the part for needing to overlap;If error exceedes Threshold, then find the edge contour and think the nearest point of distance reference point, continues to extract other edge contours;
7), according to witness marker profile information, line tilt correction is entered to animation picture proof image and is corrected with scaling, picture is determined Bit flag is overlapped:1. according to step (3.3) and manuscript paper framing mark, rotating image carries out Slant Rectify;2. positioning is calculated The coordinate position average value of the whole marginal points of mark, is designated as central point O ' (x ', y '), the same center for calculating standard setting mark Point O (x0, y0);3. by picture to right translation x0- x ', translates downwards y0- y ', negative number representation opposite direction;4. picture positioning mark is found Maximum a bit (x of y values in will marginal point1,y1), and maximum a bit (x of y values in standard setting mark marginal point2,y2), will Picture amplifies (y2-y0)/(y1-y0) times.
7), carry out region to animation picture proof image to cut, the line original text beyond witness marker in each rough sketch is scanned, from Edge is gradually swept a little to center, and maximum abscissa x is obtained respectivelymax' minimum abscissa xmin', maximum ordinate ymax' minimum horizontal Coordinate ymin', and extreme value x is updated more afterwardsmax, xmin, ymax, ymin, handled and generated after all rough sketches with straight line x=xmax, x= xmin, y=ymax, y=yminThe rectangle frame surrounded, calls batch images to cut service and deletes the part outside rectangular area;
8) image sequence, is called to generate Video service by broadcasting of the animation picture proof image sequence being disposed according to setting Speed produces and generates animated video, calls file to upload cloud service and video is uploaded into network and return address information.
The core technology of the present invention is to be rectified the identification of multiclass manuscript paper witness marker, manuscript paper image using cloud service framework Just, manuscript paper image/video processing function cloud service, and the automatic animation for realizing animation picture proof image is combined by cloud service.

Claims (2)

1. a kind of isomery animation picture proof recognition positioning method based on cloud service, it is characterised in that:The localization method include with Lower step:
1) animation picture proof, is shot into generation animation picture proof image sequence by scanner scanning or photographing device;
2) pinpoint graphics cloud service, is opened, selection standard witness marker type there are two kinds of situations here:If existing in option The witness marker consistent with animation paper, then choose the option, into step 4);If identical witness marker is not present in option, Do not select, into step 3);
3), the positioning animation paper of one blank of scanning/shooting, is uploaded to network, calls witness marker to recognize that cloud service identification is fixed Bit flag;
4), the animation picture proof image sequence by scanning/shooting generation is uploaded to network, sets video playout speed, calls animation Positioning makes cloud service;
5) after, pinpoint graphics making cloud service is called successfully, the animation picture proof image sequence in network is downloaded to by service background Locally, pre-processed:Animation picture proof image is converted into binary image and denoising;
6), using step 2) in selection standard setting mark or step 3) the standard setting mark edge contour point that newly adds as Reference point, is gradually swept out from reference point locations, and the positioning mark of remaining animation manuscript base piece is positioned according to edge contour characteristic quantity Will;
7), according to animation original text witness marker, line tilt correction, translation and scaling is entered to animation picture proof image and is corrected;
8), region is carried out to animation picture proof image to cut;
9) the animation picture proof image sequence being disposed, is produced and generated into animated video according to the broadcasting speed of setting to preserve to this Ground, and upload to the network address and return.
2. the isomery animation picture proof recognition positioning method as claimed in claim 1 based on cloud service, it is characterised in that:The step Rapid processing procedure 3) is as follows:
(3.1), the blank to upload positions animation paper image progress binaryzation, denoising;
(3.2), the blank to upload positions animation paper image progress rim detection;
(3.3), due to there are multiple positioning holes on animation paper, it is necessary to segmenting edge, discontinuous edge contour is separated, this If when the unidentified letter for image or only identifying an edge contour that can not split, returning to " None- identified witness marker " Breath, and require scanning/shooting again and upload blank positioning animation paper.
CN201710145848.7A 2017-03-13 2017-03-13 A kind of isomery animation picture proof recognition positioning method based on cloud service Pending CN107016385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710145848.7A CN107016385A (en) 2017-03-13 2017-03-13 A kind of isomery animation picture proof recognition positioning method based on cloud service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710145848.7A CN107016385A (en) 2017-03-13 2017-03-13 A kind of isomery animation picture proof recognition positioning method based on cloud service

Publications (1)

Publication Number Publication Date
CN107016385A true CN107016385A (en) 2017-08-04

Family

ID=59440715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710145848.7A Pending CN107016385A (en) 2017-03-13 2017-03-13 A kind of isomery animation picture proof recognition positioning method based on cloud service

Country Status (1)

Country Link
CN (1) CN107016385A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111340157A (en) * 2020-02-19 2020-06-26 韦乐海茨(上海)医药设备科技有限公司 Vertical medicine tank checking method
CN112752140A (en) * 2020-12-30 2021-05-04 商丘师范学院 Animation shot design teaching demonstration system and demonstration method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729738A (en) * 2009-12-21 2010-06-09 浙江工业大学 Image identification based fast scanning and positioning method of animation
US20120013620A1 (en) * 2010-07-13 2012-01-19 International Business Machines Corporation Animating Speech Of An Avatar Representing A Participant In A Mobile Communications With Background Media
CN102592302A (en) * 2011-12-28 2012-07-18 江苏如意通动漫产业有限公司 Digital cartoon intelligent dynamic detection system and dynamic detection method
CN103186907A (en) * 2011-12-29 2013-07-03 方正国际软件(北京)有限公司 System for cartoon processing and method and terminal for cartoon processing
CN105021127A (en) * 2015-06-25 2015-11-04 哈尔滨工业大学 Surface mounting machine reference camera calibration method
US20160093084A1 (en) * 2014-09-30 2016-03-31 Pixar Subspace clothing simulation using adaptive bases

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729738A (en) * 2009-12-21 2010-06-09 浙江工业大学 Image identification based fast scanning and positioning method of animation
US20120013620A1 (en) * 2010-07-13 2012-01-19 International Business Machines Corporation Animating Speech Of An Avatar Representing A Participant In A Mobile Communications With Background Media
CN102592302A (en) * 2011-12-28 2012-07-18 江苏如意通动漫产业有限公司 Digital cartoon intelligent dynamic detection system and dynamic detection method
CN103186907A (en) * 2011-12-29 2013-07-03 方正国际软件(北京)有限公司 System for cartoon processing and method and terminal for cartoon processing
US20160093084A1 (en) * 2014-09-30 2016-03-31 Pixar Subspace clothing simulation using adaptive bases
CN105021127A (en) * 2015-06-25 2015-11-04 哈尔滨工业大学 Surface mounting machine reference camera calibration method

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
吴亚杰: "《数字化医院》", 30 November 2015 *
李丹: "二维电脑动画大规模制作的实现", 《影视制作》 *
梁志芳 等: "《计算机在材料加工中的应用》", 31 March 2012 *
肖刚 等: "基于暗区连通域的定位孔识别方法", 《计算机工程与应用》 *
赵小川 著: "《MATLAB图像处理 能力提高与应用案例》", 31 January 2014, 北京航空航天大学出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111340157A (en) * 2020-02-19 2020-06-26 韦乐海茨(上海)医药设备科技有限公司 Vertical medicine tank checking method
CN111340157B (en) * 2020-02-19 2023-08-18 韦乐海茨(上海)医药设备科技有限公司 Method for checking vertical medicine tank
CN112752140A (en) * 2020-12-30 2021-05-04 商丘师范学院 Animation shot design teaching demonstration system and demonstration method

Similar Documents

Publication Publication Date Title
AU2007224085B2 (en) Model- based dewarping method and apparatus
CN114820976B (en) Rural building modeling method, system and storage medium for fusing remote sensing image and shooting image
WO2020165557A1 (en) 3d face reconstruction system and method
CN104143094A (en) Test paper automatic test paper marking processing method and system without answer sheet
KR101829733B1 (en) Conversion Method For A 2D Image to 3D Graphic Models
CN115170669A (en) Identification and positioning method and system based on edge feature point set registration and storage medium
CN110400278A (en) A kind of full-automatic bearing calibration, device and the equipment of color of image and geometric distortion
JP2019192022A (en) Image processing apparatus, image processing method, and program
CN110009615B (en) Image corner detection method and detection device
CN106952262B (en) Ship plate machining precision analysis method based on stereoscopic vision
CN110119742B (en) Container number identification method and device and mobile terminal
CN107016385A (en) A kind of isomery animation picture proof recognition positioning method based on cloud service
JP2014164622A (en) Information system and server
CN110363769B (en) Image segmentation method for cantilever system of high-speed rail contact net supporting device
CN110705442B (en) Automatic test paper answer acquisition method, terminal equipment and storage medium
JP5689629B2 (en) Image processing device
CN106682670B (en) Station caption identification method and system
CN102592302A (en) Digital cartoon intelligent dynamic detection system and dynamic detection method
CN114187253A (en) Circuit board part installation detection method
AU2009270534B2 (en) Method and apparatus for imaging of features on a substrate
CN112668567A (en) Image clipping algorithm based on deep learning
WO2023071512A1 (en) Processing control method and apparatus, and device
EP4369291A1 (en) Apparatus and method for identifying empty tray
CN102843479A (en) File scanning method, file scanning device and portable electronic device
WO2022056875A1 (en) Method and apparatus for segmenting nameplate image, and computer-readable storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170804

RJ01 Rejection of invention patent application after publication