Skip to content

Commit

Permalink
Changed: Some tiny edits in text formatting.
Browse files Browse the repository at this point in the history
Changed paths:
 M Amap.c
 M CHANGES.txt
 M cat_main_cleanup.m
 M sanlm_float.c
  • Loading branch information
ChristianGaser committed Jan 12, 2023
1 parent d149ed5 commit 420e71b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Amap.c
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ void EstimateSegmentation(double *src, unsigned char *label, unsigned char *prob
to allow masked smoothing */
if(bias_fwhm > 0.0) {
for(j = 0; j < vol; j++) {
if(label[index] == 0) bias[j] = 0.0;
if(label[j] == 0) bias[j] = 0.0;
else bias[j] = 0.001;
}
}
Expand Down
10 changes: 10 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
------------------------------------------------------------------------
r2163 | gaser | 2023-01-12 17:59:59

Changed paths:
M Amap.c
M CHANGES.txt
M cat_main_cleanup.m
M sanlm_float.c

Changed: Some tiny edits in text formatting.
------------------------------------------------------------------------
r2162 | gaser | 2022-12-27 17:00:50

Changed paths:
Expand Down
2 changes: 1 addition & 1 deletion cat_main_cleanup.m
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
%% estimate the ROI
% ------------------------------------------------------------------
% This part removes menignes next to the skull and between large
% structes.
% structures.
% ------------------------------------------------------------------
Yvt = cat_vol_morph(NS(Yl1b,LAB.VT) | NS(Yl1b,LAB.BG),'dd',vxv*3); % ventricle ... no cleanup here
Yp0 = single(prob(:,:,:,1))/255*2 + single(prob(:,:,:,2))/255*3 + single(prob(:,:,:,3))/255;
Expand Down
10 changes: 5 additions & 5 deletions sanlm_float.c
Original file line number Diff line number Diff line change
Expand Up @@ -668,14 +668,14 @@ void anlm(float* ima, int v, int f, int use_rician, const int* dims)
ThreadArgs = (myargument*) calloc( Nthreads,sizeof(myargument));

if (pthread_mutex_init(&mutex, NULL) != 0)
{
printf("\n mutex init failed\n");
exit(1);
}
{
printf("\n mutex init failed\n");
exit(1);
}

for (i=0; i<Nthreads; i++)
{
/* Make Thread Structure */
/* Make Thread Structure */
ini = (i*dims[2])/Nthreads;
fin = ((i+1)*dims[2])/Nthreads;
ThreadArgs[i].cols = dims[0];
Expand Down

0 comments on commit 420e71b

Please sign in to comment.