Picture wireless transmission method and device, electronic equipment and medium

By generating and displaying the timing data of RGB color block images in a network-free environment, the problems of low efficiency and insufficient quality of wireless image transmission are solved, and efficient and high-quality image transmission is achieved.

CN119420846AActive Publication Date: 2025-02-11E-SURFING DIGITAL LIFE TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411557124.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-04
Publication Date
2025-02-11
Estimated Expiration
2044-11-04

Smart Images

  • Figure CN119420846A_ABST
    Figure CN119420846A_ABST
Patent Text Reader

Abstract

The invention discloses a picture wireless transmission method and device, electronic equipment and a medium, and the method comprises the steps: determining the pixel coordinate information and RGB color information of each pixel point of a target picture, and generating an RGB color block image of the corresponding pixel point according to the RGB color information; generating color block image time sequence data according to the pixel coordinate information and the RGB color block image, and displaying the color block image time sequence data through the first device; obtaining color block image time sequence data through shooting of a second device, and obtaining pixel coordinate information and a corresponding RGB color block image through analysis according to the color block image time sequence data; and corresponding RGB color information is determined according to the RGB color block image, and a target picture is obtained through restoration according to the pixel coordinate information and the corresponding RGB color information. The method improves the picture transmission efficiency and picture quality in a network-free environment, and can be widely applied to the technical field of wireless transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless transmission technology, and in particular to a method, device, electronic equipment and medium for wireless transmission of pictures. Background Art

[0002] With the development of technology, electronic pictures have become an important part of data. At present, there are only a few ways to complete the transmission of pictures between different devices: wireless communication connection (network, Bluetooth, NFC and infrared, etc.), direct cable connection, mobile storage media (U disk, etc.), and pictures displayed by direct shooting. Nowadays, smart phones generally have the hardware support required for wireless communication, so among these methods, wireless communication connection is the most convenient and commonly used. However, the current picture transmission technology still has the following problems:

[0003] 1) In a non-near-field environment, if you want to transfer pictures between two mobile phones, you must have a network, otherwise the devices cannot be interconnected to achieve the purpose of picture transmission.

[0004] 2) In a near-field environment, without the need for a network, taking pictures of the pictures displayed on the screen with a mobile phone is also one of the ways to obtain pictures. However, this method may cause stretching, deformation, occlusion, etc. of the target picture due to angle deviation, distance, occlusion, etc., thus affecting the picture quality.

[0005] 3) When multiple images are transmitted, they cannot be sent and arrive at the same time. For example, if there are 10 images that need to participate in subsequent calculations, these 10 images need to start transmitting and arrive at the same time to improve calculation efficiency.

[0006] 4) For this non-instant download method, a unique URL must be generated and the downloading party must know this URL to complete the image download.

[0007] From the above, we can see that the current image transmission technology has problems such as low image transmission efficiency and insufficient image quality when there is no network environment. Summary of the invention

[0008] The purpose of the present invention is to solve one of the technical problems existing in the prior art to at least a certain extent.

[0009] To this end, an object of an embodiment of the present invention is to provide a method for wirelessly transmitting pictures, which improves the efficiency and quality of picture transmission in a non-network environment.

[0010] Another object of an embodiment of the present invention is to provide a device for wirelessly transmitting pictures.

[0011] In order to achieve the above technical objectives, the technical solutions adopted by the embodiments of the present invention include:

[0012] On the one hand, an embodiment of the present invention provides a method for wirelessly transmitting a picture, comprising the following steps:

[0013] Determine pixel coordinate information and RGB color information of each pixel of the target image, and generate an RGB color block image of the corresponding pixel according to the RGB color information;

[0014] Generate color block image timing data according to the pixel coordinate information and the RGB color block image, and display the color block image timing data through the first device;

[0015] Acquire the color block image time series data by shooting with a second device, and obtain the pixel coordinate information and the corresponding RGB color block image according to the color block image time series data;

[0016] The corresponding RGB color information is determined according to the RGB color block image, and then the target image is restored according to the pixel coordinate information and the corresponding RGB color information.

[0017] Further, in one embodiment of the present invention, generating an RGB color block image of a corresponding pixel point according to the RGB color information specifically includes:

[0018] Determine the red component, green component and blue component of the pixel point according to the RGB color information;

[0019] Generate a red color block according to the red component, generate a green color block according to the green component, and generate a blue color block according to the blue component;

[0020] The red color block, the green color block and the blue color block are spliced ​​according to a preset splicing rule to obtain the RGB color block image.

[0021] Further, in one embodiment of the present invention, the generating of the color block image time series data according to the pixel coordinate information and the RGB color block image specifically includes:

[0022] Generate a color block image time sequence segment according to the RGB color block image and a preset color block display duration;

[0023] The color block image time sequence segments are sorted and spliced ​​according to the pixel coordinate information to obtain the color block image time sequence data.

[0024] Further, in one embodiment of the present invention, the generating of the color block image time series data according to the pixel coordinate information and the RGB color block image specifically includes:

[0025] According to the plurality of RGB color block images corresponding to the same pixel coordinates of the plurality of target images, splicing is performed to obtain a combined color block image;

[0026] Generating a color block image time sequence segment according to the combined color block image and a preset color block display duration;

[0027] The color block image time sequence segments are sorted and spliced ​​according to the pixel coordinate information to obtain the color block image time sequence data.

[0028] Further, in an embodiment of the present invention, the color block image time sequence segments are sorted and spliced ​​according to the pixel coordinate information to obtain the color block image time sequence data, which specifically includes:

[0029] Sort the color block image sequential segments according to the pixel coordinate information, and determine whether the pixel points corresponding to each of the color block image sequential segments are line break pixels;

[0030] The current color block image timing segment and the next color block image timing segment are spliced; if the pixel point corresponding to the next color block image timing segment is not a line break pixel point, a preset pixel interval segment is inserted between the current color block image timing segment and the next color block image timing segment; if the pixel point corresponding to the next color block image timing segment is a line break pixel point, a preset line break interval segment is inserted between the current color block image timing segment and the next color block image timing segment to obtain the color block image timing data.

[0031] Further, in one embodiment of the present invention, the obtaining of the pixel coordinate information and the corresponding RGB color block image according to the color block image time series data analysis specifically includes:

[0032] Parsing the color block image time sequence data to obtain a plurality of the color block image time sequence segments, a first interval segment and a second interval segment;

[0033] Determine that the one with a larger number of the first interval segments and the second interval segments is the pixel interval segment, and the other one is the line break interval segment;

[0034] The pixel coordinate information is restored according to the arrangement order of the color block image timing segment, the pixel interval segment and the line break interval segment, and the RGB color block image corresponding to the pixel coordinate information is determined according to the color block image timing segment.

[0035] Further, in an embodiment of the present invention, determining the corresponding RGB color information according to the RGB color block image, and then restoring the target image according to the pixel coordinate information and the corresponding RGB color information, specifically includes:

[0036] Determine the corresponding red color block, the green color block, and the blue color block according to the RGB color block image;

[0037] Reading the red component according to the red color block, reading the green component according to the green color block, and reading the blue component according to the blue color block;

[0038] Determine the corresponding RGB color information according to the red component, the green component and the blue component;

[0039] A pixel array is determined according to the pixel coordinate information, and RGB color values ​​are assigned to each pixel point of the pixel array according to the RGB color information to obtain the target image.

[0040] On the other hand, an embodiment of the present invention provides a device for wirelessly transmitting pictures, including:

[0041] The RGB color block image generation module is used to determine the pixel coordinate information and RGB color information of each pixel point of the target image, and generate the RGB color block image of the corresponding pixel point according to the RGB color information;

[0042] A color block image time series data display module, used to generate color block image time series data according to the pixel coordinate information and the RGB color block image, and display the color block image time series data through a first device;

[0043] An RGB color block image parsing module, used for acquiring the color block image time series data by shooting with a second device, and obtaining the pixel coordinate information and the corresponding RGB color block image according to the color block image time series data;

[0044] The image restoration module is used to determine the corresponding RGB color information according to the RGB color block image, and then restore the target image according to the pixel coordinate information and the corresponding RGB color information.

[0045] On the other hand, an embodiment of the present invention provides an electronic device, comprising a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory, wherein the program, when executed by the processor, realizes the method for wireless transmission of pictures as described above.

[0046] On the other hand, an embodiment of the present invention further provides a storage medium, which is a computer-readable storage medium used for computer-readable storage, and the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the wireless transmission method of pictures as described above.

[0047] The advantages and beneficial effects of the present invention will be partly given in the following description, partly become apparent from the following description, or be understood through the practice of the present invention:

[0048] An embodiment of the present invention determines pixel coordinate information and RGB color information of each pixel point of a target image, generates an RGB color block image of the corresponding pixel point according to the RGB color information, generates color block image timing data according to the pixel coordinate information and the RGB color block image, displays the color block image timing data through a first device, obtains the color block image timing data by photographing through a second device, and obtains pixel coordinate information and a corresponding RGB color block image according to the color block image timing data through parsing, determines corresponding RGB color information according to the RGB color block image, and then restores the target image according to the pixel coordinate information and the corresponding RGB color information. The embodiment of the present invention records the RGB color information of each pixel of the target image through the color block image time series data, displays the color block image time series data through the first device and shoots it through the second device, so that the target image can be restored on the second device side according to the color block image time series data, and the transmission and copying of the image data can be completed without relying on traditional wired or wireless communication technology. Since only the color information of the color block image time series data at each moment needs to be captured during shooting, the size of the color block is not concerned, and the image quality will not be affected by the deviation of the shooting angle. Moreover, due to the diffraction characteristics of light, when the color block image time series data is blocked to a certain extent, the color information at each moment can also be captured to complete the image transmission, thereby improving the efficiency and image quality of image transmission in a network-free environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solution in the embodiments of the present invention, the following introduction is made to the drawings required for use in the embodiments of the present invention. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solution of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0050] Figure 1 A flowchart of a method for wirelessly transmitting pictures provided by an embodiment of the present invention;

[0051] Figure 2 A step flow chart of step S101 provided in an embodiment of the present invention;

[0052] Figure 3 A step flow chart of step S102 provided in an embodiment of the present invention;

[0053] Figure 4 Another step flow chart of step S102 provided in an embodiment of the present invention;

[0054] Figure 5 A step flow chart of step S1024 provided in an embodiment of the present invention;

[0055] Figure 6 A step flow chart of step S103 provided in an embodiment of the present invention;

[0056] Figure 7 A step flow chart of step S104 provided in an embodiment of the present invention;

[0057] Figure 8 A schematic diagram of the structure of a wireless image transmission device provided by an embodiment of the present invention;

[0058] Fig. 9 A schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention;

[0059] Fig.10 A schematic diagram of the structure of a storage medium provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0060] Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limitations on the present application. It should be noted that, although the functional module division is performed in the system schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order from the module division in the system schematic diagram or the flow chart. For the step numbers in the following embodiments, they are only set for the convenience of explanation, and the order between the steps is not limited in any way. The execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.

[0061] In the description of the present invention, the meaning of "a plurality" is two or more. If there is a description of the first or the second, it is only for the purpose of distinguishing the technical features, and it cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features. In addition, unless otherwise defined, all technical and scientific terms used in this document have the same meaning as those commonly understood by technicians in the technical field of this application. The terms used in this document are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.

[0062] The image wireless transmission method provided in the embodiment of the present application can be applied to the terminal, can also be applied to the server side, and can also be software running in the terminal or the server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a set-top box, etc.; the server side can be configured as an independent physical server, or a server cluster or distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements the image wireless transmission method, etc., but is not limited to the above forms.

[0063] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0064] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with the relevant laws, regulations, and standards of the relevant countries and regions. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.

[0065] The present invention proposes a method for wireless transmission of pictures. The method obtains the pixel RGB of a picture to be sent, generates an RGB color block of a certain size, and then regularly displays the RGB color block according to the pixel coordinates (through an electronic screen, an LED light, a video stream, etc.). The picture receiver shoots the RGB color block in real time through a camera, restores the pixel color according to the photographed RGB color block, and sequentially assigns the pixel color to the pixel position of a local blank picture, and finally completes the copy transmission of the picture; if it is necessary to send and receive multiple pictures at the same time, it is only necessary to splice the RGB color blocks of multiple pictures at the same pixel position and then regularly display them. The picture receiver shoots the spliced ​​RGB color block in real time through a camera, and restores the pixel color of each picture according to the photographed RGB color block, and sequentially assigns the pixel color to multiple local blank picture pixel positions, so as to achieve the purpose of sending and receiving multiple pictures at the same time.

[0066] like Figure 1 FIG. 1 is a flowchart of a method for wirelessly transmitting pictures provided by an embodiment of the present invention, referring to FIG. Figure 1 The embodiment of the present invention provides a method for wireless transmission of pictures, which specifically includes the following steps:

[0067] S101, determining pixel coordinate information and RGB color information of each pixel of the target image, and generating an RGB color block image of the corresponding pixel according to the RGB color information;

[0068] S102, generating color block image time series data according to pixel coordinate information and the RGB color block image, and displaying the color block image time series data through a first device;

[0069] S103, acquiring color block image time series data by shooting with a second device, and obtaining pixel coordinate information and a corresponding RGB color block image according to the color block image time series data;

[0070] S104: Determine corresponding RGB color information according to the RGB color block image, and then restore the target image according to the pixel coordinate information and the corresponding RGB color information.

[0071] It can be understood that the embodiment of the present invention records the RGB color information of each pixel of the target image through the color block image timing data, displays the color block image timing data through the first device and shoots it through the second device, so that the target image can be restored on the second device side according to the color block image timing data, and the transmission and replication of the image data can be completed without relying on traditional wired or wireless communication technology. Since only the color information of the color block image timing data at each moment needs to be captured during shooting, the size of the color block is not concerned, and the image quality will not be affected by the deviation of the shooting angle. Moreover, due to the diffraction characteristics of light, when the color block image timing data is blocked to a certain extent, the color information at each moment can also be captured to complete the image transmission, thereby improving the efficiency and image quality of image transmission in a network-free environment.

[0072] It should be noted that the RGB color block image in the embodiment of the present invention can be a large-size pure color RGB color block image obtained by directly assigning RGB colors according to RGB color information, or a red color block image, a green color block image and a blue color block image can be obtained according to the RGB color information, and then spliced ​​to obtain a large-size RGB color block image.

[0073] like Figure 2 FIG. 1 is a flowchart of step S101 provided in an embodiment of the present invention, referring to FIG. Figure 2 As an optional implementation, generating an RGB color block image of a corresponding pixel point according to the RGB color information specifically includes:

[0074] S1011, determining the red component, green component and blue component of the pixel point according to the RGB color information;

[0075] S1012, generating a red color block according to the red component, generating a green color block according to the green component, and generating a blue color block according to the blue component;

[0076] S1013, splicing the red color block, the green color block and the blue color block according to a preset splicing rule to obtain an RGB color block image.

[0077] Specifically, the pixel coordinate information (x, y) and RGB color information (r, g, b) of each pixel in the target image are obtained from top to bottom and from left to right, where x represents the number of rows of pixels, y represents the number of columns of pixels, r represents the red component of pixels, g represents the green component of pixels, and b represents the blue component of pixels. The R channel of the color block is assigned a value according to the red component r, and the G channel and the B channel are assigned a value of 0 to generate a red color block. Similarly, a green color block is generated according to the green component g, and a blue color block is generated according to the blue component b. The red color block, the green color block and the blue color block are spliced ​​according to the preset splicing rules (such as horizontal splicing, vertical splicing, fan-shaped splicing, etc.) to obtain an RGB color block image.

[0078] It can be understood that in order to improve the accuracy of the color information of the RGB color block image read by the receiving device when shooting the color block image timing data, the embodiment of the present invention generates red color blocks, green color blocks and blue color blocks representing the red component, green component and blue component respectively according to the RGB color information, and then splices them to obtain the RGB color block image. In this way, when reading the color information of the RGB color block image, the receiving device can read the R value of the red color block, the G value of the green color block and the B value of the blue color block respectively, thereby restoring the RGB color information, which is more accurate than directly reading the RGB color information of the pure color RGB color block image, so that the picture restored by the receiving device is closer to the original picture.

[0079] like Figure 3 FIG. 1 is a flow chart of step S102 provided in an embodiment of the present invention, referring to FIG. Figure 3 As an optional implementation, color block image time series data is generated according to pixel coordinate information and RGB color block image, which specifically includes:

[0080] S1021, generating a color block image time sequence segment according to the RGB color block image and a preset color block display duration;

[0081] S1024 , sorting and splicing the color block image time series segments according to the pixel coordinate information to obtain color block image time series data.

[0082] Specifically, the color block display duration of a single RGB color block image is pre-set (e.g., 30ms), and the duration of each RGB color block image is set according to the color block display duration to obtain color block image time sequence segments; the color block image time sequence segments are sorted and spliced ​​according to the pixel coordinate information obtained in the previous steps to obtain color block image time sequence data.

[0083] like Figure 4 FIG. 1 is another step flow chart of step S102 provided in an embodiment of the present invention, referring to FIG. Figure 4As an optional implementation, color block image time series data is generated according to pixel coordinate information and RGB color block image, which specifically includes:

[0084] S1022, splicing multiple RGB color block images corresponding to the same pixel coordinates of multiple target images to obtain a combined color block image;

[0085] S1023, generating a color block image time sequence segment according to the combined color block image and a preset color block display duration;

[0086] S1024 , sorting and splicing the color block image time series segments according to the pixel coordinate information to obtain color block image time series data.

[0087] Specifically, if multiple pictures are transmitted at the same time, the RGB color block images at the same pixel coordinate position of the multiple pictures are spliced ​​to obtain a combined color block image, and the duration of each combined color block image is set according to the color block display duration to obtain the color block image time sequence segments; the color block image time sequence segments are sorted and spliced ​​according to the pixel coordinate information obtained in the previous steps to obtain the color block image time sequence data.

[0088] like Figure 5 FIG. 1 is a flow chart of step S1024 provided in an embodiment of the present invention, referring to FIG. Figure 5 As an optional implementation, the color block image time series segments are sorted and spliced ​​according to the pixel coordinate information to obtain the color block image time series data, which specifically includes:

[0089] S10241, sorting the color block image sequential segments according to the pixel coordinate information, and determining whether the pixel points corresponding to the color block image sequential segments are line break pixels;

[0090] S10242, splicing the current color block image timing segment and the next color block image timing segment, if the pixel point corresponding to the next color block image timing segment is not a line break pixel point, inserting a preset pixel interval segment between the current color block image timing segment and the next color block image timing segment, if the pixel point corresponding to the next color block image timing segment is a line break pixel point, inserting a preset line break interval segment between the current color block image timing segment and the next color block image timing segment, to obtain color block image timing data.

[0091] Specifically, the color block image timing segments are sorted according to the pixel coordinate information, and it is determined whether the pixel points corresponding to each color block image timing segment are row break pixels. The color block image timing segments corresponding to the row break pixels can be marked. In addition, the color block image timing segments corresponding to the last pixel can also be marked (different from the row break pixels).

[0092] The current color block image timing segment and the next color block image timing segment are spliced. If the pixel corresponding to the next color block image timing segment is not a line break pixel, a preset pixel interval segment is inserted between the current color block image timing segment and the next color block image timing segment. If the pixel corresponding to the next color block image timing segment is a line break pixel, a preset line break interval segment is inserted between the current color block image timing segment and the next color block image timing segment. The pixel interval segment and the line break interval segment can be distinguished by different durations. For example, both the pixel interval segment and the line break interval segment are configured to display no color, but the duration of the former is 10ms and the duration of the latter is 15ms. The pixel interval segment and the line break interval segment can also be distinguished by different color block colors. For example, both the duration of the pixel interval segment and the line break interval segment are configured to be 10ms, but the color block color of the former is pure white and the color block color of the latter is pure black. In addition, the pixel interval segment and the line break interval segment can also be distinguished by different durations and color block colors at the same time.

[0093] In some optional embodiments, after the color block image timing segment corresponding to the last pixel point, an end marker segment can be spliced ​​for the receiving device to determine whether the image has been transmitted. The end marker segment can also be distinguished from the aforementioned pixel interval segment and line break interval segment based on the duration and / or color block color, which will not be elaborated here.

[0094] After obtaining the color block image timing data, the color block image timing data is displayed through the first device, which can be by displaying the color block images of the color block image timing data at each moment through a display screen, or by displaying the colors of the color block images of the color block image timing data at each moment through a light-emitting device, until all the color block image timing data are displayed.

[0095] When the user takes a photo through the second device, a special identification area can be set in the camera screen to remind the user that this area is aligned with the area currently used to display the color block image timing data, and keep the graphic area in the camera's identification area; if the color block image timing data corresponds to multiple pictures at the same time, you can also customize the addition of identification areas to match different picture positions.

[0096] like Figure 6 FIG. 1 is a flow chart of step S103 provided in an embodiment of the present invention, referring to FIG. Figure 6 As an optional implementation, pixel coordinate information and corresponding RGB color block images are obtained by parsing the color block image time series data, which specifically includes:

[0097] S1031, parsing the color block image time sequence data to obtain a plurality of color block image time sequence segments, a first interval segment, and a second interval segment;

[0098] S1032, determining that the one with a larger number of the first interval segments and the second interval segments is a pixel interval segment, and the other is a line break interval segment;

[0099] S1033, restoring pixel coordinate information according to the arrangement order of the color block image sequential segments, the pixel interval segments and the line break interval segments, and determining the RGB color block image corresponding to the pixel coordinate information according to the color block image sequential segments.

[0100] Specifically, when continuously shooting the color block image timing data, the color alternation pattern of the captured color block image timing data is identified, so as to restore the RGB color block image corresponding to the pixel coordinate information. For example, repeatedly read the first duration of 30ms for displaying the RGB color block image and the second duration of 10ms for not displaying the RGB color block image or displaying pure white / pure black in the continuous multiple frames of images. According to the duration, it can be determined that the longer duration is the first duration, and the corresponding segment is the color block image timing segment, and the shorter duration is the second duration, and the corresponding segment is the first interval segment. The recorded time length variable is A = {"long": 30ms, "short": 10ms}. At this time, there are only 2 parameters; continue to read the image, and you can get the third duration of 15ms for not displaying the RGB color block image or displaying pure white / pure black. Obviously, the third duration is 15ms. The duration will appear later than the first duration and the second duration, and its number of appearances will also be less than the first duration and the second duration. The segment corresponding to the third duration is determined to be the second interval segment, and the time length variable is updated to be A={"long": 30ms, "short": 10ms, "line break": 15ms}; continue to read the image, and a fourth duration of 25ms can be obtained that does not display the RGB color block image or displays pure white / pure black, indicating that the color block image timing data transmission is completed, and the time length variable is updated to be A={"long": 30ms, "short": 10ms, "line break": 15ms, "end point": 25ms}. At the same time, when reading the RGB color block image of the color block image timing data, it can be determined whether to jump to the next pixel point according to the pixel interval segment, and it can be determined whether to adjust the next pixel row according to the line break interval segment, so as to obtain the corresponding pixel coordinate information (x i ,y j ).

[0101] like Figure 7 FIG. 1 is a flow chart of step S104 provided in an embodiment of the present invention, referring to FIG. Figure 7 As an optional implementation, the corresponding RGB color information is determined according to the RGB color block image, and then the target image is restored according to the pixel coordinate information and the corresponding RGB color information, which specifically includes:

[0102] S1041, determining corresponding red color blocks, green color blocks, and blue color blocks according to the RGB color block image;

[0103] S1042, reading a red component according to the red color block, reading a green component according to the green color block, and reading a blue component according to the blue color block;

[0104] S1043, determining corresponding RGB color information according to the red component, the green component, and the blue component;

[0105] S1044, determining a pixel array according to the pixel coordinate information, and assigning RGB colors to each pixel point of the pixel array according to the RGB color information to obtain a target image.

[0106] Specifically, according to the recorded pixel coordinate information (x i ,y j ) generates one or more blank pixel arrays, determines the red component, green component and blue component according to the read RGB color block image, thereby obtaining the corresponding RGB color information, and assigns RGB color to each pixel point of the pixel array according to the RGB color information, so as to obtain one or more target images.

[0107] The method steps of the embodiment of the present invention are described above. It can be recognized that the embodiment of the present invention records the RGB color information of each pixel of the target image through the color block image timing data, displays the color block image timing data through the first device and shoots it through the second device, so that the target image can be restored on the second device side according to the color block image timing data, and the transmission and replication of the image data can be completed without relying on traditional wired or wireless communication technology. Since only the color information of the color block image timing data at each moment needs to be captured during shooting, the size of the color block is not concerned, and the image quality will not be affected by the deviation of the shooting angle. Moreover, due to the diffraction characteristics of light, when the color block image timing data is blocked to a certain extent, the color information at each moment can also be captured to complete the image transmission, thereby improving the efficiency and image quality of image transmission in a network-free environment.

[0108] Compared with the prior art, the embodiments of the present invention also have the following advantages:

[0109] 1) The present invention extracts the RGB of the picture pixels in sequence, simulates RGB through other carriers (LED, electronic screen, etc.) and uses them as the emitting light source, and transmits and copies them pixel by pixel to avoid problems such as picture distortion, deformation or occlusion when taking pictures in a network-free environment.

[0110] 2) The present invention can parse and obtain key information such as target pixel RGB and picture ranks according to the switching duration of different color segments, thereby reducing the minimum transmission granularity, overcoming the current defect that the picture as a whole has rigid requirements on the network when being transmitted, and avoiding problems such as picture transmission interruption and picture reception failure caused by network fluctuations or disconnection.

[0111] 3) The present invention can transmit multiple pictures at the same time and receive multiple pictures at the same time, avoiding the defects of the current traditional means of transmitting different pictures at the same time due to problems such as network, picture format, picture size, etc.

[0112] like Figure 8 FIG. 1 is a schematic diagram of the structure of a wireless image transmission device according to an embodiment of the present invention. Figure 8 , an embodiment of the present invention provides a device for wireless transmission of pictures, comprising:

[0113] The RGB color block image generation module is used to determine the pixel coordinate information and RGB color information of each pixel point of the target image, and generate the RGB color block image of the corresponding pixel point according to the RGB color information;

[0114] A color block image time series data display module, used to generate color block image time series data according to pixel coordinate information and the RGB color block image, and display the color block image time series data through the first device;

[0115] An RGB color block image parsing module is used to obtain color block image time series data by shooting with a second device, and to obtain pixel coordinate information and a corresponding RGB color block image according to the color block image time series data;

[0116] The image restoration module is used to determine the corresponding RGB color information according to the RGB color block image, and then restore the target image according to the pixel coordinate information and the corresponding RGB color information.

[0117] The contents of the above method embodiments are all applicable to the present device embodiments. The functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0118] The embodiment of the present invention further provides an electronic device, the electronic device comprising: a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory, and the program is executed by the processor to realize the above-mentioned image wireless transmission method. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.

[0119] like Fig. 9 FIG. 1 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention. Fig. 9 , an embodiment of the present invention provides an electronic device, including:

[0120] The processor 901 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present invention;

[0121] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 902, and the processor 901 calls and executes the picture wireless transmission method of the embodiment of the present invention;

[0122] Input / output interface 903, used to implement information input and output;

[0123] Communication interface 904, used to realize communication interaction between the device and other devices, which can be realized by wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);

[0124] A bus 905 that transmits information between various components of the device (e.g., the processor 901, the memory 902, the input / output interface 903, and the communication interface 904);

[0125] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .

[0126] like Fig.10 FIG. 1 is a schematic diagram of the structure of a storage medium provided in an embodiment of the present invention, referring to FIG. Fig.10 The embodiment of the present invention further provides a storage medium, which is a computer-readable storage medium used for computer-readable storage. The storage medium stores one or more programs 1001, and the one or more programs 1001 can be executed by one or more processors to implement the above-mentioned picture wireless transmission method.

[0127] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0128] The embodiment of the present invention also discloses a computer program product or a computer program, wherein the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes Figure 1 The method shown.

[0129] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the above-mentioned boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.

[0130] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified to the contrary, one or more of the above-mentioned functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.

[0131] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0132] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0133] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the above-mentioned program is printed, since the above-mentioned program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or processing in other suitable ways as necessary, and then stored in a computer memory.

[0134] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0135] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0136] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

[0137] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.

Claims

1. A method for wireless transmission of pictures, characterized in that: The following steps are involved: Determine pixel coordinate information and RGB color information of each pixel of the target image, and generate an RGB color block image of the corresponding pixel according to the RGB color information; Generate color block image timing data according to the pixel coordinate information and the RGB color block image, and display the color block image timing data through the first device; Acquire the color block image time series data by shooting with a second device, and obtain the pixel coordinate information and the corresponding RGB color block image according to the color block image time series data; The corresponding RGB color information is determined according to the RGB color block image, and then the target image is restored according to the pixel coordinate information and the corresponding RGB color information.

2. A method for wireless transmission of pictures according to claim 1, characterized in that: The step of generating an RGB color block image of a corresponding pixel point according to the RGB color information specifically includes: Determine the red component, green component and blue component of the pixel point according to the RGB color information; Generate a red color block according to the red component, generate a green color block according to the green component, and generate a blue color block according to the blue component; The red color block, the green color block and the blue color block are spliced ​​according to a preset splicing rule to obtain the RGB color block image.

3. A method for wireless transmission of pictures according to claim 2, characterized in that: The step of generating the color block image time series data according to the pixel coordinate information and the RGB color block image specifically includes: Generate a color block image time sequence segment according to the RGB color block image and a preset color block display duration; The color block image time sequence segments are sorted and spliced ​​according to the pixel coordinate information to obtain the color block image time sequence data.

4. A method for wireless transmission of pictures according to claim 2, characterized in that: The step of generating the color block image time series data according to the pixel coordinate information and the RGB color block image specifically includes: According to the plurality of RGB color block images corresponding to the same pixel coordinates of the plurality of target images, splicing is performed to obtain a combined color block image; Generating a color block image time sequence segment according to the combined color block image and a preset color block display duration; The color block image time sequence segments are sorted and spliced ​​according to the pixel coordinate information to obtain the color block image time sequence data.

5. A method for wireless transmission of pictures according to claim 3 or 4, characterized in that: The step of sorting and splicing the color block image time sequence segments according to the pixel coordinate information to obtain the color block image time sequence data specifically includes: Sort the color block image sequential segments according to the pixel coordinate information, and determine whether the pixel points corresponding to each of the color block image sequential segments are line break pixels; The current color block image timing segment and the next color block image timing segment are spliced; if the pixel point corresponding to the next color block image timing segment is not a line break pixel point, a preset pixel interval segment is inserted between the current color block image timing segment and the next color block image timing segment; if the pixel point corresponding to the next color block image timing segment is a line break pixel point, a preset line break interval segment is inserted between the current color block image timing segment and the next color block image timing segment to obtain the color block image timing data.

6. A method for wireless transmission of pictures according to claim 5, characterized in that: The step of obtaining the pixel coordinate information and the corresponding RGB color block image according to the color block image time series data analysis specifically includes: Parsing the color block image time sequence data to obtain a plurality of the color block image time sequence segments, a first interval segment and a second interval segment; Determine that the one with a larger number of the first interval segments and the second interval segments is the pixel interval segment, and the other one is the line break interval segment; The pixel coordinate information is restored according to the arrangement order of the color block image timing segment, the pixel interval segment and the line break interval segment, and the RGB color block image corresponding to the pixel coordinate information is determined according to the color block image timing segment.

7. A method for wireless transmission of pictures according to claim 2, characterized in that: The determining the corresponding RGB color information according to the RGB color block image, and then restoring the target image according to the pixel coordinate information and the corresponding RGB color information, specifically includes: Determine the corresponding red color block, the green color block, and the blue color block according to the RGB color block image; Reading the red component according to the red color block, reading the green component according to the green color block, and reading the blue component according to the blue color block; Determine the corresponding RGB color information according to the red component, the green component and the blue component; A pixel array is determined according to the pixel coordinate information, and RGB color values ​​are assigned to each pixel point of the pixel array according to the RGB color information to obtain the target image.

8. A wireless image transmission device, characterized in that: include: The RGB color block image generation module is used to determine the pixel coordinate information and RGB color information of each pixel point of the target image, and generate the RGB color block image of the corresponding pixel point according to the RGB color information; A color block image time series data display module, used to generate color block image time series data according to the pixel coordinate information and the RGB color block image, and display the color block image time series data through a first device; An RGB color block image parsing module, used for acquiring the color block image time series data by shooting with a second device, and obtaining the pixel coordinate information and the corresponding RGB color block image according to the color block image time series data; The image restoration module is used to determine the corresponding RGB color information according to the RGB color block image, and then restore the target image according to the pixel coordinate information and the corresponding RGB color information.

9. An electronic device, characterized in that: The electronic device includes a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory. When the program is executed by the processor, the steps of the method for wireless transmission of pictures as described in any one of claims 1 to 7 are realized.

10. A storage medium, the storage medium being a computer-readable storage medium, used for computer-readable storage, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the picture wireless transmission method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Control method, control device and electronic device

    CN106507018A

  • Data compression method, device, electronic equipment and storage medium

    CN113626395A

  • Coding method for digital video image signal

    CN116389668A

  • Image representation method, image representation device, and computer readable storage medium

    US20210097903A1

  • Low resolution RGB rendering for efficient transmission

    WO2018089106A1