Decompress binary image files
Mostrar comentarios más antiguos
I have set of binary files each of which is compressed. Each file is a matrix of size 1024*768, uint32.The file is in specific format called hnd files. I would like to know whether Matlab could be of any help to me. AS such I cannot open the file in Matlab as it is compressed. But should be open once it is decompressed using ‘fopen’. Your help is much appreciated.
2 comentarios
Walter Roberson
el 9 de Ag. de 2012
"Hallo Northern Sky" ?
Kavitha Srinivasan
el 10 de Ag. de 2012
Respuesta aceptada
Más respuestas (1)
Walter Roberson
el 10 de Ag. de 2012
0 votos
2 comentarios
Kavitha Srinivasan
el 10 de Ag. de 2012
Walter Roberson
el 10 de Ag. de 2012
The Varian hnd file format appears to be specific to Varian, and the compression algorithm is not one I have seen anywhere else. You are not likely to find any pre-written MATLAB routine to do the work. It is possible to write a MATLAB routine to handle it, but easier would likely be to use the existing C++ plastimatch routines from http://forge.abcd.harvard.edu/gf/project/plastimatch/scmsvn/?action=browse&path=%2Fplastimatch%2Ftrunk%2Fsrc%2Fplastimatch%2Fbase%2Fhnd_io.cxx&revision=3395&view=markup&pathrev=3395 . Plastimatch is open source.
Categorías
Más información sobre Image Data en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!