Effacer les filtres
Effacer les filtres

Help with creating artificial image

1 vue (au cours des 30 derniers jours)
Jason
Jason le 27 Mar 2018
Commenté : Jason le 27 Mar 2018
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:
w = 60
step = 10
H = 300

Réponse acceptée

Guillaume
Guillaume le 27 Mar 2018
imresize(triu(ones(30, 60)), [300, 60], 'nearest')
is probably the simplest

Plus de réponses (0)

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by