How to use bwlabel or regionprops with cellfun ?
3 views (last 30 days)
Show older comments
Avinash Suresh kumar
on 11 Aug 2015
Commented: Image Analyst
on 16 Aug 2015
Hi, I have an image divided into small blocks using mat2cell. Now i want to perform bwlabel on each block(cell). bwlabel doesn't accept cell as input. So how do i do it? I need to find particles in each of these blocks ! Thank you
0 Comments
Accepted Answer
Image Analyst
on 11 Aug 2015
Is the image already a binary image? A block is a small image and bwlabel() will work on a small image. Why not use blockproc() instead? I've attached two examples.
7 Comments
Image Analyst
on 11 Aug 2015
We don't have internet up there yet so it will be sporadic. I will come home in a day or two and go back and forth a bit (it's 90 minute drive away) over the next week or so. In the meantime, if you get stuck, attach any m-file and data or images that would be needed to run your script.
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!