opencv 2.4.8中imwrite的Java CV_IMWRITE_JPEG_QUALITY用法

时间:2017-08-31 17:26:35

标签: java opencv arraylist

我尝试使用以下代码为Java 1.8x中的Opencv 2.4.8(暂时不能使用更高版本)中的图像设置压缩级别:

 "error: incompatible types: ArrayList<Integer> cannot be converted to MatOfInt
        Highgui.imwrite("temp.jpg", image_entry, parameters);" 

编译时我目前正在:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto enp4s0
iface enp4s0 inet static
  address 192.168.1.115
  netmask 255.255.255.0
  network 192.168.1.0
  broadcast 192.168.1.255
  gateway 192.168.1.1
  dns-nameserver 8.8.8.8 8.8.4.4

auto enx00ee22aa05d2
iface enx00ee22aa05d2 inet static
  address 192.168.21.1
  netmask 255.255.255.0
  network 192.168.21.0
  broadcast 192.168.21.255
  gateway 192.168.21.1

有什么建议吗?

0 个答案:

没有答案