【文件属性】:
文件名称:matlab改变代码颜色-QImageMatConvert:Mat(opencv)和QImage(Qt)转换
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-26 07:15:27
系统开源
matlab改变代码颜色
Mat-QImage
conversion
This
project
based
on
Qt
and
opencv.
The
mwArray
convert
to
Mat
and
QImage
is
moved
to
.
Introduction:
The
QImage(Qt)
and
Mat(opencv)
can
be
convert
to
each
other
in
this
function.
It
can
use
deep
copy
(the
data
don't
share
the
same
memory)
or
shadow
copy
(the
data
share
the
same
memory)
to
do
conversion.
PAY
ATTENTION:
When
the
QImage::format
==
QImage::Format_RGB888,
using
shadow
copy
will
change
the
src
data,
because
the
RGB
pixel
order
between
QImage
and
Ma
【文件预览】:
QImageMatConvert-master
----.gitignore(31B)
----README.md(2KB)
----test()
--------tst_qimagematconvert.cpp(11KB)
--------img()
--------test.pro(299B)
----mat_qimage_convert.h(690B)
----mat_qimage_convert.cpp(2KB)