Skip to content

Atropos output error #1848

Answered by cookpa
RB-008 asked this question in Q&A
Feb 16, 2025 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

From ants_seg2.txt:

dim=3
n=3
img=/mnt/data_analysis/mouse_brain/data_ants/ants_output_spmtpm/N4_corrected.nii.gz
op=/mnt/data_analysis/mouse_brain/data_ants/ants/
ImageMath $dim ${op}mask.nii.gz Normalize $img
ThresholdImage $dim ${op}mask.nii.gz ${op}mask.nii.gz 0.1 1
outvar=[${op}_segk.nii.gz,${op}_prob%0d.nii.gz]
Atropos -d $dim -x ${op}mask.nii.gz c [5,0.001] -m [0.2,1x1x1] -i kmeans[$n] -o $outvar -a $img
lap=${op}lap.nii.gz
ImageMath $dim $lap Laplacian $img
inputfeatures=" -a $lap -a $img "
outvar=[${op}_seg.nii.gz,${op}_prob%0d.nii.gz]
Atropos -d $dim -x ${op}mask.nii.gz c [5,0.001] -m [0.2,1x1x1] \
 -i priorprobabilityimages[$n,${op}_prob%0d.nii.gz,0.25] \
 -k HistogramParzenWin…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@gdevenyi
Comment options

Comment options

You must be logged in to vote
2 replies
@cookpa
Comment options

Answer selected by RB-008
@RB-008
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants