日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

可持久化数据结构加扫描线_结构化光扫描

發(fā)布時(shí)間:2023/12/15 编程问答 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 可持久化数据结构加扫描线_结构化光扫描 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

可持久化數(shù)據(jù)結(jié)構(gòu)加掃描線

Traditional cameras and image sensors can only obtain two-dimensional images, lacking depth information, which imposes great limitations on the perception and understanding of real objects. In recent decades, with the continuous development of high-definition, high-speed image sensors and computing capabilities, three-dimensional surface imaging technology has achieved remarkable results in research, engineering, and business. In particular, the structured light three-dimensional surface imaging technology has been applied to various places.

傳統(tǒng)的相機(jī)和圖像傳感器只能獲取缺乏深度信息的二維圖像,這對(duì)真實(shí)物體的感知和理解施加了很大的限制。 近幾十年來(lái),隨著高清,高速圖像傳感器和計(jì)算功能的不斷發(fā)展,三維表面成像技術(shù)在研究,工程和商業(yè)方面取得了顯著成果。 特別地,結(jié)構(gòu)化光三維表面成像技術(shù)已被應(yīng)用于各個(gè)地方。

For every major visual effects movie, the principal actors’ bodies and heads are scanned before or during production using the types of scanners. The resulting 3D scans are used to build digital stunt doubles for actors, to aid in creating realistic aging transformations, or to provide a starting point for morphing into a computer-generated creature.

對(duì)于每部主要視覺(jué)效果電影,在制作之前或制作過(guò)程中,都使用掃描儀類(lèi)型對(duì)主要演員的身體和頭部進(jìn)行掃描。 由此產(chǎn)生的3D掃描用于為演員建立數(shù)字特技雙打,以幫助實(shí)現(xiàn)逼真的衰老轉(zhuǎn)換,或提供變身為計(jì)算機(jī)生成生物的起點(diǎn)。

Projecting a narrow band of light across three dimensions in the shape of a surface produces a line of illumination that appears distorted from perspectives other than that of the projector and can be used for an exact geometric reconstruction of the surface shape.

在表面形狀的三個(gè)維度上投射一條狹窄的光帶會(huì)產(chǎn)生一條照明線,該照明線從投影機(jī)以外的其他角度看起來(lái)會(huì)變形,并且可以用于表面形狀的精確幾何重構(gòu)。

A faster and more versatile method is the projection of patterns consisting of many stripes at once, or of arbitrary fringes.A sinusoidal fringe is generated by computer programming, and the sinusoidal fringe is projected to the object to be measured through a projection device. The camera is used to capture the degree of curvature of the fringe modulated by the object, the pattern appears geometrically distorted due to the surface shape of the object.

更快,更通用的方法是一次投影由多個(gè)條紋組成的圖案或任意條紋。通過(guò)計(jì)算機(jī)編程生成正弦條紋,然后將正弦條紋通過(guò)投影設(shè)備投影到要測(cè)量的對(duì)象上。 相機(jī)用于捕獲物體調(diào)制的條紋的曲率程度,圖案由于物體的表面形狀而出現(xiàn)幾何失真。

This article mainly describes the principle and implementation of the three-dimensional surface imaging technology of light-composition, especially the phase measuring profilometry (PMP).

本文主要介紹了光組成三維表面成像技術(shù)的原理和實(shí)現(xiàn),尤其是相位測(cè)量輪廓圖(PMP)。

Compared with encoding structured light methods such as Binary code and Gray code, PMP does not require complex encoding, and the algorithm can calculate the height value according to the information of each pixel, so as to achieve full-scale high-precision measurement. In the phase method, the following steps are usually included :

與二進(jìn)制碼,格雷碼等編碼結(jié)構(gòu)光方法相比,PMP不需要復(fù)雜的編碼,該算法可以根據(jù)每個(gè)像素的信息計(jì)算出高度值,從而實(shí)現(xiàn)了全方位的高精度測(cè)量。 在階段方法中,通常包括以下步驟:

  • Project a structured texture image (usually a sinusoidal grating pattern) onto the surface of the object to be measured.

    將結(jié)構(gòu)化的紋理圖像(通常是正弦光柵圖案)投影到要測(cè)量的對(duì)象的表面上。
  • Record raster images phase-modulated by the height of the object.

    記錄通過(guò)對(duì)象高度進(jìn)行相位調(diào)制的光柵圖像。
  • Use grating analysis technology to extract the phase.

    使用光柵分析技術(shù)提取相位。
  • Use a suitable phase unwrapping algorithm to obtain a continuous phase distribution that changes in proportion to the height of the object.

    使用合適的相位展開(kāi)算法來(lái)獲得連續(xù)的相位分布,該分布與對(duì)象的高度成比例地變化。
  • The calibration system maps the expanded phase distribution to the real-world three-dimensional coordinate system.

    校準(zhǔn)系統(tǒng)將擴(kuò)展的相位分布映射到實(shí)際的三維坐標(biāo)系。
  • 正弦波模式的產(chǎn)生 (Generation of Sinusoidal Pattern)

    Phase measurement profilometry needs to project sinusoidal grating patterns with different phases onto the surface of the object.

    相位測(cè)量輪廓儀需要將具有不同相位的正弦光柵圖案投影到物體表面。

    The LCD projector can use a personal computer to control the projected image. The sinusoidal grating image is generated by projection software, which provides an efficient structured light projection scheme. We assume that the resolution of the LCD projector is R x C. For each column c in the generated sinusoidal grating image, c=0,1,2,…,C-1, there are:

    LCD投影儀可以使用個(gè)人計(jì)算機(jī)控制投影圖像。 正弦光柵圖像由投影軟件生成,該投影軟件提供了有效的結(jié)構(gòu)化光投影方案。 我們假設(shè)LCD投影儀的分辨率為R xC。對(duì)于生成的正弦光柵圖像中的每一列c, c = 0,1,2,…,C-1 ,有:

    F_{n}(r,c) is the pixel value at (r,c) in the raster image after phase shifting k steps. In our example, k={1,2,3 ,4}, p is the grating period in pixels, δ is the phase shift increment.Figure below shows the sinusoidal raster images generated by the software.

    F_ {n}(r,c)是相移k步后光柵圖像中(r,c)處的像素值。 在我們的示例中,k = {1,2,3,4},p是以像素為單位的光柵周期, δ是相移增量。下圖顯示了該軟件生成的正弦光柵圖像。

    Each image is shifted by a quarter of a period to the right from the previous image. Image By Author每個(gè)圖像從上一個(gè)圖像向右移動(dòng)四分之一周期。 圖片作者

    相位測(cè)量輪廓儀 (Phase Measuring Profilometry)

    The sinusoidal grating image generated by the projection module is projected onto the surface of the object placed on the reference plane, and the refracted light is captured by the image acquisition module (Camera).

    由投影模塊生成的正弦光柵圖像被投影到放置在參考平面上的對(duì)象的表面上,并且折射光被圖像獲取模塊(相機(jī))捕獲。

    The following figure shows the picture when 4 sine grating images with different phases are projected onto the surface of the object using the phase shift method when k=4..Image By Author下圖顯示了當(dāng)k = 4時(shí)使用相移方法將4個(gè)不同相位的正弦光柵圖像投影到對(duì)象表面時(shí)的圖片。

    Since the projected sinogram changes in the same pattern in the column direction, the contour of the object can be constructed by the calculation results of each row.

    由于投影的正弦圖在列方向上以相同的模式變化,因此可以通過(guò)每行的計(jì)算結(jié)果來(lái)構(gòu)造對(duì)象的輪廓。

    Source資源

    We assume that point O is the intersection of the optical axis and the reference plane, point O is used as the origin of the coordinate and the phase is 0.

    我們假設(shè)點(diǎn)O是光軸與參考平面的交點(diǎn),點(diǎn)O被用作坐標(biāo)的原點(diǎn),并且相位為0。

    The period of the sine grating image projected on the reference plane is p_{o}, the period of the original sine grating image is

    投影在參考平面上的正弦光柵圖像的周期為p_ {o} ,原始正弦光柵圖像的周期為

    The sensor in the camera receives the light reflected at point D on the surface of the object, if there is no object, the same position in the sensor will receive the light reflected at point C on the reference plane. Correspondingly, the light refracted at point D on the surface of the object is the same as the light refracted at point G on the horizontal plane without an object. So the phase of the projected image at point D is equal to the phase at point G, and there are:

    相機(jī)中的傳感器接收在物體表面D點(diǎn)反射的光,如果沒(méi)有物體,則傳感器中相同的位置將接收在參考平面上C點(diǎn)反射的光。 相應(yīng)地,在物體表面上的點(diǎn)D處折射的光與在沒(méi)有物體的情況下在水平面上的點(diǎn)G處折射的光相同。 因此,投影圖像在D點(diǎn)的相位等于G點(diǎn)的相位,并且有:

    Where,

    哪里,

    Is the phase value of the projected image at point C.

    是投影圖像在C點(diǎn)的相位值。

    The phase difference between point D and point C is:

    D點(diǎn)和C點(diǎn)之間的相位差為:

    According to the geometric relationship, we get:

    根據(jù)幾何關(guān)系,我們得到:

    According to the above formula , we get:

    根據(jù)以上公式,我們得到:

    OD is the height of the object at point O.

    OD是對(duì)象在點(diǎn)O處的高度。

    The general formula is:

    通用公式為:

    Where,?o(x,y) is the phase at the point (x,y), and ?r(x,y) is the phase on the reference plane at the corresponding point.

    其中,φO(X,Y)是在該點(diǎn)的相(X,Y),以及φR(X,y)是在相應(yīng)點(diǎn)上的基準(zhǔn)平面的相位。

    相移輪廓儀 (Phase Shift Profilometry)

    When the light is stable and the Camera is linear, the light intensity I(x,y) at a certain point (x,y) in the captured image can be expressed as the following formula :

    當(dāng)光線穩(wěn)定且相機(jī)呈線性時(shí),可以將捕獲圖像中某個(gè)點(diǎn)(x,y)的光強(qiáng)度I(x,y)表示為以下公式:

    Where,B(x,y) is the background light intensity, C(x,y) is the amplitude value of the sinusoidal grating, and ?(x,y) is the phase value modulated by the height of the object.

    其中,B(x,y)是背景光強(qiáng)度,C(x,y)是正弦光柵的幅度值, ? (x,y)是由物體高度調(diào)制的相位值。

    I(x,y) can be obtained by camera. In order to eliminate the B(x,y) and C(x,y) in the formula and get ?(x,y), we use aphase extraction algorithm called the phase shift method.

    I(x,y)可以通過(guò)相機(jī)獲得。 為了消除公式中的B(x,y)和C(x,y)并獲得? (x,y),我們使用一種稱(chēng)為相移法的無(wú)相提取算法。

    In the phase shift method, the phase will be moved k times, each time the same value is θ_{k}. The formula \ref{eq:2.6} can be written as:

    在相移方法中,每次相同的值是θ_ {k}時(shí),相位將移動(dòng)k次。 公式\ ref {eq:2.6}可以寫(xiě)成:

    Let,

    讓,

    Substitute in the above formula, we can get:

    用上面的公式代替,我們可以得到:

    And,

    和,

    So we get the phase value:

    這樣我們就得到了相位值:

    Then the surface height of the object can be calculated

    然后可以計(jì)算出物體的表面高度

    The phase shift method uses the light intensity information of multiple images to calculate the phase of each point, so it has a certain anti-noise ability. But in the sampling process, the object is required to remain still, so it is not suitable for dynamic measurement.

    相移法利用多個(gè)圖像的光強(qiáng)度信息來(lái)計(jì)算每個(gè)點(diǎn)的相位,因此具有一定的抗噪能力。 但是在采樣過(guò)程中,要求對(duì)象保持靜止,因此不適合動(dòng)態(tài)測(cè)量。

    相位展開(kāi) (Phase Unwrapping)

    At this time, the final continuous phase is not what we want, because the phase obtained by the phase shift technique is an inverse tangent function, so the original phase will be compressed in between [-π/2,π/2] with a period of π .

    此時(shí),最終的連續(xù)相位不是我們想要的,因?yàn)橥ㄟ^(guò)相移技術(shù)獲得的相位是反正切函數(shù),因此原始相位將在[-π/ 2,π/ 2]之間壓縮為π的周期。

    Thus there will appear repeatedly π gap wrapped phase map, and the removal of these drops it is called phase unwrapping technique.

    因此,將反復(fù)出現(xiàn)π間隙包裹的相位圖,將這些液滴的去除稱(chēng)為相位展開(kāi)技術(shù)。

    According to Shannon’s sampling theorem, in the correct two-dimensional phase distribution, the absolute value of the phase difference between each point and any point adjacent to it must be less than π to avoid aliasing. Therefore, when the phase difference between the reference point and its neighboring point is greater than π, phase unwrapping is required, and a value of ±2π needs to be added so that a continuous phase distribution can be obtained. This is the basic theory of phase unwrapping.

    根據(jù)香農(nóng)的采樣定理,在正確的二維相位分布中,每個(gè)點(diǎn)和與其相鄰的任何點(diǎn)之間的相位差的絕對(duì)值必須小于π以避免混疊。 因此,當(dāng)參考點(diǎn)與其相鄰點(diǎn)之間的相位差大于π時(shí),需要相位解纏,并且需要加上±2π的值,以便可以獲得連續(xù)的相位分布。 這是相位展開(kāi)的基本理論。

    (a) One-dimensional phase distribution diagram, the phase value will be limited to 2π modulus. (b) After judging, add an integer multiple of the period 2π at each phase jump to obtain a continuously distributed phase map.(a)一維相位分布圖,相位值將限制為2π模數(shù)。 (b)判斷后,在每個(gè)相位跳變處添加周期2π的整數(shù)倍,以獲得連續(xù)分布的相位圖。

    Generally, a two-dimensional phase expansion method can be expressed as the following formula:

    通常,二維相擴(kuò)展方法可以表示為以下公式:

    Where, ? represents the phase value after expansion, ?(x,y) represents the phase value in the original 2π modulus,?_0 represents the phase value of the reference neighboring point, and Round[x] represents the integer value closest to x.

    其中, ?表示擴(kuò)展后的相位值, ?(x,y)表示原始2π模量的相位值, ? _0表示參考相鄰點(diǎn)的相位值,Round [x]表示最接近x的整數(shù)值。

    This basic rule is only applicable to phase diagrams with small noise and no inconsistency. Once the noise increases or there is discontinuity in the phase itself , resulting in discontinuities.

    該基本規(guī)則僅適用于噪聲小且沒(méi)有不一致的相位圖。 一旦噪聲增加或相位本身不連續(xù),就會(huì)導(dǎo)致不連續(xù)。

    結(jié)論 (Conclusion)

    This lesson covers the basic, low-level operations and tools of image processing, which are necessary for understanding most of the commonly used methods and tools of computer vision

    本課程涵蓋了圖像處理的基本,低級(jí)操作和工具,這對(duì)于理解計(jì)算機(jī)視覺(jué)的大多數(shù)常用方法和工具是必不可少的

    翻譯自: https://towardsdatascience.com/structured-light-scanning-c125d5e06c41

    可持久化數(shù)據(jù)結(jié)構(gòu)加掃描線

    總結(jié)

    以上是生活随笔為你收集整理的可持久化数据结构加扫描线_结构化光扫描的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

    如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。

    主站蜘蛛池模板: 亚洲国产精品无码专区 | 精品国产乱码久久久人妻 | 国产欧美激情在线观看 | 视频一区二区三 | 黄色免费视频 | 黄色aa视频 | 亚洲少妇中文字幕 | 亚洲成人免费av | 一区二区三区不卡在线 | 日本sm调教—视频|vk | 视频在线观看视频 | 午夜精品久久久久久久第一页按摩 | 久久精品国产免费看久久精品 | av在线播放免费 | 国产精品mm| 亚洲高清一区二区三区 | 国产天堂第一区 | 超级砰砰砰97免费观看最新一期 | 男女超碰 | 性视频在线播放 | 亚洲成人午夜影院 | 国产在线二区 | 在线观看亚洲精品 | 美女作爱网站 | 亚洲国产精品尤物yw在线观看 | 老司机午夜av | 国产一线av | 欧美精品成人一区二区三区四区 | 黄视频在线观看免费 | 日本成人久久 | 精品综合久久久久 | 成人在线播放av | 一区二区日韩精品 | 国产专区一区 | 国产黄a三级三级三级看三级男男 | 日韩视频免费在线观看 | 精品中文字幕av | 欧美高h| 国产男女av | 香港三日本三级少妇66 | 美女主播福利视频 | 日韩免费av一区 | 久久大陆 | av日韩国产| 欧美在线视频一区二区三区 | a级片毛片 | 人妻少妇精品无码专区 | 爱逼av | 成人学院中文字幕 | 毛毛毛片 | 91爱爱影院 | 国产精品无码一区二区三区免费 | av2014天堂| 亚洲欧洲在线看 | av成人在线免费观看 | 亚洲色偷精品一区二区三区 | 亚洲国产网站 | 欧美激情一区二区三区免费观看 | 国产乱人乱偷精品视频a人人澡 | 九九天堂| av秋霞| 日美一级片 | 狠狠鲁影院 | 人人爱人人插 | 在线国产日韩 | 国模无码视频一区 | 国产在线视频福利 | 亚洲黄色免费视频 | 国产一区二区色 | 亚洲综合资源 | 免费看女生裸体视频 | 久久精品一区二区在线观看 | 91网入口 | 全部免费毛片在线播放高潮 | 亚洲精品天堂网 | 欧美一区三区三区高中清蜜桃 | 美女张开腿流出白浆 | 91精品久久香蕉国产线看观看 | 日韩另类视频 | 成人hd | 国产传媒一区二区三区 | 999精品国产 | 欧美精品在线视频 | 深爱五月综合网 | 国产天天操 | 欧美激情日韩 | 成人wwxx免费观看 | 午夜一区 | 日韩av在线观看免费 | 久久国产日韩欧美 | 制中文字幕音影 | 国产成人久久精品77777综合 | 免费看黄色片网站 | 在线免费观看国产 | 色欧美片视频在线观看 | 性猛交富婆╳xxx乱大交天津 | 欧美日韩国| 精品无码在线视频 | 日本理论中文字幕 |