nirs2img, create an image file from NIRS data

51 sec read

I was asked where to get nirs2img script. Here it is. The download link is at the bottom of this article.

nirs2img is to create an image file from the input data. Then the
image file can be viewed by any fmri image viewing programs such as
xjview. This function requires function mni2cor and spm

function nirs2img(imgFileName, mni, value, doInterp, doXjview, bilateral)

imgFileName: the file name to be saved, e.g. ‘testnirs.img’
mni: Nx3 matrix, each row a coordinate in mni space
value: Nx1 matrix, each row is the value corresponding to mni
doInterp: 1 or 0 , whether or not do linear interpolation to
smooth data.
doXjview: 1 or 0, whether or not to view the generated image by xjview
now
bilateral: 1 or 0, whether or not the input mni is bilateral or not. If
bilateral, the first half points are considered as left side. There is no
interpolation between left and right side. (This argument is
useless if doInterp is 0)

output:
an image file whose name is specified by input

If you have mni points of probes (instead of channels), you may need to
convert first. Use function probe2channel

This function will write to a image file which can be viewed by xjview.
In xjview, you need to check render view.

Example:
nirs2img(‘nirs_test.img’, mni, value, 1, 1, 0);

Xu Cui
2009/06/11
last update: 2009/07/06: have an option that left and right do not
interpolate

nirs2img.m
mni2cor.m


Receive email notification via email
Don't want to miss new papers in your field? Check out Stork we developed:

fNIRS Journal Club 视频

546个被试的大型实验是怎么做的?近红外超扫描技术如何揭开群体冲突的神经机制?北京时间2020年5月29日周五上午11点,北京师范大学的马燚娜教授(Yina Ma)为大家讲解了她们组刚刚在Nature Neuroscience发表的文章。下面是报告视频。第一个是在Youtube,第二个是在youku。 Youtube:https://www.youtube.com/watch?v=4qZ7zP-BGz4Youku:https://v.youku.com/v_show/id_XNDY5MTc0MjAxMg==.html 她讲的文献如下: Within-group synchronization in the prefrontal cortex associates with intergroup conflict. Nature neuroscience https://www.storkapp.me/pubpaper/32341541 中文摘要(人工智能翻译,仅供参考):陷入群体的个人有时会失去自己的个性,冒着通常会避免的风险,以无端的敌对态度与外界接触。在这项研究中,我们确定了右侧背外侧前额叶皮层(rDLPFC)和右侧颞顶交界处(rTPJ)的组内神经同步是组间敌对性的潜在机制。我们将546个人组织为91个三对三人小组间比赛,诱导了组内亲和,并使用功能性近红外光谱仪测量了神经活动和组内同步。在组内亲和之后,个人给组内成员的钱比给组外成员的钱多,并且捐出更多的钱来击败竞争对手。组内亲和减少了rDLPFC的活动,并增加了rDLPFC和rTPJ之间的功能连接。尤其是在组外攻击期间,组内亲和还增加了rDLPFC和rTPJ中的组内同步,并且组内rDLPFC同步与组间敌对性正相关。组内同步减少前额活动可能可以解释组内联结如何导致对外界的冲动和集体敌视。
Xu Cui
13 sec read

Remote fNIRS

Everytime I met Dr Leanne Hirshfield, I am impressed by her energy and passion with the fNIRS technology. It was a pleasure listening to...
Xu Cui
4 min read

fNIRS Journal Club 通知 2020/5/29, 11am

546个被试的大型实验是怎么做的?近红外超扫描技术如何揭开群体冲突的神经机制?北京时间2020年5月29日周五上午11点,北京师范大学的马燚娜教授(Yina Ma)将为大家讲解她们组刚刚在Nature Neuroscience发表的文章。 欢迎大家参加并参与讨论。 时间: 北京时间2020年5月29日周五上午11点 地点: https://zoom.com/j/84320310196房间号: 843 2031 0196 密码: 600516 她要讲的文献如下: Within-group synchronization in the prefrontal cortex associates with intergroup conflict....
Xu Cui
7 sec read

Leave a Reply

Your email address will not be published. Required fields are marked *