Create Checker board pattern

3 ビュー (過去 30 日間)
agung pratama
agung pratama 2020 年 9 月 30 日
編集済み: Steve Eddins 2020 年 9 月 30 日
Hello, im using this code from Matlab help but i get error.
J = checkerboard(20);
figure
imshow(J)
>> Fringe Chessboard
Undefined function or variable 'Fringe'.
Can anyone help please
  2 件のコメント
KSSV
KSSV 2020 年 9 月 30 日
Steve Eddins
Steve Eddins 2020 年 9 月 30 日
編集済み: Steve Eddins 2020 年 9 月 30 日
There is nothing wrong with the code you have quoted from the MATLAB documentation:
J = checkerboard(20);
figure
imshow(J)
That should work as long you have the Image Processing Toolbox installed. (The Image Processing Toolbox contains the checkerboard function.)
The problem is occuring in your next line:
Fringe Chessboard
What is Fringe supposed to be? Is that your function, or a function that somebody gave you? It is not a function in MATLAB or any other MathWorks product.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing and Computer Vision についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by