Curriculum Module
Created with R2025a. Compatible with R2025a and later releases.
In this module, we will learn how to import, preprocess, and segment biologically relevant images using MATLAB®.
You can use these live scripts as demonstrations in lectures, class activities, or interactive assignments outside class. This module will teach students how to apply image processing methods to biologically relevant data. We will explore image data storage and image segmentation with plant images and then count the number of red blood cells.
The instructions inside the live scripts will guide you through the exercises and activities. Get started with each live script by running it one section at a time. To stop running the script or a section midway (for example, when an animation is in progress), use the
Stop button in the RUN section of the Live Editor tab in the MATLAB Toolstrip.
These plain-text live scripts require MATLAB R2025a or newer. For MATLAB R2024b or older, download the legacy MLX version.
Contact the MathWorks Educator Content Development Team if you would like to request assistance, provide feedback, or if you have a question.
Make sure you're familiar with the basics of using MATLAB by going through the MATLAB Onramp before continuing. You'll need to utilize the Image Processing Toolbox for this module. You may want to consider going through the Image Processing Onramp for further practice.
Use the
link to download the module. You will be prompted to log in or create a MathWorks account. The project will be loaded, and you will see an app with several navigation options to get you started.
Download or clone this repository. Open MATLAB, navigate to the folder containing these scripts and double-click on BiosciencesImageProcessing.prj. It will add the appropriate files to your MATLAB path and open an app that asks you where you would like to start.
Ensure you have all the required products (listed below) installed. If you need to include a product, add it using the Add-On Explorer. To install an add-on, go to the Home tab and select
Add-Ons > Get Add-Ons.
MATLAB® is used throughout. Tools from the Image Processing Toolbox™ are used frequently as well.
|
In this script, students will... |
Academic disciplines |
|
In this script, students will... |
Academic disciplines |
|
In this script, students will... |
Academic disciplines |
Instructor guides contain paired solutions and student-distribution tools.
The license for this module is available in the LICENSE.md.
| Courseware |
Location |
|
|---|---|---|
| Biosciences: Working With Data |
|
Available on: GitHub |
| Biosciences: Statistical Methods |
|
Available on: GitHub |
| Biosciences: Machine Learning |
|
Available on: GitHub |
| Biosciences: Genetics |
|
Available on: GitHub |
Or feel free to explore our other modular courseware content.
Looking for more? Find an issue? Have a suggestion? Please contact the MathWorks Educator Content Development Team. If you want to contribute directly to this project, you can find information about how to do so in the CONTRIBUTING.md page.
Share your feedback to help us improve this module.
© Copyright 2023-2026 The MathWorks, Inc.







