CN102237028B - LED lattice codebook automatically generating device - Google Patents

LED lattice codebook automatically generating device Download PDF

Info

Publication number
CN102237028B
CN102237028B CN201110155337.6A CN201110155337A CN102237028B CN 102237028 B CN102237028 B CN 102237028B CN 201110155337 A CN201110155337 A CN 201110155337A CN 102237028 B CN102237028 B CN 102237028B
Authority
CN
China
Prior art keywords
dot
array data
generating
dot matrix
attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110155337.6A
Other languages
Chinese (zh)
Other versions
CN102237028A (en
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.)
SHANGHAI JINSHAN DISTRICT YOUTH ACTIVITY CENTER
Original Assignee
SHANGHAI JINSHAN DISTRICT YOUTH ACTIVITY CENTER
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 SHANGHAI JINSHAN DISTRICT YOUTH ACTIVITY CENTER filed Critical SHANGHAI JINSHAN DISTRICT YOUTH ACTIVITY CENTER
Priority to CN201110155337.6A priority Critical patent/CN102237028B/en
Publication of CN102237028A publication Critical patent/CN102237028A/en
Application granted granted Critical
Publication of CN102237028B publication Critical patent/CN102237028B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Control Of El Displays (AREA)

Abstract

The invention provides LED lattice codebook automatically generating device, comprise as lower device: dot matrix apparatus for initializing, for arranging dot matrix initiation parameter; Image input unit, for inputting dot pattern information; Dot array data generating apparatus, for generating dot array data according to described dot matrix initiation parameter and dot pattern information; Real-time displaying device, for the dot matrix image that display is in real time corresponding with described dot array data; Code generating unit, for generating lattice codebook according to described dot array data.First the present invention generates dot array data, then dot array data is shown as dot matrix image in real time, and dot matrix image obtains generating lattice codebook by dot array data again after user confirms, thus makes the work of writing of code become simple.

Description

LED lattice codebook automatically generating device
Technical field
The present invention relates to code automatically generating device, particularly, relate to LED lattice codebook automatically generating device.
Background technology
LED dot matrix is widely used in various large-scale information displaying occasion, as electronic bill-board, crossroad access lamp, intelligent instrumentation etc. as information carrier.They need a large amount of Chinese character of display and various symbol, and this display screen requires that each Chinese character/character must have corresponding lattice display code.For require control occasion that the low and volume of cost is little can not using miniature computer system to process Chinese character/character, the reveal codes of the Chinese character/character typically adopting memory storage to need also is shown by single-chip microcomputer or Digital Circuit Control.Therefore the lattice display code how obtaining required Chinese character/symbol efficiently and easily just seems and is even more important.
Summary of the invention
For defect of the prior art, the object of this invention is to provide a kind of LED lattice codebook automatically generating device.
According to an aspect of the present invention, LED lattice codebook automatically generating device is provided, it is characterized in that, comprise as lower device: dot matrix apparatus for initializing, for arranging dot matrix initiation parameter; Image input unit, for inputting dot pattern information; Dot array data generating apparatus, for generating dot array data according to described dot matrix initiation parameter and dot pattern information; Real-time displaying device, for the dot matrix image that display is in real time corresponding with described dot array data; Code generating unit, for generating lattice codebook according to described dot array data.
Preferably, described image input unit comprises as lower device: graphics field apparatus for initializing, for arrange described dot pattern in described dot matrix image viewing area, wherein, described viewing area comprises display position and area size.Fast the figures such as character can be positioned in LED array, avoid the tedious steps first occurring the laggard Row sum-equal matrix of character.
Preferably, described graphics field apparatus for initializing comprises as lower device: conflict judgment means, for judging whether graphics field initialization directive conflicts mutually with already present described viewing area.Add the fault-tolerance of device, feed back to user in time when a collision occurs.
Preferably, described graphics field apparatus for initializing also comprise following any one or appoint multiple device: conflict suggestion device, for when the judged result of described conflict judgment means is affirmative, feedback is conflicted information; Clash handle device, for when the judged result of described conflict judgment means is affirmative, indicates described dot array data generating apparatus to be emptied afoul described already present viewing area.Be supplied to user to solve two characters and overlap and the scheme clashed.
Preferably, also comprise as lower device: figure editing apparatus, for receiving graphics edition instruction, and described graphics edition instruction is sent to described dot array data generating apparatus, wherein, described edit instruction comprises negate, upset, rotation, translation, and wherein, described dot array data generating apparatus is dot array data according to described graphics edition modifying of order.User is facilitated to carry out accurately adjusting and optimizing to images such as characters.
Preferably, described dot array data comprises an attribute data, wherein, described dot array data generating apparatus comprises as lower device: some attribute generating apparatus, for generating the some attribute data of each point in dot matrix, wherein, described some attribute data comprises display gray shade value, wherein, described real-time displaying device shows described dot matrix image according to the corresponding gray scale of described display gray shade value.Distinguish to realize greater functionality to the difference in dot matrix.
Preferably, the point attribute data that described some attribute generating apparatus generates according to described dot matrix initiation parameter and dot pattern information is the first gray-scale value, and the some attribute data that described some attribute generating apparatus generates according to described graphics edition instruction is the second gray-scale value.Image after editor is different from the image before editor, contrasts to facilitate before and after user.
Preferably, also comprise as lower device: edited image determining device, for receiving edited image determination instruction, and described edited image determination instruction is sent to described some attribute generating apparatus, wherein, an attribute data is that the some attribute data of the point of the second gray-scale value is revised as the first gray-scale value according to described edited image determination instruction by described some attribute generating apparatus.When the gray-scale value of each point in dot matrix unified after user confirms.
Preferably, described code generating unit comprises as lower device: code template library, for storage code masterplate; Code masterplate calling device, it is for calling described code masterplate.By storing Multiple Code masterplate, to be applicable to different micro controller systems.
Preferably, described dot matrix initiation parameter comprises lattice dimensions parameter, described image input unit comprise following any one or appoint multiple device: finger-impu system; Hand input device.Multiple input modes is that the input of dot matrix image brings conveniently, can be applicable to the LED lattice display equipment of different size by the setting of lattice dimensions parameter.
First the present invention generates dot array data, then dot array data is shown as dot matrix image in real time, and dot matrix image obtains generating lattice codebook by dot array data again after user confirms, thus makes the work of writing of code become simple.
Accompanying drawing explanation
By reading the detailed description done non-limiting example with reference to the following drawings, other features, objects and advantages of the present invention will become more obvious:
Fig. 1 illustrates according to a first embodiment of the present invention, the structured flowchart of LED lattice codebook automatically generating device;
Fig. 2 illustrates according to the present invention's embodiment, the principle schematic of LED lattice codebook automatically generating device;
Fig. 3 illustrates according to another embodiment of the present invention, the principle schematic of LED lattice codebook automatically generating device;
Fig. 4 illustrates according to another embodiment of the present invention, the principle schematic of LED lattice codebook automatically generating device.
Embodiment
Fig. 1 illustrates according to a first embodiment of the present invention, the structured flowchart of LED lattice codebook automatically generating device.Particularly, in the present embodiment, described LED lattice codebook automatically generating device comprises dot matrix apparatus for initializing 1, image input unit 2, dot array data generating apparatus 4, real-time displaying device 5, code generating unit 6, edited image determining device 3.Wherein, described dot matrix apparatus for initializing 1 is for arranging dot matrix initiation parameter; Described image input unit 2 is for inputting dot pattern information; Described dot array data generating apparatus 4 is for generating dot array data according to described dot matrix initiation parameter and dot pattern information; Described real-time displaying device 5 is for showing the dot matrix image corresponding with described dot array data in real time; Described code generating unit 6 is for generating lattice codebook according to described dot array data.
Wherein, described dot pattern information can be the characters such as Chinese character, letter, numeral, punctuate, can also be hand-written arbitrary graphic.Described dot matrix image is the image of the entirety of LED dot matrix, comprises the bright dark situation of each point in LED dot matrix.In an embodiment, as shown in Figure 2, the P1.0 mouth of a single-chip microcomputer, P1.1 mouth, P1.2 mouth, P1.3 mouth distinguish the 1st row of corresponding LED dot matrix to the 4th row, then low four outputs 0010,0010,0010,0110 that should circulate successively of this P1 mouth; And in order to realize the image shown in Fig. 4, low four outputs 0110,0010,0010,0110 that should circulate successively of this P1 mouth.Wherein, controlling this P1 mouth output code can be generated automatically by the present invention, that is, controls a part of code that this P1 mouth output code is institute of the present invention automatic code generating.
More specifically, described image input unit 2 comprises graphics field apparatus for initializing, wherein, described graphics field apparatus for initializing for arrange described dot pattern in described dot matrix image viewing area, wherein, described viewing area comprises display position and area size.Such as, a dot matrix is of a size of 32*32, comprise from the 1st row to the 32nd row, from the 1st row to each point the 32nd row, if region, area size are 8*8 centered by display position, then the dot pattern of user's input walks to the 20th row, the 13rd row in the region of the 20th row by being limited in this dot matrix the 13rd.Wherein, first by the image zooming corresponding with figure to the size of 8*8 unit, then binary conversion treatment is carried out to this picture, finally the picture after this binaryzation is divided into 8*8 block and to each block sampling to generate corresponding dot matrix image.
Preferably, described graphics field apparatus for initializing comprises conflict judgment means, and wherein, described conflict judgment means is for judging whether graphics field initialization directive conflicts mutually with already present described viewing area.Further preferably, described graphics field apparatus for initializing also comprises conflict suggestion device and clash handle device.Wherein, described conflict suggestion device is used for when the judged result of described conflict judgment means is affirmative, feedback conflict information; Described clash handle device is used for when the judged result of described conflict judgment means is affirmative, indicates described dot array data generating apparatus to be emptied afoul described already present viewing area.Wherein, if graphics field initialization directive conflicts mutually with already present described viewing area, then the judged result of described conflict judgment means is affirmative; Otherwise, be then negative.
Such as, a dot matrix is of a size of 32*32, comprise from the 1st row to the 32nd row, from the 1st row to each point the 32nd row, suppose that described viewing area is arranged on the 10th and walks to the 20th row by the initialization directive of Article 1 graphics field, 10th row are to the 20th row, described viewing area is arranged on the 5th and walks to the 15th row by the initialization directive of Article 2 image-region, 5th row are to the 15th row, like this, the 15th row is walked to the 10th in the viewing area corresponding with the initialization directive of Article 1 image-region, viewing area corresponding to Article 2 image-region initialization directive, 10th row clash to the region of the 15th row.Now, described conflict suggestion device will feed back to user and to conflict information.If this conflict of customer's approval, then walk to the 20th row by described clash handle device by the 10th, the 10th row empty to the dot matrix image in the 20th row, the dot matrix image that complete display is corresponding with the initialization directive of Article 2 image-region then.
More specifically, described LED lattice codebook automatically generating device also comprises figure editing apparatus 3, wherein, described figure editing apparatus 3 is for receiving graphics edition instruction, and described graphics edition instruction is sent to described dot array data generating apparatus 4, wherein, described edit instruction comprises negate, upset, rotation, translation, wherein, described dot array data generating apparatus 4 dot array data according to described graphics edition modifying of order.Further preferably, described dot array data comprises an attribute data, wherein, described dot array data generating apparatus comprises an attribute generating apparatus, and wherein, described some attribute generating apparatus is for generating the some attribute data of each point in dot matrix, wherein, described some attribute data comprises display gray shade value, and wherein, described real-time displaying device shows described dot matrix image according to the corresponding gray scale of described display gray shade value.Still more preferably, the point attribute data that described some attribute generating apparatus generates according to described dot matrix initiation parameter and dot pattern information is the first gray-scale value, and the some attribute data that described some attribute generating apparatus generates according to described graphics edition instruction is the second gray-scale value.
Again further preferably, described LED lattice codebook automatically generating device also comprises edited image determining device, wherein, described edited image determining device is for receiving edited image determination instruction, and described edited image determination instruction is sent to described some attribute generating apparatus, wherein, an attribute data is that the some attribute data of the point of the second gray-scale value is revised as the first gray-scale value according to described edited image determination instruction by described some attribute generating apparatus.When the gray-scale value of each point in dot matrix unified after user confirms.
Such as shown in Fig. 2, the dot pattern in dot matrix image shown by the LED dot matrix of 4*4 is letter " L ", and the gray-scale value forming the point of letter " L " is the first gray-scale value.Present user needs letter " L " to be revised as letter " C ", then can carry out negate at the 1st row the 3rd row place by described figure editing apparatus 3, the point of this negate identifies out with round dot in figure 3, and the gray-scale value of the point that this round dot identifies is the second gray-scale value.After user sends described edited image determination instruction by described edited image determining device, this becomes the first gray-scale value as shown in Figure 4 with the gray-scale value of the point that round dot identifies out.
Preferably, described code generating unit 6 comprises code template library and code masterplate calling device.Wherein, described code template library is used for storage code masterplate, and described code masterplate calling device is used for calling described code masterplate.By storing Multiple Code masterplate, the present invention can be made to be applicable to different micro controller systems.Preferably, described dot matrix initiation parameter comprises lattice dimensions parameter, and described image input unit 2 comprises finger-impu system and hand input device.Multiple input modes is that the input of dot matrix image brings conveniently, can be applicable to the LED lattice display equipment of different size by the setting of lattice dimensions parameter.
Above specific embodiments of the invention are described.It is to be appreciated that the present invention is not limited to above-mentioned particular implementation, those skilled in the art can make various distortion or amendment within the scope of the claims, and this does not affect flesh and blood of the present invention.

Claims (9)

1. a LED lattice codebook automatically generating device, is characterized in that, comprises as lower device:
Dot matrix apparatus for initializing, for arranging dot matrix initiation parameter;
Image input unit, for inputting dot pattern information;
Dot array data generating apparatus, for generating dot array data according to described dot matrix initiation parameter and dot pattern information;
Real-time displaying device, for the dot matrix image that display is in real time corresponding with described dot array data;
Code generating unit, for generating lattice codebook according to described dot array data;
Described image input unit comprises as lower device:
Graphics field apparatus for initializing, for arranging the viewing area of described dot pattern in described dot matrix image, wherein, described viewing area comprises display position and area size.
2. LED lattice codebook automatically generating device according to claim 1, is characterized in that, described graphics field apparatus for initializing comprises as lower device:
Conflict judgment means, for judging whether graphics field initialization directive conflicts mutually with already present described viewing area.
3. LED lattice codebook automatically generating device according to claim 2, is characterized in that, described graphics field apparatus for initializing also comprise following any one or appoint multiple device:
Conflict suggestion device, for when the judged result of described conflict judgment means is affirmative, feedback conflict information;
Clash handle device, for when the judged result of described conflict judgment means is affirmative, indicates described dot array data generating apparatus to be emptied afoul described already present viewing area.
4. LED lattice codebook automatically generating device according to any one of claim 1 to 3, is characterized in that, also comprise as lower device:
Figure editing apparatus, for receiving graphics edition instruction, and sends to described dot array data generating apparatus by described graphics edition instruction, and wherein, described graphics edition instruction comprises negate, upset, rotation, translation,
Wherein, described dot array data generating apparatus dot array data according to described graphics edition modifying of order.
5. LED lattice codebook automatically generating device according to claim 4, it is characterized in that, described dot array data comprises an attribute data, and wherein, described dot array data generating apparatus comprises as lower device:
Point attribute generating apparatus, for generating the some attribute data of each point in dot matrix, wherein, described some attribute data comprises display gray shade value,
Wherein, described real-time displaying device shows described dot matrix image according to the corresponding gray scale of described display gray shade value.
6. LED lattice codebook automatically generating device according to claim 5, it is characterized in that, the point attribute data that described some attribute generating apparatus generates according to described dot matrix initiation parameter and dot pattern information is the first gray-scale value, and the some attribute data that described some attribute generating apparatus generates according to described graphics edition instruction is the second gray-scale value.
7. LED lattice codebook automatically generating device according to claim 6, is characterized in that, also comprise as lower device:
Edited image determining device, for receiving edited image determination instruction, and sends to described some attribute generating apparatus by described edited image determination instruction,
Wherein, an attribute data is that the some attribute data of the point of the second gray-scale value is revised as the first gray-scale value according to described edited image determination instruction by described some attribute generating apparatus.
8. the LED lattice codebook automatically generating device any one of claims 1 to 3 or according to any one of 5 to 7, it is characterized in that, described code generating unit comprises as lower device:
Code template library, for storage code masterplate;
Code masterplate calling device, it is for calling described code masterplate.
9. LED lattice codebook automatically generating device according to claim 8, is characterized in that, described dot matrix initiation parameter comprises lattice dimensions parameter, described image input unit comprise following any one or appoint multiple device:
Finger-impu system;
Hand input device.
CN201110155337.6A 2011-06-10 2011-06-10 LED lattice codebook automatically generating device Active CN102237028B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110155337.6A CN102237028B (en) 2011-06-10 2011-06-10 LED lattice codebook automatically generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110155337.6A CN102237028B (en) 2011-06-10 2011-06-10 LED lattice codebook automatically generating device

Publications (2)

Publication Number Publication Date
CN102237028A CN102237028A (en) 2011-11-09
CN102237028B true CN102237028B (en) 2016-03-16

Family

ID=44887633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110155337.6A Active CN102237028B (en) 2011-06-10 2011-06-10 LED lattice codebook automatically generating device

Country Status (1)

Country Link
CN (1) CN102237028B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412733A (en) * 2013-07-23 2013-11-27 天地(常州)自动化股份有限公司 Mine led information display system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068292A (en) * 2007-06-12 2007-11-07 广东工业大学 GPRS-based long-distance interactive multi-user intelligent information screen equipment
CN101640010A (en) * 2009-08-19 2010-02-03 华南理工大学 LED display screen system based on mobile device remote control and communication method thereof
CN101707678A (en) * 2009-12-11 2010-05-12 华亚微电子(上海)有限公司 osd controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068292A (en) * 2007-06-12 2007-11-07 广东工业大学 GPRS-based long-distance interactive multi-user intelligent information screen equipment
CN101640010A (en) * 2009-08-19 2010-02-03 华南理工大学 LED display screen system based on mobile device remote control and communication method thereof
CN101707678A (en) * 2009-12-11 2010-05-12 华亚微电子(上海)有限公司 osd controller

Also Published As

Publication number Publication date
CN102237028A (en) 2011-11-09

Similar Documents

Publication Publication Date Title
US11740783B2 (en) System and method of guiding handwriting diagram input
Klemmer et al. Papier-Mache: toolkit support for tangible input
CN107766045B (en) Apparatus, system and method for providing a visualization program for a machine vision system
AU2011211240B2 (en) Input-output device, and information input-output system
US20030182630A1 (en) Method for gestural interpretation in a system for selecting and arranging visible material in document images
US20070130529A1 (en) Automatic generation of user interface descriptions through sketching
CN102067079A (en) Rendering teaching animations on a user-interface display
KR20190039767A (en) System and method for collaborative ink management
US9977655B2 (en) System and method for automatic extraction of software design from requirements
US8407611B2 (en) Apparatus and method for designing graphical user interfaces (GUIs) having different fidelities
CN108475325A (en) The system and method for hand-written figure connector for identification
US10120659B2 (en) Adaptive user interfaces
CN110268375A (en) Configure the digital pen used across different application
TWI447641B (en) Method and computer program product for displaying document on mobile device
JP6237135B2 (en) Information processing apparatus and information processing program
CN111368902A (en) Data labeling method and device
CN102237028B (en) LED lattice codebook automatically generating device
US9092755B2 (en) System and method for adding items in a structured document
Klemmer et al. Toolkit support for integrating physical and digital interactions
US20180158219A1 (en) Tracing canvas
CN111185902B (en) Robot character writing method and device based on visual recognition and writing system
US20140092088A1 (en) Providing a three-dimensional view that includes a plurality of systems engineering models
US20150325145A1 (en) Method and Apparatus for Teaching Language
CN115816831A (en) Cloud-based control 3D printer power consumption reduction method, device, equipment and medium
KR102553806B1 (en) Electronic apparatus, content information providing method, system and computer readable medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant