CN107346040A - The determination method, apparatus and electronic equipment of the grating parameter of bore hole 3D display equipment - Google Patents

The determination method, apparatus and electronic equipment of the grating parameter of bore hole 3D display equipment Download PDF

Info

Publication number
CN107346040A
CN107346040A CN201610297604.6A CN201610297604A CN107346040A CN 107346040 A CN107346040 A CN 107346040A CN 201610297604 A CN201610297604 A CN 201610297604A CN 107346040 A CN107346040 A CN 107346040A
Authority
CN
China
Prior art keywords
grating
stripe
image
central point
stripe pattern
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
CN201610297604.6A
Other languages
Chinese (zh)
Other versions
CN107346040B (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.)
SuperD Co Ltd
Original Assignee
Shenzhen Super Perfect Optics 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 Super Perfect Optics Ltd filed Critical Shenzhen Super Perfect Optics Ltd
Priority to CN201610297604.6A priority Critical patent/CN107346040B/en
Publication of CN107346040A publication Critical patent/CN107346040A/en
Application granted granted Critical
Publication of CN107346040B publication Critical patent/CN107346040B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B5/00Optical elements other than lenses
    • G02B5/18Diffraction gratings
    • G02B5/1866Transmission gratings characterised by their structure, e.g. step profile, contours of substrate or grooves, pitch variations, materials
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/0012Optical design, e.g. procedures, algorithms, optimisation routines
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B30/00Optical systems or apparatus for producing three-dimensional [3D] effects, e.g. stereoscopic images
    • G02B30/20Optical systems or apparatus for producing three-dimensional [3D] effects, e.g. stereoscopic images by providing first and second parallax images to an observer's left and right eyes
    • G02B30/26Optical systems or apparatus for producing three-dimensional [3D] effects, e.g. stereoscopic images by providing first and second parallax images to an observer's left and right eyes of the autostereoscopic type
    • G02B30/27Optical systems or apparatus for producing three-dimensional [3D] effects, e.g. stereoscopic images by providing first and second parallax images to an observer's left and right eyes of the autostereoscopic type involving lenticular arrays

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

Embodiments of the invention disclose a kind of the determination method, apparatus and electronic equipment of the grating parameter of bore hole 3D display equipment, are related to stereo display technique field, more can accurately determine the actual value of grating parameter.Methods described includes:Obtain by the first image of image acquisition device, according to the first image, obtain the real space coordinate of central point and the fringe period of stripe pattern of the first color stripe in stripe pattern;Obtain the distance between space coordinates, image collecting device and display screen of actual acquisition position of image collecting device, the placement distance of grating and the pitch of grating;According to the real space coordinate of the central point of the first color stripe, fringe period, grating place distance, the pitch of grating, image collecting device actual acquisition position space coordinates and the distance between image collecting device and display screen, determine the horizontal relative dislocation of grating and display screen panel.The present invention can be used for the display effect of lifting bore hole 3D display equipment.

Description

The determination method, apparatus and electronic equipment of the grating parameter of bore hole 3D display equipment
Technical field
The present invention relates to the grating ginseng in stereo display technique field, more particularly to a kind of bore hole 3D display equipment Several determination method, apparatus and electronic equipment.
Background technology
People generally watch object simultaneously by eyes, due to eye spacing between the eyes of people be present, right and left eyes it Between be about separated by 65mm, therefore, the gaze angle of eyes is different when watching object, causes right and left eyes to receive Visual pattern a certain degree of difference be present, the visual pattern received due to right and left eyes is different, and brain is comprehensive The information for having closed right and left eyes two images is overlapped to image and lived again, so that beholder produces third dimension. At present, bore hole 3D (3-dimensional) display device of main flow is exactly using above-mentioned principle, by conventional display The special grating of upper superposition, the grating can allow the visual picture of left eye and right eye to different directions refraction image Face separates, so as to allow user to see 3D images.
Bore hole 3D display equipment is when being shown, it is necessary to by left eye picture and right eye picture according to certain rule Arrangement display over the display (i.e. row's figure), coordinates the light splitting of grating to act on, a left side is formed in user's viewing areas Right eye vision area, accomplish for left eye picture to be sent into the left eye of user, right eye picture is sent into the right eye of user, from And user is set to watch 3D images.Cooperated because row's figure must act on the light splitting of grating, therefore, light Grid parameter is to arrange the key parameter used needed for nomography, that is, grating parameter is that bore hole 3D display equipment is entered The call parameter of row imaging display, directly decide the imaging effect of 3D display equipment.Specifically, grating is joined Number may include grating inclination angle, grating pitch, grating place distance, grating relative to display screen displacement ( Claim grating and the horizontal relative dislocation of display screen panel) etc..
Influenceed by factors such as manufacturing process and rigging errors, actual value and the ideal design value of grating parameter are led to It is often certain deviation be present.If directly carrying out row's figure using design load to show, bore hole 3D will be caused to show Show that the adjustment for right and left eyes vision area of equipment is inaccurate, and then influence the display effect of bore hole 3D display equipment. By taking grating and the horizontal relative dislocation of display screen panel as an example, ideally, grating should with display screen panel It is exactitude position, still, the problem of due to craft precision, when producing bore hole 3D display equipment, grating Can not accurately it be overlapped with display screen panel, i.e. the initial phase of the rgb pixel of the cycle of grating and panel can not It is unified, if not considering the dislocation when row schemes, have to the display effect of bore hole 3D display equipment larger Harmful effect.
Therefore, in order to which the display effect of bore hole 3D display equipment is effectively ensured, go out in bore hole 3D display equipment Factory's before sales is needed extremely accurate, it is necessary to be corrected to the grating parameter of bore hole 3D display equipment To the grating parameter actual value of bore hole 3D display equipment so as to be applied in row's nomography, ensure bore hole The stereo display effect of 3D display equipment.How the grating parameter of bore hole 3D display equipment is accurately obtained Actual value is a urgent problem to be solved.
The content of the invention
In view of this, the embodiment of the present invention provide a kind of determination method of the grating parameter of bore hole 3D display equipment, Device and electronic equipment, it more can accurately determine the grating parameter actual value of bore hole 3D display equipment.
In a first aspect, the embodiment of the present invention provides a kind of determination method of the grating parameter of bore hole 3D display equipment, The bore hole 3D equipment includes display screen and the grating being arranged on the display screen, and methods described includes:
The first image by image acquisition device is obtained, described first image includes the bore hole 3D The stripe pattern that display device is shown, the bore hole 3D display equipment utilization row set in advance scheme cycle and row Figure inclination angle is arranged the first colored pixels and the second colored pixels on the display screen, and in the work of the grating With under auxiliary, showing the alternate stripe pattern for being provided with the first color stripe and the second color stripe;
According to described first image, the reality of the central point of the first color stripe described in the stripe pattern is obtained The fringe period of border space coordinates and the stripe pattern;
Obtain the space coordinates of actual acquisition position of described image harvester, described image harvester with The pitch of the distance between described display screen, the placement distance of the grating and the grating;
According to the real space coordinate of the central point of first color stripe, the fringe period, the light The placement distance of grid, the space of the actual acquisition position of the pitch of the grating, described image harvester are sat It is marked with and the distance between described image harvester and the display screen, determines the grating and the display The horizontal relative dislocation of panel plate.
It is described according to described first image with reference in a first aspect, in the first embodiment of first aspect, Obtain the real space coordinate of the central point of the first color stripe described in the stripe pattern and the bar graph The fringe period of picture includes:
The stripe pattern is extracted from described first image;
The stripe pattern is converted into tone saturation degree lightness HSV images, and from the HSV images Isolate chrominance component image;
The stripe direction in the chrominance component image is determined, according to the stripe direction of the determination, scans institute Chrominance component image is stated, so that it is determined that going out the central point of the first color stripe in the chrominance component image;
The central point of first color stripe determined is clustered, same is belonged to so as to sort out The central point of first color stripe;
According to the central point for ranging the color stripe of same first, fitting a straight line is carried out, is fitted Striped linear equation afterwards;
According to the striped linear equation after the fitting, the fringe period of the stripe pattern is determined.
With reference to the first embodiment of first aspect, in second of embodiment of first aspect, in institute State after isolating chrominance component image from the HSV images, the stripe direction according to the determination, The chrominance component image is scanned, so that it is determined that going out the center of the first color stripe in the chrominance component image Before point, methods described also includes:
According to the stripe direction of the determination, at least one-row pixels point for choosing the chrominance component image is carried out Scanning, it is determined that the central point of the first color stripe described at least one-row pixels point;
It is determined that adjacent center of being gone together described at least one-row pixels point in the central point of the first color stripe The distance between point;
According to the distance between adjacent central point of the colleague, the estimation width of the striped is determined;
According to the estimation width of the striped, it is determined that convolution kernel is filtered, and according to the filtering convolution kernel, to institute State chrominance component image and be filtered processing;
The stripe direction according to the determination, the chrominance component image is scanned, so that it is determined that going out described The central point of the first color stripe includes in chrominance component image:
According to the stripe direction of the determination, the chrominance component image after the filtering process is scanned, so as to really Make the central point of the first color stripe in the chrominance component image.
It is described in the third embodiment of first aspect with reference to second of embodiment of first aspect According to the stripe direction of the determination, the chrominance component image after the filtering process is scanned, so that it is determined that going out The central point of the first color stripe includes in the chrominance component image:
According to the stripe direction of the determination, the chrominance component image after the filtering process is scanned, searches institute State the absolute difference of tone value and the tone value of first color in the first color stripe in chrominance component image The minimum pixel of value, and minimum from the absolute difference of the tone value and the tone value of first color Datum mark is filtered out in pixel;
Search the absolute difference of tone value and the tone value of the datum mark in presumptive area corresponding to the datum mark Pixel of the value less than predetermined threshold value;
According to the space coordinates of the datum mark and the absolute difference of the tone value and the tone value of the datum mark Value determines the first color stripe in the chrominance component image less than the space coordinates of the pixel of predetermined threshold value Central point real space coordinate.
It is described in the 4th kind of embodiment of first aspect with reference to second of embodiment of first aspect The central point of first color stripe determined is clustered, same first is belonged to so as to sort out The central point of color stripe includes:
If two points in the central point determined while meeting following three condition, it is determined that this two Individual point belongs to the color stripe of same first:
Condition 1::Δ x >=-1 or Δ y >=-1
Condition 2:| Δ y | < f*MaxLen
Condition 3:| Δ x | < f*MaxLen
Wherein, Δ x be described two points abscissa difference, Δ y be described two points ordinate difference, f To be less than 1 preset constant more than 0, MaxLen is the estimation width.
With reference to the third embodiment of first aspect, in the 5th kind of possible implementation of first aspect, It is described the stripe pattern is extracted from described first image after, it is described to change the stripe pattern For tone saturation degree lightness HSV images, and before isolating chrominance component image from the HSV images, Methods described also includes:
Rotated and/or stretched processing to the stripe pattern extracted;
It is described the stripe pattern is converted into tone saturation degree lightness HSV images to include:
The stripe pattern after the rotation and/or flexible processing is converted into tone saturation degree lightness HSV Image;
In the striped linear equation according to after the fitting, bar graph described in described first image is determined After the fringe period of picture, methods described also includes:
According to the rotation and/or flexible processing, fringe period and first color stripe to the determination The real space coordinate of central point carries out reduction treatment, so that the fringe period and the real space coordinate Match with original described first image.
It is described to obtain the figure with reference in a first aspect, in the 6th kind of possible implementation of first aspect As the actual acquisition position of harvester space coordinates and described image harvester and the display screen between Distance include:
N number of position feature point of bore hole 3D display equipment is determined, N is more than or equal to 4;
According to N number of position feature point determine in described first image respectively with N number of position feature point Corresponding N number of pixel characteristic point;
According to N number of position feature point the bore hole 3D display equipment built in advance geometrical model In pixel coordinate in described first image of space coordinates and N number of pixel characteristic point, utilize aperture Imaging model, determine space coordinates and the described image collection of the actual acquisition position of described image harvester The distance between device and the display screen.
With reference to the 6th kind of embodiment of first aspect, in the 7th kind of embodiment of first aspect:
N number of position feature point includes 4 angle points of the display screen;
N number of pixel characteristic point corresponding with the N number of position feature point includes institute in described first image State 4 angle points of the edge contour of stripe pattern.
With reference in a first aspect, in the 8th kind of embodiment of first aspect, the acquisition grating is put Putting the pitch of distance and the grating includes:
Cycle is schemed according to the fringe period of the stripe pattern and the row, determines the projection cycle of the grating;
According to using between the projection cycle of the grating and described image harvester and the display screen Apart from constructed relational expression, so as to according to the projection cycle of the determination and distance, determine the grating Placement distance and the grating pitch.
It is described in the 9th kind of embodiment of first aspect with reference to the 8th kind of embodiment of first aspect Cycle is schemed according to the fringe period of the stripe pattern and the row, determining the projection cycle of the grating includes:
Scheme cycle and the projection cycle phase using the row in a fringe period according to the stripe pattern The relational expression of poor a cycle structure, so as to which institute be calculated according to row figure cycle and the fringe period State the projection cycle of grating.
It is described in the tenth kind of embodiment of first aspect with reference to the 9th kind of embodiment of first aspect According to the projection cycle using the grating and the distance between described image harvester and the display screen Constructed relational expression, so as to according to the projection cycle of the determination and distance, determine the grating of the grating Parameter includes:
According to the projection cycle and described image harvester that make use of the grating as follows and the display screen The distance between constructed by relational expression, according to the projection cycle of the determination and distance, determine the grating Place at least one of distance and grating pitch:
Wherein, T0For the projection cycle of grating, ZCBetween described image harvester and the display screen Distance, F are that grating places distance, t0For the horizontal pitch of grating.
With reference to any of the first of first aspect or first aspect to the tenth kind of embodiment embodiment, In a kind of the tenth embodiment of first aspect, the reality of the central point according to first color stripe Border space coordinates, the fringe period, the placement distance of the grating, the pitch of the grating, the figure As the actual acquisition position of harvester space coordinates and described image harvester and the display screen it Between distance, determining the horizontal relative dislocation of the grating and the display screen panel includes:
According to the space coordinates of the actual acquisition position of described image harvester, the placement distance of the grating And the distance between described image harvester and the display screen, determine described image harvester by marking Quasi- collection position is moved to row's figure theoretical level amount of movement of actual acquisition position;
According to row's figure theoretical level amount of movement, the theoretical level amount of movement of stripe pattern is determined;
According to the theoretical level amount of movement of the stripe pattern, determine described image harvester by standard acquisition Position is moved to behind actual acquisition position in the stripe pattern in the central point of the first color stripe and standard point The theoretical level space coordinates of corresponding central point;
According to corresponding with standard point in the central point of the theoretical level space coordinates and first color stripe Central point real standard space coordinates, determine the real standard amount of movement of stripe pattern;
According to the real standard amount of movement of the stripe pattern, the fringe period, the grating pitch, profit With the incidence relation of the movement of grating and the movement of stripe pattern, the grating and the display screen panel are determined Horizontal relative dislocation.
With reference to a kind of the tenth embodiment of first aspect, in the 12nd kind of embodiment of first aspect,
The placement of the space coordinates, the grating of the actual acquisition position according to described image harvester Distance and the distance between described image harvester and the display screen, determine described image harvester Row's figure theoretical level amount of movement of actual acquisition position is moved to by standard acquisition position to be included:
Determine that described image harvester is moved to actual acquisition position by standard acquisition position by relationship below The row's figure theoretical level amount of movement x1off put:
Wherein, XM=XC-XB, YM=YC-YB, XBAnd YBFor the first face under the standard acquisition position The normed space coordinate of the central point of vitta line, XCAnd YCFor the actual acquisition position of described image harvester Space coordinates, F is the placement distance of the grating, Z be described image harvester and the display screen it Between distance, θ 1 is row's figure inclination angle;
It is described according to row's figure theoretical level amount of movement and the fringe period, determine the theory of stripe pattern The amount of moving horizontally includes:
Determine that described image harvester is moved to actual acquisition position by standard acquisition position by relationship below The row's figure theoretical level amount of movement x0off put:
Wherein, T1Scheme the cycle for row, T is fringe period;
The theoretical level amount of movement according to the stripe pattern, determine described image harvester by standard Collection position is moved to behind actual acquisition position in the stripe pattern in the central point of the first color stripe and mark The theoretical level space coordinates of corresponding central point is X on scheduleB+ x0off+nT, wherein, n is integer.
With reference to a kind of the tenth embodiment of first aspect, in the 13rd kind of embodiment of first aspect, It is described according to the theoretical level space coordinates and the real standard space of the central point of first color stripe Coordinate, determining the real standard amount of movement of the stripe pattern includes:
By relationship below, the real standard amount of movement Δ S of the stripe pattern is determined:
Δ S=mod (S-x0off, T)
Wherein, S is the real standard space coordinates of the central point of first color stripe, and x0off is described Theoretical level space coordinates, mod represent remainder;
It is described according to the real standard amount of movement of the stripe pattern, the fringe period, the grating pitch, The movement of stripe pattern in opposite direction is equivalent to using the movement of grating, determines the grating and the display The horizontal relative dislocation of panel plate includes:
By relationship below, the horizontal relative dislocation Δ t of the grating and the display screen panel is determined0
Wherein, the T is the fringe period, the t0For described in the horizontal pitch of the grating according to institute State central point corresponding with standard point in the central point of theoretical level space coordinates and first color stripe Real standard space coordinates, determining the real standard amount of movement of the stripe pattern includes:
By relationship below, the real standard amount of movement Δ S of the stripe pattern is determined:
Δ S=mod (S-x0off, T)
Wherein, S be first color stripe central point in central point corresponding with standard point real standard Space coordinates, x0off are the theoretical level space coordinates, and mod represents remainder;
It is described according to the real standard amount of movement of the stripe pattern, the fringe period, the grating pitch, Using grating movement and stripe pattern movement incidence relation, determine the grating and the display panel The horizontal relative dislocation of plate includes:
Relation in opposite direction constructed by the movement of stripe pattern is equivalent to by the movement following with grating Formula, determine the horizontal relative dislocation Δ t of the grating and the display screen panel0
Wherein, the T is the fringe period, the t0For the horizontal pitch of the grating..
Second aspect, the embodiment of the present invention provide a kind of determining device of the grating parameter of bore hole 3D display equipment, The bore hole 3D equipment includes display screen and the grating being arranged on the display screen, and described device includes:
Acquiring unit, for obtaining by the first image of image acquisition device, in described first image The stripe pattern shown including the bore hole 3D display equipment, the bore hole 3D display equipment utilization are set in advance Fixed row schemes the cycle and row's figure inclination angle is arranged on the display screen the first colored pixels and the second colored pixels, And under the effect auxiliary of the grating, show and alternate be provided with the first color stripe and the second color stripe The stripe pattern;
First determining unit, for according to described first image, obtaining the first face described in the stripe pattern The real space coordinate of the central point of vitta line and the fringe period of the stripe pattern;
Second determining unit, the space coordinates of the actual acquisition position for obtaining described image harvester, The distance between described image harvester and the display screen, the placement distance of the grating and the grating Pitch;
3rd determining unit, real space coordinate, institute for the central point according to first color stripe State fringe period, placement distance, the pitch of the grating, the reality of described image harvester of the grating Border gathers the space coordinates and the distance between described image harvester and the display screen of position, it is determined that The horizontal relative dislocation of the grating and the display screen panel.
With reference to second aspect, in the first embodiment of second aspect, first determining unit is used for:
The stripe pattern is extracted from described first image;
The stripe pattern is converted into tone saturation degree lightness HSV images, and from the HSV images Isolate chrominance component image;
The stripe direction in the chrominance component image is determined, according to the stripe direction of the determination, scans institute Chrominance component image is stated, so that it is determined that going out the central point of the first color stripe in the chrominance component image;
The central point of first color stripe determined is clustered, same is belonged to so as to sort out The central point of first color stripe;
According to the central point for ranging the color stripe of same first, fitting a straight line is carried out, is fitted Striped linear equation afterwards;
According to the striped linear equation after the fitting, the fringe period of the stripe pattern is determined.
It is described in second of embodiment of second aspect with reference to the first embodiment of second aspect First determining unit is used for:
According to the stripe direction of the determination, at least one-row pixels point for choosing the chrominance component image is carried out Scanning, it is determined that the central point of the first color stripe described at least one-row pixels point;
It is determined that adjacent center of being gone together described at least one-row pixels point in the central point of the first color stripe The distance between point;
According to the distance between adjacent central point of the colleague, the estimation width of the striped is determined;
According to the estimation width of the striped, it is determined that convolution kernel is filtered, and according to the filtering convolution kernel, to institute State chrominance component image and be filtered processing;
Then, first determining unit is used for:
According to the stripe direction of the determination, the chrominance component image after the filtering process is scanned, so as to really Make the central point of the first color stripe in the chrominance component image.
It is described in the third embodiment of second aspect with reference to second of embodiment of second aspect First determining unit is used for:
According to the stripe direction of the determination, the chrominance component image after the filtering process is scanned, searches institute State the absolute difference of tone value and the tone value of first color in the first color stripe in chrominance component image The minimum pixel of value, and minimum from the absolute difference of the tone value and the tone value of first color Datum mark is filtered out in pixel;
Search the absolute difference of tone value and the tone value of the datum mark in presumptive area corresponding to the datum mark Pixel of the value less than predetermined threshold value;
According to the space coordinates of the datum mark and the absolute difference of the tone value and the tone value of the datum mark Value determines the first color stripe in the chrominance component image less than the space coordinates of the pixel of predetermined threshold value Central point real space coordinate.
It is described in the 4th kind of embodiment of second aspect with reference to second of embodiment of second aspect First determining unit is used for:
If two points in the central point determined while meeting following three condition, it is determined that this two Individual point belongs to the color stripe of same first:
Condition 1::Δ x >=-1 or Δ y >=-1
Condition 2:| Δ y | < f*MaxLen
Condition 3:| Δ x | < f*MaxLen
Wherein, Δ x be described two points abscissa difference, Δ y be described two points ordinate difference, f To be less than 1 preset constant more than 0, MaxLen is the estimation width.
With reference to the third embodiment of second aspect, in the 5th kind of possible implementation of second aspect, First determining unit is additionally operable to:
Rotated and/or stretched processing to the stripe pattern extracted;
First determining unit is used for:
The stripe pattern after the rotation and/or flexible processing is converted into tone saturation degree lightness HSV Image;
In the striped linear equation according to after the fitting, bar graph described in described first image is determined After the fringe period of picture, according to the rotation and/or flexible processing, fringe period to the determination and described The real space coordinate of first color stripe central point carries out reduction treatment, so that the fringe period and described Real space coordinate matches with original described first image.
With reference to second aspect, in the 6th kind of possible implementation of second aspect, described second determines list Member is used for:
N number of position feature point of bore hole 3D display equipment is determined, N is more than or equal to 4;
According to N number of position feature point determine in described first image respectively with N number of position feature point Corresponding N number of pixel characteristic point;
According to N number of position feature point the bore hole 3D display equipment built in advance geometrical model In pixel coordinate in described first image of space coordinates and N number of pixel characteristic point, utilize aperture Imaging model, determine space coordinates and the described image collection of the actual acquisition position of described image harvester The distance between device and the display screen.
With reference to the 6th kind of embodiment of second aspect, in the 7th kind of embodiment of second aspect:
N number of position feature point includes 4 angle points of the display screen;
N number of pixel characteristic point corresponding with the N number of position feature point includes institute in described first image State 4 angle points of the edge contour of stripe pattern.
With reference to second aspect, in the 8th kind of embodiment of second aspect, second determining unit is used for:
Cycle is schemed according to the fringe period of the stripe pattern and the row, determines the projection cycle of the grating;
According to using between the projection cycle of the grating and described image harvester and the display screen Apart from constructed relational expression, so as to according to the projection cycle of the determination and distance, determine the grating Placement distance and the grating pitch.
It is described in the 9th kind of embodiment of second aspect with reference to the 8th kind of embodiment of second aspect Second determining unit is used for:
Scheme cycle and the projection cycle phase using the row in a fringe period according to the stripe pattern The relational expression of poor a cycle structure, so as to which institute be calculated according to row figure cycle and the fringe period State the projection cycle of grating.
It is described in the tenth kind of embodiment of second aspect with reference to the 9th kind of embodiment of second aspect Second determining unit is used for:
According to the projection cycle and described image harvester that make use of the grating as follows and the display screen The distance between constructed by relational expression, according to the projection cycle of the determination and distance, determine the grating Place at least one of distance and grating pitch:
Wherein, T0For the projection cycle of grating, ZCBetween described image harvester and the display screen Distance, F are that grating places distance, t0For the horizontal pitch of grating.
With reference to any of the first of second aspect or second aspect to the tenth kind of embodiment embodiment, In a kind of the tenth embodiment of second aspect, the 3rd determining unit is used for:
According to the space coordinates of the actual acquisition position of described image harvester, the placement distance of the grating And the distance between described image harvester and the display screen, determine described image harvester by marking Quasi- collection position is moved to row's figure theoretical level amount of movement of actual acquisition position;
According to row's figure theoretical level amount of movement, the theoretical level amount of movement of stripe pattern is determined;
According to the theoretical level amount of movement of the stripe pattern, determine described image harvester by standard acquisition Position is moved to behind actual acquisition position in the stripe pattern in the central point of the first color stripe and standard point The theoretical level space coordinates of corresponding central point;
According to corresponding with standard point in the central point of the theoretical level space coordinates and first color stripe Central point real standard space coordinates, determine the real standard amount of movement of stripe pattern;
According to the real standard amount of movement of the stripe pattern, the fringe period, the grating pitch, profit With the incidence relation of the movement of grating and the movement of stripe pattern, the grating and the display screen panel are determined Horizontal relative dislocation.
With reference to a kind of the tenth embodiment of second aspect, in the 12nd kind of embodiment of second aspect,
Determine that described image harvester is moved to actual acquisition position by standard acquisition position by relationship below The row's figure theoretical level amount of movement x1off put:
Wherein, XM=XC-XB, YM=YC-YB, XBAnd YBFor the first face under the standard acquisition position The normed space coordinate of the central point of vitta line, XCAnd YCFor the actual acquisition position of described image harvester Space coordinates, F is the placement distance of the grating, Z be described image harvester and the display screen it Between distance, θ 1 is row's figure inclination angle;
Determine that described image harvester is moved to actual acquisition position by standard acquisition position by relationship below The row's figure theoretical level amount of movement x0off put:
Wherein, T1Scheme the cycle for row, T is fringe period;
According to the theoretical level amount of movement of the stripe pattern, determine described image harvester by standard acquisition Position is moved to behind actual acquisition position in the stripe pattern in the central point of the first color stripe and standard point The theoretical level space coordinates of corresponding central point is XB+ x0off+nT, wherein, n is integer.
With reference to a kind of the tenth embodiment of second aspect, in the 13rd kind of embodiment of second aspect, 3rd determining unit is used for:
By relationship below, the real standard amount of movement Δ S of the stripe pattern is determined:
Δ S=mod (S-x0off, T)
Wherein, S be first color stripe central point in central point corresponding with standard point real standard Space coordinates, x0off are the theoretical level space coordinates, and mod represents remainder;
Relation in opposite direction constructed by the movement of stripe pattern is equivalent to by the movement following with grating Formula, determine the horizontal relative dislocation Δ t of the grating and the display screen panel0
:Wherein, the T is the fringe period, the t0For the horizontal pitch of the grating.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, and the electronic equipment includes:Housing, Processor, memory, circuit board and power circuit, wherein, circuit board is placed in the space that housing surrounds Portion, processor and memory are set on circuit boards;Power circuit, for for each of above-mentioned electronic equipment Circuit or device power supply;Memory is used to store executable program code;Processor is by reading in memory The executable program code of storage runs program corresponding with executable program code, for performing foregoing On the one hand the grating parameter of the bore hole 3D display equipment or described in any possible embodiment of first aspect Determine method.
A kind of determination method, apparatus of the grating parameter of bore hole 3D display equipment provided in an embodiment of the present invention and Electronic equipment, there is provided a kind of mode of the horizontal relative dislocation of grating and display screen panel, according to the first figure Picture, obtain the real space coordinate of central point and the striped of stripe pattern of the first color stripe in stripe pattern Cycle;Obtain space coordinates, image collecting device and the display screen of the actual acquisition position of image collecting device The distance between, the placement distance of grating and the pitch of grating;According to the reality of the central point of the first color stripe Border space coordinates, fringe period, placement distance, the pitch of grating, the reality of image collecting device of grating The space coordinates and the distance between image collecting device and display screen of position are gathered, determines grating and display The horizontal relative dislocation of panel plate, it more can accurately obtain the horizontal mistake relatively of grating and display screen panel Position, so as to be applied in row's nomography of bore hole 3D display, is effectively ensured bore hole 3D display equipment Stereo display effect.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to implementing The required accompanying drawing used is briefly described in example or description of the prior art, it should be apparent that, describe below In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying On the premise of going out creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 (a) is that the grating of bore hole 3D display equipment places the schematic diagram of distance;
Fig. 1 (b) is grating inclination angle, the horizontal pitch of grating and the absolute pitch of grating of bore hole 3D display equipment Schematic diagram;
The schematic diagram of the grating of Fig. 1 (c) bore hole 3D display equipment and the horizontal relative dislocation of display pannel;
Fig. 2 is a kind of determination method of the grating parameter of bore hole 3D display equipment provided in an embodiment of the present invention Schematic flow sheet;
Fig. 3 is the illustrative diagram of the first image in method shown in Fig. 2;
Fig. 4 is the effect diagram after edge contour detection in method shown in Fig. 2;
The effect diagram of line segment is drawn during the angle point that edge contour is determined in Fig. 5 methods shown in Fig. 2;
Fig. 6 is pixel eight neighborhood schematic diagram in method shown in Fig. 2;
Fig. 7 is the effect diagram of the stripe pattern after rotary extension in method shown in Fig. 2;
Fig. 8 (a) and Fig. 8 (b) is the schematic diagram of method spatial coordinates system shown in Fig. 2;
Fig. 9 (a) is the generating principle schematic diagram (slit grating) of stripe pattern in method shown in Fig. 2;
Fig. 9 (b) is that periodically row's diagram is intended in method shown in Fig. 2;
Fig. 9 (c) is periodic perspective view (slit grating) in method shown in Fig. 2;
Figure 10 is the parallel lines separated time section ratio of optical grating projection cycle and grating horizontal cycle in method shown in Fig. 2 Relation illustrates schematic diagram;
Figure 11 is the mobile relation schematic diagram with move of stripe of row's figure in method shown in Fig. 2;
Figure 12 is that cotangent trigonometric function relation illustrates schematic diagram;
Figure 13 is that similar triangles relation illustrates schematic diagram;
Figure 14 is a kind of determining device at the grating inclination angle of bore hole 3D display equipment provided in an embodiment of the present invention Structural representation;
Figure 15 is the structural representation of electronic equipment one embodiment of the present invention.
Embodiment
The embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
It will be appreciated that described embodiment is only part of the embodiment of the present invention, rather than whole realities Apply example.Based on the embodiment in the present invention, those of ordinary skill in the art are not before creative work is made The all other embodiment obtained is put, belongs to the scope of protection of the invention.
It will be appreciated that described embodiment is only part of the embodiment of the present invention, rather than whole realities Apply example.Based on the embodiment in the present invention, those of ordinary skill in the art are not before creative work is made The all other embodiment obtained is put, belongs to the scope of protection of the invention.
In order that those skilled in the art are better understood from the present invention, first to bore hole 3D display equipment and bore hole The grating parameter of 3D display equipment is simply introduced.The bore hole 3D display sayed in the embodiment of the present invention is set It is standby, with reference to shown in Fig. 1 (a) to Fig. 1 (c), including display screen and grating on a display screen is set, should Grating can for slit grating or lenticulation etc. in the prior art bore hole 3D equipment can use it is any A kind of grating, the present invention are not limited this.Bore hole 3D display equipment is when being shown, it is necessary to by left eye Picture and right eye picture (are arranged and schemed) over the display according to certain regularly arranged display, coordinate the light splitting of grating Effect, right and left eyes vision area is formed in user's viewing areas, accomplish for left eye picture to be sent into the left eye of user, will Right eye picture is sent into the right eye of user, so that user watches 3D images.
As shown in Fig. 1 (a), in bore hole 3D display equipment, the spacing between display screen and grating is referred to as grating Place distance F.
In general, the pixel column trend on display screen is vertical direction, if grating pattern trend is also vertical Direction, both move towards is identical, can produce obvious moire fringes, this display effect to 3 D stereo picture Can have a great impact.Therefore, in order to reduce the influence of moire fringes, in practical application, such as Fig. 1 (b) institutes Show, bore hole 3D display equipment generally uses tilted-putted grating, so that the lines trend of grating and display Shape has a certain degree between pixel column trend on screen, it is possible to reduce or even eliminate moire fringes.Fig. 1 (b) In, the inclination grey thick line bar of the top represents grating, and bottom represents display screen, matrix row on display screen Row rgb pixel, inclined dashed line represent the angle of the projection of grating on a display screen, projection line and horizontal direction For grating inclination angle theta 0, the i.e. inclined angle of grating pattern, the center of the adjacent lightproof area of grating or adjacent apertures Horizontal range between center is the horizontal pitch t0 of grating (also referred to as grating horizontal cycle), the adjacent shading region of grating Distance between the center or adjacent apertures center in domain on grating slope direction is referred to as the absolute pitch t of grating (also referred to as grating absolute periodic).
The problem of due to craft precision, when producing bore hole 3D display equipment, grating can not with display screen panel Accurate overlapping, as shown in Fig. 1 (c), i.e., the cycle of grating and panel RGB initial phase can not be unified, That is, the cycle of grating and row's figure cycle of right and left eyes picture can not be unified, and exist between the two relatively wrong Position xoffadd, in order to ensure the 3D display effect of bore hole 3D display equipment, it is thus necessary to determine that the relative dislocation value And it is applied in row's nomography.
The embodiment of the present invention proposes a kind of method of determination for the relative dislocation.But it should be recognized that It will be appreciated by persons skilled in the art that substantially, the cooperation of row's figure and grating is only guarantee stereoscopic display The key of effect, and it is little with the physics relative dislocation value relation of display screen and grating.Therefore, the present invention is real Apply in example, it is proposed that the concept of standard alignment, using certain point of display screen screen as standard point, for example, with Screen center is as standard point, it is of course also possible to be any point of display screen screen, from standard point Edge is perpendicular to the direction of display screen, if a certain opening center and row's nomography arrangement right through grating Left figure row's graph region center, now, grating and display screen are standard alignment, the light under standard alignment Grid are referred to as master grating.
The horizontal relative dislocation of grating determined by the embodiment of the present invention and display screen panel, is substantially determined It is relative level dislocation and the residual quantity of standard alignment of grating and panel, that is, actual grating is relative to standard light The displacement of grid.
Because display screen panel plane is parallel with grating planar, according to relative movement, row's figure, which moves horizontally, to be waited Valency moves round about in grating level, therefore, for same bore hole 3D display equipment, according to solid Fixed row's figure, it is believed that the standard point on screen ought to be overlapped with a certain left figure regional center of row's figure, Without overlapping, its error be due to grating with respect to the horizontal relative dislocation amount of the physics of display panel and row's figure and The relative shift of panel and be collectively forming, the embodiment of the present invention is based on master grating and standard alignment and determined The horizontal relative dislocation of grating and display screen panel, the identified horizontal relative dislocation have actually been superimposed light Grid are with respect to the horizontal relative dislocation amount of the physics of display panel and the relative shift of row's figure and panel.
The determination method of the grating parameter of the bore hole 3D display equipment provided below the embodiment of the present invention, dress Put and be described in detail with electronic equipment.
Fig. 2 is that the flow of the determination method of the grating parameter of the bore hole 3D display equipment of embodiments of the invention is shown It is intended to, as shown in Fig. 2 the method for the present embodiment can include:
Step 101, the first image for passing through image acquisition device is obtained, the first image includes bore hole The stripe pattern that 3D display equipment is shown.
In the embodiment of the present invention, grating parameter is determined using the stripe pattern shown by bore hole 3D display equipment. The first face that bore hole 3D display equipment utilization row set in advance schemes the cycle and row's figure inclination angle is arranged on a display screen Color pixel and the second colored pixels, and under the effect auxiliary of grating, show and alternate be provided with the first color The stripe pattern of striped and the second color stripe, the stripe pattern are periodic stripe patterns, i.e. the first face Vitta line and the arrangement of the second color stripe stagger cycle.Wherein, bore hole 3D display equipment uses row's figure cycle It can be pre-set with row's figure inclination angle or be sent to bore hole 3D in advance by way of communication Display device, it is connected, controls for example, bore hole 3D display equipment establishes wired or radio communication with control terminal Row's figure data such as cycle and row's figure inclination angle are sent to bore hole 3D display equipment by end processed, and the embodiment of the present invention Method, it can also be performed by control end equipment, control end equipment includes image collecting device.The present invention is implemented In example, the stripe pattern is gathered using image collecting device, such as camera, video camera, camera etc., and Gathered stripe pattern is got, grating parameter is determined using stripe information of the stripe pattern etc..
It is understood that first image can be stripe pattern, can also including stripe pattern, I.e. stripe pattern is a part for the first image, for example, camera shooting shows the naked of stripe pattern The full face of eye 3D display equipment, that is, the photo of the screen of bore hole 3D display equipment is shot, so as to gather To the first image for including stripe pattern, stripe pattern is probably some or all of the first image
Preferably, in order to protrude stripe pattern, bore hole 3D display equipment can be placed in dark space, and screen Place is highlighted stripe pattern, so that in the first image, stripe pattern can protrude presentation, other portions It is divided into dark background.Fig. 3 shows the illustrative diagram of first image, as shown in figure 3, the figure Include stripe pattern in the middle part of picture.First image can consider to be made up of two parts, respectively stripe pattern And background.
For example, the stripe pattern can be red an IOU issued by a post office print image, i.e. the first color stripe is red and green A kind of striped of color in vitta line, and the second color stripe is another face in red and green color stripe The striped of color.
It is, in principle, that the stripe pattern that bore hole 3D display equipment is presented is due to periodic row's figure and week The optical grating projection of phase property is formed there occurs beat, that is to say, that stripe pattern is periodicity row figure and week The coefficient result of phase property optical grating projection, the first colored pixels of bore hole 3D device periodically arrangement can be used To simulate the left eye picture (referred to as left figure) for stereoscopic display, the second colored pixels of periodic arrangement can With for simulating right eye picture (referred to as right figure).
Step 102, according to the first image, the actual sky of the central point of the first color stripe in stripe pattern is obtained Between the fringe period of coordinate and stripe pattern;
Here first it is noted that the actual sky of the central point of the first color stripe acquired in this step Between coordinate be space coordinates of the central point of the first color stripe in stripe pattern, emphasize " reality " be for Subsequent arithmetic is easy to illustrate, mutually distinguished with the theoretical space coordinate in subsequent arithmetic.Obviously, stripe pattern In may include some first color stripes, in this step, the central point of any first color stripe can be obtained Space coordinates, moreover, subsequent arithmetic relates generally to horizontal X coordinate, therefore, also it can only obtain X-coordinate i.e. Can.
It should also be noted that, how the embodiment of the present invention is for according to the first image the first color stripe of acquisition The real space coordinate of central point and the fringe period of stripe pattern do not limit, those skilled in the art can With reasonable selection.It is illustrated below.
In one embodiment of the invention, in this step, specifically, in order to obtain the striped of stripe pattern Cycle, the first image for including stripe pattern, it is necessary first to divide stripe pattern from the first image Separate out and.The embodiment of the present invention does not limit for how to extract stripe pattern from the first image, Those skilled in the art can be by the way of any reasonable, for example, conventional stingy figure in the prior art Algorithm.For example, optionally, in one embodiment of the invention, can be in the following way by bar Print image extracts from the first image:
First, the first image is converted into tone saturation degree lightness HSV images, and divided from HSV images Separate out lightness component image hsv_v.
Then, according to the gray value of the pixel of lightness component image, stripe pattern in lightness component image is determined Edge contour.For example, specifically, as shown in Figure 3, in the first image, the profile of stripe pattern The pixel grey scale of outside (i.e. background) and inner side is different, therefore, can preset a threshold value, respectively from Left-to-right, hsv_v images are scanned from the top down, from right to left, from the bottom up, will scan former and later two The gray scale difference of pixel is compared with presetting given threshold value, so that it is determined that going out the edge contour of stripe pattern Pixel (i.e. pixel point coordinates) set, edge contour detection design sketch can be found in Fig. 4.
It should be understood that after edge contour determines, it is understood that there may be some noise spots, these noise spots will influence The precision of subsequent treatment, therefore, processing can be further optimized, remove noise spot.Remove noise spot Method it is unlimited, those skilled in the art can be according to the common knowledge reasonable selection of this area.For example, For every a line of edge contour, fitting a straight line is carried out to the pixel point set (point set) on the side first, Then distance of the point all on the side to straight line will be calculated, distance is finally more than several times average distance Point is deleted from a concentration.
After edge contour is obtained, next, according to the edge contour of stripe pattern in lightness component image, Determine the corner location of stripe pattern.It should be understood that how the step specifically performs same unlimited, ability Field technique personnel can have multiple choices.Optionally, in order to be further ensured that operational precision, can use such as Under type:
Fitting a straight line is carried out to edge contour, for example, fitting a straight line is carried out to the point set of above-mentioned removal noise spot, Obtain the linear equation on each bar side of edge contour;Then, structure with the first image same shape and size (i.e. With hsv_v images same shape and size) solid background image, for example, background pure black image, and according to The linear equation on side, each bar side is drawn in solid background image, that is, draw line segment corresponding to each bar side, and Make the color of line segment different from the color of background, line segment can be white, and background is black, and line segment preferably prolongs Whole image is extended, the design sketch after line segment is drawn and can be found in Fig. 5.
Because the color of line segment color and background is different, next, according to the color of the color and background of line segment, The background image for having line segment is drawn in scanning, so that it is determined that the intersection point between going out line segment, intersection point can be based on following bar Part judges, i.e.,:In the neighborhood territory pixel point of intersection point, the color value of at least two pairs relative neighborhood territory pixel points For the color value of line segment.Intersection point, substantially it is the angle point of stripe pattern, after angle point determination, so that it may root According to the intersection point of determination, the corner location of stripe pattern is determined.Specifically, can from top to bottom, from left to right Scanning is whole to draw the background image for having line segment, when running into a line segment color such as pixel of white, Observe the pixel of its 8 neighborhood.Referring to Fig. 6, it is assumed that pixel 5 is the pixel of line segment colours white, In 8 neighborhood territory pixel points 1 to 4,6 to 9 of the pixel 5, in 1 and 9,2 and 8,4 and 7,4 and 6 In, have at least that 2 pairs of pixels are all white point, then the white pixel point 5 is an intersection point, Yi Jiyi Individual angle point.
It is understood that identified four angle points are probably unordered, it is necessary to resequence.If striped Image is quadrangle, and 4 angle points should be upper left angle point, upper right angle point, bottom right angle point, lower-left angle point.That In identified four angle points, Transverse coordinates upper left angle point less than normal, lower-left angle point, horizontal seat can be first looked for out Mark larger upper right angle point and bottom right angle point, then carry out ordinate comparison again, you can four points of discharge it is suitable Sequence.
After angle point determination, next shaping can be split from the first image according to the corner location of determination Print image.
It should be noted that in actual implementation, stripe pattern is probably inclined, for example, bore hole 3D display The possible fuselage of equipment and out of plumb, but there is certain angle of inclination with vertical direction, cause screen not Vertically, certain inclination is had, stripe pattern there may be certain anglec of rotation.Moreover, in order to simplify fortune Calculate, lift operation efficiency, stripe pattern can also be carried out it is appropriate it is flexible after carry out follow-up processing again, Such as stripe pattern is reduced into certain proportion.Therefore, in one embodiment of the invention, can be to extracting The stripe pattern come is rotated and/or flexible processing, so as to by stripe pattern be stretched to a suitable size and Positive stripe pattern is kept, carries out subsequent arithmetic using the stripe pattern after rotation and/or flexible processing afterwards Processing.Specifically, primative streak image may refer to Fig. 3, the stripe pattern after rotary extension may refer to figure 7。
Further, after then stripe pattern is separated from the first image, next, can be by bar graph As being converted to tone saturation degree lightness HSV images, and chrominance component image is isolated from HSV images hsv_h.Then, it is determined that the stripe direction in chrominance component image, according to the stripe direction of determination, scans color Adjust component image, so that it is determined that go out the central point of the first color stripe in tone component image, and then obtain The space coordinates of heart point.
Obviously, HSV images are converted the image into, and isolates chrominance component from HSV images, satisfy With degree component and transparency component image be routine techniques, the present invention again this do not repeating.
In general, the stripe direction in stripe pattern may be vertically oriented, it is also possible to horizontal direction, For simplified operation, lifting operation efficiency can be carried out pre- first to find central point in the embodiment of the present invention Processing, the rough stripe direction determined in lower stripe pattern, then according to identified stripe direction, is carried out Scanning obtains central point.Specifically, can first enter row threshold division (binary conversion treatment) to chrominance component image, Then Hough Hough transform carries out straight-line detection to the image of binaryzation known to, according to the straight of detection Determine stripe direction in the inclination angle that line estimates straight line.
, optionally, can be according to the stripe direction of determination, you can it is determined that scanning side after stripe direction is determined To, for example, striped is horizontal stripe, then scanning direction is vertical direction, if striped is vertical striped, Scanning direction is horizontal direction, scans chrominance component image according to the scanning direction of determination, searches the tone The absolute difference of tone value and the tone value of first color is (i.e. poor in the first color stripe in component image The absolute value of value) minimum pixel, and filter out datum mark from these pixels.Next, search The absolute difference of tone value and the tone value of the datum mark is less than default threshold in presumptive area corresponding to datum mark The pixel of value.Then, according to the space coordinates of the datum mark, and the tone value and the datum mark Tone value absolute difference be less than predetermined threshold value pixel space coordinates, determine the chrominance component figure The space coordinates of the central point of the first color stripe as in.Wherein, presumptive area corresponding to datum mark is advance Set, for example, centered on datum mark, the region of each 10 pixels in left and right.
Generally, the central distribution of the first color stripe the pixel closest to the first color, and along Center is to the first color stripe both sides, and the color of pixel is more and more far away from the first color.Based on this, search The absolute difference of tone value and the tone value of the first color minimum in first color stripe in chrominance component image Pixel, generally these points are positioned at the center of the first color stripe.But it is understood that due to color Distortion and scanning accuracy etc. limit, it is possible to some inaccurate noise spots can be found, therefore, for One the first color stripe, the absolute difference of some tone values and the tone value of first color may be found The minimum pixel of value in these points found, it is necessary to carry out lower screening, removal noise spot, so as to screen Go out to be located at the datum mark of fringe center.Specific screening process, for example, in the pixel found, really Determine the tone value of the pixel of the pixel both sides preset range on scanning direction in one direction change (by Gradually increased or decrease) point on the basis of point, and remove on scanning direction in the pixel both sides at least side The pixel of the tone value fluctuations of the pixel of preset range.
So that stripe pattern is red an IOU issued by a post office print image as an example, pure red corresponding hue angle is 0 degree, can scan picture Plain color tone pitch, find tone value and the pixel (datum mark) of 0 absolute difference minimum, such as 3 degree of pictures Vegetarian refreshments, the pixel is closely red, is pixel most red in striped, is usually located at red streak Core.For a red streak, some 3 degree of pixels may be found, therefore, these 3 Datum mark is determined in degree pixel.Next, due in the stripe pattern in the first image it is red not necessarily It is pure red, so also to set a rational deviation, i.e., a default threshold value, the threshold value for example can be with For 5, it is assumed that datum mark tone value is 3, along scanning direction by the range of the pixel of datum mark both sides 20 Tone value is found out with 3 difference less than 5 pixel.According to find out these point and datum mark, X, the Y-coordinate average of these points and datum mark are calculated, the average is defined as to the sky of red streak central point Between coordinate.
Explanation is needed further exist for, in order to which the precision of processing, and simplified operation is effectively ensured, lifts computing Efficiency is to find central point, after chrominance component image is isolated from HSV images, according to the bar of determination Line direction, chrominance component image is scanned, so that it is determined that going out the center of the first color stripe in tone component image Before point, processing, row's impurity point interference, then, at filtering can be first filtered to chrominance component image The first color stripe central point is determined in chrominance component image after reason.Specifically, it can carry out in advance rough A filtering convolution kernel is estimated in calculating, and then according to the filtering convolution kernel, place is filtered to chrominance component image Reason.For example, at least one-row pixels of chrominance component image can according to the stripe direction of determination, be chosen Point be scanned, it is determined that at least in a line (can be a line) pixel the first color stripe central point, Such as the minimum or maximum point of tone value is found, then, it is determined that the first color stripe at least in one-row pixels point Central point in go together the distance between adjacent central point, according to the distance between adjacent central point of going together, The estimation width of striped is determined, according to the estimation width of striped, it is determined that filtering convolution kernel.
Next, the central point of the first color stripe to determining clusters, belonged to together so as to sort out The central point of one the first color stripe.
In order to which operational precision is effectively ensured, since it is determined that the central point come is not necessarily continuously, therefore this These points are clustered in step, them is revert on respective streak line.
In one embodiment of the invention, in this step, if it is determined that two points in the central point gone out are same When meet following three condition, it is determined that the two point belong to the color stripe of same first:
Condition 1:Δ x >=-1 or Δ y >=-1
Condition 2:
| Δ y | < f*MaxLen
Condition 3:
| Δ x | < f*MaxLen
Wherein, Δ x is the difference of the abscissa of two points, and Δ y is the difference of the ordinate of two points, and f is more than 0 Preset constant less than 1, for example, 0.5, MaxLen are the estimation width of striped, foregoing to calculate filtering volume During product core, it has been explained that estimate the determination mode of width, repeat no more here.
Next, according to the central point for ranging the color stripe of same first, fitting a straight line is carried out, is obtained Striped linear equation after fitting.
Fitting a straight line can use existing conventional method, such as least square method, no longer do here specifically It is bright.In order to which the efficiency of calculating is effectively ensured, and error is reduced, can be in the color stripe of same first Some points that striped interlude is chosen in central point are fitted, such as 100 points of interlude.
After the determination of striped linear equation, you can according to the striped linear equation after fitting, determine the first image The fringe period of middle stripe pattern.Can by being fitted obtained linear equation above, try to achieve some rows (if or Dry row) the institute on striped a little, the cycle size of striped is then calculated according to these points.For example, set Several fixed y-coordinates, that is, the several columns of image are taken, it is straight to try to achieve corresponding striped by the linear equation after fitting X coordinate on line, thus a series of coordinate points can be obtained.Next, by a series of coordinate points Adjacent two x coordinate xi, xi+1Distance can easily draw adjacent the first color stripe or the second color stripe Step-length, the step-lengths of all consecutive points of some rows can be calculated according to this.Then all step-lengths are averaging Resulting value is fringe period.
Explanation is needed further exist for, if after stripe pattern is extracted from the first image, by striped Image is converted to tone saturation degree lightness HSV images, and chrominance component image is isolated from HSV images Before, the stripe pattern extracted rotate and/or flexible processing, in this case, it is necessary to according to The space coordinates of rotation and/or flexible processing, pair fringe period determined and the first color stripe central point is carried out Reduction treatment, it is necessary to by obtained fringe period and space coordinates according to before and after the anglec of rotation relation of image and/ Or scaling relation, revert to the size of original image so that fringe period and space coordinates with it is original First image matches.
In this step, identified fringe period is designated as T, the central point of identified first color stripe Real standard space coordinates is designated as S.
Step 103, space coordinates, the image collecting device of the actual acquisition position of image collecting device are obtained The distance between display screen, the placement distance of grating and the pitch of grating.
Firstly the need of explanation, coordinate system and origin are set anyway, appeared in the embodiment of the present invention Any space coordinates be required to keep unified benchmark, be based on for identical coordinate system and origin, It subsequently will no longer carry out additional description.
With reference to shown in figure 8 (a) and Fig. 8 (b), in an embodiment of the invention, it is assumed that bore hole 3D shows Plane where showing the display screen panel of equipment is the xoy planes where space coordinates, it is to be understood that In this case, the space coordinates of the central point of identified first color stripe is also based in abovementioned steps This and determine.Grating planar is parallel with display screen panel plane, and both vertical ranges are that grating pitch is F, Plane equation where display screen panel is z=0, and plane equation where grating is z=F, is put in z-axis positive direction Image collecting device camera, image collecting device camera actual acquisition position are C, image collector It is Z that the distance between display screen i.e. C points, which are put, apart from the vertical range of display screen, and C points need to ensure camera Stripe pattern can be collected, the space coordinates of C points is designated as C=[Xc,Yc,Zc](Zc=Z).
Using the center position B of display screen as standard point, B space coordinates is B=[XB,YB, 0], pass through B points intersect at A=[X with z=F planes along the z-axis directionA,YA, F] and=[XB,YB, F] and point, the A points are standard The center position of grating, D=[X are intersected at z=Z planesD,YD, Z] and=[XA,YA, Z] and point, D points are mark Quasi- collection position.
Based on the description of above-mentioned space coordinates, this step is described in detail below.
Need to get the space coordinates of C points, Z values, and F values and the horizontal pitch of grating in this step respectively t0.Here firstly the need of explanation, the embodiment of the present invention does not limit for how to get these parameter values, Those skilled in the art can be with reasonable selection.For example, any of the above-described parameter value can pass through the side of physical measurement Formula is obtained and pre-set, and these parameter values can be determined according to presetting in this step.
It for Z values and the space coordinates of C points, can be obtained by physical measurement, its other party can also be used Method, such as Z values and C points can be determined using a variety of methods such as face tracking method, positioning feature point methods Space coordinates, so as to which the degree of accuracy of parameter value be effectively ensured.
Illustrate how to determine Z values and the space coordinates of C points, the positioning mode by taking positioning feature point method as an example below Need to use the first image acquired in step 101.Specifically, firstly the need of the N number of of determination display screen Position feature point, N need to be more than or equal to 4.The position feature point can be pre-set, can be aobvious Arbitrary N number of position feature point in display screen.For example, it may be the angle point of display screen, the edge of display screen On point.In one embodiment, the angle point of display screen can be selected, if display screen is rectangle, the angle point For four summits of rectangle, or the central point of each edge on the edge of display screen can be selected, either Point in each edge at angle point 1/3,1/4,1/5, the embodiment of the present invention are not limited this.
It is emphasized that in bore hole 3D display equipment, the distance between display screen and grating are generally milli Rice magnitude, and the distance between display screen and image collecting device are rice magnitude, therefore, display screen and grating The distance between influence for the distance between display screen and image collecting device be more trickle, in rice In magnitude, error is negligible, and therefore, under the premise of error is negligible, position feature point is not The point being limited on display screen, can be the arbitrfary point in bore hole 3D display equipment positive (i.e. display surface).
Then, determined according to N number of position feature point corresponding with N number of position feature point respectively in the first image N number of pixel characteristic point.First image is image collecting device acquired image, and it necessarily includes bore hole 3D The influence of the position feature point of equipment, for example, four angle points such as display screen are position feature point, that first In the image of equipment, four angle points of stripe pattern are pixel characteristic point corresponding with position feature point.
Next, according to N number of position feature point the bore hole 3D display equipment built in advance geometrical model In pixel coordinate in the first image of space coordinates and N number of pixel characteristic o'clock, using national forest park in Xiaokeng, Determine the space coordinates and Z values of C points.
Geometrical model pre-establishes according to predetermined position feature point.For example, with Fig. 9 institutes Exemplified by the coordinate system shown, using any one position feature point in N number of position feature point as origin, display screen Plane is the plane where X-axis and Y-axis, and the direction of bore hole 3D equipment to image capture device is Z axis Direction, establish the geometrical model of display screen.
For example, 4 angle points for choosing display screen are 4 position feature points, and display screen is a plane, Actual length and width are respectively 220mm and 140mm.Using the angle point in the upper left corner of display screen as the origin of coordinates, establish Model space geometric, space coordinates Pv={ Pv0, Pv1, Pv2, the Pv3 } table of 4 position feature points Show, according to right-handed coordinate system criterion, from left to right, and from top to bottom, the space coordinates minute of 4 position feature points It is not:Pv0={ 0,0,0 }, Pv1={ 220,0,0 }, Pv2={ 220, -140,0 }, Pv3=0, -140, 0}。
And pixel characteristic point corresponding to the position feature point of 4 angle points is four of stripe pattern in the first image Angle point, for example, the detection of edge contour can be carried out to the stripe pattern in the first image, according to being detected The edge contour arrived, and then 4 angle points of edge contour are determined, 4 angle points are pixel characteristic point. For another example 4 angle points of stripe pattern according to similar mode in abovementioned steps 102, can be detected, i.e., The pixel coordinate of four angle points of stripe pattern is determined, is just repeated no more here.
Specifically, the relative attitude position between image collecting device and display screen can be determined according to formula (1) Put relation, and then the distance Z according to the determination of relative attitude position relationship between the two.
The formula (1) is:
SPp=A [Rt] Pv……………………………………(1)
Wherein, S is scale factor, and Pp is the pixel coordinate of pixel characteristic point, and A claps for image collecting device The intrinsic parameter of the video camera of positioning image is taken the photograph, Pv is the space coordinates of position feature point, and R is that display screen is relative In the spin matrix of image collecting device, t is translation matrix of the display screen relative to image collecting device, is rotated Matrix and translation matrix are used to represent the relative attitude position relationship between image collecting device and display screen.
, can be by world coordinates series structure in Z=0 plane, so as to make Z=0 because subject matter is plane Afterwards, the space coordinates of N number of position feature point and N number of pixel characteristic point Pixel Information are updated to formula (1) Afterwards, line translation is entered to formula (1), obtains formula (2).
The formula (2) is:
Wherein, S is scale factor, and (u, v, 1) is the pixel coordinate P of pixel characteristic pointp, A is image The intrinsic parameter of the video camera of harvester shooting positioning image, (r1, r2, t) for image collecting device relative to The spin matrix and translation matrix of display screen, (X, Y, 1) are the space coordinates P of position feature pointv
This is converted to homography conversion, therefore, can set homography matrix H=[h1 h2 h3]=A [r1 r2 t]。 Then above-mentioned formula (2) can be converted to formula (4).Homography matrix H is 3 × 3 matrix, and its In an element be as homogeneous coordinates, H has 8 unknown quantitys to wait to solve.
The formula (4) is:
Wherein, H is homography matrix, and S is scale factor, and (u, v, 1) is that the pixel of pixel characteristic point is sat Mark Pp, (X, Y, 1) is the space coordinates P of position feature pointv
By above-mentioned homography matrix H=[h1 h2 h3] be updated in formula (4), formula (5) can be obtained. Value in above-mentioned homography matrix can be calculated according to formula (5).Then according to the homography matrix, Draw spin matrix and translation matrix of the image collecting device relative to the display screen, the image collecting device It is mainly used in representing the image collecting device and the display relative to the spin matrix and translation matrix of the display screen Relative attitude position relationship between screen.
The formula (5) is:
Wherein, [h1 h2 h3] it is that homography matrix H, S are scale factor, (u, v, 1) is that pixel is special Levy the pixel coordinate P of pointp, (X, Y, 1) is the space coordinates Pv of position feature point.
Above-mentioned image collecting device can be according to formula (3) relative to the spin matrix and translation matrix of display screen Obtain.
The formula (3) is:
Wherein, [r1 r2 r3] spin matrix R for image collecting device relative to display screen, t adopt for image For acquisition means relative to the translation matrix of display screen, A is the video camera of image collecting device shooting positioning image Intrinsic parameter, λ=1/ | | A-1h1| |=1/ | | A-1h2| |, [h1 h2 h3] it is homography matrix.
The intrinsic parameter A of the video camera of above-mentioned image collecting device shooting positioning image can according to formula (6) come Obtain.
The formula (6) is:
Wherein, A be image collecting device shooting positioning image video camera intrinsic parameter, α=f/dx, β=f/dy, α be video camera x-axis effective focal length, β be video camera y-axis effective focal length, f For the focal length of video camera, dx is the pixel separation of the x-axis of video camera, and dy is between the pixel of the y-axis of video camera Every γ is scale factor of the pixel in x-axis and y-axis, and (u0, v0) is optical axis in video camera in image On subpoint.
It is known in those skilled in the art, in order to facilitate computing, homogeneous coordinates, S are introduced in above-mentioned technology The factor needed for being homogeneous coordinates computing with λ, does not just elaborate here.
Image collecting device can be obtained relative to the spin matrix of the display screen and translation square according to above-mentioned algorithm Battle array, and according to translation matrix, you can obtain the space coordinates [X of C pointsc,Yc,Zc], and Zc=Z, therefore, Also the distance between image collecting device and display screen Z have been obtained.
For the placement distance F and grating pitch t of grating0, for example, can be according to foregoing in this step Used row's figure cycle T 1 when stripe pattern is presented in the fringe period T and bore hole 3D equipment obtained in step, To determine the projection cycle T 0 of grating, and then according to the projection cycle T 0 and image collector using grating Put the distance between display screen Z (Zc) constructed by relational expression, determine the placement distance F and light of grating The pitch t of grid0
With reference to shown in Fig. 9 (a) to Fig. 9 (c), it is as red an IOU issued by a post office print image using slit grating, stripe pattern Example, determine that the projection cycle is specifically described to how to scheme cycle and fringe period according to row below, and lens Grating is similar with slit grating, will not be described in great detail herein.
Referring to Fig. 9 (a), bore hole 3D display equipment is arranged red pixel and green pixel with arranging figure cycle T 1, Red pixel and the arrangement of green pixel stagger cycle, red pixel can represent left figure, and green pixel can represent the right side Figure, the horizontal cycle (the horizontal pitch of grating) of slit grating is t0, and image collecting device camera is (quite In the left eye or right eye of people) be used for shooting the red an IOU issued by a post office print image that bore hole 3D display equipment is presented, that is, obtain First image, light passes through adjacent two gratings opening center by optical grating projection to display screen panel at camera Cycle afterwards is T0, i.e. the optical grating projection cycle is T0.In order to make light collection, it is seen that correctly 3D effect, T1>T0.
The generation of red an IOU issued by a post office print image is due to that periodicity row figure and periodic project coefficient result, Accordingly, founding mathematical models:
F (x)=F0(x)*F1(x)
Wherein, F (x) is red an IOU issued by a post office line function, F0(x) it is optical grating projection function, F1(x) it is row's figure function, F1(x) And F0(x) it is periodic function, F1(x) cycle is T1, F0(x) cycle is T0.
For arranging figure function F1(x), referring to Fig. 9 (a) and Fig. 9 (b), with cycle T 1 arrange red pixel and Green pixel, red pixel and the arrangement of green pixel stagger cycle, it is F to define at red pixel center a01(x) Maximum Max1, the maximum represents that color is most red herein, and it is F to define at green pixel center a11(x) Minimum M in1, the minimum value represent that color is most green herein, then F1(x) following condition is met:
F1(x)=F1(x+T1)
F1(a0)=F1(a0+T1)=Max1
F1(a1)=F1(a1+T1)=Min1
Max1=-Min1
For optical grating projection function F0(x), cycle T0,0≤F0(x)≤1.Referring to Fig. 9 (a) and Fig. 9 (c), at the center b0 of grating opening, light transmittance highest, F0(x) it is maximum Max1, and impermeable At the center b1 of light part, light transmittance is minimum, F0(x) be minimum M in1, then F0(x) following condition is met:
F0(x)=F0(x+T0)
F0(b0)=F0(b0+T0)=Max0
F0(b1)=F0(b1+T0)=Min0
0≤Min0<Max0≤1
Due to F1And F (x)0(x) it is periodic function, then F (x) is the product of two periodic functions, and F (x) is same For periodic function, the cycle of red an IOU issued by a post office line period of a function F (x) is set as T, i.e., fringe period is T:
F (x)=F (x+T)
When F (x) obtain maximum when be red striped center, obtain minimum value when for an IOU issued by a post office line center.
When F (x) obtains maximum, F (x)=F0(x)*F1(x), then F1(x)=Max1 and F0(x)=Max0, that is, represent in Fig. 9 (a), and camera passes through a certain opening center of grating just Project for red an IOU issued by a post office line red striped center --- -- this be designated as conclusion 1.
Similarly, when F (x) obtains minimum value, then there is F1(x)=Min1 and F0(x)=Max0, that is, represent In Fig. 9 (a), camera just projects an IOU issued by a post office of red an IOU issued by a post office line through a certain opening center of grating Line center ----this is designated as conclusion 2.
According to the generating principle of periodically red an IOU issued by a post office line, there occurs difference for periodic projection and periodicity row figure Clap and produce red an IOU issued by a post office line, and, according to above-mentioned conclusion 1 and conclusion 2, at F (x) maximum, F1(x) and F0(x) it is maximum, and at F (x) minimum value, F1(x) F for minimum value0(x) can for maximum Know, in a cycle T of red an IOU issued by a post office line, i.e., row's figure cycle and light between adjacent two red fringe centers Grid project cycle beat just a cycle, that is, row's figure cycle in a fringe period T of stripe pattern T1 and projection cycle T 0 differ a cycle (this is designated as conclusion 3), i.e.,:
T=N*T1And T=(N+1) * T0;Wherein, N is integer
Using the relational expression, that is, the relational expression built according to conclusion 3 is utilized, so as to scheme week according to known row The projection cycle T 0 of grating is calculated in the phase T1 and above-mentioned fringe period T got.
In actual operation, due to error and measurement accuracy, T may not be T1 integral multiple, therefore, can By following manner, to obtain N values and then obtain T0, wherein, floor is downward bracket function:
N=floor (0.5+T/T1)
In this way, the fringe period that can be obtained by row's figure cycle and foregoing operation, it is determined that the projection of grating Cycle.
In the projection cycle according between the projection cycle using grating and image collecting device and the display screen Distance constructed by relational expression, so as to according to the projection cycle of determination and distance, determine F and t0.
By taking slit grating as an example, in the opening center of grating, light transmittance highest, it is assumed that it is 100%, and At the center of lightproof part, that is, center is blocked, light transmittance is minimum, it is assumed that be 0, the absolute periodic of grating is (absolutely To pitch) it is t, the horizontal cycle (horizontal pitch) of grating is t0,Then grating Spatial function is represented by:
Wherein, θ 0 is grating inclination angle, u0For offset.
Referring to Fig. 8 (b), B is display screen plane any point, and its space coordinates is designated as [XB,YB, 0], C points its Space coordinates is designated as (Xc,Yc,Zc), Zc can represent the distance between image collecting device and display screen, C points (X is designated as with the space coordinates of the space line and grating planar Z=F intersection point A of B pointsA,YA,ZA), according to The space coordinates of B points and C points, utilization space geometric operation, the intersection point of BC point lines and grating planar Z=F A is represented by:
A points are located on grating, and therefore, the space coordinates of A points meets the spatial function model equation of grating, Therefore, the space coordinates of the above-mentioned A points using represented by the space coordinates of B points and C points is updated to above-mentioned The spatial function model equation of grating, then above-mentioned spatial function model equation be deformed into:
Further, the equation after above-mentioned deformation can be abbreviated as:
Wherein,
Understood after writing a Chinese character in simplified form, it is T in the cycle that the function after the deformation, which is,0Periodic function, and in the opening of grating Heart position, light transmittance highest, it is 100%, and at the center of lightproof part, that is, center is blocked, light transmittance Minimum, it is 0, this and the optical grating projection function model F defined in abovementioned steps 1020(x) it is complete corresponding , moreover, the F after deformation0(x, y, z) is the function of any point B space coordinates in display screen plane, It follows that the F after deformation0(x, y, z) is the spatial function F of grating0The throwing of (x, y, z) in display screen plane Shadow function, that is, the F after deformation0(x, y, z) is the grating obtained by the spatial function model according to the grating Projection function model, be designated as:
Optical grating projection function F0(x, y, z) be the cycle be T0Periodic function, T0For the cycle t of grating0By Camera locus projects to the value of display screen plane, i.e. T0For the optical grating projection cycle:
Above-mentioned T0Relational expression be designated as formula (1), the relational expression make use of the projection cycle T of grating0And figure As the distance between harvester and display screen Zc, the relational expression annotated grating absolute periodic t, optical grating projection Cycle T0, subpoint C is distance value Z of the image collecting device apart from display screen panelcAnd grating and display The distance between panel plate value is the functional relation between grating placement distance F.In abovementioned steps, really The projection cycle T of grating is determined0Distance value Z with image collecting device apart from display screen panelc, then using upper Relational expression is stated, calculates grating absolute periodic t or grating horizontal cycle t0, grating placement distance F.
It is emphasized that the spatial function of above grating is only for example, in the technology structure of the embodiment of the present invention Under think of, those skilled in the art can utilize different grating spatial function models, converted and obtained by model Optical grating projection function model, and then projection period relations is got from projection function model, and then solve Grating pitch and grating place distance, and the present invention is not limited this.
It is proportional or similar triangles theorem is understood, optical grating projection week using parallel lines separated time section referring to Figure 10 The ratio of phase and the horizontal pitch of grating and the distance between image collecting device and display screen and the distance and grating grid Away from poor be in equal proportions, you can obtain following relational expression:
The relational expression is according to the projection cycle T of grating0The horizontal pitch t of (i.e. T0) and grating0The ratio of (i.e. t0) Example relation obtains, substantially identical with formula (7), therefore in another embodiment of the present invention, utilizes The constructed relational expression that is in equal proportions, can equally determine that grating places distance and grating pitch, without The establishment and deformation computing into line raster spatial function model are needed, it is relatively simple.
Step 104, according to the real space coordinate of the central point of the first color stripe, fringe period, grating Place distance, the pitch of grating, image collecting device actual acquisition position space coordinates and image adopt The distance between acquisition means and display screen, determine the horizontal relative dislocation of grating and display screen panel.
In the embodiment of the present invention, in this step, will specifically the movement of the movement of grating and stripe pattern be utilized The movement of incidence relation, i.e. grating is equivalent to the movement of stripe pattern in the opposite direction, solves grating with showing The horizontal relative dislocation of display screen panel.
It is emphasized that the concept of standard alignment is proposed in the embodiment of the present invention, with display screen screen Certain point is used as standard point, for example, using screen center as standard point, it is of course also possible to be display screen Any point of curtain, from standard point edge perpendicular to the direction of display screen, if right through a certain of grating The left figure that center arranges with row's nomography that is open arranges the center of the center, i.e. the first color stripe of graph region The heart, now, grating and display screen are standard alignment, and the grating under standard alignment is referred to as master grating.
For example, referring to Fig. 8 (b), using the center position B of display screen as standard point, B space Coordinate is B=[XB,YB, 0], A=[X are intersected at z=F planes by B points along the z-axis directionA,YA, F]= [XB,YB, F] and point, the A points are the center position of master grating, and D=is intersected at z=Z planes [XD,YD, Z] and=[XA,YA, Z] and point, D points are standard acquisition position.
It is, in principle, that in the case of master grating, under initial situation, image collector is adopted setting in standard Collect position D, and standard point B is the central point of the first color stripe, and image collecting device is moved to by D During the C of actual acquisition position, in acquired stripe pattern, the central point of the first color stripe will be moved, That is B points can be moved accordingly, and B points are still the central point of the first color stripe image after moving, in standard In the case of grating, B will be moved to a certain position in theory, but the position being actually moved to can move with theory The position arrived is different, and difference is to be due to caused by the horizontal relative dislocation of display screen and grating, therefore, The horizontal relative dislocation of the principle solving can be based on.
Based on the principle, specifically, in this step, can be first according to the actual acquisition of image collecting device Position C space coordinates [Xc,Yc,Zc], the placement distance F of grating and image collecting device and display screen it Between distance Z (Zc), determine that image collecting device is moved to actual acquisition position C's by standard acquisition position D Figure theoretical level amount of movement x1off is arranged, then, according to row figure theoretical level amount of movement x1off, determines bar graph The theoretical level amount of movement x0off of picture, and then according to the theoretical level amount of movement x1off of stripe pattern, it is determined that figure As harvester by standard acquisition position is moved to behind actual acquisition position the first color stripe in stripe pattern The theoretical level space coordinates of central point, wherein, when the central point needs in the central point of the first color stripe, Central point corresponding with standard point, the i.e. central point are display screen plane (Z coordinate 0), Y-coordinate YB Central point.
Next, according to corresponding with standard point in the central point of theoretical level space coordinates and the first color stripe Central point real standard space coordinates, determine the real standard amount of movement Δ S of stripe pattern, then, root According to real standard amount of movement Δ S, fringe period T, the grating pitch t0 of stripe pattern, the movement of grating is utilized The movement of stripe pattern in opposite direction is equivalent to, determines the horizontal relative dislocation Δ t of grating and display screen panel0
Detailed schematic illustration is carried out to the above below.Referring to Fig. 8 (b), with the center of display screen For position B as standard point, B space coordinates is B=[XB,YB, 0], by B points along the z-axis direction with z=F Plane intersects at A=[XA,YA, F] and=[XB,YB, F] and point, the A points are the center position of master grating, with Z=Z planes intersect at D=[XD,YD, Z] and=[XA,YA, Z] and point, D points are standard acquisition position.With bar graph As be red an IOU issued by a post office line exemplified by, based on foregoing conclusion 1 and conclusion 2, if Camera passes through a certain opening of grating Center position see just a certain left figure region center position, then herein for red streak Center position.Then, if Camera is placed at D, in the case of master grating, Camera is clapped at D The center position for the red an IOU issued by a post office print image taken the photograph is the center position of a certain red streak, i.e. B points are standard The central point of red striped under position is gathered, the space coordinates of B points is normed space coordinate.
With reference to Fig. 9 (a) to Fig. 9 (c) mathematical modelings established and foregoing conclusion 1 to 3, equally with red Exemplified by an IOU issued by a post office line, referring to Figure 11, grating remains stationary and human eye it is motionless in the case of, mobile row's figure, people Eye is initially at c0 just sees image information at the P0 of panel through a certain grating opening, and row's figure moves Dynamic, the stripe pattern information at P0 is moved at P1, to cause Information invariability needs seen by person all human eyes Moved right at c0 to c1, according to principle of relativity, if row's figure is moved to the left, position of human eye is constant, The red green bar graph then seen then is moved to the left.
As row's figure (or to the right) mobile half period 0.5*T to the left1When, red an IOU issued by a post office line is just counter to be regarded, i.e., original Red fringe center is changed into green fringe center, and green fringe center originally is changed into red fringe center, green equivalent to red Striped function F (x) (or to the right) mobile half period 0.5*T to the left.That is:
The movement of striped is equivalent to the movement of row's figure on equidirectional in stripe pattern, if row's figure is leftward or rightward Mobile α * T1When, human eye remains stationary as, then the red an IOU issued by a post office line seen moves α * T to the left or to the right accordingly, Wherein, a is that any real number ----this conclusion is designated as conclusion 4.
It should be noted that according to relative motion, grating is to left equivalent to row's figure to right translation.It is based on This, it is to be understood that on the premise of display screen remains stationary and human eye remains stationary, move horizontally light Grid, as the horizontal half period 0.5*T mobile to the left or to the right of grating0When, red an IOU issued by a post office line is just counter to be regarded, i.e., former The red fringe center come is changed into green fringe center, and green fringe center originally is changed into red fringe center, equivalent to When grating and human eye remains stationary, row's figure level to the right or is moved to the left half period 0.5*T1, equivalent to red An IOU issued by a post office line function F (x) to the right or is moved to the left half period 0.5*T.That is:
The movement of striped is equivalent to the movement of grating in opposite direction in stripe pattern, if grating is leftward or rightward Mobile α * T0When, human eye remains stationary as, then the red an IOU issued by a post office line seen is corresponding to the right or to be moved to the left α * T, Wherein, a is that any real number ----this conclusion is designated as conclusion 5.
Understand that the i.e. movement of striped has above-mentioned with the movement of row's figure and the movement of grating based on above-mentioned analysis Incidence relation, the movement of the movement of striped equivalent to grating in movement and opposite direction that figure is arranged on equidirectional (conclusion 4 and conclusion 5),
COT α=H/L, H=COT α * L, it is α's for inclination angle according to trigonometric function referring to Figure 12 Oblique line, when moving L vertically downward, point A is moved at point B, and point A is moved in the horizontal direction Distance be H.Understand accordingly, if the bore hole 3D display equipment for showing stripe pattern is overall in Y direction During upper mobile L, stripe angle θ, in horizontal direction, the distance of move of stripe is Lcot θ.
Based on trigonometric function principle shown in above-mentioned conclusion 4,5 and Figure 12, as image collecting device camera When being moved to actual acquisition position C by standard acquisition position D, the distance X of x-axis direction movementM=XC-XB, The distance that y-axis side moves up is YM=YC-YB.Because Camera along y-axis moves YMDistance, then phase When motionless in grating, row's nomography moves Y in the opposite directionMDistance, i.e., when Camera is by D water Flat edge y-axis, which is moved at C points, is equivalent to that grating is static, row negative side of the figure to y-axis at the B of panel center To mobile YM, row's figure inclination angle is θ 1, and row is T1 in the figure cycle, and row's figure moves Y along y-axisMDistance equivalent to edge X-axis translates YM* cot θ 1, thus, it can be known that Camera by D level along x-axis, y-axis is moved at C points, It is equivalent to Camera and only moves along the x-axis XM+YM* cot θ 1 distance.
Referring to Figure 13, in theory, in the case of master grating, moved if Camera prolongs x-axis direction by D Dynamic XM+YM* cot θ 1 reach C ' points after, to ensure to see that identical row schemes letter before and after the translation of D points Breath, only need to arrange figure and move in the opposite direction | RR ' | distance, that is to say, that note x0off is row's figure Theoretical level amount of movement, represent to move along the positive negative side of x-axis for timing, for it is negative when represent along x-axis negative direction, | RR ' |=| x0off |.Understood using the triangle in Figure 13 is similar, in the case of master grating, row's figure is theoretical The amount of moving horizontally x1off can be obtained by relationship below:
Wherein, XM=XB-XC, YM=YB-YC, XBAnd YBFor the first color bar under standard acquisition position The space coordinates of central point corresponding with standard point, X in the central point of lineCAnd YCFor the reality of image collecting device Border gathers position C space coordinates, and F is the placement distance of grating, Z be image collecting device and display screen it Between distance, θ 1 is row figure inclination angle.
According to foregoing conclusion 4, when row schemes mobile x1off amount, the cycle that row schemes movement isIf row The leftward or rightward mobile α * T of figure1When, human eye remains stationary as, then the red an IOU issued by a post office line seen it is corresponding to the left or to α * T are moved right, wherein, a is any real number, i.e. the movement of row's figure is equivalent to striped and moved in the same direction The identical cycle, that is, striped is equivalent to identical direction moving periodThat is displacement That is, in the case of master grating, when image collecting device camera is moved by standard acquisition position D When moving actual acquisition position C, texture can be obtained by the amount of moving horizontally x0off by following relational expression:
Wherein, T1Scheme the cycle for row, T is fringe period, and x1off is row's figure theoretical level amount of movement.
It follows that in the case of fixed row's figure cycle t and row's figure inclination angle theta 1, i.e., row schemes to fix, and standard In the case of grating, Camera is moved to C points by D points, in the red fringe center position that D points photograph For B points (XB,YB, 0), and in theory, being moved at space C points the red fringe center position photographed isThat is camera is moved to actual acquisition position by standard acquisition position D Put after C the theoretical level of central point corresponding with standard point in the central point of the first color stripe in stripe pattern Space coordinates is XB+ x0off+nT, wherein, n is integer.
In abovementioned steps 102, the central point of the first color stripe of actual stripe pattern is had been obtained for Real space coordinate, it is to be understood that in this step, the central point required for calculating needs to be y=YB's The real space coordinate of central point, is designated as (S+mT, YB, 0), wherein, m is integer.
By relationship below, the real standard amount of movement Δ S of stripe pattern, i.e. first color stripe can be determined Central point in central point corresponding with standard point theoretical level space coordinates and real space coordinate between Difference:
Δ S=mod (S-x0off, T)
Wherein, S be the first color stripe central point in central point corresponding with standard point real standard space Coordinate, x0off are theoretical level space coordinates, and mod represents remainder.
It is understood that stripe pattern is cyclic graph picture, and therefore, theoretical and real space coordinate difference Several cycles are likely larger than, so by the way of remainder by difference control within a cycle.
For in theory, in the case where master grating fixes row's figure, when camera is by standard acquisition position D After being moved to actual acquisition position C, central point corresponding with standard point in the central point of the first color stripe Theoretical level space coordinates and real standard space coordinates should be identical, and difference between the two is due to reality Grating is caused by relative to master grating generation relative movement.
Because actual grating is relatively moved relative to master grating, then according to foregoing conclusion 5, light is utilized The movement of grid and the incidence relation of the movement of stripe pattern, the movement of grating are equivalent to row's figure in opposite direction It is mobile, and both mobile cycle phases are same, then can determine grating and display screen panel by relationship below Horizontal relative dislocation Δ t0
Wherein, T is fringe period, t0For the horizontal pitch of grating.
So far, you can obtain the horizontal relative dislocation Δ t of grating and display screen panel0
The determination method of the grating parameter of bore hole 3D display equipment provided in an embodiment of the present invention, there is provided a kind of The mode of the horizontal relative dislocation of grating and display screen panel, according to the first image, obtain in stripe pattern the The real space coordinate of the central point of one color stripe and the fringe period of stripe pattern;Obtain image collector The distance between space coordinates, image collecting device and display screen of actual acquisition position for putting, grating are put Put distance and the pitch of grating;According to the real space coordinate of the central point of the first color stripe, fringe period, Grating place distance, the pitch of grating, image collecting device actual acquisition position space coordinates and The distance between image collecting device and display screen, the horizontal relative dislocation of grating and display screen panel is determined, The horizontal relative dislocation of grating and display screen panel more can be accurately obtained, so as to be applied to bore hole In row's nomography of 3D display, the stereo display effect of bore hole 3D display equipment is effectively ensured.
Corresponding with preceding method, as shown in figure 14, the embodiment of the present invention also provides a kind of bore hole 3D display The determining device of the grating parameter of equipment, the bore hole 3D equipment include display screen and are arranged on the display screen On grating, the device includes:
Acquiring unit 10, for obtaining the first image by image acquisition device, described first image Include the stripe pattern that the bore hole 3D display equipment is shown, the bore hole 3D display equipment utilization is advance The row of setting schemes the cycle and row's figure inclination angle is arranged on the display screen the first colored pixels and the second colored pixels, And under the effect auxiliary of the grating, show and alternate be provided with the first color stripe and the second color stripe The stripe pattern;
First determining unit 11, for according to described first image, obtaining first described in the stripe pattern The real space coordinate of the central point of color stripe and the fringe period of the stripe pattern;
Second determining unit 12, the space coordinates of the actual acquisition position for obtaining described image harvester, The distance between described image harvester and the display screen, the placement distance of the grating and the grating Pitch;
3rd determining unit 13, real space coordinate for the central point according to first color stripe, The fringe period, the grating place distance, the pitch of the grating, described image harvester The distance between the space coordinates and described image harvester of actual acquisition position and the display screen, really The horizontal relative dislocation of the fixed grating and the display screen panel.
The determining device of the grating parameter of bore hole 3D display equipment provided in an embodiment of the present invention, there is provided a kind of The mode of the horizontal relative dislocation of grating and display screen panel, according to the first image, obtain in stripe pattern the The real space coordinate of the central point of one color stripe and the fringe period of stripe pattern;Obtain image collector The distance between space coordinates, image collecting device and display screen of actual acquisition position for putting, grating are put Put distance and the pitch of grating;According to the real space coordinate of the central point of the first color stripe, fringe period, Grating place distance, the pitch of grating, image collecting device actual acquisition position space coordinates and The distance between image collecting device and display screen, the horizontal relative dislocation of grating and display screen panel is determined, The horizontal relative dislocation of grating and display screen panel more can be accurately obtained, so as to be applied to bore hole In row's nomography of 3D display, the stereo display effect of bore hole 3D display equipment is effectively ensured.
Optionally, in one embodiment of the invention, the first determining unit 11 is used for:
The stripe pattern is extracted from described first image;
The stripe pattern is converted into tone saturation degree lightness HSV images, and from the HSV images Isolate chrominance component image;
The stripe direction in the chrominance component image is determined, according to the stripe direction of the determination, scans institute Chrominance component image is stated, so that it is determined that going out the central point of the first color stripe in the chrominance component image;
The central point of first color stripe determined is clustered, same is belonged to so as to sort out The central point of first color stripe;
According to the central point for ranging the color stripe of same first, fitting a straight line is carried out, is fitted Striped linear equation afterwards;
According to the striped linear equation after the fitting, the fringe period of the stripe pattern is determined.
Further specifically, in one embodiment of the invention, the first determining unit 11 is used for:
According to the stripe direction of the determination, at least one-row pixels point for choosing the chrominance component image is carried out Scanning, it is determined that the central point of the first color stripe described at least one-row pixels point;
It is determined that adjacent center of being gone together described at least one-row pixels point in the central point of the first color stripe The distance between point;
According to the distance between adjacent central point of the colleague, the estimation width of the striped is determined;
According to the estimation width of the striped, it is determined that convolution kernel is filtered, and according to the filtering convolution kernel, to institute State chrominance component image and be filtered processing;
Then, in this case, the first determining unit 11 is used for:
According to the stripe direction of the determination, the chrominance component image after the filtering process is scanned, so as to really Make the central point of the first color stripe in the chrominance component image.
Optionally, in one embodiment of the invention, the first determining unit 11 is used for:
According to the stripe direction of the determination, the chrominance component image after the filtering process is scanned, searches institute State the absolute difference of tone value and the tone value of first color in the first color stripe in chrominance component image The minimum pixel of value, and minimum from the absolute difference of the tone value and the tone value of first color Datum mark is filtered out in pixel;
Search the absolute difference of tone value and the tone value of the datum mark in presumptive area corresponding to the datum mark Pixel of the value less than predetermined threshold value;
According to the space coordinates of the datum mark and the absolute difference of the tone value and the tone value of the datum mark Value determines the first color stripe in the chrominance component image less than the space coordinates of the pixel of predetermined threshold value Central point real space coordinate.
Specifically, in one embodiment of the invention, the first determining unit 11 is used for:
If two points in the central point determined while meeting following three condition, it is determined that this two Individual point belongs to the color stripe of same first:
Condition 1::Δ x >=-1 or Δ y >=-1
Condition 2:| Δ y | < f*MaxLen
Condition 3:| Δ x | < f*MaxLen
Wherein, Δ x be described two points abscissa difference, Δ y be described two points ordinate difference, f To be less than 1 preset constant more than 0, MaxLen is the estimation width.
Optionally, in one embodiment of the invention, the first determining unit 11 is additionally operable to:Described first is true Order member is additionally operable to:
Rotated and/or stretched processing to the stripe pattern extracted;
First determining unit 11 is used for:
The stripe pattern after the rotation and/or flexible processing is converted into tone saturation degree lightness HSV Image;
In the striped linear equation according to after the fitting, bar graph described in described first image is determined After the fringe period of picture, according to the rotation and/or flexible processing, fringe period to the determination and described The real space coordinate of first color stripe central point carries out reduction treatment, so that the fringe period and described Real space coordinate matches with original described first image.
Optionally, in one embodiment of the invention, the second determining unit 12 is used for:
N number of position feature point of bore hole 3D display equipment is determined, N is more than or equal to 4;
According to N number of position feature point determine in described first image respectively with N number of position feature point Corresponding N number of pixel characteristic point;
According to N number of position feature point the bore hole 3D display equipment built in advance geometrical model In pixel coordinate in described first image of space coordinates and N number of pixel characteristic point, utilize aperture Imaging model, determine space coordinates and the described image collection of the actual acquisition position of described image harvester The distance between device and the display screen.
Optionally, in one embodiment of the invention:
N number of position feature point includes 4 angle points of the display screen;
N number of pixel characteristic point corresponding with the N number of position feature point includes institute in described first image State 4 angle points of the edge contour of stripe pattern.
Optionally, in one embodiment of the invention, the second determining unit 12 is used for:
Cycle is schemed according to the fringe period of the stripe pattern and the row, determines the projection cycle of the grating;
According to using between the projection cycle of the grating and described image harvester and the display screen Apart from constructed relational expression, so as to according to the projection cycle of the determination and distance, determine the grating Placement distance and the grating pitch.
Optionally, in one embodiment of the invention, the second determining unit 12 is used for:
Scheme cycle and the projection cycle phase using the row in a fringe period according to the stripe pattern The relational expression of poor a cycle structure, so as to which institute be calculated according to row figure cycle and the fringe period State the projection cycle of grating.
Optionally, in one embodiment of the invention, the second determining unit 12 is used for:
According to the projection cycle and described image harvester that make use of the grating as follows and the display screen The distance between constructed by relational expression, according to the projection cycle of the determination and distance, determine the grating Place at least one of distance and grating pitch:
Wherein, T0For the projection cycle of grating, ZCBetween described image harvester and the display screen Distance, F are that grating places distance, t0For the horizontal pitch of grating.
Optionally, in one embodiment of the invention, the 3rd determining unit 13 is used for:
According to the space coordinates of the actual acquisition position of described image harvester, the placement distance of the grating And the distance between described image harvester and the display screen, determine described image harvester by marking Quasi- collection position is moved to row's figure theoretical level amount of movement of actual acquisition position;
According to row's figure theoretical level amount of movement, the theoretical level amount of movement of stripe pattern is determined;
According to the theoretical level amount of movement of the stripe pattern, determine described image harvester by standard acquisition Position is moved to behind actual acquisition position in the stripe pattern in the central point of the first color stripe and standard point The theoretical level space coordinates of corresponding central point;
According to corresponding with standard point in the central point of the theoretical level space coordinates and first color stripe Central point real standard space coordinates, determine the real standard amount of movement of stripe pattern;
According to the real standard amount of movement of the stripe pattern, the fringe period, the grating pitch, profit With the incidence relation of the movement of grating and the movement of stripe pattern, the grating and the display screen panel are determined Horizontal relative dislocation.
Optionally, in one embodiment of the invention, the 3rd determining unit 13 is used for:
Determine that described image harvester is moved to actual acquisition position by standard acquisition position by relationship below The row's figure theoretical level amount of movement x1off put:
Wherein, XM=XC-XB, YM=YC-YB, XBAnd YBFor the first face under the standard acquisition position The normed space coordinate of the central point of vitta line, XCAnd YCFor the actual acquisition position of described image harvester Space coordinates, F is the placement distance of the grating, Z be described image harvester and the display screen it Between distance, θ 1 is row's figure inclination angle;
Determine that described image harvester is moved to actual acquisition position by standard acquisition position by relationship below The row's figure theoretical level amount of movement x0off put:
Wherein, T1Scheme the cycle for row, T is fringe period;
According to the theoretical level amount of movement of the stripe pattern, determine described image harvester by standard acquisition Position is moved to behind actual acquisition position in the stripe pattern in the central point of the first color stripe and standard point The theoretical level space coordinates of corresponding central point is XB+ x0off+nT, wherein, n is integer.
Further alternative, in one embodiment of the invention, the 3rd determining unit 13 is used for:
By relationship below, the real standard amount of movement Δ S of the stripe pattern is determined:
Δ S=mod (S-x0off, T)
Wherein, S be first color stripe central point in central point corresponding with standard point real standard Space coordinates, x0off are the theoretical level space coordinates, and mod represents remainder;
Relation in opposite direction constructed by the movement of stripe pattern is equivalent to by the movement following with grating Formula, determine the horizontal relative dislocation Δ t of the grating and the display screen panel0
Wherein, the T is the fringe period, the t0For the horizontal pitch of the grating.
The device of the present embodiment, it can be used for the technical scheme for performing embodiment of the method shown in Fig. 2, it is realized Principle is similar with technique effect, and here is omitted.
It should be noted that the diagram for referring to foregoing teachings and inclination angle understands that the embodiment of the present invention is with grating Left-leaning, row scheme it is left-leaning exemplified by illustrate, but the invention is not restricted to this, grating and row figure can with Right deviation, Obviously, different angled manners, angle are set and the modeling of different coordinate systems may be to of the invention real Apply the relational expression employed in example and produce change, but it is understood that, in the design structure of the embodiment of the present invention Under think of, above-mentioned change is still included within protection scope of the present invention.
It should be noted that herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these Any this actual relation or order be present between entity or operation.Moreover, term " comprising ", " bag Containing " or any other variant thereof is intended to cover non-exclusive inclusion, so that including a series of elements Process, method, article or equipment not only include those key elements, but also including being not expressly set out Other element, or also include for this process, method, article or the intrinsic key element of equipment. Do not have in the case of more limiting, the key element limited by sentence "including a ...", it is not excluded that wrapping Include in process, method, article or the equipment of the key element and other identical element also be present.
Each embodiment in this specification is described by the way of related, identical phase between each embodiment As part mutually referring to what each embodiment stressed is the difference with other embodiment.
For device embodiment, because it is substantially similar to embodiment of the method, so description Fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Expression or logic and/or step described otherwise above herein in flow charts, for example, can be recognized To be the order list for realizing the executable instruction of logic function, any computer may be embodied in In computer-readable recording medium, for instruction execution system, device or equipment (such as computer based system including place Manage device system or other can be from the system of instruction execution system, device or equipment instruction fetch and execute instruction) Use, or used with reference to these instruction execution systems, device or equipment.For the purpose of this specification, " calculate Machine computer-readable recording medium " can be it is any can include, store, communicate, propagate or transmit program for instruction perform System, device or equipment or the device used with reference to these instruction execution systems, device or equipment.Calculate The more specifically example (non-exhaustive list) of machine computer-readable recording medium includes following:Connected up with one or more Electrical connection section (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), Read-only storage (ROM), erasable edit read-only storage (EPROM or flash memory), light Fine device, and portable optic disk read-only storage (CDROM).In addition, computer-readable medium is even Can print the paper or other suitable media of described program thereon, because can be for example by paper Or other media carry out optical scanner, then enter edlin, interpretation or carried out if necessary with other suitable methods Handle electronically to obtain described program, be then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.
In the above-described embodiment, multiple steps or method can be with storages in memory and by suitably referring to Software that execution system performs or firmware is made to realize.If for example, realized with hardware, and in another reality Apply in mode equally, can be realized with any one of following technology well known in the art or their combination: Discrete logic with the logic gates for realizing logic function to data-signal, it is suitable to have The application specific integrated circuit of combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc..
The embodiment of the present invention also provides a kind of electronic equipment, and the electronic equipment includes foregoing any embodiment institute The device stated.
Figure 15 is the structural representation of electronic equipment one embodiment of the present invention, it is possible to achieve Fig. 1-3 of the present invention The flow of illustrated embodiment, as shown in figure 12, above-mentioned electronic equipment can include:Housing 121, processor 122nd, memory 123, circuit board 1212 and power circuit 125, wherein, circuit board 1212 is placed in shell The interior volume that body 121 surrounds, processor 122 and memory 123 are arranged on circuit board 124;Power supply Circuit 125, for each circuit or the device power supply for above-mentioned electronic equipment;Memory 123 can for storage Configuration processor code;Processor 122 is transported by reading the executable program code stored in memory 123 Row program corresponding with executable program code, shows for performing the bore hole 3D described in foregoing any embodiment Show the determination method at the grating inclination angle of equipment.
Processor 122 is to the specific implementation procedure and processor 122 of above-mentioned steps by running executable journey The step of sequence code is further to perform, the description of the inventive method embodiment is may refer to, it is no longer superfluous herein State.
The electronic equipment exists in a variety of forms, includes but is not limited to:
(1) mobile communication equipment:The characteristics of this kind equipment is that possess mobile communication function, and with provide speech, Data communication is main target.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, Feature mobile phone, and low-end mobile phone etc..
(2) super mobile personal computer equipment:This kind equipment belongs to the category of personal computer, there is calculating and place Function is managed, typically also possesses mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC are set It is standby etc., such as iPad.
(3) portable entertainment device:This kind equipment can show and play content of multimedia.The kind equipment includes: Audio, video player (such as iPod), handheld device, e-book, and intelligent toy and portable In-vehicle navigation apparatus.
(4) server:The equipment that the service of calculating is provided, the composition of server include processor, hard disk, internal memory, System bus etc., server is similar with general computer architecture, but due to needing to provide highly reliable clothes Business, therefore in disposal ability, stability, reliability, security, scalability, manageability etc. It is it is required that higher.
(5) other electronic equipments with data interaction function.
Those skilled in the art are appreciated that to realize the whole or portion that above-described embodiment method carries It is that by program the hardware of correlation can be instructed to complete step by step, described program can be stored in a kind of meter In calculation machine readable storage medium storing program for executing, the program upon execution, including one or a combination set of the step of embodiment of the method.
For convenience of description, it is to be divided into various units/modules with function to describe respectively to describe apparatus above.When So, can be the function of each unit/module in same or multiple softwares and/or hardware when implementing of the invention Realize.
As seen through the above description of the embodiments, those skilled in the art can be understood that this Invention can add the mode of required general hardware platform to realize by software.Based on such understanding, this hair The part that bright technical scheme substantially contributes to prior art in other words can be in the form of software product Embody, the computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., including some instructions to cause a computer equipment (can be personal computer, server, Either network equipment etc.) perform method described in some parts of each embodiment of the present invention or embodiment.
One of ordinary skill in the art will appreciate that all or part of flow in above-described embodiment method is realized, It is that by computer program the hardware of correlation can be instructed to complete, described program can be stored in a calculating In machine read/write memory medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method. Wherein, described storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ) or random access memory (Random Access Memory, RAM) etc. ROM.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited to This, any one skilled in the art the invention discloses technical scope in, can readily occur in Change or replacement, should all be included within the scope of the present invention.Therefore, protection scope of the present invention It should be defined by scope of the claims.

Claims (29)

1. a kind of determination method of the grating parameter of bore hole 3D display equipment, the bore hole 3D equipment include Display screen and the grating being arranged on the display screen, it is characterised in that methods described includes:
The first image by image acquisition device is obtained, described first image includes the bore hole 3D The stripe pattern that display device is shown, the bore hole 3D display equipment utilization row set in advance scheme cycle and row Figure inclination angle is arranged the first colored pixels and the second colored pixels on the display screen, and in the work of the grating With under auxiliary, showing the alternate stripe pattern for being provided with the first color stripe and the second color stripe;
According to described first image, the reality of the central point of the first color stripe described in the stripe pattern is obtained The fringe period of border space coordinates and the stripe pattern;
Obtain the space coordinates of actual acquisition position of described image harvester, described image harvester with The pitch of the distance between described display screen, the placement distance of the grating and the grating;
According to the real space coordinate of the central point of first color stripe, the fringe period, the light The placement distance of grid, the space of the actual acquisition position of the pitch of the grating, described image harvester are sat It is marked with and the distance between described image harvester and the display screen, determines the grating and the display The horizontal relative dislocation of panel plate.
2. determination method according to claim 1, it is characterised in that it is described according to described first image, Obtain the real space coordinate of the central point of the first color stripe described in the stripe pattern and the bar graph The fringe period of picture includes:
The stripe pattern is extracted from described first image;
The stripe pattern is converted into tone saturation degree lightness HSV images, and from the HSV images Isolate chrominance component image;
The stripe direction in the chrominance component image is determined, according to the stripe direction of the determination, scans institute Chrominance component image is stated, so that it is determined that going out the central point of the first color stripe in the chrominance component image;
The central point of first color stripe determined is clustered, same is belonged to so as to sort out The central point of first color stripe;
According to the central point for ranging the color stripe of same first, fitting a straight line is carried out, is fitted Striped linear equation afterwards;
According to the striped linear equation after the fitting, the fringe period of the stripe pattern is determined.
3. according to the method for claim 2, it is characterised in that described from the HSV images After isolating chrominance component image, the stripe direction according to the determination, the chrominance component is scanned Image, so that it is determined that going out in the chrominance component image before the central point of the first color stripe, methods described Also include:
According to the stripe direction of the determination, at least one-row pixels point for choosing the chrominance component image is carried out Scanning, it is determined that the central point of the first color stripe described at least one-row pixels point;
It is determined that adjacent center of being gone together described at least one-row pixels point in the central point of the first color stripe The distance between point;
According to the distance between adjacent central point of the colleague, the estimation width of the striped is determined;
According to the estimation width of the striped, it is determined that convolution kernel is filtered, and according to the filtering convolution kernel, to institute State chrominance component image and be filtered processing;
The stripe direction according to the determination, the chrominance component image is scanned, so that it is determined that going out described The central point of the first color stripe includes in chrominance component image:
According to the stripe direction of the determination, the chrominance component image after the filtering process is scanned, so as to really Make the central point of the first color stripe in the chrominance component image.
4. according to the method for claim 3, it is characterised in that the striped side according to the determination To the chrominance component image after the filtering process being scanned, so that it is determined that going out in the chrominance component image The central point of one color stripe includes:
According to the stripe direction of the determination, the chrominance component image after the filtering process is scanned, searches institute State the absolute difference of tone value and the tone value of first color in the first color stripe in chrominance component image The minimum pixel of value, and minimum from the absolute difference of the tone value and the tone value of first color Datum mark is filtered out in pixel;
Search the absolute difference of tone value and the tone value of the datum mark in presumptive area corresponding to the datum mark Pixel of the value less than predetermined threshold value;
According to the space coordinates of the datum mark and the absolute difference of the tone value and the tone value of the datum mark Value determines the first color stripe in the chrominance component image less than the space coordinates of the pixel of predetermined threshold value Central point real space coordinate.
5. according to the method for claim 3, it is characterised in that described to first face determined The central point of vitta line is clustered, and is belonged to the central point of the color stripe of same first so as to sort out and is included:
If two points in the central point determined while meeting following three condition, it is determined that this two Individual point belongs to the color stripe of same first:
Condition 1::Δ x >=-1 or Δ y >=-1
Condition 2:| Δ y | < f*MaxLen
Condition 3:| Δ x | < f*MaxLen
Wherein, Δ x be described two points abscissa difference, Δ y be described two points ordinate difference, f To be less than 1 preset constant more than 0, MaxLen is the estimation width.
6. according to the method for claim 2, it is characterised in that it is described by the stripe pattern from described It is described that the stripe pattern is converted into tone saturation degree lightness HSV images after being extracted in first image, And before from the HSV images isolating chrominance component image, methods described also includes:
Rotated and/or stretched processing to the stripe pattern extracted;
It is described the stripe pattern is converted into tone saturation degree lightness HSV images to include:
The stripe pattern after the rotation and/or flexible processing is converted into tone saturation degree lightness HSV Image;
In the striped linear equation according to after the fitting, bar graph described in described first image is determined After the fringe period of picture, methods described also includes:
According to the rotation and/or flexible processing, fringe period and first color stripe to the determination The real space coordinate of central point carries out reduction treatment, so that the fringe period and the real space coordinate Match with original described first image.
7. according to the method for claim 1, it is characterised in that the acquisition described image harvester Actual acquisition position space coordinates and the distance between described image harvester and the display screen include:
N number of position feature point of bore hole 3D display equipment is determined, N is more than or equal to 4;
According to N number of position feature point determine in described first image respectively with N number of position feature point Corresponding N number of pixel characteristic point;
According to N number of position feature point the bore hole 3D display equipment built in advance geometrical model In pixel coordinate in described first image of space coordinates and N number of pixel characteristic point, utilize aperture Imaging model, determine space coordinates and the described image collection of the actual acquisition position of described image harvester The distance between device and the display screen.
8. according to the method for claim 7, it is characterised in that
N number of position feature point includes 4 angle points of the display screen;
N number of pixel characteristic point corresponding with the N number of position feature point includes institute in described first image State 4 angle points of the edge contour of stripe pattern.
9. according to the method for claim 1, it is characterised in that the placement for obtaining the grating away from Include from the pitch with the grating:
Cycle is schemed according to the fringe period of the stripe pattern and the row, determines the projection cycle of the grating;
According to using between the projection cycle of the grating and described image harvester and the display screen Apart from constructed relational expression, so as to according to the projection cycle of the determination and distance, determine the grating Placement distance and the grating pitch.
10. according to the method for claim 9, it is characterised in that described according to the stripe pattern Fringe period and the row scheme the cycle, and determining the projection cycle of the grating includes:
Scheme cycle and the projection cycle phase using the row in a fringe period according to the stripe pattern The relational expression of poor a cycle structure, so as to which institute be calculated according to row figure cycle and the fringe period State the projection cycle of grating.
11. according to the method for claim 9, it is characterised in that described according to using the grating Relational expression constructed by projection cycle and the distance between described image harvester and the display screen, from And according to the projection cycle of the determination and distance, determining the grating parameter of the grating includes:
According to the projection cycle and described image harvester that make use of the grating as follows and the display screen The distance between constructed by relational expression, according to the projection cycle of the determination and distance, determine the grating Place at least one of distance and grating pitch:
<mrow> <msub> <mi>T</mi> <mn>0</mn> </msub> <mo>=</mo> <mfrac> <mrow> <msub> <mi>Z</mi> <mi>c</mi> </msub> <mo>*</mo> <msub> <mi>t</mi> <mn>0</mn> </msub> </mrow> <mrow> <msub> <mi>Z</mi> <mi>c</mi> </msub> <mo>-</mo> <mi>F</mi> </mrow> </mfrac> </mrow>
Wherein, T0For the projection cycle of grating, ZCBetween described image harvester and the display screen Distance, F are that grating places distance, t0For the horizontal pitch of grating.
12. according to the method described in any one of claim 1 to 11, it is characterised in that described in the basis The real space coordinate of the central point of first color stripe, the fringe period, the placement distance of the grating, The pitch of the grating, the space coordinates and described image of the actual acquisition position of described image harvester The distance between harvester and the display screen, determine the horizontal phase of the grating and the display screen panel Dislocation is included:
According to the space coordinates of the actual acquisition position of described image harvester, the placement distance of the grating And the distance between described image harvester and the display screen, determine described image harvester by marking Quasi- collection position is moved to row's figure theoretical level amount of movement of actual acquisition position;
According to row's figure theoretical level amount of movement, the theoretical level amount of movement of stripe pattern is determined;
According to the theoretical level amount of movement of the stripe pattern, determine described image harvester by standard acquisition Position is moved to behind actual acquisition position in the stripe pattern in the central point of the first color stripe and standard point The theoretical level space coordinates of corresponding central point;
According to corresponding with standard point in the central point of the theoretical level space coordinates and first color stripe Central point real standard space coordinates, determine the real standard amount of movement of stripe pattern;
According to the real standard amount of movement of the stripe pattern, the fringe period, the grating pitch, profit With the incidence relation of the movement of grating and the movement of stripe pattern, the grating and the display screen panel are determined Horizontal relative dislocation.
13. according to the method for claim 12, it is characterised in that
The placement of the space coordinates, the grating of the actual acquisition position according to described image harvester Distance and the distance between described image harvester and the display screen, determine described image harvester Row's figure theoretical level amount of movement of actual acquisition position is moved to by standard acquisition position to be included:
Determine that described image harvester is moved to actual acquisition position by standard acquisition position by relationship below The row's figure theoretical level amount of movement x1off put:
<mrow> <mi>x</mi> <mn>1</mn> <mi>o</mi> <mi>f</mi> <mi>f</mi> <mo>=</mo> <mfrac> <mrow> <mo>(</mo> <msub> <mi>X</mi> <mi>M</mi> </msub> <mo>+</mo> <msub> <mi>Y</mi> <mi>M</mi> </msub> <mo>*</mo> <mi>cot</mi> <mi>&amp;theta;</mi> <mn>1</mn> <mo>)</mo> <mo>*</mo> <mi>F</mi> </mrow> <mrow> <mi>Z</mi> <mo>-</mo> <mi>F</mi> </mrow> </mfrac> </mrow>
Wherein, XM=XC-XB, YM=YC-YB, XBAnd YBFor the first face under the standard acquisition position The normed space coordinate of the central point of vitta line, XCAnd YCFor the actual acquisition position of described image harvester Space coordinates, F is the placement distance of the grating, Z be described image harvester and the display screen it Between distance, θ 1 is row's figure inclination angle;
It is described according to row's figure theoretical level amount of movement and the fringe period, determine the theory of stripe pattern The amount of moving horizontally includes:
Determine that described image harvester is moved to actual acquisition position by standard acquisition position by relationship below The row's figure theoretical level amount of movement x0off put:
<mrow> <mi>x</mi> <mn>0</mn> <mi>o</mi> <mi>f</mi> <mi>f</mi> <mo>=</mo> <mfrac> <mrow> <mi>x</mi> <mn>1</mn> <mi>o</mi> <mi>f</mi> <mi>f</mi> </mrow> <msub> <mi>T</mi> <mn>1</mn> </msub> </mfrac> <mo>*</mo> <mi>T</mi> </mrow>
Wherein, T1Scheme the cycle for row, T is fringe period;
The theoretical level amount of movement according to the stripe pattern, determine described image harvester by standard Collection position is moved to behind actual acquisition position in the stripe pattern in the central point of the first color stripe and mark The theoretical level space coordinates of corresponding central point is X on scheduleB+ x0off+nT, wherein, n is integer.
14. according to the method for claim 12, it is characterised in that
It is described according in the central point of the theoretical level space coordinates and first color stripe with standard point The real standard space coordinates of corresponding central point, determining the real standard amount of movement of the stripe pattern includes:
By relationship below, the real standard amount of movement Δ S of the stripe pattern is determined:
Δ S=mod (S-x0off, T)
Wherein, S be first color stripe central point in central point corresponding with standard point real standard Space coordinates, x0off are the theoretical level space coordinates, and mod represents remainder;
It is described according to the real standard amount of movement of the stripe pattern, the fringe period, the grating pitch, Using grating movement and stripe pattern movement incidence relation, determine the grating and the display panel The horizontal relative dislocation of plate includes:
Relation in opposite direction constructed by the movement of stripe pattern is equivalent to by the movement following with grating Formula, determine the horizontal relative dislocation Δ t of the grating and the display screen panel0
<mrow> <mfrac> <mrow> <mi>&amp;Delta;</mi> <mi>S</mi> </mrow> <mi>T</mi> </mfrac> <mo>=</mo> <mo>-</mo> <mfrac> <mrow> <msub> <mi>&amp;Delta;t</mi> <mn>0</mn> </msub> </mrow> <msub> <mi>t</mi> <mn>0</mn> </msub> </mfrac> </mrow> 6
Wherein, the T is the fringe period, the t0For the horizontal pitch of the grating.
15. a kind of determining device of the grating parameter of bore hole 3D display equipment, the bore hole 3D equipment include Display screen and the grating being arranged on the display screen, it is characterised in that described device includes:
Acquiring unit, for obtaining by the first image of image acquisition device, in described first image The stripe pattern shown including the bore hole 3D display equipment, the bore hole 3D display equipment utilization are set in advance Fixed row schemes the cycle and row's figure inclination angle is arranged on the display screen the first colored pixels and the second colored pixels, And under the effect auxiliary of the grating, show and alternate be provided with the first color stripe and the second color stripe The stripe pattern;
First determining unit, for according to described first image, obtaining the first face described in the stripe pattern The real space coordinate of the central point of vitta line and the fringe period of the stripe pattern;
Second determining unit, the space coordinates of the actual acquisition position for obtaining described image harvester, The distance between described image harvester and the display screen, the placement distance of the grating and the grating Pitch;
3rd determining unit, real space coordinate, institute for the central point according to first color stripe State fringe period, placement distance, the pitch of the grating, the reality of described image harvester of the grating Border gathers the space coordinates and the distance between described image harvester and the display screen of position, it is determined that The horizontal relative dislocation of the grating and the display screen panel.
16. determining device according to claim 15, it is characterised in that first determining unit is used In:
The stripe pattern is extracted from described first image;
The stripe pattern is converted into tone saturation degree lightness HSV images, and from the HSV images Isolate chrominance component image;
The stripe direction in the chrominance component image is determined, according to the stripe direction of the determination, scans institute Chrominance component image is stated, so that it is determined that going out the central point of the first color stripe in the chrominance component image;
The central point of first color stripe determined is clustered, same is belonged to so as to sort out The central point of first color stripe;
According to the central point for ranging the color stripe of same first, fitting a straight line is carried out, is fitted Striped linear equation afterwards;
According to the striped linear equation after the fitting, the fringe period of the stripe pattern is determined.
17. determining device according to claim 16, it is characterised in that first determining unit is used In:
According to the stripe direction of the determination, at least one-row pixels point for choosing the chrominance component image is carried out Scanning, it is determined that the central point of the first color stripe described at least one-row pixels point;
It is determined that adjacent center of being gone together described at least one-row pixels point in the central point of the first color stripe The distance between point;
According to the distance between adjacent central point of the colleague, the estimation width of the striped is determined;
According to the estimation width of the striped, it is determined that convolution kernel is filtered, and according to the filtering convolution kernel, to institute State chrominance component image and be filtered processing;
Then, first determining unit is used for:
According to the stripe direction of the determination, the chrominance component image after the filtering process is scanned, so as to really Make the central point of the first color stripe in the chrominance component image.
18. device according to claim 17, it is characterised in that first determining unit is used for:
According to the stripe direction of the determination, the chrominance component image after the filtering process is scanned, searches institute State the absolute difference of tone value and the tone value of first color in the first color stripe in chrominance component image The minimum pixel of value, and minimum from the absolute difference of the tone value and the tone value of first color Datum mark is filtered out in pixel;
Search the absolute difference of tone value and the tone value of the datum mark in presumptive area corresponding to the datum mark Pixel of the value less than predetermined threshold value;
According to the space coordinates of the datum mark and the absolute difference of the tone value and the tone value of the datum mark Value determines the first color stripe in the chrominance component image less than the space coordinates of the pixel of predetermined threshold value Central point real space coordinate.
19. device according to claim 17, it is characterised in that first determining unit is used for:
If two points in the central point determined while meeting following three condition, it is determined that this two Individual point belongs to the color stripe of same first:
Condition 1::Δ x >=-1 or Δ y >=-1
Condition 2:| Δ y | < f*MaxLen
Condition 3:| Δ x | < f*MaxLen
Wherein, Δ x be described two points abscissa difference, Δ y be described two points ordinate difference, f To be less than 1 preset constant more than 0, MaxLen is the estimation width.
20. device according to claim 16, it is characterised in that first determining unit is additionally operable to:
Rotated and/or stretched processing to the stripe pattern extracted;
First determining unit is used for:
The stripe pattern after the rotation and/or flexible processing is converted into tone saturation degree lightness HSV Image;
In the striped linear equation according to after the fitting, bar graph described in described first image is determined After the fringe period of picture, according to the rotation and/or flexible processing, fringe period to the determination and described The real space coordinate of first color stripe central point carries out reduction treatment, so that the fringe period and described Real space coordinate matches with original described first image.
21. device according to claim 15, it is characterised in that second determining unit is used for:
N number of position feature point of bore hole 3D display equipment is determined, N is more than or equal to 4;
According to N number of position feature point determine in described first image respectively with N number of position feature point Corresponding N number of pixel characteristic point;
According to N number of position feature point the bore hole 3D display equipment built in advance geometrical model In pixel coordinate in described first image of space coordinates and N number of pixel characteristic point, utilize aperture Imaging model, determine space coordinates and the described image collection of the actual acquisition position of described image harvester The distance between device and the display screen.
22. device according to claim 21, it is characterised in that
N number of position feature point includes 4 angle points of the display screen;
N number of pixel characteristic point corresponding with the N number of position feature point includes institute in described first image State 4 angle points of the edge contour of stripe pattern.
23. device according to claim 15, it is characterised in that second determining unit is used for:
Cycle is schemed according to the fringe period of the stripe pattern and the row, determines the projection cycle of the grating;
According to using between the projection cycle of the grating and described image harvester and the display screen Apart from constructed relational expression, so as to according to the projection cycle of the determination and distance, determine the grating Placement distance and the grating pitch.
24. device according to claim 23, it is characterised in that second determining unit is used for:
Scheme cycle and the projection cycle phase using the row in a fringe period according to the stripe pattern The relational expression of poor a cycle structure, so as to which institute be calculated according to row figure cycle and the fringe period State the projection cycle of grating.
25. device according to claim 23, it is characterised in that second determining unit is used for:
According to the projection cycle and described image harvester that make use of the grating as follows and the display screen The distance between constructed by relational expression, according to the projection cycle of the determination and distance, determine the grating Place at least one of distance and grating pitch:
<mrow> <msub> <mi>T</mi> <mn>0</mn> </msub> <mo>=</mo> <mfrac> <mrow> <msub> <mi>Z</mi> <mi>c</mi> </msub> <mo>*</mo> <msub> <mi>t</mi> <mn>0</mn> </msub> </mrow> <mrow> <msub> <mi>Z</mi> <mi>c</mi> </msub> <mo>-</mo> <mi>F</mi> </mrow> </mfrac> </mrow>
Wherein, T0For the projection cycle of grating, ZCBetween described image harvester and the display screen Distance, F are that grating places distance, t0For the horizontal pitch of grating.
26. according to the device described in any one of claim 15 to 25, it is characterised in that the described 3rd is true Order member is used for:
According to the space coordinates of the actual acquisition position of described image harvester, the placement distance of the grating And the distance between described image harvester and the display screen, determine described image harvester by marking Quasi- collection position is moved to row's figure theoretical level amount of movement of actual acquisition position;
According to row's figure theoretical level amount of movement, the theoretical level amount of movement of stripe pattern is determined;
According to the theoretical level amount of movement of the stripe pattern, determine described image harvester by standard acquisition Position is moved to behind actual acquisition position in the stripe pattern in the central point of the first color stripe and standard point The theoretical level space coordinates of corresponding central point;
According to corresponding with standard point in the central point of the theoretical level space coordinates and first color stripe Central point real standard space coordinates, determine the real standard amount of movement of stripe pattern;
According to the real standard amount of movement of the stripe pattern, the fringe period, the grating pitch, profit With the incidence relation of the movement of grating and the movement of stripe pattern, the grating and the display screen panel are determined Horizontal relative dislocation.
27. device according to claim 26, it is characterised in that the 3rd determining unit is used for:
Determine that described image harvester is moved to actual acquisition position by standard acquisition position by relationship below The row's figure theoretical level amount of movement x1off put:
<mrow> <mi>x</mi> <mn>1</mn> <mi>o</mi> <mi>f</mi> <mi>f</mi> <mo>=</mo> <mfrac> <mrow> <mo>(</mo> <msub> <mi>X</mi> <mi>M</mi> </msub> <mo>+</mo> <msub> <mi>Y</mi> <mi>M</mi> </msub> <mo>*</mo> <mi>cot</mi> <mi>&amp;theta;</mi> <mn>1</mn> <mo>)</mo> <mo>*</mo> <mi>F</mi> </mrow> <mrow> <mi>Z</mi> <mo>-</mo> <mi>F</mi> </mrow> </mfrac> </mrow>
Wherein, XM=XC-XB, YM=YC-YB, XBAnd YBFor the first face under the standard acquisition position The normed space coordinate of the central point of vitta line, XCAnd YCFor the actual acquisition position of described image harvester Space coordinates, F is the placement distance of the grating, Z be described image harvester and the display screen it Between distance, θ 1 is row's figure inclination angle;
Determine that described image harvester is moved to actual acquisition position by standard acquisition position by relationship below The row's figure theoretical level amount of movement x0off put:
<mrow> <mi>x</mi> <mn>0</mn> <mi>o</mi> <mi>f</mi> <mi>f</mi> <mo>=</mo> <mfrac> <mrow> <mi>x</mi> <mn>1</mn> <mi>o</mi> <mi>f</mi> <mi>f</mi> </mrow> <msub> <mi>T</mi> <mn>1</mn> </msub> </mfrac> <mo>*</mo> <mi>T</mi> </mrow>
Wherein, T1Scheme the cycle for row, T is fringe period;
According to the theoretical level amount of movement of the stripe pattern, determine described image harvester by standard acquisition Position is moved to behind actual acquisition position in the stripe pattern in the central point of the first color stripe and standard point The theoretical level space coordinates of corresponding central point is XB+ x0off+nT, wherein, n is integer.
28. device according to claim 26, it is characterised in that the 3rd determining unit is used for:
By relationship below, the real standard amount of movement Δ S of the stripe pattern is determined:
Δ S=mod (S-x0off, T)
Wherein, S be first color stripe central point in central point corresponding with standard point real standard Space coordinates, x0off are the theoretical level space coordinates, and mod represents remainder;
Relation in opposite direction constructed by the movement of stripe pattern is equivalent to by the movement following with grating Formula, determine the horizontal relative dislocation Δ t of the grating and the display screen panel0
<mrow> <mfrac> <mrow> <mi>&amp;Delta;</mi> <mi>S</mi> </mrow> <mi>T</mi> </mfrac> <mo>=</mo> <mo>-</mo> <mfrac> <mrow> <msub> <mi>&amp;Delta;t</mi> <mn>0</mn> </msub> </mrow> <msub> <mi>t</mi> <mn>0</mn> </msub> </mfrac> </mrow>
Wherein, the T is the fringe period, the t0For the horizontal pitch of the grating.
29. a kind of electronic equipment, it is characterised in that the electronic equipment includes:Housing, processor, deposit Reservoir, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, processor Set on circuit boards with memory;Power circuit, for each circuit or device for above-mentioned electronic equipment Power supply;Memory is used to store executable program code;What processor was stored by reading in memory holds Line program code runs program corresponding with executable program code, for performing foregoing any claim The determination method of the grating parameter of bore hole 3D display equipment described in 1-14.
CN201610297604.6A 2016-05-06 2016-05-06 Method and device for determining grating parameters of naked eye 3D display equipment and electronic equipment Expired - Fee Related CN107346040B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610297604.6A CN107346040B (en) 2016-05-06 2016-05-06 Method and device for determining grating parameters of naked eye 3D display equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610297604.6A CN107346040B (en) 2016-05-06 2016-05-06 Method and device for determining grating parameters of naked eye 3D display equipment and electronic equipment

Publications (2)

Publication Number Publication Date
CN107346040A true CN107346040A (en) 2017-11-14
CN107346040B CN107346040B (en) 2019-12-20

Family

ID=60254261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610297604.6A Expired - Fee Related CN107346040B (en) 2016-05-06 2016-05-06 Method and device for determining grating parameters of naked eye 3D display equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN107346040B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108419072A (en) * 2018-01-17 2018-08-17 深圳市绚视科技有限公司 A kind of bearing calibration of bore hole 3D display screen and means for correcting, storage medium
CN111508447A (en) * 2020-04-27 2020-08-07 上海济丽信息技术有限公司 Image time sequence control circuit of grating type naked eye 3D liquid crystal screen based on FPGA
CN112346258A (en) * 2020-11-06 2021-02-09 上海易维视科技有限公司 Grating visual area calibration method and system based on square wave fitting
CN112770102A (en) * 2021-01-12 2021-05-07 广东未来科技有限公司 Method, computer readable medium and system for detecting joint angle of 3D grating film
CN113674199A (en) * 2021-07-06 2021-11-19 浙江大华技术股份有限公司 Parking space detection method, electronic device and storage medium
WO2023015676A1 (en) * 2021-08-12 2023-02-16 深圳市立体通技术有限公司 Method and apparatus for detecting pixel arrangement mode of display screen, and computer device
CN117351859A (en) * 2023-12-05 2024-01-05 深圳市深顺欣科技有限公司 Detection method, device and system for display module

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2745902B2 (en) * 1991-01-29 1998-04-28 凸版印刷株式会社 Display with diffraction grating pattern
CN101435919A (en) * 2008-10-21 2009-05-20 北京超多维科技有限公司 Indicating type stereo display device
CN102207424A (en) * 2010-12-29 2011-10-05 深圳超多维光电子有限公司 Parameter measuring system and method of stereo display device
CN102364391A (en) * 2011-11-04 2012-02-29 深圳超多维光电子有限公司 Equipment and method for stereoscopic display
WO2012069071A1 (en) * 2010-11-24 2012-05-31 Fraunhofer-Gesellschaft zur Föderung der angewandten Forschung e.V. Method for compensating a misalignment between a subpixel array of a display and an optical grating and autostereoscopic display
CN203054349U (en) * 2012-12-05 2013-07-10 深圳市亿思达显示科技有限公司 Stereoscopic display device
CN104155824A (en) * 2014-08-08 2014-11-19 京东方科技集团股份有限公司 Active optical grating and naked eye 3D display device and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2745902B2 (en) * 1991-01-29 1998-04-28 凸版印刷株式会社 Display with diffraction grating pattern
CN101435919A (en) * 2008-10-21 2009-05-20 北京超多维科技有限公司 Indicating type stereo display device
WO2012069071A1 (en) * 2010-11-24 2012-05-31 Fraunhofer-Gesellschaft zur Föderung der angewandten Forschung e.V. Method for compensating a misalignment between a subpixel array of a display and an optical grating and autostereoscopic display
CN102207424A (en) * 2010-12-29 2011-10-05 深圳超多维光电子有限公司 Parameter measuring system and method of stereo display device
CN102364391A (en) * 2011-11-04 2012-02-29 深圳超多维光电子有限公司 Equipment and method for stereoscopic display
CN203054349U (en) * 2012-12-05 2013-07-10 深圳市亿思达显示科技有限公司 Stereoscopic display device
CN104155824A (en) * 2014-08-08 2014-11-19 京东方科技集团股份有限公司 Active optical grating and naked eye 3D display device and method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108419072A (en) * 2018-01-17 2018-08-17 深圳市绚视科技有限公司 A kind of bearing calibration of bore hole 3D display screen and means for correcting, storage medium
CN111508447A (en) * 2020-04-27 2020-08-07 上海济丽信息技术有限公司 Image time sequence control circuit of grating type naked eye 3D liquid crystal screen based on FPGA
CN112346258A (en) * 2020-11-06 2021-02-09 上海易维视科技有限公司 Grating visual area calibration method and system based on square wave fitting
CN112770102A (en) * 2021-01-12 2021-05-07 广东未来科技有限公司 Method, computer readable medium and system for detecting joint angle of 3D grating film
CN113674199A (en) * 2021-07-06 2021-11-19 浙江大华技术股份有限公司 Parking space detection method, electronic device and storage medium
WO2023015676A1 (en) * 2021-08-12 2023-02-16 深圳市立体通技术有限公司 Method and apparatus for detecting pixel arrangement mode of display screen, and computer device
CN117351859A (en) * 2023-12-05 2024-01-05 深圳市深顺欣科技有限公司 Detection method, device and system for display module
CN117351859B (en) * 2023-12-05 2024-02-09 深圳市深顺欣科技有限公司 Detection method, device and system for display module

Also Published As

Publication number Publication date
CN107346040B (en) 2019-12-20

Similar Documents

Publication Publication Date Title
CN107346040A (en) The determination method, apparatus and electronic equipment of the grating parameter of bore hole 3D display equipment
CN107346041A (en) The determination method, apparatus and electronic equipment of the grating parameter of bore hole 3D display equipment
CN107347152B (en) The determination method, apparatus and electronic equipment at the grating inclination angle of naked eye 3D display equipment
Cyganek et al. An introduction to 3D computer vision techniques and algorithms
CN104330074B (en) Intelligent surveying and mapping platform and realizing method thereof
Lanman et al. Build your own 3D scanner: 3D photography for beginners
CN110111262A (en) A kind of projector distortion correction method, device and projector
Rogers Perceiving pictorial space
US7522163B2 (en) Method and apparatus for determining offsets of a part from a digital image
CN108513123B (en) Image array generation method for integrated imaging light field display
CN109035388A (en) Three-dimensional face model method for reconstructing and device
CN107179613B (en) A kind of display bearing calibration, device and the electronic equipment of bore hole stereoscopic display equipment
CN109660783A (en) Virtual reality parallax correction
US9865045B2 (en) Orthogonal and collaborative disparity decomposition
CN106155299B (en) A kind of pair of smart machine carries out the method and device of gesture control
CN102262783B (en) Method and system for restructuring motion of three-dimensional gesture
CN106683068A (en) Three-dimensional digital image acquisition method and equipment thereof
CN108898665A (en) Three-dimensional facial reconstruction method, device, equipment and computer readable storage medium
CN107155104A (en) A kind of display bearing calibration of bore hole stereoscopic display equipment and device
CN107038722A (en) A kind of equipment localization method and device
CN106327576B (en) A kind of City scenarios method for reconstructing and system
CN104735360B (en) Light field image treating method and apparatus
CN106952262A (en) A kind of deck of boat analysis of Machining method based on stereoscopic vision
Lanman et al. Build your own 3D scanner: optical triangulation for beginners
Feng et al. Semi-automatic 3d reconstruction of piecewise planar building models from single image

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

Effective date of registration: 20180726

Address after: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Applicant after: SUPERD Co.,Ltd.

Address before: 518053 East Guangdong H-1 East 101, overseas Chinese town, Nanshan District, Shenzhen.

Applicant before: SHENZHEN SUPER PERFECT OPTICS Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191220