									   March 27, 2014

	Instruction for test of texture and depth view packing SEI message in 3D-AVC

									   Takanori Senoh/NICT

1. Prepare test sequencies for 3D-AVC.
2. Prepare two GVD_DummyD3.yuv sequences of depth value = 128 and size = 1920x1088 or 1024x768.
3. Unzip GVD2014Mar.zip.
4. Build 3DV-ATM10.0 which includes this SEI message process.
5. Build GVD which includes global depth generator, residual view generator and view synthesizer.
6. Execute all.bat in each test sequence holder in ATMGVDtest.


===============================================================================

	GVD2014Mar manual


Welcome to NICT GVD ( with ATM 10 )
    2014 Mar version.

-------------------------------------------------------------------------------
1. Dev/Test Environment

    Windows
    -------------------------------
    Windows 7 64bit
    Visual Studio 2010 ( 64bit Compile, 32bit Compile ) ( VS2008 not tested )
    OpenCV 2.4.5 ( or 2.4.x ) 64bit ( or 32bit )    ( 2.4.6 not tested )

    Linux
    -------------------------------
    Ubuntu 12.04 LTS 32bit with VMware Player 5.0.1 on Windows 7 64bit
    gcc 4.6
    OpenCV 2.4.3 ( or 2.4.x ) 32bit


-------------------------------------------------------------------------------
2. Add the following libraries/Tools.

    OpenCV 2.4.x  ( for GVDEncD / GVDEncR / GVDDec )
        http://opencv.org/downloads.html

    ATM 10.0 r1 for GVD ( lencod / ldecod )
        Please re-compile by "#define GVD_E0105 1".

    and

    GVD for ATM10 



-------------------------------------------------------------------------------
3. Make ATM10 + GVD

    ATM10 can only work with HP mode. It does not work in EHP mode.
    Please rebuild the solution (Windows), make makefile (Linux).
    
    How to make, ATM10. ( Windows / Linux )
        Source code "defines.h" files (All include directory's All defined.h files),
        Replace value at "#define GVD_E0105 0" line, 0 to 1.
    
    How to make GVD ( Windows )
        Rebuild GVD/windows/GVD.sln .
        
    How to make GVD ( Linux )
        Go to GVD/linux directory, and just make.


-------------------------------------------------------------------------------
4. ATM10 + GVD operation sequence

    Encode phase ( in QPxx directory )
        1) GVDEncD          Make Quater size Global Depth D3.yuv with Dummy Depth file.
        2) lencod           Depth to encode and recon.
        3) GVDEncR          Make Stacked Residual file R3.yuv . ( use recon Depth )
        4) lencod           Main view with stacked residual, global depth to encode.

    Decode phase ( cd QPxx/dec )
        5) ldecod           Decode main view and stacked residual, quarter size global depth.
                            ( 2014 Mar: NEW !
                                All parameter, data, config files are automatically generated 
                                by the ATM 10 decoder. )
        6) GVDDec           Make Multi Views
                            ( 2014 Mar: NEW !
                                Just type "GVDDec" with no options! )

-------------------------------------------------------------------------------
5. Run ATM10 + GVD 

    Command: ( Windows .bat only )
        all.bat
            -> start EHPHP.bat with QP26
                -> call ATMgvd.bat with QP26
            -> start EHPHP.bat with QP31
                -> call ATMgvd.bat with QP31
            -> start EHPHP.bat with QP36
                -> call ATMgvd.bat with QP36
            -> start EHPHP.bat with QP41
                -> call ATMgvd.bat with QP41
            
            Each EHPHP.bat works to section 4 "ATM10 + GVD operation sequence".

-------------------------------------------------------------------------------
6. Deployment plan for ATM10 + GVD TEST ENVIRONMENT

    ex EHPHP.bat:
    
        xxxx/ ( Dancer / Fly / Street / Hall2 / Newspaper / Balloons / Kendo / Shark )
            All.bat
            EHPHP.bat
            ATMgvd.bat
            EncD3.cfg
            EncR3.cfg
        
        configs/
            3dv_enc_25Hz_depth_HP.cfg
            3dv_enc_25Hz_texture_HP.cfg
            decoder.cfg

        configs/GVD
            GVD_depth_xxxx.cfg
            GVD_dummyD_xxxx.cfg
            GVD_texture_xxxx.cfg
        
        configs/cam_param
            xxxx.txt
        
        bin/
            (from ATM10 bin) lencod.exe / ldecod.exe
            (from GVD bin) GVDEncD.exe / GVDEncR.exe / GVDDec.exe
                
        Data/ 
            (from ORIGINAL DATA) *.yuv
            
                        
-------------------------------------------------------------------------------

Toyoaki Ohgochi, NICT Senoh team at Tokyo, Japan.
Mar27,2014 ATM9.0 E0105 -> ATM10
Oct18,2013 ATM8.1r3 -> ATM9.0