CN111935454B - Traffic-saving image stream transmission method and electronic equipment - Google Patents
Traffic-saving image stream transmission method and electronic equipment Download PDFInfo
- Publication number
- CN111935454B CN111935454B CN202010730333.5A CN202010730333A CN111935454B CN 111935454 B CN111935454 B CN 111935454B CN 202010730333 A CN202010730333 A CN 202010730333A CN 111935454 B CN111935454 B CN 111935454B
- Authority
- CN
- China
- Prior art keywords
- pixel
- image
- region
- area
- target
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Closed-Circuit Television Systems (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The embodiment of the invention provides a traffic-saving image stream transmission method and electronic equipment, wherein the traffic-saving image stream transmission method comprises the following steps: acquiring a first image and a second image in an ith transmission period; dividing the second image into N second pixel regions; determining a target pixel area and an area number of the target pixel area from the N second pixel areas; and transmitting the pixel data of the target pixel area and the area number of the target pixel area to a display device. The embodiment of the invention can effectively avoid directly transmitting all the pixel data of the second image, thereby effectively reducing the requirement on the transmission rate, further effectively ensuring the transmission timeliness of the image stream, and being beneficial to improving the fluency of the display picture of the display equipment.
Description
Technical Field
The invention relates to the technical field of data transmission, in particular to a traffic-saving image stream transmission method and electronic equipment.
Background
As is well known, an electronic endoscope is an electronic optical instrument which can be inserted into a body cavity or an internal organ cavity to perform direct observation, diagnosis, and treatment. Since the images fed back by the electronic endoscope play an important role in the diagnosis of diseases or the normal operation of surgery, there are relatively high demands for the definition of the image stream captured by the electronic endoscope and the real-time property of image stream transmission.
In the prior art, the complete image stream shot by the electronic endoscope is generally directly transmitted to a display device for displaying. Along with the improvement of the requirement on the definition of the image stream, the transmission rate of the image stream is increased, so that the transmission of the image stream is not timely enough, and the image displayed by the display equipment is easy to be blocked.
Disclosure of Invention
The embodiment of the invention provides a flow-saving image stream transmission method and electronic equipment, and aims to solve the problems that the transmission of an image stream is not timely enough, and a picture displayed by display equipment is easy to be blocked.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a traffic-saving image stream transmission method, including:
in an ith transmission period, acquiring a first image and a second image, wherein the second image is an ith frame image in an image stream, the first image is a previous frame image of the second image in the image stream, the first image comprises N first pixel areas, and i and N are integers greater than 1;
dividing the second image into N second pixel regions, wherein the N first pixel regions correspond to the N second pixel regions one by one, and the N first pixel regions are associated with the N second pixel regions through region numbers;
determining a target pixel area and an area number of the target pixel area from the N second pixel areas, wherein the target pixel area is the second pixel area which is in the N second pixel areas and meets a first preset condition in pixel data difference with the corresponding first pixel area;
and transmitting the pixel data of the target pixel area and the area number of the target pixel area to a display device.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
an obtaining module, configured to obtain a first image and a second image in an ith transmission cycle, where the second image is an ith frame image in an image stream, the first image is a previous frame image of the second image in the image stream, the first image includes N first pixel regions, and i and N are integers greater than 1;
the dividing module is used for dividing the second image into N second pixel regions, wherein the N first pixel regions correspond to the N second pixel regions one by one, and the N first pixel regions are associated with the N second pixel regions through region numbers;
the determining module is used for determining a target pixel area and an area number of the target pixel area from the N second pixel areas, wherein the target pixel area is the second pixel area, of the N second pixel areas, of which the difference of pixel data with the corresponding first pixel area meets a first preset condition;
and the first transmission module is used for transmitting the pixel data of the target pixel area and the area number of the target pixel area to display equipment.
In a third aspect, an embodiment of the present invention further provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the above method when executing the computer program.
In a fourth aspect, the present invention also provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the method described above.
The method for transmitting the provincial flow image stream, provided by the embodiment of the invention, comprises the steps of acquiring a first image and a second image in an ith transmission period, wherein the first image is a previous frame image of the second image in the image stream and comprises N first pixel areas; the method comprises the steps of dividing a second image into N second pixel regions in one-to-one correspondence with the N first pixel regions, determining a target pixel region from the N second pixel regions, wherein the difference between pixel data and the pixel data of the corresponding first pixel region meets a first preset condition, and transmitting the pixel data of the target pixel region and a region number of the target pixel region to a display device. In this embodiment, when the second image of the image stream is transmitted in the ith transmission cycle, only the pixel data and the area number of the target pixel area having a pixel data difference with the previous frame image in the second image need to be transmitted to the display double speed, so that direct transmission of all the pixel data of the second image can be effectively avoided, the requirement on the transmission speed is effectively reduced, the transmission timeliness of the image stream can be effectively ensured, and the smoothness of the display image of the display device can be improved.
Drawings
Fig. 1 is a flowchart of a traffic-saving image stream transmission method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments. In the following description, specific details are provided, such as specific configurations and components, merely to facilitate a thorough understanding of embodiments of the invention. Thus, it will be apparent to those skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the invention. In addition, descriptions of well-known functions and constructions are omitted for clarity and conciseness.
Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. The use of "first," "second," and the like, herein does not denote any order, quantity, or importance, but rather the terms "first," "second," and the like are used to distinguish one element from another. Also, the use of the terms "a" or "an" and the like do not denote a limitation of quantity, but rather denote the presence of at least one.
As shown in fig. 1, a flow-saving image stream transmission method provided in an embodiment of the present invention includes:
102, dividing the second image into N second pixel regions, wherein the N first pixel regions correspond to the N second pixel regions one to one, and the N first pixel regions are associated with the N second pixel regions through region numbers;
103, determining a target pixel area and an area number of the target pixel area from the N second pixel areas, wherein the target pixel area is the second pixel area, of the N second pixel areas, whose pixel data difference with the corresponding first pixel area satisfies a first preset condition;
and 104, transmitting the pixel data of the target pixel area and the area number of the target pixel area to a display device.
In this embodiment, the image stream may be acquired by a sensor of a camera type, for example; it will be readily appreciated that a plurality of images may be included in the image stream, for example, a camera may capture images in real time at a frequency to form the image stream. The purpose of acquiring the image stream may be considered to transmit the images included therein to a display device in real time for display.
The image stream typically includes a plurality of frames of images, each frame of image may include a plurality of pixels, and each pixel may have pixel data of a type such as brightness, color, pixel value, and the like. Based on the coordinate information and the like of a plurality of pixel points, each frame of image can be fixedly divided into N pixel areas, each pixel area can comprise one or more pixel points, and the pixel data of all the pixel points included in each pixel area form the pixel data of the pixel area. And for each pixel region, a corresponding region number may be associated.
The second image is the ith image in a plurality of images included in the image stream, where the image stream may refer to an image stream to be transmitted to the display device, and each frame of image in the image stream may be considered to have a transmission period, and on a real-time display occasion, the transmission period is usually less than or equal to an acquisition period of the camera, so as to meet a real-time transmission requirement of the image; the second image can be regarded as an image which needs to be transmitted in the ith transmission period, and the first image is an image of a frame before the second image. If the content currently displayed in the display device corresponds to the first image, the effect of replacing the content corresponding to the first image with the content corresponding to the second image in the display device needs to be achieved subsequently, so as to meet the requirement of real-time display.
In this embodiment, instead of directly sending the pixel data of all the pixel regions of the second image to the display device for display, the second image is divided into N second pixel regions, and the N second pixel regions are compared with the N first pixel regions included in the first image one by one, so as to determine the target pixel region, and the pixel data of the target pixel region and the region number of the target pixel region are transmitted to the display device.
Specifically, in a general case, the pixel sizes and resolutions of the first image and the second image are consistent, and each image may be fixedly divided into N pixel regions according to a certain rule according to the coordinate positions of the pixels, where the first pixel region may be regarded as a pixel region included in the first image, and the first image may have been divided into N first pixel regions according to the rule before the transmission period corresponding to the second image; in the transmission period corresponding to the second image, after the second image is acquired, the second image may be similarly divided into N pixel regions according to the rule, where the N pixel regions are the N second pixel regions.
The coordinate positions of the N first pixel areas and the N second pixel areas on the corresponding images can be in one-to-one correspondence, so that in order to facilitate comparison, the pixel areas on each image can be numbered to obtain area numbers, the first pixel areas with the same area numbers in the first image and the second image are compared with the second pixel areas respectively, and comparison results of each second pixel area in the N second pixel areas in the second image can be obtained respectively; the alignment is used to reflect: whether the difference between the pixel data of each second pixel region and the pixel data of the first pixel region corresponding to the second pixel region (i.e., the pixel data difference) satisfies a first predetermined condition is determined. When the pixel data difference corresponding to a certain second pixel region meets the first preset condition, the second pixel region may be determined as the target pixel region.
The first preset condition here may mean that pixel value sequences corresponding to all pixel points in the pixel region are different, or the number of the pixel values having a difference in the pixel value sequences exceeds a certain value or ratio, and the like, and is not specifically limited here.
After the target pixel area is determined, the pixel data of the target pixel area and the area number of the target pixel area can be transmitted to the display device; the display device can update the current display content according to the pixel data and the area number. For example, when the display device currently displays the content corresponding to the first image, and the pixel data of the first image in the first pixel region with the region number of 20 is D1, after receiving the pixel data D2 of the target pixel region with the region number of 20, the display region corresponding to the region number of 20 in the display device may be updated and displayed as the pixel data D2 by the pixel data D1.
The method for transmitting the provincial flow image stream, provided by the embodiment of the invention, comprises the steps of acquiring a first image and a second image in an ith transmission period, wherein the first image is a previous frame image of the second image in the image stream and comprises N first pixel areas; the method comprises the steps of dividing a second image into N second pixel regions in one-to-one correspondence with the N first pixel regions, determining a target pixel region from the N second pixel regions, wherein the difference between pixel data and the pixel data of the corresponding first pixel region meets a first preset condition, and transmitting the pixel data of the target pixel region and a region number of the target pixel region to a display device. In this embodiment, when the second image of the image stream is transmitted in the ith transmission cycle, only the pixel data and the area number of the target pixel area having the pixel data difference with the previous frame image in the second image need to be transmitted to the display double speed, so that the direct transmission of all the pixel data of the second image can be effectively avoided, thereby effectively reducing the requirement on the transmission rate, further effectively ensuring the transmission timeliness of the image stream, contributing to improving the smoothness of the display image of the display device, and improving the display effect.
Optionally, before the acquiring the first image and the second image, the method further includes:
transmitting all pixel data of a first frame image in the image stream to a display device.
It is easy to understand that when the first frame image of the image stream is transmitted, there may be no image for performing pixel data comparison, so that all the pixel data of the first frame image can be directly transmitted to the display device, thereby facilitating the display device to display the real-time image.
Of course, in some possible embodiments, an initial image may be set for comparing the pixel data of the sub-pixel region with the pixel data of the first frame image of the image stream; for example, the initial image may be a completely black image, and thus, when a non-black pixel appears in the first frame image of the image stream, the target pixel region may be determined, and the pixel data of the target pixel region and the region number of the target pixel region may be transmitted to the display device; the image initially displayed by the display device may also be a completely black image, and the display content may be updated after the pixel data and the area number are received, so that the effect of reducing the data transmission amount may also be achieved.
Optionally, in the case that i is greater than the preset value P, the step 103 of determining a target pixel region from the N second pixel regions includes:
determining a candidate pixel area, wherein the candidate pixel area is a second pixel area of the N second pixel areas except for a third pixel area, the third pixel area is a second pixel area with a first area number in the N second pixel areas, and in each frame image of a previous P frame image of the image stream, pixel data of the pixel area corresponding to the first area number are preset pixel data, where P is an integer greater than 1;
and determining a target pixel area from the candidate pixel areas.
In practical applications, for devices such as electronic endoscopes, a specific aspect ratio, for example, 16:9, may exist for each frame of image in the acquired image stream; however, in use, due to factors such as the illumination range or the position or performance of the light-sensing element, the pixel data actually useful in the image may only be present in certain areas of the image, for example, a circular area in the middle of the image.
In order to reduce the number of times of comparing the second pixel region with the first pixel region in determining the target pixel region, in this embodiment, the region where the actually useful pixel data is located is first screened to obtain a candidate pixel region, and then only the target pixel region needs to be determined from the candidate pixel region, so that the determination speed of the target pixel region can be effectively increased, and the calculation resources are saved.
Specifically, the present embodiment determines the candidate pixel region by excluding the third pixel region, and as described above, the pixel regions in each frame image may be associated by the region numbers, and for convenience of description, the pixel regions in each frame image are mainly represented by the region numbers.
In this embodiment, statistics may be performed on a previous P frame image in the image stream, and if pixel data of a certain area number in the previous P frame image is preset pixel data, for example, pixel points in one area number are all black, or gray levels of the pixel points are all higher than a gray threshold, and the like, the area number may be determined as the first area number, and a second pixel area corresponding to the area number is determined as a third pixel area.
P is a preset value, for example, 200, 300, etc., and can be set according to actual needs. In some possible embodiments, the determination of the first area number may be performed after the P-th transmission period is finished; and under the condition that the i is larger than the preset value P, in the ith transmission period, determining the third pixel region and the candidate pixel region directly based on the determined first region number.
In one example, the pixel data comprises a sequence of RGB values; the first preset condition comprises the following steps: the RGB value sequence of the second pixel region is different from the RGB value sequence of the first pixel region corresponding to the second pixel region.
It is easy to understand that the RGB value is a value determined based on an RGB color pattern, the RGB color pattern is obtained by changing three color channels of Red (Red, R), Green (Green, G), and Blue (Blue, B) and superimposing them with each other, RGB represents three color channels of Red, Green, and Blue, and a value range of each color channel may be 0 to 255. For example, the RGB value of black may be (0,0,0), the RGB value of red may be (255,0,0), and the RGB value of green may be (0,255, 0).
For a pixel region, one or more pixel points may be included, each pixel point has a corresponding RGB value, and an RGB value sequence may be obtained by arranging the RGB values of all the pixel points in the pixel region.
In this example, whether the pixel data of any second pixel region is different from the pixel data of the corresponding first pixel region is determined by the RGB value sequence, and whether the second pixel region is the target pixel region is determined according to the determination result. The first pixel region corresponds to the second pixel region, and the first pixel region and the second pixel region are mainly the same in corresponding region number. Because the RGB value sequence can completely reflect the specific color of each pixel, the processing such as binaryzation and the like for each image in the image stream is not needed, the image processing time is saved, the determination speed of the target pixel area is higher, and the color reality degree of the display content on the display equipment is also favorably ensured.
Optionally, after the transmitting the pixel data of the target pixel region and the region number of the target pixel region to the display device, the method further includes:
receiving a first instruction;
and transmitting all pixel data of the second image to a display device in response to the first instruction.
In the traffic-saving image stream transmission method provided by the embodiment of the invention, the difference pixel data between two adjacent frames of images is transmitted, and the display content is updated by the display equipment according to the difference pixel data. In order to avoid the situation that the content displayed by the display device is distorted due to the occurrence of abnormality or error accumulation in the transmission of the difference pixel data, in this embodiment, all the pixel data of the second image may be directly transmitted to the display device under the condition that the first instruction is received, so that the real-time image is updated to the display device.
The first instruction may be generated by a user operating on a display device, or may be generated by a user operating on an electronic device such as an electronic endoscope for executing the above-described low-throughput image streaming method, and is not particularly limited herein.
Optionally, the transmitting the pixel data of the target pixel region and the region number of the target pixel region to a display device includes:
assembling the area number of the target pixel area as an object attribute and the pixel data of the target pixel area as a value of the object attribute to obtain target transmission data;
and transmitting the target transmission data to the display device.
In this embodiment, a JavaScript Object Notation (JSON) format may be adopted to transmit the pixel data and the region number of the target pixel region.
JSON is a string representation of a JavaScript object that uses text to represent the information of a JavaScript object, essentially a string. In JavaScript, the target transfer data may be of an object type, for example, in one transfer process, the area numbers of the target pixel areas are 20 and 21, the pixel data (RGB values for example) of the target pixel areas of the two area numbers are AABBs 33 and 1122CC, respectively, and the data structure of the target transfer data may be { 20: AABB33, 21: 1122CC, and the data structure is expressed by JSON format and then transmitted to a display device.
In this embodiment, the JSON-formatted target transmission data is used to transmit the region number and the pixel data of the target pixel region to the display device, which is convenient for generation and analysis of the transmission data and can effectively improve the transmission speed.
An embodiment of the present invention further provides an electronic device, including:
an obtaining module 201, configured to obtain a first image and a second image in an ith transmission period, where the second image is an ith frame image in an image stream, the first image is a previous frame image of the second image in the image stream, the first image includes N first pixel regions, and i and N are both integers greater than 1;
a dividing module 202, configured to divide the second image into N second pixel regions, where the N first pixel regions correspond to the N second pixel regions one to one, and the N first pixel regions are associated with the N second pixel regions through region numbers;
a determining module 203, configured to determine a target pixel region and a region number of the target pixel region from the N second pixel regions, where the target pixel region is a second pixel region, of the N second pixel regions, where a difference between pixel data of the second pixel region and a pixel data of a corresponding first pixel region meets a first preset condition;
a first transmission module 204, configured to transmit the pixel data of the target pixel region and the region number of the target pixel region to a display device.
Optionally, the electronic device further comprises:
and the second transmission module is used for transmitting all pixel data of the first frame image in the image stream to the display equipment.
Optionally, the determining module 203 includes:
a first determining unit, configured to determine a candidate pixel region, where the candidate pixel region is a second pixel region of the N second pixel regions except for a third pixel region, where the third pixel region is a second pixel region having a first region number in the N second pixel regions, and pixel data of a pixel region corresponding to the first region number in each frame image of a previous P frame image of the image stream is preset pixel data, where P is an integer greater than 1;
a second determining unit configured to determine a target pixel region from the candidate pixel regions.
Optionally, the pixel data comprises a sequence of RGB values;
the first preset condition includes: the RGB value sequence of the second pixel region is different from the RGB value sequence of the first pixel region corresponding to the second pixel region.
Optionally, the electronic device further comprises:
the receiving module is used for receiving a first instruction;
and the third transmission module is used for responding to the first instruction and transmitting all pixel data of the second image to the display equipment.
Optionally, the first transmission module 204 includes:
the assembling unit is used for assembling the area number of the target pixel area as an object attribute and the pixel data of the target pixel area as a value of the object attribute to obtain target transmission data;
a transmission unit for transmitting the target transmission data to the display device.
It should be noted that the electronic device is an electronic device corresponding to the traffic-saving image stream transmission method, and all implementation manners in the method embodiments are applicable to the embodiment of the electronic device, so that the same technical effects can be achieved.
Optionally, an embodiment of the present invention further provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the above-mentioned traffic-saving image stream transmission method when executing the computer program.
Optionally, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for transmitting a traffic-saving image stream is implemented.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (9)
1. A method for transmitting a flow-saving image stream is characterized by comprising the following steps:
in an ith transmission period, acquiring a first image and a second image, wherein the second image is an ith frame image in an image stream, the first image is a previous frame image of the second image in the image stream, the first image comprises N first pixel areas, and i and N are integers greater than 1;
dividing the second image into N second pixel regions, wherein the N first pixel regions correspond to the N second pixel regions one by one, and the N first pixel regions are associated with the N second pixel regions through region numbers;
determining a target pixel area and an area number of the target pixel area from the N second pixel areas, wherein the target pixel area is the second pixel area which is in the N second pixel areas and meets a first preset condition in pixel data difference with the corresponding first pixel area; the first preset condition is that pixel value sequences corresponding to all pixel points in the pixel region are different, or the number of the pixel values with difference in the pixel value sequences exceeds a set value or proportion;
transmitting the pixel data of the target pixel area and the area number of the target pixel area to display equipment;
when the i is greater than the preset value P, determining a target pixel region from the N second pixel regions includes:
determining a candidate pixel area, wherein the candidate pixel area is a second pixel area of the N second pixel areas except for a third pixel area, the third pixel area is a second pixel area with a first area number in the N second pixel areas, and in each frame image of a previous P frame image of the image stream, pixel data of the pixel area corresponding to the first area number are preset pixel data, wherein P is an integer greater than 1, pixel points in the preset pixel data are all black, or the gray level of the pixel points is higher than a gray level threshold;
and determining a target pixel area from the candidate pixel areas.
2. The method of claim 1, wherein prior to acquiring the first image and the second image, the method further comprises:
transmitting all pixel data of a first frame image in the image stream to a display device.
3. The method of claim 1, wherein the pixel data comprises a sequence of RGB values;
the first preset condition includes: the sequence of the RGB values of the second pixel region is different from the sequence of the RGB values of the first pixel region corresponding to the second pixel region.
4. The method of claim 1, wherein after transmitting the pixel data of the target pixel region and the region number of the target pixel region to a display device, the method further comprises:
receiving a first instruction;
and transmitting all pixel data of the second image to a display device in response to the first instruction.
5. The method of claim 1, wherein transmitting the pixel data of the target pixel region and the region number of the target pixel region to a display device comprises:
assembling the area number of the target pixel area as an object attribute and the pixel data of the target pixel area as a value of the object attribute to obtain target transmission data;
and transmitting the target transmission data to the display device.
6. An electronic device, comprising:
an obtaining module, configured to obtain a first image and a second image in an ith transmission cycle, where the second image is an ith frame image in an image stream, the first image is a previous frame image of the second image in the image stream, the first image includes N first pixel regions, and i and N are both integers greater than 1;
the dividing module is used for dividing the second image into N second pixel regions, wherein the N first pixel regions correspond to the N second pixel regions one by one, and the N first pixel regions are associated with the N second pixel regions through region numbers;
a determining module, configured to determine a target pixel region and a region number of the target pixel region from the N second pixel regions, where the target pixel region is a second pixel region, of the N second pixel regions, where a difference between pixel data of the second pixel region and a pixel data of a corresponding first pixel region meets a first preset condition; the first preset condition is that pixel value sequences corresponding to all pixel points in the pixel region are different, or the number of the pixel values with difference in the pixel value sequences exceeds a set value or proportion;
the first transmission module is used for transmitting the pixel data of the target pixel area and the area number of the target pixel area to display equipment;
under the condition that i is greater than a preset value P, the determining module comprises:
a first determining unit, configured to determine a candidate pixel region, where the candidate pixel region is a second pixel region of the N second pixel regions except for a third pixel region, where the third pixel region is a second pixel region having a first region number in the N second pixel regions, and in each frame image of a previous P frame image of the image stream, pixel data of the pixel region corresponding to the first region number are preset pixel data, where P is an integer greater than 1, and pixel points in the preset pixel data are all black, or gray levels of the pixel points are higher than a gray threshold;
a second determining unit configured to determine a target pixel region from the candidate pixel regions.
7. The electronic device of claim 6, further comprising:
and the second transmission module is used for transmitting all pixel data of the first frame image in the image stream to the display equipment.
8. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 5 when executing the computer program.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010730333.5A CN111935454B (en) | 2020-07-27 | 2020-07-27 | Traffic-saving image stream transmission method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010730333.5A CN111935454B (en) | 2020-07-27 | 2020-07-27 | Traffic-saving image stream transmission method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111935454A CN111935454A (en) | 2020-11-13 |
CN111935454B true CN111935454B (en) | 2022-08-26 |
Family
ID=73315248
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010730333.5A Active CN111935454B (en) | 2020-07-27 | 2020-07-27 | Traffic-saving image stream transmission method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111935454B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112954261B (en) * | 2021-03-18 | 2021-09-10 | 深圳奇实科技有限公司 | Video conference network flow control method and system |
CN116152687B (en) * | 2023-04-21 | 2023-07-14 | 深圳市慧明捷科技有限公司 | Unmanned aerial vehicle data acquisition module |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5861922A (en) * | 1992-09-16 | 1999-01-19 | Fujitsu Ltd. | Image data coding and restoring method and apparatus for coding and restoring the same |
US5937097A (en) * | 1995-12-21 | 1999-08-10 | Canon Kabushiki Kaisha | Motion detection method and apparatus |
WO2019001091A1 (en) * | 2017-06-30 | 2019-01-03 | 京东方科技集团股份有限公司 | Method and device for video transmission, and computer readable storage medium |
CN110910429A (en) * | 2019-11-19 | 2020-03-24 | 普联技术有限公司 | Moving target detection method and device, storage medium and terminal equipment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2933626B2 (en) * | 1988-05-20 | 1999-08-16 | オリンパス光学工業株式会社 | Endoscope image processing device |
CA2455043A1 (en) * | 2004-01-09 | 2005-07-09 | Digital Multitools Inc. | Method and apparatus for facilitating control of a target computer by a remote computer |
US7212174B2 (en) * | 2004-06-24 | 2007-05-01 | International Business Machines Corporation | Systems and methods for sharing application data in a networked computing environment |
JP4936528B2 (en) * | 2007-03-28 | 2012-05-23 | 富士フイルム株式会社 | Capsule endoscope system and method for operating capsule endoscope system |
CN106657705B (en) * | 2016-10-14 | 2019-01-29 | 惠州Tcl移动通信有限公司 | A kind of method and system for transmitting image to display screen based on mobile terminal |
-
2020
- 2020-07-27 CN CN202010730333.5A patent/CN111935454B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5861922A (en) * | 1992-09-16 | 1999-01-19 | Fujitsu Ltd. | Image data coding and restoring method and apparatus for coding and restoring the same |
US5937097A (en) * | 1995-12-21 | 1999-08-10 | Canon Kabushiki Kaisha | Motion detection method and apparatus |
WO2019001091A1 (en) * | 2017-06-30 | 2019-01-03 | 京东方科技集团股份有限公司 | Method and device for video transmission, and computer readable storage medium |
CN110910429A (en) * | 2019-11-19 | 2020-03-24 | 普联技术有限公司 | Moving target detection method and device, storage medium and terminal equipment |
Non-Patent Citations (2)
Title |
---|
Coding the displaced frame difference for video compression;K. Ratakonda;《Proceedings of International Conference on Image Processing》;20020806;全文 * |
医学图像无损压缩技术研究进展;刘玉;《磁共振成像》;20160228;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111935454A (en) | 2020-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10109068B2 (en) | Method of automatic identification and calibration of color and grayscale medical images | |
CN102629466B (en) | Adaptive correction method for color gray-scale image of display | |
JP4231071B2 (en) | Image display device, image display method, and image display program | |
JP6157138B2 (en) | Image processing device | |
CN111935454B (en) | Traffic-saving image stream transmission method and electronic equipment | |
JP7109540B2 (en) | image display system | |
CN112150972B (en) | Image compensation method and device and display device | |
TWI667610B (en) | Automatic Gamma curve setting method for display | |
EP3933672A1 (en) | Method of automatic image freezing of digestive endoscopy | |
WO2019134368A1 (en) | Image processing method of virtual reality and apparatus thereof | |
CN101471063A (en) | Color signal generating device | |
US20220166965A1 (en) | Systems for measuring naked-eye stereoscopic image, methods and apparatuses for processing image and display devices | |
CN112884661B (en) | Image processing apparatus, image processing method, display apparatus, and computer-readable storage medium | |
US8279223B2 (en) | Image processing apparatus, image processing method and program | |
US20060050084A1 (en) | Apparatus and method for histogram stretching | |
WO2024221677A1 (en) | Gamma debugging method, display panel driving method, and readable storage medium | |
CN115657367B (en) | High-partition dynamic dimming method for LED backlight module | |
CN103139524B (en) | Method for optimizing video and messaging device | |
JP2010054729A (en) | Liquid crystal display device and color processing method | |
CN106657959B (en) | A kind of detection method and device of framing mask | |
CN115797276A (en) | Method, device, electronic device and medium for processing focus image of endoscope | |
JP6749504B2 (en) | Image processing apparatus, image processing method, and image processing program | |
CN107154015B (en) | Color blindness correction method based on regional mapping | |
CN117499559B (en) | Virtual shooting system, device configuration method, device, equipment and storage medium | |
JP2001306022A (en) | Image display device and image-adjusting 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 |