imshow

OpenCVは、オープンソースのコンピュータビジョンライブラリ。

OpenCV
ユーザインタフェース — opencv v2.1 documentation
OpenCVのインストール方法(Linux)
IDEを使わずにOpenCVを使ったC++ソースファイルをビルドする - Qiita

imshowで画像を表示する。

$ yum search opencv
============================ 名前 完全一致: opencv =============================
opencv.i686 : Collection of algorithms for computer vision
opencv.x86_64 : Collection of algorithms for computer vision
=========================== 概要 & 名前 一致: opencv ===========================
opencv-core.i686 : OpenCV core libraries
opencv-core.x86_64 : OpenCV core libraries
opencv-contrib.i686 : OpenCV contributed functionality
opencv-contrib.x86_64 : OpenCV contributed functionality
frei0r-plugins-opencv.x86_64 : Frei0r plugins using OpenCV
libfreenect-opencv.i686 : OpenCV bindings for libfreenect
libfreenect-opencv.x86_64 : OpenCV bindings for libfreenect
python2-opencv.x86_64 : Python2 bindings for apps which use OpenCV
python3-opencv.x86_64 : Python3 bindings for apps which use OpenCV
opencv-devel.i686 : Development files for using the OpenCV library
opencv-devel.x86_64 : Development files for using the OpenCV library
============================== 名前 一致: opencv ===============================
opencv-doc.noarch : docs files
============================== 概要 一致: opencv ===============================
php-facedetect.x86_64 : PHP extension to access the OpenCV library
waifu2x-converter-cpp.i686 : Image Super-Resolution for Anime-style art using
                           : OpenCL and OpenCV
waifu2x-converter-cpp.x86_64 : Image Super-Resolution for Anime-style art using
                             : OpenCL and OpenCV
$

まず、"opencv"で検索するとそれなりに。

$ sudo yum install opencv-devel
[sudo] bg1 のパスワード:
メタデータの期限切れの最終確認: x:xx:xx 時間前の xxxx年xx月xx日 xx時xx分xx秒 に実施しました。
依存関係が解決しました。
================================================================================
 パッケージ                    アーキテクチャー
                                         バージョン            リポジトリ サイズ
================================================================================
インストール:
 opencv-devel                  x86_64    3.4.1-6.fc29          fedora     881 k
依存関係をインストール中:
 armadillo                     x86_64    9.600.6-1.fc29        updates     27 k
 coin-or-CoinUtils             x86_64    2.10.14-2.fc29        updates    511 k
 gdal-libs                     x86_64    2.3.2-1.fc29          updates    7.2 M
 libaec                        x86_64    1.0.4-1.fc29          updates     35 k
 libva                         x86_64    2.4.1-1.fc29          updates     80 k
 mariadb-connector-c           x86_64    3.1.5-1.fc29          updates    196 k
 mariadb-connector-c-config    noarch    3.1.5-1.fc29          updates     11 k
 postgresql-libs               x86_64    10.10-1.fc29          updates    255 k
 unixODBC                      x86_64    2.3.7-2.fc29          updates    410 k
 uriparser                     x86_64    0.9.3-1.fc29          updates     58 k
 CharLS                        x86_64    1.0-17.fc29           fedora      68 k
 SuperLU                       x86_64    5.2.1-5.fc29          fedora     171 k
 arpack                        x86_64    3.5.0-6.fc28          fedora     195 k
 blas                          x86_64    3.8.0-10.fc29         fedora     418 k
 cfitsio                       x86_64    3.450-2.fc29          fedora     562 k
 coin-or-Clp                   x86_64    1.16.10-6.fc28        fedora     956 k
 coin-or-Osi                   x86_64    0.107.8-8.fc29        fedora     310 k
 freexl                        x86_64    1.0.5-2.fc29          fedora      35 k
 gdcm                          x86_64    2.8.4-10.fc29         fedora     1.6 M
 geos                          x86_64    3.6.1-10.fc29         fedora     607 k
 hdf5                          x86_64    1.8.20-4.fc29         fedora     1.8 M
 lapack                        x86_64    3.8.0-10.fc29         fedora     8.6 M
 libdap                        x86_64    3.19.1-2.fc29         fedora     673 k
 libdc1394                     x86_64    2.2.2-11.fc29         fedora     122 k
 libgeotiff                    x86_64    1.4.0-14.fc29         fedora     707 k
 libgta                        x86_64    1.0.7-8.fc29          fedora      37 k
 libkml                        x86_64    1.3.0-14.fc29         fedora     364 k
 libspatialite                 x86_64    4.3.0a-9.fc29         fedora     2.6 M
 libucil                       x86_64    0.9.10-17.fc29        fedora      72 k
 libunicap                     x86_64    0.9.12-22.fc29        fedora     124 k
 minizip                       x86_64    1.2.11-14.fc29        fedora      29 k
 netcdf                        x86_64    4.4.1.1-10.fc29       fedora     737 k
 ogdi                          x86_64    3.2.1-2.fc29          fedora     275 k
 openblas-openmp               x86_64    0.3.3-2.fc29          fedora     4.6 M
 openblas-threads              x86_64    0.3.3-2.fc29          fedora     4.5 M
 openblas-threads64_           x86_64    0.3.3-2.fc29          fedora     4.5 M
 opencv                        x86_64    3.4.1-6.fc29          fedora     1.6 M
 opencv-contrib                x86_64    3.4.1-6.fc29          fedora     3.7 M
 opencv-core                   x86_64    3.4.1-6.fc29          fedora     4.2 M
 openni                        x86_64    1.5.7.10-13.fc29      fedora     422 k
 proj                          x86_64    4.9.3-6.fc29          fedora     230 k
 tinyxml                       x86_64    2.6.2-17.fc29         fedora      56 k
 xerces-c                      x86_64    3.2.2-1.fc29          fedora     953 k

トランザクションの概要
================================================================================
インストール  44 パッケージ

ダウンロードサイズの合計: 55 M
インストール済みのサイズ: 265 M
これでよろしいですか? [y/N]: y
パッケージのダウンロード中です:
(1/44): armadillo-9.600.6-1.fc29.x86_64.rpm      11 kB/s |  27 kB     00:02    
(2/44): coin-or-CoinUtils-2.10.14-2.fc29.x86_64 159 kB/s | 511 kB     00:03    
(3/44): libaec-1.0.4-1.fc29.x86_64.rpm           20 kB/s |  35 kB     00:01    
(4/44): libva-2.4.1-1.fc29.x86_64.rpm            61 kB/s |  80 kB     00:01    
(5/44): gdal-libs-2.3.2-1.fc29.x86_64.rpm       1.5 MB/s | 7.2 MB     00:04    
(6/44): mariadb-connector-c-config-3.1.5-1.fc29  13 kB/s |  11 kB     00:00    
(7/44): mariadb-connector-c-3.1.5-1.fc29.x86_64 147 kB/s | 196 kB     00:01    
(8/44): postgresql-libs-10.10-1.fc29.x86_64.rpm 152 kB/s | 255 kB     00:01    
(9/44): uriparser-0.9.3-1.fc29.x86_64.rpm        69 kB/s |  58 kB     00:00    
(10/44): unixODBC-2.3.7-2.fc29.x86_64.rpm       204 kB/s | 410 kB     00:02    
(11/44): CharLS-1.0-17.fc29.x86_64.rpm           66 kB/s |  68 kB     00:01    
(12/44): SuperLU-5.2.1-5.fc29.x86_64.rpm         87 kB/s | 171 kB     00:01    
(13/44): arpack-3.5.0-6.fc28.x86_64.rpm         175 kB/s | 195 kB     00:01    
(14/44): blas-3.8.0-10.fc29.x86_64.rpm          212 kB/s | 418 kB     00:01    
(15/44): coin-or-Clp-1.16.10-6.fc28.x86_64.rpm  614 kB/s | 956 kB     00:01    
(16/44): cfitsio-3.450-2.fc29.x86_64.rpm        329 kB/s | 562 kB     00:01    
(17/44): coin-or-Osi-0.107.8-8.fc29.x86_64.rpm  186 kB/s | 310 kB     00:01    
(18/44): freexl-1.0.5-2.fc29.x86_64.rpm          19 kB/s |  35 kB     00:01    
(19/44): gdcm-2.8.4-10.fc29.x86_64.rpm          862 kB/s | 1.6 MB     00:01    
(20/44): geos-3.6.1-10.fc29.x86_64.rpm          322 kB/s | 607 kB     00:01    
(21/44): hdf5-1.8.20-4.fc29.x86_64.rpm          772 kB/s | 1.8 MB     00:02    
(22/44): libdap-3.19.1-2.fc29.x86_64.rpm        468 kB/s | 673 kB     00:01    
(23/44): libgeotiff-1.4.0-14.fc29.x86_64.rpm    444 kB/s | 707 kB     00:01    
(24/44): libdc1394-2.2.2-11.fc29.x86_64.rpm      69 kB/s | 122 kB     00:01    
(25/44): libgta-1.0.7-8.fc29.x86_64.rpm          23 kB/s |  37 kB     00:01    
(26/44): libkml-1.3.0-14.fc29.x86_64.rpm        213 kB/s | 364 kB     00:01    
(27/44): libucil-0.9.10-17.fc29.x86_64.rpm       39 kB/s |  72 kB     00:01    
(28/44): libunicap-0.9.12-22.fc29.x86_64.rpm     89 kB/s | 124 kB     00:01    
(29/44): libspatialite-4.3.0a-9.fc29.x86_64.rpm 744 kB/s | 2.6 MB     00:03    
(30/44): minizip-1.2.11-14.fc29.x86_64.rpm       18 kB/s |  29 kB     00:01    
(31/44): netcdf-4.4.1.1-10.fc29.x86_64.rpm      368 kB/s | 737 kB     00:02    
(32/44): lapack-3.8.0-10.fc29.x86_64.rpm        749 kB/s | 8.6 MB     00:11    
(33/44): ogdi-3.2.1-2.fc29.x86_64.rpm           209 kB/s | 275 kB     00:01    
(34/44): openblas-openmp-0.3.3-2.fc29.x86_64.rp 838 kB/s | 4.6 MB     00:05    
(35/44): openblas-threads64_-0.3.3-2.fc29.x86_6 933 kB/s | 4.5 MB     00:04    
(36/44): openblas-threads-0.3.3-2.fc29.x86_64.r 742 kB/s | 4.5 MB     00:06    
(37/44): opencv-3.4.1-6.fc29.x86_64.rpm         371 kB/s | 1.6 MB     00:04    
(38/44): opencv-devel-3.4.1-6.fc29.x86_64.rpm   481 kB/s | 881 kB     00:01    
(39/44): openni-1.5.7.10-13.fc29.x86_64.rpm     279 kB/s | 422 kB     00:01    
(40/44): opencv-contrib-3.4.1-6.fc29.x86_64.rpm 475 kB/s | 3.7 MB     00:07    
(41/44): proj-4.9.3-6.fc29.x86_64.rpm           173 kB/s | 230 kB     00:01    
(42/44): tinyxml-2.6.2-17.fc29.x86_64.rpm        44 kB/s |  56 kB     00:01    
(43/44): opencv-core-3.4.1-6.fc29.x86_64.rpm    440 kB/s | 4.2 MB     00:09    
(44/44): xerces-c-3.2.2-1.fc29.x86_64.rpm       407 kB/s | 953 kB     00:02    
--------------------------------------------------------------------------------
合計                                            1.2 MB/s |  55 MB     00:47    
トランザクションの確認を実行中
トランザクションの確認に成功しました。
トランザクションのテストを実行中
トランザクションのテストに成功しました。
トランザクションを実行中
  準備             :                                                        1/1
Installed: proj-4.9.3-6.fc29.x86_64
  インストール中   : proj-4.9.3-6.fc29.x86_64                              1/44
  scriptletの実行中: proj-4.9.3-6.fc29.x86_64                              1/44
Installed: proj-4.9.3-6.fc29.x86_64
Installed: libaec-1.0.4-1.fc29.x86_64
  インストール中   : libaec-1.0.4-1.fc29.x86_64                            2/44
Installed: libaec-1.0.4-1.fc29.x86_64
Installed: hdf5-1.8.20-4.fc29.x86_64
  インストール中   : hdf5-1.8.20-4.fc29.x86_64                             3/44
Installed: hdf5-1.8.20-4.fc29.x86_64
Installed: coin-or-CoinUtils-2.10.14-2.fc29.x86_64
  インストール中   : coin-or-CoinUtils-2.10.14-2.fc29.x86_64               4/44
Installed: coin-or-CoinUtils-2.10.14-2.fc29.x86_64
Installed: libunicap-0.9.12-22.fc29.x86_64
  インストール中   : libunicap-0.9.12-22.fc29.x86_64                       5/44
  scriptletの実行中: libunicap-0.9.12-22.fc29.x86_64                       5/44
Installed: libunicap-0.9.12-22.fc29.x86_64
Installed: geos-3.6.1-10.fc29.x86_64
  インストール中   : geos-3.6.1-10.fc29.x86_64                             6/44
  scriptletの実行中: geos-3.6.1-10.fc29.x86_64                             6/44
Installed: geos-3.6.1-10.fc29.x86_64
Installed: freexl-1.0.5-2.fc29.x86_64
  インストール中   : freexl-1.0.5-2.fc29.x86_64                            7/44
  scriptletの実行中: freexl-1.0.5-2.fc29.x86_64                            7/44
Installed: freexl-1.0.5-2.fc29.x86_64
Installed: libspatialite-4.3.0a-9.fc29.x86_64
  インストール中   : libspatialite-4.3.0a-9.fc29.x86_64                    8/44
  scriptletの実行中: libspatialite-4.3.0a-9.fc29.x86_64                    8/44
Installed: libspatialite-4.3.0a-9.fc29.x86_64
Installed: libucil-0.9.10-17.fc29.x86_64
  インストール中   : libucil-0.9.10-17.fc29.x86_64                         9/44
  scriptletの実行中: libucil-0.9.10-17.fc29.x86_64                         9/44
Installed: libucil-0.9.10-17.fc29.x86_64
Installed: coin-or-Osi-0.107.8-8.fc29.x86_64
  インストール中   : coin-or-Osi-0.107.8-8.fc29.x86_64                    10/44
  scriptletの実行中: coin-or-Osi-0.107.8-8.fc29.x86_64                    10/44
Installed: coin-or-Osi-0.107.8-8.fc29.x86_64
Installed: coin-or-Clp-1.16.10-6.fc28.x86_64
  インストール中   : coin-or-Clp-1.16.10-6.fc28.x86_64                    11/44
  scriptletの実行中: coin-or-Clp-1.16.10-6.fc28.x86_64                    11/44
Installed: coin-or-Clp-1.16.10-6.fc28.x86_64
Installed: netcdf-4.4.1.1-10.fc29.x86_64
  インストール中   : netcdf-4.4.1.1-10.fc29.x86_64                        12/44
  scriptletの実行中: netcdf-4.4.1.1-10.fc29.x86_64                        12/44
Installed: netcdf-4.4.1.1-10.fc29.x86_64
Installed: libgeotiff-1.4.0-14.fc29.x86_64
  インストール中   : libgeotiff-1.4.0-14.fc29.x86_64                      13/44
  scriptletの実行中: libgeotiff-1.4.0-14.fc29.x86_64                      13/44
Installed: libgeotiff-1.4.0-14.fc29.x86_64
Installed: ogdi-3.2.1-2.fc29.x86_64
  インストール中   : ogdi-3.2.1-2.fc29.x86_64                             14/44
Installed: ogdi-3.2.1-2.fc29.x86_64
Installed: xerces-c-3.2.2-1.fc29.x86_64
  インストール中   : xerces-c-3.2.2-1.fc29.x86_64                         15/44
Installed: xerces-c-3.2.2-1.fc29.x86_64
Installed: tinyxml-2.6.2-17.fc29.x86_64
  インストール中   : tinyxml-2.6.2-17.fc29.x86_64                         16/44
  scriptletの実行中: tinyxml-2.6.2-17.fc29.x86_64                         16/44
Installed: tinyxml-2.6.2-17.fc29.x86_64
Installed: openni-1.5.7.10-13.fc29.x86_64
  インストール中   : openni-1.5.7.10-13.fc29.x86_64                       17/44
  scriptletの実行中: openni-1.5.7.10-13.fc29.x86_64                       17/44
Installed: openni-1.5.7.10-13.fc29.x86_64
Installed: openblas-threads64_-0.3.3-2.fc29.x86_64
  インストール中   : openblas-threads64_-0.3.3-2.fc29.x86_64              18/44
  scriptletの実行中: openblas-threads64_-0.3.3-2.fc29.x86_64              18/44
Installed: openblas-threads64_-0.3.3-2.fc29.x86_64
Installed: openblas-threads-0.3.3-2.fc29.x86_64
  インストール中   : openblas-threads-0.3.3-2.fc29.x86_64                 19/44
  scriptletの実行中: openblas-threads-0.3.3-2.fc29.x86_64                 19/44
Installed: openblas-threads-0.3.3-2.fc29.x86_64
Installed: arpack-3.5.0-6.fc28.x86_64
  インストール中   : arpack-3.5.0-6.fc28.x86_64                           20/44
  scriptletの実行中: arpack-3.5.0-6.fc28.x86_64                           20/44
Installed: arpack-3.5.0-6.fc28.x86_64
Installed: openblas-openmp-0.3.3-2.fc29.x86_64
  インストール中   : openblas-openmp-0.3.3-2.fc29.x86_64                  21/44
  scriptletの実行中: openblas-openmp-0.3.3-2.fc29.x86_64                  21/44
Installed: openblas-openmp-0.3.3-2.fc29.x86_64
Installed: minizip-1.2.11-14.fc29.x86_64
  インストール中   : minizip-1.2.11-14.fc29.x86_64                        22/44
Installed: minizip-1.2.11-14.fc29.x86_64
Installed: libgta-1.0.7-8.fc29.x86_64
  インストール中   : libgta-1.0.7-8.fc29.x86_64                           23/44
  scriptletの実行中: libgta-1.0.7-8.fc29.x86_64                           23/44
Installed: libgta-1.0.7-8.fc29.x86_64
Installed: libdc1394-2.2.2-11.fc29.x86_64
  インストール中   : libdc1394-2.2.2-11.fc29.x86_64                       24/44
  scriptletの実行中: libdc1394-2.2.2-11.fc29.x86_64                       24/44
Installed: libdc1394-2.2.2-11.fc29.x86_64
Installed: libdap-3.19.1-2.fc29.x86_64
  インストール中   : libdap-3.19.1-2.fc29.x86_64                          25/44
  scriptletの実行中: libdap-3.19.1-2.fc29.x86_64                          25/44
Installed: libdap-3.19.1-2.fc29.x86_64
Installed: cfitsio-3.450-2.fc29.x86_64
  インストール中   : cfitsio-3.450-2.fc29.x86_64                          26/44
  scriptletの実行中: cfitsio-3.450-2.fc29.x86_64                          26/44
Installed: cfitsio-3.450-2.fc29.x86_64
Installed: blas-3.8.0-10.fc29.x86_64
  インストール中   : blas-3.8.0-10.fc29.x86_64                            27/44
  scriptletの実行中: blas-3.8.0-10.fc29.x86_64                            27/44
Installed: blas-3.8.0-10.fc29.x86_64
Installed: lapack-3.8.0-10.fc29.x86_64
  インストール中   : lapack-3.8.0-10.fc29.x86_64                          28/44
  scriptletの実行中: lapack-3.8.0-10.fc29.x86_64                          28/44
Installed: lapack-3.8.0-10.fc29.x86_64
Installed: SuperLU-5.2.1-5.fc29.x86_64
  インストール中   : SuperLU-5.2.1-5.fc29.x86_64                          29/44
Installed: SuperLU-5.2.1-5.fc29.x86_64
Installed: armadillo-9.600.6-1.fc29.x86_64
  インストール中   : armadillo-9.600.6-1.fc29.x86_64                      30/44
Installed: armadillo-9.600.6-1.fc29.x86_64
Installed: CharLS-1.0-17.fc29.x86_64
  インストール中   : CharLS-1.0-17.fc29.x86_64                            31/44
  scriptletの実行中: CharLS-1.0-17.fc29.x86_64                            31/44
Installed: CharLS-1.0-17.fc29.x86_64
Installed: gdcm-2.8.4-10.fc29.x86_64
  インストール中   : gdcm-2.8.4-10.fc29.x86_64                            32/44
  scriptletの実行中: gdcm-2.8.4-10.fc29.x86_64                            32/44
Installed: gdcm-2.8.4-10.fc29.x86_64
Installed: uriparser-0.9.3-1.fc29.x86_64
  インストール中   : uriparser-0.9.3-1.fc29.x86_64                        33/44
Installed: uriparser-0.9.3-1.fc29.x86_64
Installed: libkml-1.3.0-14.fc29.x86_64
  インストール中   : libkml-1.3.0-14.fc29.x86_64                          34/44
  scriptletの実行中: libkml-1.3.0-14.fc29.x86_64                          34/44
Installed: libkml-1.3.0-14.fc29.x86_64
Installed: unixODBC-2.3.7-2.fc29.x86_64
  インストール中   : unixODBC-2.3.7-2.fc29.x86_64                         35/44
  scriptletの実行中: unixODBC-2.3.7-2.fc29.x86_64                         35/44
Installed: unixODBC-2.3.7-2.fc29.x86_64
Installed: postgresql-libs-10.10-1.fc29.x86_64
  インストール中   : postgresql-libs-10.10-1.fc29.x86_64                  36/44
  scriptletの実行中: postgresql-libs-10.10-1.fc29.x86_64                  36/44
Installed: postgresql-libs-10.10-1.fc29.x86_64
Installed: mariadb-connector-c-config-3.1.5-1.fc29.noarch
  インストール中   : mariadb-connector-c-config-3.1.5-1.fc29.noarch       37/44
Installed: mariadb-connector-c-config-3.1.5-1.fc29.noarch
Installed: mariadb-connector-c-3.1.5-1.fc29.x86_64
  インストール中   : mariadb-connector-c-3.1.5-1.fc29.x86_64              38/44
Installed: mariadb-connector-c-3.1.5-1.fc29.x86_64
Installed: gdal-libs-2.3.2-1.fc29.x86_64
  インストール中   : gdal-libs-2.3.2-1.fc29.x86_64                        39/44
  scriptletの実行中: gdal-libs-2.3.2-1.fc29.x86_64                        39/44
Installed: gdal-libs-2.3.2-1.fc29.x86_64
Installed: libva-2.4.1-1.fc29.x86_64
  インストール中   : libva-2.4.1-1.fc29.x86_64                            40/44
Installed: libva-2.4.1-1.fc29.x86_64
Installed: opencv-contrib-3.4.1-6.fc29.x86_64
  インストール中   : opencv-contrib-3.4.1-6.fc29.x86_64                   41/44
Installed: opencv-contrib-3.4.1-6.fc29.x86_64
Installed: opencv-core-3.4.1-6.fc29.x86_64
  インストール中   : opencv-core-3.4.1-6.fc29.x86_64                      42/44
Installed: opencv-core-3.4.1-6.fc29.x86_64
Installed: opencv-3.4.1-6.fc29.x86_64
  インストール中   : opencv-3.4.1-6.fc29.x86_64                           43/44
Installed: opencv-3.4.1-6.fc29.x86_64
Installed: opencv-devel-3.4.1-6.fc29.x86_64
  インストール中   : opencv-devel-3.4.1-6.fc29.x86_64                     44/44
Installed: opencv-devel-3.4.1-6.fc29.x86_64
  scriptletの実行中: opencv-devel-3.4.1-6.fc29.x86_64                     44/44
  検証             : armadillo-9.600.6-1.fc29.x86_64                       1/44
  検証             : coin-or-CoinUtils-2.10.14-2.fc29.x86_64               2/44
  検証             : gdal-libs-2.3.2-1.fc29.x86_64                         3/44
  検証             : libaec-1.0.4-1.fc29.x86_64                            4/44
  検証             : libva-2.4.1-1.fc29.x86_64                             5/44
  検証             : mariadb-connector-c-3.1.5-1.fc29.x86_64               6/44
  検証             : mariadb-connector-c-config-3.1.5-1.fc29.noarch        7/44
  検証             : postgresql-libs-10.10-1.fc29.x86_64                   8/44
  検証             : unixODBC-2.3.7-2.fc29.x86_64                          9/44
  検証             : uriparser-0.9.3-1.fc29.x86_64                        10/44
  検証             : CharLS-1.0-17.fc29.x86_64                            11/44
  検証             : SuperLU-5.2.1-5.fc29.x86_64                          12/44
  検証             : arpack-3.5.0-6.fc28.x86_64                           13/44
  検証             : blas-3.8.0-10.fc29.x86_64                            14/44
  検証             : cfitsio-3.450-2.fc29.x86_64                          15/44
  検証             : coin-or-Clp-1.16.10-6.fc28.x86_64                    16/44
  検証             : coin-or-Osi-0.107.8-8.fc29.x86_64                    17/44
  検証             : freexl-1.0.5-2.fc29.x86_64                           18/44
  検証             : gdcm-2.8.4-10.fc29.x86_64                            19/44
  検証             : geos-3.6.1-10.fc29.x86_64                            20/44
  検証             : hdf5-1.8.20-4.fc29.x86_64                            21/44
  検証             : lapack-3.8.0-10.fc29.x86_64                          22/44
  検証             : libdap-3.19.1-2.fc29.x86_64                          23/44
  検証             : libdc1394-2.2.2-11.fc29.x86_64                       24/44
  検証             : libgeotiff-1.4.0-14.fc29.x86_64                      25/44
  検証             : libgta-1.0.7-8.fc29.x86_64                           26/44
  検証             : libkml-1.3.0-14.fc29.x86_64                          27/44
  検証             : libspatialite-4.3.0a-9.fc29.x86_64                   28/44
  検証             : libucil-0.9.10-17.fc29.x86_64                        29/44
  検証             : libunicap-0.9.12-22.fc29.x86_64                      30/44
  検証             : minizip-1.2.11-14.fc29.x86_64                        31/44
  検証             : netcdf-4.4.1.1-10.fc29.x86_64                        32/44
  検証             : ogdi-3.2.1-2.fc29.x86_64                             33/44
  検証             : openblas-openmp-0.3.3-2.fc29.x86_64                  34/44
  検証             : openblas-threads-0.3.3-2.fc29.x86_64                 35/44
  検証             : openblas-threads64_-0.3.3-2.fc29.x86_64              36/44
  検証             : opencv-3.4.1-6.fc29.x86_64                           37/44
  検証             : opencv-contrib-3.4.1-6.fc29.x86_64                   38/44
  検証             : opencv-core-3.4.1-6.fc29.x86_64                      39/44
  検証             : opencv-devel-3.4.1-6.fc29.x86_64                     40/44
  検証             : openni-1.5.7.10-13.fc29.x86_64                       41/44
  検証             : proj-4.9.3-6.fc29.x86_64                             42/44
  検証             : tinyxml-2.6.2-17.fc29.x86_64                         43/44
  検証             : xerces-c-3.2.2-1.fc29.x86_64                         44/44

インストール済み:
  opencv-devel-3.4.1-6.fc29.x86_64                                              
  armadillo-9.600.6-1.fc29.x86_64                                              
  coin-or-CoinUtils-2.10.14-2.fc29.x86_64                                      
  gdal-libs-2.3.2-1.fc29.x86_64                                                
  libaec-1.0.4-1.fc29.x86_64                                                    
  libva-2.4.1-1.fc29.x86_64                                                    
  mariadb-connector-c-3.1.5-1.fc29.x86_64                                      
  mariadb-connector-c-config-3.1.5-1.fc29.noarch                                
  postgresql-libs-10.10-1.fc29.x86_64                                          
  unixODBC-2.3.7-2.fc29.x86_64                                                  
  uriparser-0.9.3-1.fc29.x86_64                                                
  CharLS-1.0-17.fc29.x86_64                                                    
  SuperLU-5.2.1-5.fc29.x86_64                                                  
  arpack-3.5.0-6.fc28.x86_64                                                    
  blas-3.8.0-10.fc29.x86_64                                                    
  cfitsio-3.450-2.fc29.x86_64                                                  
  coin-or-Clp-1.16.10-6.fc28.x86_64                                            
  coin-or-Osi-0.107.8-8.fc29.x86_64                                            
  freexl-1.0.5-2.fc29.x86_64                                                    
  gdcm-2.8.4-10.fc29.x86_64                                                    
  geos-3.6.1-10.fc29.x86_64                                                    
  hdf5-1.8.20-4.fc29.x86_64                                                    
  lapack-3.8.0-10.fc29.x86_64                                                  
  libdap-3.19.1-2.fc29.x86_64                                                  
  libdc1394-2.2.2-11.fc29.x86_64                                                
  libgeotiff-1.4.0-14.fc29.x86_64                                              
  libgta-1.0.7-8.fc29.x86_64                                                    
  libkml-1.3.0-14.fc29.x86_64                                                  
  libspatialite-4.3.0a-9.fc29.x86_64                                            
  libucil-0.9.10-17.fc29.x86_64                                                
  libunicap-0.9.12-22.fc29.x86_64                                              
  minizip-1.2.11-14.fc29.x86_64                                                
  netcdf-4.4.1.1-10.fc29.x86_64                                                
  ogdi-3.2.1-2.fc29.x86_64                                                      
  openblas-openmp-0.3.3-2.fc29.x86_64                                          
  openblas-threads-0.3.3-2.fc29.x86_64                                          
  openblas-threads64_-0.3.3-2.fc29.x86_64                                      
  opencv-3.4.1-6.fc29.x86_64                                                    
  opencv-contrib-3.4.1-6.fc29.x86_64                                            
  opencv-core-3.4.1-6.fc29.x86_64                                              
  openni-1.5.7.10-13.fc29.x86_64                                                
  proj-4.9.3-6.fc29.x86_64                                                      
  tinyxml-2.6.2-17.fc29.x86_64                                                  
  xerces-c-3.2.2-1.fc29.x86_64                                                  

完了しました!
$

インストール。
かなりたくさんのライブラリが必要みたいである。

imreadで読み込んだ"test.bmp"をimshowで表示。
キー入力すると表示ウィンドウが閉じてプログラムが終了。

実行すると"test.bmp"がこのように表示される
実行すると"test.bmp"がこのように表示される

実行すると"test.bmp"がこのように表示される。

キー入力すると閉じてプログラムが終了
キー入力すると閉じてプログラムが終了

キー入力すると閉じてプログラムが終了。
ただ、ウィンドウをこっちで閉じてしまうとプロセスは動いたままで待ち状態のままになってしまう模様。

Sample/opencv/imshow/imshow/src/imshow at master · bg1bgst333/Sample · GitHub