CN108717370A - Gray level image GUI design methods for the thermal imaging movement start-up picture that freezes - Google Patents

Gray level image GUI design methods for the thermal imaging movement start-up picture that freezes Download PDF

Info

Publication number
CN108717370A
CN108717370A CN201810428491.8A CN201810428491A CN108717370A CN 108717370 A CN108717370 A CN 108717370A CN 201810428491 A CN201810428491 A CN 201810428491A CN 108717370 A CN108717370 A CN 108717370A
Authority
CN
China
Prior art keywords
memory
picture
write
thermal imaging
freezes
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
Application number
CN201810428491.8A
Other languages
Chinese (zh)
Other versions
CN108717370B (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.)
JINAN HOPE-WISH PHOTOELECTRIC TECHNOLOGY Co Ltd
Original Assignee
JINAN HOPE-WISH PHOTOELECTRIC TECHNOLOGY 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 JINAN HOPE-WISH PHOTOELECTRIC TECHNOLOGY Co Ltd filed Critical JINAN HOPE-WISH PHOTOELECTRIC TECHNOLOGY Co Ltd
Priority to CN201810428491.8A priority Critical patent/CN108717370B/en
Publication of CN108717370A publication Critical patent/CN108717370A/en
Application granted granted Critical
Publication of CN108717370B publication Critical patent/CN108717370B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Studio Circuits (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention relates to the gray level image GUI design methods for the thermal imaging movement start-up picture that freezes, and described method includes following steps:Font file is defined, memory read-write function is write;Change the position data that video data is stored in memory, displays temperature variation, time and progress bar on the screen, the present invention passes through nios ii cpu software programs, font file is defined, memory read-write function is write, is modified to storing the data of position of video data in memory, GUI content to be shown is needed to generate, the memory that this method occupies is small, and display is more timely, and visual effect is relatively good.

Description

Gray level image GUI design methods for the thermal imaging movement start-up picture that freezes
Technical field
The invention belongs to thermal imaging fields of freezing, and in particular to a kind of for the thermal imaging movement start-up picture that freezes Gray level image GUI design methods.
Background technology
Temperature is dropped to certain numerical value picture by refrigeration thermal imaging movement needs could show normally, need in this process Start-up picture is wanted to carry out the progress of displays temperature variation and cooling, the processing capacity of nios ii CPU is limited, and in FPGA design It is smaller to the memory of CPU distribution, if existing GUI, the GUI display such as directly transplanting CPU/GUI refresh slow, the vision of meeting Effect is bad, and needs prodigious memory.This is in place of the deficiencies in the prior art.
Invention content
It is an object of the present invention to exist to overcome the problems, such as that existing GUI is transplanted to nios ii, the present invention devises A kind of gray level image GUI for the thermal imaging movement start-up picture that freezes.
The technical scheme is that:
For the gray level image GUI design methods for the thermal imaging movement start-up picture that freezes, described method includes following steps:
Font file is defined, memory read-write function is write;
The position data for storing video data in memory is changed, GUI content to be shown is generated.
Further, the font file is an array, including ascii character array and character laterally start length and Lateral length.
Further, the position data that video data is stored in the step modification memory, generates GUI content to be shown Including:The position data that video data is stored in memory is changed, on the screen displays temperature variation, time and progress bar.
Further, it writes memory read-write function and realizes that process is as follows:
By the initial address of definition character or character string in the picture, according to the library text of the string searching character array of input Background pixel value or foreground pixel value are write as in corresponding position in memory by number of packages group according to the element in library file array, read It takes and background pixel value or foreground pixel value is shown on screen when image;
It defines progress bar display initial position in the picture and progress bar is wide and high, the first picture is write as in corresponding position entirely in memory Element value, further according to schedule requirement, initial position and width are constant, and length writes corresponding position in memory as according to progress size Second pixel value, reads the numerical value of image in memory, and sends display to and show progress bar.
Further, first pixel value and the second pixel value differ.
Further, the position data of video data is stored in the step modification memory, displays temperature becomes on the screen Change, time and progress bar, steps are as follows for specific implementation:
S6-1:A fixed value is write by the position of memset function pair memory storage image datas;
S6-2:Current temperature is read as initial temperature;
S6-3:GUI principal functions are called, show that fixed character and number, progress bar show that background color is completely black;
S6-4:If the Current Temperatures read are higher than the temperature of setting, the temperature value of GUI principal functions display variation is called, is changed Time numerical value and according to current temperature value, initial temperature value and set temperature value come calculate cooling progress and configure it is different into Spend white Foreground length and a show percent;
S6-5:The data for reading fixed position in memory, are sent to display and show.
Further, the position data of video data is stored in the step modification memory, displays temperature becomes on the screen Change, time and progress bar further include:
S6-6:If the Current Temperatures read are less than or equal to the temperature of setting, pass through memset function pair memory storage picture numbers According to position write a fixed value;Cooling terminates, and GUI shows that picture stops, and refrigeration thermal imaging camera is normally shown.
Further, the position by memset function pair memory storage image datas is write in a fixed value, institute It is consistent with background colour to state fixed value.
The beneficial effects of the present invention are the present invention is defined font file, is write by nios ii cpu software programs Memory read-write function is modified to storing the data of position of video data in memory, is needed in GUI to be shown to generate Hold, the memory that this method occupies is small, and display is more timely, and visual effect is relatively good.
In addition, design principle of the present invention is reliable, and it is simple in structure, there is very extensive application prospect.
It can be seen that compared with prior art, the present invention with substantive distinguishing features outstanding and significantly improving, implementation Advantageous effect be also obvious.
Description of the drawings
Fig. 1 is that a kind of gray level image GUI for the thermal imaging movement start-up picture that freezes provided in an embodiment of the present invention is set Count method flow diagram.
Specific implementation mode
The present invention will be described in detail below in conjunction with the accompanying drawings and by specific embodiment, and following embodiment is to the present invention Explanation, and the invention is not limited in following implementation.
Gray level image GUI design methods provided in an embodiment of the present invention for the thermal imaging movement start-up picture that freezes, institute The method of stating includes the following steps:
Font file is defined, memory read-write function is write;
The position data for storing video data in memory is changed, GUI content to be shown is generated.
In the present embodiment, font file is an array, including ascii character array and character transverse direction beginning length and cross To length;Ascii character array is array that is longitudinally fixed, laterally changing according to byte number(For example character laterally accounts for a word Section, then character array is laterally 1), each element represents laterally 8 pixel display background colors or foreground, entire array Foreground, which is combined, shows this character;Because each character is not laterally just to fill full entire character array, institute To need to know character foreground when showing character string in the initial position of character array transverse direction and character widthwise size, really The interval protected between character is consistent.
Character or character string can be shown to the function of memory read-write, its process is:
By the initial address of definition character or character string in the picture, according to the library text of the string searching character array of input Background pixel value or foreground pixel value are write as in corresponding position in memory by number of packages group according to the element in library file array(Picture Plain value is 0 to 255 number), hardware module can be shown to it on screen when reading image.
Progress bar can also be shown to the function of memory read-write, its process is:
It defines progress bar display initial position in the picture and progress bar is wide and high, first corresponding position in memory is write as entirely First pixel value, further according to schedule requirement, initial position and width are constant, and length is according to progress size, corresponding positions in memory It sets and is write as the second pixel value wherein, the first pixel value and the second pixel value differ, and are ceaselessly read in memory and are schemed by hardware The numerical value of picture, and send display to and show progress bar.
As shown in Figure 1, GUI design method of the embodiment of the present invention based on nios ii is as follows:
Step 1:By memset functions in memory store video data position assignment at background colour, numerical value is 128;
Step 2:The current temperature of detector is read as initial temperature;
Step 3:GUI principal functions call GUI_DispCharAt, in memory corresponding position write-in character " Hope-Wish "; "TFPA:Xxx K " (xxx is three decimal numbers of initial temperature);"Time: 00:00:00";" 0 %";Call GUI_ RectangleFill writes 0 in memory appropriate address, generates one long 200 pixels, and the black rectangle of wide 25 pixels represents Progress bar;
Step 4:Detector Current Temperatures are read, and are compared with set temperature, if higher than set temperature, then follow the steps 5, No person executes step 7;
Step 5:GUI principal functions call GUI_DispCharAt, change character " TFPA in memory corresponding position:In xxx K " " xxx " (xxx is three decimal numbers of Current Temperatures);"Time: xx: xx:Three " xx " in xx "(Three xx difference When representing, minute, second, obtained by timer count);" xxx " in " xxx % "(Xxx represents 0 to 100 number, and a high position is 0, A high position is not shown then), GUI_RectangleFill is called, 255 is write in memory appropriate address, generates a length according to cooling Ratio is multiplied by 200 pixels, and the white rectangle of wide 25 pixels represents progress bar;
Step 6:FPGA hardware program reads the data of fixed position in memory, is sent to display and shows, executes step again 4;
Step 7:A fixed value, and this value and background are write by the position of memset function pair memory storage image datas Color is consistent.
Step 8:Cooling terminates, and GUI shows that picture stops, and refrigeration thermal imaging camera is normally shown.
Disclosed above is only the preferred embodiment of the present invention, but the present invention is not limited to this, any this field What technical staff can think does not have a creative variation, and without departing from the principles of the present invention made by several improvement and Retouching, should all be within the scope of the present invention.

Claims (8)

1. the gray level image GUI design methods for the thermal imaging movement start-up picture that freezes, which is characterized in that the method includes Following steps:
Font file is defined, memory read-write function is write;
The position data for storing video data in memory is changed, GUI content to be shown is generated.
2. the gray level image GUI design methods according to claim 1 for the thermal imaging movement start-up picture that freezes, special Sign is that the font file is an array, including ascii character array and character transverse direction beginning length and lateral length.
3. the gray level image GUI design methods according to claim 2 for the thermal imaging movement start-up picture that freezes, special Sign is, the position data of video data is stored in the step modification memory, generating GUI content to be shown includes:Modification The position data of video data is stored in memory, on the screen displays temperature variation, time and progress bar.
4. the gray level image GUI design methods according to claim 3 for the thermal imaging movement start-up picture that freezes, special Sign is, writes memory read-write function and realizes that process is as follows:
By the initial address of definition character or character string in the picture, according to the library text of the string searching character array of input Background pixel value or foreground pixel value are write as in corresponding position in memory by number of packages group according to the element in library file array, read It takes and background pixel value or foreground pixel value is shown on screen when image;
It defines progress bar display initial position in the picture and progress bar is wide and high, the first picture is write as in corresponding position entirely in memory Element value, further according to schedule requirement, initial position and width are constant, and length writes corresponding position in memory as according to progress size Second pixel value, reads the numerical value of image in memory, and sends display to and show progress bar.
5. the gray level image GUI design methods according to claim 4 for the thermal imaging movement start-up picture that freezes, special Sign is that first pixel value and the second pixel value differ.
6. the gray level image GUI design methods according to claim 3 for the thermal imaging movement start-up picture that freezes, special Sign is, the position data of video data is stored in the step modification memory, on the screen displays temperature variation, the time and into Item is spent, steps are as follows for specific implementation:
S6-1:A fixed value is write by the position of memset function pair memory storage image datas;
S6-2:Current temperature is read as initial temperature;
S6-3:GUI principal functions are called, show that fixed character and number, progress bar show that background color is completely black;
S6-4:If the Current Temperatures read are higher than the temperature of setting, the temperature value of GUI principal functions display variation is called, is changed Time numerical value and according to current temperature value, initial temperature value and set temperature value come calculate cooling progress and configure it is different into Spend white Foreground length and a show percent;
S6-5:The data for reading fixed position in memory, are sent to display and show.
7. the gray level image GUI design methods according to claim 6 for the thermal imaging movement start-up picture that freezes, special Sign is, the position data of video data is stored in the step modification memory, on the screen displays temperature variation, the time and into Item is spent, further includes:
S6-6:If the Current Temperatures read are less than or equal to the temperature of setting, pass through memset function pair memory storage picture numbers According to position write a fixed value;Cooling terminates, and GUI shows that picture stops, and refrigeration thermal imaging camera is normally shown.
8. the gray level image GUI design methods for the thermal imaging movement start-up picture that freezes described according to claim 6 or 7, It is characterized in that, the position by memset function pair memory storage image datas is write in a fixed value, the fixation Value is consistent with background colour.
CN201810428491.8A 2018-05-07 2018-05-07 Gray image GUI design method for cooling and heating imaging movement startup picture Active CN108717370B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810428491.8A CN108717370B (en) 2018-05-07 2018-05-07 Gray image GUI design method for cooling and heating imaging movement startup picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810428491.8A CN108717370B (en) 2018-05-07 2018-05-07 Gray image GUI design method for cooling and heating imaging movement startup picture

Publications (2)

Publication Number Publication Date
CN108717370A true CN108717370A (en) 2018-10-30
CN108717370B CN108717370B (en) 2020-12-11

Family

ID=63899446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810428491.8A Active CN108717370B (en) 2018-05-07 2018-05-07 Gray image GUI design method for cooling and heating imaging movement startup picture

Country Status (1)

Country Link
CN (1) CN108717370B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008229008A (en) * 2007-03-20 2008-10-02 Toshiba Corp Magnetic resonance imaging apparatus
CN101526905A (en) * 2009-04-17 2009-09-09 四川长虹电器股份有限公司 Method for displaying starting up progress of embedded device
US20110286758A1 (en) * 2010-05-19 2011-11-24 Hiroshi Yoshinaga Image forming apparatus capable of timely starting different image formation mode
CN103674261A (en) * 2012-09-21 2014-03-26 杭州美盛红外光电技术有限公司 Infrared information display control device and method
CN105928627A (en) * 2016-04-08 2016-09-07 北京航天计量测试技术研究所 Method for eliminating image reproduction non-uniformity of refrigeration type thermal imager
US20170357564A1 (en) * 2016-06-14 2017-12-14 Sony Mobile Communications Inc. Measurement coordination by monitoring of program code execution

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008229008A (en) * 2007-03-20 2008-10-02 Toshiba Corp Magnetic resonance imaging apparatus
CN101526905A (en) * 2009-04-17 2009-09-09 四川长虹电器股份有限公司 Method for displaying starting up progress of embedded device
US20110286758A1 (en) * 2010-05-19 2011-11-24 Hiroshi Yoshinaga Image forming apparatus capable of timely starting different image formation mode
CN103674261A (en) * 2012-09-21 2014-03-26 杭州美盛红外光电技术有限公司 Infrared information display control device and method
CN105928627A (en) * 2016-04-08 2016-09-07 北京航天计量测试技术研究所 Method for eliminating image reproduction non-uniformity of refrigeration type thermal imager
US20170357564A1 (en) * 2016-06-14 2017-12-14 Sony Mobile Communications Inc. Measurement coordination by monitoring of program code execution

Also Published As

Publication number Publication date
CN108717370B (en) 2020-12-11

Similar Documents

Publication Publication Date Title
CN101662616B (en) Character rolling display method
CN107493448B (en) Image processing system, image display method and display device
US11972514B2 (en) Animation file processing method and apparatus, computer-readable storage medium, and computer device
US6157374A (en) Graphics display system and method for providing internally timed time-varying properties of display attributes
WO2019134368A1 (en) Image processing method of virtual reality and apparatus thereof
CN111562948B (en) System and method for realizing parallelization of serial tasks in real-time image processing system
KR102344334B1 (en) Display apparatus and method for processing image
US9117297B2 (en) Reduced on-chip memory graphics data processing
CN115209145A (en) Video compression method, system, device and readable storage medium
CN109272923B (en) Subtitle rolling display method and system based on multi-screen equipment and storage medium
US11615509B2 (en) Picture processing method and device
CN100378793C (en) Liquid crystal display displaying method and system
CN109151538B (en) Image display method and device, smart television and readable storage medium
CN108989872B (en) Android television background fast switching method, framework, server and storage medium
CN200983644Y (en) Multi-screen display and combination control device
CN108717370A (en) Gray level image GUI design methods for the thermal imaging movement start-up picture that freezes
CN104240213A (en) Display method and device
CN212137804U (en) Point-to-point video splicing system
US20180130443A1 (en) Techniques for managing transmission and display of a display data stream
CN106959897A (en) A kind of optimization method and system based on Unity3D image renderings
KR101169994B1 (en) Graphic image processing apparatus and method using alpha plane
CN115002304B (en) Video image resolution self-adaptive conversion device
CN115657367A (en) High-partition dynamic dimming method for LED backlight module
CN105812923A (en) Play processing method and device based on video on demand
CN109993687B (en) Image information processing method and device

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
GR01 Patent grant
GR01 Patent grant