I have been developing a graphical user interface (GUI) in MATLAB to present experimental stimuli to participants and record their responses in a variety of formats. MATLAB makes it pretty easy to collect self-report data using the uicontrol function, which can be configured as an edit box, drop-down box, check box, list box, button, or slider. However, I also wanted to collect behavioral data using the computer’s built-in webcam and microphone. As it turns out, recording synchronized audio and video data in MATLAB is surprisingly difficult. This post will describe the solution I found and provide source code that you can build upon.
Gabor filters are often used for edge detection in computer vision tasks such as optical character recognition and facial expression recognition. In this blog post, I will demonstrate and provide source code for visualizing the “Gabor Space” using MATLAB. Given my research focus on faces, I will use facial images and video in my examples.