IMPIXEL with FIGURE TOOLS

版本 1.2.0.0 (22.6 KB) 作者: Divakar Roy
IMPIXEL_FIGTOOLS Pixel color values with figure tools on.
768.0 次下载
更新时间 2012/11/14

查看许可证

IMPIXEL_FIGTOOLS works very much like the MATLAB's in-built function IMPIXEL and lets you use the important figure toolbar features like Zoom In, Zoom Out, Pan, Rotate and Data Cursor, which are not available with IMPXEL. As of now, IMPIXEL_FIGTOOLS only supports functionality of inputting one input, which has to be the image data.

In the syntax below, IMPIXEL_FIGTOOLS displays the input image and waits for you to specify the pixels with the mouse:
P = IMPIXEL_FIGTOOLS(I)
Here P is the matrix of pixel values and I is the image data.

When you finish selecting pixels, IMPIXEL_FIGTOOLS returns an M-by-3 matrix of RGB values in the supplied output argument. If you do not supply an output argument, IMPIXEL_FIGTOOLS returns the matrix in ANS.

Class Support
-------------
The input image can be uint8. Though not tested, I would assume it to work well with these formats too - uint16, int16, double, single and logical.

The only output is double.

Example
-------
RGB = imread('peppers.png');
pixels = impixel_figtools(RGB)

Feedback / Bugs / How-this-helped / How-this-sucked / How-this-could_be_improved / Anything about it are MOST welcome.

引用格式

Divakar Roy (2024). IMPIXEL with FIGURE TOOLS (https://www.mathworks.com/matlabcentral/fileexchange/38992-impixel-with-figure-tools), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2011b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Data Exploration 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.2.0.0

Added acknowledgment for the code that inspired this one, which didn't go through earlier.

1.1.0.0

Added acknowledgment for the code that inspired this one.

1.0.0.0