InRect
Versione 1.0.1 (2,18 KB) da
Omer Yuval
A fast test for finding pixels that lie within a given oriented rectangle.
InRect takes four subscript indices corresponding to rectangle vertices and the number of rows of the sampled image/matrix, and returns a row vector of linear indices corresponding to pixels that lie within the rectangle.
This simple algorithm is very useful for performing a fast convolution of a rectangle over an image.
Cita come
Omer Yuval (2026). InRect (https://it.mathworks.com/matlabcentral/fileexchange/73650-inrect), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2019b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Import, Export, and Conversion in Help Center e MATLAB Answers
Tag
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
