"With Computer Vision System Toolbox and TI’s C6000 DSP, we rapidly prototype our image and video processing algorithms on the DM642 board. Because we use Simulink, we can modify our algorithms by simply adding or removing blocks and avoid updating the C code directly on the DSP. This can save me days or weeks of time."
Neha Parikh, Doheny Eye Institute
One of the first symptoms of retinitis pigmentosa is night vision loss. As the condition worsens, peripheral vision is gradually lost, until there is only a single point of light—or none at all. Researchers at the Doheny Eye Institute at the University of Southern California (USC) are giving people with this genetic eye condition hope for restored sight.
Using MathWorks tools, Doheny Eye Institute and its industrial partner Second Sight Medical Products, Inc. are developing a second-generation retinal prosthesis that stimulates nerve cells. The system includes an external camera and real-time software to acquire, process, and convert images into stimulus signals that are delivered to retinal nerve cells through an implanted electronic chip.
The first generation of the investigational implant has produced light perception and basic pattern recognition in patients. The second generation of the implant will increase the resolution of the image from 16 pixels to 60, with subsequent generations featuring higher resolutions, enabling patients to recognize faces and read.
"Improving resolution will be a tremendous step forward," says Dr. James Weiland, Associate Professor at the Doheny Eye Institute. "To make the most of this technology, we need real-time image processing algorithms. MathWorks tools are enabling us to rapidly evaluate, implement, optimize, and test these algorithms on embedded hardware."
While researchers have made advances in psychophysics, their understanding of the relationship between physical stimuli and perception is far from complete. “We can’t determine the optimal image processing algorithm until recipients of the next-generation implant tell us what works best,” says Weiland. “As a result, we need to design a flexible system and develop and test algorithms rapidly, while ensuring safety standards.”
The image processing unit must also provide real-time response in a portable package. “Our system will need to use DSPs to enable low-power and portable image processing. Because some of our algorithms are computationally intensive, we need a development environment for easily targeting a DSP and optimizing the system.”
Researchers at the Doheny Eye Institute used MATLAB®, Simulink®, and Computer Vision System Toolbox™ to develop image processing algorithms for the retinal implant. The team also used Simulink Coder™ and Embedded Coder™ to automatically generate and deploy code onto a Texas Instruments™ (DM64X) DSP.
USC graduate student Neha Parikh and her colleagues began by using MATLAB and Image Processing Toolbox™ to rapidly test new ideas and develop proof-of-concept algorithms on static images.
The team then uses Simulink and Computer Vision System Toolbox to incorporate their algorithms into complete systems that process video streams from a camera affixed to eye glasses worn by implant recipients.
Parikh simulated algorithms in Simulink, examining input and output streams as well as intermediate results to simplify debugging and optimization. She then used Simulink Coder to generate a real-time C implementation of her model. Embedded Coder enabled Parikh to deploy the code to a TI DSP. Embedded Coder was used to verify and debug the DSP software in TI’s Code Composer Studio™ embedded software development environment.
At Second Sight Medical Products, Inc., engineers used MATLAB to facilitate psychophysical testing. Engineers created a GUI with MATLAB that clinical investigators can use to specify stimulation parameters. During stimulation, implanted patients provide feedback on the percepts generated, enabling investigators to optimize the stimulation parameters.
Advances in image processing made by Doheny Eye Institute researchers will be incorporated into the next generation of retinal prosthetics, which will be built by Second Sight Medical Products, Inc.
To develop next-generation, higher-resolution retinal prostheses
Use MathWorks tools to develop, simulate, and automatically generate code for real-time image processing algorithms