Table of Contents
Vision Load Image
This block is currently a beta version. If you are using this block, we would appreciate any feedback at tech@quanser.com. |
Loads an image from the specified file.
Library
MATLAB Command Line
Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:
qc_open_library('quarc_library_beta/Image Processing/Open Source Computer Vision')Description
The Vision Load Image block loads an image from the specified file and returns the handle to the loaded image.
In order to use this block, be sure to follow the instructions described on the Vision Capture Image page, and take careful note of the limitations.
Input Ports
This block has no input ports.
Output Ports
image
A handle to the loaded image. It uses OpenCV (Open Source Computer Vision) IplImage structure to store image data.
err
The error signal returns a negative value in case of failure to load the image from the specified file.
Parameters and Dialog Box
Filename
Name of the file to be loaded. The supported file formats are: JPEG, JPG, and JPE.
Targets
Target Name |
Compatible* |
Model Referencing |
Comments |
---|---|---|---|
No |
No |
Not supported. |
|
No |
No |
Not supported. |
|
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
Yes |
Yes |
||
No |
No |
Not supported. |
|
Rapid Simulation (RSIM) Target |
No |
No |
Not supported. |
S-Function Target |
No |
N/A |
Old technology. Use model referencing instead. |
Normal simulation |
Yes |
Yes |
Copyright ©2024 Quanser Inc. This page was generated 2024-10-17. Submit feedback to Quanser about this page.
Link to this page.