BinImg(i,j)== BinImg(i,j+1)
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How can I solve this error?
Index in position 1 is invalid. Array indices must be positive integers or logical values.
Error in Article_LicencePlate_Detecting (line 50)
if BinImg(i,j)== BinImg(i,j+1)
for i=0:194
c=0;
for j=0:258
if BinImg(i,j)== BinImg(i,j+1)
c=c+1;
count(i)=c;
end
end
if count(i)<30
for j=0:259
BinImg(i,j)=0;
LicenceImg=BinImg;
end
else
LicenceImg=BinImg;
end
end
0 comentarios
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices 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!