== UNIVERSITY OF BONN -- OBJECTS 2011 DATABASE DOCUMENTATION =================== (c) 2011 Institute of Computer Science II, University of Bonn Author: Christopher Schwartz INDEX This document is strucuted the following way - 1. DIRECTORY STRUCTURE - 2. FILENAME CONVENTIONS - 3. STRUCTURED LIGHT PATTERNS - 4. CALIBRATION - 5. RECONSTRUCTED GEOMETRY - 6. RECONSTRUCTED BTF - 7. REFERENCES 1. DIRECTORY STRUCTURE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Directory Tree | Description -------------------------------------------------------------------------------- [] | |-- [images] | | | |-- appearance.zip This ZIP contains the contents of the folders | | [images//appearance] for all cameras in | | a single file. | | | |-- geometry.zip This ZIP contains the contents of the folders | | [images//geometry] for all cameras in a | | single file. | |-- [] | | | | ... |-- [appearance] This folder contains the RAW measurement data of | | the appearance measurement for camera | | (JPEG files) | | | |-- [LEDCalib] This folder contains shots by camera of | | an LED Grid (see section 4.4) useful for geometric | | camera-calibration (JPEG files) | | | |-- [geometry] This folder contains the RAW measurement data of | the structured light measurement for camera | (JPEG files) | |-- [hdr] | | | |-- hdr-appearance.zip This file contains the contents of the folders | | [hdr/appearance] in a single file. | | | |-- hdr-geometry.zip This file contains the contents of the folders | | [hdr/geometry] in a single file. | | | |-- hdr-resampled.zip This file contains the contents of the folders | | [hdr/resampled] in a single file. | | | |-- [appearance] This folder contains high dynamic range, i.e. | | processed, versions of the appearance measurement | | images in ILM EXR format (half precision | | floatingpoint) (EXR files) | | | |-- [geometry] This folder contains high dynamic range, i.e. | | processed, versions of the geometry measurement | | images in ILM EXR format (half precision | | floatingpoint) (EXR files) | | | |-- [resampled] This folder contains the uncompressed, angular | resampled BTF reflectance data. | |-- .txt A textfile containing important notes especially | for this measurement (TXT file) | |-- .xml.zip This file contains the calibration information that | was used to compute the HDR, geometry and BTF | (zipped XML file) | |-- .obj.zip This file contains the reconstructed, parameterized | geometry of the measured object as a triangle mesh | with normals and texture in Wavefront OBJ format. | (zipped OBJ file) | |-- .btf.zip This file contains a compressed but high quality BTF, as it was used to render the results presented in [1] (zipped BTF file) 2. FILENAME CONVENTIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% It is very helpful to know the capture setup and processing steps to understand the filename conventions. Please refer to [1] for a detailed description of the complete acquisition process. 2.1 FILES IN [images//JPG] The filenames are given in the following schema: cv_tv_pv_cl_tl _pl_ISO_FQ.jpg Example: cv001_tv000.00_pv000.00_cl001_tl000.00_pl000.00_ISO080_FQ1 and are fixed numbers assigned to every camera and flash, remaining constant over all files and calibration entries of the measurement. Please note, that and denote the same camera. (e.g. cv001 and cl001 means that camera 1 takes a picture and the scene is illuminated by the internal flash of camera 1). and are the idealized angles to identify the camera's and the flash's position in the camera DOME hemisphere in polar coordinates. For a precise calibration of position and direction of the cameras and flashes consult the calibration XML! and describe exposure settings of the capturing camera. A flash quanitity of 0 means brightest. 2.2 FILES IN [images//LEDCalib] The filenames are given in the following schema: cv_tv_pv_zoom.jpg Example: cv001_tv000.00_pv000.00_zoom0.jpg describes the zoom setting of the capturing camera. Zoom 0 means maximum field of view. 2.3 FILES IN [images//patterns] The filenames are given in the following schema: bl_cv_bp_ET _ISO.jpg Example: bl001_cv001_bp001_ET00050.000_ISO080.jpg denotes the index of the active projector. is the index of the structured light pattern. This index corresponds to the index int the pattern-source directory (see section 2.5). denotes the shutter time of the camera in milliseconds. 2.4 FILES IN [hdr] Here, two filename schemes are used. For the hdr-combined appearance measurements, we use the schema cv_tv_pv_cl_tl _pl.exr Example: cl001_cv001_pl000.00_pv000.00_tl000.00_tv000.00.exr For the hdr-combined structured light measurements, we use bl_cv_bp Example: bl001_bp001_cv001.exr The placeholders are the same as in sections 2.1 and 2.2. 2.5 FILES in [hdr/resampled] This folder contains the uncompressed, angular resampled BTF reflectance data. The resampled data is spatially parameterized over the texture coordinates of the surface given .obj.zip. The reflectance at every texels is given in polar coordinates in the local hemisphere over the object's surface, which is defined by the interpolated vertex normal and vertex tangents. In our case the first tangent is the vector orthogonal to the normal that is aligned to the U-axis of the texture coordinates. The data is structured in high dynamic range EXR images, each containing all texels for a given view-direction (THETA-VIEW, PHI-VIEW) and light direction (, ) in the layout of the texture coordinates: tv_pv_tl_pl.exr 3. STRUCTURED LIGHT PATTERNS The patterns are generated by the following rules: even numbers: inverse image of previous odd number 1: completely white 3,5,...,21: horizontal graycode sequence for 2^10 bits 23,25,...,39: vertical graycode sqeuence for 2^9 bits Graycodes are _centered_ and cut off at the borders to fit into resolution. For more information, please refer to "A Multi-Camera, Multi-Projector Super-Resolution Framework for Structured Light", Weinmann et al., 3DIMPVT 2011 4. CALIBRATION 4.1 CALIBRATION XML The calibration XML is structured in the following tree: (Tags are marked by "-", attributes by "*") - * zoom: the zoom-setting of the cameras used during measurement - : self explanatory meta-information - - * theta, phi: idealized angles of the camera's position in polar coordinates * camera: camera-index of this camera - : legacy data. no purpose for these datasets - : legacy data. no purpose for these datasets - - * iso: iso-level setting of the camera - * c: number of the channel (R=0, G=1, B=2) * num_pvs: number of pivot points in this curve entries in this tag map measured pixel responses (0..255) to floating point energy values - - * iso: iso-level setting of the camera * R, G, B: relative correction factor of this CCD's response vs. the response curves - - * zoom: zoom-setting of the camera entries in this tag hold the intrinsic and extrinsic camera calibration in the following format per line: 1: 0 0 0 0 legacy data, no purpose for these datasets 2: 0 0 0 0 legacy data, no purpose for these datasets 3: OpenCV k11 k12 k13 "OpenCV" and first row of matrix K 4: k21 k22 k23 second row of calibration matrix K 5: k31 k32 k33 third row calibration matrix K 6: d1 d2 d3 d4 radial distortion coefficients d 7: t1 t2 t3 translation vector t 8: r1 r2 r3 rotation as rodrigues vector r K, d, t, and r correspond to the results obtained from the OpenCV function cvCalibrateCamera - - * camera: camera-index of the camera that discharged the calibrated flash light - * fq: flash-quantity setting of the camera * iso: iso-level setting of the camera * R, G, B: relative correction factor of this Flash's response vs. the response curves * wr, wg, wb: weight of correction factor 4.2 RADIOMETRIC CALIBRATION Images in [images/001/JPG] depict the full sampleholder, including four diffuse standard relfectance targets next to the object. The targets exhibit an albedo of 0.03, 0.1, 0.3 and 0.97, from darkest to brightest. Pixel values of these markers were used to compute the flash calibration in . The complete ratiometric calibration consists of response-curve, CCD-correction-factors and flash-correction factors. When combined, the correction is computed such that the energy reflected by a perfect lambertian reflector placed in a distance of 65 centimetres from the lightsource with normal pointing directly towards the lightsource is exactly 1. The high dynamic range .EXR files in the [hdr] folder are processed in accordance to this definition 4.3 GEOMETRIC CALIBRATION The geometric calibration given in the section of every camera describes a projection mapping from world coordinates in centimeters to pixels in a 4000x3000 images (i.e. the raw measurement image size). The flashs' position is not described explicitly but is instead considered relative to the cameras' centers of projection. Thus, in the position of the flash is given in camera coordinate system as follows: Flash window left, top, right, bottom: 0.946cm, 3.64cm, 3.15cm, 3.19cm Flash center X, Y: (left+right)/2, (top+bottom)/2 Flash center Z: 2.5cm (estimated) 4.4 LED GRID The images in [images//LEDCalib] show an LED grid with 11 x 11 LEDs, evenly spaced with a distance of 2.8cm in both directions. 5. RECONSTRUCTED GEOMETRY The provided triangle mesh geometry is obtained by employing the super-resolution method proposed in [2]. The vertex coordinates are calibrated and given in centimeters and in the same reference coordinate system as the cameras. 5.1 OBJ FILE FORMAT As there seems to be no definite standard for handling faces with per-vertex normals _and_ per-vertex texture coordinates, we need to clarify that we use the following order for the faces-definition: f v1/vt1/vn1 v2/vt2/vn2 v3/vt3/vn3 ... That means, for every vertex of the face we have a "/" seperated list with vertex ("v") index, vertex-texture-coordinate ("vt") index and vertex-normal ("vn") index -- in this particular order! This is in compliance with the definition available at http://en.wikipedia.org/wiki/Wavefront_.obj_file 6. RECONSTRUCTED BTF Please note that following the description in [1], the three color channels C1, C2, C3 in the compressed BTF files are *not* RGB values but C1 = ln( Y + 1e-5 ) C2 = U/( Y + 1e-5 ) C3 = V/( Y + 1e-5 ) in the YUV colour space. That is, C1 contains the natural logarithm of the luminance channel Y (with added epsilon) and C2 and C3 contain the luminance-normalized chrominance channels. Source code for loading the compressed BTF data into matlab and extracting RGB textures for fixed view- and light-directions can be dowloaded at the following URL: http://cg.cs.uni-bonn.de/fileadmin/Downloads/ReadDFMFBTF.zip 7. REFERENCES [1] "Integrated High-Quality Acquisition of Geometry and Appearance for Cultural Heritage", Christopher Schwartz, Michael Weinmann, Roland Ruiters and Reinhard Klein, 2011, Proceedings of the 12th International Symposium on Virtual Reality, Archeology and Cultural Heritage VAST 2011 [2] "A Multi-Camera, Multi-Projector Super-Resolution Framework for Structured Light", Michael Weinmann, Christopher Schwartz, Roland Ruiters and Reinhard Klein, 2011, Proceedings of the 3D Imaging, Modeling, Processing, Visualization and Transmission (3DIMPVT)