CN104952391A - Coding method of LED display device based on persistence of vision - Google Patents
Coding method of LED display device based on persistence of vision Download PDFInfo
- Publication number
- CN104952391A CN104952391A CN201510372618.5A CN201510372618A CN104952391A CN 104952391 A CN104952391 A CN 104952391A CN 201510372618 A CN201510372618 A CN 201510372618A CN 104952391 A CN104952391 A CN 104952391A
- Authority
- CN
- China
- Prior art keywords
- image
- led display
- coding method
- point
- region
- 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.)
- Granted
Links
Landscapes
- Image Processing (AREA)
Abstract
The invention provides a coding method of an LED display device based on persistence of vision. With the adoption of the coding method, an upper computer can code images to be displayed on the LED display device, so that original images can be stably displayed on a rotating LED display screen. The coding method comprises several steps as follows: image scaling, color weight calculation, coordinate transformation and image compression, the coding process can be performed on a mobile terminal and a PC (personal computer), and characteristics of convenience and rapidness and a good human-computer interaction interface are provided.
Description
Technical field
The invention belongs to image display technology field, particularly relate to the coding method of the LED display that a kind of view-based access control model persists.
Background technology
Along with the fast development of China's science and technology and the raising of people's living standard, people are in life, the pursuit of outdoor exercises and amusement aspect also becomes higher, and this brings new opportunity to relevant device fabrication industry, also there is challenge in scientific and technical innovation simultaneously.Therefore, LED lamp bar shows modernization in continuous pursuit field with intelligent, makes every effort to the dynamic increasing LED lamp bar, makes the convenience that shows and simple and easy, is adapted at promoting in masses, meets the hobby of people.Because LED display application is comparatively wide, and people keep strong curiosity to nouveaut, therefore, allow the intention installing this novelty of LED display on rotating object, will be subject to liking of people, have the wide market space.Based on the process that image shows at Rotatable LED display screen, just must first encode to target image.A good coded program not only effectively reduces hardware investment, and contributes to obtaining and better show image effect.
Summary of the invention
The object of the invention is to design a kind of image processing techniques be adapted in LED display that view-based access control model persists, make original image can be adapted at stable display in the LED display rotated by coding accordingly, the LED display persisted at view-based access control model to demonstrate stable picture.
For achieving the above object, technical scheme of the present invention is:
A coding method for the LED display that view-based access control model persists, described coding method is encoded to wanting the image shown in described LED display for host computer; It is characterized in that, described coding method comprises following step:
Image zooming: according to the size of described LED display, target image is converted into same standard, be consistent as reference point with the center of circle of the center of image and LED display, the size of target image is zoomed in or out by a certain percentage, completely can be presented at requirement in LED display region to meet image;
Coordinate transform: by the picture after scaling by plane right-angle coordinate, by coordinate transform, be converted into polar coordinates;
Color weight calculates: with polar coordinates initial point for picture centre, evenly be divided into the subregions such as N, then respectively coded treatment is carried out to the color of image in each region, by the image color information in jth region by the center line of blend of colors to this region, after mixing, data are preserved and are stored with three primary colors respectively;
Compression of images: because the information of image is larger, in actual coding storing process, under the condition of the number M of LED lamp bar, M/mono-making final data size be only original by compression coding.
As a further improvement on the present invention, described image zooming shows described image in the circumscribed circle mode of image or shows described image in the incircle mode of image.
As a further improvement on the present invention, during described color weight calculates, blend of colors scheme adopts calculation of area, suppose arbitrfary point A in certain region, this region center line puts B, wherein B value and B consistent with the number of LED in the LED lamp bar point that to be distance A nearest is the center of circle with A, B is respectively the circle of r as radius, determine the color weight of A point blend of colors to B point according to two round intersection sizes, wherein two circle overlapping area sizes are: S=2R
2* acos (d/2R)-1/2*d*sqrt (4R
2-d
2); Get four points around B point and be respectively A
1, A
2, A
3, A
4, then overlapping area is respectively S
1, S
2, S
3, S
4, each point weight D can be calculated
i=S
i/ SUM, wherein i=1,2,3,4; SUM=S
1+ S
2+ S
3+ S
4.
As a further improvement on the present invention, described coding method is carried out on PC or mobile terminal, and coded data is transferred in target LED display by wireless communication mode and shows.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of coding method of the present invention;
Fig. 2 is the original image wanting to show;
Fig. 3 shows the schematic diagram of image in the circumscribed circle mode of image;
Fig. 4 is the image after the circumscribed circle mode of the LED display employing image that view-based access control model persists shows;
Fig. 5 is the schematic diagram showing image in the incircle mode of image;
Fig. 6 is the image after the incircle mode of the LED display employing image that view-based access control model persists shows.
Embodiment
Illustrate below in conjunction with accompanying drawing and embodiment the present invention is further described.
The object of the invention is to design a kind of method for encoding images be adapted in the LED display display that view-based access control model persists, specific coding is carried out to the given image of display that needs, this process at PC or the enterprising row relax of mobile terminal, then can be transferred to destination object display by wireless device.
Below in conjunction with accompanying drawing 1, coding method of the present invention is described in further details.
The bright coding method of this law mainly comprises following step: image zooming, color weight calculate, coordinate transform and compression of images.
System in operational process, the LED display that view-based access control model persists always with the intersection point of each LED lamp bar for the center of circle rotates, and rotate speed indefinite.Movement characteristic thus, carries out corresponding coded treatment to target image as required.Because this LED display can customized image, the size of initial picture is changeable, therefore the size according to LED display is just needed, target image is converted into same standard, be consistent as reference point with the center of circle of the center of image and LED display, the size of target image is zoomed in or out by a certain percentage, completely can be presented at requirement in LED display region to meet image.
Accompanying drawing 2 is original images wanting to show in this LED display, accompanying drawing 3 is schematic diagram that the circumscribed circle mode of image shows image, wherein, dash area represents original image, its circumscribed circle represents LED display, and accompanying drawing 4 is the images after adopting the circumscribed circle mode of the image shown in accompanying drawing 3 to show.Accompanying drawing 5 is schematic diagram that the incircle mode of image shows image, and wherein, dash area represents LED display, the image represented by the square frame of its inscribe, and accompanying drawing 6 is the images after adopting the incircle mode of the image shown in accompanying drawing 5 to show.
According to the movement characteristic of LED display, by the picture after scaling by plane right-angle coordinate, by coordinate transform, be converted into polar coordinates.
The color treatments scheme of this coding method to image is as follows: with polar coordinates initial point for picture centre, be evenly divided into the subregions such as N, is wherein the bigger the better for obtaining optimum display effect N value.After waiting point division, N number of region can be obtained, the limit in each region is as the footpath, pole of polar coordinate transform, namely every footpath, bar pole is equivalent to one group of lamp bar, suppose lamp bar there be n LED (LED is equivalent to a pixel), each LED point need the color of display by this on footpath, pole around the color of four pixels merge.
The concrete steps of the color of image in each region being carried out to coded treatment are as follows:
By the image color information in X region by the center line of blend of colors to this region, blend of colors scheme has multiple, such as calculation of area, suppose arbitrfary point A in certain region, this region center line (footpath, pole) upper some B, wherein consistent with the number of LED in LED lamp bar (each point on footpath, pole is just equivalent to each LED on lamp bar to B value, so B value is consistent with LED number), and the B point that to be distance A nearest, distance between A and B is d, respectively with A, B is the center of circle is the circle of r as radius, the color weight of A point blend of colors to B point is determined according to two round intersection sizes, wherein two circle overlapping area sizes are: S=2r
2* acos (d/2r)-1/2*d*sqrt (4r
2-d
2), get four points around B point and be respectively A
1, A
2, A
3, A
4, then overlapping area is respectively S
1, S
2, S
3, S
4, each point weight D can be calculated
i=S
i/ SUM, wherein i=1,2,3,4, SUM=S
1+ S
2+ S
3+ S
4.Suppose that the pixel value of B is C
0, around it, four pixel values are C
1, C
2, C
3, C
4, by color blend, be D according to the weight of each pixel
1, the pixel value obtaining pixel B point is:
C
0=D
1*C
1+D
2*C
2+D
3*C
3+D
4*C
4
The color of final whole image finally can fit to N number of data block.After mixing, data are preserved and can be stored with three primary colors respectively, and its specific gravity data is preserved in memory respectively by eight-digit binary number file, in LED display, finally press three primary colors proportion merge, obtain the object that perfection presents original image.
In an encoding process, according to LED lamp bar service requirement, the parallel LED strip row data control mode of Concurrent Display is adopted to carry out transmission and the update mode of data.This coding goes for any LED lamp bar number simultaneously.Because the information of image is larger, in actual coding storing process, under the condition of the number M of LED lamp bar, M/mono-making final data size be only original by compression coding, can reduce memory capacity greatly, saves hardware cost.
In addition, cataloged procedure can carry out on mobile terminal and PC, has conveniently characteristic, and good human-computer interaction interface.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, all should be considered as belonging to protection scope of the present invention.
Claims (4)
1. the coding method of LED display that persists of view-based access control model, described coding method is encoded to wanting the image shown in described LED display for host computer; It is characterized in that, described coding method comprises following step:
Image zooming: according to the size of described LED display, target image is converted into same standard, be consistent as reference point with the center of circle of the center of image and LED display, the size of target image is zoomed in or out by a certain percentage, completely can be presented at requirement in LED display region to meet image;
Coordinate transform: by the picture after scaling by plane right-angle coordinate, by coordinate transform, be converted into polar coordinates;
Color weight calculates: with polar coordinates initial point for picture centre, evenly be divided into the subregions such as N, then respectively coded treatment is carried out to the color of image in each region, by the image color information in jth region by the center line of blend of colors to this region, after mixing, data are preserved and are stored with three primary colors respectively;
Compression of images: because the information of image is larger, in actual coding storing process, under the condition of the number M of LED lamp bar, M/mono-making final data size be only original by compression coding.
2. coding method according to claim 1, is characterized in that: described image zooming shows described image in the circumscribed circle mode of image or shows described image in the incircle mode of image.
3. coding method according to claim 1, is characterized in that: described coding method is carried out on PC or mobile terminal, and coded data is transferred in target LED display by wireless communication mode and shows.
4. coding method according to claim 1, it is characterized in that: during described color weight calculates, blend of colors scheme adopts calculation of area, suppose arbitrfary point A in certain region, this region center line puts B, wherein B value and B consistent with the number of LED in the LED lamp bar point that to be distance A nearest is the center of circle with A, B is respectively the circle of r as radius, determine the color weight of A point blend of colors to B point according to two round intersection sizes, wherein two circle overlapping area sizes are: S=2R
2* acos (d/2R)-1/2*d*sqrt (4R
2-d
2); Get four points around B point and be respectively A
1, A
2, A
3, A
4, then overlapping area is respectively S
1, S
2, S
3, S
4, each point weight D can be calculated
i=S
i/ SUM, wherein i=1,2,3,4; SUM=S
1+ S
2+ S
3+ S
4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510372618.5A CN104952391B (en) | 2015-06-29 | 2015-06-29 | A kind of coding method for the LED display that view-based access control model persists |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510372618.5A CN104952391B (en) | 2015-06-29 | 2015-06-29 | A kind of coding method for the LED display that view-based access control model persists |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104952391A true CN104952391A (en) | 2015-09-30 |
CN104952391B CN104952391B (en) | 2017-12-19 |
Family
ID=54167005
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510372618.5A Active CN104952391B (en) | 2015-06-29 | 2015-06-29 | A kind of coding method for the LED display that view-based access control model persists |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104952391B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106713844A (en) * | 2016-11-16 | 2017-05-24 | 南京东晖光电有限公司 | Rotary video image display device |
CN113496662A (en) * | 2020-04-02 | 2021-10-12 | 深圳市风扇屏技术有限公司 | Fan screen display method and system based on SOC-FPGA |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001337628A (en) * | 2000-05-26 | 2001-12-07 | Kcc Shokai Ltd | Led display unit |
WO2002023515A1 (en) * | 2000-09-14 | 2002-03-21 | Hoch David J | Electronic display apparatus |
CN2535824Y (en) * | 2002-04-19 | 2003-02-12 | 刘扬 | Number flasher |
CN2587036Y (en) * | 2002-11-14 | 2003-11-19 | 江西昌大光电科技有限公司 | Photoelectric display device for rotating graphic text |
US20050174308A1 (en) * | 2004-02-11 | 2005-08-11 | Dan Matlock | Rotational light emitting display apparatus |
CN2847441Y (en) * | 2005-06-28 | 2006-12-13 | 北京宝乐行科技开发有限公司 | Linear array light emitting LED moving imaging device based on visual persistance effect |
TW200941425A (en) * | 2008-03-27 | 2009-10-01 | Li Neng Technology Co Ltd | Planar color display device using persistence of vision |
US20100171681A1 (en) * | 2009-01-05 | 2010-07-08 | Manuel Cabanas | Method and apparatus for displaying digital data |
CN201812469U (en) * | 2010-10-15 | 2011-04-27 | 刘亚军 | Rotary projection advertising device |
CN202205440U (en) * | 2011-09-15 | 2012-04-25 | 梁友明 | Round plate-shaped screen for scanning LED linear array rotationally |
US20120200401A1 (en) * | 2011-02-09 | 2012-08-09 | Dan Goldwater | Rotating wheel electronic display apparatus |
CN103325321A (en) * | 2013-07-19 | 2013-09-25 | 江苏光正文化传媒有限公司 | Columnar dynamic LED (light-emitting diode) revolving display equipment |
CN104346558A (en) * | 2014-10-13 | 2015-02-11 | 宁波公众信息产业有限公司 | Verification code information paging display method and system |
CN104463781A (en) * | 2014-12-25 | 2015-03-25 | 成都晨电智能科技有限公司 | Method for controlling POV display device to display images and animation |
CN104575388A (en) * | 2015-01-28 | 2015-04-29 | 深圳市悦创新科技有限公司 | LED dynamic display device and method based on persistence of vision |
CN104658477A (en) * | 2014-12-01 | 2015-05-27 | 李立珺 | LED rotation screen |
-
2015
- 2015-06-29 CN CN201510372618.5A patent/CN104952391B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001337628A (en) * | 2000-05-26 | 2001-12-07 | Kcc Shokai Ltd | Led display unit |
WO2002023515A1 (en) * | 2000-09-14 | 2002-03-21 | Hoch David J | Electronic display apparatus |
CN2535824Y (en) * | 2002-04-19 | 2003-02-12 | 刘扬 | Number flasher |
CN2587036Y (en) * | 2002-11-14 | 2003-11-19 | 江西昌大光电科技有限公司 | Photoelectric display device for rotating graphic text |
US20050174308A1 (en) * | 2004-02-11 | 2005-08-11 | Dan Matlock | Rotational light emitting display apparatus |
CN2847441Y (en) * | 2005-06-28 | 2006-12-13 | 北京宝乐行科技开发有限公司 | Linear array light emitting LED moving imaging device based on visual persistance effect |
TW200941425A (en) * | 2008-03-27 | 2009-10-01 | Li Neng Technology Co Ltd | Planar color display device using persistence of vision |
US20100171681A1 (en) * | 2009-01-05 | 2010-07-08 | Manuel Cabanas | Method and apparatus for displaying digital data |
CN201812469U (en) * | 2010-10-15 | 2011-04-27 | 刘亚军 | Rotary projection advertising device |
US20120200401A1 (en) * | 2011-02-09 | 2012-08-09 | Dan Goldwater | Rotating wheel electronic display apparatus |
CN202205440U (en) * | 2011-09-15 | 2012-04-25 | 梁友明 | Round plate-shaped screen for scanning LED linear array rotationally |
CN103325321A (en) * | 2013-07-19 | 2013-09-25 | 江苏光正文化传媒有限公司 | Columnar dynamic LED (light-emitting diode) revolving display equipment |
CN104346558A (en) * | 2014-10-13 | 2015-02-11 | 宁波公众信息产业有限公司 | Verification code information paging display method and system |
CN104658477A (en) * | 2014-12-01 | 2015-05-27 | 李立珺 | LED rotation screen |
CN104463781A (en) * | 2014-12-25 | 2015-03-25 | 成都晨电智能科技有限公司 | Method for controlling POV display device to display images and animation |
CN104575388A (en) * | 2015-01-28 | 2015-04-29 | 深圳市悦创新科技有限公司 | LED dynamic display device and method based on persistence of vision |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106713844A (en) * | 2016-11-16 | 2017-05-24 | 南京东晖光电有限公司 | Rotary video image display device |
CN113496662A (en) * | 2020-04-02 | 2021-10-12 | 深圳市风扇屏技术有限公司 | Fan screen display method and system based on SOC-FPGA |
CN113496662B (en) * | 2020-04-02 | 2023-08-18 | 深圳市风扇屏技术有限公司 | Fan screen display method and system based on SOC-FPGA |
Also Published As
Publication number | Publication date |
---|---|
CN104952391B (en) | 2017-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020244373A1 (en) | Artificial intelligence-based image recognition method and related device | |
DE102015002218B4 (en) | Avoid sending immutable areas for display | |
WO2016155382A1 (en) | Mosaic image generation method and device | |
CN102800048B (en) | A kind of display packing of electronic chart convergent-divergent | |
CN108432257A (en) | Jpeg image to compression GPU texture transcoder | |
US8532436B2 (en) | Method and apparatus for scaling an image in segments | |
WO2017000522A1 (en) | Led display system capable of rotating at variable speed and display method thereof | |
US20140184612A1 (en) | Variable-width differential memory compression | |
CA3028863C (en) | Projection image construction method and device | |
CN105072353B (en) | A kind of image decoding based on more GPU spells prosecutor method | |
CN107230180A (en) | A kind of mapping method of panoramic picture, device and equipment | |
US11039115B2 (en) | Low complexity color smoothing of reconstructed point clouds | |
CN105954726B (en) | More radar station radar video method for drafting of electrodeless scaling based on GPU | |
CN106133791B (en) | Clustering and coding for color compressed | |
KR101587347B1 (en) | Color buffer compression | |
CN104952391A (en) | Coding method of LED display device based on persistence of vision | |
CN110935171A (en) | Method for loading, optimizing and unitizing live-action three-dimensional model in game engine | |
CN103856776B (en) | Border and the image coding and decoding method of Curvature-driven reparation | |
TWI517089B (en) | Color buffer caching | |
CN205281405U (en) | Image recognition system based on augmented reality | |
CN104346798B (en) | Objective contour Polygonal Approximation and its device | |
CN110278443A (en) | The context modeling method and device of division symbolizing position | |
CN103984412A (en) | Lecture mode-based function realization method, lecture mode-based function realization system and mobile terminal | |
WO2022022086A1 (en) | Image processing method, image processing apparatus, electronic device, and image display system | |
CN103164210B (en) | Method and device of changing surface of application program interface |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20151127 Address after: 518000 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A (located in Shenzhen Qianhai business secretary Co. Ltd.) Applicant after: SHENZHEN YUECHUANG SPACE TECHNOLOGY CO., LTD. Address before: 518000 Shenzhen graduate school, Harbin Institute of technology, Shenzhen, Nanshan District, Guangdong Applicant before: Liu Xinghua |
|
GR01 | Patent grant | ||
GR01 | Patent grant |