Help with creating artificial image
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello.
I want to create an artificial "slanted" image and currently use excel to enter a series of 0's and 1's.
the example in the image is what I want to try and achieve in Matlab however, I want the following parameters:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171584/image.png)
w = 60
step = 10
H = 300
0 Kommentare
Akzeptierte Antwort
Guillaume
am 27 Mär. 2018
imresize(triu(ones(30, 60)), [300, 60], 'nearest')
is probably the simplest
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!