フィルターのクリア

Zoom an area of an image while showing whole image

31 ビュー (過去 30 日間)
Ali Purse
Ali Purse 2018 年 10 月 19 日
コメント済み: Devyani Varshney 2024 年 1 月 3 日
May any body help me how can I zoom just an area (a circle) of an image?
For example I want show an image with a zoomed area
  1 件のコメント
Adam
Adam 2018 年 10 月 19 日
What is wrong with using the zoom option from the figure or axes toolbar?

サインインしてコメントする。

回答 (3 件)

Image Analyst
Image Analyst 2018 年 10 月 19 日
Try my attached demo where I use a scroll panel and min-image where it shows both the zoomed image and a small mini-image where the whole image is visible.

saptarshi jana
saptarshi jana 2022 年 8 月 6 日
There is an easy and simple solution for it without writing any code. from figure toolbar, 1. View>property editior 2. edit>copy figure, 3. paste it over the originial figure, 4. rescale the size and relocate the pasted figure as per your need, 5. zoom to the part which you want, 6. Insert> arrows, rectangles, etc in the main figure to indicate which part you are magnifying.
  3 件のコメント
Devyani Varshney
Devyani Varshney 2024 年 1 月 3 日
How do you paste it over the original figure in MATLAB ? could you elaborate on the steps?
Devyani Varshney
Devyani Varshney 2024 年 1 月 3 日
okay got it, instead of edit>copy figure (it was not allowing it to paste it again on original figure). I used Ctr+c and Ctr+v

サインインしてコメントする。


Jan
Jan 2018 年 10 月 19 日
  3 件のコメント
Adam
Adam 2018 年 10 月 19 日
Do you mean in two different axes? Otherwise how do you expect to show the whole image at the same time as a zoomed section?
Image Analyst
Image Analyst 2018 年 10 月 19 日
My demo has two different axes. All I can figure is that there must be a single axes on a figure that starts off small and then enlarges as the image is zoomed/magnified. However at some point the axes will take up nearly the whole screen/figure and to zoom further you'd have to give up the requirement that the whole image be visible.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeVisual Exploration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by