SZIP preprocessing

Hello,

I'm currently working on a custom filter for HDF5. I have my filter working
properly (compression and decompression)

I want to compare my compression ratios with the SZIP filter properly. I've
looked through the source files but I can't figure out if the SZIP filter
applies some kind of preprocessing before the actual compression stage. I
would like to apply the same preprocessing in case there is one.

Thank you!

···

--
View this message in context: http://hdf-forum.184993.n3.nabble.com/SZIP-preprocessing-tp3166505p3166505.html
Sent from the hdf-forum mailing list archive at Nabble.com.

Hi,

I managed to answer my own question I will write the answer here in case
anybody has the same question.

/

SZIP options are passed in an options mask, options_mask, as follows.
Option Description
(Mutually exclusive; select one.)
H5_SZIP_EC_OPTION_MASK Selects entropy coding method.
H5_SZIP_NN_OPTION_MASK Selects nearest neighbor coding method.
  
The following guidelines can be used in determining which option to select:

    The entropy coding method, the EC option specified by
H5_SZIP_EC_OPTION_MASK, is best suited for data that has been processed. The
EC method works best for small numbers.
    The nearest neighbor coding method, the NN option specified by
H5_SZIP_NN_OPTION_MASK, preprocesses the data then the applies EC method as
above.

Other factors may affect results, but the above criteria provides a good
starting point for optimizing data compression./

As specificied here:
http://www.hdfgroup.org/HDF5/doc/RM/RM_H5P.html#Property-SetSzip

Thanks for your time anyway.

marcialieec wrote:

···

Hello,

I'm currently working on a custom filter for HDF5. I have my filter
working properly (compression and decompression)

I want to compare my compression ratios with the SZIP filter properly.
I've looked through the source files but I can't figure out if the SZIP
filter applies some kind of preprocessing before the actual compression
stage. I would like to apply the same preprocessing in case there is one.

Thank you!

--
View this message in context: http://hdf-forum.184993.n3.nabble.com/SZIP-preprocessing-tp3166505p3172328.html
Sent from the hdf-forum mailing list archive at Nabble.com.