CN110809147A - Image processing method and device, computer storage medium and electronic equipment - Google Patents
Image processing method and device, computer storage medium and electronic equipment Download PDFInfo
- Publication number
- CN110809147A CN110809147A CN201910892426.5A CN201910892426A CN110809147A CN 110809147 A CN110809147 A CN 110809147A CN 201910892426 A CN201910892426 A CN 201910892426A CN 110809147 A CN110809147 A CN 110809147A
- Authority
- CN
- China
- Prior art keywords
- image
- resolution
- pixel
- display device
- processing method
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/10—Processing, recording or transmission of stereoscopic or multi-view image signals
- H04N13/106—Processing image signals
- H04N13/111—Transformation of image signals corresponding to virtual viewpoints, e.g. spatial image interpolation
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The present disclosure relates to the technical field of stereoscopic display, and provides an image processing method, an image processing apparatus, a computer readable medium and an electronic device, wherein the method comprises: acquiring a first image and a second image which form a stereo image, wherein the resolution of the first image is greater than that of the second image; inputting the first image and the second image into a display device, and performing interpolation processing on the second image through the display device so that the resolution of the second image is the same as that of the first image. The present disclosure can reduce the transmission pressure of images while ensuring that high quality images are displayed on a display device.
Description
Technical Field
The present disclosure relates to the field of stereoscopic display technologies, and in particular, to an image processing method, an image processing apparatus, a computer-readable storage medium, and an electronic device.
Background
With the development of display technology, stereoscopic display is applied in more and more industries, and stereoscopic movies, naked eye stereoscopic advertising machines and virtual display/enhanced display head displays all utilize the principle of binocular stereoscopic vision to simulate the stereoscopic sense of space in the real world.
In order to display stereoscopic images, in the prior art, images corresponding to a left eye and a right eye are spliced into one image, the image is transmitted to a display device, and the image is split into two pictures for processing after being decoded at the display device. As the resolution of the display device is higher and higher, the resolution of the left-eye image and the right-eye image is higher and higher, and the binocular stereoscopic image usually needs twice the resolution of the conventional planar image to ensure the resolution restoration in order to ensure the image quality. However, this not only increases the transmission pressure of the image but also increases the amount of local calculation.
In view of the above, there is a need in the art to develop a new image processing method and apparatus.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An object of the present disclosure is to provide an image processing method, an image processing apparatus, a computer-readable storage medium, and an electronic device, which can reduce the pressure of stereoscopic image transmission at least to some extent.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to an aspect of the present disclosure, there is provided an image processing method, the method including: acquiring a first image and a second image which form a stereo image, wherein the resolution of the first image is greater than that of the second image; inputting the first image and the second image into a display device, and performing interpolation processing on the second image through the display device so that the resolution of the second image is the same as that of the first image.
In some exemplary embodiments of the present disclosure, acquiring a first image and a second image constituting a stereoscopic image includes: and shooting by adopting shooting devices with different resolutions to obtain the first image and the second image.
In some exemplary embodiments of the present disclosure, acquiring a first image and a second image includes: and shooting by adopting a shooting device with the same resolution to obtain the first image and the second image, and compressing the resolution of the second image.
In some exemplary embodiments of the present disclosure, processing the resolution of the second image includes: compressing the resolution of the second image to half the resolution of the first image.
In some exemplary embodiments of the present disclosure, before the interpolation processing of the second image by the display device, the method further includes: stitching the first image and the second image to form the stereoscopic image.
In some exemplary embodiments of the present disclosure, interpolating, by the display apparatus, the second image to have a resolution of the second image identical to a resolution of the first image, includes: performing amplification processing on the second image so that the size of the second image after the amplification processing is equal to the size of the first image; and performing pixel filling processing on the amplified second image.
In some exemplary embodiments of the present disclosure, the pixels of the second image include a first pixel and a second pixel, where the first pixel and the second pixel are adjacent to each other left and right or up and down, and the pixel filling processing is performed on the enlarged second image, including: filling a new pixel between the first pixel and the second pixel, wherein a pixel value of the new pixel is half of a sum of a pixel value of the first pixel and a pixel value of the second pixel.
According to an aspect of the present disclosure, there is provided an image processing apparatus including: an image acquisition module, configured to acquire a first image and a second image that form a stereoscopic image, where a resolution of the first image is greater than a resolution of the second image; and the image processing module is used for inputting the first image and the second image into a display device, and performing interpolation processing on the second image through the display device so as to enable the resolution of the second image to be the same as that of the first image.
According to an aspect of the present disclosure, there is provided a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the image processing method as described in the above embodiments.
According to an aspect of the present disclosure, there is provided an electronic device including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the image processing method as described in the above embodiments.
As can be seen from the foregoing technical solutions, the image processing method, the image processing apparatus, the computer-readable storage medium, and the electronic device in the exemplary embodiments of the present disclosure have at least the following advantages and positive effects:
the method comprises the steps of acquiring a first image and a second image with different resolutions, inputting the first image and the second image into a display device, and carrying out interpolation processing on the images through the display device so as to enable the display device to finally realize stereoscopic display. On one hand, the method transmits the first image and the second image with different resolutions to the display equipment, and interpolates the second image, thereby effectively reducing the transmission pressure of the images, reducing the local calculation amount and improving the transmission efficiency of the images while ensuring the high-resolution stereo images; on the other hand, the display device performs interpolation processing on the second image and displays the first image and the second image on the display device, and stereoscopic display is realized by applying the visual difference of human eyes.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
Fig. 1 schematically shows a flow diagram of an image processing method according to an embodiment of the present disclosure;
fig. 2 schematically illustrates a structural schematic view of a binocular stereoscopic image according to an embodiment of the present disclosure;
FIG. 3 schematically shows a flow diagram of an image processing method according to an embodiment of the present disclosure;
4(a) -4(b) schematically illustrate a structural schematic of a stereoscopic image according to an embodiment of the disclosure;
FIG. 5 schematically shows a flow diagram of an image interpolation process according to an embodiment of the present disclosure;
6(a) -6(b) schematically illustrate a structural diagram of image interpolation processing on a second image according to an embodiment of the present disclosure;
fig. 7 schematically shows a block diagram of an image processing apparatus according to an embodiment of the present disclosure;
FIG. 8 schematically shows a block schematic of an electronic device according to an embodiment of the present disclosure;
fig. 9 schematically shows a program product schematic according to an embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
In the related art in the field, with the development of display technology, stereoscopic display is applied in more and more industries, from stereoscopic movies, naked eye stereoscopic advertisers, virtual display/enhanced display head displays, the stereoscopic sense of space in the real world is simulated by using the principle of binocular stereoscopic vision, and the corresponding image processing method is shown in fig. 1, and the specific flow is as follows:
in step S110, a left-eye image and a right-eye image with the same resolution are obtained, and the left-eye image and the right-eye image are spliced into a binocular stereo image and transmitted to a display device;
in step S120, the display device receives the binocular stereo image, and disassembles the binocular stereo image into two frames for processing, so that the stereo image is displayed on the display device.
FIG. 2 illustrates a schematic structural view of a binocular stereo image according to an embodiment of the present disclosure, e.g.
As shown in fig. 2, 201 and 202 respectively represent pictures corresponding to two eyes, and when 201 represents a left-eye image, 202 represents a right-eye image; when 201 represents a right eye image, then 202 represents a left eye image having the same resolution as the right eye stereoscopic image.
In order to display a lossless stereoscopic display effect on a display device, it is necessary to ensure that the resolutions of the left-eye image and the right-eye image both reach full-high-definition resolution, that is, the resolution reaches 1920 × 1080. However, in this method, since the resolutions of the left-eye image and the right-eye image are the same, and when the requirement of the display device on the resolution of the image is high, both the left-eye image and the right-eye image need to reach higher resolutions, so as to ensure that higher resolutions are presented on the display device. The method not only increases the transmission pressure of the image, but also increases the local calculation amount of the stereo display end.
In order to solve the problems of the above methods, in the present exemplary embodiment, a new image processing method is proposed, and the following describes technical solutions of exemplary embodiments of the present disclosure in detail.
Fig. 3 shows a flow diagram of an image processing method, which, as shown in fig. 3, comprises at least the following steps:
step S310: acquiring a first image and a second image which form a stereo image, wherein the resolution of the first image is greater than that of the second image;
step S320: inputting the first image and the second image into a display device, and performing interpolation processing on the second image through the display device so that the resolution of the second image is the same as that of the first image;
in the embodiment of the present disclosure, a first image and a second image with different resolutions are acquired, the first image and the second image are input to a display device, and the display device performs interpolation processing on the images, so that the display device finally realizes stereoscopic display. On one hand, the method transmits the first image and the second image with different resolutions to the display equipment, and interpolates the second image, thereby effectively reducing the transmission pressure of the images, reducing the local calculation amount and improving the transmission efficiency of the images while ensuring the high-resolution stereo images; on the other hand, the display device performs interpolation processing on the second image and displays the first image and the second image on the display device, and stereoscopic display is realized by applying the visual difference of human eyes.
In order to make the technical solution of the present disclosure clearer, each step of the image processing method is explained next.
In step S310, a first image and a second image constituting a stereoscopic image are acquired, the first image having a resolution greater than that of the second image.
It should be noted that the image resolution refers to the amount of information stored in the image, and there are various measures for the image resolution, typically measured in pixels per inch, and certainly measured in pixels per centimeter. The image resolution determines the quality of the image output, the image resolution together with the value of the image size (height/width) determines the size of the image file, and the larger the values of the image resolution and the image size, the more disk space the image file occupies. Image resolution affects the size of an image file in a proportional relationship, i.e., the image file size is proportional to the square of its image resolution. If the resolution of the image is doubled while keeping the size of the image unchanged, the size of the image file is increased by four times.
In an exemplary embodiment of the present disclosure, the first image may be a left-eye image or a right-eye image; the second image may be a right-eye image or a left-eye image. The first image and the second image may be acquired in two ways:
first, photographing is performed using photographing devices having different resolutions to obtain a first image and a second image having different resolutions. The shooting device includes a mobile phone, a camera, and the like, which is not limited in this disclosure. The shooting device can shoot images with one resolution size and can also shoot images with multiple resolution sizes. When shooting is carried out by using a camera with one resolution, firstly shooting to obtain a first image, and then shooting by using a camera with the resolution different from the resolution to obtain a second image; when the camera with various resolution ratios is used for shooting, the first resolution ratio is set for shooting to obtain the first image, and then the resolution ratio is changed for shooting to obtain the second image.
Second, photographing is performed using a photographing device having the same resolution to obtain two images having the same resolution, and then the resolution of one of the images may be processed to obtain a first image and a second image having different resolutions. The photographing devices with the same resolution are not limited to only photographing images with one resolution, but the resolution of the photographing devices is set to the same resolution size when the images are photographed. Therefore, when the two obtained images have the same resolution, the first image and the second image with different resolutions can be obtained by processing one of the two images.
In addition, the first image and the second image may also be made by image processing software, wherein the image processing software includes Photoshop, 3DSMax, Maya, and the like, and the disclosure is not limited thereto.
In an exemplary embodiment of the present disclosure, if the resolution of the obtained first image is the same as the resolution of the second image, the resolution of the second image may be compressed, for example, to half the resolution of the first image. The method for compressing the resolution of the second image comprises the following two methods:
first, if the first image and the second image are created by image processing software, the resolution of the second image can be set by the image processing software to be reduced to one-half of the original resolution. Firstly, the resolution of the second image is obtained, one half of the resolution of the second image is calculated, one half of the resolution is used as a new resolution value of the second image, and the new resolution value is input in the resolution setting in the image processing software so as to reduce the resolution of the second image to one half of the original resolution value.
Second, if the first image and the second image are captured by the imaging device, the original image obtained after the capturing may be compressed by image processing software or may be compressed in the imaging device. So that the resolution of the compressed second image is half the resolution of the first image.
In step S320, the first image and the second image are input to the display device, and the second image is subjected to interpolation processing by the display device so that the resolution of the second image is the same as the resolution of the first image.
It should be noted that the display device is a display device capable of implementing naked eye stereoscopic display, glasses type stereoscopic display, virtual display, and enhanced display.
In an exemplary embodiment of the present disclosure, the image processing method further includes: and carrying out splicing processing on the first image and the second image to form a stereoscopic image. Specifically, the first image and the second image are spliced in a left-right side-by-side mode or a top-bottom side-by-side mode. The stitching processing can be applied before the first image and the second image are input to the display device, specifically, the first image and the second image are stitched to form a stereoscopic image, and the stereoscopic image is input to the display device; the method can also be applied before the display device performs interpolation processing on the second image, specifically, the first image and the second image are respectively input into the display device, and after receiving the first image and the second image, the display device performs stitching processing on the first image and the second image to display the stereoscopic image.
For example, fig. 4 shows a schematic structure of a stereoscopic image, as shown in fig. 4(a), the first image 401 and the second image 402 with different resolutions are spliced in a left-right side-by-side manner to form the stereoscopic image, and as shown in fig. 4(b), the first image 403 and the second image 404 are spliced in a top-bottom side-by-side manner to form the stereoscopic image.
In an exemplary embodiment of the present disclosure, in order to implement a line-by-line split operation on a glasses-free stereoscopic screen or a polarized glasses type screen, or play pictures corresponding to different eyes at different times on a liquid crystal switch glasses type stereoscopic screen, or adjust a first image and a second image respectively according to lens group parameters in front of the two eyes in a virtual display helmet display, before stereoscopic display, interpolation processing needs to be performed on the second image so that the resolution of the second image is the same as that of the first image.
In an exemplary embodiment of the present disclosure, fig. 5 shows a flowchart of the image interpolation process, and as shown in fig. 5, in step S510, the second image is subjected to the enlargement process so that the size of the second image after the enlargement process is equal to the size of the first image; wherein the enlarging process may be a horizontal enlarging or a vertical enlarging, the enlarging process may be performed in the image processing software, and in step S520, the pixels of the enlarged second image are filled.
In an exemplary embodiment of the present disclosure, the filling process is performed on the pixels of the enlarged second image, where the pixels of the second image include a first pixel and a second pixel, and the first pixel and the second pixel are adjacent to each other left and right or up and down. The filling process includes: a new pixel is filled between the first pixel and the second pixel, specifically, the pixel value of the new pixel is half of the sum of the pixel value of the first pixel and the pixel value of the second pixel.
Fig. 6 is a schematic diagram illustrating a configuration of performing image interpolation processing on a second image, where, as shown in fig. 6, if a first image and a second image 610 are arranged side by side, the second image 610 includes a first pixel 611 and a second pixel 612 adjacent to each other left and right, the first pixel has a pixel value of C1, and the second pixel has a pixel value of C2.
The second image 610 is horizontally enlarged, specifically, the second image 610 is horizontally enlarged twice so that the size of the second image 610 is equal to the size of the first image. A new pixel 613 is filled between the enlarged first pixel 611 and the enlarged second pixel 612, and a pixel value C3 of the new pixel 613 is calculated as shown in formula (1):
C3=(C1+C2)/2 (1)
further, if the first image and further the second image 620 are arranged side by side in the vertical direction, and the second image 620 includes the first pixel 621 and the second pixel 622 adjacent to each other in the vertical direction, the second image 620 is enlarged twice in the vertical direction so that the size of the second image 620 is equal to the size of the first image. And a new pixel 623 is filled between the amplified first pixel 621 and the amplified second pixel 622, and the pixel value of the new pixel 623 is calculated by the same method as formula (1).
When the image processing method described in this exemplary embodiment is applied to a autostereoscopic screen, pixels of the screen need to correspond left-eye images and right-eye images according to odd-even columns, that is, pixels of odd columns of the screen correspond to content of odd columns of a first image, pixels of even columns of the screen correspond to content of even columns of a second image, and a rear parallax barrier grating array or a cylindrical lens grating array is covered on the autostereoscopic display screen, and the rear parallax barrier grating array or the cylindrical lens grating array can guide light emitted by the pixels of odd columns and the light emitted by the pixels of even columns to different eyes respectively, so that two eyes can see different images to form stereoscopic vision.
When the image processing method described in this exemplary embodiment is applied to stereoscopic display based on polarized light stereoscopic glasses, the processing is similar to that of the above-mentioned naked eye stereoscopic screen display, but generally the processing is performed according to odd-even rows, and the processing is similar to that of the above-mentioned naked eye stereoscopic screen display, and the odd-numbered columns and even-numbered columns of pixels on the display screen are also covered with polarizers with different polarization directions, respectively, so as to ensure that the light emitted by the odd-numbered columns and even-numbered columns of pixels have different polarization states, and the polarized glasses worn corresponding to human eyes also have two different polarized lenses, allowing one eye to see light with one polarization direction, and also realizing that two eyes see different images to form stereoscopic vision.
When the image processing method according to the exemplary embodiment is applied to stereoscopic display based on liquid crystal switch glasses, images are not specially processed, as long as images of different eyes are alternately displayed on a screen at a speed matched with the liquid crystal switch, and the liquid crystal switch can close one lens while opening the other lens, so that two eyes can see two pictures with different parallaxes to form stereoscopic display.
The image processing method provided by the exemplary embodiment may be integrated in a CPU or a GPU driving a display screen, or the functions of the image processing method may be integrated in a separately developed dedicated stereo image processing chip, and an image received from the CPU or the GPU of the main control chip is processed and then handed to the screen for display. The stereoscopic image processing method of the virtual display device is similar, except that the stereoscopic image of the virtual display device needs to be additionally added with visual distortion and dispersion caused by an attached convex lens sheet, and the image needs to be subjected to inverse distortion and inverse dispersion processing. In addition, the stereoscopic image processing method of the virtual display device is similar, but the stereoscopic image of the virtual display device requires an additional processing step, and the image is subjected to inverse distortion and inverse dispersion processing due to visual distortion and dispersion caused by the attached convex lens sheet.
The following describes embodiments of the apparatus of the present disclosure, which may be used to perform the above-mentioned image processing method of the present disclosure. For details that are not disclosed in the embodiments of the apparatus of the present disclosure, please refer to the embodiments of the image processing method described above in the present disclosure.
Fig. 7 schematically shows a block diagram of an image processing apparatus according to an embodiment of the present disclosure.
Referring to fig. 7, an image processing apparatus 700 according to an embodiment of the present disclosure, the image processing apparatus 700 including: an image acquisition module 701 and an image processing module 702. Specifically, the method comprises the following steps:
an image obtaining module 701, configured to obtain a first image and a second image that form a stereoscopic image, where a resolution of the first image is greater than a resolution of the second image;
an image processing module 702, configured to input the first image and the second image to a display device, and perform interpolation processing on the second image through the display device so that the resolution of the second image is the same as the resolution of the first image.
The details of each image processing apparatus are already described in detail in the corresponding image processing method, and therefore, the details are not repeated here.
It should be noted that although in the above detailed description several modules or units of the apparatus for performing are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 800 according to this embodiment of the invention is described below with reference to fig. 8. The electronic device 800 shown in fig. 8 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present invention.
As shown in fig. 8, electronic device 800 is in the form of a general purpose computing device. The components of the electronic device 800 may include, but are not limited to: the at least one processing unit 810, the at least one memory unit 820, a bus 830 connecting different system components (including the memory unit 820 and the processing unit 810), and a display unit 840.
Wherein the storage unit stores program code that is executable by the processing unit 810 to cause the processing unit 810 to perform steps according to various exemplary embodiments of the present invention as described in the above section "exemplary methods" of the present specification. For example, the processing unit 810 may perform step S310 shown in fig. 3, acquiring a first image and a second image constituting a stereoscopic image, the first image having a resolution greater than that of the second image; step S320, inputting the first image and the second image to a display device, and performing interpolation processing on the second image through the display device so that the resolution of the second image is the same as the resolution of the first image.
The storage unit 820 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)10201 and/or a cache memory unit 8202, and may further include a read only memory unit (ROM) 8203.
The electronic device 800 may also communicate with one or more external devices 1000 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a viewer to interact with the electronic device 800, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 1000 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 850. Also, the electronic device 800 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 860. As shown, the network adapter 860 communicates with the other modules of the electronic device 800 via the bus 830. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above section "exemplary methods" of the present description, when said program product is run on the terminal device.
Referring to fig. 9, a program product 900 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.
Claims (10)
1. An image processing method, comprising:
acquiring a first image and a second image which form a stereo image, wherein the resolution of the first image is greater than that of the second image;
inputting the first image and the second image into a display device, and performing interpolation processing on the second image through the display device so that the resolution of the second image is the same as that of the first image.
2. The image processing method according to claim 1, wherein acquiring the first image and the second image constituting the stereoscopic image comprises:
and shooting by adopting shooting devices with different resolutions to obtain the first image and the second image.
3. The image processing method according to claim 1, wherein acquiring the first image and the second image constituting the stereoscopic image comprises:
and shooting by adopting a shooting device with the same resolution to obtain the first image and the second image, and compressing the resolution of the second image.
4. The image processing method according to claim 3, wherein compressing the resolution of the second image includes:
compressing the resolution of the second image to half the resolution of the first image.
5. The image processing method according to claim 1, wherein before the interpolation processing of the second image by the display device, the method further comprises:
stitching the first image and the second image to form the stereoscopic image.
6. The image processing method according to claim 1, wherein interpolating, by the display device, the second image so that the resolution of the second image is the same as the resolution of the first image, comprises:
performing amplification processing on the second image so that the size of the second image after the amplification processing is equal to the size of the first image;
and carrying out pixel filling processing on the amplified second image.
7. The image processing method according to claim 6, wherein the pixels of the second image include a first pixel and a second pixel, wherein the first pixel and the second pixel are adjacent left and right or up and down;
performing pixel filling processing on the amplified second image, including:
filling a new pixel between the first pixel and the second pixel, wherein a pixel value of the new pixel is half of a sum of a pixel value of the first pixel and a pixel value of the second pixel.
8. An image processing apparatus, characterized in that the apparatus comprises:
an image acquisition module, configured to acquire a first image and a second image that form a stereoscopic image, where a resolution of the first image is greater than a resolution of the second image;
and the image processing module is used for inputting the first image and the second image into a display device, and performing interpolation processing on the second image through the display device so as to enable the resolution of the second image to be the same as that of the first image.
9. A computer storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the image processing method of any one of claims 1 to 7.
10. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the image processing method of any one of claims 1 to 7 via execution of the executable instructions.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910892426.5A CN110809147A (en) | 2019-09-20 | 2019-09-20 | Image processing method and device, computer storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910892426.5A CN110809147A (en) | 2019-09-20 | 2019-09-20 | Image processing method and device, computer storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110809147A true CN110809147A (en) | 2020-02-18 |
Family
ID=69487619
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910892426.5A Pending CN110809147A (en) | 2019-09-20 | 2019-09-20 | Image processing method and device, computer storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110809147A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114007057A (en) * | 2020-07-28 | 2022-02-01 | 北京小米移动软件有限公司 | Terminal, photographing method, photographing apparatus, and computer-readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102271265A (en) * | 2010-06-04 | 2011-12-07 | 索尼公司 | Image signal processing device and image signal processing method, and computer program |
CN103179424A (en) * | 2013-03-26 | 2013-06-26 | 深圳市掌网立体时代视讯技术有限公司 | Method and device for synthesising three-dimensional image |
US20160337635A1 (en) * | 2015-05-15 | 2016-11-17 | Semyon Nisenzon | Generarting 3d images using multi-resolution camera set |
CN107809641A (en) * | 2017-11-13 | 2018-03-16 | 北京京东方光电科技有限公司 | Image data transfer method, processing method and image processing equipment, display device |
-
2019
- 2019-09-20 CN CN201910892426.5A patent/CN110809147A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102271265A (en) * | 2010-06-04 | 2011-12-07 | 索尼公司 | Image signal processing device and image signal processing method, and computer program |
CN103179424A (en) * | 2013-03-26 | 2013-06-26 | 深圳市掌网立体时代视讯技术有限公司 | Method and device for synthesising three-dimensional image |
US20160337635A1 (en) * | 2015-05-15 | 2016-11-17 | Semyon Nisenzon | Generarting 3d images using multi-resolution camera set |
CN107809641A (en) * | 2017-11-13 | 2018-03-16 | 北京京东方光电科技有限公司 | Image data transfer method, processing method and image processing equipment, display device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114007057A (en) * | 2020-07-28 | 2022-02-01 | 北京小米移动软件有限公司 | Terminal, photographing method, photographing apparatus, and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12028502B2 (en) | Three dimensional glasses free light field display using eye location | |
ES2599858T3 (en) | Effective multi-view coding | |
JP5706826B2 (en) | Method and system for encoding 3D image signal, method and system for decoding encoded 3D image signal and 3D image signal | |
US8633967B2 (en) | Method and device for the creation of pseudo-holographic images | |
US8884952B2 (en) | 3D display apparatus and method for processing image using the same | |
KR100991804B1 (en) | Stereoscopic Image Generation Chip For Mobile Equipment, and Method For Generating Stereoscopic Image Using The Same | |
US11436787B2 (en) | Rendering method, computer product and display apparatus | |
KR20110114620A (en) | Stereoscopic imaging apparatus and method | |
US20150304640A1 (en) | Managing 3D Edge Effects On Autostereoscopic Displays | |
US20120287252A1 (en) | Image display device, image display system, and image display method | |
CN116982086A (en) | Advanced stereoscopic rendering | |
JP6166985B2 (en) | Image generating apparatus and image generating program | |
CN110809147A (en) | Image processing method and device, computer storage medium and electronic equipment | |
US9866813B2 (en) | Autostereo tapestry representation | |
JPH09102968A (en) | Stereoscopic image display device | |
CN102256152B (en) | Equipment and method for processing three-dimensional image | |
JP2012134885A (en) | Image processing system and image processing method | |
CN103002296A (en) | Stereoscopic image display method and stereoscopic image display system | |
KR100823561B1 (en) | Display device for displaying two-three dimensional image | |
JP4481275B2 (en) | 3D video information transmission method | |
TWI530155B (en) | Method, device for packing multi-view frame and non-transitory storage medium for storing packed frame | |
CN102547349A (en) | 3D (3-dimensional) image processing device and method for shutter type liquid crystal 3D display device | |
KR100939080B1 (en) | Method and Apparatus for generating composited image, Method and Apparatus for displaying using composited image | |
KR102492367B1 (en) | Image data generating method and stereoscopic image display system using the same | |
CN117692622A (en) | Non-homogeneous token three-dimensional display device with built-in electronic wallet and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200218 |