InRect

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.

인용 양식

Omer Yuval (2026). InRect (https://kr.mathworks.com/matlabcentral/fileexchange/73650-inrect), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Import, Export, and Conversion에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.1

Added an example.

1.0.0