InRect

Versione 1.0.1 (2,18 KB) da Omer Yuval
A fast test for finding pixels that lie within a given oriented rectangle.
17 download
Aggiornato 11 dic 2019

Visualizza la licenza

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 Linux
Versione Pubblicato Note della release
1.0.1

Added an example.

1.0.0