Are there length filter in image processing?
2 views (last 30 days)
Show older comments
Kwanghun Choi
on 13 Nov 2017
Answered: Walter Roberson
on 13 Nov 2017
I want to remove some pixel which is shorter than a standard. I find area filter but It is not work like what I want. Are there what I want?
0 Comments
Accepted Answer
Walter Roberson
on 13 Nov 2017
There is no built-in filter for that purpose.
If you do not mind an approximation, you can regionprop to get the majoraxislength, and then drop the regions whose length is too small.
If you need something more accurate, then you need to more carefully define "length" when it comes to curved or branching groups.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!