c3d image precision

23 views
Skip to first unread message

mfk16

unread,
Mar 5, 2021, 3:19:25 PM3/5/21
to itksnap-users
Hi,

I was using c3d to crop images using the '-region' command, and I noticed that my input image precision was 'int16', but the output image precision was 'single'.

I'm using command line of:
c3d fin -region 10x20x30vox 40x50x60vox -o fout

Should the output image be saved with the same precision as the input image?

Thanks for your help,

Matt

Paul Yushkevich

unread,
Mar 5, 2021, 3:21:41 PM3/5/21
to itksna...@googlegroups.com
Please use the -type short directive (before the -o command) to specify output precision. 

--
You received this message because you are subscribed to the Google Groups "itksnap-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to itksnap-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/itksnap-users/460620eb-4ea1-4694-b213-4968341d7da2n%40googlegroups.com.


--
Paul A. Yushkevich, Ph.D.
Professor of Radiology
Penn Image Computing and Science Laboratory
University of Pennsylvania Perelman School of Medicine
Reply all
Reply to author
Forward
0 new messages