outputImg = getImage(ocvInput)
reads the image stored in a MATLAB® interface object for an OpenCV class and writes it to the specified output
variable outputImg in the MATLAB workspace.
MATLAB interface object for an OpenCV class, specified as one of these values:
MatND interface object — Created by using the
createMat function and represents the OpenCV
cv::Mat class.
UMat interface object — Created by using the
createUMat function and represents the OpenCV
cv::UMat class.
InputArray interface object — Created by using the
createMat or createUMat function and
represents the OpenCV cv::_InputArray class. The
InputArray interface object passes array inputs to the OpenCV
functions.
InputOutputArray interface object — Created by using the
createMat or createUMat function and
represents the OpenCV cv::_InputOutputArray class. The
InputOutputArray interface object passes array inputs to the
OpenCV functions and writes the array outputs returned by the OpenCV
functions.
OutputArray interface object — Created by using the
createMat or createUMat function and
represents the OpenCV cv::_OutputArray class. The
OutputArray interface object contains the array outputs
returned by the OpenCV functions.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.