vnl_sparse_matrix IO

Hi,
I’d like to create a vnl_sparse_matrix and to write it down to disk. However, it does not seem possible. When including vnl/io/vnl_io_sparse_matrix.h, I get the following error

fatal error: ‘vsl/vsl_binary_io.h’ file not found

and this file is indeed not in the ITK tree. Do you confirm that it is indeed not possible to use vnl_io_sparse_matrix.h? Is there an existing solution to write a sparse matrix to disk?
Thanks in advance,
Simon

Hi Simon,

Since ITK does not ship all of VNL, this file is not available.

I am not aware of existing classes available in ITK that serialize
vnl_sparse_matrix.

HTH,
Matt

Hi,
Thanks for your answer. What about itk::SparseImage? Is there a dedicated file format to write it down to disk?
Simon

Not that I am aware of.