To accomodate some data sets in which the resolution in the z-direction (in the direction of increasing slice number) is not equal to the within-slice resolution, provision is make for producing a new data set in which contiguous sets of n slices are merged into 1, producing a new data set having 1/n of the number of slice in the original set.
Input Data Options special purpose data requiring pre-processing (0) tomographic data (1) segmented data (2) burn data (3) medial axis data (4) throat data (5) Enter choice: 1
Data Processing Options plot image (1) plot slice histograms (2) resize tomographic data (3) generate circular fiducial polygon (4) segment data (5) porosity/cut_off dependence (6) investigate dfn K values (7) investigate dfn threshold values (8) |grad image| histogram (9) compress data in z direction (10) Enter choice: 10
Tomographic data slices are contained in separate files (slc) a single file (vol) Enter file type (slc,vol): slc
Recognized tomographic data file types are ascii integer array ( ai) binary integer array ( bi) swapped binary integer array ( sbi) binary short integer array ( bs) swapped binary short array ( sbs) binary unsigned char array ( ubc) netcdf files ( nc) netcdf ascii files ( na) Kimberly Clark data ( kc) punch ascii files ( pa) sun rasterfile ( 8-bit color) ( sr8) sun rasterfile (24-bit color) (sr24) Enter data type (ai,bi,sbi,bs,sbs,ubc,nc,na,kc,pa,sr8,sr24): bi
Files assumed to be labelled basename.ext, basename is limited to 255 characters maximum, ext is a numerical designator lying between 000 and 999 It is assumed that the files have consecutively numbered extensions ie. 000 -> 056, or 021 -> 049
Enter basename for tomographic files: ../../Examples/data/qvb6c/qvb6c Are files compressed? [y,n]: y
Enter first and last slice of data to use: 1 8 Slice size of data, (nx,ny): 384 256
Enter basename for pressed files: ./qvb6c_press3_tom Are files to be compressed? [y,n]: y
Enter number of slices to press in z direction: 3