CN108958687A - A kind of picture transmission method based on electronic whiteboard - Google Patents

A kind of picture transmission method based on electronic whiteboard Download PDF

Info

Publication number
CN108958687A
CN108958687A CN201810814591.4A CN201810814591A CN108958687A CN 108958687 A CN108958687 A CN 108958687A CN 201810814591 A CN201810814591 A CN 201810814591A CN 108958687 A CN108958687 A CN 108958687A
Authority
CN
China
Prior art keywords
value
line segment
electronic whiteboard
picture
point
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
CN201810814591.4A
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.)
Shaanxi Zhongda Highway Technical Service Co Ltd
Original Assignee
Shaanxi Zhongda Highway Technical Service Co Ltd
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 Shaanxi Zhongda Highway Technical Service Co Ltd filed Critical Shaanxi Zhongda Highway Technical Service Co Ltd
Priority to CN201810814591.4A priority Critical patent/CN108958687A/en
Publication of CN108958687A publication Critical patent/CN108958687A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • G06F3/1462Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay with means for detecting differences between the image stored in the host and the images displayed on the remote displays

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

The invention discloses a kind of picture transmission methods based on electronic whiteboard, the present invention is in order to improve efficiency of transmission, allow both sides that can faster receive the information of other side, originally needed the picture transmitted by intercept method be modified as transmission flag data, it is big that picture volume can thus be reduced, avoid the too long problem of transmission time, in this way, when both sides are connected to another party's data, continuation is drawn in original image using flag data, for data, through overcompression, data volume can also greatly reduce, when drawing one section of irregular mark line, data volume a little is reduced by the way of matched curve.

Description

A kind of picture transmission method based on electronic whiteboard
Technical field
The invention belongs to field of information interaction, and in particular to a kind of picture transmission method based on electronic whiteboard.
Background technique
Traditional label picture transmission method is that the picture marked is issued an other side by a side, in the excessive feelings of picture Under condition, efficiency of transmission will be relatively slow.
Summary of the invention
The purpose of the present invention is to overcome the above shortcomings and to provide a kind of picture transmission methods based on electronic whiteboard, can Picture is transmitted rapidly and efficiently.
In order to achieve the above object, the present invention the following steps are included:
Step 1 determines the consistency of the picture between different electronic whiteboards, such as identical, then carries out in next step;Such as difference, Then unify the picture between each electronic whiteboard;
Step 2, the drawing image on the electronic whiteboard of transmitting terminal;
The image of drafting is truncated step 3, and if define do, line segment is split by intercept method, really Determine the line segment length and angle between consecutive points;
Line segment length between consecutive points is sent on the electronic whiteboard of receiving end by step 4 with angle;
Step 5 carries out on picture after the electronic whiteboard of receiving end receives line segment length and angle between consecutive points Positioning, and line segment is recombinated by matched curve method, draw out image;
Step 6, after all electronic whiteboards complete drawing image, return step one.
In step 3, split to line segment by intercept method is to calculate truncation with rule by the statistics to point, to phase Adjacent each point is calculated and is classified, and using classification method, is calculated between adjacent two o'clock or 3 points and multiple spot, specifically Method is as follows:
The first step, using clustering algorithm classification point, the x value and y value put, the point in a classification calculates separately more A curve matching;
Second step, if x value is identical between two o'clock, y value is not identical, then the disengaged position between curve and curve, according to Disengaged position obtains line segment length and angle between consecutive points.
X value is identical, and the different situation of y value is divided into two kinds:
The first, for x value error within two pixels, then it is identical to be considered as x value, and calculation formula is | x2-x1|≤2
Second, x value is error free, then x value is identical.
In step 5, recombinated that specific step is as follows to line segment by matched curve method:
The first step, curve matching are a variety of curve forms, and polynomial expression is,
Pn(x)=anxn+an-1xn-1+…+a1x+a0
The polynomial expression is obtained by constant and independent variable x by limited times multiplication and add operation, wherein works as n It is linear function y=kx+b when=1, is quadratic function y=ax as n=22+ bx+c, and so on, it obtains primary Function, quadratic function and cubic function;
Second step is fitted evaluation function:
Wherein, w is the coefficient in multinomial, and t is actual point y value;
Linear function, quadratic function and cubic function are fitted respectively, calculate error using fitting evaluation function, and Threshold value;
Line segment length between the consecutive points received is brought into fitting evaluation function with angle and calculates error, if error is small In threshold value, then it is fitted to curve, if error is greater than threshold value, cancels fitting, graphical pointv.
Compared with prior art, the present invention allows both sides that can faster receive the letter of other side to improve efficiency of transmission Breath, originally needing the picture transmitted to be modified as transmitting flag data by intercept method, it is big thus to reduce picture volume, keeps away The too long problem of transmission time is exempted from, in this way, when both sides are connected to another party's data, continuation makes in original image It is drawn with flag data, for data, through overcompression, data volume can also greatly reduce, irregular in one section of picture When mark line, data volume a little is reduced by the way of matched curve.
Detailed description of the invention
Fig. 1 is the schematic diagram of intercept method in the present invention.
Specific embodiment
The present invention will be further described with reference to the accompanying drawing.
The present invention the following steps are included:
Step 1 determines the consistency of the picture between different electronic whiteboards, such as identical, then carries out in next step;Such as difference, Then unify the picture between each electronic whiteboard;
Step 2, the drawing image on the electronic whiteboard of transmitting terminal;
The image of drafting is truncated step 3, and if define do, line segment is split by intercept method, really Determine the line segment length and angle between consecutive points;
Line segment length between consecutive points is sent on the electronic whiteboard of receiving end by step 4 with angle;
Step 5 carries out on picture after the electronic whiteboard of receiving end receives line segment length and angle between consecutive points Positioning, and line segment is recombinated by matched curve method, draw out image;
Step 6, after all electronic whiteboards complete drawing image, return step one.
In step 3, split to line segment by intercept method is to calculate truncation with rule by the statistics to point, to phase Adjacent each point is calculated and is classified, and using classification method, is calculated between adjacent two o'clock or 3 points and multiple spot, specifically Method is as follows:
The first step, using clustering algorithm classification point, the x value and y value put, the point in a classification calculates separately more A curve matching;
Second step, if x value is identical between two o'clock, y value is not identical, then the disengaged position between curve and curve, according to Disengaged position obtains line segment length and angle between consecutive points.
X value is identical, and the different situation of y value is divided into two kinds:
The first, for x value error within two pixels, then it is identical to be considered as x value, and calculation formula is | x2-x1|≤2
Second, x value is error free, then x value is identical.
In step 5, recombinated that specific step is as follows to line segment by matched curve method:
The first step, curve matching are a variety of curve forms, and polynomial expression is,
Pn(x)=anxn+an-1xn-1+…+a1x+a0
The polynomial expression is obtained by constant and independent variable x by limited times multiplication and add operation, wherein works as n It is linear function y=kx+b when=1, is quadratic function y=ax as n=22+ bx+c, and so on, it obtains primary Function, quadratic function and cubic function;
Second step is fitted evaluation function:
Wherein, w is the coefficient in multinomial, and t is actual point y value.
Linear function, quadratic function and cubic function are fitted respectively, calculate error using fitting evaluation function, and Threshold value;Line segment length between the consecutive points received is brought into fitting evaluation function with angle and calculates error, if error Less than threshold value, then it is fitted to curve, if error is greater than threshold value, cancels fitting, graphical pointv.
Referring to Fig. 1, when b point to all data of i point requires transmission, intercept method can be used, matched curve method, every three A point can determine two lines section, and an angle, such as point h, point i and point p have determined line segment ih, line segment ip and an angle a, worked as angle A is greater than 10 degree, and line segment ip length is greater than 4px, is truncated from point i, and b point to i point can omit b point to i point with matched curve method Intermediate data, transmit two points and which omits point fitting algorithm, the data volume that such opposite receives will subtract significantly It is few.

Claims (4)

1. a kind of picture transmission method based on electronic whiteboard, which comprises the following steps:
Step 1 determines the consistency of the picture between different electronic whiteboards, such as identical, then carries out in next step;Such as difference, then unite Picture between one each electronic whiteboard;
Step 2, the drawing image on the electronic whiteboard of transmitting terminal;
The image of drafting is truncated step 3, and if define do, line segment is split by intercept method, determines phase Line segment length and angle between adjoint point;
Line segment length between consecutive points is sent on the electronic whiteboard of receiving end by step 4 with angle;
Step 5 is positioned on picture after the electronic whiteboard of receiving end receives line segment length and angle between consecutive points, And line segment is recombinated by matched curve method, draw out image;
Step 6, after all electronic whiteboards complete drawing image, return step one.
2. a kind of picture transmission method based on electronic whiteboard according to claim 1, which is characterized in that in step 3, Split to line segment by intercept method is to calculate truncation by statistics to point and rule, adjacent each point calculate and Classification, using classification method, is calculated, the specific method is as follows between adjacent two o'clock or 3 points and multiple spot:
The first step, using clustering algorithm classification point, the x value and y value put, the point in a classification calculate separately multiple songs Line fitting;
Second step, if x value is identical between two o'clock, y value is not identical, then the disengaged position between curve and curve, according to separation Position obtains line segment length and angle between consecutive points.
3. a kind of picture transmission method based on electronic whiteboard according to claim 2, which is characterized in that x value is identical, y It is worth different situations and is divided into two kinds:
The first, for x value error within two pixels, then it is identical to be considered as x value, and calculation formula is | x2-x1|≤2
Second, x value is error free, then x value is identical.
4. a kind of picture transmission method based on electronic whiteboard according to claim 1, which is characterized in that in step 5, Recombinated that specific step is as follows to line segment by matched curve method:
The first step, curve matching are a variety of curve forms, and polynomial expression is,
Pn(x)=anxn+an-1xn-1+…+a1x+a0
The polynomial expression is obtained by constant and independent variable x by limited times multiplication and add operation, wherein works as n=1 When, it is linear function y=kx+b, is quadratic function y=ax as n=22+ bx+c, and so on, obtain a letter Number, quadratic function and cubic function;
Second step is fitted evaluation function:
Wherein, t is actual point y value;
Linear function, quadratic function and cubic function are fitted respectively, calculate error using fitting evaluation function, and determine Threshold value;
Line segment length between the consecutive points received is brought into fitting evaluation function with angle and calculates error, if error is less than threshold Value, then be fitted to curve, if error is greater than threshold value, cancels fitting, graphical pointv.
CN201810814591.4A 2018-07-23 2018-07-23 A kind of picture transmission method based on electronic whiteboard Pending CN108958687A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810814591.4A CN108958687A (en) 2018-07-23 2018-07-23 A kind of picture transmission method based on electronic whiteboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810814591.4A CN108958687A (en) 2018-07-23 2018-07-23 A kind of picture transmission method based on electronic whiteboard

Publications (1)

Publication Number Publication Date
CN108958687A true CN108958687A (en) 2018-12-07

Family

ID=64464642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810814591.4A Pending CN108958687A (en) 2018-07-23 2018-07-23 A kind of picture transmission method based on electronic whiteboard

Country Status (1)

Country Link
CN (1) CN108958687A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102109971A (en) * 2010-12-14 2011-06-29 桂林电子科技大学 Slide projector showing system capable of wirelessly transmitting plotting information
CN102170442A (en) * 2011-04-25 2011-08-31 苏州阔地网络科技有限公司 Safe synchronization method and system for electronic whiteboard based on community platform
CN105468208A (en) * 2014-09-09 2016-04-06 深圳市鸿合创新信息技术有限责任公司 Electronic whiteboard trace tracking method and apparatus
WO2017142690A1 (en) * 2016-02-16 2017-08-24 Arris Enterprises Llc Statistical multiplexing with heterogeneous encoder pool

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102109971A (en) * 2010-12-14 2011-06-29 桂林电子科技大学 Slide projector showing system capable of wirelessly transmitting plotting information
CN102170442A (en) * 2011-04-25 2011-08-31 苏州阔地网络科技有限公司 Safe synchronization method and system for electronic whiteboard based on community platform
CN105468208A (en) * 2014-09-09 2016-04-06 深圳市鸿合创新信息技术有限责任公司 Electronic whiteboard trace tracking method and apparatus
WO2017142690A1 (en) * 2016-02-16 2017-08-24 Arris Enterprises Llc Statistical multiplexing with heterogeneous encoder pool

Similar Documents

Publication Publication Date Title
CN106528642B (en) A kind of short text classification method based on TF-IDF feature extractions
US10699696B2 (en) Method and apparatus for correcting speech recognition error based on artificial intelligence, and storage medium
US11275950B2 (en) Method and apparatus for segmenting video
CN102143039B (en) Data segmentation method and equipment for data compression
CN108170650B (en) Text comparison method and text comparison device
CN106383877A (en) On-line short text clustering and topic detection method of social media
CN108134805B (en) Data synchronous compression and reduction algorithm and device
CN103428307A (en) Method and equipment for detecting counterfeit domain names
US11967132B2 (en) Lane marking detecting method, apparatus, electronic device, storage medium, and vehicle
EP4195084A1 (en) Method and device for adjusting model parameters, and storage medium and program product
CN108734110A (en) Text fragment identification control methods based on longest common subsequence and system
CN112818656B (en) Data difference comparison method, device, equipment, medium and computer program product
CN106959949B (en) A kind of data structured processing method for recommender system
CN105912679A (en) Method and device for data query
CN104021184B (en) A kind of localization method and system
CN108958687A (en) A kind of picture transmission method based on electronic whiteboard
Liang et al. Upper Box dimension of Riemann–Liouville fractional integral of fractal functions
CN105701256A (en) Communication point table file comparison method
CN112949290A (en) Text error correction method and device and communication equipment
CN104424337A (en) Document division system and document division method
CN113632062A (en) Integer conversion of locally stored data in priority queue
CN110020123A (en) A kind of promotion message put-on method, device, medium and equipment
Tian et al. Distributed steganalysis of compressed speech
CN105718965A (en) Chinese character writing font identification method and Chinese character writing font identification device
CN109308146A (en) A kind of character string adaptivenon-uniform sampling display methods and system based on control property

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: 20181207

RJ01 Rejection of invention patent application after publication