circle_matrix(image​,radius, center, value, thickness)

버전 1.1.0.0 (1.52 KB) 작성자: Jitendra Mishra
circle_matrix help to create circle or ring matrix
다운로드 수: 75
업데이트 날짜: 2016/2/25

라이선스 보기

This file help to create a circle or ring matrix and also draw circle in gray and color image with different intensity value.
Example 1:-
---------------------------------------------
a = imread('lena.tif');
center = [50,300];
color = [255,255,0];
Z = circle_matrix(a, 150, center, color, 5);
imshow(Z)
----------------------------------------------
example 2:-
---------------------------------------------------------
image = uint8(255*ones(512));
center = [75, 150];
image1 = circle_matrix(image, 100); % circle with radius 100
image2 = circle_matrix(image, 100, center); % circle with radius 100 at center(75, 150)
image3 = circle_matrix(image, 100, center, 40);
image4 = circle_matrix(image, 100, center, 40, 40);
subplot(221),imshow(image1)
subplot(222),imshow(image2)
subplot(223),imshow(image3)
subplot(224),imshow(image4)
-----------------------------------------------------

인용 양식

Jitendra Mishra (2026). circle_matrix(image,radius, center, value, thickness) (https://kr.mathworks.com/matlabcentral/fileexchange/55534-circle_matrix-image-radius-center-value-thickness), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2006a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Read, Write, and Modify Image에 대해 자세히 알아보기
도움

도움 받은 파일: Draw a circle.

버전 게시됨 릴리스 정보
1.1.0.0

new parameter "center" is add so you create circle (fill or ring type) in any location in image or matrix.

1.0.0.0

sample example