Vision Get Centroid Pose Vision Gray Threshold navigation bar

Table of Contents

Vision Get Iplimage Data

Beta

This block is currently a beta version. If you are using this block, we would appreciate any feedback at tech@quanser.com.

Extracts raw image data from the input image.

Library

QUARC Targets Beta/Image Processing/Open Source Computer Vision

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

Vision Get Iplimage Data

The Vision Get Iplimage Data block takes an image as the input and returns the image data according to the specified image dimension.

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

image

A handle to an image that uses OpenCV (Open Source Computer Vision) IplImage structure.

Output Ports

image_data

Specifies image data obtained from the input image. The dimension of the data is no_of_channels x width x height.

err

This signal is negative in case of error.

Parameters and Dialog Box

Vision Get Iplimage Data

Image height

Specifies height of the output data in pixels. While streaming back image data from Linux Verdex target to the host PC, the parameter value must be 48 or lower for color image and 96 or lower for gray image.

Image width

Specifies width of the output data in pixels. While streaming back image data from Linux Verdex target to the host PC, the parameter value must be 64 or lower for color image and 96 or lower for gray image.

Channel

Specifies the number of channels of the output image data. The parameter value is 3 for color image and 1 for gray image.

Sample time

The sample time of the block. A sample time of 0 indicates that the block will be treated as a continuous time block. A positive sample time indicates that the block is a discrete time block with the given sample time. A sample time of -1 indicates that the block inherits its sample time.

Targets

Target Name

Compatible*

Model Referencing

Comments

QUARC Win32 Target

No

No

Not supported.

QUARC Win64 Target

No

No

Not supported.

QUARC Linux Nvidia Target

Yes

Yes

QUARC Linux QBot Platform Target

Yes

Yes

QUARC Linux QCar 2 Target

Yes

Yes

QUARC Linux QDrone 2 Target

Yes

Yes

QUARC Linux Raspberry Pi 3 Target

Yes

Yes

QUARC Linux Raspberry Pi 4 Target

Yes

Yes

QUARC Linux RT ARMv7 Target

Yes

Yes

QUARC Linux x64 Target

Yes

Yes

QUARC Linux DuoVero Target

Yes

Yes

QUARC Linux DuoVero 2016 Target

Yes

Yes

QUARC Linux Verdex Target

Yes

Yes

QUARC QNX x86 Target

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

* Compatible means that the block can be compiled for the target.

 

navigation bar