CN112532894A - Image processing method, device and system - Google Patents

Image processing method, device and system Download PDF

Info

Publication number
CN112532894A
CN112532894A CN201910883116.7A CN201910883116A CN112532894A CN 112532894 A CN112532894 A CN 112532894A CN 201910883116 A CN201910883116 A CN 201910883116A CN 112532894 A CN112532894 A CN 112532894A
Authority
CN
China
Prior art keywords
image
target
image data
output
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910883116.7A
Other languages
Chinese (zh)
Other versions
CN112532894B (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.)
Pixelhue Technology Ltd
Original Assignee
Xian Novastar Electronic 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 Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN201910883116.7A priority Critical patent/CN112532894B/en
Publication of CN112532894A publication Critical patent/CN112532894A/en
Application granted granted Critical
Publication of CN112532894B publication Critical patent/CN112532894B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2628Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The embodiment of the invention discloses an image processing method, an image processing device, an image processing system and a computer storage medium. The image processing method comprises the following steps: acquiring a target input source; performing input zooming processing on the target input source to obtain a processed input source, and storing the processed input source; reading at least a part of image data of the processed input source according to the image output parameters to obtain target image data; carrying out first output scaling processing on the target image data by using scaling processing resources to obtain a target output image, and outputting the target output image; adjusting the arrangement sequence of the pixel points in the target image data to obtain image data after mirror image processing; and performing second output scaling processing on the image data subjected to the mirror image processing by using idle scaling processing resources to obtain a target mirror image output image, and outputting the target mirror image output image. According to the embodiment of the invention, the target output image and the target mirror image output image which is mirror image of the target output image can be obtained under the condition of not increasing resource overhead.

Description

Image processing method, device and system
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to an image processing method, an image processing apparatus, and an image processing system.
Background
With the rapid development of image display technology, users have made more demands on the display of images, for example, in consideration of the needs of some special stages or activities such as lecture occasions, users need to generate a mirror image window, i.e., a horizontal mirror image, with the same size and with horizontally reversed window content for a certain window, i.e., a certain image, so as to simultaneously display the original image and the mirror image on a display interface.
In the prior art, a window resource is usually required to be additionally added for generating a mirror image, however, adding a window resource inevitably increases the hardware resource overhead of an image processor, and therefore, how to implement a window mirror function without increasing the hardware resource overhead is a problem that needs to be solved at present.
Disclosure of Invention
Therefore, to overcome the defects and shortcomings in the prior art, embodiments of the present invention provide an image processing method, an image processing apparatus, and an image processing system, so as to implement a window mirroring function without increasing hardware resource overhead.
In one aspect, an image processing method provided in an embodiment of the present invention includes: acquiring a target input source; performing input zooming processing on the target input source to obtain a processed input source, and storing the processed input source; reading at least a part of image data of the processed input source according to the image output parameters to obtain target image data; carrying out first output scaling processing on the target image data by using scaling processing resources to obtain a target output image, and outputting the target output image; adjusting the arrangement sequence of the pixel points in the target image data to obtain image data after mirror image processing; and performing second output scaling processing on the image data subjected to the mirror image processing by using idle scaling processing resources to obtain a target mirror image output image, and outputting the target mirror image output image.
In the scheme, a processed input source is obtained by performing input zooming processing on the target input source, the processed input source is stored, at least part of image data of the stored processed input source is read according to image output parameters to obtain target image data, first output zooming processing is performed on the target image data by using zooming processing resources to obtain a target output image, and the target output image is output; adjusting the arrangement sequence of the pixel points in the target image data to obtain image data after mirror image processing; and performing second output scaling processing on the image data subjected to mirror image processing by using idle scaling processing resources to obtain a target mirror image output image, and outputting the target mirror image output image, so that the target output image and the target mirror image output image in mirror image with the target output image are obtained under the condition of not increasing hardware resource overhead.
In an embodiment of the present invention, the performing the input scaling processing on the target input source to obtain the processed input source includes: carrying out reduction processing on the target input source to obtain the processed input source; the obtaining of the target output image by performing the first output scaling processing on the target image data by using the scaling processing resource includes: performing first amplification processing on the target image data to obtain a target output image; the second output scaling processing is performed on the image data after the mirror image processing to obtain a target mirror image output image, and the method comprises the following steps: and carrying out second amplification processing on the image data subjected to mirror image processing to obtain the target mirror image output image.
In one embodiment of the invention, the image output parameters include: and the initial position information, the image width information and the height information of the target image data are stored.
In an embodiment of the present invention, the adjusting the arrangement order of the pixels in the target image data to obtain image data after mirror image processing includes: and adjusting the arrangement sequence of the pixel points in the target image data, and keeping the arrangement sequence of each pixel row in the target image data unchanged.
In an embodiment of the present invention, the adjusting the arrangement order of the pixels in the target image data to obtain image data after mirror image processing specifically includes: reversing the arrangement sequence of each pixel unit of each pixel row in the target image data to obtain reversed image data; performing data bit reverse order on each pixel point component in each pixel unit of each pixel row in the reversed image data to obtain image data after the reverse order; and reforming each pixel point in each pixel unit of each pixel row in the image data after the reverse order to obtain the image data after the mirror image processing.
In one embodiment of the present invention, the pixel unit is determined based on memory read-write parameters, wherein the memory read-write parameters include: memory bit width, number of memory parallelism, and number of pre-read addresses.
In another aspect, an embodiment of the present invention provides an image processing apparatus, including: the input source acquisition module is used for acquiring a target input source; the processing and storing module is used for carrying out input zooming processing on the target input source to obtain a processed input source and storing the processed input source; the data reading module is used for reading at least part of image data of the processed input source according to the image output parameters to obtain target image data; the first output module is used for performing first output scaling processing on the target image data by using scaling processing resources to obtain a target output image and outputting the target output image; the mirror image processing module is used for adjusting the arrangement sequence of the pixel points in the target image data to obtain image data after mirror image processing; and the second output module is used for carrying out second output zooming processing on the image data after the mirror image processing by using idle zooming processing resources to obtain a target mirror image output image and outputting the target mirror image output image.
In the scheme, a target input source is acquired through an input source acquisition module; the processing and storing module is used for carrying out input zooming processing on the target input source to obtain a processed input source and storing the processed input source, the data reading module is used for reading at least part of image data of the stored processed input source according to image output parameters to obtain target image data, the first output module is used for carrying out first output zooming processing on the target image data to obtain a target output image and outputting the target output image, and the mirror image processing module is used for adjusting the arrangement sequence of pixel points in the target image data to obtain image data after mirror image processing; and the second output module performs second output scaling processing on the image data subjected to mirror image processing by using idle scaling processing resources to obtain a target mirror image output image, and outputs the target mirror image output image, so that the target output image and the target mirror image output image which is in a mirror image with the target output image are obtained under the condition of not increasing hardware resource overhead.
In one embodiment of the present invention, the mirror processing module includes: the sequence reversing unit is used for reversing the arrangement sequence of each pixel unit of each pixel row in the target image data to obtain reversed image data; a data bit reverse order unit, configured to perform data bit reverse order on each pixel component in each pixel unit of each pixel row in the reversed image data, so as to obtain image data after reverse order; and the pixel point reforming unit is used for reforming each pixel point in each pixel unit of each pixel row in the image data after the reverse sequence to obtain the image data after the mirror image processing.
In one embodiment of the present invention, the pixel unit is determined based on memory read-write parameters, wherein the memory read-write parameters include: memory bit width, number of memory parallelism, and number of pre-read addresses.
In another aspect, an embodiment of the present invention provides an image processing system, including: a memory and a processor coupled to the memory; the memory stores a computer program, and the processor executes any one of the image processing methods when running the computer program.
In yet another aspect, an embodiment of the present invention provides a computer storage medium storing computer-executable instructions for performing any one of the image processing methods described above.
One or more of the above technical solutions may have the following advantages or beneficial effects: obtaining a processed input source by performing input zooming processing on the target input source, storing the processed input source, reading at least part of image data of the stored processed input source according to image output parameters to obtain target image data, performing first output zooming processing on the target image data by using zooming processing resources to obtain a target output image, and outputting the target output image; adjusting the arrangement sequence of the pixel points in the target image data to obtain image data after mirror image processing; and performing second output scaling processing on the image data subjected to mirror image processing by using idle scaling processing resources to obtain a target mirror image output image, and outputting the target mirror image output image, so that the target output image and the target mirror image output image in mirror image with the target output image are obtained under the condition of not increasing hardware resource overhead.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating an image processing method according to a first embodiment of the present invention.
FIG. 2 is a diagram illustrating an architecture of an image processor according to a first embodiment of the present invention.
Fig. 3 is a schematic diagram of a data flow for executing the image processing method according to the first embodiment of the present invention.
Fig. 4 is a schematic process diagram of step S110 in the image processing method according to the first embodiment of the present invention.
Fig. 5A is a block diagram of an image processing apparatus according to a second embodiment of the present invention.
Fig. 5B is a schematic diagram illustrating a specific unit structure of the mirror processing module 310 in fig. 5A.
Fig. 6 is a schematic structural diagram of an image processing system according to a third embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a computer storage medium according to a fourth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
[ first embodiment ] A method for manufacturing a semiconductor device
Referring to fig. 1, an image processing method of a first embodiment of the present invention is shown. The image processing method includes, for example, the steps of:
s102, acquiring a target input source;
s104, performing input zooming processing on the target input source to obtain a processed input source, and storing the processed input source;
s106, reading at least a part of image data of the processed input source according to the image output parameters to obtain target image data;
s108, carrying out first output zooming processing on the target image data by using zooming processing resources to obtain a target output image, and outputting the target output image;
s110, adjusting the arrangement sequence of the pixel points in the target image data to obtain image data after mirror image processing; and
and S112, performing second output scaling processing on the image data subjected to the mirror image processing by using idle scaling processing resources to obtain a target mirror image output image, and outputting the target mirror image output image.
For the convenience of understanding of the present embodiment, the image processing method of the present embodiment will be described in detail below with reference to fig. 2 to 4. Specifically, the image processing method will be described in detail by taking as an example that the image processor 200 shown in fig. 2 executes the image processing method according to the embodiment of the present invention.
Fig. 2 is a schematic diagram of an image processor 200, wherein the image processor 200 includes an input interface 202, a microprocessor 204, a programmable logic device 206, a non-volatile memory 208, a volatile memory 210, and an output interface 212. The input interface 202 is electrically connected to the programmable logic device 206. The microprocessor 204 is electrically connected to a non-volatile memory 208 and a programmable logic device 206. The programmable logic device 206 is electrically connected to the non-volatile memory 208, the volatile memory 210, and the output interface 212.
As mentioned above, the input Interface 202 may be, for example, an HDMI (High Definition Multimedia Interface) Interface, a DP (display Interface) Interface or a DVI (Digital Visual Interface) Interface; the microprocessor 204 may be, for example, an MCU (Micro controller Unit); the Programmable logic device 206 may be, for example, an FPGA (Field-Programmable Gate Array); the nonvolatile memory 208 may be, for example, an EMMC (Embedded MultiMedia Card); the volatile memory 210 may be, for example, a DDR (Double Data Rate); the output Interface 212 may be, for example, an HDMI (High Definition Multimedia Interface) Interface, a DVI (Digital Visual Interface) Interface, but the invention is not limited thereto. The programmable logic device 206 receives an input video source, i.e., a target input source, through the input interface 202, and in response to receiving configuration parameters, such as resolutions of an input image and an output image, sent by the microprocessor 204, such as an MCU (Micro controller Unit), the programmable logic device 206 processes the target input source to obtain a target output image and a target mirrored output image, and outputs the target output image and the target mirrored output image through the output interface 212.
In particular, the programmable logic device 206, such as an FPGA, implements the image mirroring functionality by executing image processing software thereon, which may, for example, include an input scaling module, a mirroring processing module, and a plurality of output scaling modules, divided by functional modules. An image processing method according to an embodiment of the present invention will be described below with reference to fig. 3.
First, the programmable logic device 206 obtains a video source, for example, a target input source, then, an input scaling module of the programmable logic device 206 performs input scaling processing on the target input source to obtain a processed input source, and stores the processed input source in a volatile memory 210, for example, a DDR, and then the programmable logic device 206 reads at least a part of stored image data of the processed input source according to an image output parameter sent by a microprocessor 204, for example, an MCU, to obtain target image data, where the image output parameter may be, for example, start position information, image width information, and height information stored in the DDR for the target image data. Although there is only one output scaling module corresponding to the target output image and the target mirror output image in fig. 3, in practical applications, the number of output scaling modules corresponding to the target output image and the target mirror output image may also be multiple, and is not limited herein. It is worth mentioning that, if the target image data is output by being scaled by the plurality of output scaling modules, the image output parameters include start position information, image width information, and height information, which are specifically stored in the DDR, of the corresponding portion of the target image data that is processed by each output scaling module. Then, the output scaling module of the programmable logic device 206 performs a first output scaling process on the target image data according to the configuration parameters sent by the microprocessor 204 to obtain a target output image, and outputs the target output image.
The programmable logic device 206 further adjusts the arrangement order of the pixels in the target image data through the mirror image processing module to obtain the image data after mirror image processing, and a specific process of obtaining the image data after mirror image processing is shown in fig. 4. Fig. 4 shows a process of performing horizontal mirroring on target image data, which is to adjust an arrangement order of pixel points in the target image data and keep the arrangement order of each pixel row in the target image data unchanged. Further, the horizontal mirroring process specifically includes: reversing the arrangement sequence of each pixel unit of each pixel row in the target image data to obtain reversed image data; performing data bit reverse order on each pixel point component in each pixel unit of each pixel row in the reversed image data to obtain image data after the reverse order; and reforming each pixel point in each pixel unit of each pixel row in the image data after the reverse order to obtain the image data after the mirror image processing. In connection with fig. 4, the resolution of the target image data is 1080p, i.e. the target image data comprises 1080 × 1920 pixels, i.e. each line of the target image data has 1920 pixels. Taking a horizontal mirroring process of one pixel row as an example, first, the bit number of the pixel unit is determined according to the read/write parameters of the volatile memory, such as DDR, e.g., the memory bit width, the memory parallel number and the read-ahead address number, for example, the bit width of the DDR used in the embodiment of the present invention is 16 bits, i.e., the memory bit width is 16, the DDR used in the embodiment of the present invention is 4 pieces of DDR used in parallel, i.e., the memory parallel number is 4, and 8 addresses are prefetched when one DDR reads an address, i.e., the number of prefetched addresses is 8, therefore, when the programmable logic device 206 accesses the DDR, the target image data stored in the embodiment of the present invention is read by using 16 × 4 × 8 ═ 512 bits as one pixel unit, so that each pixel point has three pixel components, i.e., a red (R) component, a green (G) component and a blue (, each pixel component needs 8 bits when stored, and therefore, one pixel row, that is, 1920pixel is 1920 × 3 × 8bit is 90 × 512bit, so that it can be obtained that each pixel row has 90 pixel units, and when horizontal mirroring processing is performed, address inversion is performed on each row of pixel units by taking the pixel units as a unit, that is, the arrangement sequence of each pixel unit of each pixel row in the target image data is reversed, that is, the whole arrangement sequence of the pixel units in the first row of pixels in fig. 4 is subjected to reverse order processing, that is, the whole arrangement sequence of the 90 pixel units is subjected to reverse order arrangement, so as to obtain reversed image data; then, performing data bit reverse order on each pixel point component in each pixel unit of each pixel row in the reversed image data to obtain image data after the reverse order; finally, reforming each pixel point in each pixel unit of each pixel row in the image data after the reverse order, that is, arranging pixel point components corresponding to each pixel point in each row according to the order of R, G, B to obtain the image data after the mirror image processing, for example, as shown in fig. 4, the storage order of the pixel point components B1, G1, and R1 is adjusted to R1, G1, and B1.
After the horizontal mirroring is performed on the target image data, the programmable logic device 206 performs a second output scaling process on the mirrored image data by using an idle scaling process resource, that is, an output scaling module that is not used during the first scaling process, to obtain a target mirrored image output image, and outputs the target mirrored image output image. Here, in order to realize that the target mirror image output image and the target output image are in a mirror image relationship, the number of output scaling modules corresponding to the target output image is the same as the number of output scaling modules corresponding to the target mirror image output image.
In an embodiment of the present invention, the performing the input scaling processing on the target input source to obtain the processed input source includes: carrying out reduction processing on the target input source to obtain the processed input source; performing a first output scaling process on the target image data by using a scaling processing resource to obtain a target output image, including: performing first amplification processing on the target image data to obtain a target output image; the second output scaling processing is performed on the image data after the mirror image processing to obtain a target mirror image output image, and the method comprises the following steps: the image data after the mirror image processing is subjected to the second amplification processing to obtain the target mirror image output image, that is, when the programmable logic device 204 performs the scaling processing, the image reduction processing is performed before the DDR stores the data, and then the image amplification processing is performed, so that the DDR bandwidth is saved, and the hardware resource of the image processor 200 is saved.
In the scheme, a processed input source is obtained by performing input zooming processing on the target input source, the processed input source is stored, at least part of image data of the stored processed input source is read according to image output parameters to obtain target image data, first output zooming processing is performed on the target image data by using zooming processing resources to obtain a target output image, and the target output image is output; adjusting the arrangement sequence of the pixel points in the target image data to obtain image data after mirror image processing; and performing second output scaling processing on the image data subjected to the mirror image processing by using idle scaling processing resources to obtain a target mirror image output image, and outputting the target mirror image output image, so that the target output image and the target mirror image output image in mirror image with the target output image are obtained under the condition of not increasing resource overhead.
[ second embodiment ]
As shown in fig. 5A, a second embodiment of the present invention provides an image processing apparatus 300. The image processing apparatus 300 includes an input source acquiring module 302, a process saving module 304, a data reading module 306, a first output module 308, a mirror processing module 310, and a second output module 312.
Specifically, the input source obtaining module 302 is configured to obtain a target input source.
The processing and saving module 304 is configured to perform input scaling processing on the target input source to obtain a processed input source, and save the processed input source.
The data reading module 306 is configured to read at least a part of the stored image data of the processed input source according to the image output parameter to obtain target image data.
The first output module 308 is configured to perform a first output scaling process on the target image data by using scaling processing resources to obtain a target output image, and output the target output image.
The mirror image processing module 310 is configured to adjust the arrangement order of the pixels in the target image data to obtain image data after mirror image processing.
The second output module 312 is configured to perform a second output scaling process on the image data after the mirror image processing by using the idle scaling processing resource to obtain a target mirror image output image, and output the target mirror image output image.
As described above, as shown in fig. 5B, the mirror processing module 310 includes a sequence reversing unit 3102, a data bit reverse unit 3104, and a pixel point rearranging unit 3108.
Specifically, the order reversing unit 3102 is configured to reverse the arrangement order of the pixel units of each pixel row in the target image data, so as to obtain reversed image data.
The data bit reversing unit 3104 is configured to reverse the data bits of the pixels in the pixel units of each pixel row in the reversed image data, so as to obtain the image data after reversing.
The pixel point reforming unit 3106 is configured to reform the pixel points in each pixel unit of each pixel row in the image data after the reverse order, so as to obtain the image data after the mirror image processing.
In one embodiment of the present invention, the pixel unit is determined based on memory read-write parameters, where the memory read-write parameters include: memory bit width, number of memory parallelism, and number of pre-read addresses.
The specific operation and technical effects between the modules in the image processing apparatus 300 in the present embodiment are described with reference to the foregoing first embodiment.
[ third embodiment ]
As shown in fig. 6, a third embodiment of the present invention provides an image processing system 400. The image processing system 400 includes a memory 410 and a processor 430 coupled to the memory 410. The memory 310 may be, for example, a non-volatile memory, on which the computer program 411 is stored. Processor 430 may, for example, comprise an embedded processor. The processor 430 executes the computer program 411 to execute the image processing method provided by the foregoing first embodiment.
[ fourth example ] A
As shown in FIG. 7, a fourth embodiment of the present invention provides a computer storage medium 500 having stored thereon computer-executable instructions 510. The computer-executable instructions 510 are for performing the image processing method as described in the first embodiment above. The computer storage medium 500 is, for example, a non-volatile memory, such as including: magnetic media (e.g., hard disks, floppy disks, and magnetic tape), optical media (e.g., CDROM disks and DVDs), magneto-optical media (e.g., optical disks), and hardware devices specially constructed for storing and executing computer-executable instructions (e.g., Read Only Memories (ROMs), Random Access Memories (RAMs), flash memories, etc.). The computer storage medium 500 may be executable by one or more processors or processing devices to execute computer-executable instructions 510.
In addition, it should be understood that the foregoing embodiments are merely exemplary illustrations of the present invention, and the technical solutions of the embodiments can be arbitrarily combined and collocated without conflict between technical features and structural contradictions, which do not violate the purpose of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of one logic function, and an actual implementation may have another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may also be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, each functional unit/module in the embodiments of the present invention may be integrated into one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated into one unit/module. The integrated units/modules may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units/modules.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An image processing method, comprising:
acquiring a target input source;
performing input zooming processing on the target input source to obtain a processed input source, and storing the processed input source;
reading at least a part of image data of the processed input source according to the image output parameters to obtain target image data;
carrying out first output scaling processing on the target image data by using scaling processing resources to obtain a target output image, and outputting the target output image;
adjusting the arrangement sequence of the pixel points in the target image data to obtain image data after mirror image processing; and
and performing second output scaling processing on the image data subjected to the mirror image processing by using idle scaling processing resources to obtain a target mirror image output image, and outputting the target mirror image output image.
2. The image processing method according to claim 1,
the obtaining of the processed input source by performing input scaling processing on the target input source includes:
carrying out reduction processing on the target input source to obtain the processed input source;
performing a first output scaling process on the target image data by using a scaling processing resource to obtain a target output image, including:
performing first amplification processing on the target image data to obtain a target output image;
the second output scaling processing is performed on the image data after the mirror image processing to obtain a target mirror image output image, and the method comprises the following steps:
and carrying out second amplification processing on the image data subjected to mirror image processing to obtain the target mirror image output image.
3. The image processing method of claim 1, wherein the image output parameters comprise: and the initial position information, the image width information and the height information of the target image data are stored.
4. The image processing method according to claim 1, wherein the adjusting the arrangement order of the pixels in the target image data to obtain the image data after the mirror image processing comprises:
and adjusting the arrangement sequence of the pixel points in the target image data, and keeping the arrangement sequence of each pixel row in the target image data unchanged.
5. The image processing method according to claim 4, wherein the adjusting the arrangement order of the pixels in the target image data to obtain the image data after the mirror image processing specifically comprises:
reversing the arrangement sequence of each pixel unit of each pixel row in the target image data to obtain reversed image data;
performing data bit reverse order on each pixel point component in each pixel unit of each pixel row in the reversed image data to obtain image data after the reverse order;
and reforming each pixel point in each pixel unit of each pixel row in the image data after the reverse order to obtain the image data after the mirror image processing.
6. The image processing method of claim 5, wherein the pixel unit is determined based on memory read-write parameters, wherein the memory read-write parameters comprise: memory bit width, number of memory parallelism, and number of pre-read addresses.
7. An image processing apparatus characterized by comprising:
the input source acquisition module is used for acquiring a target input source;
the processing and storing module is used for carrying out input zooming processing on the target input source to obtain a processed input source and storing the processed input source;
the data reading module is used for reading at least part of image data of the processed input source according to the image output parameters to obtain target image data;
the first output module is used for performing first output scaling processing on the target image data by using scaling processing resources to obtain a target output image and outputting the target output image;
the mirror image processing module is used for adjusting the arrangement sequence of the pixel points in the target image data to obtain image data after mirror image processing; and
and the second output module is used for performing second output zooming processing on the image data subjected to the mirror image processing by using idle zooming processing resources to obtain a target mirror image output image and outputting the target mirror image output image.
8. The image processing apparatus according to claim 7, wherein the mirroring processing module includes:
the sequence reversing unit is used for reversing the arrangement sequence of each pixel unit of each pixel row in the target image data to obtain reversed image data;
a data bit reverse order unit, configured to perform data bit reverse order on each pixel component in each pixel unit of each pixel row in the reversed image data, so as to obtain image data after reverse order; and
and the pixel point reforming unit is used for reforming each pixel point in each pixel unit of each pixel row in the image data after the reverse sequence to obtain the image data after the mirror image processing.
9. The image processing apparatus of claim 8, wherein the pixel unit is determined based on memory read-write parameters, wherein the memory read-write parameters comprise: memory bit width, number of memory parallelism, and number of pre-read addresses.
10. An image processing system, comprising: a memory and a processor coupled to the memory; the memory stores a computer program which, when executed by the processor, performs the image processing method of any one of claims 1 to 6.
CN201910883116.7A 2019-09-18 2019-09-18 Image processing method, device and system Active CN112532894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910883116.7A CN112532894B (en) 2019-09-18 2019-09-18 Image processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910883116.7A CN112532894B (en) 2019-09-18 2019-09-18 Image processing method, device and system

Publications (2)

Publication Number Publication Date
CN112532894A true CN112532894A (en) 2021-03-19
CN112532894B CN112532894B (en) 2023-01-10

Family

ID=74975200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910883116.7A Active CN112532894B (en) 2019-09-18 2019-09-18 Image processing method, device and system

Country Status (1)

Country Link
CN (1) CN112532894B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050270308A1 (en) * 2004-06-08 2005-12-08 Atsushi Obinata Display controller, electronic device, and method of supplying image data
CN101916064A (en) * 2010-08-19 2010-12-15 上海市激光技术研究所 Dynamic pixel holographic cell picture shooting device and method based on Digital Micromirror Device
CN201867579U (en) * 2010-11-09 2011-06-15 刘亚军 Projection device provided with reflecting mirror
CN102137212A (en) * 2010-01-13 2011-07-27 精工爱普生株式会社 Optical reading device, control method for an optical reading device, and computer-readable recording medium storing a control program for an optical reading device
CN102263880A (en) * 2010-05-25 2011-11-30 安凯(广州)微电子技术有限公司 Image scaling method and apparatus thereof
US20120038789A1 (en) * 2010-08-11 2012-02-16 Kelly Kevin F Determining Light Level Variation in Compressive Imaging by Injecting Calibration Patterns into Pattern Sequence
CN103347157A (en) * 2013-06-25 2013-10-09 杭州士兰微电子股份有限公司 Method and device for real-time input digital image mirroring storage
CN107622600A (en) * 2017-09-21 2018-01-23 深圳怡化电脑股份有限公司 Generation method, device and the ATM of image mirrors data
CN108737810A (en) * 2018-05-23 2018-11-02 苏州新光维医疗科技有限公司 Image processing method, device and 3-D imaging system
CN109934773A (en) * 2019-03-13 2019-06-25 北京旷视科技有限公司 A kind of image processing method, device, electronic equipment and computer-readable medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050270308A1 (en) * 2004-06-08 2005-12-08 Atsushi Obinata Display controller, electronic device, and method of supplying image data
CN102137212A (en) * 2010-01-13 2011-07-27 精工爱普生株式会社 Optical reading device, control method for an optical reading device, and computer-readable recording medium storing a control program for an optical reading device
CN102263880A (en) * 2010-05-25 2011-11-30 安凯(广州)微电子技术有限公司 Image scaling method and apparatus thereof
US20120038789A1 (en) * 2010-08-11 2012-02-16 Kelly Kevin F Determining Light Level Variation in Compressive Imaging by Injecting Calibration Patterns into Pattern Sequence
CN101916064A (en) * 2010-08-19 2010-12-15 上海市激光技术研究所 Dynamic pixel holographic cell picture shooting device and method based on Digital Micromirror Device
CN201867579U (en) * 2010-11-09 2011-06-15 刘亚军 Projection device provided with reflecting mirror
CN103347157A (en) * 2013-06-25 2013-10-09 杭州士兰微电子股份有限公司 Method and device for real-time input digital image mirroring storage
CN107622600A (en) * 2017-09-21 2018-01-23 深圳怡化电脑股份有限公司 Generation method, device and the ATM of image mirrors data
CN108737810A (en) * 2018-05-23 2018-11-02 苏州新光维医疗科技有限公司 Image processing method, device and 3-D imaging system
CN109934773A (en) * 2019-03-13 2019-06-25 北京旷视科技有限公司 A kind of image processing method, device, electronic equipment and computer-readable medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李斌: "拼接镜主动共相实验研究", 《光子学报》 *

Also Published As

Publication number Publication date
CN112532894B (en) 2023-01-10

Similar Documents

Publication Publication Date Title
CN107493448B (en) Image processing system, image display method and display device
TWI524176B (en) Method and apparatus for display power management
US8749667B2 (en) System and method for maintaining maximum input rate while up-scaling an image vertically
CN110888521B (en) Mobile terminal and application program running method thereof
US7868898B2 (en) Methods and apparatus for efficiently accessing reduced color-resolution image data
US20130300769A1 (en) Image rotation control method and device
US20240292009A1 (en) Method and apparatus for processing video compression, and medium
US10070134B2 (en) Analytics assisted encoding
CN106846255B (en) Image rotation realization method and device
CN109325901B (en) Method and device for realizing image processing
US10984758B1 (en) Image enhancement
WO2024031825A1 (en) Fpga-based method and system for overlapping sliding window segmentation on image
CN111464757A (en) Video processing method, device and system
CN112804410A (en) Multi-display-screen synchronous display method and device, video processing equipment and storage medium
CN115209145A (en) Video compression method, system, device and readable storage medium
CN107657587A (en) Image processing method, apparatus and system
CN107506119B (en) Picture display method, device, equipment and storage medium
CN112532894B (en) Image processing method, device and system
US20110157465A1 (en) Look up table update method
US8548275B2 (en) Image processing device and image processing method
Gong et al. Design of high-speed real-time sensor image processing based on FPGA and DDR3
KR100510677B1 (en) Memory access control apparatus
US11972504B2 (en) Method and system for overlapping sliding window segmentation of image based on FPGA
US20150116311A1 (en) Accelerated video post processing systems and methods
US20180286006A1 (en) Tile reuse in imaging

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
TR01 Transfer of patent right

Effective date of registration: 20240708

Address after: 01A, 12th Floor, No. 8 Caihefang Road, Haidian District, Beijing, 100000

Patentee after: PIXELHUE TECHNOLOGY Ltd.

Country or region after: China

Address before: 710075 DEF101, Zero One Square, Xi'an Software Park, No. 72 Zhangbajie Science and Technology Second Road, Xi'an High-tech Zone, Shaanxi Province

Patentee before: XI'AN NOVASTAR TECH Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right