Difference between morphological operations in matlab and simulink
1 次查看(过去 30 天)
显示 更早的评论
Hey all,
I got some issues concerning the simulink morphological block erode . I'm using a 3x3 neighborhood the for the operation ( strel('square',3) is set at the function block parameters ). Everything is just working fine as long as the found object points aren't located at the image borders. If they're, the outcome of the block erode still contains the border points of the image, but actually due to the erode operation they should have been gone. Am I not fully understanding the block or what's my basic mistake here? If I'm using the matlab function bwmorph() for eroding the image, it gives me the desired outcome, which I'm actually expecting.
If it can't be fixed, I'll have to implement the operation as a matlab function block in simulink. If I do so, can anyone tell me about the runtime increse or decrease, that I'm getting? The final algorithm will be compiled to a rapid prototyping platform via a simulink interface.
Best regards!
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision with Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!