이하, 첨부된 도면을 참조하여 본 명세서에 개시된 실시예를 상세히 설명하되, 도면 부호에 관계없이 동일하거나 유사한 구성요소는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 하기의 실시예들은 본 문서를 구체화하기 위한 것일 뿐 본 문서의 권리 범위를 제한하거나 한정하는 것이 아님은 물론이다. 본 문서의 상세한 설명 및 실시예들로부터 본 문서가 속하는 기술 분야의 전문가가 용이하게 유추할 수 있는 것은 본 문서의 권리 범위에 속하는 것으로 해석된다.
본 명세서의 상세한 설명은 모든 면에서 제한적으로 해석되어서는 안되며, 예시적인 것으로 고려되어야 한다. 본 문서의 범위는 첨부된 청구항의 합리적 해석에 의해 결정되어야 하고, 본 문서의 등가적 범위 내에서의 모든 변경은 본 문서의 범위에 포함된다.
바람직한 실시예들에 대해 구체적으로 설명하되, 그 예는 첨부된 도면에 나타낸다. 첨부된 도면을 참조한 아래의 상세한 설명은 구현될 수 있는 실시예들만을 나타내기보다는 바람직한 실시예들을 설명하기 위한 것이다. 이하에서는 본 문서에 대한 철저한 이해를 제공하기 위해 세부 사항을 포함하여 설명한다. 그러나 본 문서가 이러한 세부 사항 없이 실행될 수 있다는 것은 당업자에게 자명하다. 본 명세서에서 사용되는 대부분의 용어는 해당 분야에서 널리 사용되는 일반적인 것들에서 선택되지만, 일부 용어는 출원인에 의해 임의로 선택되며 그 의미는 필요에 따라 다음 설명에서 자세히 서술한다. 따라서 본 문서는 용어의 단순한 명칭이나 의미가 아닌 용어의 의도된 의미에 근거하여 이해되어야 한다. 또한 이하의 도면들 및 상세한 설명은 구체적으로 기술된 실시예들에만 국한되어 해석되지 않고, 도면 및 상세한 설명에 기재된 실시예들과 균등하거나, 대체 가능한 것들까지 포함하는 것으로 해석되어야만 한다.
도 1은 실시예들에 따른 포인트 클라우드 콘텐트 제공 시스템의 예시를 나타낸다.
도 1에 도시된 포인트 클라우드 콘텐트 제공 시스템은 전송 장치(transmission device)(10000) 및 수신 장치(reception device)(10004)를 포함할 수 있다. 전송 장치(10000) 및 수신 장치(10004)는 포인트 클라우드 데이터를 송수신하기 위해 유무선 통신 가능하다.
실시예들에 따른 전송 장치(10000)는 포인트 클라우드 비디오(또는 포인트 클라우드 콘텐트)를 확보하고 처리하여 전송할 수 있다. 실시예들에 따라, 전송 장치(10000)는 고정국(fixed station), BTS(base transceiver system), 네트워크, AI(Artificial Intelligence) 기기 및/또는 시스템, 로봇, AR/VR/XR 기기 및/또는 서버 등을 포함할 수 있다. 또한 실시예들에 따라 전송 장치(10000)는 무선 접속 기술(예, 5G NR(New RAT), LTE(Long Term Evolution))을 이용하여, 기지국 및/또는 다른 무선 기기와 통신을 수행하는 기기, 로봇, 차량, AR/VR/XR 기기, 휴대기기, 가전, IoT(Internet of Thing)기기, AI 기기/서버 등을 포함할 수 있다.
실시예들에 따른 전송 장치(10000)는 포인트 클라우드 비디오 획득부(Point Cloud Video Acquisition unit, 10001), 포인트 클라우드 비디오 인코더(Point Cloud Video Encoder, 10002) 및/또는 트랜스미터(Transmitter (or Communication module), 10003)를 포함한다
실시예들에 따른 포인트 클라우드 비디오 획득부(10001)는 캡쳐, 합성 또는 생성 등의 처리 과정을 통해 포인트 클라우드 비디오를 획득한다. 포인트 클라우드 비디오는 3차원 공간에 위치한 포인트들의 집합인 포인트 클라우드로 표현되는 포인트 클라우드 콘텐트로서, 포인트 클라우드 비디오 데이터 등으로 호칭될 수 있다. 실시예들에 따른 포인트 클라우드 비디오는 하나 또는 그 이상의 프레임들을 포함할 수 있다. 하나의 프레임은 정지 영상/픽쳐를 나타낸다. 따라서 포인트 클라우드 비디오는 포인트 클라우드 영상/프레임/픽처를 포함할 수 있으며, 포인트 클라우드 영상, 프레임 및 픽처 중 어느 하나로 호칭될 수 있다.
실시예들에 따른 포인트 클라우드 비디오 인코더(10002)는 확보된 포인트 클라우드 비디오 데이터를 인코딩한다. 포인트 클라우드 비디오 인코더(10002)는 포인트 클라우드 컴프레션(Point Cloud Compression) 코딩을 기반으로 포인트 클라우드 비디오 데이터를 인코딩할 수 있다. 실시예들에 따른 포인트 클라우드 컴프레션 코딩은 G-PCC(Geometry-based Point Cloud Compression) 코딩 및/또는 V-PCC(Video based Point Cloud Compression) 코딩 또는 차세대 코딩을 포함할 수 있다. 또한 실시예들에 따른 포인트 클라우드 컴프레션 코딩은 상술한 실시예에 국한되는 것은 아니다. 포인트 클라우드 비디오 인코더(10002)는 인코딩된 포인트 클라우드 비디오 데이터를 포함하는 비트스트림을 출력할 수 있다. 비트스트림은 인코딩된 포인트 클라우드 비디오 데이터뿐만 아니라, 포인트 클라우드 비디오 데이터의 인코딩과 관련된 시그널링 정보를 포함할 수 있다.
실시예들에 따른 트랜스미터(10003)는 인코딩된 포인트 클라우드 비디오 데이터를 포함하는 비트스트림을 전송한다. 실시예들에 따른 비트스트림은 파일 또는 세그먼트(예를 들면 스트리밍 세그먼트) 등으로 인캡슐레이션되어 방송망 및/또는 브로드밴드 망등의 다양한 네트워크를 통해 전송된다. 도면에 도시되지 않았으나, 전송 장치(10000)는 인캡슐레이션 동작을 수행하는 인캡슐레이션부(또는 인캡슐레이션 모듈)을 포함할 수 있다. 또한 실시예들에 따라 인캡슐레이션부는 트랜스미터(10003)에 포함될 수 있다. 실시예들에 따라 파일 또는 세그먼트는 네트워크를 통해 수신 장치(10004)로 전송되거나, 디지털 저장매체(예를 들면 USB, SD, CD, DVD, 블루레이, HDD, SSD 등)에 저장될 수 있다. 실시예들에 따른 트랜스미터(10003)는 수신 장치(10004) (또는 리시버(Receiver, 10005))와 4G, 5G, 6G 등의 네트워크를 통해 유/무선 통신 가능하다. 또한 트랜스미터(10003)는 네트워크 시스템(예를 들면 4G, 5G, 6G 등의 통신 네트워크 시스템)에 따라 필요한 데이터 처리 동작을 수행할 수 있다. 또한 전송 장치(10000)는 온 디맨드(On Demand) 방식에 따라 인캡슐레이션된 데이터를 전송할 수도 있다.
실시예들에 따른 수신 장치(10004)는 리시버(Receiver, 10005), 포인트 클라우드 비디오 디코더(Point Cloud Video Decoder, 10006) 및/또는 렌더러(Renderer, 10007)를 포함한다. 실시예들에 따라 수신 장치(10004)는 무선 접속 기술(예, 5G NR(New RAT), LTE(Long Term Evolution))을 이용하여, 기지국 및/또는 다른 무선 기기와 통신을 수행하는 기기, 로봇, 차량, AR/VR/XR 기기, 휴대기기, 가전, IoT(Internet of Thing)기기, AI 기기/서버 등을 포함할 수 있다.
실시예들에 따른 리시버(10005)는 포인트 클라우드 비디오 데이터를 포함하는 비트스트림 또는 비트스트림이 인캡슐레이션된 파일/세그먼트 등을 네트워크 또는 저장매체로부터 수신한다. 리시버(10005)는 네트워크 시스템(예를 들면 4G, 5G, 6G 등의 통신 네트워크 시스템)에 따라 필요한 데이터 처리 동작을 수행할 수 있다. 실시예들에 따른 리시버(10005)는 수신한 파일/세그먼트를 디캡슐레이션하여 비트스트림을 출력할수 있다. 또한 실시예들에 따라 리시버(10005)는 디캡슐레이션 동작을 수행하기 위한 디캡슐레이션부(또는 디캡슐레이션 모듈)을 포함할 수 있다. 또한 디캡슐레이션부는 리시버(10005)와 별개의 엘레멘트(또는 컴포넌트 또는 모듈)로 구현될 수 있다.
포인트 클라우드 비디오 디코더(10006)는 포인트 클라우드 비디오 데이터를 포함하는 비트스트림을 디코딩한다. 포인트 클라우드 비디오 디코더(10006)는 포인트 클라우드 비디오 데이터가 인코딩된 방식에 따라 디코딩할 수 있다(예를 들면 포인트 클라우드 비디오 인코더(10002)의 동작의 역과정). 따라서 포인트 클라우드 비디오 디코더(10006)는 포인트 클라우드 컴프레션의 역과정인 포인트 클라우드 디컴프레션 코딩을 수행하여 포인트 클라우드 비디오 데이터를 디코딩할 수 있다. 포인트 클라우드 디컴프레션 코딩은 G-PCC 코딩을 포함한다.
렌더러(10007)는 디코딩된 포인트 클라우드 비디오 데이터를 렌더링한다. 렌더러(10007)는 포인트 클라우드 비디오 데이터 뿐만 아니라 오디오 데이터도 렌더링하여 포인트 클라우드 콘텐트를 출력할 수 있다. 실시예들에 따라 렌더러(10007)는 포인트 클라우드 콘텐트를 디스플레이하기 위한 디스플레이를 포함할 수 있다. 실시예들에 따라 디스플레이는 렌더러(10007)에 포함되지 않고 별도의 디바이스 또는 컴포넌트로 구현될 수 있다.
도면에 점선으로 표시된 화살표는 수신 장치(10004)에서 획득한 피드백 정보(feedback information)의 전송 경로를 나타낸다. 피드백 정보는 포인트 클라우드 콘텐트를 소비하는 사용자와의 인터랙티비를 반영하기 위한 정보로서, 사용자의 정보(예를 들면 헤드 오리엔테이션 정보, 뷰포트(Viewport) 정보 등)을 포함한다. 특히 포인트 클라우드 콘텐트가 사용자와의 상호작용이 필요한 서비스(예를 들면 자율주행 서비스 등)를 위한 콘텐트인 경우, 피드백 정보는 콘텐트 송신측(예를 들면 전송 장치(10000)) 및/또는 서비스 프로바이더에게 전달될 수 있다. 실시예들에 따라 피드백 정보는 전송 장치(10000) 뿐만 아니라 수신 장치(10004)에서도 사용될 수 있으며, 제공되지 않을 수도 있다.
실시예들에 따른 헤드 오리엔테이션 정보는 사용자의 머리 위치, 방향, 각도, 움직임 등에 대한 정보이다. 실시예들에 따른 수신 장치(10004)는 헤드 오리엔테이션 정보를 기반으로 뷰포트 정보를 계산할 수 있다. 뷰포트 정보는 사용자가 바라보고 있는 포인트 클라우드 비디오의 영역에 대한 정보이다. 시점(viewpoint)은 사용자가 포인트 클라우드 비디오를 보고 있는 점으로 뷰포트 영역의 정중앙 지점을 의미할 수 있다. 즉, 뷰포트는 시점을 중심으로 한 영역으로서, 영역의 크기, 형태 등은 FOV(Field Of View) 에 의해 결정될 수 있다. 따라서 수신 장치(10004)는 헤드 오리엔테이션 정보 외에 장치가 지원하는 수직(vertical) 혹은 수평(horizontal) FOV 등을 기반으로 뷰포트 정보를 추출할 수 있다. 또한 수신 장치(10004)는 게이즈 분석 (Gaze Analysis) 등을 수행하여 사용자의 포인트 클라우드 소비 방식, 사용자가 응시하는 포인트 클라우드 비디오 영역, 응시 시간 등을 확인한다. 실시예들에 따라 수신 장치(10004)는 게이즈 분석 결과를 포함하는 피드백 정보를 송신 장치(10000)로 전송할 수 있다. 실시예들에 따른 피드백 정보는 렌더링 및/또는 디스플레이 과정에서 획득될 수 있다. 실시예들에 따른 피드백 정보는 수신 장치(10004)에 포함된 하나 또는 그 이상의 센서들에 의해 확보될 수 있다. 또한 실시예들에 따라 피드백 정보는 렌더러(10007) 또는 별도의 외부 엘레멘트(또는 디바이스, 컴포넌트 등)에 의해 확보될 수 있다.
도 1의 점선은 렌더러(10007)에서 확보한 피드백 정보의 전달 과정을 나타낸다. 포인트 클라우드 콘텐트 제공 시스템은 피드백 정보를 기반으로 포인트 클라우드 데이터를 처리(인코딩/디코딩)할 수 있다. 따라서 포인트 클라우드 비디오 디코더(10006)는 피드백 정보를 기반으로 디코딩 동작을 수행할 수 있다. 또한 수신 장치(10004)는 피드백 정보를 전송 장치(10000)로 전송할 수 있다. 전송 장치(10000)(또는 포인트 클라우드 비디오 인코더(10002))는 피드백 정보를 기반으로 인코딩 동작을 수행할 수 있다. 따라서 포인트 클라우드 콘텐트 제공 시스템은 모든 포인트 클라우드 데이터를 처리(인코딩/디코딩)하지 않고, 피드백 정보를 기반으로 필요한 데이터(예를 들면 사용자의 헤드 위치에 대응하는 포인트 클라우드 데이터)를 효율적으로 처리하고, 사용자에게 포인트 클라우드 콘텐트를 제공할 수 있다.
실시예들에 따라, 전송 장치(10000)는 인코더, 전송 디바이스, 전송기, 전송 시스템 등으로 호칭될 수 있으며, 수신 장치(10004)는 디코더, 수신 디바이스, 수신기, 수신 시스템 등으로 호칭될 수 있다.
실시예들에 따른 도 1 의 포인트 클라우드 콘텐트 제공 시스템에서 처리되는 (획득/인코딩/전송/디코딩/렌더링의 일련의 과정으로 처리되는) 포인트 클라우드 데이터는 포인트 클라우드 콘텐트 데이터 또는 포인트 클라우드 비디오 데이터라고 호칭할 수 있다. 실시예들에 따라 포인트 클라우드 콘텐트 데이터는 포인트 클라우드 데이터와 관련된 메타데이터 내지 시그널링 정보를 포함하는 개념으로 사용될 수 있다.
도 1에 도시된 포인트 클라우드 콘텐트 제공 시스템의 엘리먼트들은 하드웨어, 소프트웨어, 프로세서 및/또는 그것들의 결합 등으로 구현될 수 있다.
도 2는 실시예들에 따른 포인트 클라우드 콘텐트 제공 동작을 나타내는 블록도이다.
도 2의 블록도는 도 1에서 설명한 포인트 클라우드 콘텐트 제공 시스템의 동작을 나타낸다. 상술한 바와 같이 포인트 클라우드 콘텐트 제공 시스템은 포인트 클라우드 컴프레션 코딩(예를 들면 G-PCC)을 기반으로 포인트 클라우드 데이터를 처리할 수 있다.
실시예들에 따른 포인트 클라우드 콘텐트 제공 시스템(예를 들면 포인트 클라우드 전송 장치(10000) 또는 포인트 클라우드 비디오 획득부(10001))은 포인트 클라우드 비디오를 획득할 수 있다(20000). 포인트 클라우드 비디오는 3차원 공간을 표현하는 좌표계에 속한 포인트 클라우드로 표현된다. 실시예들에 따른 포인트 클라우드 비디오는 Ply (Polygon File format or the Stanford Triangle format) 파일을 포함할 수 있다. 포인트 클라우드 비디오가 하나 또는 그 이상의 프레임들을 갖는 경우, 획득한 포인트 클라우드 비디오는 하나 또는 그 이상의 Ply 파일들을 포함할 수 있다. Ply 파일은 포인트의 지오메트리(Geometry) 및/또는 어트리뷰트(Attribute)와 같은 포인트 클라우드 데이터를 포함한다. 지오메트리는 포인트들의 포지션들을 포함한다. 각 포인트의 포지션은 3차원 좌표계(예를 들면 XYZ축들로 이루어진 좌표계 등)를 나타내는 파라미터들(예를 들면 X축, Y축, Z축 각각의 값)로 표현될 수 있다. 어트리뷰트는 포인트들의 어트리뷰트들(예를 들면, 각 포인트의 텍스쳐 정보, 색상(YCbCr 또는 RGB), 반사율(r), 투명도 등)을 포함한다. 하나의 포인트는 하나 또는 그 이상의 어트리뷰트들(또는 속성들)을 가진다. 예를 들어 하나의 포인트는 하나의 색상인 어트리뷰트를 가질 수도 있고, 색상 및 반사율인 두 개의 어트리뷰트들을 가질 수도 있다. 실시예들에 따라, 지오메트리는 포지션들, 지오메트리 정보, 지오메트리 데이터 등으로 호칭 가능하며, 어트리뷰트는 어트리뷰트들, 어트리뷰트 정보, 어트리뷰트 데이터 등으로 호칭할 수 있다. 또한 포인트 클라우드 콘텐트 제공 시스템(예를 들면 포인트 클라우드 전송 장치(10000) 또는 포인트 클라우드 비디오 획득부(10001))은 포인트 클라우드 비디오의 획득 과정과 관련된 정보(예를 들면 깊이 정보, 색상 정보 등)로부터 포인트 클라우드 데이터를 확보할 수 있다.
실시예들에 따른 포인트 클라우드 콘텐트 제공 시스템(예를 들면 전송 장치(10000) 또는 포인트 클라우드 비디오 인코더(10002))은 포인트 클라우드 데이터를 인코딩할 수 있다(20001). 포인트 클라우드 콘텐트 제공 시스템은 포인트 클라우드 컴프레션 코딩을 기반으로 포인트 클라우드 데이터를 인코딩할 수 있다. 상술한 바와 같이 포인트 클라우드 데이터는 포인트의 지오메트리 및 어트리뷰트를 포함할 수 있다. 따라서 실시예들에 따른 포인트 클라우드 콘텐트 제공 시스템은 지오메트리를 인코딩하는 지오메트리 인코딩을 수행하여 지오메트리 비트스트림을 출력할 수 있다. 실시예들에 따른 포인트 클라우드 콘텐트 제공 시스템은 어트리뷰트를 인코딩하는 어트리뷰트 인코딩을 수행하여 어트리뷰트 비트스트림을 출력할 수 있다. 실시예들에 따라 포인트 클라우드 콘텐트 제공 시스템은 지오메트리 인코딩에 기초하여 어트리뷰트 인코딩을 수행할 수 있다. 실시예들에 따른 지오메트리 비트스트림 및 어트리뷰트 비트스트림은 멀티플렉싱되어 하나의 비트스트림으로 출력될 수 있다. 실시예들에 따른 비트스트림은 지오메트리 인코딩 및 어트리뷰트 인코딩과 관련된 시그널링 정보를 더 포함할 수 있다.
실시예들에 따른 포인트 클라우드 콘텐트 제공 시스템(예를 들면 전송 장치(10000) 또는 트랜스미터(10003))는 인코딩된 포인트 클라우드 데이터를 전송할 수 있다(20002). 도1에서 설명한 바와 같이 인코딩된 포인트 클라우드 데이터는 지오메트리 비트스트림, 어트리뷰트 비트스트림으로 표현될 수 있다. 또한 인코딩된 포인트 클라우드 데이터는 포인트 클라우드 데이터의 인코딩과 관련된 시그널링 정보(예를 들면 지오메트리 인코딩 및 어트리뷰트 인코딩과 관련된 시그널링 정보)과 함께 비트스트림의 형태로 전송될 수 있다. 또한 포인트 클라우드 콘텐트 제공 시스템은 인코딩된 포인트 클라우드 데이터를 전송하는 비트스트림을 인캡슐레이션 하여 파일 또는 세그먼트의 형태로 전송할 수 있다.
실시예들에 따른 포인트 클라우드 콘텐트 제공 시스템(예를 들면 수신 장치(10004) 또는 리시버(10005))은 인코딩된 포인트 클라우드 데이터를 포함하는 비트스트림을 수신할 수 있다. 또한 포인트 클라우드 콘텐트 제공 시스템(예를 들면 수신 장치(10004) 또는 리시버(10005))은 비트스트림을 디멀티플렉싱할 수 있다.
포인트 클라우드 콘텐트 제공 시스템(예를 들면 수신 장치(10004) 또는 포인트 클라우드 비디오 디코더(10005))은 비트스트림으로 전송되는 인코딩된 포인트 클라우드 데이터(예를 들면 지오메트리 비트스트림, 어트리뷰트 비트스트림)을 디코딩할 수 있다. 포인트 클라우드 콘텐트 제공 시스템(예를 들면 수신 장치(10004) 또는 포인트 클라우드 비디오 디코더(10005))은 비트스트림에 포함된 포인트 클라우드 비디오 데이터의 인코딩과 관련된 시그널링 정보를 기반으로 포인트 클라우드 비디오 데이터를 디코딩할 수 있다. 포인트 클라우드 콘텐트 제공 시스템(예를 들면 수신 장치(10004) 또는 포인트 클라우드 비디오 디코더(10005))은 지오메트리 비트스트림을 디코딩하여 포인트들의 포지션들(지오메트리)을 복원할 수 있다. 포인트 클라우드 콘텐트 제공 시스템은 복원한 지오메트리를 기반으로 어트리뷰트 비트스트림을 디코딩하여 포인트들의 어트리뷰트들을 복원할 수 있다. 포인트 클라우드 콘텐트 제공 시스템(예를 들면 수신 장치(10004) 또는 포인트 클라우드 비디오 디코더(10005))은 복원된 지오메트리에 따른 포지션들 및 디코딩된 어트리뷰트를 기반으로 포인트 클라우드 비디오를 복원할 수 있다.
실시예들에 따른 포인트 클라우드 콘텐트 제공 시스템(예를 들면 수신 장치(10004) 또는 렌더러(10007))은 디코딩된 포인트 클라우드 데이터를 렌더링할 수 있다(20004). 포인트 클라우드 콘텐트 제공 시스템(예를 들면 수신 장치(10004) 또는 렌더러(10007))은 디코딩 과정을 통해 디코딩된 지오메트리 및 어트리뷰트들을 다양한 렌더링 방식에 따라 렌더링 할 수 있다. 포인트 클라우드 콘텐트의 포인트들은 일정 두께를 갖는 정점, 해당 정점 위치를 중앙으로 하는 특정 최소 크기를 갖는 정육면체, 또는 정점 위치를 중앙으로 하는 원 등으로 렌더링 될 수도 있다. 렌더링된 포인트 클라우드 콘텐트의 전부 또는 일부 영역은 디스플레이 (예를 들면 VR/AR 디스플레이, 일반 디스플레이 등)을 통해 사용자에게 제공된다.
실시예들에 따른 포인트 클라우드 콘텐트 제공 시스템(예를 들면 수신 장치(10004))는 피드백 정보를 확보할 수 있다(20005). 포인트 클라우드 콘텐트 제공 시스템은 피드백 정보를 기반으로 포인트 클라우드 데이터를 인코딩 및/또는 디코딩할 수 있다. 실시예들에 따른 피드백 정보 및 포인트 클라우드 콘텐트 제공 시스템의 동작은 도 1에서 설명한 피드백 정보 및 동작과 동일하므로 구체적인 설명은 생략한다.
도 3은 실시예들에 따른 포인트 클라우드 비디오 캡쳐 과정의 예시를 나타낸다.
도 3은 도 1과 도 2에서 설명한 포인트 클라우드 콘텐트 제공 시스템의 포인트 클라우드 비디오 캡쳐 과정의 예시를 나타낸다.
포인트 클라우드 콘텐트는 다양한 3차원 공간(예를 들면 현실 환경을 나타내는 3차원 공간, 가상 환경을 나타내는3차원 공간 등)에 위치한 오브젝트(object) 및/또는 환경을 나타내는 포인트 클라우드 비디오(이미지들 및/또는 영상들)을 포함한다. 따라서 실시예들에 따른 포인트 클라우드 콘텐트 제공 시스템은 포인트 클라우드 콘텐트를 생성하기 위하여 하나 또는 그 이상의 카메라(camera)들(예를 들면, 깊이 정보를 확보할 수 있는 적외선 카메라, 깊이 정보에 대응되는 색상 정보를 추출 할 수 있는 RGB 카메라 등), 프로젝터(예를 들면 깊이 정보를 확보하기 위한 적외선 패턴 프로젝터 등), 라이다(LiDAR)등을 사용하여 포인트 클라우드 비디오를 캡쳐할 수 있다. 실시예들에 따른 포인트 클라우드 콘텐트 제공 시스템은 깊이 정보로부터 3차원 공간상의 포인트들로 구성된 지오메트리의 형태를 추출하고, 색상정보로부터 각 포인트의 어트리뷰트를 추출하여 포인트 클라우드 데이터를 확보할 수 있다. 실시예들에 따른 이미지 및/또는 영상은 인워드-페이싱(inward-facing) 방식 및 아웃워드-페이싱(outward-facing) 방식 중 적어도 어느 하나 이상을 기반으로 캡쳐될 수 있다.
도 3의 왼쪽은 인워드-페이싱 방식을 나타낸다. 인워드-페이싱 방식은 중심 오브젝트를 둘러싸고 위치한 하나 또는 그 이상의 카메라들(또는 카메라 센서들)이 중심 오브젝트를 캡쳐하는 방식을 의미한다. 인워드-페이싱 방식은 핵심 객체에 대한 360도 이미지를 사용자에게 제공하는 포인트 클라우드 콘텐트(예를 들면 사용자에게 객체(예-캐릭터, 선수, 물건, 배우 등 핵심이 되는 객체)의 360도 이미지를 제공하는 VR/AR 콘텐트)를 생성하기 위해 사용될 수 있다.
도 3의 오른쪽은 아웃워드-페이싱 방식을 나타낸다. 아웃워드-페이싱 방식은 중심 오브젝트를 둘러싸고 위치한 하나 또는 그 이상의 카메라들(또는 카메라 센서들)이 중심 오브젝트가 아닌 중심 오브젝트의 환경을 캡쳐하는 방식을 의미한다. 아웃워드-페이싱 방식은 사용자의 시점에서 나타나는 주변 환경을 제공하기 위한 포인트 클라우드 콘텐트(예를 들면, 자율 주행 차량의 사용자에게 제공될 수 있는 외부 환경을 나타내는 콘텐트)를 생성하기 위해 사용될 수 있다.
도 3에 도시된 바와 같이, 포인트 클라우드 콘텐트는 하나 또는 그 이상의 카메라들의 캡쳐 동작을 기반으로 생성될 수 있다. 이 경우 각 카메라의 좌표계가 다를 수 있으므로 포인트 클라우드 콘텐트 제공 시스템은 캡쳐 동작 이전에 글로벌 공간 좌표계(global coordinate system)을 설정하기 위하여 하나 또는 그 이상의 카메라들의 캘리브레이션을 수행할 수 있다. 또한 포인트 클라우드 콘텐트 제공 시스템은 상술한 캡쳐 방식으로 캡쳐된 이미지 및/또는 영상과 임의의 이미지 및/또는 영상을 합성하여 포인트 클라우드 콘텐트를 생성할 수 있다. 또한 포인트 클라우드 콘텐트 제공 시스템은 가상 공간을 나타내는 포인트 클라우드 콘텐트를 생성하는 경우, 도3에서 설명한 캡쳐 동작을 수행하지 않을 수 있다. 실시예들에 따른 포인트 클라우드 콘텐트 제공 시스템은 캡쳐한 이미지 및/또는 영상에 대해 후처리를 수행할 수 있다. 즉, 포인트 클라우드 콘텐트 제공 시스템은 원하지 않는 영역(예를 들면 배경)을 제거하거나, 캡쳐한 이미지들 및/또는 영상들이 연결된 공간을 인식하고, 구멍(spatial hole)이 있는 경우 이를 메우는 동작을 수행할 수 있다.
또한 포인트 클라우드 콘텐트 제공 시스템은 각 카메라로부터 확보한 포인트 클라우드 비디오의 포인트들에 대하여 좌표계 변환을 수행하여 하나의 포인트 클라우드 콘텐트를 생성할 수 있다. 포인트 클라우드 콘텐트 제공 시스템은 각 카메라의 위치 좌표를 기준으로 포인트들의 좌표계 변환을 수행할 수 있다. 이에 따라, 포인트 클라우드 콘텐트 제공 시스템은 하나의 넓은 범위를 나타내는 콘텐트를 생성할 수도 있고, 포인트들의 밀도가 높은 포인트 클라우드 콘텐트를 생성할 수도 있다.
도 4는 실시예들에 따른 포인트 클라우드 비디오 인코더(Point Cloud Video Encoder)의 예시를 나타낸다.
도 4는 도 1의 포인트 클라우드 비디오 인코더(10002)의 상세 예시를 나타낸다. 포인트 클라우드 비디오 인코더는 네트워크의 상황 혹은 애플리케이션 등에 따라 포인트 클라우드 콘텐트의 질(예를 들어 무손실-lossless, 손실-lossy, near-lossless)을 조절하기 위하여 포인트 클라우드 데이터(예를 들면 포인트들의 포지션들 및/또는 어트리뷰트들)을 재구성하고 인코딩 동작을 수행한다. 포인트 클라우드 콘텐트의 전체 사이즈가 큰 경우(예를 들어 30 fps의 경우 60 Gbps인 포인트 클라우드 콘텐트) 포인트 클라우드 콘텐트 제공 시스템은 해당 콘텐트를 리얼 타임 스트리밍하지 못할 수 있다. 따라서 포인트 클라우드 콘텐트 제공 시스템은 네트워크 환경등에 맞춰 제공하기 위하여 최대 타깃 비트율(bitrate)을 기반으로 포인트 클라우드 콘텐트를 재구성할 수 있다.
도 1과 도2 에서 설명한 바와 같이 포인트 클라우드 비디오 인코더는 지오메트리 인코딩 및 어트리뷰트 인코딩을 수행할 수 있다. 지오메트리 인코딩은 어트리뷰트 인코딩보다 먼저 수행된다.
실시예들에 따른 포인트 클라우드 비디오 인코더는 좌표계 변환부(Transformation Coordinates unit, 40000), 양자화부(Quantization unit, 40001), 옥트리 분석부(Octree Analysis unit, 40002), 서페이스 어프록시메이션 분석부(Surface Approximation Analysis unit, 40003), 아리스메틱 인코더(Arithmetic Encode, 40004), 지오메트리 리컨스트럭션부(Geometry Reconstruction unit, 40005), 컬러 변환부(Color Transformation unit, 40006), 어트리뷰트 변환부(Attribute Transformation unit, 40007), RAHT(Region Adaptive Hierarchical Transform) 변환부(40008), LOD생성부( LOD Generation unit, 40009), 리프팅 변환부(Lifting Transformation unit)(40010), 계수 양자화부(Coefficient Quantization unit, 40011) 및/또는 아리스메틱 인코더(Arithmetic Encoder, 40012)를 포함한다.
좌표계 변환부(40000), 양자화부(40001), 옥트리 분석부(40002), 서페이스 어프록시메이션 분석부(40003), 아리스메틱 인코더(40004), 및 지오메트리 리컨스트럭션부(40005)는 지오메트리 인코딩을 수행할 수 있다. 실시예들에 따른 지오메트리 인코딩은 옥트리 지오메트리 코딩, 다이렉트 코딩(direct coding), 트라이숩 지오메트리 인코딩(trisoup geometry encoding) 및 엔트로피 인코딩을 포함할 수 있다. 다이렉트 코딩 및 트라이숩 지오메트리 인코딩은 선택적으로 또는 조합으로 적용된다. 또한 지오메트리 인코딩은 위의 예시에 국한되지 않는다.
도면에 도시된 바와 같이, 실시예들에 따른 좌표계 변환부(40000)는 포지션들을 수신하여 좌표계(coordinate)로 변환한다. 예를 들어, 포지션들은 3차원 공간 (예를 들면XYZ 좌표계로 표현되는 3차원 공간 등)의 위치 정보로 변환될 수 있다. 실시예들에 따른 3차원 공간의 위치 정보는 지오메트리 정보로 지칭될 수 있다.
실시예들에 따른 양자화부(40001)는 지오메트리 정보를 양자화한다. 예를 들어, 양자화부(40001)는 전체 포인트들의 최소 위치 값(예를 들면 X축, Y축, Z축 에 대하여 각축상의 최소 값)을 기반으로 포인트들을 양자화 할 수 있다. 양자화부(40001)는 최소 위치 값과 각 포인트의 위치 값의 차이에 기 설정된 양자 스케일(quantization scale) 값을 곱한 뒤, 내림 또는 올림을 수행하여 가장 가까운 정수 값을 찾는 양자화 동작을 수행한다. 따라서 하나 또는 그 이상의 포인트들은 동일한 양자화된 포지션 (또는 포지션 값)을 가질 수 있다. 실시예들에 따른 양자화부(40001)는 양자화된 포인트들을 재구성하기 위해 양자화된 포지션들을 기반으로 복셀화(voxelization)를 수행한다. 복셀화는 3차원 공간 상의 위치정보를 표현하는 최소한의 유닛을 의미한다. 실시예들에 따른 포인트 클라우드 콘텐트(또는 3차원 포인트 클라우드 비디오)의 포인트들은 하나 또는 그 이상의 복셀(voxel)들에 포함될 수 있다. 복셀은 볼륨(Volume)과 픽셀(Pixel)의 조합어로서, 3차원 공간을 표현하는 축들(예를 들면 X축, Y축, Z축)을 기반으로 3차원 공간을 유닛(unit=1.0) 단위로 나누었을 때 발생하는 3차원 큐빅 공간을 의미한다. 양자화부(40001)는 3차원 공간의 포인트들의 그룹들을 복셀들로 매칭할 수 있다. 실시예들에 따라 하나의 복셀은 하나의 포인트만 포함할 수 있다. 실시예들에 따라 하나의 복셀은 하나 또는 그 이상의 포인트들을 포함할 수 있다. 또한 하나의 복셀을 하나의 포인트로 표현하기 위하여, 하나의 복셀에 포함된 하나 또는 그 이상의 포인트들의 포지션들을 기반으로 해당 복셀의 중앙점(center point)의 포지션을 설정할 수 있다. 이 경우 하나의 복셀에 포함된 모든 포지션들의 어트리뷰트들은 통합되어(combined) 해당 복셀에 할당될(assigned)수 있다.
실시예들에 따른 옥트리 분석부(40002)는 복셀을 옥트리(octree) 구조로 나타내기 위한 옥트리 지오메트리 코딩(또는 옥트리 코딩)을 수행한다. 옥트리 구조는 팔진 트리 구조에 기반하여 복셀에 매칭된 포인트들을 표현한다.
실시예들에 따른 서페이스 어프록시메이션 분석부(40003)는 옥트리를 분석하고, 근사화할 수 있다. 실시예들에 따른 옥트리 분석 및 근사화는 효율적으로 옥트리 및 복셀화를 제공하기 위해서 다수의 포인트들을 포함하는 영역에 대해 복셀화하기 위해 분석하는 과정이다.
실시예들에 따른 아리스메틱 인코더(40004)는 옥트리 및/또는 근사화된 옥트리를 엔트로피 인코딩한다. 예를 들어, 인코딩 방식은 아리스메틱(Arithmetic) 인코딩 방법을 포함한다. 인코딩의 결과로 지오메트리 비트스트림이 생성된다.
컬러 변환부(40006), 어트리뷰트 변환부(40007), RAHT 변환부(40008), LOD생성부(40009), 리프팅 변환부(40010), 계수 양자화부(40011) 및/또는 아리스메틱 인코더(40012)는 어트리뷰트 인코딩을 수행한다. 상술한 바와 같이 하나의 포인트는 하나 또는 그 이상의 어트리뷰트들을 가질 수 있다. 실시예들에 따른 어트리뷰트 인코딩은 하나의 포인트가 갖는 어트리뷰트들에 대해 동일하게 적용된다. 다만, 하나의 어트리뷰트(예를 들면 색상)이 하나 또는 그 이상의 요소들을 포함하는 경우, 각 요소마다 독립적인 어트리뷰트 인코딩이 적용된다. 실시예들에 따른 어트리뷰트 인코딩은 컬러 변환 코딩, 어트리뷰트 변환 코딩, RAHT(Region Adaptive Hierarchical Transform) 코딩, 예측 변환(Interpolation-based hierarchical nearest-neighbour prediction-Prediction Transform) 코딩 및 리프팅 변환 (interpolation-based hierarchical nearest-neighbour prediction with an update/lifting step (Lifting Transform)) 코딩을 포함할 수 있다. 포인트 클라우드 콘텐트에 따라 상술한 RAHT 코딩, 예측 변환 코딩 및 리프팅 변환 코딩은 선택적으로 사용되거나, 하나 또는 그 이상의 코딩들의 조합이 사용될 수 있다. 또한 실시예들에 따른 어트리뷰트 인코딩은 상술한 예시에 국한되는 것은 아니다.
실시예들에 따른 컬러 변환부(40006)는 어트리뷰트들에 포함된 컬러 값(또는 텍스쳐)을 변환하는 컬러 변환 코딩을 수행한다. 예를 들어, 컬러 변환부(40006)는 색상 정보의 포맷을 변환(예를 들어 RGB에서 YCbCr로 변환)할 수 있다. 실시예들에 따른 컬러 변환부(40006)의 동작은 어트리뷰트들에 포함된 컬러값에 따라 옵셔널(optional)하게 적용될 수 있다.
실시예들에 따른 지오메트리 리컨스트럭션부(40005)는 옥트리 및/또는 근사화된 옥트리를 재구성(디컴프레션)한다. 지오메트리 리컨스트럭션부(40005)는 포인트들의 분포를 분석한 결과에 기반하여 옥트리/복셀을 재구성한다. 재구성된 옥트리/복셀은 재구성된 지오메트리(또는 복원된 지오메트리)로 호칭될 수 있다.
실시예들에 따른 어트리뷰트 변환부(40007)는 지오메트리 인코딩이 수행되지 않은 포지션들 및/또는 재구성된 지오메트리를 기반으로 어트리뷰트들을 변환하는 어트리뷰트 변환을 수행한다. 상술한 바와 같이 어트리뷰트들은 지오메트리에 종속되므로, 어트리뷰트 변환부(40007)는 재구성된 지오메트리 정보를 기반으로 어트리뷰트들을 변환할 수 있다. 예를 들어, 어트리뷰트 변환부(40007)는 복셀에 포함된 포인트의 포지션값을 기반으로 그 포지션의 포인트가 가지는 어트리뷰트를 변환할 수 있다. 상술한 바와 같이 하나의 복셀에 포함된 하나 또는 그 이상의 포인트들의 포지션들을 기반으로 해당 복셀의 중앙점의 포지션이 설정된 경우, 어트리뷰트 변환부(40007)는 하나 또는 그 이상의 포인트들의 어트리뷰트들을 변환한다. 트라이숩 지오메트리 인코딩이 수행된 경우, 어트리뷰트 변환부(40007)는 트라이숩 지오메트리 인코딩을 기반으로 어트리뷰트들을 변환할 수 있다.
어트리뷰트 변환부(40007)는 각 복셀의 중앙점의 포지션(또는 포지션 값)으로부터 특정 위치/반경 내에 이웃하고 있는 포인트들의 어트리뷰트들 또는 어트리뷰트 값들(예를 들면 각 포인트의 색상, 또는 반사율 등)의 평균값을 계산하여 어트리뷰트 변환을 수행할 수 있다. 어트리뷰트 변환부(40007)는 평균값 계산시 중앙점으로부터 각 포인트까지의 거리에 따른 가중치를 적용할 수 있다. 따라서 각 복셀은 포지션과 계산된 어트리뷰트(또는 어트리뷰트 값)을 갖게 된다.
어트리뷰트 변환부(40007)는 K-D 트리 또는 몰톤(morton) 코드를 기반으로 각 복셀의 중앙점의 포지션으로부터 특정 위치/반경 내에 존재하는 이웃 포인트들을 탐색할 수 있다. K-D 트리는 이진 탐색 트리(binary search tree)로 빠르게 최단 이웃점 탐색(Nearest Neighbor Search-NNS)이 가능하도록 point들을 위치 기반으로 관리할 수 있는 자료 구조를 지원한다. 몰톤 코드는 모든 포인트들의 3차원 포지션을 나타내는 좌표값(예를 들면 (x, y, z))을 비트값으로 나타내고, 비트들을 믹싱하여 생성된다. 예를 들어 포인트의 포지션을 나타내는 좌표값이 (5, 9, 1)일 경우 좌표값의 비트 값은 (0101, 1001, 0001)이다. 비트 값을 z, y, x 순서로 비트 인덱스에 맞춰 믹싱하면 010001000111이다. 이 값을 10진수로 나타내면 1095이 된다. 즉, 좌표값이 (5, 9, 1)인 포인트의 몰톤 코드 값은 1095이다. 어트리뷰트 변환부(40007)는 몰톤 코드 값을 기준으로 포인트들을 정렬하고depth-first traversal 과정을 통해 최단 이웃점 탐색(NNS)을 할 수 있다. 어트리뷰트 변환 동작 이후, 어트리뷰트 코딩을 위한 다른 변환 과정에서도 최단 이웃점 탐색(NNS)이 필요한 경우, K-D 트리 또는 몰톤 코드가 활용된다.
도면에 도시된 바와 같이 변환된 어트리뷰트들은 RAHT 변환부(40008) 및/또는 LOD 생성부(40009)로 입력된다.
실시예들에 따른 RAHT 변환부(40008)는 재구성된 지오메트리 정보에 기반하여 어트리뷰트 정보를 예측하는 RAHT코딩을 수행한다. 예를 들어, RAHT 변환부(40008)는 옥트리의 하위 레벨에 있는 노드와 연관된 어트리뷰트 정보에 기반하여 옥트리의 상위 레벨에 있는 노드의 어트리뷰트 정보를 예측할 수 있다.
실시예들에 따른 LOD생성부(40009)는 LOD(Level of Detail)를 생성한다. 실시예들에 따른 LOD는 포인트 클라우드 콘텐트의 디테일을 나타내는 정도로서, LOD 값이 작을 수록 포인트 클라우드 콘텐트의 디테일이 떨어지고, LOD 값이 클 수록 포인트 클라우드 콘텐트의 디테일이 높음을 나타낸다. 포인트들을 LOD에 따라 분류될 수 있다.
실시예들에 따른 리프팅 변환부(40010)는 포인트 클라우드의 어트리뷰트들을 가중치에 기반하여 변환하는 리프팅 변환 코딩을 수행한다. 상술한 바와 같이 리프팅 변환 코딩은 선택적으로 적용될 수 있다.
실시예들에 따른 계수 양자화부(40011)은 어트리뷰트 코딩된 어트리뷰트들을 계수에 기반하여 양자화한다.
실시예들에 따른 아리스메틱 인코더(40012)는 양자화된 어트리뷰트들을 아리스메틱 코딩 에 기반하여 인코딩한다.
도 4의 포인트 클라우드 비디오 인코더의 엘레멘트들은 도면에 도시되지 않았으나 포인트 클라우드 콘텐트 제공 장치에 포함된 하나 또는 그 이상의 메모리들과 통신가능하도록 설정된 하나 또는 그 이상의 프로세서들 또는 집적 회로들(integrated circuits)을 포함하는 하드웨어, 소프트웨어, 펌웨어 또는 이들의 조합으로 구현될 수 있다. 하나 또는 그 이상의 프로세서들은 상술한 도 4의 포인트 클라우드 비디오 인코더의 엘레멘트들의 동작들 및/또는 기능들 중 적어도 어느 하나 이상을 수행할 수 있다. 또한 하나 또는 그 이상의 프로세서들은 도 4의 포인트 클라우드 비디오 인코더의 엘레멘트들의 동작들 및/또는 기능들을 수행하기 위한 소프트웨어 프로그램들 및/또는 인스트럭션들의 세트를 동작하거나 실행할 수 있다. 실시예들에 따른 하나 또는 그 이상의 메모리들은 하이 스피드 랜덤 억세스 메모리를 포함할 수도 있고, 비휘발성 메모리(예를 들면 하나 또는 그 이상의 마그네틱 디스크 저장 디바이스들, 플래쉬 메모리 디바이스들, 또는 다른 비휘발성 솔리드 스테이트 메모리 디바이스들(Solid-state memory devices)등)를 포함할 수 있다.
도 5 는 실시예들에 따른 복셀의 예시를 나타낸다.
도 5는 X축, Y축, Z축의 3가지 축으로 구성된 좌표계로 표현되는 3차원 공간상에 위치한 복셀을 나타낸다. 도 4에서 설명한 바와 같이 포인트 클라우드 비디오 인코더(예를 들면 양자화부(40001) 등)은 복셀화를 수행할 수 있다. 복셀은 3차원 공간을 표현하는 축들(예를 들면 X축, Y축, Z축)을 기반으로 3차원 공간을 유닛(unit=1.0) 단위로 나누었을 때 발생하는 3차원 큐빅 공간을 의미한다. 도 5는 두 개의 극점들(0,0,0) 및 (2d, 2d, 2d) 으로 정의되는 바운딩 박스(cubical axis-aligned bounding box)를 재귀적으로 분할(recursive subdividing)하는 옥트리 구조를 통해 생성된 복셀의 예시를 나타낸다. 하나의 복셀은 적어도 하나 이상의 포인트를 포함한다. 복셀은 복셀군(voxel group)과의 포지션 관계로부터 공간 좌표를 추정 할 수 있다. 상술한 바와 같이 복셀은 2차원 이미지/영상의 픽셀과 마찬가지로 어트리뷰트(색상 또는 반사율 등)을 가진다. 복셀에 대한 구체적인 설명은 도 4에서 설명한 바와 동일하므로 생략한다.
도 6은 실시예들에 따른 옥트리 및 오큐판시 코드 (occupancy code)의 예시를 나타낸다.
도 1 내지 도 4에서 설명한 바와 같이 포인트 클라우드 콘텐트 제공 시스템(포인트 클라우드 비디오 인코더(10002)) 또는 포인트 클라우드 비디오 인코더의 옥트리 분석부(40002))는 복셀의 영역 및/또는 포지션을 효율적으로 관리하기 위하여 옥트리 구조 기반의 옥트리 지오메트리 코딩(또는 옥트리 코딩)을 수행한다.
도 6의 상단은 옥트리 구조를 나타낸다. 실시예들에 따른 포인트 클라우드 콘텐트의 3차원 공간은 좌표계의 축들(예를 들면 X축, Y축, Z축)로 표현된다. 옥트리 구조는 두 개의 극점들(0,0,0) 및 (2d, 2d, 2d) 으로 정의되는 바운딩 박스(cubical axis-aligned bounding box)를 재귀적으로 분할(recursive subdividing)하여 생성된다. 2d는 포인트 클라우드 콘텐트(또는 포인트 클라우드 비디오)의 전체 포인트들을 감싸는 가장 작은 바운딩 박스를 구성하는 값으로 설정될 수 있다. d는 옥트리의 깊이(depth)를 나타낸다. d값은 다음의 수학식 1에 따라 결정된다. 하기 수학식 1에서 (xint
n, yint
n, zint
n)는 양자화된 포인트들의 포지션들(또는 포지션 값들)을 나타낸다.
[수학식 1]
도 6의 상단의 중간에 도시된 바와 같이, 분할에 따라 전체 3차원 공간은 8개의 공간들로 분할될 수 있다. 분할된 각 공간은 6개의 면들을 갖는 큐브로 표현된다. 도 6의 상단의 오른쪽에 도시된 바와 같이 8개의 공간들 각각은 다시 좌표계의 축들(예를 들면 X축, Y축, Z축)을 기반으로 분할된다. 따라서 각 공간은 다시 8개의 작은 공간들로 분할된다. 분할된 작은 공간 역시 6개의 면들을 갖는 큐브로 표현된다. 이와 같은 분할 방식은 옥트리의 리프 노드(leaf node)가 복셀이 될 때까지 적용된다.
도 6의 하단은 옥트리의 오큐판시 코드를 나타낸다. 옥트리의 오큐판시 코드는 하나의 공간이 분할되어 발생되는 8개의 분할된 공간들 각각이 적어도 하나의 포인트를 포함하는지 여부를 나타내기 위해 생성된다. 따라서 하나의 오큐판시 코드는 8개의 자식 노드(child node)들로 표현된다. 각 자식 노드는 분할된 공간의 오큐판시를 나타내며, 자식 노드는 1비트의 값을 갖는다. 따라서 오큐판시 코드는 8 비트 코드로 표현된다. 즉, 자식 노드에 대응하는 공간에 적어도 하나의 포인트가 포함되어 있으면 해당 노드는 1값을 갖는다. 자식 노드에 대응하는 공간에 포인트가 포함되어 있지 않으면 (empty), 해당 노드는 0값을 갖는다. 도 6에 도시된 오큐판시 코드는 00100001이므로 8개의 자식 노드 중 3번째 자식 노드 및 8번째 자식 노드에 대응하는 공간들은 각각 적어도 하나의 포인트를 포함함을 나타낸다. 도면에 도시된 바와 같이 3번째 자식 노드 및 8번째 자식 노드는 각각 8개의 자식 노드를 가지며, 각 자식 노드는 8비트의 오큐판시 코드로 표현된다. 도면은 3번째 자식 노드의 오큐판시 코드가 10000111이고, 8번째 자식 노드의 오큐판시 코드가 01001111임을 나타낸다. 실시예들에 따른 포인트 클라우드 비디오 인코더(예를 들면 아리스메틱 인코더(40004))는 오큐판시 코드를 엔트로피 인코딩할 수 있다. 또한 압축 효율을 높이기 위해 포인트 클라우드 비디오 인코더는 오큐판시 코드를 인트라/인터 코딩할 수 있다. 실시예들에 따른 수신 장치(예를 들면 수신 장치(10004) 또는 포인트 클라우드 비디오 디코더(10006))는 오큐판시 코드를 기반으로 옥트리를 재구성한다.
실시예들에 따른 포인트 클라우드 비디오 인코더(예를 들면 옥트리 분석부(40002))는 포인트들의 포지션들을 저장하기 위해 복셀화 및 옥트리 코딩을 수행할 수 있다. 하지만 3차원 공간 내 포인트들이 언제나 고르게 분포하는 것은 아니므로, 포인트들이 많이 존재하지 않는 특정 영역이 존재할 수 있다. 이 경우, 3차원 공간 전체에 대해 복셀화를 수행하는 것은 비효율 적이다. 예를 들어 특정 영역에 포인트가 거의 존재하지 않는다면, 해당 영역까지 복셀화를 수행할 필요가 없다.
따라서 실시예들에 따른 포인트 클라우드 비디오 인코더는 상술한 특정 영역(또는 옥트리의 리프 노드를 제외한 노드)에 대해서는 복셀화를 수행하지 않고, 특정 영역에 포함된 포인트들의 포지션을 직접 코딩하는 다이렉트 코딩(Direct coding)을 수행할 수 있다. 실시예들에 따른 다이렉트 코딩 포인트의 좌표들은 다이렉트 코딩 모드(Direct Coding Mode, DCM)으로 호칭된다. 또한 실시예들에 따른 포인트 클라우드 비디오 인코더는 표면 모델(surface model)을 기반으로 특정 영역(또는 노드)내의 포인트들의 포지션들을 복셀 기반으로 재구성하는 트라이숩 지오메트리 인코딩(Trisoup geometry encoding)을 수행할 수 있다. 트라이숩 지오메트리 인코딩은 오브젝트의 표현을 삼각형 메쉬(triangle mesh)의 시리즈로 표현하는 지오메트리 인코딩이다. 따라서 포인트 클라우드 비디오 디코더는 메쉬 표면으로부터 포인트 클라우드를 생성할 수 있다. 실시예들에 따른 다이렉트 코딩 및 트라이숩 지오메트리 인코딩은 선택적으로 수행될 수 있다. 또한 실시예들에 따른 다이렉트 코딩 및 트라이숩 지오메트리 인코딩은 옥트리 지오메트리 코딩(또는 옥트리 코딩)과 결합되어 수행될 수 있다.
다이렉트 코딩(Direct coding)을 수행하기 위해서는 다이렉트 코딩을 적용하기 위한 직접 모드(direct mode) 사용 옵션이 활성화 되어 있어야 하며, 다이렉트 코딩을 적용할 노드는 리프 노드가 아니고, 특정 노드 내에 한계치(threshold) 이하의 포인트들이 존재해야 한다. 또한 다이렉트 코딩의 대상이 되는 전체 포인트들의 개수는 기설정된 한계값을 넘어서는 안된다. 위의 조건이 만족되면, 실시예들에 따른 포인트 클라우드 비디오 인코더(예를 들어, 아리스메틱 인코더(40004))는 포인트들의 포지션들(또는 포지션 값들)을 엔트로피 코딩할 수 있다.
실시예들에 따른 포인트 클라우드 비디오 인코더(예를 들면 서페이스 어프록시메이션 분석부(40003))는 옥트리의 특정 레벨(레벨은 옥트리의 깊이 d보다는 작은 경우)을 정하고, 그 레벨부터는 표면 모델을 사용하여 노드 영역내의 포인트의 포지션을 복셀 기반으로 재구성하는 트라이숩 지오메트리 인코딩을 수행할 수 있다(트라이숩 모드). 실시예들에 따른 포인트 클라우드 비디오 인코더는 트라이숩 지오메트리 인코딩을 적용할 레벨을 지정할 수 있다. 예를 들어, 지정된 레벨이 옥트리의 깊이와 같으면 포인트 클라우드 비디오 인코더는 트라이숩 모드로 동작하지 않는다. 즉, 실시예들에 따른 포인트 클라우드 비디오 인코더는 지정된 레벨이 옥트리의 깊이값 보다 작은 경우에만 트라이숩 모드로 동작할 수 있다. 실시예들에 따른 지정된 레벨의 노드들의 3차원 정육면체 영역을 블록(block)이라 호칭한다. 하나의 블록은 하나 또는 그 이상의 복셀들을 포함할 수 있다. 블록 또는 복셀은 브릭(brick)에 대응될 수도 있다. 각 블록 내에서 지오메트리는 표면(surface)으로 표현된다. 실시예들에 따른 표면은 최대 한번 블록의 각 엣지(edge, 모서리)와 교차할 수 있다.
하나의 블록은 12개의 엣지들을 가지므로, 하나의 블록 내 적어도 12개의 교차점들이 존재한다. 각 교차점은 버텍스(vertex, 정점 또는 꼭지점)라 호칭된다. 엣지를 따라 존재하는 버텍스은 해당 엣지를 공유하는 모든 블록들 중 그 엣지에 인접한 적어도 하나의 오큐파이드 복셀(occupied voxel)이 있는 경우 감지된다. 실시예들에 따른 오큐파이드 복셀은 포인트를 포함하는 복셀을 의미한다. 엣지를 따라 검출된 버텍스의 포지션은 해당 엣지를 공유하는 모든 블록들 중 해당 엣지에 인접한 모든 복셀들의 엣지에 따른 평균 포지션(the average position along the edge of all voxels)이다.
버텍스가 검출되면 실시예들에 따른 포인트 클라우드 비디오 인코더는 엣지의 시작점(x, y, z), 엣지의 방향벡터(
x,
y,
z), 버텍스 위치 값 (엣지 내의 상대적 위치 값)들을 엔트로피 코딩할 수 있다. 트라이숩 지오메트리 인코딩이 적용된 경우, 실시예들에 따른 포인트 클라우드 비디오 인코더(예를 들면 지오메트리 리컨스트럭션부(40005))는 삼각형 재구성(triangle reconstruction), 업-샘플링(up-sampling), 복셀화 과정을 수행하여 복원된 지오메트리(재구성된 지오메트리)를 생성할 수 있다.
블록의 엣지에 위치한 버텍스들은 블록을 통과하는 표면(surface)를 결정한다. 실시예들에 따른 표면은 비평면 다각형이다. 삼각형 재구성 과정은 엣지의 시작점, 엣지의 방향 벡터와 버텍스의 위치값을 기반으로 삼각형으로 나타내는 표면을 재구성한다. 삼각형 재구성 과정은 다음의 수학식 2와 같다. ①각 버텍스들의 중심(centroid)값을 계산하고, ②각 버텍스값에서 중심 값을 뺀 값들에 ③자승을 수행하고 그 값을 모두 더한 값을 구한다.
[수학식 2]
그리고나서, 더해진 값의 최소값을 구하고, 최소값이 있는 축에 따라서 프로젝션 (Projection, 투영) 과정을 수행한다. 예를 들어 x 요소(element)가 최소인 경우, 각 버텍스를 블록의 중심을 기준으로 x축으로 프로젝션 시키고, (y, z) 평면으로 프로젝션 시킨다. (y, z)평면으로 프로젝션 시키면 나오는 값이 (ai, bi)라면 atan2(bi, ai)를 통해 θ값을 구하고, θ값을 기준으로 버텍스들(vertices)을 정렬한다. 하기의 표 1은 버텍스들의 개수에 따라 삼각형을 생성하기 위한 버텍스들의 조합을 나타낸다. 버텍스들은 1부터 n까지의 순서로 정렬된다. 하기 표 1은 4개의 버텍스들에 대하여, 버텍스들의 조합에 따라 두 개의 삼각형들이 구성될 수 있음을 나타낸다. 첫번째 삼각형은 정렬된 버텍스들 중 1, 2, 3번째 버텍스들로 구성되고, 두번째 삼각형은 정렬된 버텍스들 중 3, 4, 1번째 버텍스들로 구성될 수 있다.
표 1. Triangles formed from vertices ordered 1,…, n
n |
Triangles |
3 |
(1,2,3) |
4 |
(1,2,3), (3,4,1) |
5 |
(1,2,3), (3,4,5), (5,1,3) |
6 |
(1,2,3), (3,4,5), (5,6,1), (1,3,5) |
7 |
(1,2,3), (3,4,5), (5,6,7), (7,1,3), (3,5,7) |
8 |
(1,2,3), (3,4,5), (5,6,7), (7,8,1), (1,3,5), (5,7,1) |
9 |
(1,2,3), (3,4,5), (5,6,7), (7,8,9), (9,1,3), (3,5,7), (7,9,3) |
10 |
(1,2,3), (3,4,5), (5,6,7), (7,8,9), (9,10,1), (1,3,5), (5,7,9), (9,1,5) |
11 |
(1,2,3), (3,4,5), (5,6,7), (7,8,9), (9,10,11), (11,1,3), (3,5,7), (7,9,11), (11,3,7) |
12 |
(1,2,3), (3,4,5), (5,6,7), (7,8,9), (9,10,11), (11,12,1), (1,3,5), (5,7,9), (9,11,1), (1,5,9) |
업샘플링 과정은 삼각형의 엣지를 따라서 중간에 점들을 추가하여 복셀화 하기 위해서 수행된다. 업샘플링 요소 값(upsampling factor)과 블록의 너비를 기준으로 추가 점들을 생성한다. 추가점은 리파인드 버텍스(refined vertices)라고 호칭된다. 실시예들에 따른 포인트 클라우드 비디오 인코더는 리파인드 버텍스들을 복셀화할 수 있다. 또한 포인트 클라우드 비디오 인코더는 복셀화 된 포지션(또는 포지션 값)을 기반으로 어트리뷰트 인코딩을 수행할 수 있다.
도 7은 실시예들에 따른 이웃 노드 패턴의 예시를 나타낸다.
포인트 클라우드 비디오의 압축 효율을 증가시키기 위하여 실시예들에 따른 포인트 클라우드 비디오 인코더는 콘텍스트 어댑티브 아리스메틱 (context adaptive arithmetic) 코딩을 기반으로 엔트로피 코딩을 수행할 수 있다.
도 1 내지 도 6에서 설명한 바와 같이 포인트 클라우드 콘텐트 제공 시스템 또는 도 2의 포인트 클라우드 비디오 인코더(10002) 또는 도 4의 포인트 클라우드 비디오 인코더 또는 아리스메틱 인코더(40004)는 오큐판시 코드를 곧바로 엔트로피 코딩할 수 있다. 또한 포인트 클라우드 콘텐트 제공 시스템 또는 포인트 클라우드 비디오 인코더는 현재 노드의 오큐판시 코드와 이웃 노드들의 오큐판시를 기반으로 엔트로피 인코딩(인트라 인코딩)을 수행하거나, 이전 프레임의 오큐판시 코드를 기반으로 엔트로피 인코딩(인터 인코딩)을 수행할 수 있다. 실시예들에 따른 프레임은 동일한 시간에 생성된 포인트 클라우드 비디오의 집합을 의미한다. 실시예들에 따른 인트라 인코딩/인터 인코딩의 압축 효율은 참조하는 이웃 노드들의 개수에 따라 달라질 수 있다. 비트가 커지면 복잡해지지만 한쪽으로 치우치게 만들어서 압축 효율이 높아질 수 있다. 예를 들어 3-bit context를 가지면, 2의 3승인 = 8가지 방법으로 코딩 해야 한다. 나누어 코딩을 하는 부분은 구현의 복잡도에 영향을 준다. 따라서 압축의 효율과 복잡도의 적정 수준을 맞출 필요가 있다.
도 7은 이웃 노드들의 오큐판시를 기반으로 오큐판시 패턴을 구하는 과정을 나타낸다. 실시예들에 따른 포인트 클라우드 비디오 인코더는 옥트리의 각 노드의 이웃 노드들의 오큐판시(occupancy)를 판단하고 이웃 노드 패턴(neighbor pattern) 값을 구한다. 이웃 노드 패턴은 해당 노드의 오큐판시 패턴을 추론하기 위해 사용된다. 도 7의 왼쪽은 노드에 대응하는 큐브(가운데 위치한 큐브) 및 해당 큐브와 적어도 하나의 면을 공유하는 6개의 큐브들(이웃 노드들)을 나타낸다. 도면에 도시된 노드들은 같은 뎁스(깊이)의 노드들이다. 도면에 도시된 숫자는 6개의 노드들 각각과 연관된 가중치들(1, 2, 4, 8, 16, 32, 등)을 나타낸다. 각 가중치는 이웃 노드들의 위치에 따라 순차적으로 부여된다.
도 7의 오른쪽은 이웃 노드 패턴 값을 나타낸다. 이웃 노드 패턴 값은 오큐파이드 이웃 노드(포인트를 갖는 이웃 노드)의 가중치가 곱해진 값들의 합이다. 따라서 이웃 노드 패턴 값은 0에서 63까지의 값을 갖는다. 이웃 노드 패턴 값이 0 인 경우, 해당 노드의 이웃 노드 중 포인트를 갖는 노드(오큐파이드 노드)가 없음을 나타낸다. 이웃 노드 패턴 값이 63인 경우, 이웃 노드들이 전부 오큐파이드 노드들임을 나타낸다. 도면에 도시된 바와 같이 가중치1, 2, 4, 8가 부여된 이웃 노드들은 오큐파이드 노드들이므로, 이웃 노드 패턴 값은 1, 2, 4, 8을 더한 값인 15이다. 포인트 클라우드 비디오 인코더는 이웃 노드 패턴 값에 따라 코딩을 수행할 수 있다(예를 들어 이웃 노드 패턴 값이 63인 경우, 64가지의 코딩을 수행). 실시예들에 따라 포인트 클라우드 비디오 인코더는 이웃 노드 패턴 값을 변경 (예를 들면 64를 10 또는 6으로 변경하는 테이블을 기반으로) 하여 코딩의 복잡도를 줄일 수 있다.
도 8은 실시예들에 따른 LOD 별 포인트 구성의 예시를 나타낸다.
도 1 내지 도 7에서 설명한 바와 같이, 어트리뷰트 인코딩이 수행되기 전 인코딩된 지오메트리는 재구성(디컴프레션) 된다. 다이렉트 코딩이 적용된 경우, 지오메트리 재구성 동작은 다이렉트 코딩된 포인트들의 배치를 변경하는 것을 포함할 수 있다(예를 들면 다이렉트 코딩된 포인트들을 포인트 클라우드 데이터의 앞쪽에 배치). 트라이숩 지오메트리 인코딩이 적용된 경우, 지오메트리 재구성 과정은 삼각형 재구성, 업샘플링, 복셀화 과정을 어트리뷰트는 지오메트리에 종속되므로, 어트리뷰트 인코딩은 재구성된 지오메트리를 기반으로 수행된다.
포인트 클라우드 비디오 인코더(예를 들면 LOD 생성부(40009))는 포인트들을 LOD별로 분류(reorganization) 또는 그룹핑(grouping) 할 수 있다. 도 8은 LOD에 대응하는 포인트 클라우드 콘텐트를 나타낸다. 도 8의 가장 왼쪽은 오리지널 포인트 클라우드 콘텐트를 나타낸다. 도 8의 왼쪽에서 두번째 그림은 가장 낮은 LOD의 포인트들의 분포를 나타내며, 도 8의 가장 오른쪽 그림은 가장 높은 LOD의 포인트들의 분포를 나타낸다. 즉, 가장 낮은 LOD의 포인트들은 드문드문(sparse) 분포하며, 가장 높은 LOD의 포인트들은 촘촘히 분포한다. 즉, 도 8의 하단에 표시된 화살표 방향에 따라 LOD가 증가할수록 포인트들 간의 간격(또는 거리)는 더 짧아진다.
도 9는 실시예들에 따른 LOD 별 포인트 구성의 예시를 나타낸다.
도 1 내지 도 8에서 설명한 바와 같이 포인트 클라우드 콘텐트 제공 시스템, 또는 포인트 클라우드 비디오 인코더(예를 들면 도 2의 포인트 클라우드 비디오 인코더(10002), 도 4의 포인트 클라우드 비디오 인코더, 또는 LOD 생성부(40009))는 LOD를 생성할 수 있다. LOD는 포인트들을 설정된 LOD 거리 값(또는 유클리디안 디스턴스(Euclidean Distance)의 세트)에 따라 리파인먼트 레벨들(refinement levels)의 세트로 재정열(reorganize)하여 생성된다. LOD 생성 과정은 포인트 클라우드 비디오 인코더뿐만 아니라 포인트 클라우드 비디오 디코더에서도 수행된다.
도 9의 상단은 3차원 공간에 분포된 포인트 클라우드 콘텐트의 포인트들의 예시(P0내지 P9)를 나타낸다. 도 9의 오리지널 오더(Original order)는 LOD 생성 전 포인트들 P0내지 P9의 순서를 나타낸다. 도 9의 LOD 기반 오더 (LOD based order)는 LOD 생성에 따른 포인트들의 순서를 나타낸다. 포인트들은 LOD별 재정열된다. 또한 높은 LOD는 낮은 LOD에 속한 포인트들을 포함한다. 도 9에 도시된 바와 같이 LOD0는 P0, P5, P4 및 P2를 포함한다. LOD1은 LOD0의 포인트들과 P1, P6 및 P3를 포함한다. LOD2는 LOD0의 포인트들, LOD1의 포인트들 및 P9, P8 및 P7을 포함한다.
도 4에서 설명한 바와 같이 실시예들에 따른 포인트 클라우드 비디오 인코더는 LOD 기반의 예측 변환 코딩, 리프팅 변환 코딩 및 RAHT 변환 코딩을 선택적으로 또는 조합하여 수행할 수 있다.
실시예들에 따른 포인트 클라우드 비디오 인코더는 포인트들에 대한 예측기(predictor)를 생성하여 각 포인트의 예측 어트리뷰트(또는 예측 어트리뷰트값)을 설정하기 위한 LOD 기반의 예측 변환 코딩을 수행할 수 있다. 즉, N개의 포인트들에 대하여 N개의 예측기들이 생성될 수 있다. 실시예들에 따른 예측기는 각 포인트의 LOD 값과 LOD별 설정된 거리 내에 존재하는 이웃 포인트들에 대한 인덱싱 정보 및 이웃 포인트들까지의 거리 값을 기반으로 가중치(=1/거리) 값을 계산할 수 있다.
실시예들에 따른 예측 어트리뷰트(또는 어트리뷰트값)은 각 포인트의 예측기에 설정된 이웃 포인트들의 어트리뷰트들(또는 어트리뷰트 값들, 예를 들면 색상, 반사율 등)에 각 이웃 포인트까지의 거리를 기반으로 계산된 가중치(또는 가중치값)을 곱한 값의 평균값으로 설정된다. 실시예들에 따른 포인트 클라우드 비디오 인코더(예를 들면 계수 양자화부(40011)는 해당 포인트의 어트리뷰트(즉, 오리지날 어트리뷰트 값)에서 해당 예측 어트리뷰트(어트리뷰트값)을 뺀 해당 포인트의 잔여값(residual, 잔여 어트리뷰트, 잔여 어트리뷰트값, 어트리뷰트 예측 잔여값, 예측 에러 어트리뷰트 값 등으로 호칭할 수 있다)을 양자화(quantization) 및 역양자화(inverse quantization)할 수 있다. 잔여 어트리뷰트 값에 대해 수행되는 송신 디바이스의 양자화 과정은 표 2와 같다. 그리고 표 2와 같이 양자화가 이루어진 잔여 어트리뷰트 값에 대해 수행되는 수신 디바이스의 역 양자화 과정은 표 3과 같다.
int PCCQuantization(int value, int quantStep) { |
if( value >=0) { |
return floor(value / quantStep + 1.0 / 3.0); |
} else { |
return -floor(-value / quantStep + 1.0 / 3.0); |
} |
} |
int PCCInverseQuantization(int value, int quantStep) { |
if( quantStep ==0) { |
return value; |
} else { |
return value * quantStep; |
} |
} |
실시예들에 따른 포인트 클라우드 비디오 인코더(예를 들면 아리스메틱 인코더(40012))는 각 포인트의 예측기에 이웃한 포인트들이 있는 경우, 상술한 바와 같이 양자화 및 역양자화된 잔여(residual) 어트리뷰트 값을 엔트로피 코딩 할 수 있다. 실시예들에 따른 포인트 클라우드 비디오 인코더(예를 들면 아리스메틱 인코더(40012))는 각 포인트의 예측기에 이웃한 포인트들이 없으면 상술한 과정을 수행하지 않고 해당 포인트의 어트리뷰트들을 엔트로피 코딩할 수 있다.
실시예들에 따른 포인트 클라우드 비디오 인코더 (예를 들면 리프팅 변환부(40010))는 각 포인트의 예측기를 생성하고, 예측기에 계산된 LOD를 설정 및 이웃 포인트들을 등록하고, 이웃 포인트들까지의 거리에 따른 가중치를 설정하여 리프팅 변환 코딩을 수행할 수 있다. 실시예들에 따른 리프팅 변환 코딩은 상술한 LOD 기반의 예측 변환 코딩과 유사하나, 어트리뷰트값에 가중치를 누적 적용한다는 점에서 차이가 있다. 실시예들에 따른 어트리뷰트값에 가중치를 누적 적용하는 과정은 다음과 같다.
1) 각 포인트의 가중치 값을 저장하는 배열 QW(QuantizationWieght)를 생성한다. QW의 모든 요소들의 초기값은 1.0이다. 예측기에 등록된 이웃 노드의 예측기 인덱스의 QW 값에 현재 포인트의 예측기의 가중치를 곱한 값을 더한다.
2) 리프트 예측 과정: 예측된 어트리뷰트 값을 계산하기 위하여 포인트의 어트리뷰트 값에 가중치를 곱한 값을 기존 어트리뷰트값에서 뺀다.
3) 업데이트웨이트(updateweight) 및 업데이트(update)라는 임시 배열들을 생성하고 임시 배열들을 0으로 초기화한다.
4) 모든 예측기에 대해서 계산된 가중치에 예측기 인덱스에 해당하는 QW에 저장된 가중치를 추가로 곱해서 산출된 가중치를 업데이트웨이트 배열에 이웃 노드의 인덱스로 누적으로 합산한다. 업데이트 배열에는 이웃 노드의 인덱스의 어트리뷰트 값에 산출된 가중치를 곱한 값을 누적 합산한다.
5) 리프트 업데이트 과정: 모든 예측기에 대해서 업데이트 배열의 어트리뷰트 값을 예측기 인덱스의 업데이트웨이트 배열의 가중치 값으로 나누고, 나눈 값에 다시 기존 어트리뷰트 값을 더한다.
6) 모든 예측기에 대해서, 리프트 업데이트 과정을 통해 업데이트된 어트리뷰트 값에 리프트 예측 과정을 통해 업데이트 된(QW에 저장된) 가중치를 추가로 곱하여 예측 어트리뷰트 값을 산출한다. 실시예들에 따른 포인트 클라우드 비디오 인코더(예를 들면 계수 양자화부(40011))는 예측 어트리뷰트 값을 양자화한다. 또한 포인트 클라우드 비디오 인코더(예를 들면 아리스메틱 인코더(40012))는 양자화된 어트리뷰트 값을 엔트로피 코딩한다.
실시예들에 따른 포인트 클라우드 비디오 인코더(예를 들면 RAHT 변환부(40008))는 옥트리의 하위 레벨에 있는 노드와 연관된 어트리뷰트를 사용하여 상위 레벨의 노드들의 어트리뷰트를 에측하는 RAHT 변환 코딩을 수행할 수 있다. RAHT 변환 코딩은 옥트리 백워드 스캔을 통한 어트리뷰트 인트라 코딩의 예시이다. 실시예들에 따른 포인트 클라우드 비디오 인코더는 복셀에서 전체 영역으로 스캔하고, 각 스텝에서 복셀을 더 큰 블록으로 합치면서 루트 노드까지의 병합 과정을 반복수행한다. 실시예들에 따른 병합 과정은 오큐파이드 노드에 대해서만 수행된다. 엠티 노드(empty node)에 대해서는 병합 과정이 수행되지 않으며, 엠티 노드의 바로 상위 노드에 대해 병합 과정이 수행된다.
하기의 수학식 3은 RAHT 변환 행렬을 나타낸다. glx,y,z 는 레벨 l에서의 복셀들의 평균 어트리뷰트 값을 나타낸다. glx,y,z는 gl+1 2x,y,z와 gl+1 2x+1,y,z로부터 계산될 수 있다. gl 2x,y,z 와 gl 2x+1,y,z 의 가중치를 w1=wl 2x,y,z과 w2=wl 2x+1,y,z 이다.
[수학식 3]
gl-1 x,y,z는 로-패스(low-pass) 값으로, 다음 상위 레벨에서의 병합 과정에서 사용된다. hl-1 x,y,z은 하이패스 계수(high-pass coefficients)이며, 각 스텝에서의 하이패스 계수들은 양자화되어 엔트로피 코딩 된다(예를 들면 아리스메틱 인코더(40012)의 인코딩). 가중치는 wl-1 x,y,z = wl 2x,y,z + wl 2x+1,y,z로 계산된다. 루트 노드는 마지막 g1 0,0,0 과 g1 0,0,1을 통해서 다음의 수학식 4와 같이 생성된다.
[수학식 4]
gDC값 또한 하이패스 계수와 같이 양자화되어 엔트로피 코딩된다.
도 10은 실시예들에 따른 포인트 클라우드 비디오 디코더(Point Cloud Video Decoder)의 예시를 나타낸다.
도 10에 도시된 포인트 클라우드 비디오 디코더는 도 1에서 설명한 포인트 클라우드 비디오 디코더(10006) 예시로서, 도 1에서 설명한 포인트 클라우드 비디오 디코더(10006)의 동작 등과 동일 또는 유사한 동작을 수행할 수 있다. 도면이 도시된 바와 같이 포인트 클라우드 비디오 디코더는 하나 또는 그 이상의 비트스트림(bitstream)들에 포함된 지오메트리 비트스트림(geometry bitstream) 및 어트리뷰트 비트스트림(attribute bitstream)을 수신할 수 있다. 포인트 클라우드 비디오 디코더는 지오메트리 디코더(geometry decoder) 및 어트리뷰트 디코더(attribute decoder)를 포함한다. 지오메트리 디코더는 지오메트리 비트스트림에 대해 지오메트리 디코딩을 수행하여 디코딩된 지오메트리(decoded geometry)를 출력한다. 어트리뷰트 디코더는 디코딩된 지오메트리를 기반으로 어트리뷰트 비트스트림에 대해 어트리뷰트 디코딩을 수행하여 디코딩된 어트리뷰트들(decoded attributes)을 출력한다. 디코딩된 지오메트리 및 디코딩된 어트리뷰트들은 포인트 클라우드 콘텐트를 복원(decoded point cloud)하는데 사용된다.
도 11은 실시예들에 따른 포인트 클라우드 비디오 디코더(Point Cloud Video Decoder)의 예시를 나타낸다.
도 11에 도시된 포인트 클라우드 비디오 디코더는 도 10에서 설명한 포인트 클라우드 비디오 디코더의 상세 예시로서, 도 1 내지 도 9에서 설명한 포인트 클라우드 비디오 인코더의 인코딩 동작의 역과정인 디코딩 동작을 수행할 수 있다.
도 1 및 도 10에서 설명한 바와 같이 포인트 클라우드 비디오 디코더는 지오메트리 디코딩 및 어트리뷰트 디코딩을 수행할 수 있다. 지오메트리 디코딩은 어트리뷰트 디코딩보다 먼저 수행된다.
실시예들에 따른 포인트 클라우드 비디오 디코더는 아리스메틱 디코더(arithmetic decoder, 11000), 옥트리 합성부(octree synthesis unit, 11001), 서페이스 오프록시메이션 합성부(surface approximation synthesis unit, 11002), 지오메트리 리컨스트럭션부(geometry reconstruction unit, 11003), 좌표계 역변환부(coordinates inverse transformation unit, 11004), 아리스메틱 디코더(arithmetic decoder, 11005), 역양자화부(inverse quantization unit, 11006), RAHT변환부(11007), LOD생성부(LOD generation unit, 11008), 인버스 리프팅부(Inverse lifting unit, 11009), 및/또는 컬러 역변환부(color inverse transformation unit, 11010)를 포함한다.
아리스메틱 디코더(11000), 옥트리 합성부(11001), 서페이스 오프록시메이션 합성부(11002), 지오메트리 리컨스트럭션부(11003), 좌표계 역변환부(11004)는 지오메트리 디코딩을 수행할 수 있다. 실시예들에 따른 지오메트리 디코딩은 다이렉트 디코딩(direct decoding) 및 트라이숩 지오메트리 디코딩(trisoup geometry decoding)을 포함할 수 있다. 다이렉트 디코딩 및 트라이숩 지오메트리 디코딩은 선택적으로 적용된다. 또한 지오메트리 디코딩은 위의 예시에 국한되지 않으며, 도 1 내지 도 9에서 설명한 지오메트리 인코딩의 역과정으로 수행된다.
실시예들에 따른 아리스메틱 디코더(11000)는 수신한 지오메트리 비트스트림을 아리스메틱 코딩을 기반으로 디코딩한다. 아리스메틱 디코더(11000)의 동작은 아리스메틱 인코더(40004)의 역과정에 대응한다.
실시예들에 따른 옥트리 합성부(11001)는 디코딩된 지오메트리 비트스트림으로부터 (또는 디코딩 결과 확보된 지오메트리에 관한 정보)로부터 오큐판시 코드를 획득하여 옥트리를 생성할 수 있다. 오큐판시 코드에 대한 구체적인 설명은 도 1 내지 도 9에서 설명한 바와 같다.
실시예들에 따른 서페이스 오프록시메이션 합성부(11002)는 트라이숩 지오메트리 인코딩이 적용된 경우, 디코딩된 지오메트리 및/또는 생성된 옥트리에 기반하여 서페이스를 합성할 수 있다.
실시예들에 따른 지오메트리 리컨스트럭션부(11003)는 서페이스 및 또는 디코딩된 지오메트리에 기반하여 지오메트리를 재생성할 수 있다. 도 1 내지 도 9에서 설명한 바와 같이, 다이렉트 코딩 및 트라이숩 지오메트리 인코딩은 선택적으로 적용된다. 따라서 지오메트리 리컨스트럭션부(11003)는 다이렉트 코딩이 적용된 포인트들의 포지션 정보들을 직접 가져와서 추가한다. 또한, 트라이숩 지오메트리 인코딩이 적용된 경우, 지오메트리 리컨스트럭션부(11003)는 지오메트리 리컨스트럭션부(40005)의 재구성 동작, 예를 들면 삼각형 재구성, 업-샘플링, 복셀화 동작을 수행하여 지오메트리를 복원할 수 있다. 구체적인 내용은 도 6에서 설명한 바와 동일하므로 생략한다. 복원된 지오메트리는 어트리뷰트들을 포함하지 않는 포인트 클라우드 픽쳐 또는 프레임을 포함할 수 있다.
실시예들에 따른 좌표계 역변환부(11004)는 복원된 지오메트리를 기반으로 좌표계를 변환하여 포인트들의 포지션들을 획득할 수 있다.
아리스메틱 디코더(11005), 역양자화부(11006), RAHT 변환부(11007), LOD생성부(11008), 인버스 리프팅부(11009), 및/또는 컬러 역변환부(11010)는 도 10에서 설명한 어트리뷰트 디코딩을 수행할 수 있다. 실시예들에 따른 어트리뷰트 디코딩은 RAHT(Region Adaptive Hierarchical Transform) 디코딩, 예측 변환(Interpolation-based hierarchical nearest-neighbour prediction-Prediction Transform) 디코딩 및 리프팅 변환 (interpolation-based hierarchical nearest-neighbour prediction with an update/lifting step (Lifting Transform)) 디코딩을 포함할 수 있다. 상술한 3가지의 디코딩들은 선택적으로 사용되거나, 하나 또는 그 이상의 디코딩들의 조합이 사용될 수 있다. 또한 실시예들에 따른 어트리뷰트 디코딩은 상술한 예시에 국한되는 것은 아니다.
실시예들에 따른 아리스메틱 디코더(11005)는 어트리뷰트 비트스트림을 아리스메틱 코딩으로 디코딩한다.
실시예들에 따른 역양자화부(11006)는 디코딩된 어트리뷰트 비트스트림 또는 디코딩 결과 확보한 어트리뷰트에 대한 정보를 역양자화(inverse quantization)하고 역양자화된 어트리뷰트들(또는 어트리뷰트 값들)을 출력한다. 역양자화는 포인트 클라우드 비디오 인코더의 어트리뷰트 인코딩에 기반하여 선택적으로 적용될 수 있다.
실시예들에 따라 RAHT 변환부(11007), LOD생성부(11008) 및/또는 인버스 리프팅부(11009)는 재구성된 지오메트리 및 역양자화된 어트리뷰트들을 처리할 수 있다. 상술한 바와 같이 RAHT 변환부(11007), LOD생성부(11008) 및/또는 인버스 리프팅부(11009)는 포인트 클라우드 비디오 인코더의 인코딩에 따라 그에 대응하는 디코딩 동작을 선택적으로 수행할 수 있다.
실시예들에 따른 컬러 역변환부(11010)는 디코딩된 어트리뷰트들에 포함된 컬러 값(또는 텍스쳐)을 역변환하기 위한 역변환 코딩을 수행한다. 컬러 역변환부(11010)의 동작은 포인트 클라우드 비디오 인코더의 컬러 변환부(40006)의 동작에 기반하여 선택적으로 수행될 수 있다.
도 11의 포인트 클라우드 비디오 디코더의 엘레멘트들은 도면에 도시되지 않았으나 포인트 클라우드 콘텐트 제공 시스템에 포함된 하나 또는 그 이상의 메모리들과 통신가능하도록 설정된 하나 또는 그 이상의 프로세서들 또는 집적 회로들(integrated circuits)을 포함하는 하드웨어, 소프트웨어, 펌웨어 또는 이들의 조합으로 구현될 수 있다. 하나 또는 그 이상의 프로세서들은 상술한 도 11의 포인트 클라우드 비디오 디코더의 엘레멘트들의 동작들 및/또는 기능들 중 적어도 어느 하나 이상을 수행할 수 있다. 또한 하나 또는 그 이상의 프로세서들은 도11의 포인트 클라우드 비디오 디코더의 엘레멘트들의 동작들 및/또는 기능들을 수행하기 위한 소프트웨어 프로그램들 및/또는 인스트럭션들의 세트를 동작하거나 실행할 수 있다.
도 12는 실시예들에 따른 전송 장치의 예시이다.
도 12에 도시된 전송 장치는 도 1의 전송장치(10000) (또는 도 4의 포인트 클라우드 비디오 인코더)의 예시이다. 도 12에 도시된 전송 장치는 도 1 내지 도 9에서 설명한 포인트 클라우드 비디오 인코더의 동작들 및 인코딩 방법들과 동일 또는 유사한 동작들 및 방법들 중 적어도 어느 하나 이상을 수행할 수 있다. 실시예들에 따른 전송 장치는 데이터 입력부(12000), 양자화 처리부(12001), 복셀화 처리부(12002), 옥트리 오큐판시 코드 (Occupancy code) 생성부(12003), 표면 모델 처리부(12004), 인트라/인터 코딩 처리부(12005), 아리스메틱 (Arithmetic) 코더(12006), 메타데이터 처리부(12007), 색상 변환 처리부(12008), 어트리뷰트 변환 처리부(또는 속성 변환 처리부)(12009), 예측/리프팅/RAHT 변환 처리부(12010), 아리스메틱 (Arithmetic) 코더(12011) 및/또는 전송 처리부(12012)를 포함할 수 있다.
실시예들에 따른 데이터 입력부(12000)는 포인트 클라우드 데이터를 수신 또는 획득한다. 데이터 입력부(12000)는 포인트 클라우드 비디오 획득부(10001)의 동작 및/또는 획득 방법(또는 도2에서 설명한 획득과정(20000))과 동일 또는 유사한 동작 및/또는 획득 방법을 수행할 수 있다.
데이터 입력부(12000), 양자화 처리부(12001), 복셀화 처리부(12002), 옥트리 오큐판시 코드 (Occupancy code) 생성부(12003), 표면 모델 처리부(12004), 인트라/인터 코딩 처리부(12005), Arithmetic 코더(12006)는 지오메트리 인코딩을 수행한다. 실시예들에 따른 지오메트리 인코딩은 도 1 내지 도 9에서 설명한 지오메트리 인코딩과 동일 또는 유사하므로 구체적인 설명은 생략한다.
실시예들에 따른 양자화 처리부(12001)는 지오메트리(예를 들면 포인트들의 위치값, 또는 포지션값)을 양자화한다. 양자화 처리부(12001)의 동작 및/또는 양자화는 도 4에서 설명한 양자화부(40001)의 동작 및/또는 양자화와 동일 또는 유사하다. 구체적인 설명은 도 1 내지 도 9에서 설명한 바와 동일하다.
실시예들에 따른 복셀화 처리부(12002)는 양자화된 포인트들의 포지션 값을 복셀화한다. 복셀화 처리부(120002)는 도 4에서 설명한 양자화부(40001)의 동작 및/또는 복셀화 과정과 동일 또는 유사한 동작 및/또는 과정을 수행할 수 있다. 구체적인 설명은 도 1 내지 도 9에서 설명한 바와 동일하다.
실시예들에 따른 옥트리 오큐판시 코드 생성부(12003)는 복셀화된 포인트들의 포지션들을 옥트리 구조를 기반으로 옥트리 코딩을 수행한다. 옥트리 오큐판시 코드 생성부(12003)는 오큐판시 코드를 생성할 수 있다. 옥트리 오큐판시 코드 생성부(12003)는 도 4 및 도 6에서 설명한 포인트 클라우드 비디오 인코더 (또는 옥트리 분석부(40002))의 동작 및/또는 방법과 동일 또는 유사한 동작 및/또는 방법을 수행할 수 있다. 구체적인 설명은 도 1 내지 도 9에서 설명한 바와 동일하다.
실시예들에 따른 표면 모델 처리부(12004)는 표면 모델(surface model)을 기반으로 특정 영역(또는 노드)내의 포인트들의 포지션들을 복셀 기반으로 재구성하는 트라이숩 지오메트리 인코딩을 수행할 수 있다. 포면 모델 처리부(12004)는 도 4 에서 설명한 포인트 클라우드 비디오 인코더(예를 들면 서페이스 어프록시메이션 분석부(40003))의 동작 및/또는 방법과 동일 또는 유사한 동작 및/또는 방법을 수행할 수 있다. 구체적인 설명은 도 1 내지 도 9에서 설명한 바와 동일하다.
실시예들에 따른 인트라/인터 코딩 처리부(12005)는 포인트 클라우드 데이터를 인트라/인터 코딩할 수 있다. 인트라/인터 코딩 처리부(12005)는 도 7에서 설명한 인트라/인터 코딩과 동일 또는 유사한 코딩을 수행할 수 있다. 구체적인 설명은 도 7에서 설명한 바와 동일하다. 실시예들에 따라 인트라/인터 코딩 처리부(12005)는 아리스메틱 코더(12006)에 포함될 수 있다.
실시예들에 따른 아리스메틱 코더(12006)는 포인트 클라우드 데이터의 옥트리 및/또는 근사화된 옥트리를 엔트로피 인코딩한다. 예를 들어, 인코딩 방식은 아리스메틱(Arithmetic) 인코딩 방법을 포함한다. 아리스메틱 코더(12006)는 아리스메틱 인코더(40004)의 동작 및/또는 방법과 동일 또는 유사한 동작 및/또는 방법을 수행한다.
실시예들에 따른 메타데이터 처리부(12007)는 포인트 클라우드 데이터에 관한 메타데이터, 예를 들어 설정 값 등을 처리하여 지오메트리 인코딩 및/또는 어트리뷰트 인코딩 등 필요한 처리 과정에 제공한다. 또한 실시예들에 따른 메타데이터 처리부(12007)는 지오메트리 인코딩 및/또는 어트리뷰트 인코딩과 관련된 시그널링 정보를 생성 및/또는 처리할 수 있다. 실시예들에 따른 시그널링 정보는 지오메트리 인코딩 및/또는 어트리뷰트 인코딩과 별도로 인코딩처리될 수 있다. 또한 실시예들에 따른 시그널링 정보는 인터리빙 될 수도 있다.
색상 변환 처리부(12008), 어트리뷰트 변환 처리부(12009), 예측/리프팅/RAHT 변환 처리부(12010), 아리스메틱 (Arithmetic) 코더(12011)는 어트리뷰트 인코딩을 수행한다. 실시예들에 따른 어트리뷰트 인코딩은 도 1 내지 도 9에서 설명한 어트리뷰트 인코딩과 동일 또는 유사하므로 구체적인 설명은 생략한다.
실시예들에 따른 색상 변환 처리부(12008)는 어트리뷰트들에 포함된 색상값을 변환하는 색상 변환 코딩을 수행한다. 색상 변환 처리부(12008)는 재구성된 지오메트리를 기반으로 색상 변환 코딩을 수행할 수 있다. 재구성된 지오메트리에 대한 설명은 도 1 내지 도 9에서 설명한 바와 동일하다. 또한 도 4에서 설명한 컬러 변환부(40006)의 동작 및/또는 방법과 동일 또는 유사한 동작 및/또는 방법을 수행한다. 구체적인 설명은 생략한다.
실시예들에 따른 어트리뷰트 변환 처리부(12009)는 지오메트리 인코딩이 수행되지 않은 포지션들 및/또는 재구성된 지오메트리를 기반으로 어트리뷰트들을 변환하는 어트리뷰트 변환을 수행한다. 어트리뷰트 변환 처리부(12009)는 도 4에 설명한 어트리뷰트 변환부(40007)의 동작 및/또는 방법과 동일 또는 유사한 동작 및/또는 방법을 수행한다. 구체적인 설명은 생략한다. 실시예들에 따른 예측/리프팅/RAHT 변환 처리부(12010)는 변환된 어트리뷰트들을 RAHT 코딩, LOD 기반의 예측 변환 코딩 및 리프팅 변환 코딩 중 어느 하나 또는 하나 이상을 조합하여 코딩할 수 있다. 예측/리프팅/RAHT 변환 처리부(12010)는 도 4에서 설명한 RAHT 변환부(40008), LOD 생성부(40009) 및 리프팅 변환부(40010)의 동작들과 동일 또는 유사한 동작들 중 적어도 하나 이상을 수행한다. 또한 LOD 기반의 예측 변환 코딩, 리프팅 변환 코딩 및 RAHT 변환 코딩에 대한 설명은 도 1 내지 도 9에서 설명한 바와 동일하므로 구체적인 설명은 생략한다.
실시예들에 따른 아리스메틱 코더(12011)는 코딩된 어트리뷰트들을 아리스메틱 코딩에 기반하여 인코딩할 수 있다. 아리스메틱 코더(12011)는 아리스메틱 인코더(40012)의 동작 및/또는 방법과 동일 또는 유사한 동작 및/또는 방법을 수행한다.
실시예들에 따른 전송 처리부(12012)는 인코딩된 지오메트리 및/또는 인코딩된 어트리뷰트 및/또는 메타 데이터를 포함하는 각 비트스트림을 전송하거나, 인코딩된 지오메트리 및/또는 인코딩된 어트리뷰트 및/또는 메타 데이터를 하나의 비트스트림으로 구성하여 전송할 수 있다. 실시예들에 따른 인코딩된 지오메트리 및/또는 인코딩된 어트리뷰트 및/또는 메타 데이터가 하나의 비트스트림으로 구성되는 경우, 비트스트림은 하나 또는 그 이상의 서브 비트스트림들을 포함할 수 있다. 실시예들에 따른 비트스트림은 시퀀스 레벨의 시그널링을 위한 SPS (Sequence Parameter Set), 지오메트리 정보 코딩의 시그널링을 위한 GPS(Geometry Parameter Set), 어트리뷰트 정보 코딩의 시그널링을 위한 APS(Attribute Parameter Set), 타일 레벨의 시그널링을 위한 TPS (Tile Parameter Set 또는 tile inventory라 함)를 포함하는 시그널링 정보 및 슬라이스 데이터를 포함할 수 있다. 슬라이스 데이터는 하나 또는 그 이상의 슬라이스들에 대한 정보를 포함할 수 있다. 실시예들에 따른 하나의 슬라이스는 하나의 지오메트리 비트스트림(Geom00) 및 하나 또는 그 이상의 어트리뷰트 비트스트림들(Attr00, Attr10)을 포함할 수 있다.
슬라이스란 코딩된 포인트 클라우드 프레임의 전체 또는 일부를 나타내는 신택스 엘리먼트의 시리즈를 말한다.
실시예들에 따른 TPS(또는 타일 인벤토리)는 하나 또는 그 이상의 타일들에 대하여 각 타일에 관한 정보(예를 들면 bounding box의 좌표값 정보 및 높이/크기 정보 등)을 포함할 수 있다. 지오메트리 비트스트림은 헤더와 페이로드를 포함할 수 있다. 실시예들에 따른 지오메트리 비트스트림의 헤더는 GPS에 포함된 파라미터 세트의 식별 정보(geom_parameter_set_id), 타일 식별자(geom_tile_id), 슬라이스 식별자(geom_slice_id) 및 페이로드에 포함된 데이터에 관한 정보 등을 포함할 수 있다. 상술한 바와 같이 실시예들에 따른 메타데이터 처리부(12007)는 시그널링 정보를 생성 및/또는 처리하여 전송 처리부(12012)로 전송할 수 있다. 실시예들에 따라, 지오메트리 인코딩을 수행하는 엘레멘트들 및 어트리뷰트 인코딩을 수행하는 엘레멘트들은 점선 처리된 바와 같이 상호 데이터/정보를 공유할 수 있다. 실시예들에 따른 전송 처리부(12012)는 트랜스미터(10003)의 동작 및/또는 전송 방법과 동일 또는 유사한 동작 및/또는 전송 방법을 수행할 수 있다. 구체적인 설명은 도 1 내지 도 2에서 설명한 바와 동일하므로 생략한다.
도 13은 실시예들에 따른 수신 장치의 예시이다.
도 13에 도시된 수신 장치는 도 1의 수신장치(10004) (또는 도 10 및 도 11의 포인트 클라우드 비디오 디코더)의 예시이다. 도 13에 도시된 수신 장치는 도 1 내지 도 11에서 설명한 포인트 클라우드 비디오 디코더의 동작들 및 디코딩 방법들과 동일 또는 유사한 동작들 및 방법들 중 적어도 어느 하나 이상을 수행할 수 있다.
실시예들에 따른 수신 장치는 수신부(13000), 수신 처리부(13001), 아리스메틱 (arithmetic) 디코더(13002), 오큐판시 코드 (Occupancy code) 기반 옥트리 재구성 처리부(13003), 표면 모델 처리부(삼각형 재구성, 업-샘플링, 복셀화)(13004), 인버스(inverse) 양자화 처리부(13005), 메타데이터 파서(13006), 아리스메틱 (arithmetic) 디코더(13007), 인버스(inverse)양자화 처리부(13008), 예측/리프팅/RAHT 역변환 처리부(13009), 색상 역변환 처리부(13010) 및/또는 렌더러(13011)를 포함할 수 있다. 실시예들에 따른 디코딩의 각 구성요소는 실시예들에 따른 인코딩의 구성요소의 역과정을 수행할 수 있다.
실시예들에 따른 수신부(13000)는 포인트 클라우드 데이터를 수신한다. 수신부(13000)는 도 1의 리시버(10005)의 동작 및/또는 수신 방법과 동일 또는 유사한 동작 및/또는 수신 방법을 수행할 수 있다. 구체적인 설명은 생략한다.
실시예들에 따른 수신 처리부(13001)는 수신한 데이터로부터 지오메트리 비트스트림 및/또는 어트리뷰트 비트스트림을 획득할 수 있다. 수신 처리부(13001)는 수신부(13000)에 포함될 수 있다.
아리스메틱 디코더(13002), 오큐판시 코드 기반 옥트리 재구성 처리부(13003), 표면 모델 처리부(13004) 및 인버스 양자화 처리부(13005)는 지오메트리 디코딩을 수행할 수 있다. 실시예들에 따른 지오메트리 디코딩은 도 1 내지 도 10에서 설명한 지오메트리 디코딩과 동일 또는 유사하므로 구체적인 설명은 생략한다.
실시예들에 따른 아리스메틱 디코더(13002)는 지오메트리 비트스트림을 아리스메틱 코딩을 기반으로 디코딩할 수 있다. 아리스메틱 디코더(13002)는 아리스메틱 디코더(11000)의 동작 및/또는 코딩과 동일 또는 유사한 동작 및/또는 코딩을 수행한다.
실시예들에 따른 오큐판시 코드 기반 옥트리 재구성 처리부(13003)는 디코딩된 지오메트리 비트스트림으로부터 (또는 디코딩 결과 확보된 지오메트리에 관한 정보)로부터 오큐판시 코드를 획득하여 옥트리를 재구성할 수 있다. 오큐판시 코드 기반 옥트리 재구성 처리부(13003)는 옥트리 합성부(11001)의 동작 및/또는 옥트리 생성 방법과 동일 또는 유사한 동작 및/또는 방법을 수행한다. 실시예들에 따른 표면 모델 처리부(13004)는 트라이숩 지오메트리 인코딩이 적용된 경우, 표면 모델 방식에 기반하여 트라이숩 지오메트리 디코딩 및 이와 관련된 지오메트리 리컨스트럭션(예를 들면 삼각형 재구성, 업-샘플링, 복셀화)을 수행할 수 있다. 표면 모델 처리부(13004)는 서페이스 오프록시메이션 합성부(11002) 및/또는 지오메트리 리컨스트럭션부(11003)의 동작과 동일 또는 유사한 동작을 수행한다.
실시예들에 따른 인버스 양자화 처리부(13005)는 디코딩된 지오메트리를 인버스 양자화할 수 있다.
실시예들에 따른 메타데이터 파서(13006)는 수신한 포인트 클라우드 데이터에 포함된 메타데이터, 예를 들어 설정 값 등을 파싱할 수 있다. 메타데이터 파서(13006)는 메타데이터를 지오메트리 디코딩 및/또는 어트리뷰트 디코딩에 전달할 수 있다. 메타데이터에 대한 구체적인 설명은 도 12에서 설명한 바와 동일하므로 생략한다.
아리스메틱 디코더(13007), 인버스 양자화 처리부(13008), 예측/리프팅/RAHT 역변환 처리부(13009) 및 색상 역변환 처리부(13010)는 어트리뷰트 디코딩을 수행한다. 어트리뷰트 디코딩는 도 1 내지 도 10에서 설명한 어트리뷰트 디코딩과 동일 또는 유사하므로 구체적인 설명은 생략한다.
실시예들에 따른 아리스메틱 디코더(13007)는 어트리뷰트 비트스트림을 아리스메틱 코딩으로 디코딩할 수 있다. 아리스메틱 디코더(13007)는 재구성된 지오메트리를 기반으로 어트리뷰트 비트스트림의 디코딩을 수행할 수 있다. 아리스메틱 디코더(13007)는 아리스메틱 디코더(11005)의 동작 및/또는 코딩과 동일 또는 유사한 동작 및/또는 코딩을 수행한다.
실시예들에 따른 인버스 양자화 처리부(13008)는 디코딩된 어트리뷰트 비트스트림을 인버스 양자화할 수 있다. 인버스 양자화 처리부(13008)는 역양자화부(11006)의 동작 및/또는 역양자화 방법과 동일 또는 유사한 동작 및/또는 방법을 수행한다.
실시예들에 따른 예측/리프팅/RAHT 역변환 처리부(13009)는 재구성된 지오메트리 및 역양자화된 어트리뷰트들을 처리할 수 있다. 예측/리프팅/RAHT 역변환 처리부(13009)는 RAHT 변환부(11007), LOD생성부(11008) 및/또는 인버스 리프팅부(11009)의 동작들 및/또는 디코딩들과 동일 또는 유사한 동작들 및/또는 디코딩들 중 적어도 어느 하나 이상을 수행한다. 실시예들에 따른 색상 역변환 처리부(13010)는 디코딩된 어트리뷰트들에 포함된 컬러 값(또는 텍스쳐)을 역변환하기 위한 역변환 코딩을 수행한다. 색상 역변환 처리부(13010)는 컬러 역변환부(11010)의 동작 및/또는 역변환 코딩과 동일 또는 유사한 동작 및/또는 역변환 코딩을 수행한다. 실시예들에 따른 렌더러(13011)는 포인트 클라우드 데이터를 렌더링할 수 있다.
도 14는 실시예들에 따른 포인트 클라우드 데이터 송수신 방법/장치와 연동 가능한 구조의 예시를 나타낸다.
도 14의 구조는 서버(17600), 로봇(17100), 자율 주행 차량(17200), XR 장치(17300), 스마트폰(17400), 가전(17500) 및/또는 HMD(Head-Mount Display, 17700) 중에서 적어도 하나 이상이 클라우드 네트워크(17000)와 연결된 구성을 나타낸다. 로봇(17100), 자율 주행 차량(17200), XR 장치(17300), 스마트폰(17400) 또는 가전(17500) 등은 장치라 호칭된다. 또한, XR 장치(17300)는 실시예들에 따른 포인트 클라우드 압축 데이터 (PCC) 장치에 대응되거나 PCC장치와 연동될 수 있다.
클라우드 네트워크(17000)는 클라우드 컴퓨팅 인프라의 일부를 구성하거나 클라우드 컴퓨팅 인프라 안에 존재하는 네트워크를 의미할 수 있다. 여기서, 클라우드 네트워크(17000)는 3G 네트워크, 4G 또는 LTE(Long Term Evolution) 네트워크 또는 5G 네트워크 등을 이용하여 구성될 수 있다.
서버(17600)는 로봇(17100), 자율 주행 차량(17200), XR 장치(17300), 스마트폰(17400), 가전(17500) 및/또는 HMD(17700) 중에서 적어도 하나 이상과 클라우드 네트워크(17000)을 통하여 연결되고, 연결된 장치들(17100 내지 17700)의 프로세싱을 적어도 일부를 도울 수 있다.
HMD (Head-Mount Display)(17700)는 실시예들에 따른 XR 디바이스 및/또는 PCC 디바이스가 구현될 수 있는 타입 중 하나를 나타낸다. 실시예들에 따른HMD 타입의 디바이스는, 커뮤니케이션 유닛, 컨트롤 유닛, 메모리 유닛, I/O 유닛, 센서 유닛, 그리고 파워 공급 유닛 등을 포함한다.
이하에서는, 상술한 기술이 적용되는 장치(17100 내지 17500)의 다양한 실시 예들을 설명한다. 여기서, 도 14에 도시된 장치(17100 내지 17500)는 상술한 실시예들에 따른 포인트 클라우드 데이터 송수신 장치와 연동/결합될 수 있다.
<PCC+XR>
XR/PCC 장치(17300)는 PCC 및/또는 XR(AR+VR) 기술이 적용되어, HMD(Head-Mount Display), 차량에 구비된 HUD(Head-Up Display), 텔레비전, 휴대폰, 스마트 폰, 컴퓨터, 웨어러블 디바이스, 가전 기기, 디지털 사이니지, 차량, 고정형 로봇이나 이동형 로봇 등으로 구현될 수도 있다.
XR/PCC 장치(17300)는 다양한 센서들을 통해 또는 외부 장치로부터 획득한 3차원 포인트 클라우드 데이터 또는 이미지 데이터를 분석하여 3차원 포인트들에 대한 위치 데이터 및 어트리뷰트 데이터를 생성함으로써 주변 공간 또는 현실 객체에 대한 정보를 획득하고, 출력할 XR 객체를 렌더링하여 출력할 수 있다. 예컨대, XR/PCC 장치(17300)는 인식된 물체에 대한 추가 정보를 포함하는 XR 객체를 해당 인식된 물체에 대응시켜 출력할 수 있다.
<PCC+자율주행+XR>
자율 주행 차량(17200)은 PCC 기술 및 XR 기술이 적용되어, 이동형 로봇, 차량, 무인 비행체 등으로 구현될 수 있다.
XR/PCC 기술이 적용된 자율 주행 차량(17200)은 XR 영상을 제공하는 수단을 구비한 자율 주행 차량이나, XR 영상 내에서의 제어/상호작용의 대상이 되는 자율 주행 차량 등을 의미할 수 있다. 특히, XR 영상 내에서의 제어/상호작용의 대상이 되는 자율 주행 차량(17200)은 XR 장치(17300)와 구분되며 서로 연동될 수 있다.
XR/PCC영상을 제공하는 수단을 구비한 자율 주행 차량(17200)은 카메라를 포함하는 센서들로부터 센서 정보를 획득하고, 획득한 센서 정보에 기초하여 생성된 XR/PCC 영상을 출력할 수 있다. 예컨대, 자율 주행 차량(17200)은 HUD를 구비하여 XR/PCC 영상을 출력함으로써, 탑승자에게 현실 객체 또는 화면 속의 객체에 대응되는 XR/PCC 객체를 제공할 수 있다.
이때, XR/PCC 객체가 HUD에 출력되는 경우에는 XR/PCC 객체의 적어도 일부가 탑승자의 시선이 향하는 실제 객체에 오버랩되도록 출력될 수 있다. 반면, XR/PCC 객체가 자율 주행 차량의 내부에 구비되는 디스플레이에 출력되는 경우에는 XR/PCC 객체의 적어도 일부가 화면 속의 객체에 오버랩되도록 출력될 수 있다. 예컨대, 자율 주행 차량(17200)은 차로, 타 차량, 신호등, 교통 표지판, 이륜차, 보행자, 건물 등과 같은 객체와 대응되는 XR/PCC 객체들을 출력할 수 있다.
실시예들에 의한 VR (Virtual Reality) 기술, AR (Augmented Reality) 기술, MR (Mixed Reality) 기술 및/또는 PCC(Point Cloud Compression) 기술은, 다양한 디바이스에 적용 가능하다.
즉, VR 기술은, 현실 세계의 객체나 배경 등을 CG 영상으로만 제공하는 디스플레이 기술이다. 반면, AR 기술은, 실제 사물 영상 위에 가상으로 만들어진 CG 영상을 함께 보여 주는 기술을 의미한다. 나아가, MR 기술은, 현실세계에 가상 객체들을 섞고 결합시켜서 보여준다는 점에서 전술한 AR 기술과 유사하다. 그러나, AR 기술에서는 현실 객체와 CG 영상으로 만들어진 가상 객체의 구별이 뚜렷하고, 현실 객체를 보완하는 형태로 가상 객체를 사용하는 반면, MR 기술에서는 가상 객체가 현실 객체와 동등한 성격으로 간주된다는 점에서 AR 기술과는 구별이 된다. 보다 구체적으로 예를 들면, 전술한 MR 기술이 적용된 것이 홀로그램 서비스 이다.
다만, 최근에는 VR, AR, MR 기술을 명확히 구별하기 보다는 XR (extended Reality) 기술로 부르기도 한다. 따라서, 본 명세서의 실시예들은 VR, AR, MR, XR 기술 모두에 적용 가능하다. 이러한 기술은 PCC, V-PCC, G-PCC 기술 기반 인코딩/디코딩이 적용될 수 있다.
실시예들에 따른 PCC 방법/장치는 자율 주행 서비스를 제공하는 차량에 적용될 수 있다.
자율 주행 서비스를 제공하는 차량은 PCC 디바이스와 유/무선 통신이 가능하도록 연결된다.
실시예들에 따른 포인트 클라우드 압축 데이터 (PCC) 송수신 장치는 차량과 유/무선 통신이 가능하도록 연결된 경우, 자율 주행 서비스와 함께 제공할 수 있는 AR/VR/PCC 서비스 관련 콘텐트 데이터를 수신/처리하여 차량에 전송할 수 있다. 또한 포인트 클라우드 데이터 송수신 장치 차량에 탑재된 경우, 포인트 클라우드 송수신 장치는 사용자 인터페이스 장치를 통해 입력된 사용자 입력 신호에 따라 AR/VR/PCC 서비스 관련 콘텐트 데이터를 수신/처리하여 사용자에게 제공할 수 있다. 실시예들에 따른 차량 또는 사용자 인터페이스 장치는 사용자 입력 신호를 수신할 수 있다. 실시예들에 따른 사용자 입력 신호는 자율 주행 서비스를 지시하는 신호를 포함할 수 있다.
도 1 내지 도 14에서 설명한 것처럼, 포인트 클라우드 데이터는 포인트들의 집합으로 구성되며, 각 포인트는 지오메트리(또는 지오메트리 정보라 호칭한다)와 어트리뷰트(또는 어트리뷰트 정보라 호칭한다)를 가질 수 있다. 지오메트리 정보는 각 포인트의 3차원 위치 정보(xyz)이다. 즉, 각 포인트의 위치는 3차원 공간을 나타내는 좌표계상의 파라미터들(예를 들면 공간을 나타내는 3개의 축인 X축, Y축 및 Z축의 파라미터들 (x,y,z))로 표현된다. 그리고, 어트리뷰트 정보는 그 포인트의 색상(RGB, YUV 등), 반사도(reflectance), 법선(normal vectors), 투명도(transparency) 등을 의미한다.
실시예들에 따르면, 포인트 클라우드 데이터의 인코딩 과정은 옥트리, 트라이숩 또는 예측 기반으로 지오메트리 정보를 압축하고, 압축을 통해 변경된 위치 정보들로 재구성 된 지오메트리(reconstructed geometry=디코딩된 지오메트리) 정보를 기반으로 어트리뷰트 정보를 압축하는 과정으로 이루어진다. 또한, 포인트 클라우드 데이터의 디코딩 과정은, 인코딩된 지오메트리 비트스트림(bitstream)과 어트리뷰트 비트스트림을 전송 받아서 옥트리, 트라이숩 또는 예측 기반으로 지오메트리 정보를 디코딩하고 디코딩 과정을 통해 재구성된 지오메트리 정보를 기반으로 어트리뷰트 정보를 복호화하는 과정으로 이루어진다.
본 문서는 옥트리 기반으로 포인트 클라우드 데이터를 압축할 때, 프레임 간 상관 관계에 기반하여 중복 정보를 제거함으로써, 압축 효율을 높이기 위한 것이다.
본 문서는 옥트리 기반으로 포인트 클라우드 데이터를 압축할 때, 서로 다른 프레임 간의 정보 유사성을 반영함으로써, 압축 효율을 높이기 위한 것이다.
즉, 본 문서는 포인트 클라우드 데이터가 연속된 프레임들로 구성된 경우, 인접 프레임 간의 상관 관계가 높은 특징을 이용하여 중복되는 정보를 제거함으로써, 높은 코딩 효율을 얻을 수 있도록 한다.
실시예들에 따르면, 지오메트리 인코더는 입력되는 포인트들의 포지션들을 이용하여 옥트리를 구성하고, 옥트리를 기반으로 지오메트리 압축을 수행한다. 이때, 지오메트리 압축을 위한 예측은 프레임 내에서 수행될 수도 있고, 프레임 간에 수행될 수도 있다. 본 문서는 전자를 인트라 프레임 예측이라 칭하고, 후자를 인터 프레임 예측이라 칭한다.
실시예들에 따르면, 인터 프레임 예측은 코딩이 수행된 프레임(frame)으로부터 현재 프레임(current frame)과 유사도가 높은 정보를 활용해 현재 프레임의 전체 또는 일부를 예측하는 것이다. 인터 프레임 예측은 시간에 따라 획득된 멀티플 프레임 간 움직임을 이용하는 예측 방식이며, 움직임 벡터 추정(motion vector estimation) 또는 움직임 추정(motion estimation)을 통해 수행될 수 있다.
이때, 움직임 추정은 프레임 전체를 회전, 이동, 확대 및/또는 축소하는 방식으로 움직임 벡터를 산출하는 글로벌 움직임 추정과 프레임의 일부 영역 또는 오브젝트의 움직임을 예측하는 로컬 움직임 추정으로 구분될 수 있다.
즉, 인터 프레임 예측(또는 인터 예측이라 칭함)은 참조 프레임의 포인트 클라우드 데이터와 현재 프레임의 포인트 클라우드 데이터의 유사성을 기반으로 움직임 벡터를 산출하고, 움직임 벡터를 사용하여 현재 프레임의 포인트 클라우드 데이터를 예측한다.
다시 말해, 프레임 간에 존재하는 움직임은 x,y,z와 같은 3차원 공간에서 정의될 수 있으며, 프레임 간의 움직임을 글로벌 움직임 벡터(global motion vector)로 정의할 수 있다. 이와는 달리 프레임 내에서 지역적으로 서로 다른 움직임을 가질 수 있는데 이를 로컬 움직임 벡터(local motion vector)로 정의할 수 있다.
한편, 전술한 바와 같이 포인트 클라우드 콘텐트 제공 시스템은 포인트 클라우드 콘텐트(또는 포인트 클라우드 데이터라 함)를 생성하기 위하여 하나 또는 그 이상의 카메라(camera)들(예를 들면, 깊이 정보를 확보할 수 있는 적외선 카메라, 깊이 정보에 대응되는 색상 정보를 추출 할 수 있는 RGB 카메라 등), 프로젝터(예를 들면 깊이 정보를 확보하기 위한 적외선 패턴 프로젝터 등), 라이다(Light Detection And Ranging, LiDAR) 등을 사용할 수 있다.
라이다는 조사된 빛이 오브젝트에 반사되어 돌아오는 시간을 측정하여 거리를 측정하는 장비로서, 넓은 영역과 긴 거리에 걸쳐 실세계의 정밀한 3차원 정보를 포인트 클라우드 데이터로 제공해준다. 이러한 대용량 포인트 클라우드 데이터는 자율 주행 자동차, 로봇, 3차원 지도 제작 등 컴퓨터 비전 기술을 이용하는 다양한 분야에 널리 활용될 수 있다. 즉, 라이다 장비는 포인트 클라우드 콘텐츠의 생성을 위해, 레이저 펄스를 쏘고 오브젝트(즉, 반사체)에 반사되어 돌아오는 시간을 측정하여 오브젝트의 위치 좌표를 측정하는 레이더 시스템을 이용한다. 실시예들에 따르면, 깊이 정보는 라이다 장비를 통해 추출할 수 있다. 그리고, 라이다 장비를 통해 생성된 포인트 클라우드 콘텐츠는 여러 개의 프레임들로 구성될 수도 있고, 여러 개의 프레임들은 하나의 콘텐츠로 통합될 수도 있다.
본 문서는 이와 같이 복수개의 프레임들을 가지는 포인트 클라우드 데이터의 압축 효율을 높이기 위한 방법을 제안한다.
도 15는 실시예들에 따른 복수개의 프레임들로 GOF(Group Of Frame)가 구성되는 일 예시를 보인 도면이다.
실시예들에 따르면, 포인트 클라우드 데이터의 압축을 위한 인터 프레임 예측 기술에서, 움직임 추정을 하기 위해 GoF는 도 15와 같이 기본적으로 IPPP 구조로 되어 있다. 여기서, I는 한 장의 프레임 내에서 유사성을 판단하여 예측하기 위한 인트라 예측 프레임이고, P는 프레임 간의 관계를 가지고 예측하는 인터 예측을 위한 프레임이다. GoF 의 수에 따라 구성되는 프레임들의 수가 달라지며, GoF 주기만큼 예측이 끝나면, 이전 프레임을 참조하지 않고 I-프레임부터 다시 예측을 시작하도록 구조화 되어 있다.
그리고, 포인트 클라우드 데이터가 복수개의 프레임들로 구성되는 GoF 구조에서, 프레임 간의 옥트리 구조의 지오메트리 정보의 움직임 예측을 위해서 가장 기본이 되는 기술은 크게 글로벌 움직임 추정(global motion estimation)과 로컬 움직임 추정(local motion estimation)이 있다. 여기서, 글로벌 움직임 추정은 프레임 전체의 움직임을 보상하기 위함이고, 로컬 움직임 추정은 프레임의 특정 위치에서 움직임을 예측하기 위함이다. 즉, 글로벌 모션 벡터란 연속된 프레임 간 예를 들어, 참조 프레임(reference frame 또는 이전 프레임)과 현재 프레임을 비교하여 구한 전체 움직임의 변화 벡터를 의미하고, 로컬 모션 벡터는 특정 영역에서의 움직임의 변화 벡터를 의미할 수 있다.
현재 G-PCC 에서는 글로벌 움직임 추정을 위해 옥트리 구조에서 특정 노드 사이즈부터 노드 내 포함된 포인트들을 노드 단위로 소팅하고, 소팅된 현재 프레임과 이전 프레임(즉, 예측기)에서 샘플링된 포인트들 간에 Least Mean Square(LMS)를 계산하여 최적의 매트릭스를 찾는다. 이 매트릭스를 글로벌 모션 매트릭스(global motion matrix)라 칭한다. 그리고, 이 글로벌 모션 매트릭스를 예측기 전처에 적용하면 예측된 현재 프레임의 결과를 얻을 수 있다.
이에 반해, 로컬 움직임 추정은 현재 프레임에서 특정 노드(혹은 prediction unit, PU)와 예측기(predictor)에서 동일한 위치에서 해당 노드를 포함하고 임계값(threshold)만큼 사이즈가 큰 서치 윈도우 각각의 영역에 포함되는 포인트들 간의 RDO(Rate-Distortion Optimization) 값을 비교하여 최소 RDO를 가지는 최적의 움직임 벡터 (
)를 찾고, 노드를 분할하여 하위 노드에 대한 각각의 로컬 모션을 찾는 것이 유리한 경우 해당 노드(혹은 prediction unit, PU)에 대해 스플릿을 하고, 각 노드(혹은 prediction unit, PU)에 대한 움직임 벡터를 시그널링하고 예측기에 움직임 벡터를 적용하는 구조로 구성되어 있다.
특히 글로벌 움직임 추정시 현재 프레임에서 정해진 수만큼 균일한(uniform) 위치에서 포인트를 샘플링한 후, 샘플링된 포인트와 가장 가까운 포인트를 참조 프레임에서 추출해 내고, 추출된 포인트들끼리 LMS를 통해 움직임 벡터 매트릭스를 찾고, 반복 횟수가 두 번 이상일 때 이전 시도에서 찾은 움직임 벡터 매트릭스를 참조 프레임에 적용한 결과를 다시 레퍼런스 삼아 샘플링하여 동일 과정을 반복한다. 이 과정에서 타겟으로 삼는 현재 포인트는 균일(uniform) 위치로 샘플링하다보니 중요한 위치에 더 많은 포인트를 추출하고, 해당 위치 위주로 움직임이 발생한다고 하더라도 이를 반영한 글로벌 움직임 추정을 하는 것에 한계가 있다. 즉, 포인트를 샘플링할 때 데이터 분포를 고려하지 않고 균일하게 포인트들을 샘플링함으로써, 샘플링된 포인트가 전체를 반영할 수 있는 포인트가 아니라 샘플링된 위치에 노이즈가 섞일 수 있는 문제가 발생할 수 있다.
그래서, 본 문서는 포인트 클라우드의 글로벌 움직임 추정시 포인트들의 위치에 따라 불균형(non-uniform)하게 포인트들을 샘플링하는 방법을 제안한다. 또한, 불균형 포인트 샘플링을 통해 예측된 글로벌 모션의 적용 여부를 판단하는 방법을 제안한다. 즉, 본 문서는 포인트 클라우드의 글로벌 움직임 추정시 포인트의 위치에 따라 불균형하게 포인트를 샘플링하는 방법과 글로벌 모션의 부분 적용 방법을 제안한다.
구체적으로는 본 문서는 복수개의 프레임들을 가지는 포인트 클라우드의 효과적인 압축을 위해 라이다(LiDAR)로 캡처된 포인트 클라우드의 불균등 포인트 샘플링 방법과 불균등 포인트 샘플링을 통해 예측된 글로벌 모션의 적용 여부 판단 방법을 제안한다. 본 문서에서 불균형은 불균등, 불균일과 동일한 의미로 사용된다.
이를 위해, 실시예들에 따른 클라우드 데이터 송신 방법/장치는 데이터 분포에 따라 포인트를 샘플링할 할 수 있다. 그리고, 데이터 분포에 따라 포인트를 샘플링하기 위해 포인트 클라우드 데이터를 하나 이상의 서브 그룹들로 분할할 수 있다. 이때, 서브 그룹별로 샘플링된 포인트의 개수는 다를 수 있다. 그리고, 각 서브 그룹은 글로벌 움직임 매트릭스 적용 여부를 다르게 할 수 있다. 또한, 각 서브 그룹별로, 글로벌 움직임 매트릭스를 적용한 후와 적용 전 결과를 비교하여 각 서브 그룹별로 글로벌 움직임 매트릭스의 적용 여부를 판단할 수 있다. 이에 더하여, 서브 그룹에 포함된 포인트들의 수가 일정 수 이하일 경우 그 서브 그룹은 포인트 샘플링과 글로벌 움직임 매특리스 적용 대상에서 제외될 수 있다.
본 문서에서 서브 그룹은 서브 블록으로 지칭될 수 있다.
또한, 실시예들에 따른 포인트 클라우드 데이터 송수신 방법/장치는 실시예들에 따른 방법/장치로 줄여서 호칭될 수 있다.
실시예들에 따른 포인트 클라우드 데이터 송신 방법/장치는 도 1의 송신 장치(10000), 포인트 클라우드 비디오 인코더(10002), 트랜스미터(10003), 도 2의 획득-인코딩-전송(20000-20001-20002), 도 4의 포인트 클라우드 비디오 인코더, 도 12의 전송 장치, 도 14의 디바이스, 도 17의 송신 장치 등을 지칭하는 용어로 해석된다.
실시예들에 따른 포인트 클라우드 데이터 수신 방법/장치는 도 1의 수신 장치(10004), 리시버(10005), 포인트 클라우드 비디오 디코더(10006), 도 2의 전송-디코딩-렌더링(20002-20003-20004), 도 10의 디코더, 도 11의 포인트 클라우드 비디오 디코더, 도 13의 수신 장치, 도14의 디바이스, 도 25의 수신 장치 등을 지칭하는 용어로 해석된다.
실시예들에 따르면, 포인트 클라우드 데이터의 인코딩 과정은 도 1의 포인트 클라우드 비디오 인코더(10002), 도 2의 인코딩(20001), 도 4의 포인트 클라우드 비디오 인코더, 도 12의 포인트 클라우드 비디오 인코더, 도 16의 지오메트리 인코더(51003), 도 18의 지오메트리 인코딩 과정 또는 도 19의 지오메트리 인코딩 과정에서 수행될 수 있다. 실시예들에 따른 포인트 클라우드 데이터의 디코딩 과정은 도 1의 포인트 클라우드 비디오 디코더(10006), 도 2의 디코딩(20003), 도 11의 포인트 클라우드 비디오 디코더, 도 13의 포인트 클라우드 비디오 디코더, 도 25의 지오메트리 디코더(61003), 또는도 26의 지오메트리 디코딩 과정에서 수행될 수 있다. 도 16, 도 18 내지 도 19, 도 25 내지 도 26의 상세 설명은 뒤에서 다시 하기로 한다.
실시예들에 따라, 포인트 클라우드 데이터를 구성하는 지오메트리 데이터, 지오메트리 정보, 위치 정보 등은 서로 동일한 의미로 해석된다. 또한, 포인트 클라우드 데이터를 구성하는 어트리뷰트 데이터, 어트리뷰트 정보, 속성 정보 등은 서로 동일한 의미로 해석된다.
도 16은 실시예들에 따른 포인트 클라우드 송신 장치의 또 다른 예시를 보인 도면이다. 도 16에 도시된 포인트 클라우드 송신 장치의 엘리먼트들은 하드웨어, 소프트웨어, 프로세서 및/또는 그것들의 결합등으로 구현될 수 있다.
실시예들에 따르면, 포인트 클라우드 송신 장치는 데이터 입력부(51001), 시그널링 처리부(51002), 지오메트리 인코더(51003), 어트리뷰트 인코더(51004), 및 전송 처리부(51005)를 포함할 수 있다.
상기 지오메트리 인코더(51003)와 어트리뷰트 인코더(51004)는 도 1의 포인트 클라우드 비디오 인코더(10002), 도 2의 인코딩(20001), 도 4의 포인트 클라우드 비디오 인코더, 도 12의 포인트 클라우드 비디오 인코더에서 설명된 동작의 일부 또는 전체를 수행할 수 있다.
실시예들에 따른 데이터 입력부(51001)는 포인트 클라우드 데이터를 수신 또는 획득한다. 상기 데이터 입력부(51001)는 도 1의 포인트 클라우드 비디오 획득부(10001)의 동작의 일부 또는 전부를 수행할 수도 있고 또는 도 12의 데이터 입력부(12000)의 동작의 일부 또는 전부를 수행할 수도 있다. 상기 데이터 입력부(51001)는 라이다(LiDAR)를 이용하여 포인트 클라우드 데이터를 캡쳐할 수 있다. LiDAR 기반 포인트 클라우드의 포인트들은 LiDAR 센서가 장착된 차량으로 인해 발생하는 글로벌 움직임과 사람, 동물 등과 같은 시간 축에 따른 움직임을 갖는 오브젝트들에 의해 생성되는 로컬 움직임, 이 두 가지 유형의 움직임을 가지고 있다.
상기 데이터 입력부(51001)는 포인트 클라우드 데이터의 포인트들의 포지션들을 지오메트리 인코더(51003)로 출력하고, 포인트 클라우드 데이터의 포인트들의 어트리뷰트들을 어트리뷰트 인코더(51004)로 출력한다. 또한 파라미터들은 시그널링 처리부(51002)로 출력한다. 실시예들에 따라 파라미터들은 지오메트리 인코더(51003)와 어트리뷰트 인코더(51004)로 제공될 수도 있다.
상기 지오메트리 인코더(51003)는 입력되는 포인트들의 포지션들을 이용하여 옥트리를 구성하고, 옥트리를 기반으로 지오메트리 압축을 수행한다. 이때, 지오메트리 압축을 위한 예측은 프레임 내에서 수행될 수도 있고, 프레임 간에 수행될 수도 있다. 본 문서는 전자를 인트라 프레임 예측이라 칭하고, 후자를 인터 프레임 예측이라 칭한다.
상기 지오메트리 인코더(51003)는 입력되는 포인트 클라우드 데이터의 포인트들을 복수개의 서브 그룹들로 분할하고, 분할된 서브 그룹별로 샘플링할 포인트들의 개수를 계산하여 샘플링을 수행한다. 그리고, 각 서브 그룹별로 글로벌 움직임 매트릭스의 적용 여부를 결정한 후 글로벌 움직임 추정 및/또는 로컬 움직임 추정을 수행하여 지오메트리 정보를 압축한다. 샘플링 방법과 글로벌 움직임의 부분 적용 방법에 대한 상세 내용은 뒤에서 다시 설명하기로 한다.
상기 지오메트리 인코더(51003)는 압축된 지오메트리 정보에 대해 엔트로피 인코딩을 수행하여 지오메트리 비트스트림 형태로 전송 처리부(51005)로 출력한다.
상기 지오메트리 인코더(51003)는 압축을 통해 변경된 포지션들을 기반으로 지오메트리 정보를 재구성하고, 재구성된(또는 복호화된) 지오메트리 정보를 상기 어트리뷰트 인코더(51004)로 출력한다.
상기 어트리뷰트 인코더(51004)는 지오메트리 인코딩이 수행되지 않은 포지션들 및/또는 재구성된 지오메트리 정보를 기반으로 어트리뷰트 정보를 압축한다. 일 실시예로, 상기 어트리뷰트 정보는 RAHT 코딩, LOD 기반의 예측 변환 코딩 및 리프팅 변환 코딩 중 어느 하나 또는 하나 이상을 조합하여 코딩될 수 있다. 상기 어트리뷰트 인코더(51004)는 압축된 어트리뷰트 정보에 대해 엔트로피 인코딩을 수행하여 어트리뷰트 비트스트림 형태로 전송 처리부(51005)로 출력한다.
상기 시그널링 처리부(51002)는 지오메트리 정보와 어트리뷰트 정보의 인코딩/디코딩/렌더링 등에 필요한 시그널링 정보를 생성 및/또는 처리하여 지오메트리 인코더(51003), 어트리뷰트 인코더(51004) 및/또는 전송 처리부(51005)로 제공할 수 있다. 또는 상기 시그널링 처리부(51002)가 지오메트리 인코더(51003), 어트리뷰트 인코더(51004) 및/또는 전송 처리부(51005)에서 생성된 시그널링 정보를 제공받을 수도 있다. 상기 시그널링 처리부(51002)는 수신 장치에서 피드백되는 정보(예를 들어, 헤드 오리엔테이션 정보 및/또는 뷰포트 정보를 지오메트리 인코더(51003), 어트리뷰트 인코더(51004) 및/또는 전송 처리부(51005)로 제공할 수도 있다.
본 명세서에서 시그널링 정보는 parameter set (SPS: sequence parameter set, GPS: geometry parameter set, APS: attribute parameter set, TPS: Tile Parameter Set (또는 tile inventory라 함) 등) 단위로 시그널링되어 전송될 수 있다. 또한 슬라이스 또는 타일과 같이 각 영상의 코딩 유닛(또는 압축 유닛 또는 예측 유닛) 단위로 시그널링되어 전송될 수도 있다. 또한, 레이어 그룹 또는 서브 그룹과 같이 움직임 벡터 추정 단위로 시그널링되어 전송될 수도 있다.
상기 전송 처리부(51005)는 도 12의 전송 처리부(12012)의 동작 및/또는 전송 방법과 동일 또는 유사한 동작 및/또는 전송 방법을 수행할 수도 있고, 도 1의 트랜스미터(10003)의 동작 및/또는 전송 방법과 동일 또는 유사한 동작 및/또는 전송 방법을 수행할 수 있다. 구체적인 설명은 도 1 또는 도 12의 설명을 참조하기로 하고 여기서는 생략한다.
상기 전송 처리부(51005)는 상기 지오메트리 인코더(51003)에서 출력되는 슬라이스 단위의 지오메트리 비트스트림, 상기 어트리뷰트 인코더(51004)에서 출력되는 슬라이스 단위의 어트리뷰트 비트스트림, 상기 시그널링 처리부(51002)에서 출력되는 시그널링 비트스트림을 하나의 비트스트림으로 다중화한 후 그대로 전송하거나 또는 파일이나 세그먼트 등으로 인캡슐레이션하여 전송할 수 있다. 본 문서에서 파일은 ISOBMFF 파일 포맷인 것을 일 실시예로 한다.
실시예들에 따라 파일 또는 세그먼트는 수신 장치로 전송되거나, 디지털 저장매체(예를 들면 USB, SD, CD, DVD, 블루레이, HDD, SSD 등)에 저장될 수 있다. 실시예들에 따른 전송 처리부(51005)는 수신 장치와 4G, 5G, 6G 등의 네트워크를 통해 유/무선 통신 가능하다. 또한 전송 처리부(51005)는 네트워크 시스템(예를 들면 4G, 5G, 6G 등의 통신 네트워크 시스템)에 따라 필요한 데이터 처리 동작을 수행할 수 있다. 또한 전송 처리부(51005)는 온 디맨드(On Demand) 방식에 따라 인캡슐레이션된 데이터를 전송할 수도 있다.
실시예들에 따르면, 지오메트리 압축 관련 정보는 상기 시그널링 처리부(51002), 지오메트리 인코더(51003), 전송 처리부(51005) 중 적어도 하나에 의해 SPS, GPS 및/또는 APS 및/또는 지오메트리 데이터 유닛(또는 지오메트리 슬라이스 비트스트림이라 함)의 헤더에 포함되어 전송될 수 있다.
다음은 지오메트리 인코더(51003)에서 수행되는 포인트 클라우드의 글로벌 움직임 추정시 포인트의 위치에 따른 불균형한 포인트 샘플링 방법과 글로벌 움직임의 부분 적용 방법의 상세한 설명이다.
현재 프레임에서 글로벌 움직임 추정을 위해 위치나 목적의 중요도에 따라 불균일한(non Uniform) 포인트 샘플링을 하기 위한 방법은 다음과 같다.
즉, LiDAR 센서를 이용해 취득한 포인트 클라우드 중 움직임의 대부분을 차지하는 오브젝트로 분류된 포인트들을 x: width, y: depth, z: height 라고 할 때, 오브젝트는 대부분 z값이 낮은 위치에 위치해 있고, z값이 커질 수록 포인트 수가 줄어드는 형태로 위치하게 된다. 본 문서는 이러한 형태를 반영하여 z축에 따라 샘플링할 포인트 수를 다르게 할 수 있다.
이를 위해, 지오메트리 인코더(51003)는 오브젝트로 분류된 포인트들(즉, 오브젝트에 포함되는 포인트들)을 z축으로 n개만큼 그룹핑하고, 이를 그룹 또는 서브 그룹 또는 서브 블록이라 칭하기로 한다. 즉, 오브젝트로 분류된 포인트들을 z축을 기준으로 n개의 그룹(또는 서브 그룹 또는 서브 블록이라 함)들로 분할할 수 있다. 이때, n 값은 미리 설정될 수도 있고, 시그널링 정보로서 입력받을 수도 있다.
그리고, 지오메트리 인코더(51003)는 오브젝트로 분류된 포인트들을 z축으로 n개만큼 그룹핑하여 생성된 각 서브 그룹에 포함된 포인트들의 개수를 계산한다. 이어, 현재 프레임에서 글로벌 움직임 추정할 때 사용할 포인트들을 샘플링하기 위해, 각 서브 그룹 내 포인트들의 수와 오브젝트로 분류된 전체 포인트들의 수의 비율과 미리 지정된 샘플링 수를 곱해서 각 서브 그룹에서 샘플링할(즉, 뽑을) 포인트들의 개수를 결정한다.
위의 과정을 통해 각 서브 그룹에서 샘플링(즉, 추출)해 낼 포인트들의 개수가 결정되면, 각 서브 그룹 내에서는 균등한 위치에서 포인트들을 추출할 수 있다.
이렇게 추출한 포인트들은 이후 글로벌 움직임 추정할 때 현재 프레임의 타겟 포인트들로 사용될 수 있다.
도 17은 실시예들에 따른 지오메트리 인코더(51003)에서 오브젝트 내 포인트들을 z축을 기준으로 복수개의 서브 그룹들로 분할한 일 예시를 보인 도면이다.
즉, 도 17은 오브젝트 내 포인트들의 총 개수는 13368개이고, 그 오브젝트는 4개의 서브 그룹(즉, 서브 블록)들로 분할되며, 그 오브젝트에서 샘플링할 포인트들의 개수는 100개인 예시를 보이고 있다. 이때, 각 서브 그룹은 0-3까지의 인덱스를 가지는 것을 일 실시예로 한다. 또한, 제1 서브 그룹(즉, 서브 블록, NumsubBlock0)에 포함되는 포인트들의 개수는 358, 제2 서브 그룹(즉, 서브 블록, NumsubBlock1)에 포함되는 포인트들의 개수는 8000, 제3 서브 그룹(즉, 서브 블록, NumsubBlock2)에 포함되는 포인트들의 개수는 5000, 그리고 제4 서브 그룹(즉, 서브 블록, NumsubBlock3)에 포함되는 포인트들의 개수는 358인 경우를 보이고 있다.
실시예들에 따르면, 지오메트리 인코더(51003)는 오브젝트로 분류된 포인트 클라우드의 포인트들의 총 개수와 z축의 최소(min), 최대(max) 값을 찾고, 전달 받은 numSubBlock(즉, 분할할 서브 블록들의 개수)을 이용하여 오브젝트를 샘플링을 위한 서브 블록들(또는 서브 그룹들이라 함)로 균일하게 나누고, numSubBlock만큼 각 서브 블록에 포함된 포인트들의 개수를 각각 찾는다.
이때, 샘플링할 포인트들의 총 개수는 시스템에서 정하거나 또는 사용자가 정할 수 있다. 여기서, 샘플링할 포인트들(즉, 오브젝트로부터 추출한 포인트들)의 총 개수는 그 오브젝트에서 최대로 가질 수 있는 총 샘플링(total sampling) 수를 의미한다.
즉, 총 샘플링(total sampling) 수를 바탕으로 각 서브 블록마다 샘플링할 포인트들의 개수를 계산한다.
각 서브 블록별 샘플링할 포인트들의 개수는 아래의 수학식 5을 이용하여 계산될 수 있다.
[수학식 5]
도 17의 실시예를 기반으로 설명하자면, 오브젝트로 분류된 포인트들 중 샘플링 할 포인트들의 총 개수(totalSamplingPoint)는 100개, 오브젝트로 분류된 포인트들의 총 개수(totalNumObject)는 13368개, 분할된 서브 블록들의 개수(numSubBlock)는 4개이다. 그리고, 각 서브 블록은 0~ 3까지 중 하나의 인덱스를 가지며, 각 서브 블록에 포함된 포인트들의 개수는 차례대로 358, 8000, 5000, 10이다.
위의 조건을 수학식 5에 적용하면, 각 서브 블록에서 샘플링할 포인트들의 개수는 각각 2, 59, 37, 0개가 된다. 즉, 제1 서브 그룹(즉, 서브 블록, NumsubBlock0)에서 샘플링될 포인트들의 개수는 2, 제2 서브 그룹(즉, 서브 블록, NumsubBlock1)에서 샘플링될 포인트들의 개수는 59, 제3 서브 그룹(즉, 서브 블록, NumsubBlock2)에서 샘플링될 포인트들의 개수는 37, 그리고 제4 서브 그룹(즉, 서브 블록, NumsubBlock3)에서 샘플링될 포인트들의 개수는 0이다.
이와 같이 지오메트리 인코더(51003)는 서브 블록별 샘플링할 포인트들의 개수가 결정되면 기존 방식대로 각 서브 블록 내에서 iso metric 방식으로 포인트들을 샘플링할 수 있다. 여기서, iso metric 방식은 각 서브 블록 내에서는 균등한 위치(즉, 등간격 또는 동일한 간격)에서 포인트들을 추출하는 것을 의미한다.
전술한 방식대로 글로벌 움직임 추정(global motion estimation)을 할 포인트들을 샘플링하게 하게 되면, 대부분의 움직임을 차지하는 곳에서 더 많은 포인트들이 고려됨으로써 글로벌 움직임 추정의 정확도가 향상될 수 있다.
전술한 방식은 직교 좌표(Cartesian coordinate)와 구면 좌표(spherical coordinate)와 상관없이 적용될 수 있으며, 어트리뷰트의 화면간 예측 시에도 전술한 샘플링 방법을 적용할 수 있다. 즉, 본 문서에서 기술하는 지오메트리 압축은 옥트리 구조를 기반으로 한 위치 압축 방법에서 사용되는 경우를 주로 기술하지만, 옥트리 구조를 갖는 어트리뷰트 압축 또는 옥트리 구조가 아닌 지오메트리/어트리뷰트 압축 방법에 사용될 수 있다.
지금까지는 전체 포인트들 중 각 서브 블록에서 포함하고 있는 포인트들의 수의 단순 비율만 고려하고 있다. 한편, 지오메트리 인코더(51003)는 가중치를 적용하여 많은 포인트들을 포함하고 있는 서브 블록은 더 많은 포인트들을 추출해 내고, 일정 수 이하의 포인트들을 포함하고 있는 서브 블록은 아웃라이어(outlier)로 삼고, 글로벌 움직임 추정에서 아예 배제시킬 수도 있다. 예를 들어, 8000개의 포인트들을 포함하는 제2 서브 그룹(즉, 서브 블록, NumsubBlock1)에 가장 높은 가중치를 주어 59개보다 더 많은 포인트들이 추출될 수 있도록 할 수 있다. 반대로 더 적은 포인트들을 포함하는 서브 블록에서 더 큰 비율로 포인트들을 추출해 낼 수도 있다.
실시예들에 따르면, 지오메트리 정보의 압축에서 사용한 서브 블록의 위치는 어트리뷰트 코딩시 상속되어 사용될 수 있다.
만약 특정 서브 블록이 글로벌 움직임 추정에서 제외되었다면 해당 블록에 포함된 포인트들은 글로벌 움직임 매트릭스가 적용되지 않을 수 있다. 그리고, 서브 블록별로 글로벌 움직임 매트릭스의 적용 여부를 시그널링 정보에 시그널링할 수 있다. 본 문서에서 지오메트리 압축 관련 정보는 서브 블록별로 글로벌 움직임 매트릭스의 적용 여부를 나타내는 정보를 포함할 수 있다.
즉, 각 서브 블록에서 포인트들을 샘플링한 후에 글로벌 움직임 추정을 하더라도 각 서브 블록에 글로벌 움직임 추정을 적용한 결과가 적용하기 전 보다 성능이 개선되지 않은 경우가 발생할 수 있다. 따라서, 각 서브 블록에 글로벌 움직임 추정을 적용한 결과가 글로벌 움직임 추정을 적용하기 전 결과보다 성능이 더 안 좋으면, 해당 서브 블록에 글로벌 움직임 매트릭스를 적용하지 않는 것을 일 실시예로 한다. 다시 말해, 각 서브 블록에 글로벌 움직임 추정을 적용한 결과가 글로벌 움직임 추정을 적용하기 전 결과보다 성능이 더 안 좋으면, 해당 서브 블록은 글로벌 움직임 추정에서 제외된다. 그리고, 서브 블록별로 글로벌 움직임 매트릭스의 적용 여부를 시그널링 정보에 시그널링할 수 있다.
도 18은 실시예들에 따른 지오메트리 인코더(51003)에서 글로벌 움직임 매트릭스의 적용 여부를 판단하는 과정의 일 예시를 보인 도면이다. 도 18에 도시된 엘레먼트(또는 블록)들은 하드웨어, 소프트웨어, 프로세서 및/또는 그것들의 결합등으로 구현될 수 있다. 도 18에서 각 엘레먼트의 수행 순서는 변경될 수 있으며, 일부 엘레먼트는 생략될 수 있고, 일부 엘레먼트는 새로 추가될 수 있다.
도 18에서, 포인트 클라우드 데이터의 포인트들(예를 들어, 오브젝트로 분류된 포인트들)은 z축을 기준으로 복수개의 서브 블록들로 분할된다(단계 53001). 여기서, 서브 블록들의 개수는 시스템에 의해 정해질 수도 있고, 사용자에 의해 정해질 수도 있다. 또한 서브 블록들의 개수를 식별하기 위한 정보는 시그널링 정보에 포함되어 수신측으로 전송될 수 있다. 본 문서에서 지오메트리 압축 관련 정보는 서브 블록들의 개수를 식별하기 위한 정보를 포함할 수 있다.
도 18에서 단계 53002 내지 단계 53008은 단계 53001에서 분할된 각 서브 블록 단위로 수행된다.
즉, 단계 53002는 단계 53001에서 분할된 서브 블록들 중 현재 서브 블록에 포함된 포인트들의 개수가 기 설정된 임계값보다 적은지를 확인한다.
만일, 현재 서브 블록에 포함된 포인트들의 개수가 기 설정된 임계값보다 적으면, 현재 서브 블록에 대해서는 글로벌 움직임 추정을 수행하지 않고, 로컬 움직임 추정을 수행한다(단계 53008).
만일, 현재 서브 블록에 포함된 포인트들의 개수가 기 설정된 임계값보다 적지 않으면, 수학식 5를 적용하여 현재 서브 블록에서 샘플링(또는 추출)할 포인트들의 개수를 계산하고, 계산된 포인트들의 개수만큼 현재 서브 블록에서 샘플링을 수행한다(단계 53003). 이때, 현재 서브 블록 내에서는 균등한 위치에서 계산된 포인트들의 개수만큼 포인트들을 샘플링한다.
상기 단계 53003에서 샘플링된 포인트들을 기반으로 글로벌 움직임 추정을 수행한다(단계 53004). 상기 단계 53003에서 샘플링된 포인트들은 글로벌 움직임 추정을 수행할 때 현재 프레임의 타겟 포인트들로 이용된다.
상기 단계 53004에서 글로벌 움직임 추정이 수행되면, 현재 서브 블록에 글로벌 움직임 추정 결과를 적용하는 것이 이득인지 아닌지를 RDO를 통해 비교한다. 만일 현재 서브 블록에 글로벌 움직임 추정 결과를 적용하지 않는 것이 이득이 더 좋다면 현재 서브 블록에 글로벌 움직임 추정 결과를 적용하지 않고, 그렇지 않다면 현재 서브 블록에 글로벌 움직임 추정 결과를 적용하는 것을 일 실시예로 한다. 그리고, 현재 서브 블록에 글로벌 움직임 추정 결과를 적용했는지 여부를 식별할 수 있는 정보(예, ApplyGlobalFlag)는 시그널링 정보에 포함되어 수신측으로 전송될 수 있다. 이때, 분할된 서브 블록별로 글로벌 움직임 추정 결과의 적용 여부가 시그널링된다. 본 문서에서 지오메트리 압축 관련 정보는 현재 서브 블록에 글로벌 움직임 추정 결과를 적용했는지 여부를 식별하기 위한 정보를 포함할 수 있다.
이를 위해, 상기 단계 53004에서 수행된 글로벌 움직임 추정 결과를 참조 프레임의 서브 블록에 적용한 후의 RDO와 적용하기 전의 RDO를 계산한다(단계 53005). 즉, 글로벌 움직임 추정 결과를 참조 프레임의 서브 블록에 적용한 후와 적용 전 결과를 기반으로 현재 프레임의 해당 위치의 포인트 클라우드에 대해 각각 rate distortion을 계산한다(단계 53005). 그리고, 글로벌 움직임 추정 결과를 적용한 후의 RDO가 글로벌 움직임 추정 결과를 적용하기 전의 RDO보다 작은지를 확인한다(단계 53006).
만일 단계 53006에서 글로벌 움직임 추정 결과를 적용하기 전 결과의 RDO 값이 더 크면, 현재 서브 블록에 대해 글로벌 움직임 보상이 수행된 후 로컬 움직임 추정을 위해 단계 53008로 전달된다(단계 53007). 만일 단계 53006에서 글로벌 움직임 추정 결과를 적용하기 전 결과의 RDO 값이 더 작으면 현재 서브 블록을 글로벌 움직임 추정에 사용 하더라도 글로벌 움직임 보상은 하지 않고, 로컬 움직임 추정을 위해 단계 53008로 전달된다. 즉, 글로벌 움직임 추정 결과를 적용하기 전 결과의 RDO 값이 적용 후 결과의 RDO 값보다 더 크면, 현재 서브 블록에 글로벌 움직임 매트릭스가 적용되고, 그렇지 않으면 현재 서브 블록에 글로벌 움직임 매트릭스가 적용되지 않는다. 단계 53008는 현재 서브 블록에 대해 로컬 움직임 추정을 수행한다.
실시예들에 따르면, RDO는 아래의 수학식 6을 기반으로 계산될 수 있다.
[수학식 6]
수학식 6에서, Dist는 현재 서브 블록에 포함된 포인트와 참조 서브 블록에 포함된 포인트의 글로벌 움직임 매트릭스 적용 전, 후의 포인트 간에 거리의 평균을 의미한다. α는 RDO 계산에 Dist 반영 정도를 결정하는 가중치(weight)를 의미하고 0~1사이 값을 가질 수 있다. λ는 lagrange multiplier다. E는 글로벌 움직임을 엔트로피 코딩했을 때 필요한 코딩 값일 수 있다.
본 문서에서 지오메트리 압축 관련 정보는 SPS, GPS, APS 또는 지오메트리 슬라이스 헤더 등에 시그널링될 수 있다. 이때, 지오메트리 압축 관련 정보는 시그널링 처리부(51002)에서 처리되는 것을 일 실시예로 한다.
실시예들에 따른 지오메트리 압축 관련 정보는 포인트 샘플링을 불균일하게 수행할지 여부를 지시하는 정보(sps_GME_nonUniform_flag), 포인트 클라우드 데이터의 포인트들을 분할하기 위한 서브 블록들의 개수 정보(numSubBlock), 서브 블록별로 해당 서브 블록의 인덱스 정보(subBlockIndex), 서브 블록별로 해당 서브 블록에 적용할 가중치 정보(samplingWeight), 서브 블록별로 해당 서브 블록에 글로벌 움직임 추정 결과가 적용되었는지 여부를 식별할 수 있는 정보(ApplyGlobalFlag), 서브 블록별로 해당 서브 블록의 버텍스 중 원점과 가장 가까운 포인트를 나타내는 정보(subBlockPosition_min), 서브 블록별로 해당 서브 블록의 버텍스 중 원점과 가장 먼 포인트를 나타내는 정보(subBlockPosition_max), 및 서브 블록별로 해당 서브 블록의 폭을 나타내는 정보(subBlockWidth) 중 적어도 하나를 포함할 수 있다. 본 명세서에서 지오메트리 압축 관련 정보에 포함되는 정보는 당업자에 따라 추가되거나 삭제 또는 수정될 수 있으므로, 전술한 예시로 본 발명이 제한되지 않는다.
도 19는 실시예들에 따른 지오메트리 인코더(51003)의 지오메트리 인코딩 방법의 일 예시를 보인 도면이다. 도 19에 도시된 엘레먼트(또는 블록)들은 하드웨어, 소프트웨어, 프로세서 및/또는 그것들의 결합등으로 구현될 수 있다. 도 19에서 각 엘레먼트의 수행 순서는 변경될 수 있으며, 일부 엘레먼트는 생략될 수 있고, 일부 엘레먼트는 새로 추가될 수 있다.
실시예들에 따라 포인트 클라우드 데이터가 단계 55001로 입력되면, 단계 55001에서는 예측 지오메트리(predictive geometry)를 이용한 압축에 용이하게 하기 위해, 입력되는 포인트 클라우드 데이터를 양자화/복셀화(quantization/voxelization)한다. 양자화/복셀화 후의 포인트 클라우드 데이터는 인트라 예측인지 여부를 확인한다(단계 55002). 여기서, 인트라 예측인지 여부는 시그널링 정보로서 제공받을 수도 있고, 미리 설정되어 있을 수도 있다.
단계 55002에서 인트라 예측으로 확인되면 단계 55012로 진행하여 인트라 프레임 예측을 수행한다.
단계 55002에서 인터 예측으로 확인되면 인터 예측을 위해 글로벌 움직임 추정을 수행할지 여부를 확인한다(단계 55003). 여기서, 인터 예측을 위해 글로벌 움직임 추정 여부는 시그널링 정보로서 제공받을 수도 있고, 또는 미리 설정되어 있을 수도 있다.
단계 55003에서 글로벌 움직임 추정을 적용하지 않는다고 확인되면 단계 55004로 진행되어 로컬 움직임 추정이 수행되고, 로컬 움직임 추정의 결과를 기반으로 로컬 움직임 보상을 수행한다(단계 55005).
단계 55003에서 글로벌 움직임 추정을 적용한다고 확인되면 서브 블록별로 불균형하게 샘플링을 수행할지 여부를 확인한다(단계 55007). 여기서, 각 서브 블록별로 불균형하게 샘플링할지 여부는 시그널링 정보로서 제공받을 수도 있고, 또는 미리 설정되어 있을 수도 있다.
단계 55007에서 서브 블록별로 불균일하게 샘플링한다고 확인되면, 입력되는 포인트 클라우드 데이터의 포인트들을 z축을 기준으로 복수개의 서브 블록들로 분할하고, 분할된 서브 블록별로 샘플링할 포인트들의 개수를 계산한 후, 서브 블록별로 계산된 포인트들을 각각 샘플링한다(단계 55008). 즉, 수학식 5에서와 같이, 입력되는 포인트 클라우드 데이터(예, 오브젝트)에 포함된 포인트들의 전체 개수, 각 서브 블록 내 포인트들의 개수, 및 입력되는 포인트 클라우드 데이터에 포함된 포인트들 중 샘플링될 전체 개수를 기반으로 각 서브 블록에서 샘플링된 포인트들의 개수를 결정(또는 계산)한다. 각 서브 블록에서 추출해 낼 포인트들의 개수가 결정되면, 각 서브 그룹 내에서는 균등한 위치에서 결정된 개수의 포인트들을 추출할 수 있다. 즉, 서브 블록별로 샘플링할 포인트들의 개수는 달라지며, 각 서브 블록 내에서 포인트들은 균등한 위치에서 샘플링(또는 추출)된다. 그리고, 서브 블록별로 샘플링된 포인트들을 기반으로 서브 블록별로 글로벌 움직임 추정을 한 후(단계 55010), 글로벌 움직임 추정 결과를 기반으로 글로벌 움직임 보상을 수행한다(단계 55011).
단계 55007에서 서브 블록별로 균일하게 샘플링한다고 확인되면, 입력되는 포인트 클라우드 데이터의 전체 영역 또는 오브젝트에 대해 균일하게 샘플링하여 글로벌 움직임 추정을 한 후(단계 55010), 글로벌 움직임 추정 결과를 기반으로 글로벌 움직임 보상을 수행한다(단계 55011).
단계 55011에서 글로벌 움직임 보상을 한 결과는 단계 55004로 진행되어 로컬 움직임 추정이 수행되고, 로컬 움직임 추정의 결과를 기반으로 로컬 움직임 보상이 수행된다(단계 55005).
단계 55005에서 로컬 움직임 보상이 끝나면, 단계 55006에서 나머지 인터 예측 기능을 적용한 후에 단계 55013에서 엔트로피 코딩을 하고, 출력 비트스트림으로 생성된다.
이상에서와 같이, 지오메트리 인코더(51003)는 포인트 클라우드 데이터가 입력되면 예측 지오메트리(predictive geometry)를 이용한 압축에 용이하게 하기 위해 데이터를 양자화/복셀화한다. 그리고, 양자화/복셀화 처리후의 포인트 클라우드 데이터에 대해 인트라 예측을 적용할지 여부를 확인하여 인트라 예측 프레임인 경우 지오메트리 인트라 예측을 하고, 아닌 경우 인터 예측을 위해 위해 글로벌 움직임 추정 적용 여부를 확인한다. 만일 글로벌 움직임 추정을 적용하지 않을 경우 로컬 움직임 추정 및 로컬 움직임 보상을 한다. 만일 글로벌 움직임 추정을 적용할 경우, 서브 블록별로 불균형하게 샘플링을 할지 여부를 확인한다. 만일 서브 블록별로 불균형하게 샘플링한다고 확인되면, 각 서브 블록 별로 서로 다른 개수의 포인트들을 샘플링한 후에 글로벌 움직임 추정 및 글로벌 움직임 보상을 수행한다. 만일 서브 블록별로 불균형하게 샘플링하는게 아니라고 확인되면, 전체 영역 혹은 오브젝트에 대해 균일하게 샘플링하여 글로벌 움직임 추정 및 글로벌 움직임 보상을 수행한다. 그리고, 글로벌 움직임 보상을 한 결과는 로컬 움직임 추정 및 로컬 움직임 보상을 위해 전달되고, 로컬 움직임 추정 및 로컬 움직임 보상이 완료되면, 나머지 인터 예측 기능을 적용한 후에 엔트로피 코딩을 하고, 출력 비트스트림으로 생성된다.
도 20은 실시예들에 따른 송/수신을 위한 포인트 클라우드 데이터의 비트스트림 구조의 예시를 나타낸다. 실시예들에 따르면, 도 1, 도 2, 도 4, 도 12, 도 16, 도 18, 도 19 중 어느 하나의 포인트 클라우드 비디오 인코더에서 출력되는 비트스트림은 도 20의 형태일 수 있다.
실시예들에 따르면, 본 문서는 포인트 클라우드 데이터의 비트스트림을 영역별로 나누어 처리할 수 있도록 타일 또는 슬라이스를 제공한다. 실시예들에 따른 비트스트림의 각각의 영역은 서로 다른 중요도를 가질 수 있다. 따라서, 포인트 클라우드 데이터가 타일들로 나누어지는 경우, 각 타일별로 다른 필터(인코딩 방법), 다른 필터 유닛을 적용할 수 있다. 또한 포인트 클라우드 데이터가 슬라이스들로 나누어지는 경우, 각 슬라이스별로 다른 필터, 다른 필터 유닛을 적용할 수 있다.실시예들에 따른 송신 장치 및 방법은, 도 20과 같은 비트스트림의 구조에 따라 포인트 클라우드 데이터를 전송함으로써, 중요도에 따라서 다른 인코딩 동작을 적용할 수 있게 하고, 품질(quality)이 좋은 인코딩 방법을 중요한 영역에 사용할 수 있는 방안을 제공할 수 있다. 또한 포인트 클라우드 데이터의 특성에 따른 효율적인 인코딩 및 전송을 지원하고 사용자의 요구사항에 따른 어트리뷰트 값을 제공할 수 있다.
실시예들에 따른 수신 장치 및 방법은, 도 20과 같은 비트스트림의 구조에 따라 포인트 클라우드 데이터를 수신함으로써, 수신 장치의 처리능력(capacity)에 따라서 포인트 클라우드 데이터 전체에 복잡한 디코딩(필터링) 방법을 사용하는 대신 영역별로 (타일 또는 슬라이스로 나누어진 영역) 서로 다른 필터링(디코딩 방법)을 적용할 수 있게 된다. 따라서, 사용자에게 중요한 영역에 더 좋은 화질과 시스템 상으로 적절한 레이턴시(latency)을 보장할 수 있다.
실시예들에 따른 지오메트리 비트스트림, 어트리뷰트 비트스트림, 및/또는 시그널링 비트스트림(또는 시그널링 정보)이 도 20과 같이 하나의 비트스트림(또는 G-PCC 비트스트림)으로 구성되는 경우, 비트스트림은 하나 또는 그 이상의 서브 비트스트림들을 포함할 수 있다. 실시예들에 따른 비트스트림은 시퀀스 레벨의 시그널링을 위한 SPS (Sequence Parameter Set), 지오메트리 정보 코딩의 시그널링을 위한 GPS(Geometry Parameter Set), 어트리뷰트 정보 코딩의 시그널링을 위한 하나 이상의 APS(Attribute Parameter Set, APS0, APS1), 타일 레벨의 시그널링을 위한 타일 인벤토리(또는 TPS라 함), 하나 이상의 슬라이스들(slice 0 ~ slice n)를 포함할 수 있다. 즉, 실시예들에 따른 포인트 클라우드 데이터의 비트스트림은 하나 이상의 타일들을 포함할 수 있으며, 각 타일은 하나 이상의 슬라이스들(slice 0 ~ slice n)를 포함하는 슬라이스들의 그룹일 수 있다. 실시예들에 따른 타일 인벤토리(즉, TPS)는 하나 이상의 타일들에 대하여 각 타일에 관한 정보(예를 들면 tile bounding box의 좌표값 정보 및 높이/크기 정보 등)를 포함할 수 있다. 각 슬라이스는 하나의 지오메트리 비트스트림(Geom0) 및/또는 하나 이상의 어트리뷰트 비트스트림들(Attr0, Attr1)을 포함할 수 있다. 예를 들어, 슬라이스 0(slice 0)는 하나의 지오메트리 비트스트림(Geom00) 및 하나 이상의 어트리뷰트 비트스트림들(Attr00, Attr10)을 포함할 수 있다.
각 슬라이스 내 지오메트리 비트스트림은 지오메트리 슬라이스 헤더(geom_slice_header)와 지오메트리 슬라이스 데이터(geom_slice_data)로 구성될 수 있다. 실시예들에 따르면, 각 슬라이스 내 지오메트리 비트스트림은 지오메트리 데이터 유닛, 지오메트리 슬라이스 헤더는 지오메트리 데이터 유닛 헤더, 지오메트리 슬라이스 데이터는 지오메트리 데이터 유닛 데이터라 칭하기도 한다. 실시예들에 따른 지오메트리 슬라이스 헤더(또는 지오메트리 데이터 유닛 헤더)는 지오메트리 파라미터 세트(GPS)에 포함된 파라미터 세트의 식별 정보(geom_parameter_set_id), 타일 식별자(geom_tile_id), 슬라이스 식별자(geom_slice_id) 및 지오메트리 슬라이스 데이터(geom_slice_data)에 포함된 데이터에 관한 정보 (geomBoxOrigin, geom_box_log2_scale, geom_max_node_size_log2, geom_num_points) 등을 포함할 수 있다. geomBoxOrigin는 해당 지오메트리 슬라이스 데이터의 박스 원점을 나타내는 지오메트리 박스 오리진 정보이고, geom_box_log2_scale는 해당 지오메트리 슬라이스 데이터의 로그 스케일을 나타내는 정보이며, geom_max_node_size_log2는 루트 지오메트리 옥트리 노드의 사이즈를 나타내는 정보이며, geom_num_points는 해당 지오메트리 슬라이스 데이터의 포인트들의 개수와 관련된 정보이다. 실시예들에 따른 지오메트리 슬라이스 데이터(또는 지오메트리 데이터 유닛 데이터)는 해당 슬라이스 내 포인트 클라우드 데이터의 지오메트리 정보(또는 지오메트리 데이터)를 포함할 수 있다.
각 슬라이스 내 각 어트리뷰트 비트스트림은 어트리뷰트 슬라이스 헤더(attr_slice_header)와 어트리뷰트 슬라이스 데이터(attr_slice_data)로 구성될 수 있다. 실시예들에 따르면, 각 슬라이스 내 어트리뷰트 비트스트림은 어트리뷰트 데이터 유닛, 어트리뷰트 슬라이스 헤더는 어트리뷰트 데이터 유닛 헤더, 어트리뷰트 슬라이스 데이터는 어트리뷰트 데이터 유닛 데이터라 칭하기도 한다. 실시예들에 따른 어트리뷰트 슬라이스 헤더(또는 어트리뷰트 데이터 유닛 헤더)는 해당 어트리뷰트 슬라이스 데이터(또는 해당 어트리뷰트 데이터 유닛)에 관한 정보를 포함할 수 있고, 어트리뷰트 슬라이스 데이터는 해당 슬라이스 내 포인트 클라우드 데이터의 어트리뷰트 정보(또는 어트리뷰트 데이터 또는 어트리뷰트 값이라 함)를 포함할 수 있다. 하나의 슬라이스 내 어트리뷰트 비트스트림이 복수개 있는 경우, 각각은 서로 다른 어트리뷰트 정보를 포함할 수 있다. 예를 들어, 하나의 어트리뷰트 비트스트림은 색상에 해당하는 어트리뷰트 정보를 포함하고, 다른 하나의 어트리뷰트 스트림은 반사율에 해당하는 어트리뷰트 정보를 포함할 수 있다.
실시예들에 따르면, 포인트 클라우드 데이터의 인코딩 및/또는 디코딩에 필요한 파라미터들은 포인트 클라우드 데이터의 파라미터 세트들((예를 들어, SPS, GPS, APS, 및 TPS (또는 타일 인벤토리라 함) 등) 및/또는 해당 슬라이스의 헤더 등에 새로 정의될 수 있다. 예를 들어, 지오메트리 정보의 인코딩 및/또는 디코딩을 수행할 때에는 지오메트리 파라미터 세트(GPS)에, 타일 기반의 인코딩 및/또는 디코딩을 수행할 때에는 타일 및/또는 슬라이스 헤더에 추가할 수 있다.
실시예들에 따르면, 지오메트리 압축 관련 정보는 시퀀스 파라미터 세트, 지오메트리 파라미터 세트, 어트리뷰트 파라미터 세트, 지오메트리 슬라이스 헤더(또는 지오메트리 데이터 유닛 헤더라 함), 또는 지오메트리 슬라이스 데이터(또는 지오메트리 데이터 유닛 데이터라 함) 중 적어도 하나에 시그널링될 수 있다.
실시예들에 따르면, 지오메트리 압축 관련 정보는 어트리뷰트 코딩 방법과 연계하거나 어트리뷰트 코딩에 적용하기 위해 어트리뷰트 파라미터 세트 및/또는 어트리뷰트 슬라이스 헤더(또는 어트리뷰트 데이터 유닛 헤더라 함)에 시그널링될 수 있다실시예들에 따르면, 지오메트리 압축 관련 정보를 포함하는 파라미터(메타데이터, 시그널링 정보 등 다양하게 호칭 가능함)는 송신 장치의 메타데이터 처리부(또는 메타데이터 제너레이터)나 시그널링 처리부에서 생성될 수 있고, 수신 장치에 전달되어 디코딩/재구성 과정에 이용될 수 있다. 예를 들어, 송신 장치에서 생성되어 전송되는 파라미터는 수신 장치의 메타데이터 파서에서 획득될 수 있다.
실시예들에 따르면, 본 문서는 데이터 분포를 고려한 글로벌 움직임 추정 대상 포인트 샘플링 방법에 필요한 지오메트리 압축 관련 정보의 시그널링을 정의할 수 있다. 실시예들에 따르면, 시퀀스 파라미터 세트에서 불균등한 포인트 샘플링을 기반으로 글로벌 움직임 추정을 수행했음을 알려주고, 이를 위해 필요한 정보를 실시 방법에 따라 시퀀스 파라미터 세트에 관련 정보 전부 또는 일부를 전달하고, 지오메트리 파라미터 세트, 지오메트리 슬라이스 헤더, SEI 메시지 등에서 각각의 정보를 전달할 수도 있다. 실시예들에 따르면, 지오메트리 압축 관련 정보는 어플리케이션, 시스템에 따라 상응되는 위치 또는 별도의 위치에 정의하여 적용 범위, 적용 방법 등을 다르게 사용할 수 있다. 그리고, 상위에 유사 기능을 포함하고 있는 정보가 시그널링 될 경우 하위 개념의 파라미터 세트에서는 시그널링이 생략되어도 적용가능할 수 있다. 또한 아래 정의된 신택스 엘레먼트가 현재 포인트 클라우드 데이터 스트림 뿐 아니라 복수의 포인트 클라우드 데이터 스트림에 적용될 수 있는 경우에는 상위 개념의 파라미터 세트 등을 통해 지오메트리 압축 관련 정보를 전달할 수 있다.
이후 설명되는 본 명세서의 신택스들에서 사용되는 용어인 필드는 파라미터 또는 신택스 엘리먼트와 동일한 의미를 가질 수 있다. 도 21은 본 문서에 따른 시퀀스 파라미터 세트(seq_parameter_set_rbsp())(SPS)의 신택스 구조의 일 실시예를 보인 도면이다. SPS는 포인트 클라우드 데이터 비트스트림의 시퀀스 정보를 포함할 수 있으며, 특히 지오메트리 압축 관련 정보를 포함하는 예를 보이고 있다. 즉, 데이터 분포를 고려한 글로벌 움직임 추정 대상 포인트 샘플링 방법에 필요한 지오메트리 압축 관련 정보는 SPS에 추가되서 시그널링 할 수 있다.
실시예들에 따른 SPS는 sps_GME_nonUniform_flag 필드를 포함할 수 있다.
상기 sps_GME_nonUniform_flag 필드는 글로벌 움직임 추정시 불균형(nonUniform)하게 샘플링을 수행할지 여부를 나타낼 수 있다. 상기 sps_GME_nonUniform_flag 필드의 값이 참이면, 글로벌 움직임 추정시 현재 포인트에서 포인트 밀집 정도에 따라 포인트들을 불균형(non-uniform)하게 샘플링함을 의미하며, 거짓이면 기존 방식대로 모든 포인트들에 대해 균형(uniform) 방식으로 샘플링함을 의미할 수 있다.
도 22는 본 명세서에 따른 지오메트리 파라미터 세트(geometry_parameter_set())(GPS)의 신택스 구조의 일 실시예를 보인 도면이다. 실시예들에 따른 GPS는 하나 또는 그 이상의 슬라이스들에 포함된 포인트 클라우드 데이터의 지오메트리 정보를 인코딩하는 방법에 관한 정보를 포함할 수 있다.
실시예들에 따른 지오메트리 파라미터 세트는 지오메트리 압축 관련 정보를 포함할 수 있다. 즉, 데이터 분포를 고려한 글로벌 움직임 추정 대상 포인트 샘플링 방법에 필요한 지오메트리 압축 관련 정보는 GPS에 추가되서 시그널링 할 수 있다.
상기 지오메트리 압축 관련 정보는 gps_GME_nonUniform_flag 필드를 포함할 수 있다.
상기 gps_GME_nonUniform_flag 필드는 글로벌 움직임 추정시 비균일하게 샘플링할지 여부를 GPS에서 나타낼 수 있다. 상기 gps_GME_nonUniform_flag 필드의 값이 참이면, 글로벌 움직임 추정시 현재 포인트에서 포인트 밀집 정도에 따라 포인트들을 불균형하게 샘플링함을 의미하며, 거짓이면 기존 방식대로 모든 포인트들에 대해 균형 방식으로 샘플링 함을 의미할 수 있다. 여기서, 상기 gps_GME_nonUniform_flag 필드의 값은 상기 sps_GME_nonUniform_flag 필드 값을 전달 받아 입력할 수도 있고, 각 프레임마다 다르게 입력될 수도 있다.
상기 지오메트리 압축 관련 정보는 상기 gps_GME_nonUniform_flag 필드의 값이 참이면 numSubBlock 필드를 포함할 수 있다.
상기 numSubBlock 필드는 글로벌 움직임 추정시 불균형(nonUniform)하게 샘플링을 할 경우, 포인트 클라우드 데이터의 포인트들을 그룹핑(또는 분할)하기 위한 서브 블록들의 개수는 나타낼 수 있다.
상기 지오메트리 압축 관련 정보는 상기 numSubBlock 필드의 값(즉, 서브 블록들의 개수)만큼 반복되는 반복문을 포함할 수 있다. 이때, i는 0으로 초기화되고, 반복문이 수행될 때마다 1씩 증가하며, i값이 상기 numSubBlock 필드의 값이 될때까지 반복문이 반복되는 것을 일 실시예로 한다. 이 반복문은 subBlockIndex[i] 필드, samplingWeight[i] 필드, ApplyGlobalFlag[i] 필드, subBlockPosition_min[i][3] 필드, subBlockPosition_max[i][3] 필드, subBlockWidth[i] 필드를 포함할 수 있다.
상기 subBlockIndex[i] 필드는 상기 numSubBlock필드의 값만큼 포인트 클라우드 데이터의 포인트들을 서브 블록들로 그룹핑할 경우 각 서브 블록의 인덱스를 나타낼 수 있다.
상기 samplingWeight[i] 필드는 상기 subBlockIndex[i] 필드의 값에 의해 지시되는 서브 블록에서 샘플링할 포인트들의 개수를 결정하기 위해 필요한 가중치를 나타낸다. 상기 samplingWeight[i] 필드의 값은 0~1 사이의 값을 가질 수 있다.
상기 ApplyGlobalFlag[i] 필드는 상기 subBlockIndex[i] 필드의 값에 의해 지시되는 서브 블록에 글로벌 움직임 추정 결과를 적용할지 여부를 나타낼 수 있다. 상기 ApplyGlobalFlag[i] 필드의 값이 참이면 해당 서브 블록에 글로벌 움직임 매트릭스를 적용함을 의미하고, 거짓이면 적용하지 않음을 나타낼 수 있다.
상기 subBlockPosition_min[i][3] 필드는 상기 subBlockIndex[i] 필드의 값에 의해 지시되는 서브 블록의 버텍스 중 원점과 가장 가까운 포인트를 나타낼 수 있다.
상기 subBlockPosition_max[i][3] 필드는 상기 subBlockIndex[i] 필드의 값에 의해 지시되는 서브 블록의 버텍스 중 원점과 가장 먼 포인트를 나타낼 수 있다.
상기 subBlockWidth[i] 필드는 상기 subBlockIndex[i] 필드의 값에 의해 지시되는 서브 블록의 최소(min), 최대(max) 값을 이용하여 나머지 버텍스를 계산하기 위해 상기 subBlockPosition_min[i][3] 필드로부터 해당 서브 블록의 폭을 나타낼 수 있다.
본 문서는 subBlockIndex[i] 필드, samplingWeight[i] 필드, ApplyGlobalFlag[i] 필드, subBlockPosition_min[i][3] 필드, subBlockPosition_max[i][3] 필드, 및 subBlockWidth[i] 필드를 서브 블록 정보라 칭하기로 한다.
도 23은 본 명세서에 따른 어트리뷰트 파라미터 세트(attribute_parameter_set())(APS)의 신택스 구조의 일 실시예를 보인 도면이다. 실시예들에 따른 APS는 하나 또는 그 이상의 슬라이스들에 포함된 포인트 클라우드 데이터의 어트리뷰트 정보를 인코딩하는 방법에 관한 정보를 포함할 수 있다.
실시예들에 따른 어트리뷰트 파라미터 세트는 어트리뷰트 압축 관련 정보를 포함할 수 있다. 즉, 데이터 분포를 고려한 글로벌 움직임 추정 대상 포인트 샘플링 방법에 필요한 어트리뷰트 압축 관련 정보는 APS에 추가되서 시그널링 할 수 있다.
상기 어트리뷰트 압축 관련 정보는 aps_GME_nonUniform_continuation_flag 필드와 aps_GME_nonUniform_flag 필드를 포함할 수 있다.
상기 aps_GME_nonUniform_continuation_flag 필드는 어트리뷰트의 글로벌 움직임 추정시 GPS에서 적용한 포인트 샘플링 방법(즉, 불균형 방식의 포인트 샘플링 또는 균형 방식의 포인트 샘플링 여부)를 APS에서 전달받아 사용할지 여부를 나타낼 수 있다. 상기 aps_GME_nonUniform_continuation_flag 필드의 값이 참이면 지오메트리 코딩에서 글로벌 움직임 추정시 현재 포인트에서 포인트 밀집 정도에 따라 포인트 클라우드 데이터의 포인트들을 불균형하게 샘플링 할 때 썼던 정보를 전달 받아 적용함을 의미하며, 거짓이면 글로벌 움직임 추정시 지오메트리 코딩과 독립적으로 코딩됨을 의미할 수 있다.
상기 aps_GME_nonUniform_flag 필드는 글로벌 움직임 추정시 비균일하게 샘플링할지 여부를 APS에서 나타낼 수 있다. 상기 aps_GME_nonUniform_flag 필드의 값이 참이면, 글로벌 움직임 추정시 현재 포인트에서 포인트 밀집 정도에 따라 포인트들을 불균형하게 샘플링함을 의미하며, 거짓이면 기존 방식대로 모든 포인트들에 대해 균형 방식으로 샘플링 함을 의미할 수 있다. 여기서, 상기 aps_GME_nonUniform_flag 필드의 값은 상기 sps_GME_nonUniform_flag 필드 값을 전달 받아 입력할 수도 있고, 각 프레임마다 다르게 입력될 수도 있다. 또한, 상기 aps_GME_nonUniform_continuation_flag필드의 값이 참일때는 GPS에서 서브 블록 정보를 전달 받아 적용할 수 있다.
상기 어트리뷰트 압축 관련 정보는 상기 aps_GME_nonUniform_flag 필드의 값이 참이면 numSubBlock 필드를 포함할 수 있다.
상기 numSubBlock 필드는 글로벌 움직임 추정시 불균형(nonUniform)하게 샘플링을 할 경우, 포인트 클라우드 데이터의 포인트들을 그룹핑(또는 분할)하기 위한 서브 블록들의 개수는 나타낼 수 있다.
상기 어트리뷰트 압축 관련 정보는 상기 numSubBlock 필드의 값(즉, 서브 블록들의 개수)만큼 반복되는 반복문을 포함할 수 있다. 이때, i는 0으로 초기화되고, 반복문이 수행될 때마다 1씩 증가하며, i값이 상기 numSubBlock 필드의 값이 될때까지 반복문이 반복되는 것을 일 실시예로 한다. 이 반복문은 subBlockIndex[i] 필드, samplingWeight[i] 필드, ApplyGlobalFlag[i] 필드, subBlockPosition_min[i][3] 필드, subBlockPosition_max[i][3] 필드, subBlockWidth[i] 필드를 포함할 수 있다.
본 문서는 subBlockIndex[i] 필드, samplingWeight[i] 필드, ApplyGlobalFlag[i] 필드, subBlockPosition_min[i][3] 필드, subBlockPosition_max[i][3] 필드, 및 subBlockWidth[i] 필드를 서브 블록 정보라 칭하기로 한다.
상기 서브 블록 정보에 포함되는 subBlockIndex[i] 필드, samplingWeight[i] 필드, ApplyGlobalFlag[i] 필드, subBlockPosition_min[i][3] 필드, subBlockPosition_max[i][3] 필드, 및 subBlockWidth[i] 필드의 설명은 중복 설명을 피하기 위해 도 22를 참조하기로 하고 여기서는 생략한다.
실시예들에 따르면, 지오메트리 데이터 유닛(geometry_data_unit())은 지오메트리 데이터 유닛 헤더(geometry_data_unit_header( )), byte_alignment(), 및 geometry_data_unit_footer()를 포함한다.
도 24는 실시예들에 따른 지오메트리 데이터 유닛 헤더(geometry_data_unit_header())의 신택스 구조의 예시를 보인 도면이다. 도 24의 지오메트리 데이터 유닛 헤더(geometry_data_unit_header())는 지오메트리 압축 관련 정보를 포함할 수 있다. 즉, 데이터 분포를 고려한 글로벌 움직임 추정 대상 포인트 샘플링 방법에 필요한 지오메트리 압축 관련 정보는 지오메트리 데이터 유닛 헤더(또는 지오메트리 슬라이스 헤더라 함)에 추가되서 시그널링 할 수 있다.
상기 지오메트리 데이터 유닛 헤더는 상기 GPS에 포함된 gps_GME_nonUniform_flag 필드의 값이 참이면 numSubBlock 필드를 포함할 수 있다.
상기 numSubBlock 필드는 글로벌 움직임 추정시 불균형(nonUniform)하게 샘플링을 할 경우, 포인트 클라우드 데이터의 포인트들을 그룹핑(또는 분할)하기 위한 서브 블록들의 개수는 나타낼 수 있다.
상기 지오메트리 압축 관련 정보는 상기 numSubBlock 필드의 값(즉, 서브 블록들의 개수)만큼 반복되는 반복문을 포함할 수 있다. 이때, i는 0으로 초기화되고, 반복문이 수행될 때마다 1씩 증가하며, i값이 상기 numSubBlock 필드의 값이 될때까지 반복문이 반복되는 것을 일 실시예로 한다. 이 반복문은 subBlockIndex[i] 필드, samplingWeight[i] 필드, ApplyGlobalFlag[i] 필드, subBlockPosition_min[i][3] 필드, subBlockPosition_max[i][3] 필드, subBlockWidth[i] 필드를 포함할 수 있다.
본 문서는 subBlockIndex[i] 필드, samplingWeight[i] 필드, ApplyGlobalFlag[i] 필드, subBlockPosition_min[i][3] 필드, subBlockPosition_max[i][3] 필드, 및 subBlockWidth[i] 필드를 서브 블록 정보라 칭하기로 한다.
상기 서브 블록 정보에 포함되는 subBlockIndex[i] 필드, samplingWeight[i] 필드, ApplyGlobalFlag[i] 필드, subBlockPosition_min[i][3] 필드, subBlockPosition_max[i][3] 필드, 및 subBlockWidth[i] 필드의 설명은 중복 설명을 피하기 위해 도 22를 참조하기로 하고 여기서는 생략한다.
도 25는 실시예들에 따른 포인트 클라우드 수신 장치의 또 다른 예시를 보인 도면이다. 도 25에 도시된 포인트 클라우드 수신 장치의 엘리먼트들은 하드웨어, 소프트웨어, 프로세서 및/또는 그것들의 결합등으로 구현될 수 있다.
실시예들에 따르면, 포인트 클라우드 수신 장치는 수신 처리부(61001), 시그널링 처리부(61002), 지오메트리 디코더(61003), 어트리뷰트 디코더(61004), 및 후 처리부(Post-processor, 61005)를 포함할 수 있다.
실시예들에 따른 수신 처리부(61001)는 하나의 비트스트림을 수신할 수도 있고, 또는 지오메트리 비트스트림, 어트리뷰트 비트스트림, 시그널링 비트스트림을 각각 수신할 수도 있다. 실시예들에 따른 수신 처리부(61001)는 파일 및/또는 세그먼트가 수신되면, 수신된 파일 및/또는 세그먼트를 디캡슐레이션하여 비트스트림으로 출력할 수 있다.
실시예들에 따른 수신 처리부(61001)는 하나의 비트스트림이 수신(또는 디캡슐레이션)되면, 하나의 비트스트림으로부터 지오메트리 비트스트림, 어트리뷰트 비트스트림, 및/또는 시그널링 비트스트림을 디멀티플렉싱하고, 디멀티플렉스된 시그널링 비트스트림은 시그널링 처리부(61002)로, 지오메트리 비트스트림은 지오메트리 디코더(61003)로, 어트리뷰트 비트스트림은 어트리뷰트 디코더(61004)로 출력할 수 있다.
실시예들에 따른 수신 처리부(61001)는 지오메트리 비트스트림, 어트리뷰트 비트스트림, 및/또는 시그널링 비트스트림이 각각 수신(또는 디캡슐레이션)되면, 시그널링 비트스트림은 시그널링 처리부(61002)로, 지오메트리 비트스트림은 지오메트리 디코더(61003)로, 어트리뷰트 비트스트림은 어트리뷰트 디코더(61004)로 전달할 수 있다.
상기 시그널링 처리부(61002)는 입력된 시그널링 비트스트림으로부터 시그널링 정보 예를 들어, SPS, GPS, APS, TPS, 메타 데이터 등에 포함된 정보를 파싱 및 처리하여 지오메트리 디코더(61003), 어트리뷰트 디코더(61004), 후 처리부(61005)로 제공할 수 있다. 다른 실시예로, 지오메트리 데이터 유닛 헤더 및/또는 어트리뷰트 데이터 유닛 헤더에 포함된 시그널링 정보도 해당 슬라이스 데이터를 디코딩하기 전에 상기 시그널링 처리부(61002)에서 미리 파싱될 수도 있다.
실시예들에 따르면, 시그널링 처리부(61002)는 GPS 및/또는 지오메트리 데이터 유닛 헤더에 시그널링된 시그널링 정보(예를 들어, 지오메트리 압축 관련 정보)도 파싱 및 처리하여 지오메트리 디코더(61003)로 제공할 수 있다.
실시예들에 따르면, 지오메트리 디코더(61003)는 압축된 지오메트리 비트스트림에 대해 시그널링 정보(예, 지오메트리 압축 관련 정보)를 기반으로 도 16의 지오메트리 인코더(51003)의 역과정을 수행하여 지오메트리를 복원할 수 있다. 상기 지오메트리 디코더(61003)에서 복원된(또는 재구성된(reconstructed)) 지오메트리 정보는 어트리뷰트 디코더(61004)로 제공된다. 상기 어트리뷰트 디코더(61004)는 압축된 어트리뷰트 비트스트림에 대해 시그널링 정보와 재구성된 지오메트리 정보를 기반으로 도 16의 어트리뷰트 인코더(51004)의 역과정을 수행하여 어트리뷰트를 복원할 수 있다.
실시예들에 따르면, 후 처리부(61005)는 상기 지오메트리 디코더(61003)에서 복원되어 출력되는 지오메트리 정보(즉, 포지션들)과 상기 어트리뷰트 디코더(61004)에서 복원되어 출력되는 어트리뷰트 정보를 매칭하여 포인트 클라우드 데이터를 재구성하고 디스플레이/렌더링할 수 있다.
도 26은 실시예들에 따른 지오메트리 디코더(61003)의 지오메트리 디코딩 과정의 일 예시를 보인 도면이다.
도 26에 도시된 엘리먼트(또는 블록)들은 하드웨어, 소프트웨어, 프로세서 및/또는 그것들의 결합등으로 구현될 수 있다. 도 24에서 각 엘레먼트의 수행 순서는 변경될 수 있으며, 일부 엘레먼트는 생략될 수 있고, 일부 엘레먼트는 새로 추가될 수 있다.
실시예들에 따르면, 수신 처리부(61001)에서 비트스트림이 획득되면 도 21 내지 도 24에서 설명된 지오메트리 압축 관련 정보를 획득할 수 있다.
실시예들에 따르면, 지오메트리 디코더(61003)는 송신 장치의 지오메트리 인코더의 역과정을 수행하여 지오메트리 정보를 복원한다.
즉, 단계 65001은 수신 처리부(61001)를 통해 입력되는 비트스트림에 대해 엔트로피 디코딩을 수행한다.
그리고, 엔트로피 디코딩이 수행된 비트스트림에 포함된 지오메트리 정보에 대해 인트라 예측을 적용할지 여부를 확인한다(단계 65002). 여기서, 인트라 예측을 적용할지 여부는 시그널링 정보에 포함된 지오메트리 압축 관련 정보로서 송신측으로부터 제공받을 수도 있고, 미리 설정되어 있을 수도 있다.
단계 65002에서 인트라 예측으로 확인되면 단계 65011로 진행하여 수신된 지오메트리 정보에 대해 인트라 프레임 예측을 수행한다.
단계 65002에서 인터 예측으로 확인되면 인터 예측을 위해 글로벌 움직임을 적용할지 여부를 확인한다(단계 65003). 여기서, 글로벌 움직임을 적용할지 여부는 시그널링 정보로서 제공받을 수도 있고, 또는 미리 설정되어 있을 수도 있다. 단계 65003에서의 글로벌 움직임을 적용할지 여부는 전체 포인트 클라우드 데이터에 대한 적용 여부이고, 만일 샘플링을 불균형하게 수행한다고 확인되면 서브 블록별로 글로벌 움직임이 적용될 수도 있고, 적용되지 않을 수도 있다.
단계 65003에서 글로벌 움직임이 적용되지 않는다고 확인되면 단계 65008로 진행되어 수신된 시그널링 정보를 기반으로 수신된 지오메트리 정보에 대해 로컬 움직임 보상이 수행된다.
단계 65003에서 글로벌 움직임이 적용된다고 확인되면, 수신된 지오메트리 정보가 서브 블록별로 불균형하게 샘플링되었는지 여부를 확인한다(단계 65004). 여기서, 서브 블록별로 불균형하게 샘플링되었는지 여부는 시그널링 정보로서 제공받을 수도 있고, 또는 미리 설정되어 있을 수도 있다. 본 문서에서 서브 블록별로 불균형하게 샘플링되었는지 여부는 지오메트리 압축 관련 정보에 포함되어 수신되는 sps_GME_nonUniform_flag 필드 및/또는 gps_GME_nonUniform_flag 필드를 이용하여 확인하는 것을 일 실시예로 한다.
단계 65004에서 서브 블록별로 불균일하게 샘플링되지 않았다고 확인되면, 단계 65007로 진행하여 수신된 지오메트리 정보에 대해 글로벌 움직임 보상을 수행하고, 단계 65008로 진행하여 로컬 움직임 보상을 수행한다.
단계 65004에서 서브 블록별로 불균일하게 샘플링되었다고 확인되면, 수신되는 지오메트리 정보를 복수개의 서브 블록들로 분할한다(단계 65005). 여기서, 분할되는 서브 블록의 개수는 시그널링 정보로서 제공받을 수도 있고, 또는 미리 설정되어 있을 수도 있다. 본 문서에서 분할되는 서브 블록의 개수는 지오메트리 압축 관련 정보에 포함되어 수신되는 numSubBlock 필드를 이용하여 확인하는 것을 일 실시예로 한다.
그리고, 단계 65005에서 분할된 서브 블록별로 글로벌 움직임 추정 여부를 확인한다(단계 65006). 여기서, 글로벌 움직임 추정 여부는 시그널링 정보로서 제공받을 수도 있고, 또는 미리 설정되어 있을 수도 있다. 본 문서에서 글로벌 움직임 추정 여부는 지오메트리 압축 관련 정보에 포함되어 수신되는 ApplyGlobalFlag 필드를 이용하여 확인하는 것을 일 실시예로 한다.
단계 65005에서 해당 서브 블록에 글로벌 움직임 추정이 적용되었다고 확인되면 단계 65007로 진행하여 해당 서브 블록에 대해 글로벌 움직임 보상을 수행한다.
단계 65005에서 해당 서브 블록에 글로벌 움직임 추정이 적용되지 않았다고 확인되면 단계 65008로 진행하여 해당 서브 블록에 로컬 움직임 보상을 수행한다.
단계 65008에서 로컬 움직임 보상이 완료되면, 단계 65009에서 나머지 인터 예측 기능을 적용한다.
단계 65009에서 인터 예측이 수행된 지오메트리 정보 또는 단계 65011에서 인트라 프레임 예측이 수행된 지오메트리 정보는 단계 65010에서 지오메트리 정보의 재구성을 수행하여 재구성된 포인트들을 출력한다.
이상에서와 같이, 지오메트리 디코더(61003)는 수신된 비트스트림에 대해 엔트로피 디코딩을 하고, 엔트로피 디코딩된 비트스트림 내 지오메트리 정보를 포함하는 프레임이 인트라 예측을 위한 프레임이라면 기존의 인트라 예측을 위한 방식을 적용한 후 포인트 클라우드의 지오메트리 정보를 업데이트한다. 만일, 해당 프레임이 인트라 예측을 위한 프레임이 아니라면, 글로벌 움직임 적용 여부를 확인하고, 글로벌 움직임을 적용할 경우 엔트로피 디코딩된 지오메트리 정보가 불균일하게 샘플링되어 움직임 추정되었는지 확인한다. 이때 불균일 샘플링 결과가 반영된 경우, 엔트로피 디코딩된 지오메트리 정보를 복수개의 서브 블록들로 분할한 후 각 서브 블록별로 글로벌 움직임 적용 여부를 확인하고, 확인 결과에 따라 해당 서브 블록에 대해 글로벌 움직임 보상을 수행한다. 만일, 송신측에서 균일하게 샘플링 되어 움직임 추정되었다고 확인되면, 엔트로피 디코딩된 지오메트리 정보에 대해 글로벌 움직임 보상을 수행한 후 로컬 움직임 보상을 수행한다. 로컬 움직임 보상이 완료된 후에는 나머지 인터 예측 기능을 적용하고, 인터 예측이 수행된 지오메트리 정보의 재구성(reconstruction)을 수행한다. 즉, 단계 65010는 인터 예측 또는 인트라 예측을 통해 예측된 정보와 엔트로피 디코딩된 지오메트리 정보에 포함된 잔여 정보(residual)를 이용하여 지오메트리 정보(즉, 최종 포인트들의 위치)를 재구성(또는 복원)한다. 그리고 재구성된 포인트들은 어트리뷰트 정보 예측에 사용되기 위해 어트리뷰트 디코더(61004)로 보내질 수 있다.
도 27은 실시예들에 따른 포인트 클라우드 데이터 송신 방법의 흐름도를 나타낸다.
실시예들에 따른 포인트 클라우드 데이터 송신 방법은 포인트 클라우드 데이터를 획득하는 단계(71001), 포인트 클라우드 데이터를 인코딩하는 단계(71002), 인코드된 포인트 클라우드 데이터와 시그널링 정보를 전송하는 단계(71003)를 포함할 수 있다. 이때, 상기 인코드된 포인트 클라우드 데이터와 시그널링 정보를 포함하는 비트스트림이 파일로 인캡슐레이션되어 전송될 수도 있다.
포인트 클라우드 데이터를 획득하는 단계(71001)는 도 1의 포인트 클라우드 비디오 획득부(10001)의 동작의 일부 또는 전부를 수행할 수도 있고 또는 도 12의 데이터 입력부(12000)의 동작의 일부 또는 전부를 수행할 수도 있다.
포인트 클라우드 데이터를 인코딩하는 단계(71002)는 지오메트리 정보의 인코딩을 위해 도 1의 포인트 클라우드 비디오 인코더(10002), 도 2의 인코딩(20001), 도 4의 포인트 클라우드 비디오 인코더, 도 12의 포인트 클라우드 비디오 인코더, 도 16의 지오메트리 인코더, 도 18의 지오메트리 인코딩 과정 또는 도 19의 지오메트리 인코딩 과정의 동작의 일부 또는 전체를 수행할 수 있다.
실시예들에 따른 포인트 클라우드 데이터를 인코딩하는 단계(71002)는 입력되는 포인트 클라우드 데이터의 포인트들을 복수개의 서브 그룹들로 분할하고, 분할된 서브 그룹별로 샘플링할 포인트들의 개수를 계산하여 샘플링을 수행한다. 그리고, 각 서브 그룹별로 글로벌 움직임 매트릭스의 적용 여부를 결정한 후 글로벌 움직임 추정 및/또는 로컬 움직임 추정을 수행하여 지오메트리 정보를 압축한다.
상기 포인트 클라우드 데이터(또는 오브젝트)의 포인트들을 복수개의 서브 그룹(또는 서브 블록 또는 블록이라 칭함)들로 분할하고 이를 기반으로 글로벌 움직임 추정을 수행하는 상세 내용은 전술한 도 15 내지 도 24의 설명을 참조하기로 하고 여기서는 생략한다. 상기 압축된 각 포인트의 지오메트리 정보(예, 잔여 정보 및/또는 예측 모드 정보)는 엔트로피 인코딩된 후 지오메트리 비트스트림 형태로 출력된다.
실시예들에 따르면, 포인트 클라우드 데이터를 인코딩하는 단계(71002)는 지오메트리 인코딩이 수행되지 않은 포지션들 및/또는 재구성된 지오메트리 정보를 기반으로 어트리뷰트 정보를 압축한다. 일 실시예로, 상기 어트리뷰트 정보는 RAHT 코딩, LOD 기반의 예측 변환 코딩 및 리프팅 변환 코딩 중 어느 하나 또는 하나 이상을 조합하여 코딩될 수 있다.
본 명세서에서 시그널링 정보는 지오메트리 압축 관련 정보를 포함할 수 있다. 지오메트리 압축 관련 정보는 지오메트리 데이터 유닛 헤더에 포함되는 것을 일 실시예로 한다. 다른 실시예로, 지오메트리 압축 관련 정보는 SPS, GPS, APS에 시그널링될 수 있다. 상기 지오메트리 압축 관련 정보의 상세 설명은 위에서 상세히 하였으므로 여기서는 생략하기로 한다.
도 28은 실시예들에 따른 포인트 클라우드 데이터 수신 방법의 흐름도를 나타낸다.
실시예들에 따른 포인트 클라우드 데이터 수신 방법은 인코드된 포인트 클라우드 데이터와 시그널링 정보를 수신하는 단계(81001), 시그널링 정보를 기반으로 포인트 클라우드 데이터를 디코딩하는 단계(81002), 및 디코드된 포인트 클라우드 데이터를 렌더링하는 단계(81003)를 포함할 수 있다.
실시예들에 따른 포인트 클라우드 데이터와 시그널링 정보를 수신하는 단계(81001)는 도 1의 리시버(10005), 도 2의 진송(20002) 또는 디코딩(20003), 도 13의 수신부(13000) 또는 수신 처리부(13001)에서 수행될 수 있다.
실시예들에 따른 포인트 클라우드 데이터를 디코딩하는 단계(81002)는 지오메트리 정보의 디코딩을 위해 도 1의 포인트 클라우드 비디오 디코더(10006), 도 2의 디코딩(20003), 도 11의 포인트 클라우드 비디오 디코더, 도 13의 포인트 클라우드 비디오 디코더, 도 25의 지오메트리 디코더, 또는 도 26의 지오메트리 디코딩 과정의 동작의 일부 또는 전체를 수행할 수 있다.
실시예들에 따른 포인트 클라우드 데이터를 디코딩하는 단계(81002)는 시그널링 정보에 포함된 지오메트리 압축 관련 정보를 기반으로 서브 블록별 글로벌 움직임 보상 및/또는 로컬 움직임 보상을 수행하여 압축되어 수신된 지오메트리 정보를 디코딩(즉, 복원)할 수 있다. 상세 내용은 도 15 내지 도 26의 설명을 참조하기로 한다.
실시예들에 따른 포인트 클라우드 데이터를 디코딩하는 단계(81002)는 상기 복원된 지오메트리 정보를 기반으로 어트리뷰트 정보를 디코딩(즉, 압축 해제)한다. 일 실시예로, 상기 어트리뷰트 정보는 RAHT 코딩, LOD 기반의 예측 변환 코딩 및 리프팅 변환 코딩 중 어느 하나 또는 하나 이상을 조합하여 디코딩될 수 있다.
실시예들에 따른 렌더링하는 단계(81003)는 복원된(또는 재구성된) 지오메트리 정보와 어트리뷰트 정보를 기반으로 포인트 클라우드 데이터를 복원하고 다양한 렌더링 방식에 따라 렌더링할 수 있다. 예를 들어, 포인트 클라우드 콘텐트의 포인트들은 일정 두께를 갖는 정점, 해당 정점 위치를 중앙으로 하는 특정 최소 크기를 갖는 정육면체, 또는 정점 위치를 중앙으로 하는 원 등으로 렌더링 될 수도 있다. 렌더링된 포인트 클라우드 콘텐트의 전부 또는 일부 영역은 디스플레이 (예를 들면 VR/AR 디스플레이, 일반 디스플레이 등)을 통해 사용자에게 제공된다. 실시예들에 따른 포인트 클라우드 데이터를 렌더링하는 단계(81003)는 도 1의 렌더러(10007) 또는 도 2의 렌더링(20004) 또는 도 13의 렌더러(13011) 에서 수행될 수 있다.
이상에서와 같이 본 문서는 포인트 클라우드 컨텐츠의 화면 간 움직임 예측의 글로벌 움직임 추정과 글로벌 움직임 보상을 위해 불균일한 샘플링 방법과 글로벌 움직임 매트릭스 적용 여부를 판단하는 방법에 대해 제안하였다. 따라서, 송신측에서는 포인트 클라우드 데이터의 포인트들을 복수개의 서브 블록들로 분할하여 각 서브 블록별로 해당 서브 블록에 포함된 포인트들의 개수에 따라 서로 다른 개수의 포인트들을 샘플링할 수 있다. 특히 더 중요한 위치에서의 포인트들을 포함하는 서브 블록에서 더 많이 포인트들을 샘플링함으로써, 글로벌 움직임 추정의 정확도가 향상되는 효과가 있다. 또한, 수신측에서는 각 서브 블록별로 글로벌 움직임 추정 결과 적용 여부에 따라 글로벌 움직임 보상을 다르게 할 수 있어서, 기존에 local PU마다 글로벌 움직임 보상의 적용 여부를 판단하는 것 보다 비트스트림 사이즈와 디코딩 시간이 줄어드는 효과가 있다.
상술한 실시예들의 동작은 메모리 및/또는 프로세서를 포함하는 포인트 클라우드 송수신 장치/방법의 구성요소를 통해 수행될 수 있다. 메모리는 실시예들에 따른 동작을 처리/제어하기 위한 프로그램들을 저장할 수 있다. 실시예들에 따른 포인트 클라우드 송수신 장치/방법의 각 구성요소는 하드웨어, 소프트웨어, 프로세서 및/또는 그것들의 조합에 대응할 수 있다. 프로세서는 본 문서에서 설명한 다양한 동작을 제어할 수 있다. 프로세서는 컨트롤러 등으로 지칭 가능하다. 실시예들에 동작들은 펌웨어, 소프트웨어, 및/또는 그것들의 조합에 의해 수행될 수 있고, 펌웨어, 소프트웨어, 및/또는 그것들의 조합은 프로세서에 저장되거나 메모리에 저장될 수 있다. 본 실시예에서는 포인트 클라우드 데이터의 지오메트리 정보를 압축하는 방법에 대해서 기술하지만 어트리뷰트 정보 압축 및 기타 압축 방법에 본 명세서에서 기술하는 방법을 적용할 수 있다.
전술한 각각의 파트, 모듈 또는 유닛은 메모리(또는 저장 유닛)에 저장된 연속된 수행과정들을 실행하는 소프트웨어, 프로세서, 하드웨어 파트일 수 있다. 전술한 실시예에 기술된 각 단계들은 프로세서, 소프트웨어, 하드웨어 파트들에 의해 수행될 수 있다. 전술한 실시예에 기술된 각 모듈/블락/유닛들은 프로세서, 소프트웨어, 하드웨어로서 동작할 수 있다. 또한, 실시예들이 제시하는 방법들은 코드로서 실행될 수 있다. 이 코드는 프로세서가 읽을 수 있는 저장매체에 쓰여질 수 있고, 따라서 장치(apparatus)가 제공하는 프로세서에 의해 읽혀질 수 있다.
또한 명세서 전체에서, 어떤 부분이 어떤 구성 요소를 “포함”한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성 요소를 제외하는 것이 아니라 다른 구성 요소를 더 포함할 수 있는 것을 의미한다. 그리고 명세서에 기재된 “…부”등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다.
본 명세서는 설명의 편의를 위하여 각 도면을 나누어 설명하였으나, 각 도면에 서술되어 있는 실시 예들을 병합하여 새로운 실시 예를 구현하도록 설계하는 것도 가능하다. 그리고, 통상의 기술자의 필요에 따라, 이전에 설명된 실시 예들을 실행하기 위한 프로그램이 기록되어 있는 컴퓨터에서 판독 가능한 기록 매체를 설계하는 것도 실시예들의 권리범위에 속한다.
실시예들에 따른 장치 및 방법은 상술한 바와 같이 설명된 실시 예들의 구성과 방법이 한정되게 적용될 수 있는 것이 아니라, 실시 예들은 다양한 변형이 이루어질 수 있도록 각 실시 예들의 전부 또는 일부가 선택적으로 조합되어 구성될 수도 있다.
실시예들의 바람직한 실시 예에 대하여 도시하고 설명하였지만, 실시예들은 상술한 특정의 실시 예에 한정되지 아니하며, 청구범위에서 청구하는 실시예들의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 실시예들의 기술적 사상이나 전망으로부터 개별적으로 이해돼서는 안 될 것이다.
실시예들의 장치의 다양한 구성요소들은 하드웨어, 소프트웨어, 펌웨어 또는 그것들의 조합에 의해 수행될 수 있다. 실시예들의 다양한 구성요소들은 하나의 칩, 예를 들면 하나의 하드웨어 서킷으로 구현될 수 있다. 실시예들에 따른 구성요소들은 각각 별도의 칩들로 구현될 수 있다. 실시예들에 따른 장치의 구성요소들 중 적어도 하나 이상은 하나 또는 그 이상의 프로그램들을 실행 할 수 있는 하나 또는 그 이상의 프로세서들로 구성될 수 있으며, 하나 또는 그 이상의 프로그램들은 실시예들에 따른 동작/방법들 중 어느 하나 또는 그 이상의 동작/방법들을 수행시키거나, 수행시키기 위한 인스트럭션들을 포함할 수 있다. 실시예들에 따른 장치의 방법/동작들을 수행하기 위한 실행 가능한 인스트럭션들은 하나 또는 그 이상의 프로세서들에 의해 실행되기 위해 구성된 일시적이지 않은 CRM 또는 다른 컴퓨터 프로그램 제품들에 저장될 수 있거나, 하나 또는 그 이상의 프로세서들에 의해 실행되기 위해 구성된 일시적인 CRM 또는 다른 컴퓨터 프로그램 제품들에 저장될 수 있다. 또한 실시예들에 따른 메모리는 휘발성 메모리(예를 들면 RAM 등)뿐 만 아니라 비휘발성 메모리, 플래쉬 메모리, PROM등을 전부 포함하는 개념으로 사용될 수 있다. 또한, 인터넷을 통한 전송 등과 같은 반송파의 형태로 구현되는 것도 포함될 수 있다. 또한, 프로세서가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 프로세서가 읽을 수 있는 코드가 저장되고 실행될 수 있다.
이 문서에서 "/"와 ","는 "및/또는"으로 해석된다. 예를 들어, "A/B"는 "A 및/또는 B"로 해석되고, "A, B"는 "A 및/또는 B"로 해석된다. 추가적으로, "A/B/C"는 "A, B, 및/또는 C 중 적어도 하나"를 의미한다. 또한, "A, B, C"도 "A, B 및/또는 C 중 적어도 하나"를 의미한다. 추가적으로, 이 문서에서 “또는”는 “및/또는”으로 해석된다. 예를 들어, "A 또는 B"은, 1) "A"만을 의미하고, 2) "B"만을 의미하거나, 3) "A 및 B"를 의미할 수 있다. 달리 표현하면, 본 문서의 “또는”은 “추가적으로 또는 대체적으로(additionally or alternatively)”를 의미할 수 있다.
실시예들의 다양한 엘리먼트들은 하드웨어, 소프트웨어, 펌웨어 또는 그것들의 조합에 의해 수행될 수 있다. 실시예들의 다양한 엘리먼트는 하드웨어 회로와 같은 싱글 칩 상에서 수행될 수 있다. 실시예들에 따라, 실시예들은 선택적으로 개별적인 칩들 상에서 수행될 수 있다. 실시예들에 따라, 실시예들의 엘리먼트들 중 적어도 하나는 실시예들에 따른 동작을 수행하는 인스트럭션들을 포함하는 하나 또는 하나 이상의 프로세서 내에서 수행될 수 있다.
또한, 본 문서에서 설명하는 실시예들에 따른 동작은 실시예들에 따라서 하나 이상의 메모리들 및/또는 하나 이상의 프로세서들을 포함하는 송수신 장치에 의해 수행될 수 있다. 하나 이상의 메모리들을 실시예들에 따른 동작을 처리/제어하기 위한 프로그램들을 저장할 수 있고, 하나 이상의 프로세서들을 본 문서에서 설명한 다양한 동작을 제어할 수 있다. 하나 이상의 프로세서들은 컨트롤러 등으로 지칭 가능하다. 실시예들에 동작들은 펌웨어, 소프트웨어, 및/또는 그것들의 조합에 의해 수행될 수 있고, 펌웨어, 소프트웨어, 및/또는 그것들의 조합은 프로세서에 저장되거나 메모리에 저장될 수 있다.
제1, 제2 등과 같은 용어는 실시예들의 다양한 구성요소들을 설명하기 위해 사용될 수 있다. 하지만 실시예들에 따른 다양한 구성요소들은 위 용어들에 의해 해석이 제한되어서는 안된다. 이러한 용어는 하나의 구성요소를 다른 구성요소와 구별하기 위해 사용되는 것에 불과하다. 것에 불과하다. 예를 들어, 제1 사용자 인풋 시그널은 제2사용자 인풋 시그널로 지칭될 수 있다. 이와 유사하게, 제2사용자 인풋 시그널은 제1사용자 인풋 시그널로 지칭될 수 있다. 이러한 용어의 사용은 다양한 실시예들의 범위 내에서 벗어나지 않는 것으로 해석되어야만 한다. 제1사용자 인풋 시그널 및 제2사용자 인풋 시그널은 모두 사용자 인풋 시그널들이지만, 문맥 상 명확하게 나타내지 않는 한 동일한 사용자 인풋 시그널들을 의미하지 않는다.
실시예들을 설명하기 위해 사용된 용어는 특정 실시예들을 설명하기 위한 목적으로 사용되고, 실시예들을 제한하기 위해서 의도되지 않는다. 실시예들의 설명 및 청구항에서 사용된 바와 같이, 문맥 상 명확하게 지칭하지 않는 한 단수는 복수를 포함하는 것으로 의도된다. 및/또는 표현은 용어 간의 모든 가능한 결합을 포함하는 의미로 사용된다. “포함한다” 표현은 특징들, 수들, 단계들, 엘리먼트들, 및/또는 컴포넌트들이 존재하는 것을 설명하고, 추가적인 특징들, 수들, 단계들, 엘리먼트들, 및/또는 컴포넌트들을 포함하지 않는 것을 의미하지 않는다. 실시예들을 설명하기 위해 사용되는, ~인 경우, ~때 등의 조건 표현은 선택적인 경우로만 제한 해석되지 않는다. 특정 조건을 만족하는 때, 특정 조건에 대응하여 관련 동작을 수행하거나, 관련 정의가 해석되도록 의도되었다.
또한, 본 문서에서 설명하는 실시예들에 따른 동작은 실시예들에 따라서 메모리 및/또는 프로세서를 포함하는 송수신 장치에 의해 수행될 수 있다. 메모리는 실시예들에 따른 동작을 처리/제어하기 위한 프로그램들을 저장할 수 있고, 프로세서는 본 문서에서 설명한 다양한 동작을 제어할 수 있다. 프로세서는 컨트롤러 등으로 지칭 가능하다. 실시예들에 따른 동작들은 펌웨어, 소프트웨어, 및/또는 그것들의 조합에 의해 수행될 수 있고, 펌웨어, 소프트웨어, 및/또는 그것들의 조합은 프로세서에 저장되거나 메모리에 저장될 수 있다.