External Email - Use Caution
Hello,
I normally use mris_convert --combinesurfs for generating STL files from the lh.pial and rh.pial. When running Freesurfer on my local computer, there are no problems with this approach and everything is perfect.
However, the lh.pial and rh.pial files I get when running Freesurfer through fMRIPrep are much larger (about 3-4x bigger than the ones I get locally). This makes the STL file I get through mris_convert also much larger. The file size is too big for me to use.
I discovered that mris_convert has a scale option using -s. I tried putting -s 0.1, expecting the file size to be reduced 90%. But no matter how little I set the scale to be, the file size is only reduced 1 to 2%. Does anyone know how to properly reduce the STL size using mris_convert? I would really like to avoid having to install a third party software to do this.
Thanks a lot! ____________________________________________________________ Beverly Hills Housekeeper Shocks Doctors: Avoid Botox antiaging-breakthrough.com http://thirdpartyoffers.netzero.net/TGL3231/5d700780cb78f7805c97st01duc
That scales the coordinates and will have no effect on the file size. Try mris_decimate instead. Note that the version 6 mris_decimate is not deterministic. I've put a deterministic one here https://gate.nmr.mgh.harvard.edu/safelinks/greve/mris_decimate
On 9/4/19 2:49 PM, rockj5@netzero.net wrote:
External Email - Use CautionHello,
I normally use mris_convert --combinesurfs for generating STL files from the lh.pial and rh.pial. When running Freesurfer on my local computer, there are no problems with this approach and everything is perfect.
However, the lh.pial and rh.pial files I get when running Freesurfer through fMRIPrep are much larger (about 3-4x bigger than the ones I get locally). This makes the STL file I get through mris_convert also much larger. The file size is too big for me to use.
I discovered that mris_convert has a scale option using -s. I tried putting -s 0.1, expecting the file size to be reduced 90%. But no matter how little I set the scale to be, the file size is only reduced 1 to 2%. Does anyone know how to properly reduce the STL size using mris_convert? I would really like to avoid having to install a third party software to do this.
Thanks a lot! ____________________________________________________________ Beverly Hills Housekeeper Shocks Doctors: Avoid Botox antiaging-breakthrough.com http://thirdpartyoffers.netzero.net/TGL3231/5d700780cb78f7805c97st01duc
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu