CN106657962A - Image processing method, image processing device, and electronic equipment used for naked eye three-dimensional display - Google Patents
Image processing method, image processing device, and electronic equipment used for naked eye three-dimensional display Download PDFInfo
- Publication number
- CN106657962A CN106657962A CN201510727173.8A CN201510727173A CN106657962A CN 106657962 A CN106657962 A CN 106657962A CN 201510727173 A CN201510727173 A CN 201510727173A CN 106657962 A CN106657962 A CN 106657962A
- Authority
- CN
- China
- Prior art keywords
- pixel
- edge
- vertical
- picture
- alpha values
- 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
Landscapes
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention provides an image processing method, an image processing device, and electronic equipment used for naked eye three-dimensional display. The image processing method comprises steps that an edge of a vertical object in a to-be-processed view is detected, and the vertical object is arranged in a vertical direction, or an included angle between the vertical object and the vertical direction is smaller than a preset angle; at least one column of edge pixels of the edge is extracted; according to a row pixel direction, the gradual transparency processing of the extracted at least one column of edge pixels is carried out to acquire the adjusted to-be-processed view. A sawtooth phenomenon in the naked eye three-dimensional display is relieved or eliminated, and viewing experience of users is improved.
Description
Technical field
The present invention relates to display technology field, and in particular to a kind of image procossing in bore hole stereoscopic display
Method, device and equipment.
Background technology
At this stage, bore hole 3D (Three-Dimensional, three-dimensional) Display Technique has been obtained for considerable sending out
Exhibition, using on mobile phone, handheld game machine, notebook etc. electronic equipment.The bore hole formula of current main flow
3D Display Techniques include optical barrier type (Barrier), lens pillar formula (Lenticular Lens) and point to light source
(Directional Backlight) formula etc., by being superimposed special liquid crystal display in regular display, passes through
The liquid crystal display to different directions refraction image, so as to the viewable pictures of left eye and right eye be separated so that use
Person watches 3D images.
At present, in using the 3D images shown by bore hole 3D Display Technique, the side of the vertical thing in image
Edge is it is possible that crenellated phenomena, this has had a strong impact on the experience of user.
The content of the invention
The embodiment of the present invention technical problem to be solved is to provide a kind of image in bore hole stereoscopic display
Processing method, device and equipment, crenellated phenomena when bore hole 3D shows effectively is mitigated or eliminated, change
The experience of kind user.
To solve above-mentioned technical problem, a kind of image for bore hole stereoscopic display is embodiments provided
Processing method, including:
Detect the edge of the vertical thing in pending view, wherein, the vertical thing in vertical direction or with it is perpendicular
Straight angular separation is less than predetermined angular;
Extract an at least column border pixel at the edge;
According to row pixel orientation, gradual change transparent processing is carried out to an at least column border pixel of the extraction, obtained
Pending view to after adjustment.
Optionally, it is described before the edge of the vertical thing in the pending view of the detection in said method
Method also includes:
The vertical thing in pending view is recognized using image recognition technology;
The edge for detecting the vertical thing in pending view includes:Detect the side of the vertical thing of the identification
Edge.
Optionally, in said method, the edge for detecting the vertical thing in pending view includes:
By way of traveling through the corresponding view data of the vertical thing, the edge of the vertical thing is detected.
Optionally, in said method, the edge pixel of the extraction is including at least two row;
It is described according to row pixel orientation, gradual change transparent processing is carried out to an at least column border pixel of the extraction
The step of include:
According to row pixel orientation, for the multiple pixels in an at least column border pixel with a line, gradually
The transparency of the plurality of pixel is increased or decreased, so that the transparency of the plurality of pixel is along the vertical thing
Edge to the vertical thing inside direction be gradually reduced.
Optionally, in said method, the transparency for gradually increasing or decreasing the plurality of pixel includes:
The Alpha values of the Alpha passages of each pixel in by arranging the plurality of pixel, and according to row picture
Plain direction, gradually increases or decreases the Alpha values of each pixel, gradually to increase or decrease transparency.
Optionally, in said method, it is described gradually increase or decrease each pixel Alpha values the step of wrap
Include:
When the Alpha values of each pixel are gradually increased, first pixel in the plurality of pixel of setting
Alpha values are opaque corresponding first value, and according to identical step-length, gradually increase the Alpha of each pixel
Value, until the Alpha values of last pixel in the plurality of pixel are set to into all-transparent corresponding the
Two-value;
When the Alpha values of each pixel are gradually decreased, first pixel in the plurality of pixel of setting
Alpha values are the second value, and according to identical step-length, gradually decrease the Alpha values of each pixel, directly
Extremely the Alpha values of last pixel in the plurality of pixel are set to into first value;
Wherein, the plurality of pixel is N number of, the step-length=(second value-first value)/(N-1).
Optionally, in said method, after the pending view after being adjusted, methods described also includes:
Pending view Overlapping display after by the adjustment is on stereo-picture;
And/or
Pending view after by the adjustment is superimposed upon on the first picture to form view to be imaged;
According to the view to be imaged, stereo-picture is formed and shown;
And/or
Pending view after according to the adjustment, forms and shows stereo-picture.
Optionally, in said method, the pending view includes plane control.
The embodiment of the present invention additionally provides a kind of image processing apparatus for bore hole stereoscopic display, including:
Edge detection unit, for detecting pending view in vertical thing edge, wherein, it is described vertical
Thing is less than predetermined angular in vertical direction or with vertical direction angle;
Pixel extraction unit, for extracting an at least column border pixel at the edge;
Gradual change processing unit, for according to row pixel orientation, entering to an at least column border pixel of the extraction
Row gradual change transparent processing, the pending view after being adjusted.
Optionally, in said apparatus, the edge pixel of the extraction is including at least two row;
The gradual change processing unit, specifically for according to row pixel orientation, for an at least column border picture
With multiple pixels of a line in element, the transparency of the plurality of pixel is gradually increased or decreased, so that described many
Direction of the transparency of individual pixel inside the edge of the vertical thing to the vertical thing is gradually reduced.
Optionally, in said apparatus, the gradual change processing unit includes:
Setting unit, for by the Alpha of the Alpha passages of each pixel in the plurality of pixel of setting
Value, and according to row pixel orientation, gradually increases or decreases the Alpha values of each pixel, gradually increasing or
Reduce transparency.
Optionally, in said apparatus, the setting unit includes:
First processing units, for when the Alpha values of each pixel are gradually increased, arranging the plurality of picture
The Alpha values of first pixel in element are opaque corresponding first value, and according to identical step-length, gradually
Increase the Alpha values of each pixel, until by the Alpha values of last pixel in the plurality of pixel
It is set to the corresponding second value of all-transparent;
Second processing unit, for when the Alpha values of each pixel are gradually decreased, arranging the plurality of picture
The Alpha values of first pixel in element are the second value, and according to identical step-length, gradually decrease each
The Alpha values of pixel, until the Alpha values of last pixel in the plurality of pixel are set to into institute
State the first value;
Wherein, the plurality of pixel is N number of, the step-length=(second value-first value)/(N-1).
Optionally, in said apparatus, also include:
Display processing unit, after the pending view after the gradual change processing unit is adjusted:
Pending view Overlapping display after by the adjustment is on stereo-picture;
And/or
Pending view after by the adjustment is superimposed upon on the first picture to form view to be imaged;
According to the view to be imaged, stereo-picture is formed and shown;
And/or
Pending view after according to the adjustment, forms and shows stereo-picture.
The embodiment of the present invention additionally provides a kind of electronic equipment for bore hole stereoscopic display, including:
Housing, processor, memory, display screen, circuit board and power circuit, wherein, circuit board peace
The interior volume surrounded in housing is put, processor and memory are arranged on circuit boards;Power circuit, is used for
Each circuit or device for electronic equipment is powered;Memory is used to store executable program code;Processor
Journey corresponding with executable program code is run by the executable program code stored in reading memory
Sequence, for performing following steps:
Detect the edge of the vertical thing in pending view, wherein, the vertical thing in vertical direction or with it is perpendicular
Straight angular separation is less than predetermined angular;
Extract an at least column border pixel at the edge;
According to row pixel orientation, gradual change transparent processing is carried out to an at least column border pixel of the extraction, obtained
Pending view to after adjustment.
Compared with prior art, the image processing method in bore hole stereoscopic display provided in an embodiment of the present invention
Method, device and equipment, by the edge of the vertical thing in the pending image of detection, and it is saturating to carry out gradual change to it
Daylight is managed, and the crenellated phenomena in bore hole stereoscopic display can be mitigated or eliminated, and improves the viewing experience of user.
Description of the drawings
Fig. 1 is the schematic flow sheet of the image processing method of bore hole stereoscopic display provided in an embodiment of the present invention;
Fig. 2A is the schematic diagram of a pending view in the embodiment of the present invention;
Fig. 2 B are the example of the stereo-picture formed without the image processing method process of the embodiment of the present invention
Figure;
Fig. 2 C are the effect of the stereo-picture formed after the image processing method of the embodiment of the present invention is processed
Schematic diagram;
Fig. 3 is a kind of image processing method in bore hole stereoscopic display provided in an embodiment of the present invention
Schematic flow sheet;
Fig. 4 is the structural representation of the image processing apparatus of bore hole stereoscopic display provided in an embodiment of the present invention.
Specific embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with attached
Figure and specific embodiment are described in detail.
<Embodiment one>
Bore hole 3D Display Technique sometimes occurs crenellated phenomena, so as to have a strong impact on the use body of user
Test.It has been investigated that, when the vertical object of display or vertical lines are occurred in above-mentioned crenellated phenomena more.For
Above-mentioned crenellated phenomena is effectively mitigated or eliminated, improves the bore hole stereos copic viewing experience of user, the present invention is implemented
Example provides a kind of image processing method in bore hole stereoscopic display, refer to Fig. 1, and the present invention is implemented
The image processing method that example is provided, including:
Step 11, detects the edge of the vertical thing in pending view.
Wherein, the vertical thing in pending view is in integrally a linear, can be in vertical direction, it is also possible to
Predetermined angular is less than with vertical direction angle, the predetermined angular can be the arbitrarily angled of 0-45 degree, preferably
For 1-10 degree.Specifically, the vertical thing includes the vertical edge of the various objects in view, and two are put down
Vertical intersection between face, is presented vertical border of interactive interface of rectangular configuration etc..
Generally, in the 3 d image, the lines or thread of vertical direction (i.e. parallel with row pixel orientation)
Or crenellated phenomena is susceptible to the lines or thread of the less near vertical of vertical direction angle, this
These lines or thread are referred to as into vertical thing in bright embodiment, therefore in this step, detect that these are erected
Shape thing is processed so as to these vertical things are carried out with follow-up antialiasing, to improve crenellated phenomena.
In this step, specifically, can be traveling through the corresponding view data of the vertical thing by way of, inspection
Measure the edge of the vertical thing.The number such as edge and pixel value of inside of the vertical thing due to vertical thing
According to being different, therefore, by traveling through view data, it is possible to find the edge of vertical thing, the edge
Border can be referred to as, between vertical thing and the image section adjacent with vertical thing.It is understood that
The embodiment of the present invention is not limited for the edge for how detecting vertical thing, and those skilled in the art can appoint
Meaning selects suitable mode.Step 12, extracts an at least column border pixel at the edge.
It is understood that the edge of vertical thing generally have certain pixel wide, that is, include a row with
On row pixel.The embodiment of the present invention carries out pixel extraction to the edge of vertical thing, extracts the edge corresponding
The pixel of at least one row.For example, when 10 column border pixel is extracted, the pixel width of edge pixel now
Spend for 10, i.e., often row pixel there are 10.
Specifically, the pixel columns for being extracted can be set in advance, such as 10-20 row pixel, also may be used
With the subject according to belonging to the pixel wide of vertical thing itself, the size of pending view and vertical thing
Size in the pending view etc. needs the pixel columns of extraction to determine.For example, in vertical thing certainly
There is larger pixel wide when the pixel wide of body is larger, in the subject belonging to vertical thing and/or treat
When process view has larger pixel wide, the edge pixel of more columns can be extracted.
By taking the view 20 shown in Fig. 2A as an example, the subject 21 and 22 of two columns is which includes,
Wherein, subject 21 has the vertical thing 211 and 212 on vertical direction, and subject 22 then has
Vertical thing 221 and 222.Because the elemental area of object 22 is more than object 21, therefore the He of vertical thing 221
222 pixel wide can be more than the pixel wide of vertical thing 211 and 212.Such as, the He of vertical thing 221
222 pixel wide can be 20 pixels, and the pixel wide of vertical thing 211 and 212 can be then
10 pixels.Certainly, the pixel wide at the edge of the vertical thing for being extracted can not be wide.Here
It is to illustrate and simplify subsequent clearization for convenience to process, is illustrated as a example by wide.
It should be noted that the unilateral edge that the edge that step 11 is detected can be vertical thing can also be
The double-side-edge of vertical thing, accordingly, the pixel that step 12 is extracted can be the pixel at unilateral edge or
Person is the pixel that double-side-edge often surveys edge.
Step 13, according to row pixel orientation, carries out gradual change saturating at least column border pixel of the extraction
Daylight is managed, the pending view after being adjusted.
Here, in above-mentioned steps 13, according to row pixel orientation, to often going in the edge pixel that extracted
Multiple pixels, carry out gradual change Vitrification management.For example, when extracting at least two column border pictures in step 12
When plain, gradual change transparent processing mode can be according to row pixel orientation, for an at least column border pixel
In with a line multiple pixels, the transparency of the plurality of pixel is gradually increased or decreased, so that the plurality of
Direction of the transparency of pixel inside the edge of the vertical thing to the vertical thing is gradually reduced.
Specifically, the embodiment of the present invention can be led to by the Alpha of each pixel in the plurality of pixel of setting
The Alpha values in road, and according to row pixel orientation, the Alpha values of each pixel are gradually increased or decreased, with
Gradually increase or decrease transparency.
For example, when wishing gradually to increase the Alpha values of each pixel, during the plurality of pixel can be set
The Alpha values of first pixel be opaque corresponding first value, and according to identical step-length, gradually increase
The Alpha values of each pixel, until the Alpha values of last pixel in the plurality of pixel are arranged
For the corresponding second value of all-transparent;
When the Alpha values for gradually decreasing each pixel are wished, first in the plurality of pixel can be set
The Alpha values of individual pixel are the second value, and according to identical step-length, gradually decrease the Alpha of each pixel
Value, until the Alpha values of last pixel in the plurality of pixel are set to into first value;
Specifically, when the edge pixel columns for extracting is for N number of, the step-length=(second value-described the
One value)/(N-1).
Above citing is adjusted with identical step-length (unique step), can be walked according to not waiting in practical application
Length is adjusted, it is only necessary to ensure that the often row pixel after adjustment is to meet the original for gradually increasing or decreasing transparency
Then.
By above step, the pending view after the adjustment that the embodiment of the present invention is obtained is being applied to subsequently
Bore hole stereoscopic display when, for example, as the left-eye view and/or right-eye view of bore hole stereoscopic display, can
So that crenellated phenomena is effectively mitigated or eliminated, so as to improve the viewing experience of user.
In being embodied as, before the edge that step 11 detects the vertical thing in pending view, the present embodiment
Image processing method the step of may also include the vertical thing in the pending view of identification, so, in step
The edge of the vertical thing for being recognized is detected in 11.Specifically, it is possible to use image recognition technology identifies perpendicular
Shape thing, for example, can pre-set the property data base of vertical thing, using the mode of Data Matching, treat
Process in view and find vertical thing, be not detailed here.The present invention to how to recognize that vertical thing is not limited,
Those skilled in the art can arbitrarily select.
Further, after the pending view after step 13 is adjusted, the image procossing of the present embodiment
Next method can also include:
Pending view Overlapping display after by the adjustment is on stereo-picture.
For example, the view is rectangular-shaped, and vertical edge have passed through the process of above-mentioned steps as vertical thing, is folded
Plus be displayed on the positions such as the stereo-picture upper left corner, position does not limit, because the vertical edge of the view have passed through
Process, therefore, when Overlapping display is on stereo-picture, the crenellated phenomena of vertical edge can obtain compared with
Good improvement.
Further, after the pending view after step 13 is adjusted, the image procossing of the present embodiment
Next method can also include:
Pending view after by the adjustment is superimposed upon on the first picture to form view to be imaged;According to institute
View to be imaged is stated, stereo-picture is formed and show.
Pending view after i.e. using adjustment forms the view for three-dimensional imaging, such as left-eye view or the right side
Eye view, for example, forms left-eye view or right-eye view by pending view and background picture are superimposed,
Then, three-dimensional imaging is carried out using right and left eye view.
Further, after the pending view after step 13 is adjusted, the image procossing of the present embodiment
Next method can also include:
Pending view after according to the adjustment, forms and shows stereo-picture.
The pending imaging view directly as three-dimensional imaging after will adjusting, such as left-eye view or the right side
Eye view, then, using right and left eye view three-dimensional imaging is carried out.
<Embodiment two>
Refer to Fig. 3, a kind of image processing method in bore hole stereoscopic display provided in an embodiment of the present invention
Method, comprises the following steps:
Step 31, using image recognition technology the vertical thing in pending view is recognized, wherein, it is described perpendicular
Shape thing is less than predetermined angular in vertical direction or with vertical direction angle.
Various existing image recognition technologys can be adopted, for example, the mode such as default image template matching,
The vertical thing in pending view is identified, here is omitted.
In pending view, colour contrast, example are generally there is between vertical thing and its surrounding image segments
Such as, vertical thing can be calculated with its peripheral part in color space according to various existing Colorimetry formula
The distance between, when distance is more than predetermined threshold, it is believed that vertical thing has color with its surrounding image segments
Contrast, so as to identify vertical thing, here is omitted.
Step 32, detects the edge of the vertical thing in pending view.
Here it is possible to pass through to travel through the corresponding view data of the vertical thing, the edge of the vertical thing is detected.
In the case of one kind, pending view can include the second picture for being superimposed upon on the first picture, the
One picture is usually light background, and second picture is usually dark prospect, second picture can include control and
/ or scene picture.Because the first picture is different with the color depth of second picture, what is formed during superposition hangs down
Straight line easily produces crenellated phenomena when three-dimensional imaging is carried out, for this vertical thing of above-mentioned vertical line, due to
The location comparison of vertical line clearly, therefore, it can the image recognition without above-mentioned steps 31, but directly
Connecing is carried out the rim detection of vertical thing by step 32, for example, detects the vertical edge of second picture, you can
Obtain a kind of edge of vertical thing.
In the case of one kind, there is vertical line or column can cause in the above-mentioned second picture scene of itself
Sawtooth, in this case, can pass through the image recognition of above-mentioned steps 31, find the vertical thing in scene,
The edge of vertical thing is further detected in the step 32, carries out ensuing process.
Step 33, extracts an at least column border pixel at the edge, for example, extracts the side of the two row above
Edge pixel.
Step 34, according to row pixel orientation, carries out gradual change saturating at least column border pixel of the extraction
Daylight is managed, the pending view after being adjusted.
Here, specific transparent processing mode may be referred to embodiment one, and here is omitted.
Step 35, based on the adjustment after pending view, show corresponding stereo-picture.
Here, after the pending view after being adjusted in step 34, in this step, the present invention is implemented
Example can in such a way in one or more showing corresponding solid figure:
Mode one:Pending view Overlapping display after by the adjustment is on stereo-picture.Here, it is described
Pending view can generally include plane (2D) control in stereoscopic display.
Mode two:Pending view after by the adjustment is superimposed upon on the first picture to form view to be imaged;
According to the view to be imaged, stereo-picture is formed and shown.
Mode three:Pending view after according to the adjustment, forms and shows stereo-picture.
In aforesaid way one, directly by adjustment after pending view Overlapping display on stereo-picture.On
Stating mode two can be superimposed with the first picture by the view to be imaged, forms the picture after superposition as a left side
Eye view and/or right-eye view, and then form and show stereo-picture.Aforesaid way three can be then by institute
The pending view after adjustment is stated directly as left-eye view and/or right-eye view, and then is formed and is shown vertical
Body image.Because the antialiasing for before step 35, having already been through step 31-34 is processed, therefore
Crenellated phenomena will be eliminated or improve during stereoscopic display, so as to improve the viewing experience of user.
Fig. 2A is still combined below, and above-mentioned steps 31-34 of the embodiment of the present invention are made more specifically
It is bright:
Stereo-picture 20 includes the picture 24 and the two dimension that is superimposed upon on background picture 24 as background
(2D) control 23,2D controls 23 have vertical thing 231 and 232.Assume subject 21 and 22
It is to be superimposed upon the foreground picture on background picture 24, it is vertical thing that subject 21 has vertical edge
211 and 212, it is vertical thing 221 and 222 that subject 22 has vertical edge.For the foreground picture
In vertical thing and 2D controls 23 edge 231 and 232, at the method described in the present embodiment
Reason, using image recognition technology, to foreground picture in vertical thing be identified, detect vertical thing therein,
And detect the edge of vertical thing.Certainly the edge 231 and 232 of 2D controls 23 is directed to because position is bright
Really, it may be unnecessary to carry out image recognition.Behind the edge for obtaining vertical thing, edge corresponding at least is extracted
Column border pixel, then for multiple pixels that same a line is belonged in the edge pixel that extracts, to carry out gradual change saturating
Manage daylight.
Here it is possible to using a kind of processing mode for increasing transparency be:Each picture in often row pixel is set
The Alpha values of the Alpha passages of element, make first pixel in the often row pixel be opaque, and according to
The secondary transparency for increasing each pixel, until last pixel is all-transparent.For example, can arrange adjacent
Alpha differences between pixel are equal difference, for example, it is assumed that often row pixel has N number of, Alpha value value models
Enclose for 0~255, it is assumed that 0 represents opaque, and 255 represent all-transparent, then the Alpha values of ith pixel
For:(i-1)*255/(N-1).Certainly, here can not also be by the way of equal difference be arranged, it is only necessary to make every
Row pixel transparent degree gradually increases according to the edge direction for being intended to vertical thing.
Vertical thing described in the embodiment of the present invention, can be due to dark foreground picture and light background picture
What superposition was formed, can be able to be picture due to showing that 2D controls are formed on stereo-picture
Scene various objects (such as vertical curve, strip columnar object etc.) introduce, the embodiment of the present invention provide
Method these vertical things can be processed, and then effectively eliminate or mitigate the saw that the vertical thing is brought
Tooth phenomenon.
Fig. 2 B and Fig. 2 C is not used and using formation after the image processing method process of the embodiment of the present invention
The contrast picture of stereo-picture.In stereo-picture as shown in Figure 2 B, the imaging for forming the stereo-picture is regarded
Figure is by background picture and at least one foreground picture superposition is produced, and the vertical thing in ellipse circle is one
The background picture superposition of dark foreground picture and light color is introduced, as shown in Figure 2 B, the vertical thing institute
The crenellated phenomena of generation is clearly.The method provided using the embodiment of the present invention is carried out to the foreground picture
After process, Fig. 2 C are then further provided using the display effect after the process of embodiment of the present invention methods described
Schematic diagram, as shown in Figure 2 C, it can be seen that the crenellated phenomena in ellipse circle has obtained obvious elimination,
The edge of vertical thing seems smooth, so as to improve display effect.
<Embodiment three>
Fig. 4 is refer to, the embodiment of the present invention further provides the image to above-described embodiment methods described
Processing meanss, as shown in figure 4, the image processing apparatus in bore hole stereoscopic display provided in an embodiment of the present invention,
Including:
Edge detection unit 41, for detecting pending view in vertical thing edge, wherein, it is described
Vertical thing is less than predetermined angular in vertical direction or with vertical direction angle;
Pixel extraction unit 42, for extracting an at least column border pixel at the edge;
Gradual change processing unit 43, for according to row pixel orientation, at least column border picture to the extraction
Element carries out gradual change transparent processing, the pending view after being adjusted.
Here, above-mentioned image processing apparatus can also include:
Image identification unit, for recognizing the vertical thing in pending view using image recognition technology.
The edge detection unit 41, can be traveling through the corresponding view data of the vertical thing by way of,
Detect the edge of the vertical thing.
Here, the edge pixel of the extraction includes that at least two arrange, the gradual change processing unit 43, specifically
For according to row pixel orientation, for the multiple pixels in an at least column border pixel with a line, gradually
The transparency of the plurality of pixel is increased or decreased, so that the transparency of the plurality of pixel is along the vertical thing
Edge to the vertical thing inside direction be gradually reduced.
The embodiment of the present invention can adjust transparency by arranging the Alpha values of Alpha passages.Now,
The gradual change processing unit 43 includes:Setting unit, for by each picture in the plurality of pixel of setting
The Alpha values of the Alpha passages of element, and according to row pixel orientation, gradually increase or decrease each pixel
Alpha values, gradually to increase or decrease transparency.
Specifically, the setting unit includes:
First processing units, for when the Alpha values of each pixel are gradually increased, arranging the plurality of picture
The Alpha values of first pixel in element are opaque corresponding first value, and according to identical step-length, gradually
Increase the Alpha values of each pixel, until by the Alpha values of last pixel in the plurality of pixel
It is set to the corresponding second value of all-transparent;
Second processing unit, for when the Alpha values of each pixel are gradually decreased, arranging the plurality of picture
The Alpha values of first pixel in element are the second value, and according to identical step-length, gradually decrease each
The Alpha values of pixel, until the Alpha values of last pixel in the plurality of pixel are set to into institute
State the first value;
Wherein, the plurality of pixel is N number of, the step-length=(second value-first value)/(N-1).
In order to further carry out stereoscopic display, above-mentioned image processing apparatus can also include:
Display processing unit, after the pending view after the gradual change processing unit is adjusted:
On stereo-picture, the pending view includes pending view Overlapping display after by the adjustment
Foreground picture and/or plane control;
And/or
Pending view after by the adjustment is superimposed upon on the first picture to form view to be imaged;
According to the view to be imaged, stereo-picture is formed and shown;
And/or
Pending view after according to the adjustment, forms and shows stereo-picture.
Finally, the embodiment of the present invention additionally provides a kind of electronics based on lens pillar formula bore hole stereoscopic display and sets
Standby, the equipment includes:
Housing, processor, memory, display screen, circuit board and power circuit, wherein, circuit board peace
The interior volume surrounded in housing is put, processor and memory are arranged on circuit boards;Power circuit, is used for
Each circuit or device for electronic equipment is powered;Memory is used to store executable program code;Processor
Journey corresponding with executable program code is run by the executable program code stored in reading memory
Sequence, for performing following steps:
Detect the edge of the vertical thing in pending view, wherein, the vertical thing in vertical direction or with it is perpendicular
Straight angular separation is less than predetermined angular;
Extract an at least column border pixel at the edge;
According to row pixel orientation, gradual change transparent processing is carried out to an at least column border pixel of the extraction, obtained
Pending view to after adjustment.
To sum up, in bore hole stereoscopic display provided in an embodiment of the present invention image processing method, device and equipment,
Vertical thing edge in by detecting pending image, and gradual change transparent processing is carried out to it, can mitigate or
The crenellated phenomena in bore hole stereoscopic display is eliminated, improves the viewing experience of user.
The above is the preferred embodiment of the present invention, it is noted that for the common skill of the art
For art personnel, on the premise of without departing from principle of the present invention, some improvements and modifications can also be made,
These improvements and modifications also should be regarded as protection scope of the present invention.
Claims (14)
1. a kind of image processing method for bore hole stereoscopic display, it is characterised in that include:
Detect the edge of the vertical thing in pending view, wherein, the vertical thing in vertical direction or with it is perpendicular
Straight angular separation is less than predetermined angular;
Extract an at least column border pixel at the edge;
According to row pixel orientation, gradual change transparent processing is carried out to an at least column border pixel of the extraction, obtained
Pending view to after adjustment.
2. the method for claim 1, it is characterised in that in the pending view of the detection
Before the edge of vertical thing, methods described also includes:
The vertical thing in pending view is recognized using image recognition technology;
The edge for detecting the vertical thing in pending view includes:Detect the side of the vertical thing of the identification
Edge.
3. the method for claim 1, it is characterised in that perpendicular in the pending view of the detection
The edge of shape thing includes:
By way of traveling through the corresponding view data of the vertical thing, the edge of the vertical thing is detected.
4. the method as described in any one of claims 1 to 3, it is characterised in that
The edge pixel of the extraction includes at least two row;
It is described according to row pixel orientation, gradual change transparent processing is carried out to an at least column border pixel of the extraction
The step of include:
According to row pixel orientation, for the multiple pixels in an at least column border pixel with a line, gradually
The transparency of the plurality of pixel is increased or decreased, so that the transparency of the plurality of pixel is along the vertical thing
Edge to the vertical thing inside direction be gradually reduced.
5. method as claimed in claim 4, it is characterised in that
The transparency for gradually increasing or decreasing the plurality of pixel includes:
The Alpha values of the Alpha passages of each pixel in by arranging the plurality of pixel, and according to row picture
Plain direction, gradually increases or decreases the Alpha values of each pixel, gradually to increase or decrease transparency.
6. method as claimed in claim 5, it is characterised in that
It is described gradually increase or decrease each pixel Alpha values the step of include:
When the Alpha values of each pixel are gradually increased, first pixel in the plurality of pixel of setting
Alpha values are opaque corresponding first value, and according to identical step-length, gradually increase the Alpha of each pixel
Value, until the Alpha values of last pixel in the plurality of pixel are set to into all-transparent corresponding the
Two-value;
When the Alpha values of each pixel are gradually decreased, first pixel in the plurality of pixel of setting
Alpha values are the second value, and according to identical step-length, gradually decrease the Alpha values of each pixel, directly
Extremely the Alpha values of last pixel in the plurality of pixel are set to into first value;
Wherein, the plurality of pixel is N number of, the step-length=(second value-first value)/(N-1).
7. the method for claim 1, it is characterised in that the pending view after being adjusted
Afterwards, methods described also includes:
Pending view Overlapping display after by the adjustment is on stereo-picture;
And/or
Pending view after by the adjustment is superimposed upon on the first picture to form view to be imaged;
According to the view to be imaged, stereo-picture is formed and shown;
And/or
Pending view after according to the adjustment, forms and shows stereo-picture.
8. method as claimed in claim 7, it is characterised in that the pending view includes plane control
Part.
9. a kind of image processing apparatus for bore hole stereoscopic display, it is characterised in that include:
Edge detection unit, for detecting pending view in vertical thing edge, wherein, it is described vertical
Thing is less than predetermined angular in vertical direction or with vertical direction angle;
Pixel extraction unit, for extracting an at least column border pixel at the edge;
Gradual change processing unit, for according to row pixel orientation, entering to an at least column border pixel of the extraction
Row gradual change transparent processing, the pending view after being adjusted.
10. image processing apparatus as claimed in claim 9, it is characterised in that
The edge pixel of the extraction includes at least two row;
The gradual change processing unit, specifically for according to row pixel orientation, for an at least column border picture
With multiple pixels of a line in element, the transparency of the plurality of pixel is gradually increased or decreased, so that described many
Direction of the transparency of individual pixel inside the edge of the vertical thing to the vertical thing is gradually reduced.
11. image processing apparatus as claimed in claim 10, it is characterised in that
The gradual change processing unit includes:
Setting unit, for by the Alpha of the Alpha passages of each pixel in the plurality of pixel of setting
Value, and according to row pixel orientation, gradually increases or decreases the Alpha values of each pixel, gradually increasing or
Reduce transparency.
12. image processing apparatus as claimed in claim 11, it is characterised in that the setting unit bag
Include:
First processing units, for when the Alpha values of each pixel are gradually increased, arranging the plurality of picture
The Alpha values of first pixel in element are opaque corresponding first value, and according to identical step-length, gradually
Increase the Alpha values of each pixel, until by the Alpha values of last pixel in the plurality of pixel
It is set to the corresponding second value of all-transparent;
Second processing unit, for when the Alpha values of each pixel are gradually decreased, arranging the plurality of picture
The Alpha values of first pixel in element are the second value, and according to identical step-length, gradually decrease each
The Alpha values of pixel, until the Alpha values of last pixel in the plurality of pixel are set to into institute
State the first value;
Wherein, the plurality of pixel is N number of, the step-length=(second value-first value)/(N-1).
13. image processing apparatus as claimed in claim 9, it is characterised in that also including display processing list
Unit, after the pending view after the gradual change processing unit is adjusted:
Pending view Overlapping display after by the adjustment is on stereo-picture;
And/or
Pending view after by the adjustment is superimposed upon on the first picture to form view to be imaged;
According to the view to be imaged, stereo-picture is formed and shown;
And/or
Pending view after according to the adjustment, forms and shows stereo-picture.
14. a kind of electronic equipments for bore hole stereoscopic display, it is characterised in that include:
Housing, processor, memory, display screen, circuit board and power circuit, wherein, circuit board peace
The interior volume surrounded in housing is put, processor and memory are arranged on circuit boards;Power circuit, is used for
Each circuit or device for electronic equipment is powered;Memory is used to store executable program code;Processor
Journey corresponding with executable program code is run by the executable program code stored in reading memory
Sequence, for performing following steps:
Detect the edge of the vertical thing in pending view, wherein, the vertical thing in vertical direction or with it is perpendicular
Straight angular separation is less than predetermined angular;
Extract an at least column border pixel at the edge;
According to row pixel orientation, gradual change transparent processing is carried out to an at least column border pixel of the extraction, obtained
Pending view to after adjustment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510727173.8A CN106657962A (en) | 2015-10-30 | 2015-10-30 | Image processing method, image processing device, and electronic equipment used for naked eye three-dimensional display |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510727173.8A CN106657962A (en) | 2015-10-30 | 2015-10-30 | Image processing method, image processing device, and electronic equipment used for naked eye three-dimensional display |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106657962A true CN106657962A (en) | 2017-05-10 |
Family
ID=58809331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510727173.8A Pending CN106657962A (en) | 2015-10-30 | 2015-10-30 | Image processing method, image processing device, and electronic equipment used for naked eye three-dimensional display |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106657962A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113837955A (en) * | 2021-08-17 | 2021-12-24 | 每平每屋(上海)科技有限公司 | Image anti-aliasing processing method and electronic equipment |
CN114860355A (en) * | 2021-02-04 | 2022-08-05 | Oppo广东移动通信有限公司 | Icon display method and device, terminal and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101276061A (en) * | 2007-03-15 | 2008-10-01 | 株式会社东芝 | Three-dimensional image display device, method for displaying three-dimensional image, and structure of three-dimensional image data |
CN101458916A (en) * | 2007-12-14 | 2009-06-17 | 深圳迈瑞生物医疗电子股份有限公司 | Waveform antialiasing method and waveform antialiasing processing apparatus |
CN101770637A (en) * | 2009-12-28 | 2010-07-07 | 广东威创视讯科技股份有限公司 | Graph grabbing processing method and device |
US20130301925A1 (en) * | 2011-11-09 | 2013-11-14 | Sony Corporation | Image processing device, display control method and program |
CN104200427A (en) * | 2014-09-17 | 2014-12-10 | 厦门美图之家科技有限公司 | Method for eliminating edge sawteeth of images |
CN104599231A (en) * | 2015-01-16 | 2015-05-06 | 汕头大学 | Dynamic portrait synchronizing method based on Kinect and network camera |
-
2015
- 2015-10-30 CN CN201510727173.8A patent/CN106657962A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101276061A (en) * | 2007-03-15 | 2008-10-01 | 株式会社东芝 | Three-dimensional image display device, method for displaying three-dimensional image, and structure of three-dimensional image data |
CN101458916A (en) * | 2007-12-14 | 2009-06-17 | 深圳迈瑞生物医疗电子股份有限公司 | Waveform antialiasing method and waveform antialiasing processing apparatus |
CN101770637A (en) * | 2009-12-28 | 2010-07-07 | 广东威创视讯科技股份有限公司 | Graph grabbing processing method and device |
US20130301925A1 (en) * | 2011-11-09 | 2013-11-14 | Sony Corporation | Image processing device, display control method and program |
CN104200427A (en) * | 2014-09-17 | 2014-12-10 | 厦门美图之家科技有限公司 | Method for eliminating edge sawteeth of images |
CN104599231A (en) * | 2015-01-16 | 2015-05-06 | 汕头大学 | Dynamic portrait synchronizing method based on Kinect and network camera |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114860355A (en) * | 2021-02-04 | 2022-08-05 | Oppo广东移动通信有限公司 | Icon display method and device, terminal and storage medium |
CN113837955A (en) * | 2021-08-17 | 2021-12-24 | 每平每屋(上海)科技有限公司 | Image anti-aliasing processing method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI461652B (en) | 3d image based alignment method | |
KR101296900B1 (en) | Method of controlling view of stereoscopic image and stereoscopic image display using the same | |
EP2562581A1 (en) | Three-dimensional video display device and three-dimensional video display method | |
JP6278323B2 (en) | Manufacturing method of autostereoscopic display | |
US9817508B2 (en) | Display device and method for driving the same | |
TW201541958A (en) | Blocking detection method for camera and electronic apparatus with cameras | |
US20160205389A1 (en) | Control method and a control apparatus for a naked eye 3d display apparatus and a naked eye 3d display apparatus | |
KR20140108078A (en) | Method, device, and apparatus for generating stereoscopic images using a non-stereoscopic camera | |
CN108076208B (en) | Display processing method and device and terminal | |
US10795177B2 (en) | Prism sheet for auto-stereoscopic 3D display and display device including same | |
US20160180514A1 (en) | Image processing method and electronic device thereof | |
US20130106843A1 (en) | Information processing apparatus, display control method, and program | |
US20140376774A1 (en) | Electronic equipment with image analysis function and related method | |
US10939092B2 (en) | Multiview image display apparatus and multiview image display method thereof | |
CN106657962A (en) | Image processing method, image processing device, and electronic equipment used for naked eye three-dimensional display | |
KR20120018864A (en) | Method for processing image of multivision display system outputting 3 dimensional contents and multivision display system enabling of the method | |
CN104769486B (en) | Use the image processing system for polarizing poor video camera | |
KR101963385B1 (en) | Disparity calculation method and stereoscopic image display device | |
US20130011010A1 (en) | Three-dimensional image processing device and three dimensional image processing method | |
CN104767985A (en) | Method of using region distribution analysis to automatically detect 3D image format | |
CN103888674B (en) | Image capture unit and image acquisition method | |
EP2835974A1 (en) | Multi-view 3D display system and method | |
CN106303496A (en) | Picture format determines method and device, display device | |
KR20160056132A (en) | Image conversion apparatus and image conversion method thereof | |
KR102267601B1 (en) | Stereoscopic display device and method of displaying 3d image having goold quality |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20180724 Address after: 518054 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong Applicant after: Shenzhen super Technology Co., Ltd. Address before: 518057 Guangdong Shenzhen Baoan District Xixiang Street Gonghe Industrial Road West hair B District Xu Sheng research and development building 11 story 1113U Applicant before: SHENZHEN CHUANGRUISI TECHNOLOGY CO., LTD. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170510 |
|
RJ01 | Rejection of invention patent application after publication |