Research Article

Image Processing Techniques for Assessing Contractility in Isolated Neonatal Cardiac Myocytes

Algorithm 1

𝐯 i m a g e a c q u i s i t i o n           % using inverted phase contrast microscope
𝑁 f r a m e s ( 𝐯 )                  % number of frames in video
𝑓 𝑣 ( 𝐱 , 1 )                       % read first frame
𝑚 m a s k                     % construct binary mask
𝑣 ( 𝐱 , 1 ) = 𝑚 𝑣 ( 𝐱 , 1 ) % apply binary mask to first frame
𝑉 ( 𝐱 , 1 ) = P F F T ( 𝑣 ( 𝐱 , 1 ) ) % apply polar FFT to first frame
𝐶 ( 1 ) 1 % correlation coefficient of first frame
𝐟 𝐨 𝐫 𝑖 = 2 t o 𝑁   do
𝑣 ( 𝐱 , 𝑖 ) = 𝑚 𝑣 ( 𝐱 , 𝑖 )               % apply binary mask to each frame
𝑉 ( 𝐱 , 𝑖 ) = P F F T ( 𝑣 ( 𝐱 , 𝑖 ) )              % apply polar FFT to each frame
𝐶 ( 𝑖 ) = C O R R ( 𝑉 ( 𝐱 , 1 ) , 𝑉 ( 𝐱 , 𝑖 ) )         % correlation coefficient of each frame
end for