Daniele Picone commited on
Commit
9976b06
·
1 Parent(s): a39aaf9

Added dataset

Browse files
.gitattributes CHANGED
@@ -57,3 +57,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
60
+ *.exr filter=lfs diff=lfs merge=lfs -text
61
+ *.mexw64 filter=lfs diff=lfs merge=lfs -text
62
+ *.mexmaci64 filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,44 @@
1
  ---
2
  license: unknown
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: unknown
3
  ---
4
+
5
+ # Description
6
+
7
+ The `exr` folder contains a high-resolution dataset, consisting of 30 hyperspectral images covering a wide spectral range.
8
+ The acquisitions have 31 channels in the range 420-720 nm, with a separation of 10 nm.
9
+
10
+ # Capture setup
11
+ - Camera: Pointgrey Grasshopper 9.1MP Monochromatic (GS3-U3-91S6M-C)
12
+ - Lens: Jenoptik UV-VIS-IR 60mm f/4 apochromatic lens
13
+ - Filters: Liquid Crystal Tunable Filters (VariSpec VIS 400-720)
14
+ - Light Source: Xenon Illumination (Thorlab HPLS-30-4)
15
+
16
+
17
+ # How to read the files
18
+
19
+ An example MATLAB code for reading a hyperspectral EXR file is given in
20
+ `example.m` under `code`.
21
+ For `exrreadchannels`, you can refer to the GitHub repository:
22
+ <https://github.com/KAIST-VCLAB/openexr-matlab>
23
+
24
+ # Credits
25
+
26
+ The dataset was originally collected from:
27
+ <http://vclab.kaist.ac.kr/siggraphasia2017p1/kaistdataset.html>
28
+
29
+ If you use this dataset, please cite:
30
+ ```bibtex
31
+ @Article{DeepCASSI:SIGA:2017,
32
+ author = {Inchang Choi and Daniel S. Jeon and Giljoo Nam
33
+ and Diego Gutierrez and Min H. Kim},
34
+ title = {High-Quality Hyperspectral Reconstruction
35
+ Using a Spectral Prior},
36
+ journal = {ACM Transactions on Graphics (Proc. SIGGRAPH Asia 2017)},
37
+ year = {2017},
38
+ volume = {36},
39
+ number = {6},
40
+ pages = {218:1-13},
41
+ doi = "10.1145/3130800.3130810",
42
+ url = "http://dx.doi.org/10.1145/3130800.3130810",
43
+ }
44
+ ```
code/example.m ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %% Example code for reading hyperspectral image from EXR file
2
+ % input: .exr file
3
+ % Output: RGB, HSI
4
+ % - RGB: linear sRGB image (nrows x ncols x 3)
5
+ % - HSI: hyperspectral image (nrows x ncols x 31)
6
+
7
+ %%
8
+ % file to read
9
+ fn = '../exr/scene01_reflectance.exr';
10
+
11
+ % read exr file
12
+ % please refer to 'openexr-matlab' github repository for 'exrreadchannels'
13
+ % https://github.com/KAIST-VCLAB/openexr-matlab
14
+ mapObj = exrreadchannels(fn);
15
+
16
+ % get linear sRGB image (RGB)
17
+ RGB(:,:,1) = mapObj('R');
18
+ RGB(:,:,2) = mapObj('G');
19
+ RGB(:,:,3) = mapObj('B');
20
+
21
+ % get hyperspectral image (HSI)
22
+ wvls2b = 420:10:720;
23
+ for i=1:length(wvls2b)
24
+ HSI(:,:,i) = mapObj(sprintf('w%dnm', wvls2b(i)));
25
+ end
26
+
code/exrreadchannels.m ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ function exrreadchannels( filename )
2
+ %EXRREADCHANNELS Read the raw channel data of an OpenEXR image.
3
+ % M = EXRREADCHANNELS(FILENAME) reads all the channels of the OpenEXR
4
+ % file and returns a containers.Map object on which the keys are
5
+ % strings with the channel names and the values are the actual
6
+ % channel data.
7
+ %
8
+ % M = EXRREADCHANNELS(FILENAME,C1,C2,...) reads only the channels named
9
+ % by the strings C1,C2,...,Cn. Also returns a containers.Map object.
10
+ % Note that if there is only a single channel the result is just a
11
+ % matrix with the value of the channel.
12
+ %
13
+ % M = EXRREADCHANNELS(FILENAME, CARRAY) behaves as above, but it
14
+ % receives a cell array with the names of the desired channels.
15
+ %
16
+ % [M1,...] = EXRREADCHANNELS(FILENAME,C1,...) reads the channels
17
+ % specified by the strings C1,C2,...,Cn and stores the channel data in
18
+ % the corresponding matrices M1,M2,...,Mn.
19
+ %
20
+ % [M1,...] = EXRREADCHANNELS(FILENAME, CARRAY) behaves as above, but it
21
+ % receives a cell array with the names of the desired channels.
22
+ %
23
+ % For all these methods it is an error to request a channel which does
24
+ % not exist. Use EXRINFO to get a list of the channels available for
25
+ % a given file.
26
+ %
27
+ % Note: this implementation uses the ILM IlmImf library version 1.7.
28
+ %
29
+ % See also CONTAINERS.MAP,EXRINFO,EXRREAD,TONEMAP
30
+
31
+ % Edgar Velazquez-Armendariz (eva5@cs.cornell.edu)
32
+ %
33
+ % (The help system uses this file, but actually doing something with it
34
+ % will employ the mex file).
code/exrreadchannels.mexmaci64 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0a2fa87240c7714f1e3535238605381bb840880d7357c4a04fd18e3455f7fa0
3
+ size 20752
code/exrreadchannels.mexw64 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0c65e48e3d9c36ef90202361374741149b0927c915a09f5abbaf09ac3b71865
3
+ size 840704
exr/scene01_reflectance.exr ADDED

Git LFS Details

  • SHA256: a20457f2bd8965ebe48250fd7bae6b26dea120adf2746c70492c5a7e70e4b37f
  • Pointer size: 134 Bytes
  • Size of remote file: 288 MB
exr/scene02_reflectance.exr ADDED

Git LFS Details

  • SHA256: 74a4ab4fdbcb9d7f0690265dacc8ce964179df725ae065a869bf6fb9398e9c5a
  • Pointer size: 134 Bytes
  • Size of remote file: 302 MB
exr/scene03_reflectance.exr ADDED

Git LFS Details

  • SHA256: e2f2b3e7a6185ba48f4b9ea043b4695852c6e28ec5fe8c6de9e95cc256750267
  • Pointer size: 134 Bytes
  • Size of remote file: 327 MB
exr/scene04_reflectance.exr ADDED

Git LFS Details

  • SHA256: 14f54daa1402c0ef21901d5e4f9afdae763669e66b10b0ae5f3549b83acf0f26
  • Pointer size: 134 Bytes
  • Size of remote file: 273 MB
exr/scene05_reflectance.exr ADDED

Git LFS Details

  • SHA256: f9747dff4b8c71802f6cdf65398caef8c015cae9c6b55d0e5c5a223c025345b3
  • Pointer size: 134 Bytes
  • Size of remote file: 278 MB
exr/scene06_reflectance.exr ADDED

Git LFS Details

  • SHA256: 86582d35c30671e1debb2d0e33196c872e3293f36b18610719c252c013c62924
  • Pointer size: 134 Bytes
  • Size of remote file: 279 MB
exr/scene07_reflectance.exr ADDED

Git LFS Details

  • SHA256: 1993a46132844c12f69836cae2f0cbd082002e5c989531f037271e8595ea49e8
  • Pointer size: 134 Bytes
  • Size of remote file: 278 MB
exr/scene08_reflectance.exr ADDED

Git LFS Details

  • SHA256: 973b5deb7038b3f0581db7e39d6b445e8b6400702a10d49ba103599fb37f91da
  • Pointer size: 134 Bytes
  • Size of remote file: 271 MB
exr/scene09_reflectance.exr ADDED

Git LFS Details

  • SHA256: 5e1de04bf7d3087763180d646ad9b099fb674e165f9d31f798b36ee7d8a5ce91
  • Pointer size: 134 Bytes
  • Size of remote file: 281 MB
exr/scene10_reflectance.exr ADDED

Git LFS Details

  • SHA256: 7fb1c21869da67aa21e2a6dfd81bee5b8ae17c859123943ad8e25a70160cac59
  • Pointer size: 134 Bytes
  • Size of remote file: 276 MB
exr/scene11_reflectance.exr ADDED

Git LFS Details

  • SHA256: bbe89e7ec1981f25b1f071f7ef1ae4998f35744cf98548e160c22af7921e9836
  • Pointer size: 134 Bytes
  • Size of remote file: 278 MB
exr/scene12_reflectance.exr ADDED

Git LFS Details

  • SHA256: 1438edaa5767c9022b6f826874c70235463ed6ec165b8132f006d67da3e5f392
  • Pointer size: 134 Bytes
  • Size of remote file: 274 MB
exr/scene13_reflectance.exr ADDED

Git LFS Details

  • SHA256: 799c23c41b61b4130e57b3323f85ded327888843a243c2c0985c08f5a68aa7cc
  • Pointer size: 134 Bytes
  • Size of remote file: 271 MB
exr/scene14_reflectance.exr ADDED

Git LFS Details

  • SHA256: fea732f573f9e0721408f001172924513322212dbaa897cd709bf57f1789c94a
  • Pointer size: 134 Bytes
  • Size of remote file: 296 MB
exr/scene15_reflectance.exr ADDED

Git LFS Details

  • SHA256: 5d73774b90e7164fc903728e7426c6149ce7f67aeead5cdc0a82bbc6498cf641
  • Pointer size: 134 Bytes
  • Size of remote file: 274 MB
exr/scene16_reflectance.exr ADDED

Git LFS Details

  • SHA256: e4bf8ca8341708701e44246be04d779fa01963b853438e4eaba5f137b5b02812
  • Pointer size: 134 Bytes
  • Size of remote file: 277 MB
exr/scene17_reflectance.exr ADDED

Git LFS Details

  • SHA256: 3f676b26403803f055cba30921ba3895271e9acff28cad9db84586e5f0913c69
  • Pointer size: 134 Bytes
  • Size of remote file: 297 MB
exr/scene18_reflectance.exr ADDED

Git LFS Details

  • SHA256: 2e2f96c3a7a12488a6615f38817774e7ad09985daf5fb53f6fff635b6a7fd616
  • Pointer size: 134 Bytes
  • Size of remote file: 281 MB
exr/scene19_reflectance.exr ADDED

Git LFS Details

  • SHA256: 6bdd483993217b4ffa7faf7edf34953673249314fa961660d0689c3171fb9043
  • Pointer size: 134 Bytes
  • Size of remote file: 292 MB
exr/scene20_reflectance.exr ADDED

Git LFS Details

  • SHA256: 426d47ac4208e23a2ef7314b4831c0a0b7001064a741c52f598eddaf35e3cbff
  • Pointer size: 134 Bytes
  • Size of remote file: 294 MB
exr/scene21_reflectance.exr ADDED

Git LFS Details

  • SHA256: d4b3422154f70424c9f1e97c03631c9f400eaddb676ad6e32c204d03d80afbdd
  • Pointer size: 134 Bytes
  • Size of remote file: 298 MB
exr/scene22_reflectance.exr ADDED

Git LFS Details

  • SHA256: 26bd0be5c8dcd8ad7825823f64a0f5615f471aa71eec204ff969412dd68ec2bb
  • Pointer size: 134 Bytes
  • Size of remote file: 307 MB
exr/scene23_reflectance.exr ADDED

Git LFS Details

  • SHA256: c940f9ac024dd0d25a93341b544399f29085544c29358b629916a41601cb82e0
  • Pointer size: 134 Bytes
  • Size of remote file: 302 MB
exr/scene24_reflectance.exr ADDED

Git LFS Details

  • SHA256: a34cb22e5b8b792e23d54ced711e61f018048ac2a425c7adc9e8cda360fb6d53
  • Pointer size: 134 Bytes
  • Size of remote file: 301 MB
exr/scene25_reflectance.exr ADDED

Git LFS Details

  • SHA256: 0f1bfc01234a61c9977aae3cbc47f7b5681070d4f0509f6b38425199fe6b5c8b
  • Pointer size: 134 Bytes
  • Size of remote file: 294 MB
exr/scene26_reflectance.exr ADDED

Git LFS Details

  • SHA256: 11eecf347aedb6a51ca6c0424359a755821643575dd140813d282f7bebcc5c2a
  • Pointer size: 134 Bytes
  • Size of remote file: 307 MB
exr/scene27_reflectance.exr ADDED

Git LFS Details

  • SHA256: 13a5e6d0678a7518be3a5ff649122284350a84437139d4d8bf8a24da29728915
  • Pointer size: 134 Bytes
  • Size of remote file: 288 MB
exr/scene28_reflectance.exr ADDED

Git LFS Details

  • SHA256: 840cba5bf625f82d914246291f1cf9809fdb9b72a4914951bf4e0fd10fda6873
  • Pointer size: 134 Bytes
  • Size of remote file: 316 MB
exr/scene29_reflectance.exr ADDED

Git LFS Details

  • SHA256: a0e055fed5c2b5c3d44aca8b42c58ac63d0adc0bc6a40fa96a9653dfeb398370
  • Pointer size: 134 Bytes
  • Size of remote file: 284 MB
exr/scene30_reflectance.exr ADDED

Git LFS Details

  • SHA256: 8d6f4cbc07533db668ddacd438c2f05779ab738d25c924b69d2e410734f9810c
  • Pointer size: 134 Bytes
  • Size of remote file: 284 MB