Research
Education
Solutions
Sign In
EN
EN - English
CN - 中文
DE - Deutsch
ES - Español
KR - 한국어
IT - Italiano
FR - Français
PT - Português
TR - Turkish
JA - Japanese
Please note that all translations are automatically generated. Click here for the English version.
54 Views
•
01:53 min
January 5th, 2024
DOI :
10.3791/200698-v
Transcript
获取具体图像后,使用 MATLAB 软件的 imread 功能将 JPEG 文件处理成 1024 x 1024 像素的矩阵,覆盖 3 个颜色通道。接下来,应用 MATLAB 函数 rgb2gray 将图像转换为灰度。根据这个公式计算每个像素的灰度值,并将灰度值保存为1024×1024逻辑格式数据的uint8格式数据。
接下来,将大于像素阈值 theta 的灰度值的二进制值调整为 1,并将小于 theta 像素的灰度值的二进制值设置为零。然后以 1024 x 1024 格式保存结
Sign in or start your free trial to access this content
Explore More Videos
From the series
Privacy
Terms of Use
Policies
Contact Us
Recommend to library
JoVE NEWSLETTERS
JoVE Journal
Methods Collections
JoVE Encyclopedia of Experiments
Archive
JoVE Core
JoVE Business
JoVE Science Education
JoVE Lab Manual
Faculty Resource Center
Authors
Librarians
Access
ABOUT JoVE
Copyright © 2024 MyJoVE Corporation. All rights reserved