hi guys how should i fix i=this code error its supposed to be changing an image to gray scale mind u this is in app designer

1 visualización (últimos 30 días)

Respuesta aceptada

Kevin Holly
Kevin Holly el 2 de Dic. de 2022
Have you tried using im2gray instead of rgb2gray?
  5 comentarios
jana
jana el 2 de Dic. de 2022
sorry i also have this low pass filter also doesnt work how can i fix it
a=(app.Image);
f1=fspecial('average',[5,5]);
I=imshow(f1,'parent',app.UIAxes2,...
'XData',[1 app.UIAxes2.Position(3)],...
'YData',[1 app.UIAxes2.Position(4)]);
app.UIAxes2.XLim=[0 I.XData(2)];
app.UIAxes2.YLim=[0 I.YData(2)];

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Desktop en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by