While using createMask() function the following error is occuring ? what may be the reason for this? how can I solve this?
조회 수: 3 (최근 30일)
이전 댓글 표시
While using createMask() function the following error is occuring.
"Undefined function or variable 'createMask'."
Error in smoothening (line 26) BW = createMask(l_i);
댓글 수: 0
답변 (1개)
BhaTTa
2025년 7월 18일
Toolbox Missing/Not Installed: createMask is part of the Image Processing Toolbox. If you don't have this toolbox installed, or your MATLAB license doesn't include it, you'll get this error.
Incorrect Usage: createMask is usually a method of an ROI (Region of Interest) object (e.g., imrect, imellipse, drawrectangle, drawcircle). You don't call it directly with an image, I assume that l_i is an image and not a ROI object.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 PHY Components에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!