"This System object method does not support input of unbounded size" error for vision.BlobAnalysis
이전 댓글 표시
Hello,
I am trying to convert vision.BlobAnalysis function in MATLAB to C code by using Coder.
step function of vision.BlobAnalysis throws an error as "This System object method does not support input of unbounded size".
The inputs of the step function are a system object (i.e., blobAnalyzer) that is returned by the vision.BlobAnalysis function and a logical matrix (i.e., BW) that stores a black&white photo.
Two lines of code are given inline as follows:
blobAnalyzer = vision.BlobAnalysis('MinimumBlobArea', minsizeofcentroid);
[Area, centroid] = step(blobAnalyzer, BW);
My goal is to find the centroids of the connected objects in a given photo.
Best regards,
Yagiz
채택된 답변
추가 답변 (2개)
Yagiz Kaymak
2017년 7월 18일
0 개 추천
댓글 수: 1
Walter Roberson
2017년 7월 18일
You might need to add a coder.varsize limiting the array size
카테고리
도움말 센터 및 File Exchange에서 HDL-Optimized Algorithm Design에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!