sz means in image segmentation
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
img=zeros(sz(1),sz(2));
can someone help me explain about this code?
2 Kommentare
Erivelton Gualter
am 19 Nov. 2019
what is sz meaning?
Here is a documentation for function zeros: https://www.mathworks.com/help/matlab/ref/zeros.html
Antworten (2)
Erivelton Gualter
am 19 Nov. 2019
Let's say you have size = [300 400]. So, img is a matrix of zeros with this size. than you might show.
Try the following code:
sz = [300 400];
img=zeros(sz(1),sz(2));
imshow(img)
0 Kommentare
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!