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.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.