Turning off Double Click for Impixel

So the reference page for Impixel states:
"To finish selecting pixels, adding a final pixel, press shift-click, right-click, or double-click. To finish selecting pixels without adding a final pixel, press Return."
I would call impixel without the ability to finish selecting pixels by pressing shift-click, right-click or double click. In short I would like a user to only be able to finish selecting pixels by pressing Enter/Return. Can anyone think of a way I could do this?

回答 (1 件)

Kaarlo
Kaarlo 2023 年 2 月 14 日

0 投票

You could use ginput instead of impixel, but the drawback is that you will not see what pixels you have already selected.

1 件のコメント

Walter Roberson
Walter Roberson 2023 年 2 月 14 日
You can loop ginput one point at a time

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

カテゴリ

ヘルプ センター および File ExchangeImage Processing Toolbox についてさらに検索

質問済み:

2018 年 1 月 11 日

コメント済み:

2023 年 2 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by