CN112532964A - Image processing method, device, apparatus and readable storage medium - Google Patents

Image processing method, device, apparatus and readable storage medium Download PDF

Info

Publication number
CN112532964A
CN112532964A CN202011386557.5A CN202011386557A CN112532964A CN 112532964 A CN112532964 A CN 112532964A CN 202011386557 A CN202011386557 A CN 202011386557A CN 112532964 A CN112532964 A CN 112532964A
Authority
CN
China
Prior art keywords
image
crosstalk
target
sample test
transition
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
CN202011386557.5A
Other languages
Chinese (zh)
Other versions
CN112532964B (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.)
Shenzhen Yinglun Technology Co ltd
Original Assignee
Shenzhen Yinglun 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 Shenzhen Yinglun Technology Co ltd filed Critical Shenzhen Yinglun Technology Co ltd
Priority to CN202011386557.5A priority Critical patent/CN112532964B/en
Publication of CN112532964A publication Critical patent/CN112532964A/en
Application granted granted Critical
Publication of CN112532964B publication Critical patent/CN112532964B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/302Image reproducers for viewing without the aid of special glasses, i.e. using autostereoscopic displays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • H04N13/122Improving the 3D impression of stereoscopic images by modifying image signal contents, e.g. by filtering or adding monoscopic depth cues
    • H04N13/125Improving the 3D impression of stereoscopic images by modifying image signal contents, e.g. by filtering or adding monoscopic depth cues for crosstalk reduction

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The invention discloses an image processing method, equipment, a device and a readable storage medium, which can effectively reduce naked eye 3D display crosstalk of a preset display when the target composite image is displayed on the preset display by acquiring a crosstalk value of the preset display, drawing a crosstalk curve, acquiring transition position and left and right image information of a sample test image according to the crosstalk curve, adjusting the number and arrangement of the sample test image, acquiring target transition position and target left and right image information, determining a target transition image according to the target left and right image information, inserting the target transition image into the target transition position to obtain a target composite image.

Description

Image processing method, device, apparatus and readable storage medium
Technical Field
The present invention relates to the field of 3D display technologies, and in particular, to an image processing method, device, and apparatus, and a readable storage medium.
Background
Three-dimensional stereoscopic display is an attractive leading-edge science and technology field at present, wherein naked-eye 3D display adopts optical lenses or other methods, so that users can obtain the feeling of watching real scenery without wearing glasses, and the three-dimensional stereoscopic display can be widely applied to display fields of military affairs, advertisements, medicine, vehicles and the like. In the prior art, according to a user using scene, a left image and a right image with parallax are generally interlaced and displayed, and are transmitted to a left eye and a right eye of a viewer through lenses, so that a stereoscopic visual effect is obtained. The method can obtain higher resolution of a single image, but the lenses of the traditional naked eye 3D display are arranged in an inclined mode, the sub-pixels of the display screen are in a rectangular structure, left-right image crosstalk can be caused due to the inconsistency of the left-right image and the sub-pixels, namely, a part of the image which is to be transmitted to the left (right) eye is transmitted to the right (left) eye. Crosstalk affects the formation of stereoscopic vision, causing problems of glare, ghosting, blurring, etc.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide an image processing method, image processing equipment, an image processing device and a readable storage medium, and aims to solve the technical problem of crosstalk in naked-eye 3D display.
In order to achieve the above object, the present invention provides an image processing method including the steps of:
acquiring a crosstalk value of a preset display, and drawing a crosstalk curve according to the crosstalk value;
acquiring the transition position and left and right image information of the sample test image displayed by the preset display according to the crosstalk curve;
determining whether the sample test image needs to be adjusted or not according to the transition position and the left and right image information;
if the sample test image needs to be adjusted, adjusting the sample test image to obtain a target test image, and acquiring the target transition position and target left and right image information of the target test image;
and determining a target transition image according to the target left-right image information, and inserting the target transition image into the target transition position to obtain a first target composite image.
Optionally, the step of obtaining the transition position and the left-right graph information of the sample test image displayed by the preset display according to the crosstalk curve includes:
determining a transition point from the crosstalk curve according to a preset threshold;
determining a corresponding position of the transition point from the sample test image and marking the corresponding position as a transition position;
and acquiring left and right image information of the sample test image according to the transition position.
Optionally, the step of obtaining a crosstalk value of a preset display and drawing a crosstalk curve according to the crosstalk value includes:
carrying out crosstalk test on the preset display by using the sample test image to obtain a crosstalk test image;
drawing a brightness curve according to the crosstalk test chart;
and calculating a crosstalk value of the preset display according to the brightness curve, and drawing a crosstalk curve according to the crosstalk value.
Optionally, the step of obtaining a crosstalk value of a preset display and drawing a crosstalk curve according to the crosstalk value includes:
carrying out crosstalk test on the preset display by using the sample test image to obtain a crosstalk test image;
drawing a brightness curve according to the crosstalk test chart;
and calculating a crosstalk value of the preset display according to the brightness curve, and drawing a crosstalk curve according to the crosstalk value.
Optionally, the step of performing crosstalk test on the preset display by using the sample test image to obtain a crosstalk test image includes:
generating a composite image using the sample test image;
displaying the synthesized image by using the preset display to obtain a target display image;
and acquiring the target display images at different spatial positions to obtain a crosstalk test chart.
Optionally, the crosstalk test chart includes a crosstalk image and a crosstalk-affected image, and the step of drawing a luminance curve according to the crosstalk test chart includes:
separating a crosstalk image and a crosstalk image in the crosstalk test chart by using a preset light splitting component;
acquiring brightness values of the crosstalk image and the crosstalk image;
and drawing a brightness curve according to the brightness value.
Optionally, the left-right map information includes a left-right map number and a left-right map position, and the step of determining whether the sample test image needs to be adjusted according to the transition position and the left-right map information includes:
determining the number of left and right images and the positions of the left and right images in the left and right image information according to the transition position;
determining whether the quantity of the left and right images and the positions of the left and right images meet preset conditions;
and if not, adjusting the sample test image.
Optionally, the step of determining whether the sample test image needs to be adjusted according to the left and right image information includes:
if the sample test image does not need to be adjusted, determining an excessive image according to the left and right image information;
and inserting the transition image into the transition position to obtain a second target composite image.
Further, to achieve the above object, the present invention also provides an image processing apparatus comprising:
the measuring module is used for obtaining a crosstalk value of a preset display and drawing a crosstalk curve according to the crosstalk value;
the evaluation module is used for acquiring the transition position and the left and right image information of the sample test image displayed by the preset display according to the crosstalk curve;
the judging module is used for determining whether the sample test image needs to be adjusted or not according to the transition position and the left and right image information;
the adjusting module is used for adjusting the sample test image to obtain a target test image and acquiring the target transition position and the target left and right image information of the target test image if the sample test image needs to be adjusted;
and the display module is used for determining a target transition image according to the target left-right image information and inserting the target transition image into the target transition position to obtain a first target composite image.
Compared with the problems of ghost, blur and the like of images displayed by the existing naked eye 3D display, the image processing method, the equipment, the device and the readable storage medium provided by the embodiment of the invention have the advantages that the crosstalk value of the preset display is obtained, the crosstalk curve is drawn according to the crosstalk value, the excessive position and the left and right image information of a sample test image displayed by the preset display are obtained according to the crosstalk curve, whether the sample test image needs to be adjusted or not is determined according to the excessive position and the left and right image information, if so, the sample test image is adjusted to obtain a target test image, the target excessive position and the target left and right image information of the target test image are obtained, the excessive image is determined according to the target left and right image information, and the excessive image is inserted into the target excessive position, and obtaining a first target composite image, if the sample test image does not need to be adjusted, determining an excessive image according to the left and right image information, and inserting the excessive image into an excessive position. The crosstalk value of a preset display is measured, a crosstalk curve is drawn according to the crosstalk value, so that after the number and arrangement of left and right images in a sample test image are adjusted, a transition image is inserted into a transition position, the original left image or right image is replaced by the transition image fused by the left and right images, a target synthetic image is obtained, and when the target synthetic image is displayed on the preset display, the crosstalk of naked eye 3D display can be effectively reduced.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of an image processing method according to the present invention;
FIG. 3 is a detailed flowchart of step S10 in FIG. 2;
FIG. 4 is a luminance graph of a 9-way light field algorithm in a second embodiment of the present invention;
FIG. 5 is a cross-talk graph of a 9-way optical field algorithm in a second embodiment of the present invention;
FIG. 6 is a schematic diagram of an apparatus for image processing according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The axis motion configuration terminal (also called terminal, equipment or terminal equipment) in the embodiment of the invention can be a PC with a naked eye 3D display function, and can also be a mobile terminal equipment with a naked eye 3D display function, such as a smart phone, a tablet personal computer, a portable computer and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include programs of an operating system, a network communication module, a user interface module, and an image processing method therein.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a program of an image processing method stored in the memory 1005, which when executed by the processor, implements an operation in the image processing method provided by the following embodiments.
Based on the hardware structure of the device, the embodiment of the image processing method is provided.
Referring to fig. 2, a first embodiment of the present invention provides an image processing method including:
step S10, obtaining a crosstalk value of a preset display, and drawing a crosstalk curve according to the crosstalk value;
step S20, acquiring the transition position and left and right image information of the sample test image displayed by the preset display according to the crosstalk curve;
step S30, determining whether the sample test image needs to be adjusted according to the transition position and the left and right image information;
step S40, if the sample test image needs to be adjusted, the sample test image is adjusted to obtain a target test image, and the target transition position and the target left-right image information of the target test image are obtained;
step S50, determining a target transition image according to the target left-right image information, and inserting the target transition image into the target transition position to obtain a first target composite image.
Specifically, step S10, obtaining a crosstalk value of a preset display, and drawing a crosstalk curve according to the crosstalk value;
it should be noted that the present invention is applied to a display terminal having a naked-eye 3D display function, where the display terminal is provided with a display, such as a naked-eye 3D display, and the following description mainly takes a display having a naked-eye 3D display function (referred to as a 3D display for short) as an example. The preset display may be the 3D display, the crosstalk value obtained from the preset display may be obtained through a crosstalk test, and the crosstalk value may be in multiple paths, which is mainly described below by taking multiple paths as an example.
When synthesizing an image having a 3D display effect by using 2D images, at least 2 images are generally needed, which correspond to the viewing angles of the left and right eyes of a person, that is, a left image and a right image, respectively, when synthesizing the display image, a preset number of the left and right images are circularly and repeatedly arranged according to a certain rule, the position occupied by each left or right image when circularly and repeatedly arranged is called a way, and when arranging the left and right images, crosstalk generally exists, that is, an image which should be transmitted to the left (right) eye has a part to be transmitted to the right (left) eye. The crosstalk value is generally related to a parameter of a display terminal, and when the same 3D display composite image is displayed on different display terminals, the crosstalk value may be different, so that a crosstalk value of a preset display needs to be obtained first, and a crosstalk curve is drawn according to the crosstalk value, where the crosstalk curve may be a polygonal line, and an inflection point of each polygonal line corresponds to a crosstalk value of one path of image.
Step S20, acquiring the transition position and left and right image information of the sample test image displayed by the preset display according to the crosstalk curve;
the left-right map information includes the number of left-right maps and the positions of the left-right maps, i.e., the number of paths corresponding to the left-right maps. For example, a crosstalk value corresponding to an inflection point on the crosstalk curve is obtained according to the crosstalk curve, the multi-channel image is segmented according to the crosstalk value, the image displayed by the 3D display is generated by cyclically and repeatedly arranging the multi-channel images, taking 9-channel images as an example, the crosstalk curve may be a crosstalk value of a2 nd to 9 th channel image to a1 st channel image, if the 3 rd and 8 th channel images are transition positions, that is, if the 1 st to 9 th channel images are segmented by the 3 rd and 8 th channel images, the 4 th to 7 th channel images may be taken as a left image, the 1 st, 2 nd and 9 th channels may be taken as a right image, the segmentation positions, that is, the positions of the 3 rd and 8 th channels are positions where crosstalk needs to be reduced, and the places where crosstalk needs to be reduced are defined as a middle image, the sample test images should be arranged in a "right middle left-right" arrangement, so that the left-right image information can be obtained, the left and right graph information should be: the sample test image has four left images at the positions of the 4 th path to the 7 th path respectively, and has three right images at the positions of the 1 st path, the 2 nd path and the 9 th path respectively.
Step S30, determining whether the sample test image needs to be adjusted according to the transition position and the left and right image information;
the excessive position affects the left-right image information, that is, affects the number of left images and the positions of left-right images, and the excessive position is generated by crosstalk generated by a certain left image or right image in a sample test image, so the number and the position of the excessive position affect the left-right image information, and thus affect the arrangement of the sample test image, and therefore, after the excessive position and the left-right image information are determined, it is necessary to determine whether the sample test needs to be adjusted.
Determining whether the sample test image needs to be adjusted according to the transition position and the left-right map information, comprising steps A1-A3:
step A1, determining the number of left and right images and the positions of the left and right images in the left and right image information according to the transition position;
based on the excess position, the division point of the multi-path image can be determined, thereby determining left and right image information of the sample test image. Taking the above 9-path image as an example, if the 3 rd path image and the 8 th path image are at excessive positions, it can be determined that the 4 th path image to the 7 th path image are right images, and the 1 st path image, the 2 nd path image and the 9 th path image are right images.
Step A2, determining whether the number of the left and right images and the positions of the left and right images meet preset conditions;
the preset condition may be a left-right symmetry principle, that is, the arrangement and number of the left and right drawings in the left and right drawings are symmetric.
And step A3, if not, adjusting the sample test image.
If the left and right image information obtained after the transition position divides the multi-path images in the sample test image may be asymmetric, the sample test image needs to be adjusted. The sample test image is adjusted by using a super-multipath light field algorithm according to the left and right image information, for example, when the number of the left and right images is not equal, one path of image may be added or deleted according to a left-right symmetry principle, so that the proportion of the left and right images in the first target image is the same, taking the above 9 paths of images as an example, one path of left image may be deleted and then rearranged, and if the 9 th path of left image is deleted, the first target image is obtained after adjustment, that is, "right, middle, left, right, left, middle".
Step S40, if the sample test image needs to be adjusted, the sample test image is adjusted to obtain a target test image, and the target transition position and the target left-right image information of the target test image are obtained;
if the sample test image needs to be adjusted, a target test image is obtained after the sample test image is adjusted, and since the number of paths of the image is deleted or increased and rearrangement is performed when the sample test image is adjusted, the number and the position of the left and right images of the target test image will change, the left and right image information in the target test image is not necessarily the same as the left and right image information in the sample test image, and the excessive position and the left and right image information in the target test image, that is, the target excessive position and the target left and right image information, need to be obtained again.
Step S50, determining a target transition image according to the target left-right image information, and inserting the target transition image into the target transition position to obtain a first target composite image.
And determining an excessive image according to the target left and right image information, wherein the excessive image is an image which needs to be inserted into the target test image and corresponds to a dividing point which needs to reduce crosstalk, namely a middle path position, and after the sample test image is adjusted to obtain the target test image, the number of paths of the target test image, the target left and right image information, the number and the position of the excessive image and the like are determined.
Taking the target test image obtained by the 9 paths of sample test images as an example, the method for determining the target transition image according to the target left and right image information at least includes the following steps:
the first method is as follows: where (left image + right image)/2, there is a difference in pixel position between the left image and the right image due to a difference in the position of the shot (generally, the position in the horizontal direction), and the average value of the pixel values at the same position in the left image and the right image may be taken as the pixel value of the transition image at that position;
the second method comprises the following steps: the intermediate disparity map can be obtained by calculating absolute difference values of pixels at the same positions in the left image and the right image, and calculating the absolute difference values of the pixels at the same positions in the left image and the right image as the brightness values of the transition image, so as to obtain the intermediate disparity map, namely the transition image; the intermediate parallax image, i.e. the transition image, can also be obtained by correspondingly dividing the left image and the right image into a plurality of sub-regions, and determining the optimal gray information and brightness information of the corresponding region in the transition image by matching the gray information and brightness information in the sub-regions at the same positions in the left image and the right image;
the third method comprises the following steps: in the same manner as in the first embodiment, the average value of the pixel values at the same position in the intermediate disparity maps of the left map, the right map, and the left and right maps may be used as the pixel value of the transition image at the position;
the method is as follows: the arrangement order of the first target images, i.e. "right middle left" may be scaled up, e.g. "right middle right left" to1In2Left center2In1", and then calculated according to a formula, wherein12/3+ 1/3, middle2And (3) weighting the pixel values of the same position in the left graph and the right graph to obtain the pixel value of the transition image at the corresponding position, namely 1/3+ 2/3 of the left graph and the right graph, so as to obtain the transition image.
Inserting the transition image into the target transition position in the target test image, and changing the left image and the right image of the transition region into a fusion image of the left image and the right image, so as to reduce crosstalk between the left image and the right image of the transition region when synthesizing a 3D display image, and therefore when the obtained target synthetic image is displayed on the 3D display, the crosstalk of the 3D display can be reduced, if the transition image is obtained by the method in the fourth mode, increasing the number of paths can well solve the comb-shaped stripes of the transition region, but because increasing the number of paths can increase the calculation amount, a user can select a specific expanded proportion according to the calculation capacity of hardware equipment.
Adjusting the sample test image to obtain the target test image, wherein the transition position changes correspondingly due to the change of the left and right image information of the target test image, for example, taking a 9-path sample test image as an example, when the target transition image is obtained by the method in the fourth mode, the number of image paths changes from 9 paths to 16 paths, the transition position expands from two paths to four paths, and the position corresponding to the transition position changes from 3 rd path and 8 th path to 7 th path to 8 th path and from 15 th path to 16 th path, so that it is necessary to re-obtain the transition position in the target test image, i.e. the target transition position, and insert the target transition image into the target transition position to complement each path of image, for example, according to the method for obtaining the transition image in the fourth mode, obtain four transition images, and inserting the target transition image into the target transition position to obtain a first target composite image. When the first target synthesized image is displayed on the 3D display, a naked eye 3D effect may be presented.
Wherein, after the step S30, determining whether the sample test image needs to be adjusted according to the left and right image information, it comprises the steps S60-S70:
step S60, if the sample test image does not need to be adjusted, determining an excessive image according to the left and right image information;
and if the sample test image does not need to be adjusted according to the transition position and the left and right image information, namely the multi-path images in the sample test image are still in accordance with the preset conditions after being divided by the transition position, determining that the sample test image does not need to be adjusted, and determining the transition image according to the left and right image information by the method in the first mode to the fourth mode.
Step S70, inserting the transition image into the transition position to obtain a second target composite image.
If the sample test image does not need to be adjusted, the transition position and the left and right image information of the sample test image do not change, the transition image can be directly inserted into the transition position to obtain a second target synthetic image, and a naked eye 3D display effect can be presented when the second target image is displayed on the preset display.
In this embodiment, a crosstalk value of a preset display is obtained, a crosstalk curve is drawn according to the crosstalk value, an excessive position and left-right image information of a sample test image displayed by the preset display are obtained according to the crosstalk curve, whether the sample test image needs to be adjusted is determined according to the obtained information, if the sample test image needs to be adjusted, the sample test image is adjusted to obtain a target test image, a target excessive position and target left-right image information of the target test image are obtained, a target excessive image is determined according to the target left-right image information and is inserted into the target excessive position, a first target composite image is obtained, if the sample test image does not need to be adjusted, an excessive image is determined according to the left-right image information and is inserted into the excessive position, a second target composite image is obtained. The crosstalk value of a preset display is measured, a crosstalk curve is drawn according to the crosstalk value, so that after the number and arrangement of left and right images in a sample test image are adjusted, a transition image is inserted into a transition position to obtain a target synthetic image, and the original left image or right image is replaced by the transition image fused by the left and right images, therefore, when the target synthetic image is displayed on the preset display, the crosstalk of naked eye 3D display can be effectively reduced.
Further, referring to fig. 3, a second embodiment of the present invention provides a method for reducing display crosstalk, which is a refinement step of steps S10-S20 in the first embodiment based on the embodiment shown in fig. 2.
Specifically, step S10, acquiring a crosstalk value of a preset display, and drawing a crosstalk curve according to the crosstalk value, includes steps S11-S13:
step S11, carrying out crosstalk test on the preset display by using the sample test image to obtain a crosstalk test image;
and performing crosstalk test on the preset display by using the sample test image to obtain a crosstalk test chart of the preset display, so that a crosstalk value of the preset display can be determined. For example, also taking 9 paths of sample test images as an example, performing crosstalk test on the 3D display by using the sample test image to obtain a crosstalk test image of the 3D display, where the crosstalk test image is crosstalk of the 2 nd path to the 9 th path of image in the sample test images to the 1 st path of image, and according to the crosstalk test image, a crosstalk value of the 3D display may be further determined.
Step S11, using the sample test image to perform crosstalk test on the preset display to obtain a crosstalk test image, including steps B1-B3:
a step B1 of generating a composite image using the sample test image;
and carrying out classified transformation on pixels of the sample test image or carrying out spatial mapping transformation on the sample test image by using optical elements such as a lens, so as to generate a composite image which can be displayed on the 3D display, wherein the composite image has a naked-eye 3D effect when displayed on the 3D display.
Step B2, displaying the synthetic image by using the 3D display of the preset display to obtain a target display image;
and displaying the synthesized image on the 3D display to obtain a target display image, wherein the target display image is an image with a naked eye 3D effect.
And step B3, acquiring the target display images at different spatial positions to obtain a crosstalk test chart.
The target display image has an optimal observation position, and when an observer is in the optimal observation position, the target display image is seen to have the best display effect, but when the observer is in a non-optimal observation position, the target display image may have crosstalk, and when the observer moves, comb-shaped stripes may be observed to affect the observation effect. Therefore, the target display images at different spatial positions need to be acquired, which may be acquired according to a projection angle when the target display images are displayed, and the acquired target images at different spatial positions are the crosstalk test chart.
Step S12, drawing a brightness curve according to the crosstalk test chart;
according to the crosstalk test chart, the brightness information of each path of image in the target display image at different spatial positions can be obtained, and a brightness curve is drawn.
Step S12, drawing a brightness curve according to the crosstalk test chart, comprising the steps of C1-C3:
step C1, separating the crosstalk image and the crosstalk image in the crosstalk test chart by using a preset light splitting component;
the crosstalk test chart comprises a crosstalk image and a crosstalk image, a preset splitting component is utilized to separate the crosstalk image and the crosstalk image in the crosstalk test chart, the crosstalk test chart obtained according to the 9 paths of sample test images is taken as an example, the 1 st path image is the crosstalk image, the 2 nd path to the 8 th path images are the crosstalk images, and the crosstalk image are separated, namely, the paths of images are projected to different spatial directions to separate the paths of images so as to determine the brightness information of the paths of images, and therefore the crosstalk value is obtained.
Step C2, obtaining brightness values of the crosstalk image and the crosstalk-affected image;
after the images are separated, the brightness information of the images can be obtained, and the brightness information comprises brightness values.
And step C3, drawing a brightness curve according to the brightness value.
And drawing a brightness curve according to the brightness value of each path of image, as shown in fig. 4, taking a 9-path sample test image as an example, obtaining the crosstalk test image, and obtaining brightness information of the 9-path image at different spatial positions according to the crosstalk test image, so as to draw the brightness curve of the 9-path image in the crosstalk test image.
And step S13, calculating the crosstalk value of the preset display according to the brightness curve, and drawing a crosstalk curve according to the crosstalk value.
According to the brightness curve, calculating a crosstalk value of the preset display, and drawing a crosstalk curve according to the crosstalk value, wherein a calculation formula of the crosstalk value at a certain position in space may be (formula 1):
(n,1)=(YB1Wn-YB)/(YW1Bn-YB) (1)
taking the luminance curve shown in fig. 4 as an example, (n,1) represents crosstalk between the nth path and the 1 st path, YB1WnIs the brightness of the location when the other way is a black image and the n way is a white image, YB1WnWhen the 1-path is a white image and the other paths are black images, the luminance at the position is obtained, YB is the luminance at the position when all the paths are black images, so that the crosstalk value of the 2-path to the 9-path to the 1-path image can be calculated, the crosstalk value is calculated according to the luminance curve shown in fig. 4, and the crosstalk curve drawn according to the crosstalk value is shown in fig. 5.
In step S20, the obtaining of the transition position and the left-right map information of the sample test image displayed by the preset display according to the crosstalk curve includes steps D1-D3:
step D1, determining a transition point from the crosstalk curve according to a preset threshold;
the preset threshold value can be obtained according to experimental experience, and when the crosstalk value reaches a certain value, the naked eye 3D display effect of the image is the worst. According to the crosstalk curve and the preset threshold, a point at which the crosstalk value is closest to the preset threshold, that is, a transition point, can be determined, where the crosstalk value needs to be reduced due to excessive crosstalk, for example, as shown in fig. 5, a crosstalk curve may be determined, if the preset threshold is 10%, it may be determined that the crosstalk values of the 3 rd path and the 8 th path are closest to 10%, and the 3 rd path and the 8 th path are the transition point.
Step D2, determining a corresponding position of the transition point from the sample test image, and marking the corresponding position as a transition position;
and determining the corresponding position of the transition point in the sample test image, namely determining the position of the path of the image of the transition point, and then marking the path position as the transition position. As shown in the crosstalk curve of fig. 5, when the preset threshold is 10%, the positions corresponding to the 3 rd path and the 8 th path are the transition positions, and the positions of the 3 rd path image and the 8 th path image are determined from the sample test image and are marked as the transition positions.
According to the crosstalk curve, the excessive position of the sample test image can be determined, for example, the positions of the 3 rd path image and the 8 th path image are excessive positions, so that the position where crosstalk needs to be reduced can be determined.
And D3, acquiring left and right image information of the sample test image according to the transition position.
The transition position can divide the image to be displayed, and according to the transition position, the information of the left and right images can be determined, in the sample test image, in order to ensure that the observation effects of the left and right eyes of the observer are consistent, the left and right images are generally distributed in an equal amount and in bilateral symmetry, the transition position corresponds to the position occupied by the left image and the right image, therefore, the number of the transition positions determines the number of the left and right images, the transition position can also influence the positions of the left and right images, and therefore, according to the transition position, the left and right image information of the sample test image can be obtained.
In this embodiment, a crosstalk test is performed on the preset display by using the sample test image to obtain a crosstalk test image, a luminance curve is drawn according to the crosstalk test image, a crosstalk value of the preset display is calculated according to the luminance curve, a crosstalk curve is drawn according to the crosstalk value, and according to the crosstalk curve, an excessive position of the sample test image, that is, a position where crosstalk needs to be reduced, can be determined, so that the sample test image is adjusted according to the excessive position, and meanwhile, a target excessive position, that is, an insertion position of a target excessive image after the sample test image is adjusted is determined, so as to provide a condition for reducing crosstalk of 3D display.
Referring to fig. 6, a first embodiment of the present invention provides an image processing apparatus including:
the measuring module 10 is used for acquiring a crosstalk value of a preset display and drawing a crosstalk curve according to the crosstalk value;
the evaluation module 20 is configured to obtain the transition position and the left-right graph information of the sample test image displayed by the preset display according to the crosstalk curve;
a judging module 30, configured to determine whether the sample test image needs to be adjusted according to the transition position and the left and right image information;
the adjusting module 40 is configured to adjust the sample test image to obtain a target test image and obtain a target transition position and target left-right image information of the target test image if the sample test image needs to be adjusted;
and the display module 50 is configured to determine a target transition image according to the target left-right image information, and insert the target transition image into the target transition position to obtain a first target composite image.
Optionally, the measurement module 10 includes:
the first determining unit is used for determining a transition point from the crosstalk curve according to a preset threshold;
a marking unit, configured to determine a corresponding position of the transition point from the sample test image, and mark the corresponding position as the transition position;
and the first acquisition unit is used for acquiring left and right image information of the sample test image according to the transition position.
Optionally, the measurement module 10 further includes:
the testing unit is used for carrying out crosstalk testing on the preset display by utilizing the sample testing image to obtain a crosstalk testing image;
the first drawing unit is used for drawing a brightness curve according to the crosstalk test chart;
and the second drawing unit is used for calculating the crosstalk value of the preset display according to the brightness curve and drawing a crosstalk curve according to the crosstalk value.
Optionally, the test unit includes:
an image generation subunit configured to generate a composite image using the sample test image;
the display subunit is used for displaying the synthesized image by using the preset display to obtain a target display image;
and the first acquisition subunit is used for acquiring the target display images at different spatial positions to obtain a crosstalk test chart.
Optionally, the first drawing unit includes:
the sub-photon unit is used for separating a crosstalk image and a crosstalk image in the crosstalk test chart by utilizing a preset sub-photon component;
a second acquiring subunit, configured to acquire luminance values of the crosstalk image and the crosstalk-subjected image;
and the drawing subunit is used for drawing a brightness curve according to the brightness value.
Optionally, the determining module 30 includes:
a second determination unit, configured to determine, according to the transition position, the number of left and right maps and the position of the left and right maps in the left and right map information;
the judging unit is used for determining whether the quantity and the positions of the left and right images meet preset conditions;
and the adjusting unit is used for adjusting the sample test image if the number of the left and right images and the positions of the left and right images do not meet preset conditions.
Optionally, the image processing apparatus further includes:
a third determining unit, configured to determine an excessive image according to the left and right image information if the sample test image does not need to be adjusted;
and the display unit is used for inserting the transition image into the transition position to obtain a second target composite image.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An image processing method, characterized by comprising the steps of:
acquiring a crosstalk value of a preset display, and drawing a crosstalk curve according to the crosstalk value;
acquiring the transition position and left and right image information of the sample test image displayed by the preset display according to the crosstalk curve;
determining whether the sample test image needs to be adjusted or not according to the transition position and the left and right image information;
if the sample test image needs to be adjusted, adjusting the sample test image to obtain a target test image, and acquiring the target transition position and target left and right image information of the target test image;
and determining a target transition image according to the target left-right image information, and inserting the target transition image into the target transition position to obtain a first target composite image.
2. The imaging method according to claim 1, wherein the step of obtaining the excessive position and the left-right map information of the sample test image displayed by the preset display according to the crosstalk curve comprises:
determining a transition point from the crosstalk curve according to a preset threshold;
determining a corresponding position of the transition point from the sample test image and marking the corresponding position as a transition position;
and acquiring left and right image information of the sample test image according to the transition position.
3. The image processing method of claim 1, wherein the step of obtaining a crosstalk value of a preset display and drawing a crosstalk curve according to the crosstalk value comprises:
carrying out crosstalk test on the preset display by using the sample test image to obtain a crosstalk test image;
drawing a brightness curve according to the crosstalk test chart;
and calculating a crosstalk value of the preset display according to the brightness curve, and drawing a crosstalk curve according to the crosstalk value.
4. The image processing method of claim 3, wherein the step of performing a crosstalk test on the predetermined display by using the sample test image to obtain a crosstalk test image comprises:
generating a composite image using the sample test image;
displaying the synthesized image by using the preset display to obtain a target display image;
and acquiring the target display images at different spatial positions to obtain a crosstalk test chart.
5. The image processing method according to claim 3, wherein the crosstalk test chart includes a crosstalk image and a crosstalk image, and the step of drawing a luminance curve based on the crosstalk test chart includes:
separating a crosstalk image and a crosstalk image in the crosstalk test chart by using a preset light splitting component;
acquiring brightness values of the crosstalk image and the crosstalk image;
and drawing a brightness curve according to the brightness value.
6. The image processing method according to claim 1, wherein the left-right map information includes a left-right map number and a left-right map position, and the step of determining whether the sample test image needs to be adjusted based on the transition position and the left-right map information includes:
determining the number of left and right images and the positions of the left and right images in the left and right image information according to the transition position;
determining whether the quantity of the left and right images and the positions of the left and right images meet preset conditions;
and if not, adjusting the sample test image.
7. The image processing method of claim 1, wherein the step after determining whether the sample test image needs to be adjusted based on the left and right map information comprises:
if the sample test image does not need to be adjusted, determining an excessive image according to the left and right image information;
and inserting the transition image into the transition position to obtain a second target composite image.
8. An image processing apparatus, wherein the apparatus for reducing display crosstalk comprises:
the measuring module is used for obtaining a crosstalk value of a preset display and drawing a crosstalk curve according to the crosstalk value;
the evaluation module is used for acquiring the transition position and left-right image information of the sample test image displayed by the preset display according to the crosstalk curve;
the judging module is used for determining whether the sample test image needs to be adjusted or not according to the transition position and the left and right image information;
the adjusting module is used for adjusting the sample test image to obtain a target test image and acquiring the target transition position and the target left and right image information of the target test image if the sample test image needs to be adjusted;
and the display module is used for determining a target transition image according to the target left-right image information and inserting the target transition image into the target transition position to obtain a first target composite image.
9. An image processing apparatus, characterized in that the apparatus for reducing display crosstalk comprises: a memory, a processor and a program stored on the memory for implementing an image processing method, the processor being configured to execute the program for implementing the image processing method to implement the steps of the image processing method according to any one of claims 1 to 7.
10. A storage medium having stored thereon a program for implementing an image processing method, the program being executed by a processor to implement the steps of the image processing method according to any one of claims 1 to 7.
CN202011386557.5A 2020-11-30 2020-11-30 Image processing method, device, apparatus and readable storage medium Active CN112532964B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011386557.5A CN112532964B (en) 2020-11-30 2020-11-30 Image processing method, device, apparatus and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011386557.5A CN112532964B (en) 2020-11-30 2020-11-30 Image processing method, device, apparatus and readable storage medium

Publications (2)

Publication Number Publication Date
CN112532964A true CN112532964A (en) 2021-03-19
CN112532964B CN112532964B (en) 2023-01-20

Family

ID=74995962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011386557.5A Active CN112532964B (en) 2020-11-30 2020-11-30 Image processing method, device, apparatus and readable storage medium

Country Status (1)

Country Link
CN (1) CN112532964B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220075183A1 (en) * 2020-09-07 2022-03-10 Samsung Electronics Co., Ltd. Method and apparatus with crosstalk correction

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369335A (en) * 2012-04-03 2013-10-23 Lg电子株式会社 An image display apparatus and a method for operating the same
US20140022339A1 (en) * 2012-07-18 2014-01-23 Qualcomm Incorporated Crosstalk reduction in multiview video processing
CN103763540A (en) * 2014-01-08 2014-04-30 深圳超多维光电子有限公司 Three-dimensional display method and device
CN106028022A (en) * 2016-05-27 2016-10-12 京东方科技集团股份有限公司 Method and device for making three-dimensional image
CN106934792A (en) * 2015-12-30 2017-07-07 深圳超多维光电子有限公司 A kind of 3D effect detection method of display module, apparatus and system
CN207589060U (en) * 2017-05-08 2018-07-06 上海大学 A kind of naked-eye stereoscopic display device of combination visual fatigue detection
CN108881880A (en) * 2018-08-01 2018-11-23 上海玮舟微电子科技有限公司 Naked eye 3D display method, apparatus, equipment and storage medium based on tracing of human eye
CN109429056A (en) * 2017-07-05 2019-03-05 张艳红 A kind of 3D Grating Film is bonded method, apparatus and the mobile terminal of correction
WO2019080295A1 (en) * 2017-10-23 2019-05-02 上海玮舟微电子科技有限公司 Naked-eye 3d display method and control system based on eye tracking
CN110662012A (en) * 2019-09-18 2020-01-07 深圳市维超智能科技有限公司 Naked eye 3D display effect optimization drawing arranging method and system and electronic equipment
CN110708540A (en) * 2019-12-05 2020-01-17 深圳市新致维科技有限公司 Dynamic crosstalk test system and dynamic crosstalk test method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369335A (en) * 2012-04-03 2013-10-23 Lg电子株式会社 An image display apparatus and a method for operating the same
US20140022339A1 (en) * 2012-07-18 2014-01-23 Qualcomm Incorporated Crosstalk reduction in multiview video processing
CN103763540A (en) * 2014-01-08 2014-04-30 深圳超多维光电子有限公司 Three-dimensional display method and device
CN106934792A (en) * 2015-12-30 2017-07-07 深圳超多维光电子有限公司 A kind of 3D effect detection method of display module, apparatus and system
CN106028022A (en) * 2016-05-27 2016-10-12 京东方科技集团股份有限公司 Method and device for making three-dimensional image
CN207589060U (en) * 2017-05-08 2018-07-06 上海大学 A kind of naked-eye stereoscopic display device of combination visual fatigue detection
CN109429056A (en) * 2017-07-05 2019-03-05 张艳红 A kind of 3D Grating Film is bonded method, apparatus and the mobile terminal of correction
WO2019080295A1 (en) * 2017-10-23 2019-05-02 上海玮舟微电子科技有限公司 Naked-eye 3d display method and control system based on eye tracking
CN108881880A (en) * 2018-08-01 2018-11-23 上海玮舟微电子科技有限公司 Naked eye 3D display method, apparatus, equipment and storage medium based on tracing of human eye
CN110662012A (en) * 2019-09-18 2020-01-07 深圳市维超智能科技有限公司 Naked eye 3D display effect optimization drawing arranging method and system and electronic equipment
CN110708540A (en) * 2019-12-05 2020-01-17 深圳市新致维科技有限公司 Dynamic crosstalk test system and dynamic crosstalk test method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220075183A1 (en) * 2020-09-07 2022-03-10 Samsung Electronics Co., Ltd. Method and apparatus with crosstalk correction
US11719930B2 (en) * 2020-09-07 2023-08-08 Samsung Electronics Co., Ltd. Method and apparatus with crosstalk correction

Also Published As

Publication number Publication date
CN112532964B (en) 2023-01-20

Similar Documents

Publication Publication Date Title
KR100918294B1 (en) Stereoscopic image display unit, stereoscpic image displaying method and computer program
US10999412B2 (en) Sharing mediated reality content
US20120236133A1 (en) Producing enhanced images from anaglyph images
US10237539B2 (en) 3D display apparatus and control method thereof
CN108605148A (en) Video display system
CN108259883B (en) Image processing method, head-mounted display, and readable storage medium
US11050997B2 (en) Dynamic display system capable of generating images corresponding to positions of users
JP2015156607A (en) Image processing method, image processing apparatus, and electronic device
KR100795481B1 (en) Method and apparatus for processing multi-view images
US9760263B2 (en) Image processing device, image processing method, and stereoscopic image display device
KR102066058B1 (en) Method and device for correcting distortion errors due to accommodation effect in stereoscopic display
CN108076208B (en) Display processing method and device and terminal
US20130258066A1 (en) Information processor and information processing method
CN105611267B (en) Merging of real world and virtual world images based on depth and chrominance information
JP6585938B2 (en) Stereoscopic image depth conversion apparatus and program thereof
JP2011082829A (en) Image generation apparatus, image generation method, and program
KR20200056721A (en) Method and apparatus for measuring optical properties of augmented reality device
US9918066B2 (en) Methods and systems for producing a magnified 3D image
CN112532964B (en) Image processing method, device, apparatus and readable storage medium
CN111264057B (en) Information processing apparatus, information processing method, and recording medium
KR20140037301A (en) An apparatus for converting scales in three-dimensional images and the method thereof
US10152803B2 (en) Multiple view image display apparatus and disparity estimation method thereof
US20140362197A1 (en) Image processing device, image processing method, and stereoscopic image display device
JP5741353B2 (en) Image processing system, image processing method, and image processing program
JP2015149547A (en) Image processing method, image processing apparatus, and electronic apparatus

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