CN106651738B - Conversion method from analog image to digital image of microfilm digital reader - Google Patents

Conversion method from analog image to digital image of microfilm digital reader Download PDF

Info

Publication number
CN106651738B
CN106651738B CN201611167848.9A CN201611167848A CN106651738B CN 106651738 B CN106651738 B CN 106651738B CN 201611167848 A CN201611167848 A CN 201611167848A CN 106651738 B CN106651738 B CN 106651738B
Authority
CN
China
Prior art keywords
reader
image
software
data packet
computer
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
CN201611167848.9A
Other languages
Chinese (zh)
Other versions
CN106651738A (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.)
Guo Jiatushuguan
Original Assignee
Guo Jiatushuguan
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 Guo Jiatushuguan filed Critical Guo Jiatushuguan
Priority to CN201611167848.9A priority Critical patent/CN106651738B/en
Publication of CN106651738A publication Critical patent/CN106651738A/en
Application granted granted Critical
Publication of CN106651738B publication Critical patent/CN106651738B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding

Abstract

The invention discloses a method for converting an analog image into a digital image by a microfilm digital reader, which comprises the following steps: connecting the USB interface of the reader to the PC end of the computer; software of the reader starts an image acquisition thread, requests a USB acquisition camera to read in a data packet and transmits the data packet to a PC (personal computer) end; the PC end of the computer judges whether to obtain a data packet read in by the USB acquisition camera, the software of the reader judges whether to interrupt acquisition, if not, the reader stores an image, if so, the software of the reader starts a display thread and then encodes image data and displays a frame of image; the software of the reader restarts the image acquisition thread and repeats the above steps. The image quality of the image converted by the image conversion method is clear, and the distortion condition can not occur; in addition, the converted image display of the present invention does not exhibit quantization noise.

Description

Conversion method from analog image to digital image of microfilm digital reader
Technical Field
The invention relates to the technical field of digital readers, in particular to a method for converting an analog image into a digital image of a microfilm digital reader.
Background
At present, the display of the existing digital reader for microfilm is a digital display, so it is necessary to convert the analog image into a digital image for displaying, and at present, the method for converting the image display format basically performs a/D conversion on the analog image signal, converts the analog image signal into a digital image signal, then stores the digital image signal, and performs adding and subtracting processes on the image signal and adding or subtracting processes on the frame image signal by using the digital processing technology, and the above processing method has the following disadvantages: the converted image display may be distorted, or the image display may generate quantization noise, etc.
Disclosure of Invention
The invention aims to provide a method for converting an analog image into a digital image by a microfilm digital reader, so as to overcome the defects in the prior art.
In order to achieve the technical purpose, the technical scheme of the invention is realized as follows:
the method for converting the analog image to the digital image of the microfilm digital reader comprises the following steps:
s1: connecting the USB interface of the reader to the PC end of the computer;
s2: the PC side detects whether the USB interface of the reader is connected to the PC side, if not, the PC side displays error information, and if so, the PC side moves to S3;
s3: software of the reader starts an image acquisition thread, requests a USB acquisition camera to read in a data packet and transmits the data packet to a PC (personal computer) end;
s4: the PC terminal of the computer judges whether a data packet read by the USB acquisition camera is obtained, if not, the software of the reader requests the USB acquisition camera to read the data packet again and transmits the data packet to the PC terminal of the computer; if so, move to S5;
s5: the software of the reader identifies that the PC end of the computer has not read a frame, if not, the software of the reader requests the USB acquisition camera to read in the data packet again and transmits the data packet to the PC end of the computer, and if so, S6 is executed;
s6: judging whether the acquisition is interrupted or not by the software of the reader, if not, storing the image by the reader, and if so, executing S7;
s7: the method comprises the steps that after software of a reader starts a display thread, image data are coded, and a frame of image is displayed;
s8: the reader' S software starts the image acquisition thread again and repeats steps S3-S7.
Further, the step S3 further includes:
s3.1: starting an image acquisition thread by the software of the reader;
s3.2: software of the reader distributes an input/output buffer area of a PC end of a computer;
s3.3: the PC end of the computer configures the control of input and output;
s3.4: the software of the reader requests the USB acquisition camera to read in the data packet and transmits the data packet to the PC end of the computer.
After the technical scheme is adopted, the invention has the following beneficial effects: the image quality of the image converted by the image conversion method is clear, and the distortion condition can not occur; in addition, the converted image display of the present invention does not exhibit quantization noise.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flow chart of a method of converting an analog image into a digital image according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present invention.
As shown in fig. 1, the method for converting an analog image to a digital image of a microfilm digital reader according to an embodiment of the present invention includes the following steps:
s1: connecting the USB interface of the reader to the PC end of the computer;
s2: the PC side detects whether the USB interface of the reader is connected to the PC side, if not, the PC side displays error information, and if so, the PC side moves to S3;
s3: software of the reader starts an image acquisition thread, requests a USB acquisition camera to read in a data packet and transmits the data packet to a PC (personal computer) end;
s4: the PC terminal of the computer judges whether a data packet read by the USB acquisition camera is obtained, if not, the software of the reader requests the USB acquisition camera to read the data packet again and transmits the data packet to the PC terminal of the computer; if so, move to S5;
s5: the software of the reader identifies that the PC end of the computer has not read a frame, if not, the software of the reader requests the USB acquisition camera to read in the data packet again and transmits the data packet to the PC end of the computer, and if so, S6 is executed;
s6: judging whether the acquisition is interrupted or not by the software of the reader, if not, storing the image by the reader, and if so, executing S7;
s7: the method comprises the steps that after software of a reader starts a display thread, image data are coded, and a frame of image is displayed;
s8: the reader' S software starts the image acquisition thread again and repeats steps S3-S7.
Wherein, the step S3 further includes:
s3.1: starting an image acquisition thread by the software of the reader;
s3.2: software of the reader distributes an input/output buffer area of a PC end of a computer;
s3.3: the PC end of the computer configures the control of input and output;
s3.4: the software of the reader requests the USB acquisition camera to read in the data packet and transmits the data packet to the PC end of the computer.
The image quality of the image converted by the image conversion method is clear, and the distortion condition can not occur; in addition, the converted image display of the present invention does not exhibit quantization noise.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (2)

1. The method for converting the analog image into the digital image by the microfilm digital reader is characterized by comprising the following steps:
s1: connecting the USB interface of the reader to the PC end of the computer;
s2: the PC side detects whether the USB interface of the reader is connected to the PC side, if not, the PC side displays error information, and if so, the PC side moves to S3;
s3: software of the reader starts an image acquisition thread, requests a USB acquisition camera to read in a data packet and transmits the data packet to a PC (personal computer) end;
s4: the PC terminal of the computer judges whether a data packet read by the USB acquisition camera is obtained, if not, the software of the reader requests the USB acquisition camera to read the data packet again and transmits the data packet to the PC terminal of the computer; if so, move to S5;
s5: the software of the reader identifies that the PC end of the computer has not read a frame, if not, the software of the reader requests the USB acquisition camera to read in the data packet again and transmits the data packet to the PC end of the computer, and if so, S6 is executed;
s6: judging whether the acquisition is interrupted or not by the software of the reader, if not, storing the image by the reader, and if so, executing S7;
s7: the method comprises the steps that after software of a reader starts a display thread, image data are coded, and a frame of image is displayed;
s8: the reader' S software starts the image acquisition thread again and repeats steps S3-S7.
2. The method for converting an analog image to a digital image of a microfilm digital reader as recited in claim 1, wherein said step S3 further comprises:
s3.1: starting an image acquisition thread by the software of the reader;
s3.2: software of the reader distributes an input/output buffer area of a PC end of a computer;
s3.3: the PC end of the computer configures the control of input and output;
s3.4: the software of the reader requests the USB acquisition camera to read in the data packet and transmits the data packet to the PC end of the computer.
CN201611167848.9A 2016-12-16 2016-12-16 Conversion method from analog image to digital image of microfilm digital reader Active CN106651738B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611167848.9A CN106651738B (en) 2016-12-16 2016-12-16 Conversion method from analog image to digital image of microfilm digital reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611167848.9A CN106651738B (en) 2016-12-16 2016-12-16 Conversion method from analog image to digital image of microfilm digital reader

Publications (2)

Publication Number Publication Date
CN106651738A CN106651738A (en) 2017-05-10
CN106651738B true CN106651738B (en) 2020-06-12

Family

ID=58823784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611167848.9A Active CN106651738B (en) 2016-12-16 2016-12-16 Conversion method from analog image to digital image of microfilm digital reader

Country Status (1)

Country Link
CN (1) CN106651738B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN87103353A (en) * 1987-05-05 1988-01-20 张明 Portable microfilm reader
US5790260A (en) * 1995-11-08 1998-08-04 Financial Ware, Inc. Offline digitizing of items for subsequent image processing
CN102117342A (en) * 2011-01-21 2011-07-06 中国科学院上海技术物理研究所 Peripheral component interconnect (PCI) Express bus-based multiband infrared image real-time acquisition system and method
CN102256105A (en) * 2010-05-21 2011-11-23 安凯(广州)微电子技术有限公司 Method for capturing images by using multiple cameras on embedded platform
CN106210745A (en) * 2016-08-31 2016-12-07 成都市和平科技有限责任公司 A kind of intelligent jpeg image coding/decoding system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090092339A1 (en) * 2007-10-03 2009-04-09 Anderson Jr Thomas P Viewing and Scanning of Microfilm Using a Self-Contained Digital Device Without a Personal Computer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN87103353A (en) * 1987-05-05 1988-01-20 张明 Portable microfilm reader
US5790260A (en) * 1995-11-08 1998-08-04 Financial Ware, Inc. Offline digitizing of items for subsequent image processing
CN102256105A (en) * 2010-05-21 2011-11-23 安凯(广州)微电子技术有限公司 Method for capturing images by using multiple cameras on embedded platform
CN102117342A (en) * 2011-01-21 2011-07-06 中国科学院上海技术物理研究所 Peripheral component interconnect (PCI) Express bus-based multiband infrared image real-time acquisition system and method
CN106210745A (en) * 2016-08-31 2016-12-07 成都市和平科技有限责任公司 A kind of intelligent jpeg image coding/decoding system and method

Also Published As

Publication number Publication date
CN106651738A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
US10375321B2 (en) Imaging processing method and electronic device supporting the same
EP2355471B1 (en) Apparatus and method for transmitting handwriting animation message
EP2620844A1 (en) Apparatus and method for adjusting touch sensitivity in mobile terminal
CN102831375B (en) Image signal processor with two-dimensional code identification and two-dimensional code identification method
US9317935B2 (en) Apparatus and method for transmitting handwritten message including time information
CN115460414B (en) Video compression method and system of baseboard management control chip and related components
CN105991953B (en) Video signal processing method and electronic equipment
CN106651738B (en) Conversion method from analog image to digital image of microfilm digital reader
CN113573072A (en) Image processing method and device and related components
EP3855754A1 (en) Video processing method and apparatus, electronic device, and storage medium
CN107370964B (en) Digital USB signal conversion system for monitoring equipment and implementation method
CN111343463A (en) Image coding device and method and image coder
CN107357906B (en) Data processing method and device and image acquisition equipment
CN106851134B (en) Method, device and system for transmitting image data
CN111083416A (en) Data processing method and device, electronic equipment and readable storage medium
CN212231643U (en) Image coding equipment and image coder
CN203502971U (en) Video barcode scanner based on ARM microcontroller
CN214675325U (en) Image acquisition system
CN113760431B (en) Application control method and device, electronic equipment and readable storage medium
CN103051877A (en) Method for reducing image storage space
CN202798921U (en) High-definition camera based on scene programmable logic gate array
CN114125429A (en) Image detection device, unmanned system, and unmanned vehicle
CN204119412U (en) Can scan-type remote controller
CN101325695A (en) Liquid crystal television with USB-OTG function
KR20160127599A (en) Method for high definition image processing for efficient transfer

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