InRect

Version 1.0.1 (2,18 ko) par Omer Yuval
A fast test for finding pixels that lie within a given oriented rectangle.
16 téléchargements
Mise à jour 11 déc. 2019

Afficher la licence

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.

Citation pour cette source

Omer Yuval (2024). InRect (https://www.mathworks.com/matlabcentral/fileexchange/73650-inrect), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2019b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Import, Export, and Conversion dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.1

Added an example.

1.0.0