AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
October 07, 2009 10:26AM
> Could you please elaborate? By a new compressor, do you mean code to be integrated with AFNI that specifies how sparse masks are loaded and saved?

To my understanding, the way compression works in afni is that for each compression type an external program is execute to compress and expand the BRIK. i.e. "gzip", "bzip2", or "compress" are executed. I believe these are executed "pipe-style" and compressed/uncompressed data is feed to stdin and converted data is read from stdout.

For reading of sparse data as a compressed form I think all you would need is a program that reads the sparse data on stdin and writes non-sparse data on stdout.

Now, I could have sworn I saw an environment variable or something to specify a shell command to use as a compressor, but I can't find it in README.compression or README.environment so I'm beginning to think I hallucinated it.

In any case, I've realized there's a problem with writing the data, namely that that the dimensions of the BRIK aren't stored in the BRIK itself, so you couldn't create a sparse form without somehow getting additional data from the HEAD. So I'm less certain that writing of compressed data wouldn't work. But maybe afni could do something like add the dimensions to the environment then it would be up to the compressor to either care or not care.
Subject Author Posted

Support for multiple sparse volume masks?

Nick October 06, 2009 08:37AM

Re: Support for multiple sparse volume masks?

bob cox October 06, 2009 10:33AM

Re: Support for multiple sparse volume masks?

Nick Oosterhof October 06, 2009 11:49AM

Re: Support for multiple sparse volume masks?

Judd October 06, 2009 04:00PM

Re: Support for multiple sparse volume masks?

Nick Oosterhof October 07, 2009 07:33AM

Re: Support for multiple sparse volume masks?

Judd October 07, 2009 10:26AM

Re: Support for multiple sparse volume masks?

Daniel Glen October 07, 2009 12:04PM

Re: Support for multiple sparse volume masks?

Nick Oosterhof October 07, 2009 01:25PM

Re: Support for multiple sparse volume masks?

bob cox October 07, 2009 03:12PM

Re: Support for multiple sparse volume masks?

Nick Oosterhof October 07, 2009 03:49PM

Re: Support for multiple sparse volume masks?

Nick October 07, 2009 10:03PM

Re: Support for multiple sparse volume masks?

Judd October 08, 2009 11:58AM

Re: Support for multiple sparse volume masks?

Judd October 08, 2009 12:06PM

Re: Support for multiple sparse volume masks?

Nick Oosterhof October 08, 2009 01:07PM

Re: Support for multiple sparse volume masks?

Nick Oosterhof October 08, 2009 01:06PM

Re: Support for multiple sparse volume masks?

Judd October 08, 2009 01:44PM

Re: Support for multiple sparse volume masks?

Nick Oosterhof October 08, 2009 03:42PM

Re: Support for multiple sparse volume masks?

Judd October 08, 2009 04:39PM

Re: Support for multiple sparse volume masks?

Nick Oosterhof October 09, 2009 12:34PM

Re: Support for multiple sparse volume masks?

bob cox October 06, 2009 04:02PM

Re: Support for multiple sparse volume masks?

Nick Oosterhof October 07, 2009 07:47AM

Re: Support for multiple sparse volume masks?

Judd October 06, 2009 01:25PM

Re: Support for multiple sparse volume masks?

Nick Oosterhof October 06, 2009 01:49PM

Re: Support for multiple sparse volume masks?

Rasmus Birn October 06, 2009 04:13PM

Re: Support for multiple sparse volume masks?

Nick Oosterhof October 07, 2009 07:37AM