CN109325901B - Method and device for realizing image processing - Google Patents

Method and device for realizing image processing Download PDF

Info

Publication number
CN109325901B
CN109325901B CN201710641483.7A CN201710641483A CN109325901B CN 109325901 B CN109325901 B CN 109325901B CN 201710641483 A CN201710641483 A CN 201710641483A CN 109325901 B CN109325901 B CN 109325901B
Authority
CN
China
Prior art keywords
sub
image
original image
analysis processing
images
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710641483.7A
Other languages
Chinese (zh)
Other versions
CN109325901A (en
Inventor
金春涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanechips Technology Co Ltd
Original Assignee
Sanechips Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanechips Technology Co Ltd filed Critical Sanechips Technology Co Ltd
Priority to CN201710641483.7A priority Critical patent/CN109325901B/en
Publication of CN109325901A publication Critical patent/CN109325901A/en
Application granted granted Critical
Publication of CN109325901B publication Critical patent/CN109325901B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0007Image acquisition
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

A method and device for realizing image processing comprise: judging whether the horizontal size of the original image is larger than a preset horizontal resolution; dividing the original image into two or more sub-images when the horizontal size of the original image is larger than the preset horizontal resolution; respectively carrying out line caching and analysis processing on each divided sub-image; wherein adjacent sub-images obtained by division contain overlapping areas. The embodiment of the invention reduces the occupation of the line cache to hardware resources during image processing.

Description

Method and device for realizing image processing
Technical Field
This document relates to, but is not limited to, multimedia technology, and more particularly to a method and apparatus for enabling image processing.
Background
Currently, most image processing algorithms operate on the whole neighborhood of a pixel in a spatial filtering mode to obtain a processing result of the pixel. For easy implementation, the selected neighborhood is a rectangular area centered on the current pixel. Fig. 1 is a schematic diagram of a method for selecting a domain in the related art, as shown in fig. 1, a rectangular area represents a pixel array of an image, dots in the rectangular area respectively represent corresponding pixel points, a pixel point M represents a pixel point to be analyzed and processed currently, and a filtering sliding window W shown by a dotted line is a neighborhood to be operated; taking the size of 7x5 as an example in fig. 1, after the pixel point M is processed, the filter sliding window W moves to the right by one pixel point, and continues to analyze and process the adjacent pixel point on the right of the pixel point M, and so on, after the analysis and process are completed on the current line, the analysis and process are continued on the pixel points in the next line until the whole image is analyzed and processed.
When image processing is performed, image data is required to be continuously stored in a memory according to lines; for example, in the noise reduction and de-interlacing processes, before the analysis process is performed on the filter sliding window, a line buffer (line buffer) for crossing the pixel points is required according to the number of lines spanned by the filter sliding window. When the line is cached, the larger the horizontal resolution of the image is, the larger the data volume to be cached is, namely the capacity required by the line is also increased, the higher the bit width of a corresponding register in hardware logic is, and the cost and the area are increased continuously.
In summary, as the horizontal resolution of the image increases, the register resources required to be occupied in the image processing algorithm correspondingly increase, so that the cost and area of the image processing algorithm are increased, and the utilization rate of the memory resources is reduced.
Disclosure of Invention
The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
The embodiment of the invention provides a method and a device for realizing image processing, which can reduce the occupation of line cache to hardware resources during image processing.
The embodiment of the invention provides a method for realizing image processing, which comprises the following steps:
judging whether the horizontal size of the original image is larger than a preset horizontal resolution;
dividing the original image into two or more sub-images when the horizontal size of the original image is larger than the preset horizontal resolution;
respectively carrying out line caching and analysis processing on each divided sub-image;
wherein adjacent sub-images obtained by division contain overlapping areas.
Optionally, the dividing the original image into two or more sub-images includes:
and dividing the original image into two or more sub-images by taking the preset horizontal resolution as the horizontal size for dividing the original image.
Optionally, the horizontal width of the overlapping region is greater than or equal to the horizontal length of the filter sliding window.
Optionally, the preset horizontal resolution includes: the hardware that processes the original image supports a maximum horizontal resolution.
Optionally, the method further comprises:
and summarizing the analysis processing results of all the divided sub-images to obtain the analysis processing results of the original image.
Optionally, the summarizing the analysis processing results of all the divided sub-images includes:
for each sub-image, determining that the analysis processing result of a part of the two molecules, which are close to the boundary of the sub-image, in the overlapping area of the sub-image and the adjacent sub-image is a result to be deleted;
respectively deleting the determined result to be deleted from the analysis processing results of each sub-image to obtain a corresponding correction analysis processing result of each sub-image;
and merging the correction analysis processing results of all the sub-images to obtain the analysis processing result of the original image.
In another aspect, an embodiment of the present invention further provides an apparatus for implementing image processing, including: the device comprises a judging unit, a dividing unit and a cache processing unit; wherein,,
the judging unit is used for: judging whether the horizontal size of the original image is larger than a preset horizontal resolution;
the dividing unit is used for: dividing the original image into two or more sub-images when the horizontal size of the original image is larger than the preset horizontal resolution;
the cache processing unit is used for: respectively carrying out line caching and analysis processing on each divided sub-image;
wherein adjacent sub-images obtained by division contain overlapping areas.
Optionally, the dividing unit is specifically configured to:
and dividing the original image into two or more sub-images by taking the preset horizontal resolution as the horizontal size for dividing the original image.
Optionally, the horizontal width of the overlapping region is greater than or equal to the horizontal length of the filter sliding window.
Optionally, the preset horizontal resolution includes: the hardware that processes the original image supports a maximum horizontal resolution.
Optionally, the device further includes a summarizing unit, configured to summarize analysis processing results of all the divided sub-images, and obtain analysis processing results of the original image.
Optionally, the summarizing unit is specifically configured to:
for each sub-image, determining that the analysis processing result of a part of the two molecules, which are close to the boundary of the sub-image, in the overlapping area of the sub-image and the adjacent sub-image is a result to be deleted;
respectively deleting the determined result to be deleted from the analysis processing results of each sub-image to obtain a corresponding correction analysis processing result of each sub-image;
and merging the correction analysis processing results of all the sub-images to obtain the analysis processing result of the original image.
The embodiment of the invention also provides a computer storage medium, wherein the computer storage medium stores computer executable instructions for executing the method for realizing image processing.
The embodiment of the invention also provides a terminal, which comprises: a memory and a processor; wherein,,
the processor is configured to execute the program instructions in the memory;
the program instructions read at the processor:
judging whether the horizontal size of the original image is larger than a preset horizontal resolution;
dividing the original image into two or more sub-images when the horizontal size of the original image is larger than the preset horizontal resolution;
respectively carrying out line caching and analysis processing on each divided sub-image;
wherein adjacent sub-images obtained by division contain overlapping areas.
Compared with the related art, the technical scheme of the application comprises the following steps: judging whether the horizontal size of the original image is larger than a preset horizontal resolution; dividing the original image into two or more sub-images when the horizontal size of the original image is larger than the preset horizontal resolution; respectively carrying out line caching and analysis processing on each divided sub-image; wherein adjacent sub-images obtained by division contain overlapping areas. The embodiment of the invention reduces the occupation of the line cache to hardware resources during image processing; the cost and area of the image processing algorithm is reduced.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate and do not limit the invention.
FIG. 1 is a schematic diagram of a method for selecting a domain in the related art;
FIG. 2 is a flow chart of a method for implementing image processing according to an embodiment of the present invention;
FIG. 3 is a block diagram of an apparatus for implementing image processing according to an embodiment of the present invention;
FIG. 4 is a schematic illustration of an exemplary molecular image of an application of the present invention;
FIG. 5 is a flow chart of a method of an example of application of the present invention;
fig. 6 is a schematic diagram of another molecular image illustrating an application of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail hereinafter with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be arbitrarily combined with each other.
The steps illustrated in the flowchart of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, while a logical order is depicted in the flowchart, in some cases, the steps depicted or described may be performed in a different order than presented herein.
Fig. 2 is a flowchart of a method for implementing image processing according to an embodiment of the present invention, as shown in fig. 2, including:
step 200, judging whether the horizontal size of the original image is larger than a preset horizontal resolution;
optionally, the preset horizontal resolution in the embodiment of the present invention includes: the hardware that processes the original image supports a maximum horizontal resolution.
Step 201, dividing an original image into two or more sub-images when the horizontal size of the original image is larger than a preset horizontal resolution;
wherein adjacent sub-images obtained by division contain overlapping areas.
Optionally, the dividing the original image into two or more sub-images according to the embodiment of the present invention includes:
and dividing the original image into two or more sub-images by taking the preset horizontal resolution as the horizontal size for dividing the original image.
Optionally, the horizontal width of the overlapping area in the embodiment of the present invention is greater than or equal to the horizontal length of the filtering sliding window.
Step 202, respectively carrying out line caching and analysis processing on each divided sub-image;
optionally, the method of the embodiment of the invention further comprises the following steps:
and summarizing the analysis processing results of all the divided sub-images to obtain the analysis processing results of the original image.
Optionally, the step of summarizing the analysis processing results of all the divided sub-images includes:
for each sub-image, determining that the analysis processing result of a part of the two molecules, which are close to the boundary of the sub-image, in the overlapping area of the sub-image and the adjacent sub-image is a result to be deleted;
respectively deleting the determined result to be deleted from the analysis processing results of each sub-image to obtain a corresponding correction analysis processing result of each sub-image;
and merging the correction analysis processing results of all the sub-images to obtain the analysis processing result of the original image.
It should be noted that the embodiment of the present invention may be applied to an image processing procedure of noise reduction and de-interlacing processing.
Compared with the related art, the technical scheme of the application comprises the following steps: judging whether the horizontal size of the original image is larger than a preset horizontal resolution; dividing the original image into two or more sub-images when the horizontal size of the original image is larger than the preset horizontal resolution; respectively carrying out line caching and analysis processing on each divided sub-image; wherein adjacent sub-images obtained by division contain overlapping areas. The embodiment of the invention reduces the occupation of the line cache to hardware resources during image processing; hardware resources including registers and volatile Random Access Memory (RAM) reduce the cost and area of image processing algorithms.
Fig. 3 is a block diagram of an apparatus for implementing image processing according to an embodiment of the present invention, as shown in fig. 3, including: the device comprises a judging unit, a dividing unit and a cache processing unit; wherein,,
the judging unit is used for: judging whether the horizontal size of the original image is larger than a preset horizontal resolution;
optionally, the preset horizontal resolution in the embodiment of the present invention includes: the hardware that processes the original image supports a maximum horizontal resolution.
The dividing unit is used for: dividing the original image into two or more sub-images when the horizontal size of the original image is larger than the preset horizontal resolution;
wherein adjacent sub-images obtained by division contain overlapping areas.
Optionally, the dividing unit in the embodiment of the present invention is specifically configured to:
and dividing the original image into two or more sub-images by taking the preset horizontal resolution as the horizontal size for dividing the original image.
Optionally, the horizontal width of the overlapping area in the embodiment of the present invention is greater than or equal to the horizontal length of the filtering sliding window.
The cache processing unit is used for: respectively carrying out line caching and analysis processing on each divided sub-image;
optionally, the device of the embodiment of the present invention further includes a summarizing unit, configured to summarize analysis processing results of all divided sub-images, so as to obtain analysis processing results of the original image.
Optionally, the summary unit of the embodiment of the present invention is specifically configured to:
for each sub-image, determining that the analysis processing result of a part of the two molecules, which are close to the boundary of the sub-image, in the overlapping area of the sub-image and the adjacent sub-image is a result to be deleted;
respectively deleting the determined result to be deleted from the analysis processing results of each sub-image to obtain a corresponding correction analysis processing result of each sub-image;
and merging the correction analysis processing results of all the sub-images to obtain the analysis processing result of the original image.
Compared with the related art, the technical scheme of the application comprises the following steps: judging whether the horizontal size of the original image is larger than a preset horizontal resolution; dividing the original image into two or more sub-images when the horizontal size of the original image is larger than the preset horizontal resolution; respectively carrying out line caching and analysis processing on each divided sub-image; wherein adjacent sub-images obtained by division contain overlapping areas. The embodiment of the invention reduces the occupation of the line cache to hardware resources during image processing.
The embodiment of the invention also provides a computer storage medium, wherein the computer storage medium stores computer executable instructions for executing the method for realizing image processing.
The embodiment of the invention also provides a terminal, which comprises: a memory and a processor; wherein,,
the processor is configured to execute the program instructions in the memory;
the program instructions read at the processor:
judging whether the horizontal size of the original image is larger than a preset horizontal resolution;
dividing the original image into two or more sub-images when the horizontal size of the original image is larger than the preset horizontal resolution;
respectively carrying out line caching and analysis processing on each divided sub-image;
wherein adjacent sub-images obtained by division contain overlapping areas.
The following method of the embodiment of the present invention is clearly described in detail through application examples, which are only used to state the present invention and are not used to limit the protection scope of the present invention.
Application example
The present application example sets the maximum horizontal resolution of hardware support for image processing to m;
assuming that the horizontal resolution of the original image is L, dividing the original image into two or more sub-images along the horizontal direction according to the maximum horizontal resolution m supported by hardware when the horizontal resolution L of the original image is greater than the maximum horizontal resolution m supported by hardware; for example, the original image is divided into two or more sub-images in the horizontal direction with the maximum horizontal resolution m supported by hardware as the horizontal dimension for dividing the original image; the adjacent sub-images divided by the present application example have overlapping areas, and the horizontal widths of the overlapping areas may be set to be equal to or greater than the horizontal length of the filter sliding window. Fig. 4 is a schematic diagram of an exemplary sub-image according to the present invention, as shown in fig. 4, assuming that an original image is divided into three sub-images, the three sub-images are ordered from left to right as shown in fig. 4, and overlapping areas exist in every two adjacent sub-images, then there is an overlapping area between the right side of a first sub-image and the left side of a second sub-image, and there is an overlapping area between the right side of the second sub-image and the left side of a third sub-image, and in this application example, the horizontal width of the overlapping area is greater than or equal to the horizontal length of a filter sliding window;
after the sub-images are obtained through division in the application example, the sub-images are respectively analyzed and processed by adopting a related technology, wherein when pixel points near the boundary of the sub-images are processed, a filtering sliding window exceeds the boundary of the images, and boundary pixels can be copied and the sub-images can be prolonged by referring to a processing method of the related technology. When analyzing and processing each sub-image, the sub-images are mutually independent; for example, when the boundary pixel copying is performed, the pixel point of the first sub-image close to the right boundary may copy the rightmost 1 column of pixel points of the first sub-image to fill the filter sliding window; if the overlapping area of the sub-images is not set, the analysis processing result obtained by the extension processing part of the first sub-image is different from the analysis processing result of the original image without extension relative to the original image; i.e. without overlapping areas, the analysis result obtained by the continuation process is erroneous. Assuming that the width of the filter window is b, the analysis result of the rightmost b/2 column of the first sub-image is incorrect. Therefore, the present application example sets that adjacent sub-images have an overlapping region, and the horizontal width of the overlapping region is greater than or equal to the horizontal length of the filter sliding window. Because the sub-images have overlapping areas and the overlapping areas still need to be subjected to extension processing, after the application example refers to the related technology to respectively perform line buffering and analysis processing on each divided sub-image, the analysis processing results of all divided sub-images need to be summarized to obtain the analysis processing results of the original image.
The application example gathers analysis processing results of all divided sub-images, including: for each sub-image, determining that the analysis processing result of a part of the two molecules, which are close to the boundary of the sub-image, in the overlapping area of the sub-image and the adjacent sub-image is a result to be deleted; respectively deleting the determined result to be deleted from the analysis processing results of each sub-image to obtain a corresponding correction analysis processing result of each sub-image; and merging the correction analysis processing results of all the sub-images to obtain the analysis processing result of the original image.
The embodiment of the invention can also adjust the deletion and combination of the sub-image analysis processing results by referring to the reason analysis for generating the analysis processing result error, and only deleting the error analysis processing result.
Assuming that the number of divided sub-images is n, n can be determined by the following inequality:
2*(m-k/2)+(n-3)*(m-k)+1≤L≤2*(m-k/2)+(n-2)*(m-k)
it should be noted that, the efficiency of processing an original image in the present application example may decrease k/2 m-k/(m+1); therefore, when considering the value of k, those skilled in the art also need to design with reference to the efficiency of image processing, and in addition, the value of k in this application embodiment may also be set with reference to the address of the pixel point, for example, set to k equal to several powers of 2.
The present application example further includes, when performing the analysis processing: the processing of determining the starting pixel point and the ending pixel point of the sub-image according to the divided sub-image, and reading the pixel points can be realized by adopting the existing realization method in the related technology.
FIG. 5 is a flowchart of a method for applying an example of the present invention, as shown in FIG. 5, including:
step 500, determining the maximum horizontal resolution m supported by the hardware for image processing. In the application example, the maximum horizontal resolution m=720 supported by hardware is assumed to belong to the common resolution;
the selection of the maximum horizontal resolution m supported by hardware needs to comprehensively consider various requirements, such as area and efficiency. The smaller the value, the less hardware resources are required, but the efficiency is reduced. For example, analysis determines that the efficiency of processing an original image decreases by k/2 m-k/(m+1).
Step 501, determining the horizontal length b of a filtering sliding window; the width b of the filter sliding window can be determined by the algorithm in the related art, and the hardware can be designed only with reference to the algorithm.
The present application example assumes that the filter sliding window size is 51x7, so that the horizontal length of the filter sliding window is 51;
step 502, determining the horizontal width k of the overlapping area of adjacent sub-images when each sub-image is divided; the application example k is larger than or equal to b;
since the horizontal length of the filter slide window is 51, the horizontal width of the overlap region should not be smaller than 51, and the present application example selects the horizontal width of the overlap region to be 64. The selection 64 is made in consideration of the alignment of the read/write addresses, the efficiency of image processing, and the like. The read-write pixel points are interacted with the memory controller through an advanced extensible interface (AXI, advanced eXtensible Interface) bus, the bit width of the bus is 128 bits, the gray level of the pixel points is 8 bits, the number of storable pixel points between aligned memory addresses is 16, the horizontal width of a selected overlapping area is 64, namely, the integral multiple of 16, and if the read-write start addresses of the whole image are aligned, the read-write start addresses of all sub-images are also aligned. Fig. 6 is a schematic diagram of another division sub-image according to an application example of the present invention, and as shown in fig. 6, assuming that the horizontal resolution of the original image is 1920, the three sub-images shown in fig. 6 may be divided by the maximum horizontal resolution m=720 supported by hardware, the horizontal length of the filter sliding window is 51, and the horizontal width of the selected overlapping region is 64. The number of the divided molecular images can also be determined by calculating 2 x 688+ (n-3) 656+1.ltoreq.L.ltoreq.2 x 688+ (n-2) 656;
step 503, dividing the original image into two or more sub-images; dividing the sub-images includes determining the initial read-write address, resolution, read-write span, etc. of each sub-image.
Step 504, respectively performing line buffering and analysis processing on the divided sub-images;
and 505, summarizing the analysis processing results of all the divided sub-images to obtain the analysis processing results of the original image.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the methods described above may be performed by a program that instructs associated hardware (e.g., a processor) to perform the steps, and that the program may be stored on a computer readable storage medium such as a read only memory, a magnetic or optical disk, etc. Alternatively, all or part of the steps of the above embodiments may be implemented using one or more integrated circuits. Accordingly, each module/unit in the above embodiments may be implemented in the form of hardware, for example, by an integrated circuit, or may be implemented in the form of a software functional module, for example, by a processor executing programs/instructions stored in a memory to implement their respective functions. The present invention is not limited to any specific form of combination of hardware and software.
Although the embodiments of the present invention are described above, the embodiments are only used for facilitating understanding of the present invention, and are not intended to limit the present invention. Any person skilled in the art can make any modification and variation in form and detail without departing from the spirit and scope of the present disclosure, but the scope of the present disclosure is to be determined by the appended claims.

Claims (8)

1. A method for performing image processing, comprising:
judging whether the horizontal size of the original image is larger than a preset horizontal resolution;
dividing the original image into two or more sub-images when the horizontal size of the original image is larger than the preset horizontal resolution;
respectively carrying out line caching and analysis processing on each divided sub-image;
wherein, the adjacent sub-images obtained by division comprise an overlapping area, and the horizontal width of the overlapping area is larger than or equal to the horizontal length of the filtering sliding window;
the method further comprises the steps of:
for each sub-image, determining that the analysis processing result of a part of the two molecules, which are close to the boundary of the sub-image, in the overlapping area of the sub-image and the adjacent sub-image is a result to be deleted;
respectively deleting the determined result to be deleted from the analysis processing results of each sub-image to obtain a corresponding correction analysis processing result of each sub-image;
and merging the correction analysis processing results of all the sub-images to obtain the analysis processing result of the original image.
2. The method of claim 1, wherein the dividing the original image into two or more sub-images comprises:
and dividing the original image into two or more sub-images by taking the preset horizontal resolution as the horizontal size for dividing the original image.
3. The method of claim 1, wherein the predetermined horizontal resolution comprises: the hardware that processes the original image supports a maximum horizontal resolution.
4. An apparatus for performing image processing, comprising: the device comprises a judging unit, a dividing unit and a cache processing unit; wherein,,
the judging unit is used for: judging whether the horizontal size of the original image is larger than a preset horizontal resolution;
the dividing unit is used for: dividing the original image into two or more sub-images when the horizontal size of the original image is larger than the preset horizontal resolution;
the cache processing unit is used for: respectively carrying out line caching and analysis processing on each divided sub-image;
wherein, the adjacent sub-images obtained by division comprise an overlapping area, and the horizontal width of the overlapping area is larger than or equal to the horizontal length of the filtering sliding window;
the device also comprises a summarizing unit, a processing unit and a processing unit, wherein the summarizing unit is used for determining that the analysis processing result of a part of the two molecules, which are close to the boundary of the sub-image, in the overlapping area of the sub-image and the adjacent sub-image is a result to be deleted; respectively deleting the determined result to be deleted from the analysis processing results of each sub-image to obtain a corresponding correction analysis processing result of each sub-image; and merging the correction analysis processing results of all the sub-images to obtain the analysis processing result of the original image.
5. The apparatus of claim 4, wherein the dividing unit is specifically configured to:
and dividing the original image into two or more sub-images by taking the preset horizontal resolution as the horizontal size for dividing the original image.
6. The apparatus of claim 4, wherein the predetermined horizontal resolution comprises: the hardware that processes the original image supports a maximum horizontal resolution.
7. A computer storage medium having stored therein computer executable instructions for performing the method of performing image processing according to any of claims 1 to 3.
8. A terminal, comprising: a memory and a processor; wherein,,
the processor is configured to execute the program instructions in the memory;
the program instructions read at the processor:
judging whether the horizontal size of the original image is larger than a preset horizontal resolution;
dividing the original image into two or more sub-images when the horizontal size of the original image is larger than the preset horizontal resolution;
respectively carrying out line caching and analysis processing on each divided sub-image;
wherein, the adjacent sub-images obtained by division comprise an overlapping area, and the horizontal width of the overlapping area is larger than or equal to the horizontal length of the filtering sliding window;
for each sub-image, determining that the analysis processing result of a part of the two molecules, which are close to the boundary of the sub-image, in the overlapping area of the sub-image and the adjacent sub-image is a result to be deleted;
respectively deleting the determined result to be deleted from the analysis processing results of each sub-image to obtain a corresponding correction analysis processing result of each sub-image;
and merging the correction analysis processing results of all the sub-images to obtain the analysis processing result of the original image.
CN201710641483.7A 2017-07-31 2017-07-31 Method and device for realizing image processing Active CN109325901B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710641483.7A CN109325901B (en) 2017-07-31 2017-07-31 Method and device for realizing image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710641483.7A CN109325901B (en) 2017-07-31 2017-07-31 Method and device for realizing image processing

Publications (2)

Publication Number Publication Date
CN109325901A CN109325901A (en) 2019-02-12
CN109325901B true CN109325901B (en) 2023-07-25

Family

ID=65244977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710641483.7A Active CN109325901B (en) 2017-07-31 2017-07-31 Method and device for realizing image processing

Country Status (1)

Country Link
CN (1) CN109325901B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110782389B (en) * 2019-09-23 2023-09-15 五八有限公司 Image data byte alignment method and terminal
CN111145287A (en) * 2019-12-26 2020-05-12 珠海金山网络游戏科技有限公司 Map processing method and device
WO2022067489A1 (en) * 2020-09-29 2022-04-07 深圳市大疆创新科技有限公司 Image processing method and apparatus, and image collection device
CN113256485B (en) * 2021-05-21 2024-01-30 百果园技术(新加坡)有限公司 Image stretching method, device, electronic equipment and storage medium
CN116055778B (en) * 2022-05-30 2023-11-21 荣耀终端有限公司 Video data processing method, electronic device and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101038666A (en) * 2007-04-23 2007-09-19 北京中星微电子有限公司 Device for zooming still image and method thereof
CN101207681A (en) * 2006-12-20 2008-06-25 佳能株式会社 Image processing apparatus capable of identifying large dot region and small dot region

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039417A (en) * 2007-04-26 2007-09-19 广东威创日新电子有限公司 Multi-block parallel compression video data apparatus and compression method thereof
CN102510448B (en) * 2011-10-13 2015-02-18 苏州百滨电子科技有限公司 Multiprocessor-embedded image acquisition and processing method and device
CN102509255B (en) * 2011-10-26 2014-03-26 苏州百滨电子科技有限公司 High-speed image acquiring and processing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207681A (en) * 2006-12-20 2008-06-25 佳能株式会社 Image processing apparatus capable of identifying large dot region and small dot region
CN101038666A (en) * 2007-04-23 2007-09-19 北京中星微电子有限公司 Device for zooming still image and method thereof

Also Published As

Publication number Publication date
CN109325901A (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN109325901B (en) Method and device for realizing image processing
CN109064399B (en) Image super-resolution reconstruction method and system, computer device and storage medium thereof
EP1354484B1 (en) Unit and method for memory address translation and image processing apparatus comprising such a unit
US8749667B2 (en) System and method for maintaining maximum input rate while up-scaling an image vertically
US8527689B2 (en) Multi-destination direct memory access transfer
CN115035128B (en) Image overlapping sliding window segmentation method and system based on FPGA
US8433106B2 (en) Increasing face detection speed
US20070263234A1 (en) Systems, methods and devices for rotating images
JP2014517395A (en) Image browsing method, system, and computer storage medium
US20150242988A1 (en) Methods of eliminating redundant rendering of frames
EP2453360B1 (en) Method and apparatus for translating memory access address
CN113362235A (en) Image defogging method and device
WO2019114044A1 (en) Image processing method and device, electronic apparatus, and computer readable storage medium
CN114936633B (en) Data processing unit for transposition operation and image transposition operation method
CN105353971A (en) Picture display method and picture display device of mobile terminal
CN110807300A (en) Image processing method and device, electronic equipment and medium
US11972504B2 (en) Method and system for overlapping sliding window segmentation of image based on FPGA
US7457470B2 (en) Image processing apparatus
CN116107479B (en) Picture display method, electronic device and computer storage medium
CN111899151B (en) Picture generation method, device, electronic equipment and computer readable medium
US20170330306A1 (en) Distorted image correcting apparatus and method
CN114756190B (en) Method and device for adjusting scaling based on resolution and computing equipment
CN114707126B (en) Network disk document watermark adding method and device, network disk and storage medium
CN114140479A (en) Optimization method and device for portrait segmentation picture and related components
CN115035125A (en) Image processing method, storage medium, and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant