[FieldTrip] ft_read_headshape

Irene Petrizzo irene.petrizzo at unitn.it
Wed Jun 5 11:33:25 CEST 2024


Thank you Jan-Mathijs! This solved the first part of my problem. However,
after indicating the fiducial positions in the interactive window, when I
check the position of the axes the positive and negative y-axes don't go
through the preauricular points, and also the X axes is shifted on the
forehead.
I am following exactly the steps of this tutorial:
https://www.fieldtriptoolbox.org/tutorial/electrode/

But I can't figure out the problem

Il giorno mer 5 giu 2024 alle ore 10:01 Schoffelen, J.M. (Jan Mathijs) via
fieldtrip <fieldtrip at science.ru.nl> ha scritto:

> Hi Irene,
>
> Typically, obj-files do not contain explicit information w.r.t. the
> metrical units in which the coordinates are expressed. FieldTrip tries to
> do an educated guess, but may fail depending on the contents of the file.
> If ‘dm’ is wrong, you can just change this ‘by hand’, after the file has
> been read in.
>
> hs = ft_read_headshape(filename);
> hs.unit = ‘cm’/‘m’/‘km’/‘mm’/‘feet’/‘inch' <-choose one of those (apart
> from feet or inch)
>
> Best wishes,
> Jan-Mathijs
>
>
>
>
> On 4 Jun 2024, at 10:09, Irene Petrizzo via fieldtrip <
> fieldtrip at science.ru.nl> wrote:
>
> When trying to read a headshape in the .obj format I get the following
> warning:
>
> Warning: the estimated units are not very decisive, assuming that the
> units are "dm"
>
> The displayed headshape is out of dimensions and when trying to set the
> fiducials the indicated position is not recognized correctly by the script.
> This happens only with this headmodel. Is there a way to correct this or is
> the .obj file corrupted?
>
> Thank you,
> --
> Irene Petrizzo
> Postdoctoral Fellow
>
> University of Trento
> CIMeC - Center for Mind/Brain Sciences |
> *http://r.unitn.it/en/cimec/per2con
> <https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fr.unitn.it%2Fen%2Fcimec%2Fper2con&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Cb3b46bb665a7485fbcd608dc8533c981%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638531704658744862%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=yzjS8L%2FnavnZs13LxDB4TzYplGR%2BC3NS6wsTbgzBqGQ%3D&reserved=0>
> *
> Palazzo Fedrigotti - corso Bettini 31, 38068 Rovereto (TN) Italy
>
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Cb3b46bb665a7485fbcd608dc8533c981%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638531704658744862%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=70ee41Ta1yXGwi9EYeveStHZfMmSGNKMhPiAfOwG58A%3D&reserved=0>
> https://doi.org/10.1371/journal.pcbi.1002202
>
>
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202
>


-- 
Irene Petrizzo
Postdoctoral Fellow

University of Trento
CIMeC - Center for Mind/Brain Sciences |
*http://r.unitn.it/en/cimec/per2con <http://r.unitn.it/en/cimec/per2con>*
Palazzo Fedrigotti - corso Bettini 31, 38068 Rovereto (TN) Italy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20240605/9b58ac3f/attachment.htm>


More information about the fieldtrip mailing list