error message when using graycomatrix()
조회 수: 1 (최근 30일)
이전 댓글 표시
comatrix = graycomatrix(imgray_in((row - ((window_size -1)/2)):
(row + ((window_size -1)/2)),(col - ((window_size - 1)/2)):
(col + ((window_size -1)/2))),'NumLevels',nb_graylevels,'Offset',direction); when i'm implementing this type of function ,it gives error message.
Error: File: cooccurrence_new.m Line: 40 Column: 63
Expression or statement is incorrect--possibly unbalanced (, {, or [.
can you please tell me what is the reason for this and how can i solve this.
what is the column: 63.
댓글 수: 0
답변 (1개)
Image Analyst
2013년 10월 5일
What you do is to count up all the left parentheses, and right parentheses - they should be the same number. Apparently you don't have that because that's what it's complaining about.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!