Real-time Magnifying Glass: An Interactive Animation Example

버전 1.0.0.0 (244 KB) 작성자: Mingjing Zhang
A real-time mouse-following magnifying glass of several different shapes
다운로드 수: 732
업데이트 날짜: 2012/3/3

라이선스 보기

This program demonstrates how to implement a not-so-simple real time magnifying glass.

How to use:
-----------
just type:

magnifier

or

magnifier(mask, FPS)

where
mask is the shape of the magnifying glass which takes one of the following values:

"circle" - unsmoothed circular window
"aacircle" - smoothed circular window (default)
"gaussian" - guassian window
other string value - rectangular window

FPS defines how many time the position of the magnifying glass should be updated per second. By default, its value is 20.

---

The picture used in this program was taken from the A-li comic book series drawn by Xu Han (aka "Hans").

The Chinese text on the top left corner reads:
"On the Friday morning, A-li (roughly equivalent to 'foxy' in English) hung himself on the clothes rope, in an attempt to pull his ears longer...

-It was said that he fell in love with the rabbit."
---

인용 양식

Mingjing Zhang (2024). Real-time Magnifying Glass: An Interactive Animation Example (https://www.mathworks.com/matlabcentral/fileexchange/35441-real-time-magnifying-glass-an-interactive-animation-example), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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