									   June 24, 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 GVD2014June.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.


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

	GVD2014June manual


Welcome to NICT GVD ( with ATM 10 )

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

    Windows
    -------------------------------
    Windows 8.1 64bit
    Visual Studio 2013 ( =VS12, 64bit Compile )
    OpenCV 2.4.9 64bit
    -------------------------------
    Windows 7 64bit
    GVD.sln.VS10 and GVDxxx.vcxproj.VS10 is for Visual Studio 2010 (=VS10)
    OpenCV 2.4.5 64bit ( or 32bit )
    Please remove ".VS10" ext from these ".sln / .vcxproj" filename.
    Please read to "MSDN: OpenMP in Visual C++".
    http://msdn.microsoft.com/en-us/library/tt15eb9t(v=vs.100).aspx

    Linux (Sorry, Not tested)
    -------------------------------
    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

    OpenMP 2 ( for GVDEncR / GVDDec )
        inc VS12/11/10 standard.

        MS VisualStudio2013 runtime inc OpenMP
            vcredist_x64.exe
            vcredist_x86.exe

-------------------------------------------------------------------------------
3. Make ATM/E0105 + GVD

    ATM/E0105 can only work with HP mode. It does not work in EHP mode.
    Please rebuild the solution (Windows), make makefile (Linux).

    How to make, ATM/E0105. Option 1 ( Windows / Linux )
        Sourcu code defined.h files (All include directory's All defined.h files),
        Replace value at "#define E0105 0" line, 0 to 1.

    How to make, ATM/E0105. Option 2 ( Windows )
        Visual Studio Projects(All Projects) Property: Preprocessor Definitions: Add GVD_E0105 .
        Please refer to E0105.jpg file.


    How to make GVD ( Windows )
        Rebuild GVD/windows/GVD.sln .

    How to make GVD ( Linux )
        Go to GVD/linux directory, and just make.


-------------------------------------------------------------------------------
4. ATM/E0105 + 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, and quarter size global depth.
        6) GVDDec           Make Multi Views ( with camera parameters )


-------------------------------------------------------------------------------
5. Run ATM/E0105 + GVD

    Command: ( Windows .bat only )
        allQPI.bat
            -> call ATMGVD.bat with QP26
            -> call ATMGVD.bat with QP31
            -> call ATMGVD.bat with QP36
            -> call ATMGVD.bat with QP41

            Each ATMGVD.bat works to section 4 "ATM/E0105 + GVD operation sequence".


-------------------------------------------------------------------------------
6. Deployment plan for ATM/E0105 + GVD TEST ENVIRONMENT

    ex ATMGVD.bat:

        test.env/xxxx/ ( Dancer / Fly / Street / Hall2 / Newspaper / Balloons / Kendo )
            allQPI.bat
            ATMgvd.bat
            EncD3.cfg
            EncR3.cfg
            ( Dec3.cfg Not use on this version.)

        configs/ (See GVDATM10)
            3dv_enc_25Hz_depth_HP.cfg
            3dv_enc_25Hz_texture_HP.cfg
            decoder.cfg

        configs/HP (See GVDATM10)
            GVD_depth_xxxx.cfg
            GVD_dummyD_xxxx.cfg
            GVD_texture_xxxx.cfg

        configs/cam_param (See GVDATM10)
            xxxx.txt

        bin/
            (from GVD bin) GVDEncD.exe / GVDEncR.exe / GVDDec.exe

        Data/
            (from ORIGINAL DATA) *.yuv / *.cfg ( camera parameter file for ATM )


-------------------------------------------------------------------------------

GVD for ATM10.0 E0105 

June23,2014 Toyoaki Ohgochi, NICT Senoh team at Tokyo, Japan.
