CN117857822A - Image communication control method for data service - Google Patents

Image communication control method for data service Download PDF

Info

Publication number
CN117857822A
CN117857822A CN202410257803.9A CN202410257803A CN117857822A CN 117857822 A CN117857822 A CN 117857822A CN 202410257803 A CN202410257803 A CN 202410257803A CN 117857822 A CN117857822 A CN 117857822A
Authority
CN
China
Prior art keywords
data
image
pixel
value
images
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410257803.9A
Other languages
Chinese (zh)
Other versions
CN117857822B (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.)
Shijiazhuang University
Original Assignee
Shijiazhuang University
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 Shijiazhuang University filed Critical Shijiazhuang University
Priority to CN202410257803.9A priority Critical patent/CN117857822B/en
Publication of CN117857822A publication Critical patent/CN117857822A/en
Application granted granted Critical
Publication of CN117857822B publication Critical patent/CN117857822B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention provides an image communication control method of data service, which belongs to the technical field of communication control and comprises the following steps: receiving and determining first data of image data of a transmitting end, and preprocessing the first data to determine second data; encoding each second image in the second data and compressing to determine third data; the third data is packaged into a data packet, the data packet is transmitted to a receiving end, and the receiving end receives and analyzes the data packet to determine fourth data so as to realize communication control; and carrying out post-processing on the fourth data and presenting the fourth data at the receiving end to finish image communication. The method can improve the image processing speed, reduce the data size of the image, improve the image analysis accuracy, ensure the image transmission quality, improve the transmission efficiency and the communication stability, and realize real-time transmission.

Description

Image communication control method for data service
Technical Field
The present invention relates to the field of communication control technologies, and in particular, to an image communication control method for a data service.
Background
The application range of image communication is very wide, and relates to a plurality of fields such as social entertainment, video conference and remote education, medical image transmission, security monitoring and the like, and the problems of low image processing speed, poor image transmission efficiency, low image transmission quality and the like caused by large image data volume in the current image communication process cannot be realized, so that the accuracy, the high efficiency and the real-time performance of image transmission can not be realized.
Accordingly, the present invention provides an image communication control method of a data service.
Disclosure of Invention
The invention provides an image communication control method of a data service, which is used for solving the defects of image communication in the prior art.
The invention provides an image communication control method of data service, comprising the following steps:
s101: receiving and determining first data of image data of a transmitting end, and preprocessing the first data to determine second data;
s102: encoding each second image in the second data and compressing to determine third data;
s103: the third data is packaged into a data packet, the data packet is transmitted to a receiving end, and the receiving end receives and analyzes the data packet to determine fourth data so as to realize communication control;
s104: and carrying out post-processing on the fourth data and presenting the fourth data at the receiving end to finish image communication.
According to the image communication control method of the data service provided by the invention, the preprocessing comprises image conversion, contrast gain, brightness gain and filtering processing.
According to the image communication control method of the data service provided by the invention, the image data of the transmitting end is received to determine the first data, the first data is preprocessed to determine the second data, and the method comprises the following steps:
converting all first images in the first data into corresponding first gray scale images;
determining a first window range of each pixel point in the first gray level image, and calculating second gray level values of corresponding pixel points based on the pixel points and first gray level values of all surrounding pixel points in the corresponding first window range;
wherein,a second gray value representing pixel i1, ">First gray values of surrounding pixel points j1 in a first window range corresponding to pixel point i1 are represented, +.>A first gray value representing a pixel point i1, N1 represents the number of all surrounding pixel points in a first window range corresponding to the pixel point i1, +.>Contrast gain factor representing the first window range corresponding to pixel i1, +.>Representing gray value corresponding to pixel point i1 after contrast adjustment in corresponding first window range, +.>Representing the luminance gain factor corresponding to pixel i1,representing pixel i1 based on brightness gain factor +.>Is set in the above-mentioned range;
calculating a third gray value of the corresponding pixel based on the coordinate value of the pixel, the second gray value and the filter matrix L1;
the method comprises the steps of carrying out a first treatment on the surface of the Wherein,third gray value representing pixel i1, is->Filter adjustment value for pixel i1, < ->Representing a standard set gray upper threshold; />Coordinate value representing pixel i1, +.>Representing coordinate value of +.>Second gray value of pixel of +.>Center filter weight corresponding to pixel i1 is indicated,/->Center filter adjustment value for pixel i1, < ->The coordinate values in the first gray level image are respectively expressed as +.>The coordinate values of the previous, the next, the previous two and the next two coordinates of the pixel point on the X axis,the coordinate values in the first gray level image are respectively expressed as +.>The coordinate values of the previous, the next, the previous two and the next two coordinates of the pixel point on the Y axis,/>intermediate filtering weight corresponding to pixel i1>Intermediate filter adjustment value representing pixel i1,/->Represents the corresponding edge filtering weight of pixel i1,/->An edge filter adjustment value representing pixel point i 1;
determining a second gray level image based on third gray level values corresponding to all pixel points in the first gray level image, and converting the second gray level image into a corresponding second image;
second data is determined based on all of the second images.
According to an image communication control method of a data service provided by the present invention, encoding and compressing each second image in second data to determine third data, including:
respectively acquiring a red component value and a blue component value of each pixel point in the second image;
determining a quantization step size based on the color components based on the transmission requirements;
taking a third gray value corresponding to each pixel point in the second gray image as a brightness value of each pixel point in the corresponding second image;
calculating the blue color degree and the red color degree of each pixel point based on the red component value, the blue component value, the brightness value and the quantization step length of each pixel point;
the method comprises the steps of carrying out a first treatment on the surface of the Wherein (1)>The luminance value of the pixel point i1 is represented, and the value of i1 is 1,2,3>Third gray value representing pixel i1, is->Represents the blue color weight value,/>Blue component value representing pixel i1, and>representing quantization step size +.>Represents the bluiness, < +.>Representing the weight value of redness>Red component value representing pixel i1, and>represents the redness of pixel i1, +.>Representation pair->Make a round upwards, add->Representation pair->Performing upward rounding;
determining a third image based on the brightness value, the blue degree and the red degree of each pixel point in the second image;
third data is determined based on all of the third images.
According to the image communication control method of the data service provided by the invention, the third data is encapsulated into the data packet, which comprises the following steps:
sequentially storing the brightness values, the blue degrees and the red degrees of all pixel points in each third image in third data into a data packet according to rows, wherein the brightness values of the pixel points in the first row of the third image are sequentially stored into the data packet, then the blue degrees and the red degrees of the pixel points in the first row of the third image are alternately stored into the data packet, and so on;
if the brightness value, the blue color and the red color of all the pixel points in all the third images are stored in a data amount larger than a preset amount, data segmentation is carried out, and the number of data packets is recorded after the storage is finished;
otherwise, the brightness values, the blue color and the red color of all pixel points in all third images in the third data are stored in one data packet;
and setting a data packet zone bit, wherein the zone bit comprises the quantity of brightness values, blue chromaticity and red chromaticity and the length corresponding to the brightness values, the blue chromaticity and the red chromaticity.
According to the image communication control method of the data service provided by the invention, a data packet is transmitted to a receiving end, and the method comprises the following steps:
establishing a connection window between the sending end and the receiving end based on the sending end, the receiving end, the third data and the transmission requirement;
and transmitting the third data packaged by the data packet to the receiving end in sequence through the connection window.
According to the image communication control method of the data service provided by the invention, a data packet is transmitted to a receiving end, and the method further comprises the following steps:
after receiving the data packet, the receiving end sends confirmation information to the sending end;
and the sending end receives the confirmation information, removes the sent data packet according to the confirmation information, and adjusts the size of the connection window based on the confirmation information, the transmission requirement and the network state.
According to the image communication control method of the data service provided by the invention, a receiving end receives and analyzes a data packet to determine fourth data, and the method comprises the following steps:
analyzing the data packet flag bit, decompressing the third data, and extracting the brightness value, the blue color and the red color of all pixel points in the third data;
recombining the brightness values, the blue chromaticity and the red chromaticity of all the extracted pixel points into a fourth image according to the sampling index value of the second data and the resolution of the third data;
wherein the fourth data includes all fourth images recombined.
Compared with the prior art, the beneficial effects of the application are as follows:
the sending end determines first data according to the image data, carries out preprocessing to the first data to determine second data, carries out encoding compression to the second data to determine third data, packages and transmits the third data to the receiving end, the receiving end receives and analyzes the data packet to determine fourth data, and sequentially presents all fourth images after carrying out post-processing to the fourth data, so that the image processing speed can be improved, the data size of the images can be reduced, the image analysis accuracy can be improved, the image transmission quality can be ensured, the transmission efficiency and the communication stability can be improved, and the real-time transmission can be realized.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of an image communication control method for a data service according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1:
an embodiment of the present invention provides an image communication control method for a data service, as shown in fig. 1, including:
s101: receiving and determining first data of image data of a transmitting end, and preprocessing the first data to determine second data;
s102: encoding each second image in the second data and compressing to determine third data;
s103: the third data is packaged into a data packet, the data packet is transmitted to a receiving end, and the receiving end receives and analyzes the data packet to determine fourth data so as to realize communication control;
s104: and carrying out post-processing on the fourth data and presenting the fourth data at the receiving end to finish image communication.
In this embodiment, all the first images in the first data are preprocessed to determine a second image corresponding to each first image, and the second data is composed based on all the second images.
In this embodiment, all the second images in the second data are subjected to encoding and compression processing to determine a third image corresponding to each of the second images, and the third data is composed based on all the third images.
In this embodiment, the receiving end parses and decompresses the received data packet to determine all fourth images, and forms fourth data based on all fourth images.
In this embodiment, each fourth image in the fourth data is post-processed and presented in turn at the receiving end.
The beneficial effects of the technical scheme are that: the sending end determines first data according to the image data, carries out preprocessing to the first data to determine second data, carries out encoding compression to the second data to determine third data, packages and transmits the third data to the receiving end, the receiving end receives and analyzes the data packet to determine fourth data, and sequentially presents all fourth images after carrying out post-processing to the fourth data, so that the image processing speed can be improved, the data size of the images can be reduced, the image analysis accuracy can be improved, the image transmission quality can be ensured, the transmission efficiency and the communication stability can be improved, and the real-time transmission can be realized.
Example 2:
the embodiment of the invention provides an image communication control method of a data service, wherein first data comprise all first images and transmission requirements sent by a sending end, and preprocessing comprises image conversion, contrast gain, brightness gain and filtering processing.
In this embodiment, the image conversion includes converting a first image of color into a corresponding first gray scale image and converting a second gray scale image into a corresponding second image.
In this embodiment, the contrast represents the difference in shading between different pixels in the image, and the contrast gain enhances the contrast of the image by increasing the difference in pixel values in the first gray scale image.
In this embodiment, the luminance represents the overall luminance level of the pixels in the image, and the luminance gain increases the luminance of the image by increasing the luminance values of all the pixels in the first gray scale image.
In this embodiment, the filtering process means edge detection and image enhancement of the first gray-scale image.
The beneficial effects of the technical scheme are that: determining and preprocessing the first data may improve image processing speed and accuracy and reliability of analysis.
Example 3:
the embodiment of the invention provides an image communication control method of data service, which is used for receiving and determining first data of image data of a sending end, preprocessing the first data and determining second data, and further comprises the following steps:
converting all first images in the first data into corresponding first gray scale images;
determining a first window range of each pixel point in the first gray level image, and calculating second gray level values of corresponding pixel points based on the pixel points and first gray level values of all surrounding pixel points in the corresponding first window range;
wherein,a second gray value representing pixel i1, ">First gray values of surrounding pixel points j1 in a first window range corresponding to pixel point i1 are represented, +.>A first gray value representing a pixel point i1, N1 represents the number of all surrounding pixel points in a first window range corresponding to the pixel point i1, +.>Contrast gain factor representing the first window range corresponding to pixel i1, +.>Representing gray value corresponding to pixel point i1 after contrast adjustment in corresponding first window range, +.>Represents the luminance gain factor corresponding to pixel i1, ">Representing pixel i1 based on brightness gain factor +.>Is set in the above-mentioned range;
calculating a third gray value of the corresponding pixel based on the coordinate value of the pixel, the second gray value and the filter matrix L1;
the method comprises the steps of carrying out a first treatment on the surface of the Wherein,representing pixel point iThird gray value of 1->Filter adjustment value for pixel i1, < ->Representing a standard set gray upper threshold; />Coordinate value representing pixel i1, +.>Representing coordinate value of +.>Second gray value of pixel of +.>Center filter weight corresponding to pixel i1 is indicated,/->Center filter adjustment value for pixel i1, < ->The coordinate values in the first gray level image are respectively expressed as +.>The coordinate values of the previous, the next, the previous two and the next two coordinates of the pixel point on the X axis,the coordinate values in the first gray level image are respectively expressed as +.>Before, after, before two, after two coordinates on the Y-axis, are +.>Intermediate filtering weight corresponding to pixel i1>Intermediate filter adjustment value representing pixel i1,/->Represents the corresponding edge filtering weight of pixel i1,/->An edge filter adjustment value representing pixel point i 1;
determining a second gray level image based on third gray level values corresponding to all pixel points in the first gray level image, and converting the second gray level image into a corresponding second image;
second data is determined based on all of the second images.
In this embodiment, the first grayscale image represents a grayscale image color-converted from the colored first image.
In this embodiment, each first image corresponds to one first gray image.
In this embodiment, the second gray value represents a gray value corresponding to the pixel point in the first gray image after the contrast gain and the brightness gain.
In this embodiment, the third gray value represents a gray value corresponding to the second gray value of the pixel after the filtering process.
In this embodiment, the third gray value is determined based on the second gray value and the filter adjustment value corresponding to the pixel point.
In this embodiment, the filter adjustment value is determined based on the correspondence between the pixel point coordinate value and the filter matrix and the second gray value of each pixel point corresponding to the filter matrix.
In this embodiment, each first gray image corresponds to one second gray image, and each second gray image corresponds to one second image.
In this embodiment, the second image represents converting the second gray scale image into a color image.
In this embodiment, the second data includes all second images obtained by performing image conversion, contrast gain, brightness gain, and filtering processing on each first image in the first data.
The beneficial effects of the technical scheme are that: and performing image conversion, contrast gain, brightness gain and filtering processing on all the first images in the first data to obtain corresponding second images, determining the second data, enhancing the visual effect and detail of the images, and adjusting the brightness of the images to enable the images to be clearer and smoother.
Example 4:
the embodiment of the invention provides an image communication control method of a data service, which is used for coding and compressing each second image in second data to determine third data, and comprises the following steps:
respectively acquiring a red component value and a blue component value of each pixel point in the second image;
determining a quantization step size based on the color components based on the transmission requirements;
taking a third gray value corresponding to each pixel point in the second gray image as a brightness value of each pixel point in the corresponding second image;
calculating the blue color degree and the red color degree of each pixel point based on the red component value, the blue component value, the brightness value and the quantization step length of each pixel point;
the method comprises the steps of carrying out a first treatment on the surface of the Wherein (1)>The luminance value of the pixel point i1 is represented, and the value of i1 is 1,2,3>Third gray value representing pixel i1, is->Represents the blue color weight value,/>Blue component value representing pixel i1, and>representing quantization step size +.>Represents the bluiness, < +.>Representing the weight value of redness>Red component value representing pixel i1, and>represents the redness of pixel i1, +.>Representation pair->Make a round upwards, add->Representation pair->Performing upward rounding;
determining a third image based on the brightness value, the blue degree and the red degree of each pixel point in the second image;
third data is determined based on all of the third images.
In this embodiment, the red component value of the pixel represents the red luminance value of the pixel.
In this embodiment, the blue component value of the pixel point represents the blue luminance value of the pixel point.
In this embodiment, the compression process may reduce the data size, including quantization process and sampling process.
In this embodiment, the quantization process represents converting continuous pixel red and blue floating point numbers into discrete pixel red and blue floating point numbers.
In this embodiment, the quantization step represents the difference between the red and blue floating point numbers of two adjacent pixels.
In this embodiment, the brightness value of the pixel indicates the brightness level of the pixel.
In this embodiment, the blue chromaticity represents a deviation of the pixel with respect to the blue component of luminance, describing blue saturation of the pixel with respect to gray scale and tone information.
In this embodiment, the redness represents the deviation of the red component of the pixel with respect to the luminance, and describes the red saturation and hue information of the pixel with respect to the gradation.
In this embodiment, the blue color weight value and the red color weight value map the color difference range, and the accuracy of the color information of the second image is maintained.
In this embodiment, each of the second images corresponds to a third image.
In this embodiment, the third data includes all third images obtained by subjecting each of the second images in the second data to quantization and sampling processing.
The beneficial effects of the technical scheme are that: and coding, quantizing and sampling all the second images in the second data to obtain corresponding third images, determining that the third data can reduce the data quantity of the color information, reducing the data size of the images and simultaneously maintaining the accuracy of the color information of the images.
Example 5:
the embodiment of the invention provides an image communication control method of data service, which encapsulates third data into a data packet, and comprises the following steps:
sequentially storing the brightness values, the blue degrees and the red degrees of all pixel points in each third image in third data into a data packet according to rows, wherein the brightness values of the pixel points in the first row of the third image are sequentially stored into the data packet, then the blue degrees and the red degrees of the pixel points in the first row of the third image are alternately stored into the data packet, and so on;
if the brightness value, the blue color and the red color of all the pixel points in all the third images are stored in a data amount larger than a preset amount, data segmentation is carried out, and the number of data packets is recorded after the storage is finished;
otherwise, the brightness values, the blue color and the red color of all pixel points in all third images in the third data are stored in one data packet;
and setting a data packet zone bit, wherein the zone bit comprises the quantity of brightness values, blue chromaticity and red chromaticity and the length corresponding to the brightness values, the blue chromaticity and the red chromaticity.
In this embodiment, the third data may be encapsulated as one data packet, or may be encapsulated as a plurality of data packets.
In this embodiment, the preset amount indicates the maximum size of the data packet set when transmitting and receiving data.
In this embodiment, the flag bit is used to indicate the length and number of the brightness value, the blue color, and the red color in the data packet, so that the receiving end can accurately parse and reassemble the data.
In this embodiment, the number of data packets indicates that the third data is encapsulated into several data packets, so as to avoid packet loss when parsing the reorganized data.
The beneficial effects of the technical scheme are that: and the brightness values, the blue color and the red color of all pixel points in each third image in the third data are sequentially stored into the data packet according to rows, so that the efficiency and the reliability of data transmission can be improved.
Example 6:
the embodiment of the invention provides an image communication control method of data service, which transmits a data packet to a receiving end, and comprises the following steps:
establishing a connection window between the sending end and the receiving end based on the sending end, the receiving end, the third data and the transmission requirement;
and transmitting the third data packaged by the data packet to the receiving end in sequence through the connection window.
In this embodiment, the connection window represents a data transmission channel established between the transmitting end and the receiving end.
The beneficial effects of the technical scheme are that: the efficiency and reliability of data transmission can be improved by transmitting the data packet from the transmitting end to the receiving end through the connection window.
Example 7:
the embodiment of the invention provides an image communication control method of data service, which transmits a data packet to a receiving end, and further comprises the following steps:
after receiving the data packet, the receiving end sends confirmation information to the sending end;
and the sending end receives the confirmation information, removes the sent data packet according to the confirmation information, and adjusts the size of the connection window based on the confirmation information, the transmission requirement and the network state.
In this embodiment, the acknowledgement information includes the time the receiving end receives the data packet, and the number of the data packet.
In this embodiment, when the network state is good, the window size of the connection window is increased according to the preset increase factor after completing one data packet transmission, and the data packet transmission is performed by using a larger window size.
In this embodiment, when the network state is bad, the window size of the connection window is reduced according to a preset reduction factor after each data packet transmission is completed, and the window size is reduced to reduce the packet loss rate and delay.
The beneficial effects of the technical scheme are that: the connection window between the sending end and the receiving end is dynamically adjusted through the confirmation information, the transmission requirement and the network state, so that the method can adapt to different network environments, optimize the transmission efficiency of the data packet and improve the communication stability.
Example 8:
the embodiment of the invention provides an image communication control method of data service, a receiving end receives and analyzes a data packet to determine fourth data, which comprises the following steps:
analyzing the data packet flag bit, decompressing the third data, and extracting the brightness value, the blue color and the red color of all pixel points in the third data;
recombining the brightness values, the blue chromaticity and the red chromaticity of all the extracted pixel points into a fourth image according to the sampling index value of the second data and the resolution of the third data;
wherein the fourth data includes all fourth images recombined.
In this embodiment, the third data is decompressed according to the parsed data flag bit result.
In this embodiment, each third image corresponds to a fourth image.
In this embodiment, the fourth data includes all fourth images obtained by parsing and decompressing each third image in the third data.
The beneficial effects of the technical scheme are that: and analyzing and decompressing the data packet to recombine into a fourth image, and determining fourth data, so that the integrity and the correctness of the image data in the transmission process can be ensured, the utilization rate of bandwidth is improved, and real-time transmission is realized.
The embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. An image communication control method of a data service, comprising:
s101: receiving and determining first data of image data of a transmitting end, and preprocessing the first data to determine second data;
s102: encoding each second image in the second data and compressing to determine third data;
s103: the third data is packaged into a data packet, the data packet is transmitted to a receiving end, and the receiving end receives and analyzes the data packet to determine fourth data so as to realize communication control;
s104: post-processing the fourth data and presenting the fourth data at a receiving end to finish image communication;
the first data comprise all first images and transmission requirements sent by a sending end; preprocessing all first images in the first data to determine second images corresponding to each first image, and forming second data based on all the second images; encoding and compressing all second images in the second data to determine a third image corresponding to each second image, and forming third data based on all third images; the receiving end analyzes and decompresses the received data packet to determine all fourth images, and fourth data is formed based on all fourth images.
2. The image communication control method of a data service according to claim 1, wherein the preprocessing includes image conversion, contrast gain, brightness gain, and filtering processing.
3. The image communication control method of a data service according to claim 2, wherein receiving the image data of the transmitting end determines first data, preprocessing the first data to determine second data, comprising:
converting all first images in the first data into corresponding first gray scale images;
determining a first window range of each pixel point in the first gray level image, and calculating second gray level values of corresponding pixel points based on the pixel points and first gray level values of all surrounding pixel points in the corresponding first window range;
wherein,a second gray value representing pixel i1, ">First gray values of surrounding pixel points j1 in a first window range corresponding to pixel point i1 are represented, +.>A first gray value representing a pixel point i1, N1 represents the number of all surrounding pixel points in a first window range corresponding to the pixel point i1, +.>Contrast gain factor representing the first window range corresponding to pixel i1, +.>Representing gray value corresponding to pixel point i1 after contrast adjustment in corresponding first window range, +.>Representing the luminance gain factor corresponding to pixel i1,representation ofPixel i1 is based on a luminance gain factor +.>Is set in the above-mentioned range;
calculating a third gray value of the corresponding pixel based on the coordinate value of the pixel, the second gray value and the filter matrix L1;
the method comprises the steps of carrying out a first treatment on the surface of the Wherein (1)>Third gray value representing pixel i1, is->Filter adjustment value for pixel i1, < ->Representing a standard set gray upper threshold; />Coordinate value representing pixel i1, +.>Representing coordinate value of +.>Second gray value of pixel of +.>Center filter weight corresponding to pixel i1 is indicated,/->Represents the center filter adjustment value for pixel i1,respectively represent a first gray-scale imageCoordinate value in the image is +.>Before, after, before two, after two coordinates of the pixel point of (a) on the X-axis, and +.>The coordinate values in the first gray level image are respectively expressed as +.>Before, after, before two, after two coordinates on the Y-axis, are +.>Intermediate filtering weight corresponding to pixel i1>Intermediate filter adjustment value representing pixel i1,/->Represents the corresponding edge filtering weight of pixel i1,/->An edge filter adjustment value representing pixel point i 1;
determining a second gray level image based on third gray level values corresponding to all pixel points in the first gray level image, and converting the second gray level image into a corresponding second image;
second data is determined based on all of the second images.
4. A method of controlling image communication of a data service according to claim 3, wherein encoding each of the second images in the second data and compressing to determine the third data comprises:
respectively acquiring a red component value and a blue component value of each pixel point in the second image;
determining a quantization step size based on the color components based on the transmission requirements;
taking a third gray value corresponding to each pixel point in the second gray image as a brightness value of each pixel point in the corresponding second image;
calculating the blue color degree and the red color degree of each pixel point based on the red component value, the blue component value, the brightness value and the quantization step length of each pixel point;
the method comprises the steps of carrying out a first treatment on the surface of the Wherein (1)>The luminance value of the pixel point i1 is represented, and the value of i1 is 1,2,3>Third gray value representing pixel i1, is->Represents the blue color weight value,/>Blue component value representing pixel i1, and>representing quantization step size +.>Represents the bluiness, < +.>Representing the weight value of redness>Red component value representing pixel i1, and>the red degree of the pixel point i1 is indicated,representation pair->Make a round upwards, add->Representation pair->Performing upward rounding;
determining a third image based on the brightness value, the blue degree and the red degree of each pixel point in the second image;
third data is determined based on all of the third images.
5. The image communication control method of a data service according to claim 4, wherein encapsulating the third data into a data packet comprises:
sequentially storing the brightness values, the blue degrees and the red degrees of all pixel points in each third image in third data into a data packet according to rows, wherein the brightness values of the pixel points in the first row of the third image are sequentially stored into the data packet, then the blue degrees and the red degrees of the pixel points in the first row of the third image are alternately stored into the data packet, and so on;
if the brightness value, the blue color and the red color of all the pixel points in all the third images are stored in a data amount larger than a preset amount, data segmentation is carried out, and the number of data packets is recorded after the storage is finished;
otherwise, the brightness values, the blue color and the red color of all pixel points in all third images in the third data are stored in one data packet;
and setting a data packet zone bit, wherein the zone bit comprises the quantity of brightness values, blue chromaticity and red chromaticity and the length corresponding to the brightness values, the blue chromaticity and the red chromaticity.
6. The image communication control method of a data service according to claim 1, wherein transmitting the data packet to the receiving side comprises:
establishing a connection window between the sending end and the receiving end based on the sending end, the receiving end, the third data and the transmission requirement;
and transmitting the third data packaged by the data packet to the receiving end in sequence through the connection window.
7. The image communication control method of a data service according to claim 1, wherein transmitting the data packet to the receiving side, further comprises:
after receiving the data packet, the receiving end sends confirmation information to the sending end;
and the sending end receives the confirmation information, removes the sent data packet according to the confirmation information, and adjusts the size of the connection window based on the confirmation information, the transmission requirement and the network state.
8. The image communication control method of a data service according to claim 4, wherein the receiving end receives and parses the data packet to determine fourth data, comprising:
analyzing the data packet flag bit, decompressing the third data, and extracting the brightness value, the blue color and the red color of all pixel points in the third data;
recombining the brightness values, the blue chromaticity and the red chromaticity of all the extracted pixel points into a fourth image according to the sampling index value of the second data and the resolution of the third data;
wherein the fourth data includes all fourth images recombined.
CN202410257803.9A 2024-03-07 2024-03-07 Image communication control method for data service Active CN117857822B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410257803.9A CN117857822B (en) 2024-03-07 2024-03-07 Image communication control method for data service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410257803.9A CN117857822B (en) 2024-03-07 2024-03-07 Image communication control method for data service

Publications (2)

Publication Number Publication Date
CN117857822A true CN117857822A (en) 2024-04-09
CN117857822B CN117857822B (en) 2024-04-30

Family

ID=90546860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410257803.9A Active CN117857822B (en) 2024-03-07 2024-03-07 Image communication control method for data service

Country Status (1)

Country Link
CN (1) CN117857822B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710407A (en) * 2009-12-29 2010-05-19 江西科技师范学院 Payment method capable of consumption payment by mobile phone on basis of two-dimension code and payment system thereof
WO2013175214A1 (en) * 2012-05-23 2013-11-28 Plastic Logic Limited Electronic display
CN104408459A (en) * 2014-10-27 2015-03-11 国家电网公司 Image identification method applied to power equipment monitoring
CN111294603A (en) * 2018-12-06 2020-06-16 华为技术有限公司 Video coding and decoding method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710407A (en) * 2009-12-29 2010-05-19 江西科技师范学院 Payment method capable of consumption payment by mobile phone on basis of two-dimension code and payment system thereof
WO2013175214A1 (en) * 2012-05-23 2013-11-28 Plastic Logic Limited Electronic display
CN104408459A (en) * 2014-10-27 2015-03-11 国家电网公司 Image identification method applied to power equipment monitoring
CN111294603A (en) * 2018-12-06 2020-06-16 华为技术有限公司 Video coding and decoding method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
郝亚茹;邓招奇;严飞;: "前置逐点亮度修正处理算法", 中山大学学报(自然科学版), no. 02, 15 March 2017 (2017-03-15), pages 80 - 87 *
韩明等: "结合局部嫡能量泛函与非凸正则项的图像分割", 《计算机工程与应用》, vol. 55, no. 6, 12 December 2018 (2018-12-12), pages 160 - 167 *

Also Published As

Publication number Publication date
CN117857822B (en) 2024-04-30

Similar Documents

Publication Publication Date Title
US11445201B2 (en) Video encoding and decoding method, device, and system, and storage medium
US20170324959A1 (en) Method and apparatus for encoding/decoding a high dynamic range picture into a coded bitstream
US9552652B2 (en) Image encoder and image decoder
JP6141295B2 (en) Perceptually lossless and perceptually enhanced image compression system and method
US20060176313A1 (en) Luminance preserving color conversion from YUV to RGB
CN109862350B (en) No-reference video quality evaluation method based on time-space domain feature extraction
CN106937121A (en) Image decoding and coding method, decoding and code device, decoder and encoder
CN117640942A (en) Coding method and device for video image
US20090262126A1 (en) System and Method for Separated Image Compression
CN111343455B (en) Encoding mode determining method and device
US9392294B2 (en) Color image data compression
CN101656889A (en) High definition video real time compressing as well as coding and decoding method
CN117857822B (en) Image communication control method for data service
CN105049672A (en) Video signal generation apparatus and method
CN113365083B (en) H.265-based YUV444 image coding and decoding method
CN107948652A (en) A kind of method and apparatus for carrying out image conversion
CN113973208A (en) Data encoding and decoding method and device
CN114463449A (en) Hyperspectral image compression method based on edge guide
CN113591878A (en) Dynamic HDR image feature extraction method
KR102556960B1 (en) Sampled chrominance component restoration device
CN113301339A (en) Data encoding and decoding method and device
CN108564632B (en) Black and white image colorizing algorithm
CN101640792B (en) Method, equipment and system for compression coding and decoding of cartoon video
CN116600107B (en) HEVC-SCC quick coding method and device based on IPMS-CNN and spatial neighboring CU coding modes
US10939116B2 (en) Adaptive variation of chroma subsampling in image compression

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