Instructions for manually creating a ZIP file for upload
--------------------------------------------------------

Our SDK works for Unix/Linux, as well as for Windows using cygwin. You
should use it for running your method, evaluating the results and creating a
ZIP file with your results. If you cannot use the SDK for some reason, then
please follow these instructions for manually creating a ZIP file for
uploading your results.

The disparity images must correspond to the left input image. The image
format must be PFM (http://netpbm.sourceforge.net/doc/pfm.html). This format
uses a small ASCII header that contains the image size. It is followed by
32-bit floating point values for all pixels. The float values are stored
binary (i.e., four bytes) in little or big endian format, depending on the
sign of the scale factor in the header. The absolute value of the scale
factor is ignored. Please note that PFM stores the image lines in reverse
order, i.e., the last image line is stored first. The values encode the
disparities in pixels without any scale factor. Positive INF is interpreted
as invalid, i.e., unknown disparity.

Dense disparity images, without invalid values, should be named
'disp0XXX.pfm'. Sparse disparity images, which contain invalid values, e.g.,
for occlusions, should be named 'disp0XXX_s.pfm'. You can decide if you want
to submit only dense or only sparse results or both. 'XXX' should be
replaced by the name of your algorithm.

In addition to the disparity images, the time for calculating either the
disparity images must be given for each image pair.  Only one time file is
expected; if you upload both sparse and dense results, please measure the
time of the dense results.  The time in seconds is stored as a floating
point value in ASCII encoding in a text file. The file must contain only
that number and should be called 'timeXXX.txt'. Again 'XXX' should be the
name of your algorithm.

If you submit only trainings results, then the directory structure of your
ZIP file must look as shown below. Either disp0XXX.pfm or disp0XXX_s.pfm may
be missing, but you should provide both if available. Replace Y with the
letter Q, H, or F, and XXX with the name of your algorithm.

trainingY
  Adirondack
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  ArtL
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Jadeplant
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Motorcycle
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  MotorcycleE
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Piano
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  PianoL
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Pipes
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Playroom
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Playtable
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  PlaytableP
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Recycle
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Shelves
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Teddy
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Vintage
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt

For full submission, the ZIP file must additionally contain all test results:

testY
  Australia
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  AustraliaP
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Bicycle2
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Classroom2
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Classroom2E
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Computer
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Crusade
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  CrusadeP
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Djembe
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  DjembeL
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Hoops
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Livingroom
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Newkuba
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Plants
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt
  Staircase
    disp0XXX.pfm
    disp0XXX_s.pfm
    timeXXX.txt