My question may sound easy, however, I have difficulty in creating an Hdf5 dataset from my 3d medical images that have been saved in nii
format for both images and manual segmentation (label files). My questions are:
- The blob shape in
pycaffe
isN*C*W*H
, is it different order in matcaffe? for example in pycaffe the data blob shape will be1*1*60*320*320
for a grayscale volume with width and height 320-by-320 and 60 slices. I tried to use aMatlab
code to create HDF5 dataset for the 3D data, and the order of blob inhdf5info
file is320*320*60*1*1
for bothdata
andlabel
. How should I change the orders in the Matlab code to be readable in Pycaffe? - Is there any python code for creating the hdf5 database for 3D data?
- if I create the hdf5 data in Matlab and use the list the pycaffe, will it raise issue?
Thanks