[go: up one dir, main page]

CN115412674B - Digital zooming method and system based on USB microscope - Google Patents

Digital zooming method and system based on USB microscope Download PDF

Info

Publication number
CN115412674B
CN115412674B CN202211052463.3A CN202211052463A CN115412674B CN 115412674 B CN115412674 B CN 115412674B CN 202211052463 A CN202211052463 A CN 202211052463A CN 115412674 B CN115412674 B CN 115412674B
Authority
CN
China
Prior art keywords
zooming
video stream
display device
image
identification signal
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
CN202211052463.3A
Other languages
Chinese (zh)
Other versions
CN115412674A (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.)
Shenzhen Maikelong Technology Co ltd
Original Assignee
Shenzhen Maikelong 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 Shenzhen Maikelong Technology Co ltd filed Critical Shenzhen Maikelong Technology Co ltd
Priority to CN202211052463.3A priority Critical patent/CN115412674B/en
Publication of CN115412674A publication Critical patent/CN115412674A/en
Application granted granted Critical
Publication of CN115412674B publication Critical patent/CN115412674B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Microscoopes, Condenser (AREA)

Abstract

The invention discloses a digital zooming method and a digital zooming system based on a USB microscope. The method comprises the following steps: the image acquisition device is in communication connection with the display device, the image acquisition device is used for acquiring image information of the shooting area, the image acquisition device is configured to send a first video stream to the display device, and the display device displays images according to the first video stream; acquiring a zooming instruction, and transmitting a first identification signal to a display device by a picture acquisition device in response to the zooming instruction; the display device responds to the first identification signal to carry out digital zooming on the first video stream; the first identification signal is inserted into the first video stream to form the transmission of the zooming signal, and particularly the first identification signal is inserted into the first video stream, so that the original data link is stable, and the digital zooming is realized without depending on the configuration of the picture acquisition device and the chip with the digital zooming function.

Description

Digital zooming method and system based on USB microscope
Technical Field
The invention relates to the technical field of USB microscopes, in particular to a digital zooming method and system based on a USB microscope.
Background
For a microscope, there are two ways of zooming, one is optical zooming; and secondly, digital zooming. For optical zooming, zooming is realized by utilizing the physical structure of a lens, and a picture to be shot is reduced by a method of moving the lens; for digital zooming, the area of each pixel in the picture is increased by a processor in the microscope, so that the purpose of amplification is achieved. The method is like to use image processing software to change the area of the picture, but the program is carried out in a digital camera, a part of pixels on the original CCD image sensor are enlarged by using an interpolation processing means, and the pixels on the CCD image sensor are enlarged to the whole picture by using an interpolation algorithm. In fact, the digital zoom does not change the focal length of the lens, which is a principle technical means for realizing digital zoom by software in the prior art.
In the prior art, for the rapidly developed electronic microscope or digital microscope products, the electronic microscope or digital microscope products are popular with the vast users due to portability and usability, and the ways of realizing zooming on the products are the optical zooming and the digital zooming; however, for digital zooming, the existing electron microscope is installed in the electron microscope by adopting a chip with a built-in zooming function, and then the zoomed picture is transmitted to a computer display screen for displaying; the cost of the product chip produced by the method is high, and the transmission process influences the data transmission and the picture display stability of the digital microscope; therefore, how to improve the zooming mode is always a problem to be solved, and the first way is to realize the zooming mode without adopting a built-in high-performance chip so as to reduce the product cost; secondly, a chip without a built-in zooming function is adopted, and the implementation is realized in a mode; particularly, for the USB microscope, the data communication mode uses the USB cable, and the d+ and D-signal lines of the USB cable except the positive and negative power lines need to transmit video streams, if the transmission of other signals is inserted, the video streams will be interrupted, and the USB microscope and the computer will fail to communicate, so it is necessary to develop a method to make the digital zoom of the USB camera not depend on the functional chip, but also overcome the limitation of the USB cable to signal transmission.
Disclosure of Invention
Aiming at the problem of how to digitally zoom a USB microscope when the USB microscope adopts a chip without a built-in digital zooming function in the prior art; the application provides a technical scheme for solving.
In order to achieve the above object, the present invention provides a digital zoom method based on a USB microscope, the method comprising:
the image acquisition device is in communication connection with the display device, and is used for acquiring image information of a shooting area, and is configured to send a first video stream to the display device, and the display device displays images according to the first video stream;
acquiring a zooming instruction, wherein the picture acquisition device responds to the zooming instruction and sends a first identification signal to the display device;
the display device digitally zooms the first video stream in response to the first identification signal.
Preferably, the first video stream is a video picture acquired by the picture acquisition device in real time.
Preferably, the first identification signal is a preset image; when the picture acquisition device acquires a zooming instruction, inserting frames of the preset images into the first video stream and sending the first video stream; and after the display device recognizes the preset image, carrying out digital zooming on the first video stream.
Preferably, when the display device recognizes the preset image, the received preset image is not displayed.
Preferably, the display device includes a zoom cycle; in the zooming cycle, the display device counts the recognition times when recognizing the preset image, and the zooming proportion is determined according to the recognition times; the display device resumes the zoom cycle when the number of identifications increases up to a number of times threshold.
Preferably, the preset image is a seven-color bar chart.
Preferably, the screen acquisition device and the display device communicate through a USB cable; the first video stream is transmitted over a USB cable.
Also disclosed is an instruction processing method comprising:
receiving a zooming instruction;
extracting a pre-stored first identification signal, wherein the first identification signal is used for triggering digital zooming of a first video stream;
and inserting frames of the first identification signal into the first video stream and then sending the first identification signal.
Also disclosed is a digital zoom processing method, comprising:
receiving a first video stream having a first identification signal;
in response to the first identification signal, digital zooming is performed on the first video stream.
The digital zoom system adopts the method; comprising the following steps:
the USB microscope is used for realizing an instruction processing method; the USB microscope comprises an image acquisition unit, a first control unit, a first storage unit and a first communication unit;
the display device is used for realizing a digital zooming processing method; the display device comprises an image display unit, a second control unit and a second communication unit;
the image acquisition unit is used for acquiring picture information of a shooting area, and the first storage unit is used for storing a preset image; when the first control unit receives a zooming instruction, a first video stream with a preset image inserted into a frame is sent to the second communication unit through the first communication unit;
the image display unit is used for displaying the first video stream, and the second control unit is used for identifying the preset image so as to carry out digital zooming on the first video stream.
The beneficial effects of the invention are as follows: the invention discloses a digital zooming method based on a USB microscope, which comprises the following steps: the image acquisition device is in communication connection with the display device, the image acquisition device is used for acquiring image information of the shooting area, the image acquisition device is configured to send a first video stream to the display device, and the display device displays images according to the first video stream; acquiring a zooming instruction, and transmitting a first identification signal to a display device by a picture acquisition device in response to the zooming instruction; the display device responds to the first identification signal to carry out digital zooming on the first video stream; the first identification signal is inserted into the first video stream to form the transmission of the zooming signal, and particularly the first identification signal is inserted into the first video stream, so that the original data link is stable, and the digital zooming is realized without depending on the configuration of the picture acquisition device and the chip with the digital zooming function.
Drawings
FIG. 1 is a flow chart of the method of the present invention;
FIG. 2 is a flow chart of interactions between the various entities in the present invention;
FIG. 3 is a diagram of a system software architecture of the present invention;
fig. 4 is a schematic diagram of a system structure according to the present invention.
The main reference numerals are as follows:
1. a USB microscope; 11. an image acquisition unit; 12. a first control unit; 13. a first storage unit; 14. a first communication unit;
2. a display device; 21. an image display unit; 22. a second control unit; 23. and a second communication unit.
Detailed Description
In order to more clearly illustrate the invention, the invention is further described below with reference to the accompanying drawings.
In the following description, details of selected examples are given to provide a more thorough understanding of the present invention. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. It should be understood that the detailed description is intended to illustrate the invention, and is not intended to limit the invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or groups thereof.
In the prior art, as described in the background, digital zooming of an electron microscope generally depends on the original functions of a chip configured in a microscope body, and the chip is high in price, so that the overall cost of a product is increased; the zooming process is finished on the microscope firstly, then the zoomed picture is transmitted to the display device for display, the process also leads the complexity of the microscope to rise when the zooming is processed, the operation amount is increased, and the lens is easy to heat; the service life is also reduced. Under the premise, the inventor hopes to start adopting an external digital zooming mode so as to reduce the product cost, improve the use experience and prolong the service life of the product; in the subsequent researches, it is found that for the microscope adopting the USB line for connection communication, video stream and current signals occupy all transmission channels of the USB line; if other signals are transmitted, the video stream transmission is interrupted, so that the display device and the microscope are disconnected; it is therefore also necessary to solve this problem to achieve a good zoom effect.
The invention discloses a digital zooming method based on a USB microscope, please refer to FIGS. 1-2; the method comprises the following steps:
the image acquisition device is in communication connection with the display device, the image acquisition device is used for acquiring image information of the shooting area, the image acquisition device is configured to send a first video stream to the display device, and the display device displays images according to the first video stream; the first video stream is a data stream acquired by the picture acquisition device, which enables the display device to display pictures shot in real time; in the actual production process, the image acquisition device refers to a product of an electron microscope or a lens assembly with an image sensor, and a processor is arranged in the image acquisition device for sending and reading instructions; the display device refers to a device with a display screen and a processor;
acquiring a zooming instruction, and transmitting a first identification signal to a display device by a picture acquisition device in response to the zooming instruction; the zooming instruction can be triggered by an entity key on the picture acquisition device, and can also be transmitted to the picture acquisition device by other wireless communication means; the first identification signal is a signal which can be inserted into the first video stream and ensures that the signal does not interrupt the picture taking means and the display means; specifically, the method can be a pixel signal, a picture stream signal or a specific timestamp node signal and the like;
the display device digitally zooms the first video stream in response to the first identification signal. The display device can carry out identification pairing on the first identification signal so as to start digital zooming, and the first video stream is data with time sequence, so that the part of the digital zooming is video stream data after the first identification signal; meanwhile, the first identification signal can also play a role in forming unique pairing identification by the picture acquisition device and the display device, so that the stability and the confidentiality of information transmission are ensured; the principle of digital zooming is realized by similar means in the prior art, and details are not repeated here. According to the scheme, a chip without a built-in zooming function can be used as a processor of the USB microscope, so that the production cost is reduced, the equipment stability is improved, the power consumption is reduced, and the digital zooming function is perfectly realized; ensuring good functionality.
In this embodiment, the first video stream is a video picture acquired in real time by the picture acquisition device. The method can display the pictures in real time, the first video stream data is continuously transmitted without interruption, and the first identification signal of the inserted frame in the first video stream enables the subsequent video stream to be displayed after digital zooming is completed.
In this embodiment, the first identification signal is a preset image; the preset image is pre-stored in the picture acquisition device; when the image acquisition device acquires a zooming instruction, a preset image is inserted into a first video stream to be sent, and the preset image is image stream data, so that the preset image can be smoothly transmitted in the first video stream without affecting the connection stability of the image acquisition device and a display device, and the image signal is taken as an identification signal to be inserted into the frame and has a nature of a natural timestamp, so that signal transmission and response can be completed in millisecond level, and calibration is performed without adding a timestamp mark additionally; after the display device recognizes the preset image, digital zooming is carried out on the first video stream. It should be noted that, the display device performs digital zooming on the video stream after the preset image, that is, when the video stream is not changed subsequently, the frames presented by the first video stream on the display device are all effects after real-time frame zooming; and the transmission data is unchanged, and the power consumption and the data flux of a picture acquisition device (USB microscope) are not increased in the whole process.
In a more preferred embodiment, the received preset image is not displayed when the display device recognizes the preset image. The display device can directly convert the video stream data and display the converted video stream data, and the preset image is used as an identification signal, so that the identification signal can be fed back quickly, and the response speed is far higher than that of cold starting of other signals; meanwhile, the image stream data is used as identification, so that the concealment of triggering and the uniqueness of pairing can be ensured.
In this embodiment, the display device includes a zoom cycle; in the zooming cycle, the display device counts the recognition times when recognizing the preset image, and the zooming proportion is determined according to the recognition times; the display device resumes the zoom cycle when the number of identifications increases up to the number of times threshold. That is, after the image acquisition device sends a first identification signal according to the zooming command for the first time, the display device successfully identifies the preset image to perform digital zooming, and counts as 1; after the picture acquisition device sends out a second first identification signal according to the zooming command for the second time, the first identification signal is not changed, but the time is 2 when the display device identifies, and then the digital zooming with the time of 2 corresponds to a second zooming multiple set in the zooming cycle; the counts are sequentially incremented until the cycle repeats. Correspondingly, in the product application, the user triggers a button on the USB microscope, the digital zoom multiple of the display device is X1, the button on the USB microscope is triggered again, the digital zoom multiple of the display device is adjusted to X2, the digital zoom is adjusted to Xn by analogy to the Nth trigger, and the digital zoom is adjusted to X1 until the digital zoom is adjusted to X1 after the N+1 triggers, and the zoom cycle is repeated.
In this embodiment, the preset image is a seven-color bar chart. By identifying the pixel information of the preset image, the preset image can be accurately paired, the pixel arrangement is clear, and the comparison verification can be quickly carried out.
In this embodiment, the screen acquisition device and the display device communicate through a USB cable; the first video stream is transmitted over the USB cable.
Also disclosed is an instruction processing method comprising:
receiving a zooming instruction;
extracting a pre-stored first identification signal, wherein the first identification signal is used for triggering digital zooming of a first video stream;
and inserting frames of the first identification signal into the first video stream and then sending the first identification signal. The effective processing of the zoom instruction can be completed, and more preferably, the signal limiting characteristic of the USB cable can be satisfied when the USB cable connection is used.
Also disclosed is a digital zoom processing method, comprising:
receiving a first video stream having a first identification signal;
in response to the first identification signal, digital zooming is performed on the first video stream. The specific first identification signal can be accurately matched and identified so as to realize the zooming of the first video stream code.
Also disclosed is a digital zoom system, please refer to fig. 3-4; the method is adopted; comprising the following steps:
a USB microscope 1 for implementing an instruction processing method; the USB microscope includes an image acquisition unit 11, a first control unit 12, a first storage unit 13, and a first communication unit 14;
a display device 2 for implementing a digital zoom processing method; the display device 2 includes an image display unit 21, a second control unit 22, and a second communication unit 23;
the image acquisition unit is used for acquiring picture information of a shooting area, and the first storage unit is used for storing a preset image; when the first control unit receives a zooming instruction, a first video stream with a preset image inserted into a frame is sent to the second communication unit through the first communication unit; the first communication unit and the second communication unit can be USB connection wires and data interfaces thereof, and can also be other connection forms;
the image display unit is used for displaying the first video stream, and the second control unit is used for identifying a preset image so as to digitally zoom the first video stream.
The invention has the advantages that:
the first identification signal is inserted into the first video stream to form the transmission of the zooming signal, and particularly the first identification signal is inserted into the first video stream, so that the original data link is stable, and the digital zooming is realized without depending on the configuration of the picture acquisition device and the chip with the digital zooming function.
The above disclosure is only a few specific embodiments of the present invention, but the present invention is not limited thereto, and any changes that can be thought by those skilled in the art should fall within the protection scope of the present invention.

Claims (8)

1. A digital zooming method based on a USB microscope is characterized in that a chip without a built-in zooming function is used as a processor of the USB microscope; the method comprises the following steps:
the image acquisition device is in communication connection with the display device, and is used for acquiring image information of a shooting area, and is configured to send a first video stream to the display device, and the display device displays images according to the first video stream;
acquiring a zooming instruction, wherein the picture acquisition device responds to the zooming instruction and sends a first identification signal to the display device;
the display device digitally zooms the first video stream in response to the first identification signal.
2. The USB microscope-based digital zoom method according to claim 1, wherein the first video stream is a video picture acquired in real time by the picture acquisition device.
3. The USB microscope based digital zoom method according to any one of claims 1-2, wherein the first identification signal is a preset image; when the picture acquisition device acquires a zooming instruction, inserting frames of the preset images into the first video stream and sending the first video stream; and after the display device recognizes the preset image, carrying out digital zooming on the first video stream.
4. A digital zoom method according to claim 3, wherein the received preset image is not displayed when the display device recognizes the preset image.
5. The digital zoom method according to claim 3, wherein the display device comprises a zoom cycle; in the zooming cycle, the display device counts the recognition times when recognizing the preset image, and the zooming proportion is determined according to the recognition times; the display device resumes the zoom cycle when the number of identifications increases up to a number of times threshold.
6. The digital zoom method according to claim 3, wherein the preset image is a seven-color bar chart.
7. The digital zoom method according to claim 3, wherein the image acquisition device and the display device communicate via a USB line; the first video stream is transmitted over a USB cable.
8. A digital zoom system, characterized in that the method according to any one of claims 1-7 is used; comprising the following steps:
the USB microscope uses a chip without a built-in zooming function as a processor of the USB microscope; the USB microscope comprises an image acquisition unit, a first control unit, a first storage unit and a first communication unit; the method is used for realizing the following instruction processing method;
receiving a zooming instruction;
extracting a pre-stored first identification signal, wherein the first identification signal is used for triggering digital zooming of a first video stream;
inserting the first identification signal into the first video stream and then transmitting
A display device including an image display unit, a second control unit, and a second communication unit;
the image acquisition unit is used for acquiring picture information of a shooting area, and the first storage unit is used for storing a preset image; when the first control unit receives a zooming instruction, a first video stream with a preset image inserted into a frame is sent to the second communication unit through the first communication unit;
the image display unit is used for displaying the first video stream, and the second control unit is used for identifying the preset image so as to carry out digital zooming on the first video stream.
CN202211052463.3A 2022-08-31 2022-08-31 Digital zooming method and system based on USB microscope Active CN115412674B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211052463.3A CN115412674B (en) 2022-08-31 2022-08-31 Digital zooming method and system based on USB microscope

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211052463.3A CN115412674B (en) 2022-08-31 2022-08-31 Digital zooming method and system based on USB microscope

Publications (2)

Publication Number Publication Date
CN115412674A CN115412674A (en) 2022-11-29
CN115412674B true CN115412674B (en) 2023-04-25

Family

ID=84164214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211052463.3A Active CN115412674B (en) 2022-08-31 2022-08-31 Digital zooming method and system based on USB microscope

Country Status (1)

Country Link
CN (1) CN115412674B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008153876A (en) * 2006-12-15 2008-07-03 Sony Corp Image display system, camera device, display processing device, and display magnification change method
CN102313979A (en) * 2010-07-05 2012-01-11 上海良相智能化工程有限公司 Portable digital microscopy device
CN203645758U (en) * 2013-12-09 2014-06-11 张波 Intelligent microscope for surgical operation
CN104756093A (en) * 2012-10-27 2015-07-01 梁平 Interchangeable wireless sensing apparatus for mobile or nreworked devices
CN105785561A (en) * 2014-12-22 2016-07-20 杭州唐光科技有限公司 Digital microscope and focusing method thereof
CN209784650U (en) * 2019-04-09 2019-12-13 深圳安东星科技有限公司 Multifunctional digital microscope

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100481886C (en) * 2004-12-28 2009-04-22 北京中星微电子有限公司 A method for implementing digital zooming and computer pick-up head
DE102016122004B4 (en) * 2016-11-16 2024-03-21 Carl Zeiss Meditec Ag Method for displaying images of a digital surgical microscope and digital surgical microscope system
EP3849202B1 (en) * 2020-01-10 2023-02-08 Nokia Technologies Oy Audio and video processing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008153876A (en) * 2006-12-15 2008-07-03 Sony Corp Image display system, camera device, display processing device, and display magnification change method
CN102313979A (en) * 2010-07-05 2012-01-11 上海良相智能化工程有限公司 Portable digital microscopy device
CN104756093A (en) * 2012-10-27 2015-07-01 梁平 Interchangeable wireless sensing apparatus for mobile or nreworked devices
CN203645758U (en) * 2013-12-09 2014-06-11 张波 Intelligent microscope for surgical operation
CN105785561A (en) * 2014-12-22 2016-07-20 杭州唐光科技有限公司 Digital microscope and focusing method thereof
CN209784650U (en) * 2019-04-09 2019-12-13 深圳安东星科技有限公司 Multifunctional digital microscope

Also Published As

Publication number Publication date
CN115412674A (en) 2022-11-29

Similar Documents

Publication Publication Date Title
US11860511B2 (en) Image pickup device and method of tracking subject thereof
CN107911644B (en) Method and device for carrying out video call based on virtual face expression
US6665453B2 (en) Multi-resolution support for video images
JP6382961B2 (en) Method and apparatus for acquiring video content
JP2005250950A (en) Marker presentation portable terminal, expanded sense of reality system, and its operation method
WO2008040566A1 (en) An electronic equipment and method in an electronic equipment
CN105554430B (en) A kind of video call method, system and device
CN110602401A (en) Photographing method and terminal
CN110266957B (en) Image shooting method and mobile terminal
CN111970456A (en) Shooting control method, device, equipment and storage medium
CN102682272A (en) Electronic system, image correction method and computer program product thereof
CN112949547A (en) Data transmission and display method, device, system, equipment and storage medium
CN112866576A (en) Image preview method, storage medium and display device
TWI608428B (en) Image processing system for generating information by image recognition and related method
CN107731020A (en) Multi-medium play method, device, storage medium and electronic equipment
JP6531007B2 (en) Mark processing device, program
JP2010113618A (en) Image distribution device and method, and program
CN114666477B (en) Video data processing method, device, equipment and storage medium
CN114070993A (en) Image pickup method, image pickup apparatus, and readable storage medium
CN115412674B (en) Digital zooming method and system based on USB microscope
KR20120054746A (en) Method and apparatus for generating three dimensional image in portable communication system
CN113506320B (en) Image processing method and device, electronic equipment and storage medium
CN108174112B (en) Processing method and device in camera shooting
CN112911191A (en) Video call quality adjusting method and device, electronic equipment and storage medium
CN113837937A (en) Multimedia processing chip, electronic equipment image fusion method and image cutting method

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