Image processing method, device, electronic device, storage medium and chip

By dividing the image into sub-images smaller than the maximum processing size of the ISP and processing them, the problem of insufficient ISP processing capacity is solved, and effective processing of large images and reduction of hardware costs are achieved.

CN118279138BActive Publication Date: 2024-09-06BEIJING SMARTCHIP MICROELECTRONICS TECHNOLOGY CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410676897.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-06
Estimated Expiration
2044-05-29

AI Technical Summary

Technical Problem

The traditional image signal processor ISP has a maximum processing size limit and cannot process images exceeding the maximum processing size, resulting in increased hardware costs and limited image quality improvement.

Method used

By dividing the image to be processed into multiple sub-images, the size of each sub-image is less than or equal to the preset processing size, and when dividing, the first area of ​​the sub-image is adjacent or partially overlaps the adjacent sub-image, processed and spliced subimage to generate a processed image, ensuring that the processed image is saved in the same location as the directly stored image data.

Benefits of technology

It achieves effective processing of images that exceed the maximum processing size of the ISP, reduces hardware costs, avoids seam problems during splicing, and improves image processing efficiency and quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118279138B
    Figure CN118279138B
Patent Text Reader

Abstract

The present disclosure relates to the field of image processing technology, and specifically to an image processing method, device, electronic device, storage medium and chip. The image processing method comprises: obtaining image data of an image to be processed, wherein the size of the image to be processed in a specified direction is greater than a preset processing size in the specified direction; dividing the image to be processed in the specified direction to obtain multiple sub-images, wherein the size of the sub-image in the specified direction is less than or equal to the preset processing size in the specified direction; processing the multiple sub-images to obtain multiple processed sub-images; and splicing the multiple processed sub-images to obtain the processed image. The present disclosure can avoid the generation of seams when splicing the images after segmentation and processing on the basis of meeting the processing capacity of the ISP, solves the technical problem that the ISP cannot process images exceeding its maximum processing size limit, and obtains good processing effects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of image processing technology, and in particular to an image processing method, device, electronic device, storage medium and chip. Background Art

[0002] In the field of digital imaging, with the rapid development of technology, the performance of image sensors has been significantly improved, allowing us to capture more delicate, colorful and higher-resolution images. This progress is not only reflected in the increased sensitivity of the photosensitive element, but also in the surge in the number of pixels and the expansion of the dynamic range. However, in sharp contrast to the rapid improvement of image sensor performance, the processing power of the image signal processor (ISP) has not grown synchronously, which has largely limited the further improvement of image quality.

[0003] Traditional ISPs have a maximum processing size limit for images, and images that exceed the maximum processing size limit cannot be processed by the ISP. However, using an ISP with a larger processing size will increase hardware costs. At the same time, in some specific fields, such as video surveillance, most of the time, video images of normal size are processed, and occasionally large-size images need to be processed. If an ISP with a larger processing size is directly used to accommodate these two situations, it will also cause a significant increase in hardware costs. Therefore, how to process images that exceed the maximum processing size of the ISP at a lower cost has become an urgent problem to be solved. Summary of the invention

[0004] In order to solve the problems in the related art, the embodiments of the present disclosure provide an image processing method, device, electronic device, storage medium and chip.

[0005] In a first aspect, an embodiment of the present disclosure provides an image processing method, including:

[0006] Acquire image data of an image to be processed, wherein a size of the image to be processed in a specified direction is larger than a preset processing size in the specified direction;

[0007] The image to be processed is divided in the specified direction to obtain a plurality of sub-images, the size of the sub-image in the specified direction is less than or equal to a preset processing size in the specified direction, the sub-image includes a first area and a second area, the second area includes an image area required to be used when processing an image in the first area, the first area of ​​the sub-image is adjacent to or partially overlaps with a first area of ​​an adjacent sub-image, and the second area of ​​the sub-image is covered by the first area of ​​an adjacent sub-image;

[0008] Processing the plurality of sub-images to obtain a plurality of processed sub-images;

[0009] Stitching the multiple processed sub-images to obtain the processed image, comprising: determining a storage location of image data of the image corresponding to the first area in the processed sub-image according to a location of the image corresponding to the first area in the processed sub-image in the processed image; storing the image data of the image corresponding to the first area in the processed sub-image at the storage location, so that the storage location of the image data of the image corresponding to the first area in the multiple processed sub-images is the same as the storage location of the image data of the processed image directly stored in the designated storage area;

[0010] The size of the first region is set so that the size of the image corresponding to the first region in the processed sub-image in the specified direction is equal to an integer multiple of the number of pixels storing the processed sub-image in a single storage unit.

[0011] According to an embodiment of the present disclosure, the first area and the second area of ​​the sub-image are adjacent to each other in the specified direction, and the image of the second area is used to process an edge portion of the image of the first area.

[0012] According to an embodiment of the present disclosure, the acquiring of image data of the image to be processed includes writing all the image data of the image to be processed into a storage area;

[0013] The processing of the plurality of sub-images includes reading out image data of the sub-images to be processed from storage locations corresponding to the sub-images to be processed in the storage area for processing according to the segmentation result of the image to be processed.

[0014] According to an embodiment of the present disclosure, the size of the sub-image in the specified direction is an integer multiple of the number of pixels of the image to be processed stored in a single storage unit;

[0015] The sum of the sizes of the first regions in the plurality of sub-images in a specified direction is greater than or equal to the image to be processed;

[0016] The sum of sizes of the multiple sub-images in a specified direction is larger than the image to be processed.

[0017] According to an embodiment of the present disclosure, the steps for calculating the size of the sub-image in the specified direction are as follows:

[0018] Determine the initial size of the sub-image in the specified direction according to the number of portions of the image to be processed and the size of the image to be processed in the specified direction;

[0019] Taking an integer multiple of a first number of pixels that is greater than or equal to the initial size and closest to the initial size as the size of the first area in a specified direction, the first number of pixels being the number of pixels of a single storage unit storing the processed sub-image;

[0020] The size of the sub-image in the specified direction is determined according to the size of the first area in the specified direction and the size of the second area in the specified direction; the size of the second area in the specified direction is a preset value.

[0021] According to an embodiment of the present disclosure, the size of the sub-image in the specified direction is calculated as follows:

[0022] ; (W c ≤W L )

[0023] Where W is the size of the image to be processed in the specified direction, N is the number of image segments to be processed, Y1 is the first pixel number, and W L is the preset processing size in the specified direction, W c is the size of the sub-image in the specified direction, W2 is the size of the second area in the specified direction, Round up to an integer.

[0024] According to an embodiment of the present disclosure, the to-be-processed image and sub-image are RAW format images, and the processed sub-image and processed image are YUV format images.

[0025] According to an embodiment of the present disclosure, the method further includes:

[0026] The processed images are obtained, integrated in the order of generation time, and then video encoded to generate a video file.

[0027] According to an embodiment of the present disclosure, the specified direction of the image to be processed is the horizontal direction and / or the vertical direction of the image to be processed.

[0028] In a second aspect, an embodiment of the present disclosure provides an image processing device, including:

[0029] An acquisition module is configured to acquire image data of an image to be processed, wherein a size of the image to be processed in a specified direction is larger than a preset processing size in the specified direction;

[0030] a segmentation module, configured to segment the image to be processed in the specified direction to obtain a plurality of sub-images, wherein the size of the sub-image in the specified direction is less than or equal to the preset processing size, the sub-image includes a first area and a second area, the second area includes an image area required to be used when processing the image in the first area, the first area of ​​the sub-image is adjacent to or partially overlaps with the first area of ​​an adjacent sub-image, and the second area of ​​the sub-image is covered by the first area of ​​the adjacent sub-image;

[0031] A processing module, configured to process the plurality of sub-images to obtain a plurality of processed sub-images;

[0032] a stitching module configured to stitch the plurality of processed sub-images to obtain the processed image, comprising: determining a storage location of image data of the image corresponding to the first area in the processed sub-image according to a location of the image corresponding to the first area in the processed sub-image in the processed image; storing the image data of the image corresponding to the first area in the processed sub-image at the storage location, so that the storage location of the image data of the image corresponding to the first area in the plurality of processed sub-images is the same as the storage location of the image data of the processed image directly stored in the designated storage area;

[0033] The size of the first region is set so that the size of the image corresponding to the first region in the processed sub-image in the specified direction is equal to an integer multiple of the number of pixels storing the processed sub-image in a single storage unit.

[0034] According to an embodiment of the present disclosure, the first area and the second area of ​​the sub-image are adjacent to each other in the specified direction, and the image of the second area is used to process an edge portion of the image of the first area.

[0035] According to an embodiment of the present disclosure, the device further includes:

[0036] The encoding module is configured to obtain the processed images, integrate them, perform video encoding, and generate a video file.

[0037] In a third aspect, an embodiment of the present disclosure provides an image processing chip, including:

[0038] A segmentation element is configured to receive an image to be processed sent by an image sensor and store it in a storage element, and to segment the image to be processed in a specified direction to obtain a plurality of sub-images; the size of the sub-image in the specified direction is less than or equal to a preset processing size; the sub-image includes a first area and a second area, the second area includes an image area required to be used when processing the image of the first area, the first area of ​​the sub-image is adjacent to or partially overlaps with the first area of ​​an adjacent sub-image, and the second area of ​​the sub-image is covered by the first area of ​​an adjacent sub-image; the size of the image to be processed in the specified direction is greater than the preset processing size in the specified direction;

[0039] A storage element configured to store the image to be processed and the plurality of sub-images sent by the segmentation element, and to store the processed image sent by the ISP;

[0040] The ISP element is configured to process the multiple sub-images sent by the segmentation element to obtain multiple processed sub-images, store the multiple processed sub-images in a storage element, and splice the multiple processed sub-images to obtain a processed image, including: determining a storage location of image data of the image corresponding to the first area in the processed sub-image according to a location of the image corresponding to the first area in the processed sub-image in the processed image; storing the image data of the image corresponding to the first area in the processed sub-image at the storage location, so that the storage location of the image data of the image corresponding to the first area in the multiple processed sub-images is the same as the storage location of the image data of the processed image directly stored in the designated storage area;

[0041] The size of the first region is set so that the size of the image corresponding to the first region in the processed sub-image in the specified direction is equal to an integer multiple of the number of pixels storing the processed sub-image in a single storage unit.

[0042] According to an embodiment of the present disclosure, the segmentation element is also configured to: based on the segmentation result of the image to be processed, read out the image data of the sub-image to be processed from the storage location corresponding to the sub-image to be processed in the storage area of ​​the storage element, and send it to the ISP element for processing.

[0043] According to an embodiment of the present disclosure, the first area and the second area of ​​the sub-image are adjacent to each other in the specified direction, and the image of the second area is used to process an edge portion of the image of the first area.

[0044] According to an embodiment of the present disclosure, the size of the sub-image in the specified direction is an integer multiple of the number of pixels of the image to be processed stored in a single storage unit;

[0045] The sum of the sizes of the first regions in the plurality of sub-images in a specified direction is greater than or equal to the image to be processed;

[0046] The sum of sizes of the multiple sub-images in a specified direction is larger than the image to be processed.

[0047] According to an embodiment of the present disclosure, the steps for calculating the size of the sub-image in the specified direction are as follows:

[0048] Determine the initial size of the sub-image in the specified direction according to the number of portions of the image to be processed and the size of the image to be processed in the specified direction;

[0049] Taking an integer multiple of a first number of pixels that is greater than or equal to the initial size and closest to the initial size as the size of the first area in a specified direction, the first number of pixels being the number of pixels of a single storage unit storing the processed sub-image;

[0050] The size of the sub-image in the specified direction is determined according to the size of the first area in the specified direction and the size of the second area in the specified direction; the size of the second area in the specified direction is a preset value.

[0051] According to an embodiment of the present disclosure, the size of the sub-image in the specified direction is calculated as follows:

[0052] ; (W c ≤W L )

[0053] Where W is the size of the image to be processed in the specified direction, N is the number of image segments to be processed, Y1 is the first pixel number, and W L is the preset processing size in the specified direction, W c is the size of the sub-image in the specified direction, W2 is the size of the second area in the specified direction, Round up to an integer.

[0054] According to an embodiment of the present disclosure, the to-be-processed image and sub-image are RAW format images, and the processed sub-image and processed image are YUV format images.

[0055] According to an embodiment of the present disclosure, the image processing chip further includes:

[0056] The video encoder is configured to read the processed image in the storage element for encoding, and generate a video file and store it in the storage element.

[0057] In a fourth aspect, an embodiment of the present disclosure provides an electronic device, comprising a memory and a processor, wherein the memory is used to store computer instructions, and wherein the computer instructions are executed by the processor to implement a chip as described in any one of the third aspects.

[0058] In a fifth aspect, an embodiment of the present disclosure provides an electronic device, comprising a memory and a processor, wherein the memory is used to store computer instructions, and wherein the computer instructions are executed by the processor to implement a method as described in any one of the first aspects.

[0059] In a sixth aspect, an embodiment of the present disclosure provides a computer-readable storage medium on which computer instructions are stored. When the computer instructions are executed by a processor, the method described in the first aspect is implemented.

[0060] According to the technical solution provided by an embodiment of the present disclosure, the present invention discloses an image processing method, including: acquiring image data of an image to be processed, wherein the size of the image to be processed in a specified direction is larger than a preset processing size in the specified direction; dividing the image to be processed in the specified direction to obtain multiple sub-images, wherein the size of the sub-image in the specified direction is smaller than or equal to the preset processing size in the specified direction, the sub-image includes a first area and a second area, the second area includes an image area required to be used when processing an image of the first area, the first area of ​​the sub-image is adjacent to or partially overlaps with the first area of ​​an adjacent sub-image, and the second area of ​​the sub-image is covered by the first area of ​​an adjacent sub-image; processing the multiple sub-images to obtain multiple processed sub-images; and splicing the multiple processed sub-images to obtain the processed image.

[0061] The disclosed embodiment segments an image to be processed that exceeds the processing capability of the ISP, so that the segmented sub-images are no larger than the maximum processing size limit of the ISP. By including the second area in the segmented sub-images, the processing effect of the edge portion of the first area can be guaranteed. By making the first area of ​​the sub-image adjacent to or partially overlapping the first area of ​​the adjacent sub-image during segmentation, it is possible to avoid seams when the segmented images are spliced, thereby enabling the ISP to process images that exceed its maximum processing size limit and obtain good processing effects.

[0062] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Other features, purposes and advantages of the present disclosure will become more apparent through the following detailed description of non-limiting embodiments in conjunction with the accompanying drawings. In the accompanying drawings:

[0064] Figure 1 A flowchart of an image processing method according to an embodiment of the present disclosure is shown.

[0065] Figure 2 A schematic diagram showing a segmentation relationship when the first regions of sub-images overlap according to an embodiment of the present disclosure is shown.

[0066] Figure 3 A schematic diagram showing a segmentation relationship when first areas of sub-images are adjacent to each other according to an embodiment of the present disclosure.

[0067] Figure 4 A schematic diagram is shown of splicing images corresponding to a first area in a plurality of processed sub-images to obtain a processed image according to an embodiment of the present disclosure.

[0068] Figure 5 A schematic diagram is shown of splicing images corresponding to a first area in a plurality of processed sub-images to obtain a processed image according to an embodiment of the present disclosure.

[0069] Figure 6 A flowchart of sub-image size calculation in an image processing method according to an embodiment of the present disclosure is shown.

[0070] Figure 7 A flowchart of an image processing method according to another embodiment of the present disclosure is shown.

[0071] Figure 8 A structural block diagram of an image processing device according to an embodiment of the present disclosure is shown.

[0072] Fig. 9 A structural block diagram of the segmentation module 820 in the image processing device according to an embodiment of the present disclosure is shown.

[0073] Fig.10 A structural block diagram of an image processing device according to another embodiment of the present disclosure is shown.

[0074] Fig.11 A structural block diagram of an image processing chip according to an embodiment of the present disclosure is shown.

[0075] Fig.12 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown.

[0076] Fig.13 A schematic diagram showing the structure of a computer system suitable for implementing the method according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0077] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. In addition, for the sake of clarity, parts not related to the description of the exemplary embodiments are omitted in the accompanying drawings.

[0078] In the present disclosure, it should be understood that terms such as "include" or "have" are intended to indicate the presence of features, numbers, steps, behaviors, components, parts, or a combination thereof disclosed in the present specification, and are not intended to exclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or a combination thereof exist or are added.

[0079] It should also be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0080] As mentioned above, in the field of digital imaging, with the rapid development of technology, the performance of image sensors has been significantly improved, allowing us to capture more delicate, colorful and higher resolution images. This progress is not only reflected in the increased sensitivity of the photosensitive element, but also in the surge in the number of pixels and the expansion of the dynamic range. However, in sharp contrast to the rapid improvement of image sensor performance, the processing power of the image signal processor ISP (Image Signal Processor, ISP) has not grown synchronously, which has largely limited the further improvement of image quality.

[0081] Traditional ISPs have a maximum processing size limit for images, and images that exceed the maximum processing size limit cannot be processed by the ISP. However, using an ISP with a larger processing size will increase hardware costs. At the same time, in some specific fields, such as video surveillance, most of the time, video images of normal size are processed, and occasionally large-size images need to be processed. If an ISP with a larger processing size is directly used to accommodate these two situations, it will also cause a significant increase in hardware costs. Therefore, how to process images that exceed the maximum processing size of the ISP at a lower cost has become an urgent problem to be solved.

[0082] In order to solve the above technical problems, the present invention discloses an image processing method, comprising: acquiring image data of an image to be processed, wherein the size of the image to be processed in a specified direction is larger than a preset processing size in the specified direction; dividing the image to be processed in the specified direction to obtain a plurality of sub-images, wherein the size of the sub-image in the specified direction is smaller than or equal to the preset processing size in the specified direction, the sub-image comprises a first area and a second area, the second area comprises an image area required to be used when processing an image of the first area, the first area of ​​the sub-image is adjacent to or partially overlaps with the first area of ​​an adjacent sub-image, and the second area of ​​the sub-image is covered by the first area of ​​the adjacent sub-image; processing the plurality of sub-images to obtain a plurality of processed sub-images; and splicing the plurality of processed sub-images to obtain a plurality of processed sub-images. Obtaining the processed image includes: determining the storage position of the image data of the image corresponding to the first area in the processed sub-image in a designated storage area according to the position of the image corresponding to the first area in the processed sub-image in the processed image; storing the image data of the image corresponding to the first area in the processed sub-image at the storage position, so that the storage position of the image data of the image corresponding to the first area in the multiple processed sub-images is the same as the storage position of the image data of the processed image directly stored in the designated storage area; wherein the size of the first area is set so that the size of the image corresponding to the first area in the processed sub-image in the designated direction is equal to an integer multiple of the number of pixels of the processed sub-image stored in a single storage unit.

[0083] According to an embodiment of the present disclosure, "size" may refer to the number of pixels. The preset processing size in the specified direction may be the maximum processing size of the ISP in the specified direction, such as the maximum number of pixels that the ISP can process in the specified direction, and the specified direction may be the horizontal and / or vertical direction of the image. The embodiment of the present disclosure segments the image to be processed that exceeds the processing capacity of the ISP, so that the segmented sub-images are not larger than the maximum processing size limit of the ISP. By including the second area in the segmented sub-images, the processing effect of the edge portion of the first area can be guaranteed. By making the first area of ​​the sub-image adjacent to or partially overlapping the first area of ​​the adjacent sub-image during segmentation, the segmented images can be prevented from having seams when they are spliced, thereby enabling the ISP to process images that exceed its maximum processing size limit and obtain good processing effects.

[0084] For the convenience of explanation, the following description takes the case where the specified direction is the horizontal direction of the image as an example, but those skilled in the art will understand that the embodiments of the present disclosure are also applicable to the case where the specified direction is the vertical direction of the image, or the specified direction is both the horizontal and vertical direction of the image.

[0085] Figure 1 FIG. 1 is a flowchart of an image processing method according to an embodiment of the present disclosure. Figure 1 As shown, the image processing method includes the following steps S101 - S104:

[0086] In step S101, image data of an image to be processed is obtained, and the size of the image to be processed in a specified direction is larger than a preset processing size in the specified direction. The specified direction may include the horizontal and / or vertical direction of the image, and the preset processing size is the maximum image size that the ISP can process, such as the maximum number of pixels. The size of the image to be processed in the horizontal direction of the image is called the width, and the size in the vertical direction of the image is called the height. When the width and / or height of the image to be processed is larger than the preset processing size, the technical solution of the present disclosure can be applied for processing.

[0087] According to an embodiment of the present disclosure, the step of obtaining the image data of the image to be processed includes writing all the image data of the image to be processed into a storage area, and then performing image processing through the ISP. This step is consistent with the traditional ISP image processing process, and there is no need to perform an additional image data writing step for processing large-size images, which simplifies the processing flow and can reuse the software and hardware configuration of existing image processing devices.

[0088] In step S102, the image to be processed is divided in the specified direction to obtain a plurality of sub-images, and the size of the sub-image in the specified direction is less than or equal to the preset processing size in the specified direction. The sub-image includes a first area and a second area, and the second area includes an image area required to be used when processing the image in the first area. The first area of ​​the sub-image is adjacent to or partially overlaps with the first area of ​​an adjacent sub-image, and the second area of ​​the sub-image is covered by the first area of ​​the adjacent sub-image.

[0089] According to an embodiment of the present disclosure, the first area and the second area of ​​the sub-image are adjacent to each other in the specified direction, and the image of the second area is used to process an edge portion of the image of the first area.

[0090] Figure 2 A schematic diagram showing a segmentation relationship when the first regions of sub-images overlap according to an embodiment of the present disclosure is shown.

[0091] like Figure 2As shown, the width of the image to be processed in the horizontal direction is greater than the preset processing size of the ISP in the horizontal direction, that is, the maximum processing size of the ISP in the horizontal direction. The image to be processed is segmented to obtain a left sub-image and a right sub-image. The left sub-image includes a first area and a second area adjacent to each other, wherein the second area is covered by the first area of ​​the adjacent sub-image (i.e., the right sub-image). The right sub-image includes a first area and a second area adjacent to each other, wherein the second area is covered by the first area of ​​the adjacent sub-image (i.e., the left sub-image). The first areas of the left sub-image and the right sub-image partially overlap with each other. The first area of ​​the sub-image is the image area output after the sub-image is processed, and the second area is the image area required to be used when processing the image of the first area.

[0092] For example, when the image to be processed is a RAW format image and the processed image is a YUV format image, the RAW image needs to be bilinearly interpolated during the image processing process. The four data points closest to the target point need to be used during the interpolation process. These four points form a square, and the target point is located inside the square. Then, the function values ​​at these four points are used to estimate the function value at the target point. Therefore, when processing the first area of ​​the sub-image, it is necessary to provide the image data of the second area for bilinear interpolation of the edge part of the first area to prevent the processing quality of the processed sub-image from decreasing in the edge area, and to ensure that the processed sub-image has an overall uniform image quality.

[0093] Figure 3 A schematic diagram showing a segmentation relationship when first areas of sub-images are adjacent to each other according to an embodiment of the present disclosure.

[0094] like Figure 3 As shown, the width of the image to be processed in the horizontal direction is greater than the preset processing size of the ISP in the horizontal direction, that is, the maximum processing size of the ISP in the horizontal direction. The image to be processed is segmented to obtain a left sub-image and a right sub-image. The left sub-image includes a first area and a second area adjacent to each other, wherein the second area is covered by the first area of ​​the adjacent sub-image (i.e., the right sub-image). The right sub-image includes a first area and a second area adjacent to each other, wherein the second area is covered by the first area of ​​the adjacent sub-image (i.e., the left sub-image). The first areas of the left sub-image and the right sub-image are adjacent to each other. The first area of ​​the sub-image is the image area output after the sub-image is processed, and the second area is the image area required to be used when processing the image of the first area.

[0095] In step S103, the plurality of sub-images are processed to obtain a plurality of processed sub-images. After the image to be processed is divided into a plurality of sub-images, the plurality of sub-images are respectively input into an image processor (ISP) for processing, and a plurality of corresponding processed sub-images are generated. The image processing method includes any one or more of image transformation, image coding compression, image enhancement, etc. For example, the image to be processed is a RAW format image, and the processed image is a YUV format image. The RAW image is converted into a YUV image through the ISP.

[0096] According to an embodiment of the present disclosure, the processing of the multiple sub-images includes reading out the image data of the sub-image to be processed from the storage location corresponding to the sub-image to be processed in the storage area according to the segmentation result of the image to be processed for processing. Since the storage location of the image data of each pixel of the image to be processed in the storage area is known, after obtaining the segmentation result, the storage location of the image data of the sub-image to be processed can be determined according to the segmentation result and the storage location of the image data of each pixel of the image to be processed in the storage area, so that when processing any sub-image, according to the storage location information of the image data of the sub-image in the storage area, the ISP directly reads the image data of the sub-image from the storage area for processing, without the need for additional image data copying, thereby improving image processing efficiency.

[0097] In step S104, the multiple processed sub-images are spliced ​​to obtain the processed image, including: determining the storage location of the image data of the image corresponding to the first area in the processed sub-image in a designated storage area according to the location of the image corresponding to the first area in the processed sub-image in the processed image; and storing the image data of the image corresponding to the first area in the processed sub-image at the storage location, so that the storage location of the image data of the image corresponding to the first area in the multiple processed sub-images is the same as the storage location of the image data of the processed image directly stored in the designated storage area.

[0098] The size of the first region is set so that the size of the image corresponding to the first region in the processed sub-image in the specified direction is equal to an integer multiple of the number of pixels storing the processed sub-image in a single storage unit.

[0099] According to an embodiment of the present disclosure, the stitching of the multiple processed sub-images includes:

[0100] The images corresponding to the first area among the multiple processed sub-images are stitched together.

[0101] According to an embodiment of the present disclosure, the image edge portion of the first area can be processed using the image data of the second area, thereby ensuring that the processed sub-image corresponding to the first area has an overall uniform image quality. At the same time, the first areas of adjacent sub-images partially overlap or are adjacent to each other, ensuring that a seamless and complete processed image can be obtained by splicing the images corresponding to the first areas in multiple processed sub-images. It should be noted that when the first areas of adjacent sub-images partially overlap with each other, when splicing the images, the sub-image areas corresponding to the overlapping parts should also overlap to avoid the sub-image areas corresponding to the overlapping parts appearing twice in the spliced ​​image.

[0102] According to an embodiment of the present disclosure, the step of stitching the image corresponding to the first area among the plurality of processed sub-images includes:

[0103] The image data corresponding to the first region in the plurality of processed sub-images is stored in a designated storage area.

[0104] The reading and copying of image data will consume a lot of time. In order to improve the image processing efficiency, the number of times the image data is read and written should be reduced as much as possible. The disclosed embodiment achieves image stitching by storing the image corresponding to the first area in multiple processed sub-images, thereby obtaining a processed image. It is not necessary to store the image data corresponding to the second area in multiple processed sub-images, thereby reducing the number of times the image data is read and written and improving the image processing efficiency.

[0105] According to an embodiment of the present disclosure, storing the image data corresponding to the first area in the plurality of processed sub-images in a designated storage area includes:

[0106] According to the position of the image corresponding to the first area in the processed sub-image in the processed image, the saving position of the image data corresponding to the first area in the processed sub-image in the designated storage area is determined, and the image data corresponding to the first area in the processed sub-image is stored in the saving position, so that the saving position of the image data corresponding to the first area in the multiple processed sub-images is the same as the saving position of the image data of the processed image directly stored in the designated storage area.

[0107] According to an embodiment of the present disclosure, the size of the processed image can be calculated based on the size of the image to be processed according to the specific image processing method used, and then the storage position of the image data of each pixel of the processed image in the designated storage area can be determined. Since the position of the image corresponding to the first area in the processed sub-image in the processed image is known, the storage position of the image data corresponding to the first area in the processed sub-image in the designated storage area can be calculated according to the storage position of the image data of each pixel of the processed image in the designated storage area and the position of the image corresponding to the first area in the processed sub-image in the processed image. Then, the image data corresponding to the first area in the processed sub-image is directly stored in the corresponding storage position. After the image data corresponding to the first area in multiple processed sub-images are stored in the corresponding storage positions, the image data of each pixel of the processed image is stored in each storage position in the designated storage area, and the image data stored in each storage position in the designated storage area is the same as the storage position of the image data of the processed image directly stored in the designated storage area. When the processed image needs to be further processed later, the image data in the designated storage area can be directly read without performing additional copying, sorting and other operations.

[0108] Figure 4 A schematic diagram is shown of splicing images corresponding to the first region in a plurality of processed sub-images to obtain a processed image according to an embodiment of the present disclosure, wherein the first regions of adjacent sub-images partially overlap with each other.

[0109] like Figure 4As shown, the image to be processed is divided into two sub-images (i.e., a left sub-image and a right sub-image), each of which includes a first area and a second area, respectively, and the first area of ​​the left sub-image partially overlaps with the first area of ​​the right sub-image (i.e., the first area overlapping area). According to an embodiment of the present disclosure, the entire sub-image is processed, and the processed sub-image obtained includes image portions corresponding to the first area and the second area, respectively. When stitching, only the image portion corresponding to the first area in the processed sub-image (i.e., the portion corresponding to the left processed sub-image and the first area, and the portion corresponding to the right processed sub-image and the first area) is used for stitching. According to an embodiment of the present disclosure, only the sub-image of the first area may be processed, and when processing the edge portion of the first area, the image data of the second area may be used. In this case, the sub-image only includes the image portion corresponding to the first area. Since the first areas of adjacent sub-images partially overlap (i.e., the first area overlapping area), the image portion corresponding to the first area in the processed sub-image also partially overlaps (i.e., the processed sub-image overlapping area), thereby ensuring that a seamlessly stitched image is obtained. When the image portion corresponding to the first region in the processed sub-image is stored in the designated storage area, the overlapping portion will be stored twice in the same position.

[0110] Figure 5 A schematic diagram is shown of splicing images corresponding to the first region in a plurality of processed sub-images to obtain a processed image according to an embodiment of the present disclosure, wherein the first regions of adjacent sub-images are adjacent to each other.

[0111] like Figure 5 As shown, the image to be processed is divided into two sub-images (i.e., a left sub-image and a right sub-image), each of which includes a first area and a second area, respectively, and the first areas of the left sub-image and the right sub-image are adjacent to each other. According to an embodiment of the present disclosure, the entire sub-image is processed, and the processed sub-image obtained includes image portions corresponding to the first area and the second area, respectively. When stitching, only the image portion corresponding to the first area in the processed sub-image (i.e., the portion corresponding to the first area of ​​the left processed sub-image and the portion corresponding to the first area of ​​the right processed sub-image) is used for stitching. According to an embodiment of the present disclosure, only the sub-image of the first area may be processed, and when processing the edge portion of the first area, the image data of the second area may be used. In this case, the sub-image includes only the image portion corresponding to the first area. Since the first areas of adjacent sub-images are adjacent to each other, the image portions corresponding to the first area in the processed sub-image are also adjacent to each other, thereby ensuring that a seamlessly stitched image is obtained.

[0112] According to an embodiment of the present disclosure, when the image to be processed is segmented, the size of the first area is required to make the size of the image corresponding to the first area in the processed sub-image in the specified direction an integer multiple of the number of pixels of each storage unit in the storage area storing the processed sub-image. The number of pixels of each storage unit storing the processed sub-image is a preset value, referred to as the first number of pixels in the present disclosure. For example, assuming that each storage unit in the specified storage area stores pixel data of 128 processed sub-images, the size (for example, width) of the image corresponding to the first area in the processed sub-image in the specified direction is an integer multiple of 128 pixels. When there is a one-to-one correspondence between the pixels of the image corresponding to the first area in the processed sub-image and the pixels of the first area, the size of the image of the first area in the specified direction is equal to the size of the image corresponding to the first area in the processed sub-image in the specified direction. For example, when converting a RAW image to a YUV image, the pixels of a RAW image correspond to the pixels of a converted YUV image, and therefore, the width of the first area of ​​each sub-image of the RAW image is equal to the width of the image corresponding to the first area in the processed YUV sub-image.

[0113] Further, according to an embodiment of the present disclosure, the size of the sub-image in the specified direction is an integer multiple of the number of pixels of the image to be processed stored in each storage unit in the storage area. The number of pixels of the image to be processed stored in each storage unit is a preset value, referred to as the second pixel number in the present disclosure. For example, assuming that each storage unit in the storage area stores pixel data of 32 images to be processed, the size (e.g., width) of the sub-image in the specified direction is an integer multiple of 32 pixels.

[0114] The sum of sizes of the first regions in the multiple sub-images in a specified direction is greater than or equal to the image to be processed.

[0115] The sum of sizes of the multiple sub-images in a specified direction is larger than the image to be processed.

[0116] Through the above settings, good compatibility with the storage area storage and read-write rules preset by the system can be achieved, without the need for additional copying, segmentation, sorting and other operations on the read and written image data.

[0117] Figure 6 A flowchart of sub-image size calculation in an image processing method according to an embodiment of the present disclosure is shown, wherein one pixel of the image to be processed corresponds to one pixel of the processed image.

[0118] like Figure 6 As shown, the steps for calculating the size of the sub-image in the specified direction are as follows:

[0119] In step S601, the initial size of the sub-image in the specified direction is determined according to the number of portions of the image to be processed and the size of the image to be processed in the specified direction. The initial size is the size of each portion of the image in the specified direction after the image to be processed is evenly divided into N portions.

[0120] In step S602, an integer multiple of the first pixel number that is greater than or equal to the initial size and closest to the initial size is taken as the size of the first region in the specified direction. If the initial size is an integer multiple of the first pixel number, the initial size is the size of the first region in the specified direction; if the initial size is not an integer multiple of the first pixel number, an integer multiple of the first pixel number that is smaller than the initial size and closest to the initial size is taken to obtain the size of the first region in the specified direction. The first pixel number is the number of pixels in a single storage unit storing the processed sub-image.

[0121] In step S603, the size of the sub-image in the specified direction is determined according to the size of the first area in the specified direction and the size of the second area in the specified direction; the size of the second area in the specified direction is a preset value.

[0122] For example, the resolution of the image to be processed is 3848*2160, that is, the width is 3848 pixels. The preset number of divisions is 2, the preset width of the second region is 32 pixels, and the first number of pixels is 128, then the half-width of the image to be processed is 1924. If the half-width of the image to be processed is not an integer multiple of the first number of pixels, the width of the first region needs to be set to 2048 pixels, the overlapping width of adjacent first regions is 2048*2-3848=248 pixels, the width of the second region is 32, and the width of a single sub-image is set to 2048+32=2080 pixels.

[0123] According to an embodiment of the present disclosure, the size of the sub-image in the specified direction is calculated as follows:

[0124] ; (W c ≤W L )

[0125] Where W is the size of the image to be processed in the specified direction, N is the number of image segments, Y1 is the first pixel number, and W L is the preset processing size in the specified direction, W c is the size of the sub-image in the specified direction, W2 is the size of the second area in the specified direction, Round up to an integer.

[0126] For example, if the width W of the image to be processed is 3848 pixels, the preset number of divisions N is 2, the preset size W2 of the second region in the specified direction is 32 pixels, and the number of pixels Y1 of the processed sub-image stored in a single memory unit is 128, then the size of the sub-image in the specified direction is = Pixel.

[0127] According to an embodiment of the present disclosure, when W c If it is not an integer multiple of the second pixel number, it will be greater than W c And with W c The closest integer multiple of the second number of pixels is used as the size of the sub-image in the specified direction.

[0128] According to an embodiment of the present disclosure, the to-be-processed image and sub-image are RAW format images, and the processed sub-image and processed image are YUV format images.

[0129] Figure 7 FIG. 4 is a flowchart showing an image processing method according to another embodiment of the present disclosure. Figure 7 As shown, the image processing method further includes step S105:

[0130] In step S105, the processed images are obtained, integrated in the order of generation time, and then video encoded to generate a video file. After all processed images are generated, the processed images can be sorted in the order of generation time, and all processed images can be video encoded in the order of generation time to generate a video file.

[0131] Figure 8 The structural block diagram of the image processing device according to the embodiment of the present disclosure is shown. The device can be implemented as part or all of the electronic device through software, hardware or a combination of both.

[0132] like Figure 8 As shown, the image processing device 800 includes an acquisition module 810 , a segmentation module 820 , a processing module 830 , and a stitching module 840 .

[0133] The acquisition module 810 is configured to acquire image data of an image to be processed, wherein the size of the image to be processed in a specified direction is larger than a preset processing size in the specified direction. The specified direction may include the horizontal and / or vertical direction of the image, and the preset processing size is the maximum image size that the ISP can process, such as the maximum number of pixels. The size of the image to be processed in the horizontal direction of the image is called the width, and the size in the vertical direction of the image is called the height. When the width and / or height of the image to be processed is larger than the preset processing size, the technical solution of the present disclosure can be applied for processing.

[0134] According to an embodiment of the present disclosure, the step of obtaining the image data of the image to be processed includes writing all the image data of the image to be processed into a storage area, and then performing image processing through the ISP. This step is consistent with the traditional ISP image processing process, and there is no need to perform an additional image data writing step for processing large-size images, which simplifies the processing flow and can reuse the software and hardware configuration of existing image processing devices.

[0135] The segmentation module 820 is configured to segment the image to be processed in the specified direction to obtain a plurality of sub-images, wherein the size of the sub-image in the specified direction is less than or equal to the preset processing size in the specified direction. The sub-image includes a first area and a second area, wherein the second area includes an image area required to be used when processing the image in the first area. The first area of ​​the sub-image is adjacent to or partially overlaps with the first area of ​​an adjacent sub-image, and the second area of ​​the sub-image is covered by the first area of ​​the adjacent sub-image.

[0136] According to an embodiment of the present disclosure, the first area and the second area of ​​the sub-image are adjacent to each other in the specified direction, and the image of the second area is used to process an edge portion of the image of the first area.

[0137] Figure 2 A schematic diagram showing a segmentation relationship when the first regions of sub-images overlap according to an embodiment of the present disclosure is shown.

[0138] like Figure 2 As shown, the width of the image to be processed in the horizontal direction is greater than the preset processing size of the ISP in the horizontal direction, that is, the maximum processing size of the ISP in the horizontal direction. The image to be processed is segmented to obtain a left sub-image and a right sub-image. The left sub-image includes a first area and a second area adjacent to each other, wherein the second area is covered by the first area of ​​the adjacent sub-image (i.e., the right sub-image). The right sub-image includes a first area and a second area adjacent to each other, wherein the second area is covered by the first area of ​​the adjacent sub-image (i.e., the left sub-image). The first areas of the left sub-image and the right sub-image partially overlap with each other. The first area of ​​the sub-image is the image area output after the sub-image is processed, and the second area is the image area required to be used when processing the image of the first area.

[0139] For example, when the image to be processed is a RAW format image and the processed image is a YUV format image, the RAW image needs to be bilinearly interpolated during the image processing process. The four data points closest to the target point need to be used during the interpolation process. These four points form a square, and the target point is located inside the square. Then, the function values ​​at these four points are used to estimate the function value at the target point. Therefore, when processing the first area of ​​the sub-image, it is necessary to provide the image data of the second area for bilinear interpolation of the edge part of the first area to prevent the processing quality of the processed sub-image from decreasing in the edge area, and to ensure that the processed sub-image has an overall uniform image quality.

[0140] Figure 3 A schematic diagram showing a segmentation relationship when first areas of sub-images are adjacent to each other according to an embodiment of the present disclosure.

[0141] like Figure 3 As shown, the width of the image to be processed in the horizontal direction is greater than the preset processing size of the ISP in the horizontal direction, that is, the maximum processing size of the ISP in the horizontal direction. The image to be processed is segmented to obtain a left sub-image and a right sub-image. The left sub-image includes a first area and a second area adjacent to each other, wherein the second area is covered by the first area of ​​the adjacent sub-image (i.e., the right sub-image). The right sub-image includes a first area and a second area adjacent to each other, wherein the second area is covered by the first area of ​​the adjacent sub-image (i.e., the left sub-image). The first areas of the left sub-image and the right sub-image are adjacent to each other. The first area of ​​the sub-image is the image area output after the sub-image is processed, and the second area is the image area required to be used when processing the image of the first area.

[0142] The processing module 830 is configured to process the multiple sub-images to obtain multiple processed sub-images. After the image to be processed is divided into multiple sub-images, the multiple sub-images are respectively input into an image processor (ISP) for processing, and a corresponding multiple processed sub-images are generated. The image processing method includes any one or more of image transformation, image coding compression, image enhancement, etc. For example, the image to be processed is a RAW format image, and the processed image is a YUV format image. The RAW image is converted into a YUV image through the ISP.

[0143] According to an embodiment of the present disclosure, the processing module 830 includes reading the image data of the sub-image to be processed from the storage location corresponding to the sub-image to be processed in the storage area according to the segmentation result of the image to be processed for processing. Since the storage location of the image data of each pixel of the image to be processed in the storage area is known, after obtaining the segmentation result, the storage location of the image data of the sub-image to be processed can be determined according to the segmentation result and the storage location of the image data of each pixel of the image to be processed in the storage area, so that when processing any sub-image, according to the storage location information of the image data of the sub-image in the storage area, the ISP directly reads the image data of the sub-image from the storage area for processing, without the need for additional image data copying, thereby improving image processing efficiency.

[0144] The stitching module 840 is configured to stitch the multiple processed sub-images to obtain the processed image, including: determining the storage location of the image data of the image corresponding to the first area in the processed sub-image in a designated storage area according to the location of the image corresponding to the first area in the processed sub-image in the processed image; and storing the image data of the image corresponding to the first area in the processed sub-image at the storage location, so that the storage location of the image data of the image corresponding to the first area in the multiple processed sub-images is the same as the storage location of the image data of the processed image directly stored in the designated storage area.

[0145] The size of the first region is set so that the size of the image corresponding to the first region in the processed sub-image in the specified direction is equal to an integer multiple of the number of pixels storing the processed sub-image in a single storage unit.

[0146] According to an embodiment of the present disclosure, the splicing module 840 includes:

[0147] The stitching submodule is configured to stitch the images corresponding to the first area in the multiple processed sub-images. According to an embodiment of the present disclosure, the image edge portion of the first area can be processed using the image data of the second area, so that it is possible to ensure that the processed sub-image corresponding to the first area has an overall uniform image quality. At the same time, the first areas of adjacent sub-images partially overlap or are adjacent to each other, ensuring that a seamless and complete processed image can be obtained by stitching the images corresponding to the first area in the multiple processed sub-images. It should be noted that when the first areas of adjacent sub-images partially overlap with each other, when stitching the images, the sub-image areas corresponding to the overlapping parts should also overlap to avoid the sub-image areas corresponding to the overlapping parts appearing twice in the stitched image.

[0148] According to an embodiment of the present disclosure, the splicing submodule includes:

[0149] The first storage submodule is configured to store the image data corresponding to the first area in the plurality of processed sub-images in a designated storage area.

[0150] The reading and copying of image data will consume a lot of time. In order to improve the image processing efficiency, the number of times the image data is read and written should be reduced as much as possible. The disclosed embodiment achieves image stitching by storing the image corresponding to the first area in multiple processed sub-images, thereby obtaining a processed image. It is not necessary to store the image data corresponding to the second area in multiple processed sub-images, thereby reducing the number of times the image data is read and written and improving the image processing efficiency.

[0151] According to an embodiment of the present disclosure, the first storage submodule includes:

[0152] A first determination submodule is configured to determine a storage location in the designated storage area of ​​the image data corresponding to the first area in the processed sub-image according to a location in the processed image of the image corresponding to the first area in the processed sub-image, and store the image data corresponding to the first area in the processed sub-image at the storage location, so that the storage location of the image data corresponding to the first area in the multiple processed sub-images is the same as the storage location of the image data of the processed image directly stored in the designated storage area.

[0153] According to an embodiment of the present disclosure, the size of the processed image can be calculated based on the size of the image to be processed according to the specific image processing method used, and then the storage position of the image data of each pixel of the processed image in the designated storage area can be determined. Since the position of the image corresponding to the first area in the processed sub-image in the processed image is known, the storage position of the image data corresponding to the first area in the processed sub-image in the designated storage area can be calculated according to the storage position of the image data of each pixel of the processed image in the designated storage area and the position of the image corresponding to the first area in the processed sub-image in the processed image. Then, the image data corresponding to the first area in the processed sub-image is directly stored in the corresponding storage position. After the image data corresponding to the first area in multiple processed sub-images are stored in the corresponding storage positions, the image data of each pixel of the processed image is stored in each storage position in the designated storage area, and the image data stored in each storage position in the designated storage area is the same as the storage position of the image data of the processed image directly stored in the designated storage area. When the processed image needs to be further processed later, the image data in the designated storage area can be directly read without performing additional copying, sorting and other operations.

[0154] Figure 4 A schematic diagram is shown of splicing images corresponding to first regions in a plurality of processed sub-images to obtain a processed image according to an embodiment of the present disclosure, wherein first regions of adjacent sub-images partially overlap with each other.

[0155] like Figure 4 As shown, the image to be processed is divided into two sub-images (i.e., a left sub-image and a right sub-image), each of which includes a first area and a second area, respectively, and the first area of ​​the left sub-image partially overlaps with the first area of ​​the right sub-image (i.e., the first area overlapping area). According to an embodiment of the present disclosure, the entire sub-image is processed, and the processed sub-image obtained includes image portions corresponding to the first area and the second area, respectively. When stitching, only the image portion corresponding to the first area in the processed sub-image (i.e., the portion corresponding to the left processed sub-image and the first area, and the portion corresponding to the right processed sub-image and the first area) is used for stitching. According to an embodiment of the present disclosure, only the sub-image of the first area may be processed, and when processing the edge portion of the first area, the image data of the second area may be used. In this case, the sub-image only includes the image portion corresponding to the first area. Since the first areas of adjacent sub-images partially overlap (i.e., the first area overlapping area), the image portion corresponding to the first area in the processed sub-image also partially overlaps (i.e., the processed sub-image overlapping area), thereby ensuring that a seamlessly stitched image is obtained. When the image portion corresponding to the first region in the processed sub-image is stored in the designated storage area, the overlapping portion will be stored twice in the same position.

[0156] Figure 5 A schematic diagram is shown of splicing images corresponding to first regions in a plurality of processed sub-images to obtain a processed image according to an embodiment of the present disclosure, wherein first regions of adjacent sub-images are adjacent to each other.

[0157] like Figure 5As shown, the image to be processed is divided into two sub-images (i.e., a left sub-image and a right sub-image), each of which includes a first area and a second area, respectively, and the first areas of the left sub-image and the right sub-image are adjacent to each other. According to an embodiment of the present disclosure, the entire sub-image is processed, and the processed sub-image obtained includes image portions corresponding to the first area and the second area, respectively. When stitching, only the image portion corresponding to the first area in the processed sub-image (i.e., the portion corresponding to the first area of ​​the left processed sub-image and the portion corresponding to the first area of ​​the right processed sub-image) is used for stitching. According to an embodiment of the present disclosure, only the sub-image of the first area may be processed, and when processing the edge portion of the first area, the image data of the second area may be used. In this case, the sub-image includes only the image portion corresponding to the first area. Since the first areas of adjacent sub-images are adjacent to each other, the image portions corresponding to the first area in the processed sub-image are also adjacent to each other, thereby ensuring that a seamlessly stitched image is obtained.

[0158] According to an embodiment of the present disclosure, when the image to be processed is segmented, the size of the first area is required to make the size of the image corresponding to the first area in the processed sub-image in the specified direction an integer multiple of the number of pixels of each storage unit in the storage area storing the processed sub-image. The number of pixels of each storage unit storing the processed sub-image is a preset value, referred to as the first number of pixels in the present disclosure. For example, assuming that each storage unit in the specified storage area stores pixel data of 128 processed sub-images, the size (for example, width) of the image corresponding to the first area in the processed sub-image in the specified direction is an integer multiple of 128 pixels. When there is a one-to-one correspondence between the pixels of the image corresponding to the first area in the processed sub-image and the pixels of the first area, the size of the image of the first area in the specified direction is equal to the size of the image corresponding to the first area in the processed sub-image in the specified direction. For example, when converting a RAW image to a YUV image, the pixels of a RAW image correspond to the pixels of a converted YUV image, and therefore, the width of the first area of ​​each sub-image of the RAW image is equal to the width of the image corresponding to the first area in the processed YUV sub-image.

[0159] Further, according to an embodiment of the present disclosure, the size of the sub-image in the specified direction is an integer multiple of the number of pixels of the image to be processed stored in each storage unit in the storage area. The number of pixels of the image to be processed stored in each storage unit is a preset value, referred to as the second pixel number in the present disclosure. For example, assuming that each storage unit in the storage area stores pixel data of 32 images to be processed, the size (e.g., width) of the sub-image in the specified direction is an integer multiple of 32 pixels.

[0160] The sum of sizes of the first regions in the multiple sub-images in a specified direction is greater than or equal to the image to be processed.

[0161] The sum of sizes of the multiple sub-images in a specified direction is larger than the image to be processed.

[0162] Through the above settings, good compatibility with the storage area storage and read-write rules preset by the system can be achieved, without the need for additional copying, segmentation, sorting and other operations on the read and written image data.

[0163] Fig. 9 FIG. 8 is a block diagram showing a structure of a segmentation module 820 in an image processing device according to an embodiment of the present disclosure. In this case, one pixel of the image to be processed corresponds to one pixel of the processed image. Fig. 9 As shown, the segmentation module 820 includes:

[0164] The second determination submodule 821 is configured to determine the initial size of the sub-image in the specified direction according to the number of portions of the image to be processed and the size of the image to be processed in the specified direction. The initial size is the size of each portion of the image in the specified direction after the image to be processed is evenly divided into N portions.

[0165] The setting submodule 822 is configured to take an integer multiple of the first pixel number that is greater than or equal to the initial size and closest to the initial size as the size of the first region in the specified direction. If the initial size is an integer multiple of the first pixel number, the initial size is the size of the first region in the specified direction; if the initial size is not an integer multiple of the first pixel number, then an integer multiple of the first pixel number that is less than the initial size and closest to the initial size is taken to obtain the size of the first region in the specified direction. The first pixel number is the number of pixels in a single storage unit storing the processed sub-image.

[0166] The third determination submodule 823 is configured to determine the size of the sub-image in the specified direction according to the size of the first area in the specified direction and the size of the second area in the specified direction; the size of the second area in the specified direction is a preset value.

[0167] For example, the resolution of the image to be processed is 3848*2160, that is, the width is 3848 pixels. The preset number of divisions is 2, the preset width of the second region is 32 pixels, and the first number of pixels is 128, then the half-width of the image to be processed is 1924. If the half-width of the image to be processed is not an integer multiple of the first number of pixels, the width of the first region needs to be set to 2048 pixels, the overlapping width of adjacent first regions is 2048*2-3848=248 pixels, the width of the second region is 32, and the width of a single sub-image is set to 2048+32=2080 pixels.

[0168] According to an embodiment of the present disclosure, the size of the sub-image in the specified direction is calculated as follows:

[0169] ; (W c ≤W L )

[0170] Where W is the size of the image to be processed in the specified direction, N is the number of image segments, Y1 is the first pixel number, and W L is the preset processing size in the specified direction, W c is the size of the sub-image in the specified direction, W2 is the size of the second area in the specified direction, Round up to an integer.

[0171] For example, if the width W of the image to be processed is 3848 pixels, the preset number of divisions N is 2, the preset size W2 of the second region in the specified direction is 32 pixels, and the number of pixels Y1 of the processed sub-image stored in a single memory unit is 128, then the size of the sub-image in the specified direction is = Pixel.

[0172] According to an embodiment of the present disclosure, when W c If it is not an integer multiple of the second pixel number, it will be greater than W c And with W c The closest integer multiple of the second number of pixels is used as the size of the sub-image in the specified direction.

[0173] According to an embodiment of the present disclosure, the to-be-processed image and sub-image are RAW format images, and the processed sub-image and processed image are YUV format images.

[0174] Fig.10 FIG. 2 shows a structural block diagram of an image processing device according to another embodiment of the present disclosure. Fig.10 As shown, the image processing device 800 further includes:

[0175] The encoding module 850 is configured to obtain the processed images, integrate them in the order of generation time, and perform video encoding to generate a video file. After all the processed images are generated, the processed images can be sorted in the order of generation time, and all the processed images can be video encoded in the order of generation time to generate a video file.

[0176] Fig.11 FIG. 1 shows a structural block diagram of an image processing chip according to an embodiment of the present disclosure. Fig.11 As shown, the image processing chip 1100 includes:

[0177] The storage component 1110 is configured to store the image to be processed and multiple sub-images sent by the segmentation component, and store the processed image sent by the ISP component.

[0178] The segmentation element 1120 is configured to receive the image to be processed sent by the image sensor and store it in the storage element, and to segment the image to be processed in the specified direction to obtain multiple sub-images; the size of the sub-image in the specified direction is less than or equal to the preset processing size; the sub-image includes a first area and a second area, the second area includes an image area required to be used when processing the image of the first area, the first area of ​​the sub-image is adjacent to or partially overlaps with the first area of ​​an adjacent sub-image, and the second area of ​​the sub-image is covered by the first area of ​​an adjacent sub-image; the size of the image to be processed in the specified direction is greater than the preset processing size in the specified direction.

[0179] The ISP element 1130 is configured to process the multiple sub-images sent by the segmentation element to obtain multiple processed sub-images, store the multiple processed sub-images in a storage element, and splice the multiple processed sub-images to obtain a processed image, including: determining a storage location of image data of the image corresponding to the first area in the processed sub-image according to a location of the image corresponding to the first area in the processed sub-image in the processed image; storing the image data of the image corresponding to the first area in the processed sub-image at the storage location, so that the storage location of the image data of the image corresponding to the first area in the multiple processed sub-images is the same as the storage location of the image data of the processed image directly stored in the designated storage area;

[0180] The size of the first region is set so that the size of the image corresponding to the first region in the processed sub-image in the specified direction is equal to an integer multiple of the number of pixels storing the processed sub-image in a single storage unit.

[0181] According to an embodiment of the present disclosure, the segmentation element 1120 reads out the image data of the sub-image to be processed from the storage location corresponding to the sub-image to be processed in the storage area of ​​the storage element 1110 according to the segmentation result of the image to be processed, and sends it to the ISP element 1130 for processing.

[0182] According to an embodiment of the present disclosure, the first area and the second area of ​​the sub-image are adjacent to each other in the specified direction, and the image of the second area is used to process an edge portion of the image of the first area.

[0183] According to an embodiment of the present disclosure, the segmentation element 1120 is also configured to: based on the segmentation result of the image to be processed, read out the image data of the sub-image to be processed from the storage location corresponding to the sub-image to be processed in the storage area of ​​the storage element, and send it to the ISP element for processing.

[0184] According to an embodiment of the present disclosure, the size of the sub-image in the specified direction is an integer multiple of the number of pixels of the image to be processed stored in a single storage unit;

[0185] The sum of the sizes of the first regions in the plurality of sub-images in a specified direction is greater than or equal to the image to be processed;

[0186] The sum of sizes of the multiple sub-images in a specified direction is larger than the image to be processed.

[0187] According to an embodiment of the present disclosure, the steps for calculating the size of the sub-image in the specified direction are as follows:

[0188] Determine the initial size of the sub-image in the specified direction according to the number of portions of the image to be processed and the size of the image to be processed in the specified direction;

[0189] Taking an integer multiple of a first number of pixels that is greater than or equal to the initial size and closest to the initial size as the size of the first area in a specified direction, the first number of pixels being the number of pixels of a single storage unit storing the processed sub-image;

[0190] The size of the sub-image in the specified direction is determined according to the size of the first area in the specified direction and the size of the second area in the specified direction; the size of the second area in the specified direction is a preset value.

[0191] According to an embodiment of the present disclosure, the size of the sub-image in the specified direction is calculated as follows:

[0192] ; (W c ≤W L )

[0193] Where W is the size of the image to be processed in the specified direction, N is the number of image segments to be processed, Y1 is the first pixel number, and W L is the preset processing size in the specified direction, W c is the size of the sub-image in the specified direction, W2 is the size of the second area in the specified direction, Round up to an integer.

[0194] According to an embodiment of the present disclosure, the to-be-processed image and sub-image are RAW format images, and the processed sub-image and processed image are YUV format images.

[0195] According to an embodiment of the present disclosure, the image processing chip further includes:

[0196] The video encoder is configured to read the processed image in the storage element for encoding, and generate a video file and store it in the storage element.

[0197] The present disclosure also discloses an electronic device, comprising a memory and a processor; wherein the memory is used to store computer instructions, wherein the computer instructions are executed by the processor to implement a chip according to an embodiment of the present disclosure.

[0198] The present disclosure also discloses an electronic device, Fig.12 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown.

[0199] like Fig.12 As shown, the electronic device includes a memory and a processor, wherein the memory is used to store computer instructions, wherein the computer instructions are executed by the processor to implement the method according to an embodiment of the present disclosure.

[0200] An image processing method, characterized by comprising:

[0201] Acquire image data of an image to be processed, wherein a size of the image to be processed in a specified direction is larger than a preset processing size in the specified direction;

[0202] The image to be processed is divided in the specified direction to obtain a plurality of sub-images, the size of the sub-image in the specified direction is less than or equal to a preset processing size in the specified direction, the sub-image includes a first area and a second area, the second area includes an image area required to be used when processing an image in the first area, the first area of ​​the sub-image is adjacent to or partially overlaps with a first area of ​​an adjacent sub-image, and the second area of ​​the sub-image is covered by the first area of ​​an adjacent sub-image;

[0203] Processing the plurality of sub-images to obtain a plurality of processed sub-images;

[0204] Stitching the multiple processed sub-images to obtain the processed image, comprising: determining a storage location of image data of the image corresponding to the first area in the processed sub-image according to a location of the image corresponding to the first area in the processed sub-image in the processed image; storing the image data of the image corresponding to the first area in the processed sub-image at the storage location, so that the storage location of the image data of the image corresponding to the first area in the multiple processed sub-images is the same as the storage location of the image data of the processed image directly stored in the designated storage area;

[0205] The size of the first region is set so that the size of the image corresponding to the first region in the processed sub-image in the specified direction is equal to an integer multiple of the number of pixels storing the processed sub-image in a single storage unit.

[0206] According to an embodiment of the present disclosure, the first area and the second area of ​​the sub-image are adjacent to each other in the specified direction, and the image of the second area is used to process an edge portion of the image of the first area.

[0207] According to an embodiment of the present disclosure, the acquiring of image data of the image to be processed includes writing all the image data of the image to be processed into a storage area;

[0208] The processing of the plurality of sub-images includes reading out image data of the sub-images to be processed from storage locations corresponding to the sub-images to be processed in the storage area for processing according to the segmentation result of the image to be processed.

[0209] According to an embodiment of the present disclosure, the size of the sub-image in the specified direction is an integer multiple of the number of pixels of the image to be processed stored in a single storage unit;

[0210] The sum of the sizes of the first regions in the plurality of sub-images in a specified direction is greater than or equal to the image to be processed;

[0211] The sum of sizes of the multiple sub-images in a specified direction is larger than the image to be processed.

[0212] According to an embodiment of the present disclosure, the steps for calculating the size of the sub-image in the specified direction are as follows:

[0213] Determine the initial size of the sub-image in the specified direction according to the number of portions of the image to be processed and the size of the image to be processed in the specified direction;

[0214] Taking an integer multiple of a first number of pixels that is greater than or equal to the initial size and closest to the initial size as the size of the first area in a specified direction, the first number of pixels being the number of pixels of a single storage unit storing the processed sub-image;

[0215] The size of the sub-image in the specified direction is determined according to the size of the first area in the specified direction and the size of the second area in the specified direction; the size of the second area in the specified direction is a preset value.

[0216] According to an embodiment of the present disclosure, the size of the sub-image in the specified direction is calculated as follows:

[0217] ; (Wc ≤W L )

[0218] Where W is the size of the image to be processed in the specified direction, N is the number of image segments to be processed, Y1 is the first pixel number, and W L is the preset processing size in the specified direction, W c is the size of the sub-image in the specified direction, W2 is the size of the second area in the specified direction, Round up to an integer.

[0219] According to an embodiment of the present disclosure, the to-be-processed image and sub-image are RAW format images, and the processed sub-image and processed image are YUV format images.

[0220] According to an embodiment of the present disclosure, the method further includes:

[0221] The processed images are obtained, integrated in the order of generation time, and then video encoded to generate a video file.

[0222] According to an embodiment of the present disclosure, the specified direction of the image to be processed is the horizontal direction and / or the vertical direction of the image to be processed.

[0223] Fig.13 A schematic diagram showing the structure of a computer system suitable for implementing the method according to an embodiment of the present disclosure is shown.

[0224] like Fig.13 As shown, the computer system includes a processing unit, which can execute various methods in the above-mentioned embodiments according to a program stored in a read-only memory (ROM) or a program loaded from a storage part into a random access memory (RAM). In the RAM, various programs and data required for the operation of the computer system are also stored. The processing unit, ROM and RAM are connected to each other through a bus. An input / output (I / O) interface is also connected to the bus.

[0225] The following components are connected to the I / O interface: an input part including a keyboard, a mouse, etc.; an output part including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage part including a hard disk, etc.; and a communication part including a network interface card such as a LAN card, a modem, etc. The communication part performs a communication process via a network such as the Internet. The drive is also connected to the I / O interface as needed. Removable media, such as disks, optical disks, magneto-optical disks, semiconductor memories, etc., are installed on the drive as needed so that the computer program read therefrom can be installed into the storage part as needed. Among them, the processing unit can be implemented as a processing unit such as a CPU, a GPU, a TPU, an FPGA, an NPU, etc.

[0226] In particular, according to an embodiment of the present disclosure, the method described above can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program tangibly contained on a machine-readable medium, and the computer program includes a program code for executing the above method. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium.

[0227] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0228] The units or modules involved in the embodiments described in the present disclosure may be implemented by software or programmable hardware. The units or modules described may also be set in a processor, and the names of these units or modules do not constitute limitations on the units or modules themselves in some cases.

[0229] As another aspect, the present disclosure further provides a computer-readable storage medium, which may be a computer-readable storage medium included in the electronic device or computer system in the above embodiment; or a computer-readable storage medium that exists independently and is not assembled into a device. The computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the method described in the present disclosure.

[0230] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present disclosure is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other.

Claims

1. An image processing method, characterized in that: include: Acquire image data of an image to be processed, wherein a size of the image to be processed in a specified direction is larger than a preset processing size in the specified direction; The image to be processed is divided in the specified direction to obtain a plurality of sub-images, the size of the sub-image in the specified direction is less than or equal to a preset processing size in the specified direction, the sub-image includes a first area and a second area, the second area includes an image area required to be used when processing an image in the first area, the first area of ​​the sub-image is adjacent to or partially overlaps with a first area of ​​an adjacent sub-image, and the second area of ​​the sub-image is covered by the first area of ​​an adjacent sub-image; Processing the plurality of sub-images to obtain a plurality of processed sub-images; Stitching the multiple processed sub-images to obtain a processed image, comprising: determining a storage location of image data of the image corresponding to the first area in the processed sub-image according to a location of the image corresponding to the first area in the processed sub-image in the processed image; storing the image data of the image corresponding to the first area in the processed sub-image at the storage location, so that the storage location of the image data of the image corresponding to the first area in the multiple processed sub-images is the same as the storage location of the image data of the processed image directly stored in the designated storage area; The size of the first region is set so that the size of the image corresponding to the first region in the processed sub-image in the specified direction is equal to an integer multiple of the number of pixels storing the processed sub-image in a single storage unit.

2. The method according to claim 1, characterized in that The first area and the second area of ​​the sub-image are adjacent to each other in the specified direction, and the image of the second area is used to process the edge portion of the image of the first area.

3. The method according to claim 1, characterized in that: The acquiring of the image data of the image to be processed comprises writing all the image data of the image to be processed into a storage area; The processing of the plurality of sub-images includes reading out image data of the sub-images to be processed from storage locations corresponding to the sub-images to be processed in the storage area for processing according to the segmentation result of the image to be processed.

4. The method according to claim 1, characterized in that: The size of the sub-image in the specified direction is an integer multiple of the number of pixels of the image to be processed stored in a single storage unit; The sum of the sizes of the first regions in the plurality of sub-images in a specified direction is greater than or equal to the image to be processed; The sum of sizes of the multiple sub-images in a specified direction is larger than the image to be processed.

5. The method according to claim 4, characterized in that The steps for calculating the size of the sub-image in the specified direction are as follows: Determine the initial size of the sub-image in the specified direction according to the number of portions of the image to be processed and the size of the image to be processed in the specified direction; Taking an integer multiple of a first number of pixels that is greater than or equal to the initial size and closest to the initial size as the size of the first area in a specified direction, the first number of pixels being the number of pixels of a single storage unit storing the processed sub-image; The size of the sub-image in the specified direction is determined according to the size of the first area in the specified direction and the size of the second area in the specified direction; the size of the second area in the specified direction is a preset value.

6. The method according to claim 5, characterized in that The size of the sub-image in the specified direction is calculated as follows: ;IN c ≤In L ; Where W is the size of the image to be processed in the specified direction, N is the number of image segments to be processed, Y1 is the first pixel number, and W L is the preset processing size in the specified direction, W c is the size of the sub-image in the specified direction, W2 is the size of the second area in the specified direction, Round up to an integer.

7. The method according to claim 1, characterized in that The to-be-processed image and sub-image are RAW format images, and the processed sub-image and processed image are YUV format images.

8. The method according to claim 1, characterized in that The method further comprises: The processed images are obtained, integrated in the order of generation time, and then video encoded to generate a video file.

9. The method according to claim 1, characterized in that: The specified direction of the image to be processed is the horizontal direction and / or the vertical direction of the image to be processed.

10. An image processing device, characterized in that: include: An acquisition module is configured to acquire image data of an image to be processed, wherein a size of the image to be processed in a specified direction is larger than a preset processing size in the specified direction; a segmentation module, configured to segment the image to be processed in the specified direction to obtain a plurality of sub-images, wherein the size of the sub-image in the specified direction is less than or equal to the preset processing size, the sub-image includes a first area and a second area, the second area includes an image area required to be used when processing the image in the first area, the first area of ​​the sub-image is adjacent to or partially overlaps with the first area of ​​an adjacent sub-image, and the second area of ​​the sub-image is covered by the first area of ​​the adjacent sub-image; A processing module, configured to process the plurality of sub-images to obtain a plurality of processed sub-images; a stitching module configured to stitch the plurality of processed sub-images to obtain a processed image, comprising: determining a storage location of image data of the image corresponding to the first area in the processed sub-image according to a location of the image corresponding to the first area in the processed sub-image in the processed image; storing the image data of the image corresponding to the first area in the processed sub-image at the storage location, so that the storage location of the image data of the image corresponding to the first area in the plurality of processed sub-images is the same as the storage location of the image data of the processed image directly stored in the designated storage area; The size of the first region is set so that the size of the image corresponding to the first region in the processed sub-image in the specified direction is equal to an integer multiple of the number of pixels storing the processed sub-image in a single storage unit.

11. The device according to claim 10, characterized in that The first area and the second area of ​​the sub-image are adjacent to each other in the specified direction, and the image of the second area is used to process the edge portion of the image of the first area.

12. The device according to claim 10, characterized in that The device also includes: The encoding module is configured to obtain the processed images, integrate them, perform video encoding, and generate a video file.

13. The device according to claim 10, characterized in that The specified direction of the image to be processed is the horizontal direction and / or the vertical direction of the image to be processed.

14. An image processing chip, characterized in that: include: a segmentation element configured to receive an image to be processed sent by an image sensor and store it in a storage element, and to segment the image to be processed in a specified direction to obtain a plurality of sub-images; the size of the sub-image in the specified direction is less than or equal to a preset processing size; the sub-image includes a first area and a second area, the second area includes an image area required to be used when processing the image of the first area, the first area of ​​the sub-image is adjacent to or partially overlaps with a first area of ​​an adjacent sub-image, and the second area of ​​the sub-image is covered by the first area of ​​the adjacent sub-image; The size of the image to be processed in the specified direction is larger than the preset processing size in the specified direction; a storage element configured to store the image to be processed and the plurality of sub-images sent by the segmentation element, and to store the processed image sent by the ISP element; The ISP element is configured to process the multiple sub-images sent by the segmentation element to obtain multiple processed sub-images, store the multiple processed sub-images in a storage element, and splice the multiple processed sub-images to obtain the processed image, including: determining a storage position of the image data of the image corresponding to the first area in the processed sub-image according to the position of the image corresponding to the first area in the processed sub-image in the processed image; storing the image data of the image corresponding to the first area in the processed sub-image at the storage position, so that the storage position of the image data of the image corresponding to the first area in the multiple processed sub-images is the same as the storage position of the image data of the processed image directly stored in the designated storage area; The size of the first region is set so that the size of the image corresponding to the first region in the processed sub-image in the specified direction is equal to an integer multiple of the number of pixels storing the processed sub-image in a single storage unit.

15. The chip according to claim 14, characterized in that: The segmentation element is also configured to: read out the image data of the sub-image to be processed from the storage location corresponding to the sub-image to be processed in the storage area of ​​the storage element according to the segmentation result of the image to be processed, and send it to the ISP element for processing.

16. The chip according to claim 14, characterized in that: The first area and the second area of ​​the sub-image are adjacent to each other in the specified direction, and the image of the second area is used to process the edge portion of the image of the first area.

17. The chip according to claim 14, characterized in that: The size of the sub-image in the specified direction is an integer multiple of the number of pixels of the image to be processed stored in a single storage unit; The sum of the sizes of the first regions in the plurality of sub-images in a specified direction is greater than or equal to the image to be processed; The sum of sizes of the multiple sub-images in a specified direction is larger than the image to be processed.

18. The chip according to claim 17, characterized in that: The steps for calculating the size of the sub-image in the specified direction are as follows: Determine the initial size of the sub-image in the specified direction according to the number of portions of the image to be processed and the size of the image to be processed in the specified direction; Taking an integer multiple of a first number of pixels that is greater than or equal to the initial size and closest to the initial size as the size of the first area in a specified direction, the first number of pixels being the number of pixels of a single storage unit storing the processed sub-image; The size of the sub-image in the specified direction is determined according to the size of the first area in the specified direction and the size of the second area in the specified direction; the size of the second area in the specified direction is a preset value.

19. The chip according to claim 18, characterized in that: The size of the sub-image in the specified direction is calculated as follows: ;IN c ≤In L ; Where W is the size of the image to be processed in the specified direction, N is the number of image segments to be processed, Y1 is the first pixel number, and W L is the preset processing size in the specified direction, W c is the size of the sub-image in the specified direction, W2 is the size of the second area in the specified direction, Round up to an integer.

20. The chip according to claim 14, characterized in that: The to-be-processed image and sub-image are RAW format images, and the processed sub-image and processed image are YUV format images.

21. The chip according to claim 14, characterized in that: The specified direction of the image to be processed is the horizontal direction and / or the vertical direction of the image to be processed.

22. The chip according to claim 14, characterized in that: Also includes: The video encoder is configured to read the processed image in the storage element for encoding, and generate a video file and store it in the storage element.

23. An electronic device, characterized in that: A chip comprising any one of claims 14-22.

24. An electronic device, characterized in that: The method comprises a memory and a processor; wherein the memory is used to store computer instructions, wherein the computer instructions are executed by the processor to implement the method according to any one of claims 1 to 9.

25. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the computer instructions are executed by a processor, the method according to any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Screen seamless mosaicing image processing method and device therefor

    CN101964891A

  • Image compression method and image compression device

    CN103188419A

  • Method based on CUDA image fusion parallel computing

    CN106991665A

  • Image processing method and device, electronic equipment and computer readable storage medium

    CN109493281A

  • Method and system for performing image segmentation

    US20210279887A1