CN109271077A - A kind of thermal infrared imager man-machine interaction method based on FPGA - Google Patents
A kind of thermal infrared imager man-machine interaction method based on FPGA Download PDFInfo
- Publication number
- CN109271077A CN109271077A CN201811075744.4A CN201811075744A CN109271077A CN 109271077 A CN109271077 A CN 109271077A CN 201811075744 A CN201811075744 A CN 201811075744A CN 109271077 A CN109271077 A CN 109271077A
- Authority
- CN
- China
- Prior art keywords
- menu
- coe
- follows
- file
- man
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
Abstract
The invention discloses a kind of thermal infrared imager man-machine interaction method based on FPGA, using low ash angle value pixel structure figure, there are in the ROM of FPGA, it is controlled and is read according to clock signal, replace the partial pixel value of acquired image, and then gray scale difference is formed with the high gray level image in periphery, complete the production of graphical interfaces.The very succinct type matrix for completing complex script interface generates, and it is solidificated in inside ROM, after product powers on, it is exported with image data stream, it is shown using the poor gray scale at image and interface, it realizes that interactive interface is shown, for the intuitive reading characters information of human eye, and passes through unlatching, closing, switching and the determination of seven keys realization thermal imaging system command menus.
Description
Technical field
The present invention relates to a kind of thermal infrared imager man-machine interaction method, especially a kind of thermal infrared imager people based on FPGA
Machine exchange method.
Background technique
Infrared refrigeration mode thermal imaging system, hereinafter referred to as thermal imaging system, due to detector stable working state at low ambient temperatures, just
Often need to send some such as correction etc. control instructions before work to thermal imaging system.In addition, according to the difference of use environment and target,
The gain parameter that thermal imaging system uses, brightness, inside and outside synchronization, focal length and many application functions require real-time perfoming and artificially become
More.So UI, User Interface, are the essential a part of thermal imager system.
Currently, there is the two big main stream approach for realizing UI design: one is the Peripheral Interface by computer, such as USB, strings
Mouth etc. realizes interface communication, then control command is sent or received by upper computer software;Second is by opening up in internal system
Integrated chip, such as ARM are opened up, 51 wait series monolithics, call interface and interface library functions, realize human-computer interaction.Due to first
Kind of mode carries that peripheral hardware is more, is unfavorable for working long hours in the environment of no lasting stability condition of power supply, the second way
Resource on extension system circuit board is needed, increases system design complexity, is unfavorable for system reliability, and increase research and development cost
With power consumption.Coe file is the active file that FPGA can be read.
Summary of the invention
It is an object of that present invention to provide a kind of thermal infrared imager man-machine interaction method based on FPGA solves previous methods and takes
Band peripheral hardware is more, is unfavorable for working long hours in the environment of no lasting stability condition of power supply, needs extension system circuit board
Upper resource increases system design complexity, is unfavorable for system reliability, and increases the problem of researching and developing cost and power consumption.
According to the first aspect of the invention, a kind of thermal infrared imager man-machine interaction method based on FPGA is provided, it is specific to walk
Suddenly are as follows:
The first step builds man-machine interactive system
Man-machine interactive system includes: key control module, type matrix generation module and coe file generating module.
Key control module function are as follows: highlight the movement of button by external key control interface, realize human-computer interaction.
Type matrix generation module function are as follows: generate interface and highlight the text type matrix that button needs, generate .txt file.
Coe file generating module function are as follows: the .coe file of every row text is generated with matlab.
Movement of the second step key control module control interface key in display interface
Key control module has seven kinds of keypress functions, keypress function are as follows: opens menu, closes menu, confirmation, to moving up
It moves, move down, be moved to the left and move right.After opening menu, corresponding input is obtained by keypress function and is ordered, in turn
The selection of menu option is controlled, keypress function is confirmed as sending corresponding control command to front end.After closing menu, only beat
Open menu response.Direction key includes: to move up, move down, be moved to the left and move right, will be high by direction key
It is bright to be placed in the corresponding menu function key position of control menu.
Third step type matrix generation module generates Chinese matrix
The full frame image size for controlling menu is M*N pixel, and number of pixels shared by single word is a*b pixel, by one
Frame image is divided into x*y area, and each area shows that 1 area's text is generated 1 txt file by a word, type matrix generation module.
M, N is respectively the row, column for controlling the full frame image of menu;A, b is respectively the row, column of pixel shared by single word;x,y
The respectively line number in area, columns.A*x=M, b*y=N.
4th step coe file generating module generates .coe file
The .coe file of every row text of control menu is generated with matlab.Coe file generating module retains first
.coe the head format of file connects all area's texts in a .coe file, ultimately generates one for FPGA reading
.coe file..coe file is stored in the ROM, FPGA calls data in ROM after powering on.
So far, the thermal infrared imager human-computer interaction based on FPGA is completed.
Preferably, the full frame image size of menu is controlled are as follows: 640*512,640*320,512*240 or 512*512.
Preferably, when the full frame image size of control menu is 640*512 pixel, number of pixels shared by single word is
One frame image is divided into 40*16 area by 16*32 pixel.
According to the second aspect of the invention, providing a kind of man-machine interactive system includes: that key control module, type matrix generate mould
Block and coe file generating module.
Key control module function are as follows: highlight the movement of button by external key control interface, realize human-computer interaction.
Type matrix generation module function are as follows: generate interface and highlight the text type matrix that button needs, generate .txt file.
Coe file generating module function are as follows: the .coe file of every row text is generated with matlab.
Since thermal imaging system requirement of real-time is higher, acquired image data pass in real time after FPGA image preprocessing
It is defeated to transfer data to display or host computer to communication interface, it is further processed further according to subsequent need.So man-machine friendship
The production at mutual interface will be added in data flow.The present invention uses low ash angle value pixel structure figure, there are in the ROM of FPGA,
It is controlled and is read according to clock signal, replace the partial pixel value of acquired image, and then form ash with the high gray level image in periphery
It is poor to spend, and completes the production of graphical interfaces.The present invention utilizes the existing fpga chip of thermal imager system, on the gray level image of output
Selectively actuatable interface has been write, using 7 buttons, human-computer interaction has been realized, both save the cost, reduces power consumption, and not will increase
System peripheral.Success solves the problems, such as that manipulation thermal imaging system needs more peripheral hardware or increases resource on system circuit board.It is verified,
The method the operation is stable, simple interface, convenient for operation.
Specific embodiment
Embodiment 1
A kind of thermal infrared imager man-machine interaction method specific steps based on FPGA are as follows:
The first step builds man-machine interactive system
Man-machine interactive system includes: key control module, type matrix generation module and coe file generating module.
Key control module function are as follows: highlight the movement of button by external key control interface, realize human-computer interaction.
Type matrix generation module function are as follows: generate interface and highlight the text type matrix that button needs, generate .txt file.
Coe file generating module function are as follows: the .coe file of every row text is generated with matlab.
Movement of the second step key control module control interface key in display interface
Key control module has seven kinds of keypress functions, keypress function are as follows: opens menu, closes menu, confirmation, to moving up
It moves, move down, be moved to the left and move right.After opening menu, corresponding input is obtained by keypress function and is ordered, in turn
The selection of menu option is controlled, keypress function is confirmed as sending corresponding control command to front end.After closing menu, only beat
Open menu response.Direction key includes: to move up, move down, be moved to the left and move right, will be high by direction key
It is bright to be placed in the corresponding menu function key position of control menu.
Third step type matrix generation module generates Chinese matrix
The full frame image size for controlling menu is M*N pixel, and number of pixels shared by single word is a*b pixel, by one
Frame image is divided into x*y area, and each area shows that 1 area's text is generated 1 txt file by a word, type matrix generation module.
M, N is respectively the row, column for controlling the full frame image of menu;A, b is respectively the row, column of pixel shared by single word;x,y
The respectively line number in area, columns.A*x=M, b*y=N.
Control the full frame image size of menu are as follows: 640*512,640*320,512*240 or 512*512.
When the full frame image size of control menu is 640*512 pixel, number of pixels shared by single word is 16*32 picture
One frame image is divided into 40*16 area by element.
4th step coe file generating module generates .coe file
The .coe file of every row text of control menu is generated with matlab.Coe file generating module retains first
.coe the head format of file connects all area's texts in a .coe file, ultimately generates one for FPGA reading
.coe file..coe file is stored in the ROM, FPGA calls data in ROM after powering on.
So far, the thermal infrared imager human-computer interaction based on FPGA is completed.
Embodiment 2
A kind of man-machine interactive system includes: key control module, type matrix generation module and coe file generating module.
Key control module function are as follows: highlight the movement of button by external key control interface, realize human-computer interaction.
Type matrix generation module function are as follows: generate interface and highlight the text type matrix that button needs, generate .txt file.
Coe file generating module function are as follows: with the .coe file of the every row text of matlab Software Create.
Claims (4)
1. a kind of thermal infrared imager man-machine interaction method based on FPGA, it is characterised in that the specific steps of this method are as follows:
The first step builds man-machine interactive system
Man-machine interactive system includes: key control module, type matrix generation module and coe file generating module;
Key control module function are as follows: highlight the movement of button by external key control interface, realize human-computer interaction;
Type matrix generation module function are as follows: generate interface and highlight the text type matrix that button needs, generate .txt file;
Coe file generating module function are as follows: the .coe file of every row text is generated with matlab;
Movement of the second step key control module control interface key in display interface
Key control module has seven kinds of keypress functions, keypress function are as follows: open menu, close menu, confirm, move up, to
Lower movement is moved to the left and moves right;After opening menu, corresponding input is obtained by keypress function and is ordered, and then is controlled
The selection of menu option, keypress function are confirmed as sending corresponding control command to front end;After closing menu, dish is only opened
Single response;Direction key includes: to move up, move down, be moved to the left and move right, and is set by direction key by highlighted
In the corresponding menu function key position of control menu;
Third step type matrix generation module generates Chinese matrix
The full frame image size for controlling menu is M*N pixel, and number of pixels shared by single word is a*b pixel, by a frame figure
As being divided into x*y area, each area shows that 1 area's text is generated 1 txt file by a word, type matrix generation module;
M, N is respectively the row, column for controlling the full frame image of menu;A, b is respectively the row, column of pixel shared by single word;X, y distinguishes
Line number, columns for area;A*x=M, b*y=N;
4th step coe file generating module generates .coe file
The .coe file of every row text of control menu is generated with matlab;Coe file generating module retains first .coe text
The head format of part connects all area's texts in a .coe file, ultimately generates the .coe file read for FPGA;
.coe file is stored in the ROM, FPGA calls data in ROM after powering on.
2. a kind of thermal infrared imager man-machine interaction method based on FPGA according to claim 1, which is characterized in that described
Control menu full frame image size are as follows: 640*512,640*320,512*240 or 512*512.
3. a kind of thermal infrared imager man-machine interaction method based on FPGA according to claim 1, which is characterized in that described
When the full frame image size of control menu is 640*512 pixel, number of pixels shared by single word is 16*32 pixel, by
One frame image is divided into 40*16 area.
4. a kind of man-machine interactive system characterized by comprising key control module, type matrix generation module and coe file generated
Module;
Key control module function are as follows: highlight the movement of button by external key control interface, realize human-computer interaction;
Type matrix generation module function are as follows: generate interface and highlight the text type matrix that button needs, generate .txt file;
Coe file generating module function are as follows: the .coe file of every row text is generated with matlab.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811075744.4A CN109271077B (en) | 2018-09-14 | 2018-09-14 | Thermal infrared imager man-machine interaction method based on FPGA |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811075744.4A CN109271077B (en) | 2018-09-14 | 2018-09-14 | Thermal infrared imager man-machine interaction method based on FPGA |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109271077A true CN109271077A (en) | 2019-01-25 |
CN109271077B CN109271077B (en) | 2021-08-13 |
Family
ID=65188375
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811075744.4A Active CN109271077B (en) | 2018-09-14 | 2018-09-14 | Thermal infrared imager man-machine interaction method based on FPGA |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109271077B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202956192U (en) * | 2012-03-16 | 2013-05-29 | 东莞华仪仪表科技有限公司 | Device and system of intelligent thermal infrared imager |
US8519979B1 (en) * | 2006-12-29 | 2013-08-27 | The Mathworks, Inc. | Multi-point interface for a graphical modeling environment |
CN103747191A (en) * | 2014-01-27 | 2014-04-23 | 大连科迪视频技术有限公司 | Network interaction high-definition character superimposition system |
CN105187745A (en) * | 2015-08-30 | 2015-12-23 | 深圳市特力科信息技术有限公司 | High definition video OSD menu superposition module based on FPGA and method |
CN105761233A (en) * | 2014-12-15 | 2016-07-13 | 南京理工大学 | FPGA-based real-time panoramic image mosaic method |
CN205748663U (en) * | 2016-06-14 | 2016-11-30 | 上海集成电路研发中心有限公司 | A kind of Multifunction infrared thermal imagery instrument |
US9843742B2 (en) * | 2009-03-02 | 2017-12-12 | Flir Systems, Inc. | Thermal image frame capture using de-aligned sensor array |
CN107888848A (en) * | 2017-11-07 | 2018-04-06 | 哈尔滨工程大学 | The device and method of artistic font is superimposed on image based on FPGA |
-
2018
- 2018-09-14 CN CN201811075744.4A patent/CN109271077B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8519979B1 (en) * | 2006-12-29 | 2013-08-27 | The Mathworks, Inc. | Multi-point interface for a graphical modeling environment |
US9843742B2 (en) * | 2009-03-02 | 2017-12-12 | Flir Systems, Inc. | Thermal image frame capture using de-aligned sensor array |
CN202956192U (en) * | 2012-03-16 | 2013-05-29 | 东莞华仪仪表科技有限公司 | Device and system of intelligent thermal infrared imager |
CN103747191A (en) * | 2014-01-27 | 2014-04-23 | 大连科迪视频技术有限公司 | Network interaction high-definition character superimposition system |
CN105761233A (en) * | 2014-12-15 | 2016-07-13 | 南京理工大学 | FPGA-based real-time panoramic image mosaic method |
CN105187745A (en) * | 2015-08-30 | 2015-12-23 | 深圳市特力科信息技术有限公司 | High definition video OSD menu superposition module based on FPGA and method |
CN205748663U (en) * | 2016-06-14 | 2016-11-30 | 上海集成电路研发中心有限公司 | A kind of Multifunction infrared thermal imagery instrument |
CN107888848A (en) * | 2017-11-07 | 2018-04-06 | 哈尔滨工程大学 | The device and method of artistic font is superimposed on image based on FPGA |
Non-Patent Citations (2)
Title |
---|
D. ATIENZA ET AL.: "A fast HW/SW FPGA-based thermal emulation framework for multi-processor system-on-chip", 《2006 43RD ACM/IEEE DESIGN AUTOMATION CONFERENCE》 * |
冯浩 等: "基于MATLAB GUI的非制冷红外热像仪串口通信设计", 《平顶山学院学报》 * |
Also Published As
Publication number | Publication date |
---|---|
CN109271077B (en) | 2021-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230077467A1 (en) | Card Display Method, Electronic Device, and Computer Readable Storage Medium | |
US8577100B2 (en) | Remote input method using fingerprint recognition sensor | |
US8525790B2 (en) | Non-contact selection device | |
US20150121287A1 (en) | System for generating and controlling a variably displayable mobile device keypad/virtual keyboard | |
US20190130087A1 (en) | Electronic apparatus, control device, and non-transitory computer readable storage medium | |
US10621766B2 (en) | Character input method and device using a background image portion as a control region | |
CN103345303B (en) | A kind of Intelligent mobile equipment substitutes system and the implementation method of mouse-keyboard entirely | |
CN103365549A (en) | Input device, display system and input method | |
CN111045344A (en) | Control method of household equipment and electronic equipment | |
US20170177208A1 (en) | Systems and wearable devices and methods for operating a computer | |
CN108509849A (en) | Utilize the electronic equipment and method of the pixel identification sensor position of display | |
US20230291955A1 (en) | User terminal apparatus, electronic apparatus, system, and control method thereof | |
EP2887648A1 (en) | Method of performing previewing and electronic device for implementing the same | |
CN107992191A (en) | A kind of electronic equipment and its control method, camera of electronic equipment module | |
US10438389B2 (en) | Method, device, and non-transitory computer readable storage medium for displaying virtual reality or augmented reality environment according to a viewing angle | |
CN109271077A (en) | A kind of thermal infrared imager man-machine interaction method based on FPGA | |
CN110502295A (en) | A kind of interface switching method and terminal device | |
WO2021208965A1 (en) | Text input method, mobile device, head-mounted display device, and storage medium | |
WO2022246334A1 (en) | Text input method for augmented reality devices | |
CN108475157B (en) | Character input method, device and terminal | |
CN117234405A (en) | Information input method and device, electronic equipment and storage medium | |
KR20070115510A (en) | Device capable of non-contact function selection and method thereof | |
CN104423563A (en) | Non-contact type real-time interaction method and system thereof | |
KR100749481B1 (en) | Device capable of non-contact function selection and method thereof | |
US20240126404A1 (en) | Information Display Method and Electronic 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 |