sha256 stringlengths 64 64 | language stringclasses 25
values | size int32 1 210k | lines int32 1 9.41k | content stringlengths 1 200k |
|---|---|---|---|---|
eda1d96c977ab085d198f61df400f2b94e7199588f020c9f0f46ddd0c5bd5c06 | C | 6,190 | 229 | /*
Copyright (C) 1993, 1994, RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993, 1994 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
... |
f280bd7ae77a40210275982b9c2d6e6dc178b8c48a40d40f93e5697d523d92cc | C | 6,247 | 223 | /*$Header: /data/petsun4/data1/src_solaris/algebra_4dfp/RCS/spatial_corr_4dfp.c,v 1.3 2012/06/07 23:01:13 avi Exp $*/
/*$Log: spatial_corr_4dfp.c,v $
* Revision 1.3 2012/06/07 23:01:13 avi
* option -M
*
* Revision 1.2 2010/05/03 21:08:27 avi
* correct usage; option -c
*
* Revision 1.1 2010/03/17 20:31:44... |
4432cdfd956cdf2c162e759c08c1aa76efc1996acaf701aa039f9ce919aafcb0 | C | 6,296 | 158 | /* 2003.05.07 - module to do Parzen Intensity Inhomogeneity Correction (PIIC).*/
/*$Header: /data/petsun4/data1/src_solaris/nonlin/RCS/piic.c,v 1.5 2004/11/03 20:48:19 rsachs Exp $*/
/*$Log: piic.c,v $
* Revision 1.5 2004/11/03 20:48:19 rsachs
* Aesthetics.
*
* Revision 1.4 2004/10/28 21:57:27 rsachs
* Remov... |
67325d01979edf27b1b3df6990fc0d633524fa5d38e09657adbf482def5ab56e | C | 6,466 | 215 | /*$Header: /data/petsun4/data1/src_solaris/algebra_4dfp/RCS/spatial_cov_multivol_4dfp.c,v 1.2 2010/07/08 04:07:30 avi Exp $*/
/*$Log*/
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h> /* R_OK */
#include <string.h>
#include <ctype.h>
#include <math.h>
#include <float.h>
#ifndef _FEATURES_H /* defined by ma... |
be4fda3730998573184a3588d3b01be7ea6839477bd7b4af46681566311b0d65 | C | 6,760 | 221 | /*$Header: /data/petsun4/data1/src_solaris/imglin/RCS/imgsurf_4dfp.c,v 1.4 2010/08/11 07:20:39 avi Exp $*/
/*$Log: imgsurf_4dfp.c,v $
* Revision 1.4 2010/08/11 07:20:39 avi
* eliminate NPTMAX limit on number of input points
*
* Revision 1.3 2009/08/09 05:46:14 avi
* make output more useful for ECoG analysis
... |
db0a8fdf9c80aa54a88ed19693ded9e00bd3bcab9aa338731dec7aae4adb88e0 | C | 6,760 | 165 | /*
Copyright (C) 1993, 1994, RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993, 1994 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
... |
e7a3b5793593671e87cd71c3b8682cb941f10e9e986a911ce0d5c6c6f802e9a2 | C | 6,775 | 169 | /*
Copyright (C) 1993, 1994, RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993, 1994 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
... |
7a5a8bb6e36c915fae595bfee8716445ed2bf9d8f061f9d9e7b225af1fd3b8c6 | C | 6,924 | 212 | /*$Header: /data/petsun4/data1/src_solaris/var_4dfp/RCS/dvar_4dfp.c,v 1.3 2008/02/01 06:25:47 avi Exp $*/
/*$Log: dvar_4dfp.c,v $
* Revision 1.3 2008/02/01 06:25:47 avi
* output frame-by-frame listing to a file
*
* Revision 1.2 2008/02/01 04:17:10 avi
* linux and Solaris 10 compliant
* options -m and s
* c... |
375adef94923860cff0619d886e2ca0c4a0c3971c16562a4d152e52bc01c844d | C | 7,028 | 227 | /*$Header: /data/petsun4/data1/src_solaris/ecat/RCS/ecatto4dfp.c,v 1.6 2011/08/31 16:24:35 larsc Exp $*/
/*$Log: ecatto4dfp.c,v $
* Revision 1.6 2011/08/31 16:24:35 larsc
* Changed Start column in rec file to Midpoint and added Ecat_Frame. Eliminated frame factor stout.
*
* Revision 1.5 2011/07/08 17:21:01 la... |
ef4582042e0cd74a3981b4ba0f15f64aee6ec180bbef92384873b63593813e67 | C | 7,056 | 173 | /*$Header: /data/petsun4/data1/src_solaris/dcm_dump_file/RCS/dcmcond.c,v 1.2 2012/12/05 01:46:04 avi Exp $*/
/*$Log: dcmcond.c,v $
* Revision 1.2 2012/12/05 01:46:04 avi
* type definition to suppress compile warnings
*
* Revision 1.1 2012/12/04 04:08:25 avi
* Initial revision
**/
/*
Copyright (C) ... |
89f66fb5808973f7199c80533aba7f9657750c5334d19190d976605b26e1f542 | C | 7,157 | 232 | /*$Header: /data/petsun4/data1/src_solaris/sqrt_4dfp/RCS/t2z_4dfp.c,v 1.8 2009/01/14 03:34:32 avi Exp $*/
/*$Log: t2z_4dfp.c,v $
* Revision 1.8 2009/01/14 03:34:32 avi
* enable multi-volume operation
*
* Revision 1.7 2008/03/14 03:47:56 avi
* linux compliant
*
* Revision 1.6 2006/09/25 00:42:25 avi
* v... |
3105ca19048e41b17f52cd94c529d113222542ea3df44fb7cdf3839e26f8efe6 | C | 7,292 | 229 | /*$Header: /data/petsun4/data1/src_solaris/scale_4dfp/RCS/scale_4dfp.c,v 1.14 2007/07/05 05:01:52 avi Exp $*/
/*$Log: scale_4dfp.c,v $
* Revision 1.14 2007/07/05 05:01:52 avi
* startrec() -> startrece()
*
* Revision 1.13 2006/09/29 23:36:57 avi
* Solaris 10
*
* Revision 1.12 2004/09/23 20:58:31 rsachs
... |
38ba6b5a1923006c55eac149ec15e8b112eed8a1e71f9fc56018c86e6d5e6520 | C | 7,298 | 265 | /*$Header*/
/*$Log: t4_opr.c,v $
* Revision 1.1 2010/02/19 02:06:06 avi
* Initial revision
**/
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <math.h>
#include <float.h>
#include <string.h>
#include <ctype.h>
#include <librms.h>
#include <t4_io.h>
#define MAXL 256 /* maximum string length *... |
b7789d9e8ae548a5e058b3a93303a4e5a756f4e01988a18463adb5b2d6889c1c | C | 7,459 | 273 | /*$Header: /data/petsun4/data1/src_solaris/dcm_dump_file/RCS/dcm_dump_file.c,v 1.2 2012/12/05 01:45:24 avi Exp $*/
/*$Log: dcm_dump_file.c,v $
* Revision 1.2 2012/12/05 01:45:24 avi
* new-style main to suppress compile warnings
*
* Revision 1.1 2012/12/04 04:05:53 avi
* Initial revision
**/
/*
Cop... |
a2906d0c7ac182bc6bc6d4a4620e4336d85dd5f725e3f8c71d74a57707b98535 | C | 7,557 | 230 | /*$Header: /data/petsun4/data1/src_solaris/reindex_4dfp/RCS/reindex_4dfp.c,v 1.7 2010/03/31 01:33:21 avi Exp $*/
/*$Log: reindex_4dfp.c,v $
* Revision 1.7 2010/03/31 01:33:21 avi
* remove mmppix and center from output ifh
*
* Revision 1.6 2007/08/16 04:15:15 avi
* index rotration
* ifh includes mmppix and c... |
ac5b964dd868bee84bce0036c7cb577b12ed9de553c45f39bb8c109b557c7404 | C | 7,595 | 241 | /*$Header: /data/petsun4/data1/src_solaris/qnt_4dfp/RCS/qntw_4dfp.c,v 1.1 2011/04/18 07:25:23 avi Exp $*/
/*$Log: qntw_4dfp.c,v $
* Revision 1.1 2011/04/18 07:25:23 avi
* Initial revision
**/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include <float.h>
#includ... |
042100b256aa6ad2f9a0b43db1fa0deabcf38e11fa4199eb37088a770ed0765b | C | 7,609 | 276 | /*************************************************************************************/
/* Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 */
/* Washington University, Mallinckrodt Institute of Radiology. */
/* All Rights Reserved. ... |
c5aeab66097a6c0450f14ff4d7151eff20a636477d76558100dc8b0992898693 | C | 7,641 | 236 | /*$Header: /data/petsun4/data1/src_solaris/crop_4dfp/RCS/zero_slice_4dfp.c,v 1.2 2010/08/20 23:21:29 avi Exp $*/
/*$Log: zero_slice_4dfp.c,v $
* Revision 1.2 2010/08/20 23:21:29 avi
* restore correct operation also with previous (4 argument) usage
*
* Revision 1.1 2010/08/20 04:43:56 avi
* Initial revision
... |
8cb35f071731979b4567df7e6859c6368d019dede6f7f572318fc6652793d184 | C | 7,905 | 251 | /*$Header: /data/petsun4/data1/src_solaris/maskimg_4dfp/RCS/maskimg_4dfp.c,v 1.17 2012/06/27 22:33:19 avi Exp $*/
/*$Log: maskimg_4dfp.c,v $
* Revision 1.17 2012/06/27 22:33:19 avi
* MAXL->512 to accommodate long filenames
*
* Revision 1.16 2010/02/11 06:20:42 avi
* assign option -R to suppress vreation of r... |
680c1b9d66ce4c9e85447660fe2f39890d89bedf36e5454c5c028532b938dd4b | C | 8,168 | 237 | /*$Id: imgreg_4dfp.c,v 1.15 2007/08/10 03:27:30 avi Exp $*/
/*$Log: imgreg_4dfp.c,v $
* Revision 1.15 2007/08/10 03:27:30 avi
* eliminate f_init () and f_exit ()
*
* Revision 1.14 2007/05/04 01:39:42 avi
* quiet gcc -Wall
*
* Revision 1.13 2006/09/26 19:25:43 avi
* Solaris 10
*
* Revision 1.12 2004/... |
90261f58db6ba8387e46ebb9d37d79e655f03054e1be81d0c018be093882a109 | C | 8,277 | 382 | /*$Header: /home/usr/shimonyj/JSSutil/RCS/JSSstatistics.c,v 1.3 2008/12/31 01:42:25 shimonyj Exp $*/
/*$Log: JSSstatistics.c,v $
* Revision 1.3 2008/12/31 01:42:25 shimonyj
* Improve error output in gser
*
* Revision 1.2 2008/11/11 00:03:07 avi
* correct rcs header
*
* Revision 1.1 2008/11/11 00:00:45 a... |
f339403e3bf9fce3333ea059904e7c0927373545c0865b7a60e68a2a45f34cb0 | C | 8,429 | 263 | /*$Header: /data/petsun4/data1/src_solaris/gauss_4dfp/RCS/gauss_4dfp.c,v 1.16 2007/05/04 01:26:56 avi Exp $*/
/*$Log: gauss_4dfp.c,v $
* Revision 1.16 2007/05/04 01:26:56 avi
* keep gcc -Wall quiet
*
* Revision 1.15 2007/04/23 02:37:19 avi
* gcc v3 compliant (filter subroutines converted to C)
* remove f_in... |
e9d9455788dc0b80822350f824af6ad796350d9dea2aee2291dd681368170d3b | C | 8,456 | 331 | /*$Header: /data/petsun4/data1/src_solaris/librms/RCS/dsvdcmp0.c,v 1.5 2013/01/20 05:51:39 avi Exp $*/
/*$Log: dsvdcmp0.c,v $
* Revision 1.5 2013/01/20 05:51:39 avi
* reconstitution documentation
*
* Revision 1.4 2012/11/26 07:18:42 avi
* void dsvdsqrtinv ()
*
* Revision 1.3 2012/09/05 22:07:43 avi
* d... |
2a89a3bbc4f647553f64d52f90331277b025a957729ea21cbd5d1d6309a8eb31 | C | 8,745 | 268 | /*$Header: /data/petsun4/data1/src_solaris/4dfptoanalyze/RCS/4dfptoanalyze.c,v 1.26 2007/05/04 04:10:12 avi Exp $*/
/*$Log: 4dfptoanalyze.c,v $
* Revision 1.26 2007/05/04 04:10:12 avi
* quiet gcc -Wall
*
* Revision 1.25 2007/05/01 02:53:59 avi
* gcc v3 compliant (replace libsunmanth function nint() with C co... |
f32653fa34fc8f73a38cee7de6185f6be6894bfdc9033cc8a17f2fff5a82c6c6 | C | 8,807 | 260 | /* $Header: /data/petsun4/data1/src_solaris/interp_4dfp/RCS/interp_4dfp.c,v 1.12 2008/07/19 04:27:40 avi Exp $ */
/* $Log: interp_4dfp.c,v $
* Revision 1.12 2008/07/19 04:27:40 avi
* reorganize i/o so only one slice is in memory at any time
* allow TR_slice_in to be input as 0 (interpreted as evenly spaced slices... |
d65e03c95c9d6434e5d2f80127ba99682f2cfd9a32613aae567c461b5ec8e953 | C | 8,956 | 307 | /*$Header: /data/petsun4/data1/src_solaris/imato4dfp2/RCS/unpack_4dfp.c,v 1.10 2010/04/03 23:38:59 avi Exp $*/
/*$Log: unpack_4dfp.c,v $
* Revision 1.10 2010/04/03 23:38:59 avi
* option -x (squeeze)
* moderately extensive code rearrangement
*
* Revision 1.9 2009/08/22 03:20:50 avi
* accommodate non-mosaic i... |
3f37a513bc758915235f2af8465dcf1ec6978841538ebcddad8ca517728b18e8 | C | 8,986 | 392 | /* this is a simple implementation of a MLP with a single hidden layer,
this was written for a MLP as a classifier, but it will work with all kinds of data provided the outputs are normalized i.e. lie between [0,1]*/
#include<stdio.h>
#include<math.h>
#include<stdlib.h>
#include<time.h>
#define THRES 0.001
float **d... |
460aa16f5762de8a588396070e0ae153d10089c953cdc77efa64ae839651acef | C | 9,062 | 354 | /*$Header: /data/petsun4/data1/src_solaris/nifti_4dfp/RCS/transform.c,v 1.6 2012/09/08 01:08:17 avi Exp $*/
/*$Log: transform.c,v $
* Revision 1.6 2012/09/08 01:08:17 avi
* eliminate in-line type defining and, hence, requirement for gcc -std=c99
*
* Revision 1.5 2010/08/16 18:20:29 coalsont
* cast to 64bit i... |
223b9091dc9098f62dd8a65a24b0997f0daecf3083af3df5512dc30064dbe3ce | C | 9,134 | 284 | /*$Header: /data/petsun4/data1/src_solaris/algebra_4dfp/RCS/ROI_resolve_4dfp.c,v 1.5 2012/04/18 02:05:51 avi Exp $*/
/*$Log: ROI_resolve_4dfp.c,v $
* Revision 1.5 2012/04/18 02:05:51 avi
* MAXR -> 1000
*
* Revision 1.4 2009/10/12 04:14:49 avi
* correct rec code
*
* Revision 1.3 2009/09/08 23:50:08 avi
... |
0c4e956b13929cc556b4f8bf09523a2cea8517f76f93eeb534df8fe9c4d265b8 | C | 9,236 | 274 | /*$Header: /data/petsun4/data1/src_solaris/frame_align/RCS/frame_align_4dfp.c,v 1.23 2011/07/26 04:47:57 avi Exp $
$Log: frame_align_4dfp.c,v $
* Revision 1.23 2011/07/26 04:47:57 avi
* use new subroutine slice_sequence ()
* option -N enables Siemens slice sequence ordering
* default is non-reverse slice dire... |
978e30d3396996cc4b732291c3a415472c6c80d8786da3b022429e68cf7af031 | C | 9,417 | 300 | /*$Header: /data/petsun4/data1/src_solaris/imglin/RCS/t4_resolve.c,v 1.5 2009/09/09 05:53:14 avi Exp $*/
/*$Log: t4_resolve.c,v $
* Revision 1.5 2009/09/09 05:53:14 avi
* Solaris10/linux compliant
*
* Revision 1.4 2002/03/22 21:02:25 avi
* more stdout messages
*
* Revision 1.3 1999/10/18 04:58:23 avi
*... |
2a51d2b45f5baf0b7c54e310c46fedb6f5acb161246510fe23a4877b076bd9d6 | C | 9,522 | 309 | /*$Header: /data/petsun4/data1/src_solaris/paste_4dfp/RCS/paste_4dfp.c,v 1.9 2008/10/17 02:53:48 avi Exp $*/
/*$Log: paste_4dfp.c,v $
* Revision 1.9 2008/10/17 02:53:48 avi
* read number of frames to append as third field in input list
* allow mixed endian input stacks
*
* Revision 1.8 2007/08/10 22:26:07 av... |
9e9ee3c57733441354b13d776e9d8f14db9a0710d5edb6b6adc698641401516e | C | 9,683 | 300 | /*$Header: /data/petsun4/data1/src_solaris/rmspike_4dfp/RCS/rmspike_4dfp.c,v 2.14 2007/04/11 01:54:36 avi Exp $*/
/*$Log: rmspike_4dfp.c,v $
* Revision 2.14 2007/04/11 01:54:36 avi
* eliminate f_init() and f_exit() in preparatiion for linux port
*
* Revision 2.13 2006/09/27 20:36:44 avi
* Solaris 10
*
* Re... |
7895c1ee15407cfa025d122d2e03a42ddb671ff914c2838f3d6196850ef74bc7 | C | 9,827 | 325 | #include "mex.h"
#include <math.h>
#include "dg_chamfer.h"
/*
This is a modified version of mm_geodesic_voronoi.c where you can add
geometric constraints during the front propagation :
- increase distance to "jump" a sulcus
- impose a seed to be at a certain place
*/
#define MAGIC_NUMBER 1
/* --- GEODESIC VORONOI... |
39698f65073833c978c298fcd5f765fa72646541bae5afa1c41612c2937b2a4f | C | 9,857 | 309 | /*$Header: /data/petsun4/data1/src_solaris/qnt_4dfp/RCS/qntm_4dfp.c,v 1.8 2012/06/22 03:59:06 avi Exp $*/
/*$Log: qntm_4dfp.c,v $
* Revision 1.8 2012/06/22 03:59:06 avi
* option -h
*
* Revision 1.7 2010/11/30 04:46:00 avi
* trap empty ROI files
*
* Revision 1.6 2010/10/19 02:48:44 avi
* integerize code... |
19e8c84c949563ed6e3424d35d8fd03950c6f2e9515346929211c76be78fec95 | C | 10,104 | 460 | /*$Header: /home/usr/shimonyj/JSSutil/RCS/lin_algebra.c,v 1.4 2012/02/22 23:04:26 avi Exp $*/
/*$Log: lin_algebra.c,v $
* Revision 1.4 2012/02/22 23:04:26 avi
* trap errors in gaussj_flg();
*
* Revision 1.3 2008/11/10 23:43:24 shimonyj
* added gaussj_flg
*
* Revision 1.2 2007/08/28 03:52:58 avi
* remo... |
3e64d8c2340b29d466556dc5c1daf4e490cfa0643d37600fc12647f16aaa9032 | C | 10,104 | 340 | /*$Header: /data/petsun4/data1/src_solaris/actmapf_4dfp/RCS/covariance_analysis.c,v 1.4 2006/11/25 23:49:43 avi Exp $*/
/*$Log: covariance_analysis.c,v $
* Revision 1.4 2006/11/25 23:49:43 avi
* Solaris 10
*
* Revision 1.3 2005/12/12 06:47:59 avi
* obtain values nsub, mlag, nreg from input
* also output ACR... |
6247e8c3e527bce5241471b5ec224270bc75232d6b16908d50beb4f0d1063bc5 | C | 10,251 | 314 | /*$Header: /data/petsun4/data1/src_solaris/crop_4dfp/RCS/crop_4dfp.c,v 1.10 2010/11/12 05:54:27 avi Exp $*/
/*$Log: crop_4dfp.c,v $
* Revision 1.10 2010/11/12 05:54:27 avi
* correct call to errr -> errw in case of write failure
*
* Revision 1.9 2010/10/19 03:51:51 avi
* preseerve mmppix and center in output ... |
743bf9a155476d306a3753c4f10c1ed0dd8c6bc572dde7d3f741fc71f401a31e | C | 10,412 | 332 | /*$Header: /data/petsun4/data1/src_solaris/sum_pet_4dfp/RCS/sum_pet_4dfp.c,v 1.3 2013/06/25 13:52:04 jon Exp $*/
/*$Log: sum_pet_4dfp.c,v $
*Revision 1.3 2013/06/25 13:52:04 jon
*changed fopen to rb
*
* Revision 1.2 2011/09/15 14:30:19 jon
* More documentation added. Improved usage statement.
* Will now cal... |
704fe1a1430f3dd95fa6531940308c3b5b3b110f820717e927c141e0447e2119 | C | 10,703 | 346 | /*$Header: /data/petsun4/data1/src_solaris/algebra_4dfp/RCS/RFX_4dfp.c,v 1.2 2011/01/01 00:52:46 avi Exp $*/
/*$Log: RFX_4dfp.c,v $
* Revision 1.2 2011/01/01 00:52:46 avi
* better usage and cosmetics
*
* Revision 1.1 2010/12/31 07:26:32 avi
* Initial revision
**/
#include <stdlib.h>
#include <stdio.h>
#inc... |
2a8cbf3deb924f47573f7f3bc6b9372886fac00d3e916ec3e22875bb572c74de | C | 10,723 | 340 | /*$Header: /data/petsun4/data1/src_solaris/analyzeto4dfp/RCS/analyzeto4dfp.c,v 1.20 2009/03/18 04:00:25 avi Exp $*/
/*$Log: analyzeto4dfp.c,v $
* Revision 1.20 2009/03/18 04:00:25 avi
* imgl type long -> int (64 bin environment compatible)
*
* Revision 1.19 2008/05/08 23:52:33 avi
* force output ifh voxsiz p... |
b8572a63b9133617d9ce433a9a45990a3ea49b43c30b7297879a872a949ebd33 | C | 10,939 | 342 | /*$Header: /data/petsun4/data1/src_solaris/qnt_4dfp/RCS/qnt_4dfp.c,v 1.19 2010/05/07 03:12:23 avi Exp $*/
/*$Log: qnt_4dfp.c,v $
* Revision 1.19 2010/05/07 03:12:23 avi
* option -A
*
* Revision 1.18 2008/02/07 04:49:46 avi
* enable command buffer to hold long format strings
*
* Revision 1.17 2007/08/14 0... |
2f90a192d26cdb02060b01fe67f2ac001c5757013a3272c1b045b64db9a131b4 | C | 11,249 | 343 | /*$Header: /data/nil-bluearc/raichle/suy/cvsroot/src/endianio.c,v 1.1.1.1 2012/08/21 17:34:16 suy Exp $*/
/*$Log: endianio.c,v $
/*Revision 1.1.1.1 2012/08/21 17:34:16 suy
/*Imported sources
/*
* Revision 1.5 2007/08/04 23:43:05 avi
* eliminate redundant sprintf in get_4dfp_dimoe() and get_4dfp_dimoe_quiet()
*
... |
210b59e460205e4d04eb6ece34d2d07df444ce0d698e8c95d7c2dc40aa3fbc1a | C | 11,290 | 343 | /*$Header: /data/petsun4/data1/src_solaris/TRX/RCS/endianio.c,v 1.6 2011/04/09 00:15:28 avi Exp $*/
/*$Log: endianio.c,v $
* Revision 1.6 2011/04/09 00:15:28 avi
* filespc[MAXL] -> filespc[2*MAXL]
*
* Revision 1.5 2007/08/04 23:43:05 avi
* eliminate redundant sprintf in get_4dfp_dimoe() and get_4dfp_dimoe_qu... |
1cb43bff5aef896ecaefc1de40706fb73f0d667bc824d8e84126099676b05b60 | C | 11,470 | 336 | /*$Header: /home/usr/shimonyj/diff4dfp/RCS/whisker_4dfp.c,v 1.8 2008/09/16 02:54:57 avi Exp $*/
/*$Log: whisker_4dfp.c,v $
* Revision 1.8 2008/09/16 02:54:57 avi
* reorder thresh_flg and bvox_flg logic
*
* Revision 1.7 2008/09/16 02:26:31 avi
* linux and little endian compliant
* fimg_mode() -> fimg_modetn
... |
7e97cc778ea344e613c04580d2319b139b70fd8d47278f32003bd098e4c6cb4b | C | 11,497 | 347 | /*$Header: /data/petsun4/data1/src_solaris/peak_4dfp/RCS/burn_sphere_4dfp.c,v 1.13 2010/11/08 23:51:53 avi Exp $*/
/*$Log: burn_sphere_4dfp.c,v $
* Revision 1.13 2010/11/08 23:51:53 avi
* extend -s functionality to single voxels (orad <= 0)
*
* Revision 1.12 2010/11/02 23:41:39 avi
* option -s
*
* Revision... |
f01ad9052034f25bb0c8d88a372b04cfea6077543c6eb56c18abfd6fe3b43ad3 | C | 11,521 | 321 | /*$Id: deband_4dfp.c,v 1.13 2009/02/22 02:06:48 avi Exp $*/
/*$Log: deband_4dfp.c,v $
* Revision 1.13 2009/02/22 02:06:48 avi
* mask short -> int
*
* Revision 1.12 2006/09/27 22:18:01 avi
* Solaris 10
*
* Revision 1.11 2004/10/12 20:10:43 rsachs
* Removed 'writeifh' from this module. Replaced it with t... |
101e2f16b455601ba158d72a649ac6cb8239ef8021ad581f79fa0707f15a47ce | C | 11,535 | 381 | #include "mex.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <stdbool.h>
// 2-tuple struct for sorting paired values
struct Vec2 {
double x;
double y;
};
static int compareVec2(const void *ptr1, const void *ptr2) {
struct Vec2 tuple1 = *(struct Vec2 *) ptr1;
... |
746af5a7e438da684fdbaccbc6cf9704e41f7d79a640442ba7cc1eba088c5823 | C | 11,881 | 316 | /****************************************************************************************/
/* Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 */
/* Washington University, Mallinckrodt Institute of Radiology. */
/* All Rights Reserved. */
/* This software may not be reproduced, copied, ... |
d7dc55665edc427fcbe8a365d808003fdba74358ff6e560b35423971c9ddc2e6 | C | 12,045 | 317 | /****************************************************************************************/
/* Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, */
/* 2010, 2011 */
/* Washington University, Mallinckrodt Institute of Radiology. */
/* All Rights Reserved. */
/* T... |
2dc6e5f30c12f4ff811e938441eb9cfe9419ebda2f2ae0641409fd2c89a26cb9 | C | 12,096 | 340 | /*$Header: /data/petsun4/data1/src_solaris/cross_realign3d_4dfp/RCS/mat2dat.c,v 1.10 2010/02/10 06:59:09 avi Exp avi $*/
/*$Log: mat2dat.c,v $
* Revision 1.10 2010/02/10 06:59:09 avi
* options -f and -L
* differentiated output (*.ddat) slightly altered
* command line included in output
*
* Revision 1.9 2007/0... |
611195bdb47d921d9d9d6eb32e9362e0c1d7c60f64332d43b04fc864071ce6f8 | C | 12,434 | 323 | /*$Header: /data/petsun4/data1/src_solaris/actmapf_4dfp/RCS/conc.c,v 1.10 2011/04/12 22:21:08 avi Exp $*/
/*$Log: conc.c,v $
* Revision 1.10 2011/04/12 22:21:08 avi
* conc_seek() and better modularization of conc_open()
*
* Revision 1.9 2007/05/04 01:19:39 avi
* picky fixes to keep gcc -Wall quiet
*
* Revi... |
fdce5199351bfa9186196bee255d8c2c4903fb9c7cb0fa1bd8961bddd33cb91b | C | 12,620 | 361 | /*$Header: /data/petsun4/data1/src_solaris/mprtir/RCS/2Dhist.c,v 1.13 2007/08/08 23:21:55 avi Exp $*/
/*$Log: 2Dhist.c,v $
* Revision 1.13 2007/08/08 23:21:55 avi
* protect against zero binwidth (binwid1 and binwid2)
*
* Revision 1.12 2007/08/07 20:46:59 avi
* endian compliant
* separate imgo from img1
*
... |
167b6927609bea1d6d5ab8d3aea4d8f2fcc886044b87054057a1b03c69de2862 | C | 12,764 | 453 | /*$Header: /data/petsun4/data1/src_solaris/actmapf_4dfp/RCS/mat_algebra.c,v 1.4 2010/04/25 04:06:58 avi Exp $*/
/*$Log: mat_algebra.c,v $
* Revision 1.4 2010/04/25 04:06:58 avi
* options -J and -c
*
* Revision 1.3 2010/02/15 05:35:51 avi
* options -I and -m
*
* Revision 1.2 2009/12/01 05:32:40 avi
* op... |
ec9d10f5b15d335bf87d26827c806b4a9885aa02c0bb646450df23e3365ef103 | C | 12,821 | 426 | /*$Header: /data/petsun4/data1/src_solaris/algebra_4dfp/RCS/imgopr_4dfp.c,v 1.14 2010/12/23 02:43:21 avi Exp $*/
/*$Log: imgopr_4dfp.c,v $
* Revision 1.14 2010/12/23 02:43:21 avi
* float -> double imgo
* UCHAR -> UINT imgc imgn
*
* Revision 1.13 2010/05/18 04:52:17 avi
* operation -P (unsplit ROIs)
*
* Re... |
2e3950278d87e3814951cedeeb50d315fae5eeca2c37e33b021d384831a79a71 | C | 13,110 | 368 | /*$Header: /data/petsun4/data1/src_solaris/normalize_4dfp/RCS/normalize_4dfp.c,v 1.9 2011/01/28 03:59:25 avi Exp $*/
/*$Log: normalize_4dfp.c,v $
* Revision 1.9 2011/01/28 03:59:25 avi
* histogram output (option -h) now refelcts mode 1000 scaling
*
* Revision 1.8 2010/12/24 03:49:59 avi
* option -m
*
* Rev... |
51ab31baf175a1c9d08ae11e6b8d4f52102316f2bf47d03020e1c3eaf487304c | C | 13,248 | 438 | /*$Header: /data/petsun4/data1/src_solaris/actmapf_4dfp/RCS/actmapf_4dfp.c,v 1.33 2013/01/03 07:14:30 avi Exp $*/
/*$Log: actmapf_4dfp.c,v $
* Revision 1.33 2013/01/03 07:14:30 avi
* correct tmpfp fopen error
*
* Revision 1.32 2012/08/04 01:22:08 avi
* trap tmpfile write errors
*
* Revision 1.31 2012/03/0... |
e802e5c716eec6b68f8d987531c6586e005bafd3c11773e3450a3a35b6adefc6 | C | 13,295 | 394 | /*$Header: /data/petsun4/data1/src_solaris/t4_actmapf_4dfp/RCS/t4_xr3d_4dfp.c,v 1.12 2007/09/20 03:16:32 avi Exp $*/
/*$Log: t4_xr3d_4dfp.c,v $
* Revision 1.12 2007/09/20 03:16:32 avi
* linux compliant
*
* Revision 1.11 2006/09/29 04:56:02 avi
* Solaris 10
*
* Revision 1.10 2006/09/29 03:00:40 avi
* be... |
5514d053c9cbb23ff2da1f9ca6763eed35dc355b463383cb413b550fa770f06e | C | 13,339 | 558 | /*
Copyright (C) 1993, 1994, RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993, 1994 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
... |
5d3cc37d0d9f99e9f25b5948a9bcb3dc7b0b7074224b57e34e11fa08a0bae779 | C | 13,341 | 558 | /*
Copyright (C) 1993, 1994, RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993, 1994 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
... |
e4d9e6fb0b4492249e574718718bfa69d2ac91689ea37b36c8c19f01739c91ae | C | 13,371 | 390 | /*$Header: /home/usr/shimonyj/diff4dfp/RCS/diffRGB_4dfp.c,v 1.13 2010/06/16 23:50:31 avi Exp $*/
/*$Log: diffRGB_4dfp.c,v $
* Revision 1.13 2010/06/16 23:50:31 avi
* change gbr option flag to 'G' to maintain compatibility with diff_4dfp
*
* Revision 1.12 2010/05/10 03:42:25 avi
* option -B (change color code... |
296007401a71dcba656784f28874d49b761c1de5b687f24d55c3ca066dc3d198 | C | 13,855 | 390 | /* $Header: /data/petsun4/data1/src_solaris/interp_4dfp/RCS/bandpass_4dfp.c,v 1.10 2013/02/05 23:19:19 avi Exp $*/
/* $Log: bandpass_4dfp.c,v $
* Revision 1.10 2013/02/05 23:19:19 avi
* default nskip 4 -> 0
* always allocate scratch arrays a,b and used new subroutine butt1dbs_() instead of butt1db_()
* remove op... |
7b64a6f7adc2b38eede37a36f2960575070fa7b733a652ea527091e135918962 | C | 14,088 | 579 | #include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <knee.h>
/* fuzzy.c - all the fuzzy functions */
/*
** seg_fuzz - perform the fuzzy segmentation
** inputs:
** npix - the number of pixels in the image
** src - the source image
** npart - the number of partitions
** eps - min error for convergence
**... |
6433f490ea5a04fd8d46b0929e3c80d6c5ede92ff7cdc3a0f3a9ff63a854daa5 | C | 14,220 | 444 | /*$Header: /data/petsun4/data1/src_solaris/var_4dfp/RCS/var_4dfp.c,v 1.20 2010/12/23 03:36:23 avi Exp $*/
/*$Log: var_4dfp.c,v $
* Revision 1.20 2010/12/23 03:36:23 avi
* long -> int in rnan()
*
* Revision 1.19 2010/10/01 01:38:49 avi
* correct serious error in coding of format pointer
* option -G
*
* Rev... |
6ae99c2bde104f4d45632fab53653818a83998ebedc5542b4ebc786f67bb31a8 | C | 14,294 | 452 | /*$Header: /data/petsun4/data1/src_solaris/img_hist_4dfp/RCS/img_hist_4dfp.c,v 1.23 2011/01/10 05:09:33 avi Exp $*/
/*$Log: img_hist_4dfp.c,v $
* Revision 1.23 2011/01/10 05:09:33 avi
* oprion -C
*
* Revision 1.22 2010/12/27 08:03:49 avi
* toption -f causes selected volume to be reported in filename of -{hpx... |
fb40e6eac911c68ff74324f750cfef8c6a4c28f0b972662789775b1aeb7b18a9 | C | 14,346 | 539 | /*
Copyright (C) 1993, RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
Electr... |
a1a780e4ce5d4aedaec57bd13fbee73ddc5606e9ed9692af676a16ad0e084724 | C | 14,348 | 539 | /*
Copyright (C) 1993, RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
Electr... |
19456626574cdb2261eba205c74ad14355f4820841d550db3c2650a88f01a3cb | C | 15,435 | 512 | /*$Header: /data/petsun4/data1/src_solaris/actmapf_4dfp/RCS/LDA.c,v 1.12 2011/09/15 02:28:20 avi Exp $*/
/*$Log: LDA.c,v $
* Revision 1.12 2011/09/15 02:28:20 avi
* trap nonsensical diemsnionality conditions
*
* Revision 1.11 2011/09/11 03:00:59 avi
* options -c and -E
*
* Revision 1.10 2011/09/10 04:46:... |
72e8d40c689c25328a38d084a8f4e0d2d161ea9f081bc57570538a4c7d3def02 | C | 15,834 | 573 | /*$Header: /data/petsun4/data1/src_solaris/aff_conv/RCS/aff_conv.c,v 1.9 2012/04/23 19:27:07 coalsont Exp $*/
/*$Log: aff_conv.c,v $
* Revision 1.9 2012/04/23 19:27:07 coalsont
* revised help info to clarify world matrices
*
* Revision 1.8 2012/04/23 17:55:56 coalsont
* use sqrt because sqrtf doesn't exist o... |
5df9c6cc415ee7e2b0864554165ddcc922f0cf618dcce49feacd0104d1ba57c9 | C | 15,940 | 608 | #include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <knee.h>
/*
** name - con_map
** use - find all the contours at given grey level and store
** input - ncont: the number of contours up to now
** z: the level of contour desired
** src: pointer to source image
** output- returns the num... |
35269487deec84692717df1e88f4ca771ca5a6d4437184a6f7c8c490df6ba21b | C | 16,064 | 503 | /*$Header: /data/petsun4/data1/src_solaris/actmapf_4dfp/RCS/GC_dat.c,v 1.10 2007/07/30 04:00:45 avi Exp $*/
/*$Log: GC_dat.c,v $
* Revision 1.10 2007/07/30 04:00:45 avi
* Solaris 10
*
* Revision 1.9 2007/07/15 03:02:37 avi
* correct normalization of covariance (nnez -> ntot)
* write to files instead of stdo... |
f1b44e0bb0b4303be091ef0f22b378f72884535b1b9a5aa4ef518c1f850c2aa7 | C | 16,253 | 458 | /*
* $Id: 6ae5dac6436ed249f9978540fb895efaee288259 $
* CUnit unit tests for dcm_to_4dfp.c
* by Kevin A. Archie, karchie@wustl.edu
*/
#include <stdio.h>
#include <CUnit/Basic.h>
#include "dicom.h"
#include "condition.h"
#include "lst.h"
#include "dicom_objects.h"
#include "ifh.h"
#include "dcm_to_analyze.h"
/* T... |
8f5c3b141c76a6b946b62678c6d0e3429c88cf5ec03aeca0360bc0f6ff92536f | C | 16,298 | 501 | /*$Header: /data/petsun4/data1/src_solaris/cluster_4dfp/RCS/cluster_4dfp.c,v 1.14 2012/06/14 06:01:42 avi Exp $*/
/*$Log: cluster_4dfp.c,v $
* Revision 1.14 2012/06/14 06:01:42 avi
* option -a
*
* Revision 1.13 2011/06/19 03:39:20 avi
* trap u2 < 0. from rounding error
*
* Revision 1.12 2011/01/08 01:44:... |
20baafa4e7484ab5c4517c0969c6d4a4ed1aa7ca3862631126b27739b6ca74d2 | C | 16,554 | 491 | /*$Header: /data/petsun4/data1/src_solaris/qnt_4dfp/RCS/qntv_4dfp.c,v 1.6 2012/03/23 02:26:25 avi Exp $*/
/*$Log: qntv_4dfp.c,v $
* Revision 1.6 2012/03/23 02:26:25 avi
* improved Usage
*
* Revision 1.5 2011/10/04 22:43:53 avi
* correct major voxel index / die index coding error
*
* Revision 1.4 2011/03/1... |
01d0d1a7e7b3ba81bf4817a3a30c3e4f3f77c0bc596012d91abbc151df48fee3 | C | 17,307 | 482 | /* 2003.02.14 - module to do Intensity Inhomogeneity Correction (IIC).*/
/*$Header: /data/petsun4/data1/src_solaris/nonlin/RCS/iic.c,v 2.3 2004/10/28 21:55:51 rsachs Exp $*/
/*$Log: iic.c,v $
* Revision 2.3 2004/10/28 21:55:51 rsachs
* Undefined #Debug.
*
* Revision 2.2 2004/09/28 23:31:15 rsachs
* Reinstall... |
a7eefd6716f568cd9a12f1f11668386f9a2f9766f438d13f5613805082f8ca81 | C | 17,890 | 627 | /*$Header: /home/usr/shimonyj/diff4dfp/RCS/dtensor.c,v 1.12 2008/04/14 01:32:53 adrian Exp $*/
/*$Log: dtensor.c,v $
* Revision 1.12 2008/04/14 01:32:53 adrian
* compute FA and store in ang[6] and in D_PARAMS_2
*
* Revision 1.11 2008/04/14 00:05:59 adrian
* added inv_svd_thresh and removed inv_svd from eigen... |
c3ce42303af68a78205784de0bdeb03e20584e722eed2130eaded3fc7bb5c56c | C | 19,175 | 586 | /*$Header: /data/petsun4/data1/src_solaris/actmapf_4dfp/RCS/GC_4dfp.c,v 1.7 2007/08/18 04:56:50 avi Exp $*/
/*$Log: GC_4dfp.c,v $
* Revision 1.7 2007/08/18 04:56:50 avi
* trap NaN -> 1.e-37 in write_4dfp()
*
* Revision 1.6 2007/07/30 03:50:01 avi
* normalize lagged covariance (gamma) by true number of 2nd or... |
a49a2292cce1ce1c8307f7bd9768fa0ec7b739b90eea413cdd9ea0450e0ec730 | C | 19,811 | 606 | /*$Header: /data/petsun4/data1/src_solaris/wrpsmg_4dfp/RCS/wrpsmg_4dfp.c,v 1.11 2010/12/23 03:37:05 avi Exp $*/
/*$Log: wrpsmg_4dfp.c,v $
* Revision 1.11 2010/12/23 03:37:05 avi
* long -> int in rnan()
*
* Revision 1.10 2010/01/15 01:56:36 avi
* operate on multi-volume input
*
* Revision 1.9 2010/01/14 0... |
fa36f00ddc1a71a4ffcf60127ed7626a05643cf915aa762860d1fc7d2d0e75a3 | C | 20,701 | 501 | /*$Header: /data/petsun4/data1/src_solaris/ecat/RCS/ecat_header.c,v 1.4 2010/09/10 16:59:07 larsc Exp larsc $*/
/*$Log: ecat_header.c,v $
* Revision 1.4 2010/09/10 16:59:07 larsc
* Added show_header attribution
*
* Revision 1.3 2010/09/09 17:29:12 larsc
* Add missing time.h include.
*
* Revision 1.2 2010/... |
9c41488cc6ed36a53417d7906fa209026438fc6ba3a523b2224e252c5115bf56 | C | 21,603 | 550 | /****************************************************************************************/
/* Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 */
/* Washington University, Mallinckrodt Institute of Radiology. */
/* All Rights Reserved. */
/* This software may not be reproduced, copied, or distributed... |
3482019d1fe80da7026099a673d1398a0b9cd770e98dc7698a4a419e2bd3875f | C | 21,703 | 656 | /*$Id: mpetto4dfp.c,v 1.12 2011/08/07 03:59:21 avi Exp $*/
/*$Log: mpetto4dfp.c,v $
* Revision 1.12 2011/08/07 03:59:21 avi
* apply calibration_factor to PET data
* convert CT data
*
* Revision 1.11 2008/07/30 03:24:09 avi
* option -w
*
* Revision 1.10 2008/02/22 03:46:15 avi
* X86 and linux compliant... |
a59bd3776c96091485992929eb62d8be9e7930717366384dacd43a532adcbb7c | C | 22,103 | 625 | /*$Header: /data/petsun4/data1/src_solaris/peak_4dfp/RCS/peak_4dfp.c,v 1.25 2012/03/30 23:11:05 avi Exp $*/
/*$Log: peak_4dfp.c,v $
* Revision 1.25 2012/03/30 23:11:05 avi
* correct bug in computation of del2v
*
* Revision 1.24 2011/04/08 05:05:01 avi
* option -N
*
* Revision 1.23 2010/08/07 23:33:13 av... |
07c98894d58bb3006f5b844898b6db9e7162c349ecd7f6a9791f631ca669c0c9 | C | 22,796 | 1,090 | /*
Copyright (C) 1993, 1994, RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993, 1994 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
... |
9807411c46ca61bac0982e9bc2b04f26d6506276401eded326891fb8f0504d98 | C | 22,799 | 1,093 | /*
Copyright (C) 1993, 1994, RSNA and Washington University
The software and supporting documentation for the Radiological
Society of North America (RSNA) 1993, 1994 Digital Imaging and
Communications in Medicine (DICOM) Demonstration were developed
at the
... |
16a3e17042edfd4b41d865a9632a10405fa218e96b60d43f24a4ac901ca4269c | C | 22,948 | 1,093 | /*$Header: /data/petsun4/data1/src_solaris/dcm_dump_file/RCS/utility.c,v 1.2 2012/12/05 01:44:37 avi Exp $*/
/*$Log: utility.c,v $
* Revision 1.2 2012/12/05 01:44:37 avi
* type definition to suppress compile warnings
*
* Revision 1.1 2012/12/03 21:29:55 avi
* Initial revision
**/
/*
Copyright (C) ... |
f3f992cec61ead3821b17792dbffc3681ea404467d1701ce1c88c1914bc2a071 | C | 23,103 | 667 | /*$Log: t4imgs_4dfp.c,v $
* Revision 1.36 2011/04/09 00:19:16 avi
* input list line buffer length increased from 2*MAXL to 4*MAXL
* filename buffer lenght increased form MAXL to 2*MAXL
*
* Revision 1.35 2010/12/23 03:35:43 avi
* long -> int in rnan()
*
* Revision 1.34 2010/04/05 02:46:03 avi
* OK mask... |
e453d4552bf9d17599a07900322bbf185cd1eefea2b010c4f5f3f8c867fc124a | C | 23,243 | 732 | /*$Header: /data/petsun4/data1/src_solaris/nifti_4dfp/RCS/4dfp-format.c,v 1.15 2013/01/11 06:37:47 avi Exp $*/
/*$Log: 4dfp-format.c,v $
* Revision 1.15 2013/01/11 06:37:47 avi
* assume signed float 4 byte 4dfp input in parse_4dfp()
*
* Revision 1.14 2012/02/09 00:28:40 coalsont
* changed write() to fwrite()... |
8294a42707c2906fbb5878053ccbdaab896cc8358083a4e28aa8aea705d241cd | C | 24,460 | 638 | /****************************************************************************************/
/* Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009, 1010, 2011 */
/* Washington University, Mallinckrodt Institute of Radiology. */
/* All Rights Reserved. */
/* This software may not be reproduced, copied, or dis... |
9c31f3e1cff9f4854ee40741a5e7c78960433dfb8461dc19f33590040d209442 | C | 25,440 | 726 | /*$Header: /data/petsun4/data1/src_solaris/mprtir/RCS/partitiond_gfc_4dfp.c,v 1.9 2011/11/09 08:03:31 avi Exp $*/
/*$Log: partitiond_gfc_4dfp.c,v $
* Revision 1.9 2011/11/09 08:03:31 avi
* option -M (maximum intensity scaling limit)
* correct bug in final output gfc image computation loop
*
* Revision 1.8 2011... |
096b93196523d11a38ed3b01e601f107ed37d0f65b5fe3b1a109803280f878b4 | C | 26,244 | 782 | /*$Header: /data/petsun4/data1/src_solaris/actmapf_4dfp/RCS/glm_4dfp.c,v 1.26 2012/11/20 03:25:49 avi Exp avi $*/
/*$Log: glm_4dfp.c,v $
* Revision 1.26 2012/11/20 03:25:49 avi
* increase image filename buffers to 4*MAXL to accommodate long paths/filenames
*
* Revision 1.25 2011/12/29 21:17:56 avi
* use inte... |
2cc711a4c9ef9edb237f23b14fb1789a89b7de457c0545878fc1a964845e4afd | C | 26,351 | 793 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <math.h>
#include <time.h>
#include <endianio.h>
#include <Getifh.h>
#include <rec.h>
#include <librms.h>
#include <nrutil.h>
#include <RSF.h>
IMAGE_4dfp *read_image_4dfp(char *filespc, IMAGE_4dfp *image)
{
int n, m1, m2, isbig;... |
d8f1ae7283094ce7349c21609a698361b1a473f50c89b7c8da2f2664b1fdd870 | C | 26,489 | 620 | /*$Header: /data/petsun4/data1/src_solaris/nonlin/RCS/morphc_4dfp.c,v 1.15 2007/07/04 03:24:10 avi Exp $*/
/*$Log: morphc_4dfp.c,v $
* Revision 1.15 2007/07/04 03:24:10 avi
* default LAMBDA 1.0 -> 2.0
* comment out f_init() and f_exit() for gcc
*
* Revision 1.14 2007/07/03 05:10:32 avi
* endian compliant i/... |
a0e7028c03b357d5e9193fd1888b54e50814b834e8f19523dac501a18f1e194e | C | 26,557 | 1,025 | #include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <knee.h>
/***** utilities *****/
/*
** name - get_image
** use - get image from file, raw uchars
** input - image: pointer to image array
** filename: name of image file
** size: number of elements
** output- error message only
** eff... |
c4283078f4c240f3ed4dcc6393eb750e1002a3366cab9e4515d1eb2d6087aaca | C | 28,071 | 697 | /*$Header: /data/petsun4/data1/src_solaris/cross_realign3d_4dfp/RCS/cross_realign3d_4dfp.c,v 1.23 2013/02/14 03:12:25 avi Exp $*/
/*$Log: cross_realign3d_4dfp.c,v $
* Revision 1.23 2013/02/14 03:12:25 avi
* remove limit on frames/run
*
* Revision 1.22 2010/12/23 06:37:41 avi
* voxel size mismatch tolerance 1... |
eb19dd4f3846789e3da644aac4da0571964b7765c0297370c1a590a759242f9f | C | 28,352 | 956 | /*$Header: /data/petsun4/data1/src_solaris/nifti_4dfp/RCS/nifti-format.c,v 1.14 2012/04/23 18:05:06 coalsont Exp $*/
/*$Log: nifti-format.c,v $
* Revision 1.14 2012/04/23 18:05:06 coalsont
* fix output of pixdim to ensure it matches sform when oblique
* check pixdim versus sform on reading
*
* Revision 1.13 20... |
e230c97093373fbe93dbf654d962b0792f463701547ac6867e653864ce1d306e | C | 29,002 | 870 | /*$Header: /data/petsun4/data1/src_solaris/actmapf_4dfp/RCS/covariance.c,v 1.31 2012/05/29 04:26:17 avi Exp $*/
/*$Log: covariance.c,v $
* Revision 1.31 2012/05/29 04:26:17 avi
* option -t (remove trend)
*
* Revision 1.30 2011/02/21 00:35:13 avi
* option -g (auxilliary profile regression)
*
* Revision 1.29... |
79917d5445a58ba9f29dfa4d734df5cfddbd07dd3644a637af9496e68b03fcef | C | 29,551 | 868 | /*$Header: /home/usr/shimonyj/diff4dfp/RCS/nonlinear.c,v 1.9 2012/12/19 00:40:19 shimonyj Exp $*/
/*$Log: nonlinear.c,v $
* Revision 1.9 2012/12/19 00:40:19 shimonyj
* minor fixes in nonlinear routine.
*
* Revision 1.8 2012/10/15 12:40:04 shimonyj
* Change priors for constant and iso diffusion
*
* Revision... |
db71e61fe2af8a45791cf2ac9d10c92d5a534823f6977ef68247754dc527ece8 | C | 37,342 | 1,119 | /*$Header: /home/usr/shimonyj/diff4dfp/RCS/diff_4dfp.c,v 1.32 2010/03/24 03:08:33 avi Exp $*/
/*$Log: diff_4dfp.c,v $
* Revision 1.32 2010/03/24 03:08:33 avi
* eliiminate complexities is computation of isbig
*
* Revision 1.31 2010/03/24 02:49:38 avi
* Usage and minor bug fixes
*
* Revision 1.30 2010/01/25... |
6597e56a5f1a420b5489b392606fd2d2919bc75657e7b739c334565134a45b59 | C | 38,434 | 1,222 | #include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <knee.h>
MOMENT blobs[MAXBLOB];
int adj_reg[MAXBLOB], parents[MAXBLOB];
/***** feature processes *****/
/*
** name - find_blob
** use - finds connected regions in segmented image
** input - src: pointer to source image
** dst: pointer to d... |
0d94b8e7e4c4c4507371ae5f587fa6cf8ba3b5a807167a46a42186b2b903901b | C | 55,417 | 1,799 | /*
Copyright (C) 1998-2013 Washington University
*/
/* Copyright marker. Copyright will be inserted above. Do not remove */
/*
** Electronic Radiology Laboratory
** Mallinckrodt Institute of Radiology
** Washington University School of Medicine
**
** Module Name(s): main
** Author, Date: Stephen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.