Create Checker board pattern
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
KSSV
el 30 de Sept. de 2020
You can create your own function: https://in.mathworks.com/matlabcentral/answers/356307-how-to-create-a-checkerboard-matrix-without-inbuilt-function
Steve Eddins
el 30 de Sept. de 2020
Editada: Steve Eddins
el 30 de Sept. de 2020
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.
Respuestas (0)
Ver también
Categorías
Más información sobre Image Processing and Computer Vision en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!