GithubHelp home page GithubHelp logo

mpeggroup / mpeg-pcc-tmc13 Goto Github PK

View Code? Open in Web Editor NEW
204.0 17.0 58.0 6.99 MB

Geometry based point cloud compression (G-PCC) test model

License: Other

CMake 0.37% Perl 1.72% Shell 0.35% C++ 97.43% C 0.14%

mpeg-pcc-tmc13's Introduction

TMC13

Building

OSX

  • mkdir build
  • cd build
  • cmake .. -G Xcode
  • open the generated xcode project and build it

Linux

  • mkdir build
  • cd build
  • cmake ..
  • make

Windows

  • md build
  • cd build
  • cmake .. -G "Visual Studio 15 2017 Win64"
  • open the generated visual studio solution and build it

Running

This TMC13 codec implementation encodes frame sequences. A single binary contains the encoder and decoder implementation, with selection using the --mode option. Documentation of options is provided via the --help command line option.

Runtime configuration and configuration files

All command line parameters may be specified in a configuration file. A set of configuration file templates compliant with the current Common Test Conditions is provided in the cfg/ directory.

Example

To generate the configuration files, run the gen-cfg.sh script:

mpeg-pcc-tmc13/cfg$ ../scripts/gen-cfg.sh --all

An example script (scripts/Makefile.tmc13-step) demonstrates how to launch the encoder, decoder and metric software for a single input frame. The VERBOSE=1 make variable shows the detailed command execution sequence. Further documentation of the parameters are contained within the script.

The following example encodes and decodes frame 0100 of the sequence Ford_01_q_1mm, making use of the configuration file cfg/lossy-geom-no-attrs/ford_01_q1mm/r01/encoder.cfg and storing the intermediate results in the output directory experiment/lossy-geom-no-attrs/ford_01_q1mm/r01/.

mpeg-pcc-tmc13$ make -f $PWD/scripts/Makefile.tmc13-step \
    -C experiment/lossy-geom-no-attrs/ford_01_q1mm/r01/ \
    VPATH=$PWD/cfg/octree-predlift/lossy-geom-no-attrs/ford_01_q1mm/r01/ \
    ENCODER=$PWD/build/tmc3/tmc3 \
    DECODER=$PWD/build/tmc3/tmc3 \
    PCERROR=/path/to/pc_error \
    SRCSEQ=/path/to/Ford_01_q_1mm/Ford_01_vox1mm-0100.ply \
    NORMSEQ=/path/to/Ford_01_q_1mm/Ford_01_vox1mm-0100.ply

  [encode]  Ford_01_vox1mm-0100.ply.bin <- /path/to/Ford_01_q_1mm/Ford_01_vox1mm-0100.ply
  [md5sum]  Ford_01_vox1mm-0100.ply.bin.md5
  [md5sum]  Ford_01_vox1mm-0100.ply.bin.ply.md5
  [decode]  Ford_01_vox1mm-0100.ply.bin.decoded.ply <- Ford_01_vox1mm-0100.ply.bin
  [md5sum]  Ford_01_vox1mm-0100.ply.bin.decoded.ply.md5
  [metric]  Ford_01_vox1mm-0100.ply.bin.decoded.ply.pc_error <- Ford_01_vox1mm-0100.ply.bin.decoded.ply

Intra and inter prediction

The yaml files stored directly under the cfg/ folder correspond to intra prediction, and yaml files stored under cfg/inter/ folder correspond to inter prediction. The gen-cfg.sh script is updated such that intra/inter prediction may be specified as an additional option to produce the configuration files corresponding to intra/inter prediction; alternately, the "--all" option may be used to generate the configuration for intra and inter prediction for all tool configurations.

After running the gen-cfg.sh script, the configuration files for intra and inter prediction are generated in separate folders. The configuration files corresponding to inter prediction are generated in folders with "-inter" suffix. For example, configuration files corresponding to octree and predicting/lifting transform using intra prediction are generated in the folder octree-predlift/ (as was the case in some earlier versions of the test model), and configuration files corresponding to octree and predicting/lifting transform using inter prediction are generated in the folder octree-predlift-inter/.

mpeg-pcc-tmc13's People

Contributors

2021xuyzbd avatar aramasub avatar arashoon avatar github-hm avatar jonathan-taquet-xiaomi avatar jonathantaquet avatar naive-cjf avatar nkcm2020 avatar onkgm avatar tulvanchristian avatar weizhang01 avatar zexingsun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.