ellipseMatrix(y0, x0, a, b, theta, im, c1, c2, pInterp)

버전 1.3.0.0 (1.48 KB) 작성자: Nicolae Cindea
Drawing an ellipse into a matrix image.
다운로드 수: 4.8K
업데이트 날짜: 2014/10/14

라이선스 보기

Set the elements of the matrix im which are in the interior of the
ellipse E to the value 'c1'. The ellipse E has center (y0, x0), the
major axis = a, the minor axis = b, and theta is the angle made by the
major axis with the orizontal axis.
ret = ellipseMatrix(y0, x0, a, b, theta, im, color)
ret is a matrix of the same size as the matrix im.
The input parameters c2 and pInterp are optional. If they are present
the ellipse will have a smoother border (of size pInterp pixels) with
variations of color between c1 and c2.
Function: ellipseMatrix
Version: 1.2
% October 14, 2014
% Author: Nicolae Cindea

인용 양식

Nicolae Cindea (2024). ellipseMatrix(y0, x0, a, b, theta, im, c1, c2, pInterp) (https://www.mathworks.com/matlabcentral/fileexchange/17499-ellipsematrix-y0-x0-a-b-theta-im-c1-c2-pinterp), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2011b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.3.0.0

fixing some typos in the description

1.2.0.0

An example of utilisation is added.

1.1.0.0

A simpler code and some new options.

1.0.0.0