Using the anti-correlation between oxy and deoxy hemoglobin for NIRS data quality

46 sec read

Back in 2009 we published a paper titled “Functional near infrared spectroscopy (NIRS) signal improvement based on negative correlation between oxygenated and deoxygenated hemoglobin dynamics“. In a nutshell, we found the oxy- and deoxy-Hb are negatively correlated when noise level is low. When noise level increases, their correlation becomes more and more positive.

Correlation between oxy and deoxy-Hb
Correlation between oxy and deoxy-Hb

Based on this phenomenon we can check the noise level of a channel using the correlation. Below is the script. You simply input the hbo and hbr data (both matrix), and the output is the bad channels.

function badChannels = checkDataQuality(hbo,hbr)

% function badChannels = checkDataQuality(hbo,hbr)
% Check data quality using correlation between hbo and hbr as indicator
% if the correlation is strictly -1, then bad channel
% if the correlation is > 0.5, then bad channel
% Input: hbo and hbr are NxM matrix, N is number of scan, and M number of
% channels
% output: array of bad channels
%
% Xu Cui
% 2009/11/25

n = size(hbo,2);
for ii=1:n
    tmp = corrcoef(hbo(:,ii), hbr(:,ii));
    c(ii) = tmp(2);
end

pos = find(c==-1);
if ~isempty(pos)
    disp(['Channels with -1 correlation: ' num2str(pos)])
end

pos2 = find(c>0.5);
if ~isempty(pos2)
    disp(['Channels with >0.5 correlation: ' num2str(pos2)])
end

badChannels = [pos pos2];



写作助手,把中式英语变成专业英文


AI writing papers with real references


Want to receive new post notification? 有新文章通知我

第七十五期fNIRS Journal Club通知2026/10/10, 10am 张浩云团队

语言学习本质上是社会性、交互性的过程,但现有对其神经机制的研究大多仅从学习者个体层面开展。来自澳门大学的张浩云团队将分享一项fNIRS超扫描研究,探讨语言学习中师生互动的神经机制,包括师生神经同步如何
Wanling Zhu
14 sec read

第七十四期fNIRS Journal Club视频 曾令伟博士

Youtube: https://youtu.be/WSh0fmADeZw 优酷:https://v.youku.com/v_show/id_XNjU2MzcyOTU3Ng==.html 认知状态解码
Wanling Zhu
21 sec read

第七十四期fNIRS Journal Club通知2026/9/5, 10am 曾令伟博士

认知状态解码是脑机接口与神经调控研究的重要基础,但如何利用fNIRS实现有效解码并进一步用于个体化认知干预仍有待探索。来自空军军医大学的曾令伟博士将介绍他们围绕fNIRS认知状态解码与闭环神经调控开展
Wanling Zhu
16 sec read

10 Replies to “Using the anti-correlation between oxy and deoxy hemoglobin for…”

  1. @Gu Yue
    Good question! I however do not know the answer. You can try it and see if it increase your data quality. I’d love to know the result.

  2. Dear Cui,

    I’m wondering how to deal with these bad channels. Can I use the interpolation method which has been frequently employed in processing EEG data? I mean used the average value of whole channels to replace the bad channels Or just delete data on the bad channels?

    I’m looking forward to hearing from you!

    Yafeng Pan

  3. Dear Pan,
    Have you used the average value of whole channels to replace the bad channels of fNIRS? could you tell me your article name? thank you

    wenfeng Wu

  4. Dear Xu Cui,

    How/why did you choose the threshold of 0.5 (if if the correlation is > 0.5, then bad channel)? I read your paper but I could not figure out why 0.5 should be the right value, but I am very curious to know! Thank you.

    Kind regards,
    Carly

    1. Carly,

      The threshold 0.5 is arbitrarily chosen based on our observation. There is no theoretical basis. Please feel free to use your own threshold.

      Xu

  5. I was wondering if the code you gave is used then should we use the original signal or the filtered and de-headed signal?

      1. Hi Xu Cui,

        I believe the questions is whether any preprocessing should be performed before calculation of the correlation. For example, should the data be band-pass filtered and then we calculate the correlation?

        As a second question, I was wondering if having a longer block would affect the negative correlation bet oxy and deoxy hemoglobin, considering that during the plateau blocks, the anticorrelation decreases. Up to what block length would you expect that the negative correlation assumption holds true?

        Kind regards,
        Paulo

Leave a Reply

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