[FieldTrip] MRI low contrast

Michał Komorowski michak at is.umk.pl
Tue Sep 12 09:56:58 CEST 2017


Yaay !

+ and - works  ! :D


For determining coordsys one should type:

% clim adjusts contrast (default [0 1], the lower the brighter)
[dataout] = ft_determine_coordsys(mri00, 'clim', [0 0.25])


Thank you very much !

Michał Komorowski, MSc
Nicolaus Copernicus University in Toruń
Faculty of Physics, Astronomy and Informatics
Department of Informatics

2017-09-11 23:48 GMT+02:00 Arjen Stolk <a.stolk8 at gmail.com>:

> Hi Michal,
>
> There's a (undocumented) keyboard shortcut, shift+equal sign (numpad +) to
> adjust the contrast scaling (use numpad - for the opposite direction).
>
> Perhaps ft_sourceplot should additionally require the same cfg.lim option
> that for instance ft_determine_coordsys uses. Will propose in a PR.
>
> Best,
> Arjen
>
>
>
>
> On Mon, Sep 11, 2017 at 2:16 PM, Michał Komorowski <michak at is.umk.pl>
> wrote:
>
>> Dear Fieldtrippers,
>>
>> How to correct low contrast in MR image when using ft_mri_read and
>> ft_sourceplot to read and display MR image? (see attachment
>> mri00_lowctrst.png)
>>
>> For comparison, same .nii opened with mricron software (
>> http://people.cas.sc.edu/rorden/mricron/install.html) displays with
>> proper contrast (see attachment mri00_hictrst.png)
>>
>> Code:
>>
>> ss = 'sub1';
>> f = ['../data/ind/', ss, '/mri/mri00.nii'];
>> mri00 = ft_read_mri(f)
>> ft_sourceplot([],mri00)
>>
>>
>> Thank you in advance !
>>
>> Michał Komorowski, MSc
>> Nicolaus Copernicus University in Toruń
>> Faculty of Physics, Astronomy and Informatics
>> Department of Informatics
>>
>> _______________________________________________
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>>
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170912/93fed321/attachment-0002.html>


More information about the fieldtrip mailing list