I just ran it on Mac and it seems the hdf5 library triggers a set of problems. It starts with a series of HDF objects not found. My guess is that it's a version problem with HDF, but I'm not sure which version of HDF5 to use. Thank you!
I attach the error information, the h5 file is the bedroom.h5 file from Heidelburg:
It's because the input data format is not compatible. The code to read data is for a certain dataset. If other datasets are needed, someone needs to update the part of code to load data.
I just ran it on Mac and it seems the hdf5 library triggers a set of problems. It starts with a series of HDF objects not found. My guess is that it's a version problem with HDF, but I'm not sure which version of HDF5 to use. Thank you!
I attach the error information, the h5 file is the bedroom.h5 file from Heidelburg:
dhcp-10-132-199-187:initialEstimation apple$ ./initial_estimation bedroom mkdir: ../data/initial_results/bedroom: File exists opening hdf5 container:../data/input/bedroom.h5 container opened successfully. HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 0:
000: H5D.c line 358 in H5Dopen2(): not found
001: H5Gloc.c line 430 in H5G_loc_find(): can't find object
002: H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
003: H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
004: H5Gloc.c line 385 in H5G_loc_find_cb(): object 'LF' doesn't exist
failed to get resolution info. HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 0:
000: H5D.c line 358 in H5Dopen2(): not found
001: H5Gloc.c line 430 in H5G_loc_find(): can't find object
002: H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
003: H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
004: H5Gloc.c line 385 in H5G_loc_find_cb(): object 'LF' doesn't exist
data set 'LF' opened. HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 0:
000: H5D.c line 358 in H5Dopen2(): not found
001: H5Gloc.c line 430 in H5G_loc_find(): can't find object
002: H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
003: H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
004: H5Gloc.c line 385 in H5G_loc_find_cb(): object 'LF' doesn't exist
light field data set 'LF' is not 4 or 5-dimensional. LF data loading failed! 0 HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 0:
000: H5D.c line 358 in H5Dopen2(): not found
001: H5Gloc.c line 430 in H5G_loc_find(): can't find object
002: H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
003: H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
004: H5Gloc.c line 385 in H5G_loc_find_cb(): object 'DEPTHS' doesn't exist
HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 0:
000: H5D.c line 358 in H5Dopen2(): not found
001: H5Gloc.c line 430 in H5G_loc_find(): can't find object
002: H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
003: H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
004: H5Gloc.c line 385 in H5G_loc_find_cb(): object 'DEPTHT' doesn't exist
HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 0:
000: H5D.c line 358 in H5Dopen2(): not found
001: H5Gloc.c line 430 in H5G_loc_find(): can't find object
002: H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
003: H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
004: H5Gloc.c line 385 in H5G_loc_find_cb(): object 'COHS' doesn't exist
HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 0:
000: H5D.c line 358 in H5Dopen2(): not found
001: H5Gloc.c line 430 in H5G_loc_find(): can't find object
002: H5Gtraverse.c line 861 in H5G_traverse(): internal path traversal failed
003: H5Gtraverse.c line 641 in H5G_traverse_real(): traversal operator failed
004: H5Gloc.c line 385 in H5G_loc_find_cb(): object 'COHT' doesn't exist
Assertion failed: ((!m_imgDepthS.empty()) && (!m_imgDepthT.empty()) && (!m_imgCohS.empty()) && (!m_imgCohT.empty())), function reviseCoh, file lightfield.cpp, line 466. Abort trap: 6