Laser & Optoelectronics Progress, Volume. 59, Issue 16, 1611008(2022)

Texture Generation Method of Three‑Dimensional Model of Crime Scene Based On Multi Panoramic Images

Meng Liu1、*, Si Shen1, Dongbin Duan2, and Wenying Yao2
Author Affiliations
  • 1Department of Criminal Science and Technology, Zhejiang Police College, Hangzhou 310053, Zhejiang , China
  • 2Zhejiang Angelcomm Technology Co., Ltd., Hangzhou 310008, Zhejiang , China
  • show less
    Figures & Tables(19)
    Triangle P1P2P3
    Spherical geometry
    Relation between panoramic image and panoramic sphere. (a) Coordinate system of panoramic image; (b) coordinate system of panoramic sphere
    Coordinate system of texture image
    Relation between panoramic image and texture image
    Mesh to texture map
    Flow chart of texture generating algorithm
    Ray occlusion
    Multi station view fusion
    Effect before and after occlusion calculation. (a) Before occlusion calculation; (b) after occlusion calculation
    Before blended
    After blended
    Before texture filled
    After texture filled
    Vertex shading rendering effect
    Texture map rendering effect
    • Table 0. [in Chinese]

      View table

      Table 0. [in Chinese]

      Algorithm 2:Generate Texture Image Tith Multi-Panoramas

      1: function GenerateTexture(in_triangles,panoramas)

      2:  texture_image

      3:  for texture_pixel in texture_image

      4:   for panorama in panoramas

      5:    for triangle in in_triangles

      6:      shelter_state←CaculateShelter(triangle,panorama,texture_pixel)

      7:       distance_pixel←CaculateDistance(triangle,panorama,texture_pixel)

      8:    end for

      9:   end for

      10:   CaculateFillColor(shelter_states,distance_pixels,texture_pixel)

      11:  end for

      12:  return texture_image

      13: end function

    • Table 0. [in Chinese]

      View table

      Table 0. [in Chinese]

      Algorithm 1:Caculate Shelter

      1: function CaculateShelter(triangle,panorama,texture_pixel)

      2:  Bool shelter_state←false

      3:  If(CatculateInTriangle(uv,texture_pixel))then

      4:   pt←Catculate3DpointOfTecturePixel(in_triangle,texture_pixel)

      5:   MinDis←CatculateMinDistance(triangle,pt)

      6:   If(MinDis < Threshold)then

      7:     Caculate intersection point K of OP and triangle

      8:     Caculate angle of KO and KP

      9:     If(angle ≈ π)then

      10:      shelter_state←true

      11:    end//if

      12:    end//if

      13:  end//if

      14:  return shelter_state

      15:end function

    • Table 0. [in Chinese]

      View table

      Table 0. [in Chinese]

      Algorithm 3:Fill Texture Image

      1. function FillTexture(texture_image)

      2.  texture_image_t←texture_image

      3.  buildKdtree(texture_image_t)

      4.  for i in texture_image_t

      5.   N←KnnSearch(i)

      6.   CalculateWight(N)

      7.   CalculateWightColor(N)

      8.  end for

      9.  return texture_image_t

      10. end function

    Tools

    Get Citation

    Copy Citation Text

    Meng Liu, Si Shen, Dongbin Duan, Wenying Yao. Texture Generation Method of Three‑Dimensional Model of Crime Scene Based On Multi Panoramic Images[J]. Laser & Optoelectronics Progress, 2022, 59(16): 1611008

    Download Citation

    EndNote(RIS)BibTexPlain Text
    Save article for my favorites
    Paper Information

    Category: Imaging Systems

    Received: Sep. 23, 2021

    Accepted: Nov. 1, 2021

    Published Online: Jul. 22, 2022

    The Author Email: Liu Meng (liumeng@zjjcxy.cn)

    DOI:10.3788/LOP202259.1611008

    Topics