How can I count the number of pixels in an image that satisfy a certain condition?
1 次查看(过去 30 天)
显示 更早的评论
I am doing a project based on image processing. My image is in double format. I need to count the number of pixels in an image which satisfy a condition. For example, I need to count the number of pixels whose values are greater than say 0.1... And then I need to store that number in a variable for further processing. Please help me out. Thank you.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Filtering and Enhancement 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!