imreadui

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - User interface
Introduced first in SolidGeometry 1.0, Creation date: 2012-11-05, Last change: 2025-09-14

reads an image file and opens dialogs to clip and scale the image

Description

This procedure has been developed for measure features in gear pictures

See Also: VLFLui , SGui , immeasureui , imreadlastchanged

Example Illustration

 missing image of imreadui(fname,clip)

Syntax

[I,ax]=imreadui([fname,clip])

Input Parameter

fname: filename optional; default is user request
clip: clipping frame; default is user selection

Output Parameter

I: Clipped Image
ax: Axes of the clipped and scaled image

Examples

Just try different parameter use:
[I,ax]=imreadui;
[I,ax]=imreadui('FUTABA1.JPG');
[I,ax]=imreadui('FUTABA1.JPG',[152 578 235 617]);




Copyright 2012-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21