Ivo Dinov
UCLA Statistics, Neurology, LONI
, UCLA Statistics
Courses SOCR Ivo Dinov's Home
SiteMap Software Contact


Statistics 130D
Winter 2004

Statistical Programming, Computation, and Visualization in C/C++

Homework 3
Due Date: Fri., Mar. 12, 2004

Please, submit your homework right before lecture on the due date. See the HW submission rules. On the front page include the following header.


Again the user specifies the number of dimensions, each dimension size and the I/O file names on the command line at execution time. As before, we need to provide a working packaging makefile or a run.bat BAT file that allows compiling and testing/running the code. Skeleton of this type of package is available in this ZIP file.

One sample dataset we can use is included in the zip file, however, we should also test the algorithms and implementations using the 2 3D volumes we have in the data folder of the HW_2 ZIP file (one isotropic and one non-isotropic volumes). Here is an example of how to require, read and process the input arguments in a well designed code using flags (compile and test run the source code in this ZIP file). We should always try to follow this programming practice as it makes the run-time execution of your source code much more flexible and less error proned. I have also zipped a set of 1D, 2D and 3D data in this ZIP file, read the README file for a complete description of the data, formats, how to view it, etc.  Here is a revised version of the skeleton package that separates the CPP_Interface from the actual CPP_Filter. The latter one may be precompiled or build by someone else. The former one just provides an independent interface between the Java-JNI and the CPP filter.

Ivo Dinov's Home
http://www.stat.ucla.edu/~dinov
Visitor number, since Jan. 01, 2002
© I.D.Dinov 1997-2004
Last modified on by