Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and apparatus for regulating dot-character size, and embedded system

An embedded system and character size technology, which is applied in cathode ray tube indicators, instruments, static indicators, etc., can solve the problems of wasting system space and resources, increasing system costs, and limited resources of embedded systems, and achieves reduction System cost, improvement of amplification distortion, effect of saving system space and resources

Active Publication Date: 2013-02-27
南通市崇川科技园投资发展有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the dot-matrix character files are usually large and the system resources of the embedded system are relatively limited, this way of storing multiple files is obviously a waste of system space and resources, and increases a certain system cost

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for regulating dot-character size, and embedded system
  • Method and apparatus for regulating dot-character size, and embedded system
  • Method and apparatus for regulating dot-character size, and embedded system

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0089] Example 1, performing a reduction operation on a character image may specifically include the following steps:

[0090] Step C1, the original size of obtaining the dot matrix character is srcW*srcH, and the target size is dstW*dstH; wherein, srcW is the width of the dot matrix character original image, srcH is the height of the dot matrix character original image, and dstW is the dot matrix character target The width of the image, dstH is the height of the dot matrix character target image;

[0091] Step C2, calculate the scaling information as follows: width scaling ratio srcW / dstW=w1 / w2, height scaling ratio srcH / dstH=h1 / h2; since this example is for zooming out, w1>w2, h1>h2;

[0092] Step C3, carry out the proportional reduction operation in the horizontal direction, specifically, the width ratio can be calculated by using the floor function and the ceil function respectively, that is, s1=floor(w1 / w2), s2=ceil(w1 / w2), according to the following algorithm Calculate ...

example 2

[0098] Example 2: Enlarging the character image may specifically include the following steps:

[0099] Step D1, the original size of obtaining the dot matrix character is srcW*srcH, and the target size is dstW*dstH; wherein, srcW is the width of the original image of the dot matrix character, srcH is the height of the original image of the dot matrix character, and dstW is the target of the dot matrix character The width of the image, dstH is the height of the dot matrix character target image;

[0100] Step D2, calculating scaling information is: width scaling ratio srcW / dstW=w1 / w2, height scaling ratio srcH / dstH=h1 / h2; wherein, 1

[0101] Step D3. In this example, the linear interpolation method is used to perform the proportional enlargement operation in the horizontal direction. The algorithm can be specifically implemented by the following code:

[0102]

[0103] Step D4. Carry out the proportional enlargement operation in the vertical direction ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for adjusting the character dimension of a dot matrix. The method comprises the following steps: the scaling information of dot matrix characters is obtained; the stored dot matrix characters are converted into a character picture; and the character picture is zoomed in or out according to the scaling information. The method can realize flexible adjustment of the character dimension of the dot matrix, thereby saving system space and resources and reducing system cost.

Description

technical field [0001] The invention relates to the field of dot matrix character processing, in particular to a method and device for adjusting the size of dot matrix characters used in an embedded system and an embedded system. Background technique [0002] A dot matrix character is a character composed of dots one by one, that is, each character is divided into 16×16, 24×24 or other corresponding number of dots, and then represented by the virtual and real or background logo and display logo of each dot Outlines of characters. Such as figure 1 The dot-matrix characters of "0" shown, where "_" indicates that the background is displayed at this place, "X" indicates that characters are displayed at this place (of course "_" and "X" can also be replaced by other characters), all " The X" portion shows the outline of the "0" character. [0003] Dot matrix characters have the advantage of fast display speed, so they are widely used in various embedded systems. For example, t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G09G5/24G09G5/26G09G5/30G06T11/20
Inventor 冯备战
Owner 南通市崇川科技园投资发展有限公司