Hello again,
I have a large time series in dicom or .nii format. I am interested in extracting a single time frame from it. I did this before, I believe with freesurfer, but I have somehow forgot the name of the command, and I can't seem to find it. I believe it could be used to specify particular regions of the volume, as well as time. I need the entire volume, still, but only one frame.
Thanks in advance!
Eli
Houston Methodist. Leading Medicine.
Ranked by U.S.News & World Report as one of America's "Best Hospitals" in 11 specialties. Named to FORTUNE® Magazine's "100 Best Companies to Work For®" list 10 years in a row. Designated as a Magnet hospital for excellence in nursing. Visit us at houstonmethodist.org. Follow us at twitter.com/MethodistHosp and www.facebook.com/HoustonMethodist.
***CONFIDENTIALITY NOTICE*** This e-mail is the property of Houston Methodist Hospital and/or its relevant affiliates and may contain restricted and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender and delete all copies of the message. Thank you.
Hi Eli
a couple of different ways would work. The frams are numbered starting at 0 for the first one. So for frame #5 (the 6th one) it would be:
mri_convert -nth 5 file.nii file.frame5.nii
Alternatively, all of our tools accept the extension #<frame #> so you could do:
mri_convert file.nii#5 file.frame5.nii
cheers Bruce
On Mon, 26 Oct 2015, Rockers, Elijah D. wrote:
Hello again,
I have a large time series in dicom or .nii format. I am interested in extracting a single time frame from it. I did this before, I believe with freesurfer, but I have somehow forgot the name of the command, and I can't seem to find it. I believe it could be used to specify particular regions of the volume, as well as time. I need the entire volume, still, but only one frame.
Thanks in advance!
Eli
Houston Methodist. Leading Medicine.
Ranked by U.S.News & World Report as one of America's "Best Hospitals" in 11 specialties. Named to FORTUNE® Magazine's "100 Best Companies to Work For®" list 10 years in a row. Designated as a Magnet hospital for excellence in nursing. Visit us at houstonmethodist.org. Follow us at twitter.com/MethodistHosp and www.facebook.com/HoustonMethodist.
***CONFIDENTIALITY NOTICE*** This e-mail is the property of Houston Methodist Hospital and/or its relevant affiliates and may contain restricted and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender and delete all copies of the message. Thank you.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Thank you, I was not aware of the #frame extension!
Eli
On 10/26/2015 10:26 AM, Bruce Fischl wrote: Hi Eli
a couple of different ways would work. The frams are numbered starting at 0 for the first one. So for frame #5 (the 6th one) it would be:
mri_convert -nth 5 file.nii file.frame5.nii
Alternatively, all of our tools accept the extension #<frame #> so you could do:
mri_convert file.nii#5 file.frame5.nii
cheers Bruce
On Mon, 26 Oct 2015, Rockers, Elijah D. wrote:
Hello again,
I have a large time series in dicom or .nii format. I am interested in extracting a single time frame from it. I did this before, I believe with freesurfer, but I have somehow forgot the name of the command, and I can't seem to find it. I believe it could be used to specify particular regions of the volume, as well as time. I need the entire volume, still, but only one frame.
Thanks in advance!
Eli
Houston Methodist. Leading Medicine.
Ranked by U.S.News & World Report as one of America's "Best Hospitals" in 11 specialties. Named to FORTUNE® Magazine's "100 Best Companies to Work For®" list 10 years in a row. Designated as a Magnet hospital for excellence in nursing. Visit us at houstonmethodist.org. Follow us at https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_MethodistHos... and https://urldefense.proofpoint.com/v2/url?u=http-3A__www.facebook.com_Houston... .
***CONFIDENTIALITY NOTICE*** This e-mail is the property of Houston Methodist Hospital and/or its relevant affiliates and may contain restricted and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender and delete all copies of the message. Thank you.
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.nmr.mgh.harvard.ed...
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edumailto:Freesurfer@nmr.mgh.harvard.edu https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.nmr.mgh.harvard.ed...
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at https://urldefense.proofpoint.com/v2/url?u=http-3A__www.partners.org_complia... . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
Houston Methodist. Leading Medicine. Houston Methodist is ranked by U.S.News & World Report as one of America's "Best Hospitals" in 11 specialties and designated as a Magnet hospital for excellence in nursing. Houston Methodist has also been named to FORTUNE® Magazine's "100 Best Companies to Work For®" list for 10 years in a row. Visit us at houstonmethodist.org. Follow us at twitter.com/MethodistHosp and facebook.com/HoustonMethodist. ***CONFIDENTIALITY NOTICE*** This e-mail is the property of Houston Methodist and/or its relevant affiliates and may contain restricted and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender and delete all copies of the message. Thank you.
Hello,
Specifying a single volume frame with # is great, but how to specify a range or multiple arbitrary choosen frames? Something like #0..9 would be nice for the 1st to the 10th frame, and #0,2,4 for the 1st, 3rd and 5th frames.
Thanks for the help and Have a very good day! Sebastien
I'm not sure what this refers to because there is no history in the email. I'm guessing that you want to extract a certain range of frames from a multiframe file. If so try the --fsubsample option in mri_convert
On 10/12/2022 2:33 PM, Proulx, Jean Sebastien wrote:
Hello,
Specifying a single volume frame with # is great, but how to specify a range or multiple arbitrary choosen frames? Something like #0..9 would be nice for the 1st to the 10th frame, and #0,2,4 for the 1st, 3rd and 5th frames.
Thanks for the help and Have a very good day! Sebastien
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu