0s autopkgtest [20:52:37]: starting date and time: 2025-03-15 20:52:37+0000 0s autopkgtest [20:52:37]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [20:52:37]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.0evkp2w2/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:glibc --apt-upgrade octave-image --timeout-short=300 --timeout-copy=20000 --timeout-test=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=glibc/2.41-1ubuntu2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu4-ram8-disk100 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-25.secgroup --name adt-plucky-amd64-octave-image-20250315-205236-juju-7f2275-prod-proposed-migration-environment-2-9cb117a8-725a-46e4-a5e6-45f56237a484 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 68s autopkgtest [20:53:45]: testbed dpkg architecture: amd64 69s autopkgtest [20:53:46]: testbed apt version: 2.9.31ubuntu1 69s autopkgtest [20:53:46]: @@@@@@@@@@@@@@@@@@@@ test bed setup 69s autopkgtest [20:53:46]: testbed release detected to be: None 70s autopkgtest [20:53:47]: updating testbed package index (apt update) 70s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [126 kB] 71s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 71s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 71s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 71s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [45.1 kB] 71s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.5 kB] 71s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [369 kB] 71s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [86.6 kB] 71s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [62.1 kB] 71s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 c-n-f Metadata [1884 B] 71s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 c-n-f Metadata [116 B] 71s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [330 kB] 71s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [166 kB] 71s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 c-n-f Metadata [15.6 kB] 71s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [16.1 kB] 71s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [8544 B] 71s Get:17 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 c-n-f Metadata [628 B] 72s Fetched 1242 kB in 1s (1367 kB/s) 73s Reading package lists... 74s Reading package lists... 74s Building dependency tree... 74s Reading state information... 75s Calculating upgrade... 75s Calculating upgrade... 75s The following package was automatically installed and is no longer required: 75s libnl-genl-3-200 75s Use 'sudo apt autoremove' to remove it. 75s The following NEW packages will be installed: 75s bpftool libdebuginfod-common libdebuginfod1t64 linux-headers-6.14.0-10 75s linux-headers-6.14.0-10-generic linux-image-6.14.0-10-generic 75s linux-modules-6.14.0-10-generic linux-modules-extra-6.14.0-10-generic 75s linux-perf linux-tools-6.14.0-10 linux-tools-6.14.0-10-generic pnp.ids 75s The following packages will be upgraded: 75s apparmor apt apt-utils binutils binutils-common binutils-x86-64-linux-gnu 75s cloud-init cloud-init-base curl dosfstools exfatprogs fwupd gcc-15-base 75s gir1.2-girepository-2.0 gir1.2-glib-2.0 htop hwdata initramfs-tools 75s initramfs-tools-bin initramfs-tools-core libapparmor1 libapt-pkg7.0 75s libassuan9 libatomic1 libaudit-common libaudit1 libbinutils libbrotli1 75s libc-bin libc-dev-bin libc6 libc6-dev libcap-ng0 libctf-nobfd0 libctf0 75s libcurl3t64-gnutls libcurl4t64 libestr0 libftdi1-2 libfwupd3 libgcc-s1 75s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-data libgpgme11t64 75s libgprofng0 libjemalloc2 liblz4-1 liblzma5 libmm-glib0 libncurses6 75s libncursesw6 libnewt0.52 libnl-3-200 libnl-genl-3-200 libnl-route-3-200 75s libnss-systemd libpam-systemd libparted2t64 libpci3 libpython3-stdlib 75s libpython3.13 libpython3.13-minimal libpython3.13-stdlib libseccomp2 75s libselinux1 libsemanage-common libsemanage2 libsframe1 libsqlite3-0 75s libstdc++6 libsystemd-shared libsystemd0 libtinfo6 libudev1 libxml2 75s linux-firmware linux-generic linux-headers-generic linux-headers-virtual 75s linux-image-generic linux-image-virtual linux-libc-dev linux-tools-common 75s linux-virtual locales media-types ncurses-base ncurses-bin ncurses-term 75s parted pci.ids pciutils pinentry-curses python-apt-common python3 75s python3-apt python3-bcrypt python3-cffi-backend python3-dbus python3-gi 75s python3-jinja2 python3-lazr.uri python3-markupsafe python3-minimal 75s python3-newt python3-rpds-py python3-systemd python3-yaml python3.13 75s python3.13-gdbm python3.13-minimal rsync rsyslog strace systemd 75s systemd-cryptsetup systemd-resolved systemd-sysv systemd-timesyncd 75s ubuntu-kernel-accessories ubuntu-minimal ubuntu-standard udev whiptail 75s xz-utils 76s 126 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. 76s Need to get 829 MB of archives. 76s After this operation, 325 MB of additional disk space will be used. 76s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 ncurses-bin amd64 6.5+20250216-2 [194 kB] 76s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libc-dev-bin amd64 2.41-1ubuntu1 [24.7 kB] 76s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libc6-dev amd64 2.41-1ubuntu1 [2182 kB] 76s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 locales all 2.41-1ubuntu1 [4246 kB] 76s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libc6 amd64 2.41-1ubuntu1 [3327 kB] 77s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libc-bin amd64 2.41-1ubuntu1 [701 kB] 77s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-libc-dev amd64 6.14.0-10.10 [1723 kB] 77s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libatomic1 amd64 15-20250222-0ubuntu1 [10.4 kB] 77s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-15-base amd64 15-20250222-0ubuntu1 [53.4 kB] 77s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-s1 amd64 15-20250222-0ubuntu1 [77.8 kB] 77s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++6 amd64 15-20250222-0ubuntu1 [798 kB] 77s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 ncurses-base all 6.5+20250216-2 [25.9 kB] 77s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 ncurses-term all 6.5+20250216-2 [276 kB] 77s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 liblz4-1 amd64 1.10.0-4 [66.4 kB] 77s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 liblzma5 amd64 5.6.4-1 [157 kB] 77s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libsystemd0 amd64 257.3-1ubuntu3 [595 kB] 77s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libnss-systemd amd64 257.3-1ubuntu3 [199 kB] 77s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd-sysv amd64 257.3-1ubuntu3 [11.9 kB] 77s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd-resolved amd64 257.3-1ubuntu3 [345 kB] 77s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 libpam-systemd amd64 257.3-1ubuntu3 [302 kB] 77s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 libsystemd-shared amd64 257.3-1ubuntu3 [2371 kB] 77s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd amd64 257.3-1ubuntu3 [3052 kB] 77s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd-timesyncd amd64 257.3-1ubuntu3 [42.1 kB] 77s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 systemd-cryptsetup amd64 257.3-1ubuntu3 [124 kB] 77s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 udev amd64 257.3-1ubuntu3 [1404 kB] 77s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 libudev1 amd64 257.3-1ubuntu3 [215 kB] 77s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 libaudit-common all 1:4.0.2-2ubuntu2 [6628 B] 77s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 libcap-ng0 amd64 0.8.5-4build1 [15.6 kB] 77s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libaudit1 amd64 1:4.0.2-2ubuntu2 [54.0 kB] 77s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 libseccomp2 amd64 2.5.5-1ubuntu6 [53.5 kB] 77s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libselinux1 amd64 3.7-3ubuntu3 [87.3 kB] 77s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libapparmor1 amd64 4.1.0~beta5-0ubuntu8 [55.0 kB] 77s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 libapt-pkg7.0 amd64 2.9.33 [1138 kB] 77s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 apt amd64 2.9.33 [1439 kB] 77s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 apt-utils amd64 2.9.33 [222 kB] 77s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-minimal amd64 3.13.2-2 [27.7 kB] 77s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 python3 amd64 3.13.2-2 [24.0 kB] 77s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13 amd64 3.13.2-2 [2341 kB] 78s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 media-types all 13.0.0 [29.9 kB] 78s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 libncurses6 amd64 6.5+20250216-2 [126 kB] 78s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 libncursesw6 amd64 6.5+20250216-2 [165 kB] 78s Get:42 http://ftpmaster.internal/ubuntu plucky/main amd64 libtinfo6 amd64 6.5+20250216-2 [119 kB] 78s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 libsqlite3-0 amd64 3.46.1-2 [715 kB] 78s Get:44 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13 amd64 3.13.2-2 [735 kB] 78s Get:45 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-minimal amd64 3.13.2-2 [2365 kB] 78s Get:46 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-minimal amd64 3.13.2-2 [883 kB] 78s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-stdlib amd64 3.13.2-2 [2066 kB] 78s Get:48 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3-stdlib amd64 3.13.2-2 [10.4 kB] 78s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 rsync amd64 3.4.1+ds1-3 [482 kB] 78s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 libdebuginfod-common all 0.192-4 [15.4 kB] 78s Get:51 http://ftpmaster.internal/ubuntu plucky/main amd64 libsemanage-common all 3.7-2.1build1 [7268 B] 78s Get:52 http://ftpmaster.internal/ubuntu plucky/main amd64 libsemanage2 amd64 3.7-2.1build1 [106 kB] 78s Get:53 http://ftpmaster.internal/ubuntu plucky/main amd64 libassuan9 amd64 3.0.2-2 [43.1 kB] 78s Get:54 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-girepository-2.0 amd64 1.83.4-1 [25.3 kB] 78s Get:55 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-glib-2.0 amd64 2.84.0-1 [184 kB] 78s Get:56 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-0t64 amd64 2.84.0-1 [1669 kB] 78s Get:57 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-1.0-1 amd64 1.83.4-1 [89.5 kB] 78s Get:58 http://ftpmaster.internal/ubuntu plucky/main amd64 libestr0 amd64 0.1.11-2 [8340 B] 78s Get:59 http://ftpmaster.internal/ubuntu plucky/main amd64 libglib2.0-data all 2.84.0-1 [53.0 kB] 78s Get:60 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-newt amd64 0.52.24-4ubuntu2 [21.1 kB] 78s Get:61 http://ftpmaster.internal/ubuntu plucky/main amd64 libnewt0.52 amd64 0.52.24-4ubuntu2 [55.7 kB] 78s Get:62 http://ftpmaster.internal/ubuntu plucky/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.2ubuntu5 [772 kB] 78s Get:63 http://ftpmaster.internal/ubuntu plucky/main amd64 python-apt-common all 2.9.9build1 [21.3 kB] 78s Get:64 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-apt amd64 2.9.9build1 [172 kB] 78s Get:65 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-cffi-backend amd64 1.17.1-2build2 [96.6 kB] 78s Get:66 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-dbus amd64 1.3.2-5build5 [102 kB] 78s Get:67 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-gi amd64 3.50.0-4build1 [252 kB] 78s Get:68 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-yaml amd64 6.0.2-1build2 [144 kB] 78s Get:69 http://ftpmaster.internal/ubuntu plucky/main amd64 rsyslog amd64 8.2412.0-2ubuntu2 [555 kB] 78s Get:70 http://ftpmaster.internal/ubuntu plucky/main amd64 whiptail amd64 0.52.24-4ubuntu2 [19.1 kB] 78s Get:71 http://ftpmaster.internal/ubuntu plucky/main amd64 ubuntu-minimal amd64 1.549 [11.5 kB] 78s Get:72 http://ftpmaster.internal/ubuntu plucky/main amd64 apparmor amd64 4.1.0~beta5-0ubuntu8 [701 kB] 78s Get:73 http://ftpmaster.internal/ubuntu plucky/main amd64 dosfstools amd64 4.2-1.2 [95.0 kB] 78s Get:74 http://ftpmaster.internal/ubuntu plucky/main amd64 libnl-genl-3-200 amd64 3.7.0-1 [12.2 kB] 78s Get:75 http://ftpmaster.internal/ubuntu plucky/main amd64 libnl-route-3-200 amd64 3.7.0-1 [191 kB] 78s Get:76 http://ftpmaster.internal/ubuntu plucky/main amd64 libnl-3-200 amd64 3.7.0-1 [64.9 kB] 78s Get:77 http://ftpmaster.internal/ubuntu plucky/main amd64 parted amd64 3.6-5 [53.9 kB] 78s Get:78 http://ftpmaster.internal/ubuntu plucky/main amd64 libparted2t64 amd64 3.6-5 [158 kB] 78s Get:79 http://ftpmaster.internal/ubuntu plucky/main amd64 pci.ids all 0.0~2025.03.09-1 [285 kB] 78s Get:80 http://ftpmaster.internal/ubuntu plucky/main amd64 pciutils amd64 1:3.13.0-2 [110 kB] 78s Get:81 http://ftpmaster.internal/ubuntu plucky/main amd64 libpci3 amd64 1:3.13.0-2 [39.8 kB] 78s Get:82 http://ftpmaster.internal/ubuntu plucky/main amd64 strace amd64 6.13+ds-1ubuntu1 [622 kB] 78s Get:83 http://ftpmaster.internal/ubuntu plucky/main amd64 xz-utils amd64 5.6.4-1 [278 kB] 78s Get:84 http://ftpmaster.internal/ubuntu plucky/main amd64 ubuntu-standard amd64 1.549 [11.5 kB] 78s Get:85 http://ftpmaster.internal/ubuntu plucky/main amd64 libgprofng0 amd64 2.44-3ubuntu1 [886 kB] 78s Get:86 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf0 amd64 2.44-3ubuntu1 [96.5 kB] 78s Get:87 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf-nobfd0 amd64 2.44-3ubuntu1 [98.9 kB] 78s Get:88 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-x86-64-linux-gnu amd64 2.44-3ubuntu1 [1108 kB] 78s Get:89 http://ftpmaster.internal/ubuntu plucky/main amd64 libbinutils amd64 2.44-3ubuntu1 [585 kB] 78s Get:90 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils amd64 2.44-3ubuntu1 [208 kB] 78s Get:91 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-common amd64 2.44-3ubuntu1 [215 kB] 78s Get:92 http://ftpmaster.internal/ubuntu plucky/main amd64 libsframe1 amd64 2.44-3ubuntu1 [14.8 kB] 78s Get:93 http://ftpmaster.internal/ubuntu plucky/main amd64 hwdata all 0.393-3 [1562 B] 78s Get:94 http://ftpmaster.internal/ubuntu plucky/main amd64 pnp.ids all 0.393-3 [29.5 kB] 78s Get:95 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-tools-common all 6.14.0-10.10 [295 kB] 78s Get:96 http://ftpmaster.internal/ubuntu plucky/main amd64 bpftool amd64 7.6.0+6.14.0-10.10 [1147 kB] 78s Get:97 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-markupsafe amd64 2.1.5-1build4 [13.4 kB] 79s Get:98 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-jinja2 all 3.1.5-2ubuntu1 [109 kB] 79s Get:99 http://ftpmaster.internal/ubuntu plucky/main amd64 cloud-init-base all 25.1-0ubuntu3 [616 kB] 79s Get:100 http://ftpmaster.internal/ubuntu plucky/main amd64 libbrotli1 amd64 1.1.0-2build4 [365 kB] 79s Get:101 http://ftpmaster.internal/ubuntu plucky/main amd64 curl amd64 8.12.1-3ubuntu1 [258 kB] 79s Get:102 http://ftpmaster.internal/ubuntu plucky/main amd64 libcurl4t64 amd64 8.12.1-3ubuntu1 [437 kB] 79s Get:103 http://ftpmaster.internal/ubuntu plucky/main amd64 exfatprogs amd64 1.2.8-1 [76.3 kB] 79s Get:104 http://ftpmaster.internal/ubuntu plucky/main amd64 libcurl3t64-gnutls amd64 8.12.1-3ubuntu1 [432 kB] 79s Get:105 http://ftpmaster.internal/ubuntu plucky/main amd64 fwupd amd64 2.0.6-4 [5408 kB] 79s Get:106 http://ftpmaster.internal/ubuntu plucky/main amd64 libfwupd3 amd64 2.0.6-4 [136 kB] 79s Get:107 http://ftpmaster.internal/ubuntu plucky/main amd64 libmm-glib0 amd64 1.23.4-0ubuntu3 [251 kB] 79s Get:108 http://ftpmaster.internal/ubuntu plucky/main amd64 htop amd64 3.4.0-2 [195 kB] 79s Get:109 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-firmware amd64 20250310.git9e1370d3-0ubuntu1 [571 MB] 103s Get:110 http://ftpmaster.internal/ubuntu plucky/main amd64 initramfs-tools all 0.146ubuntu1 [7920 B] 103s Get:111 http://ftpmaster.internal/ubuntu plucky/main amd64 initramfs-tools-core all 0.146ubuntu1 [51.9 kB] 103s Get:112 http://ftpmaster.internal/ubuntu plucky/main amd64 initramfs-tools-bin amd64 0.146ubuntu1 [26.2 kB] 103s Get:113 http://ftpmaster.internal/ubuntu plucky/main amd64 libdebuginfod1t64 amd64 0.192-4 [21.0 kB] 103s Get:114 http://ftpmaster.internal/ubuntu plucky/main amd64 libftdi1-2 amd64 1.5-8build1 [30.2 kB] 103s Get:115 http://ftpmaster.internal/ubuntu plucky/main amd64 libgpgme11t64 amd64 1.24.2-1ubuntu2 [155 kB] 103s Get:116 http://ftpmaster.internal/ubuntu plucky/main amd64 libjemalloc2 amd64 5.3.0-3 [277 kB] 103s Get:117 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-modules-6.14.0-10-generic amd64 6.14.0-10.10 [41.2 MB] 105s Get:118 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-image-6.14.0-10-generic amd64 6.14.0-10.10 [15.3 MB] 106s Get:119 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-modules-extra-6.14.0-10-generic amd64 6.14.0-10.10 [120 MB] 110s Get:120 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-generic amd64 6.14.0-10.10 [1730 B] 110s Get:121 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-image-generic amd64 6.14.0-10.10 [11.1 kB] 110s Get:122 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-virtual amd64 6.14.0-10.10 [1722 B] 110s Get:123 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-image-virtual amd64 6.14.0-10.10 [11.1 kB] 110s Get:124 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-headers-virtual amd64 6.14.0-10.10 [1642 B] 110s Get:125 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-headers-6.14.0-10 all 6.14.0-10.10 [14.2 MB] 110s Get:126 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-headers-6.14.0-10-generic amd64 6.14.0-10.10 [3915 kB] 110s Get:127 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-headers-generic amd64 6.14.0-10.10 [11.0 kB] 110s Get:128 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-perf amd64 6.14.0-10.10 [4122 kB] 110s Get:129 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-tools-6.14.0-10 amd64 6.14.0-10.10 [1394 kB] 110s Get:130 http://ftpmaster.internal/ubuntu plucky/main amd64 linux-tools-6.14.0-10-generic amd64 6.14.0-10.10 [830 B] 110s Get:131 http://ftpmaster.internal/ubuntu plucky/main amd64 pinentry-curses amd64 1.3.1-2ubuntu3 [42.3 kB] 110s Get:132 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-lazr.uri all 1.0.6-6 [13.7 kB] 110s Get:133 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-rpds-py amd64 0.21.0-2ubuntu2 [278 kB] 110s Get:134 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-systemd amd64 235-1build6 [43.9 kB] 110s Get:135 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-gdbm amd64 3.13.2-2 [31.9 kB] 110s Get:136 http://ftpmaster.internal/ubuntu plucky/main amd64 ubuntu-kernel-accessories amd64 1.549 [11.2 kB] 110s Get:137 http://ftpmaster.internal/ubuntu plucky/main amd64 cloud-init all 25.1-0ubuntu3 [2100 B] 110s Get:138 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-bcrypt amd64 4.2.0-2.1build1 [221 kB] 111s Preconfiguring packages ... 111s Fetched 829 MB in 35s (23.8 MB/s) 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109140 files and directories currently installed.) 112s Preparing to unpack .../ncurses-bin_6.5+20250216-2_amd64.deb ... 112s Unpacking ncurses-bin (6.5+20250216-2) over (6.5+20250216-1) ... 112s Setting up ncurses-bin (6.5+20250216-2) ... 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109140 files and directories currently installed.) 112s Preparing to unpack .../libc-dev-bin_2.41-1ubuntu1_amd64.deb ... 112s Unpacking libc-dev-bin (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 112s Preparing to unpack .../libc6-dev_2.41-1ubuntu1_amd64.deb ... 112s Unpacking libc6-dev:amd64 (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 112s Preparing to unpack .../locales_2.41-1ubuntu1_all.deb ... 112s Unpacking locales (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 113s Preparing to unpack .../libc6_2.41-1ubuntu1_amd64.deb ... 113s Checking for services that may need to be restarted... 113s Checking init scripts... 113s Checking for services that may need to be restarted... 113s Checking init scripts... 113s Stopping some services possibly affected by the upgrade (will be restarted later): 113s cron: stopping...done. 113s 113s Unpacking libc6:amd64 (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 113s Setting up libc6:amd64 (2.41-1ubuntu1) ... 114s Checking for services that may need to be restarted... 114s Checking init scripts... 114s Restarting services possibly affected by the upgrade: 114s cron: restarting...done. 114s 114s Services restarted successfully. 114s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109141 files and directories currently installed.) 114s Preparing to unpack .../libc-bin_2.41-1ubuntu1_amd64.deb ... 114s Unpacking libc-bin (2.41-1ubuntu1) over (2.40-4ubuntu1) ... 114s Setting up libc-bin (2.41-1ubuntu1) ... 114s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109141 files and directories currently installed.) 114s Preparing to unpack .../linux-libc-dev_6.14.0-10.10_amd64.deb ... 114s Unpacking linux-libc-dev:amd64 (6.14.0-10.10) over (6.12.0-16.16) ... 115s Preparing to unpack .../libatomic1_15-20250222-0ubuntu1_amd64.deb ... 115s Unpacking libatomic1:amd64 (15-20250222-0ubuntu1) over (15-20250213-1ubuntu1) ... 115s Preparing to unpack .../gcc-15-base_15-20250222-0ubuntu1_amd64.deb ... 115s Unpacking gcc-15-base:amd64 (15-20250222-0ubuntu1) over (15-20250213-1ubuntu1) ... 115s Setting up gcc-15-base:amd64 (15-20250222-0ubuntu1) ... 115s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 115s Preparing to unpack .../libgcc-s1_15-20250222-0ubuntu1_amd64.deb ... 115s Unpacking libgcc-s1:amd64 (15-20250222-0ubuntu1) over (15-20250213-1ubuntu1) ... 115s Setting up libgcc-s1:amd64 (15-20250222-0ubuntu1) ... 115s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 115s Preparing to unpack .../libstdc++6_15-20250222-0ubuntu1_amd64.deb ... 115s Unpacking libstdc++6:amd64 (15-20250222-0ubuntu1) over (15-20250213-1ubuntu1) ... 115s Setting up libstdc++6:amd64 (15-20250222-0ubuntu1) ... 115s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 115s Preparing to unpack .../ncurses-base_6.5+20250216-2_all.deb ... 115s Unpacking ncurses-base (6.5+20250216-2) over (6.5+20250216-1) ... 115s Setting up ncurses-base (6.5+20250216-2) ... 115s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 115s Preparing to unpack .../ncurses-term_6.5+20250216-2_all.deb ... 115s Unpacking ncurses-term (6.5+20250216-2) over (6.5+20250216-1) ... 116s Preparing to unpack .../liblz4-1_1.10.0-4_amd64.deb ... 116s Unpacking liblz4-1:amd64 (1.10.0-4) over (1.10.0-3) ... 116s Setting up liblz4-1:amd64 (1.10.0-4) ... 116s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 116s Preparing to unpack .../liblzma5_5.6.4-1_amd64.deb ... 116s Unpacking liblzma5:amd64 (5.6.4-1) over (5.6.3-1) ... 117s Setting up liblzma5:amd64 (5.6.4-1) ... 117s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 117s Preparing to unpack .../libsystemd0_257.3-1ubuntu3_amd64.deb ... 117s Unpacking libsystemd0:amd64 (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 117s Setting up libsystemd0:amd64 (257.3-1ubuntu3) ... 117s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 117s Preparing to unpack .../libnss-systemd_257.3-1ubuntu3_amd64.deb ... 117s Unpacking libnss-systemd:amd64 (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 117s Preparing to unpack .../systemd-sysv_257.3-1ubuntu3_amd64.deb ... 117s Unpacking systemd-sysv (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 117s Preparing to unpack .../systemd-resolved_257.3-1ubuntu3_amd64.deb ... 117s Unpacking systemd-resolved (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 117s Preparing to unpack .../libpam-systemd_257.3-1ubuntu3_amd64.deb ... 117s Unpacking libpam-systemd:amd64 (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 117s Preparing to unpack .../libsystemd-shared_257.3-1ubuntu3_amd64.deb ... 117s Unpacking libsystemd-shared:amd64 (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 117s Setting up libsystemd-shared:amd64 (257.3-1ubuntu3) ... 117s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 117s Preparing to unpack .../systemd_257.3-1ubuntu3_amd64.deb ... 117s Unpacking systemd (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 118s Preparing to unpack .../systemd-timesyncd_257.3-1ubuntu3_amd64.deb ... 118s Unpacking systemd-timesyncd (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 118s Preparing to unpack .../systemd-cryptsetup_257.3-1ubuntu3_amd64.deb ... 118s Unpacking systemd-cryptsetup (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 118s Preparing to unpack .../udev_257.3-1ubuntu3_amd64.deb ... 118s Unpacking udev (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 118s Preparing to unpack .../libudev1_257.3-1ubuntu3_amd64.deb ... 118s Unpacking libudev1:amd64 (257.3-1ubuntu3) over (257.2-3ubuntu1) ... 118s Setting up libudev1:amd64 (257.3-1ubuntu3) ... 118s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 118s Preparing to unpack .../libaudit-common_1%3a4.0.2-2ubuntu2_all.deb ... 118s Unpacking libaudit-common (1:4.0.2-2ubuntu2) over (1:4.0.2-2ubuntu1) ... 118s Setting up libaudit-common (1:4.0.2-2ubuntu2) ... 118s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 118s Preparing to unpack .../libcap-ng0_0.8.5-4build1_amd64.deb ... 118s Unpacking libcap-ng0:amd64 (0.8.5-4build1) over (0.8.5-4) ... 118s Setting up libcap-ng0:amd64 (0.8.5-4build1) ... 119s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 119s Preparing to unpack .../libaudit1_1%3a4.0.2-2ubuntu2_amd64.deb ... 119s Unpacking libaudit1:amd64 (1:4.0.2-2ubuntu2) over (1:4.0.2-2ubuntu1) ... 119s Setting up libaudit1:amd64 (1:4.0.2-2ubuntu2) ... 119s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 119s Preparing to unpack .../libseccomp2_2.5.5-1ubuntu6_amd64.deb ... 119s Unpacking libseccomp2:amd64 (2.5.5-1ubuntu6) over (2.5.5-1ubuntu5) ... 119s Setting up libseccomp2:amd64 (2.5.5-1ubuntu6) ... 119s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 119s Preparing to unpack .../libselinux1_3.7-3ubuntu3_amd64.deb ... 119s Unpacking libselinux1:amd64 (3.7-3ubuntu3) over (3.7-3ubuntu2) ... 119s Setting up libselinux1:amd64 (3.7-3ubuntu3) ... 119s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 119s Preparing to unpack .../libapparmor1_4.1.0~beta5-0ubuntu8_amd64.deb ... 119s Unpacking libapparmor1:amd64 (4.1.0~beta5-0ubuntu8) over (4.1.0~beta5-0ubuntu5) ... 119s Preparing to unpack .../libapt-pkg7.0_2.9.33_amd64.deb ... 119s Unpacking libapt-pkg7.0:amd64 (2.9.33) over (2.9.31ubuntu1) ... 119s Setting up libapt-pkg7.0:amd64 (2.9.33) ... 119s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 119s Preparing to unpack .../archives/apt_2.9.33_amd64.deb ... 119s Unpacking apt (2.9.33) over (2.9.31ubuntu1) ... 120s Setting up apt (2.9.33) ... 121s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 121s Preparing to unpack .../apt-utils_2.9.33_amd64.deb ... 121s Unpacking apt-utils (2.9.33) over (2.9.31ubuntu1) ... 121s Preparing to unpack .../python3-minimal_3.13.2-2_amd64.deb ... 121s Unpacking python3-minimal (3.13.2-2) over (3.13.2-1) ... 121s Setting up python3-minimal (3.13.2-2) ... 121s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 121s Preparing to unpack .../0-python3_3.13.2-2_amd64.deb ... 121s Unpacking python3 (3.13.2-2) over (3.13.2-1) ... 121s Preparing to unpack .../1-libpython3.13_3.13.2-2_amd64.deb ... 121s Unpacking libpython3.13:amd64 (3.13.2-2) over (3.13.2-1) ... 121s Preparing to unpack .../2-media-types_13.0.0_all.deb ... 121s Unpacking media-types (13.0.0) over (12.0.0) ... 121s Preparing to unpack .../3-libncurses6_6.5+20250216-2_amd64.deb ... 121s Unpacking libncurses6:amd64 (6.5+20250216-2) over (6.5+20250216-1) ... 121s Preparing to unpack .../4-libncursesw6_6.5+20250216-2_amd64.deb ... 121s Unpacking libncursesw6:amd64 (6.5+20250216-2) over (6.5+20250216-1) ... 121s Preparing to unpack .../5-libtinfo6_6.5+20250216-2_amd64.deb ... 121s Unpacking libtinfo6:amd64 (6.5+20250216-2) over (6.5+20250216-1) ... 121s Setting up libtinfo6:amd64 (6.5+20250216-2) ... 122s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109146 files and directories currently installed.) 122s Preparing to unpack .../0-libsqlite3-0_3.46.1-2_amd64.deb ... 122s Unpacking libsqlite3-0:amd64 (3.46.1-2) over (3.46.1-1) ... 122s Preparing to unpack .../1-python3.13_3.13.2-2_amd64.deb ... 122s Unpacking python3.13 (3.13.2-2) over (3.13.2-1) ... 122s Preparing to unpack .../2-python3.13-minimal_3.13.2-2_amd64.deb ... 122s Unpacking python3.13-minimal (3.13.2-2) over (3.13.2-1) ... 122s Preparing to unpack .../3-libpython3.13-minimal_3.13.2-2_amd64.deb ... 122s Unpacking libpython3.13-minimal:amd64 (3.13.2-2) over (3.13.2-1) ... 122s Preparing to unpack .../4-libpython3.13-stdlib_3.13.2-2_amd64.deb ... 122s Unpacking libpython3.13-stdlib:amd64 (3.13.2-2) over (3.13.2-1) ... 122s Preparing to unpack .../5-libpython3-stdlib_3.13.2-2_amd64.deb ... 122s Unpacking libpython3-stdlib:amd64 (3.13.2-2) over (3.13.2-1) ... 123s Preparing to unpack .../6-rsync_3.4.1+ds1-3_amd64.deb ... 123s Unpacking rsync (3.4.1+ds1-3) over (3.4.1-0syncable1) ... 123s Selecting previously unselected package libdebuginfod-common. 123s Preparing to unpack .../7-libdebuginfod-common_0.192-4_all.deb ... 123s Unpacking libdebuginfod-common (0.192-4) ... 123s Preparing to unpack .../8-libsemanage-common_3.7-2.1build1_all.deb ... 123s Unpacking libsemanage-common (3.7-2.1build1) over (3.7-2.1) ... 123s Setting up libsemanage-common (3.7-2.1build1) ... 123s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109155 files and directories currently installed.) 123s Preparing to unpack .../libsemanage2_3.7-2.1build1_amd64.deb ... 123s Unpacking libsemanage2:amd64 (3.7-2.1build1) over (3.7-2.1) ... 123s Setting up libsemanage2:amd64 (3.7-2.1build1) ... 123s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109155 files and directories currently installed.) 123s Preparing to unpack .../libassuan9_3.0.2-2_amd64.deb ... 123s Unpacking libassuan9:amd64 (3.0.2-2) over (3.0.1-2) ... 123s Setting up libassuan9:amd64 (3.0.2-2) ... 123s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 109155 files and directories currently installed.) 123s Preparing to unpack .../00-gir1.2-girepository-2.0_1.83.4-1_amd64.deb ... 123s Unpacking gir1.2-girepository-2.0:amd64 (1.83.4-1) over (1.82.0-4) ... 123s Preparing to unpack .../01-gir1.2-glib-2.0_2.84.0-1_amd64.deb ... 123s Unpacking gir1.2-glib-2.0:amd64 (2.84.0-1) over (2.83.5-1) ... 123s Preparing to unpack .../02-libglib2.0-0t64_2.84.0-1_amd64.deb ... 123s Unpacking libglib2.0-0t64:amd64 (2.84.0-1) over (2.83.5-1) ... 123s Preparing to unpack .../03-libgirepository-1.0-1_1.83.4-1_amd64.deb ... 123s Unpacking libgirepository-1.0-1:amd64 (1.83.4-1) over (1.82.0-4) ... 123s Preparing to unpack .../04-libestr0_0.1.11-2_amd64.deb ... 123s Unpacking libestr0:amd64 (0.1.11-2) over (0.1.11-1build1) ... 123s Preparing to unpack .../05-libglib2.0-data_2.84.0-1_all.deb ... 123s Unpacking libglib2.0-data (2.84.0-1) over (2.83.5-1) ... 123s Preparing to unpack .../06-python3-newt_0.52.24-4ubuntu2_amd64.deb ... 124s Unpacking python3-newt:amd64 (0.52.24-4ubuntu2) over (0.52.24-4ubuntu1) ... 124s Preparing to unpack .../07-libnewt0.52_0.52.24-4ubuntu2_amd64.deb ... 124s Unpacking libnewt0.52:amd64 (0.52.24-4ubuntu2) over (0.52.24-4ubuntu1) ... 124s Preparing to unpack .../08-libxml2_2.12.7+dfsg+really2.9.14-0.2ubuntu5_amd64.deb ... 124s Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2ubuntu5) over (2.12.7+dfsg+really2.9.14-0.2ubuntu4) ... 124s Preparing to unpack .../09-python-apt-common_2.9.9build1_all.deb ... 124s Unpacking python-apt-common (2.9.9build1) over (2.9.9) ... 124s Preparing to unpack .../10-python3-apt_2.9.9build1_amd64.deb ... 124s Unpacking python3-apt (2.9.9build1) over (2.9.9) ... 124s Preparing to unpack .../11-python3-cffi-backend_1.17.1-2build2_amd64.deb ... 124s Unpacking python3-cffi-backend:amd64 (1.17.1-2build2) over (1.17.1-2build1) ... 124s Preparing to unpack .../12-python3-dbus_1.3.2-5build5_amd64.deb ... 124s Unpacking python3-dbus (1.3.2-5build5) over (1.3.2-5build4) ... 124s Preparing to unpack .../13-python3-gi_3.50.0-4build1_amd64.deb ... 124s Unpacking python3-gi (3.50.0-4build1) over (3.50.0-4) ... 125s Preparing to unpack .../14-python3-yaml_6.0.2-1build2_amd64.deb ... 125s Unpacking python3-yaml (6.0.2-1build2) over (6.0.2-1build1) ... 125s Preparing to unpack .../15-rsyslog_8.2412.0-2ubuntu2_amd64.deb ... 125s Unpacking rsyslog (8.2412.0-2ubuntu2) over (8.2412.0-2ubuntu1) ... 125s Preparing to unpack .../16-whiptail_0.52.24-4ubuntu2_amd64.deb ... 125s Unpacking whiptail (0.52.24-4ubuntu2) over (0.52.24-4ubuntu1) ... 125s Preparing to unpack .../17-ubuntu-minimal_1.549_amd64.deb ... 125s Unpacking ubuntu-minimal (1.549) over (1.548) ... 125s Preparing to unpack .../18-apparmor_4.1.0~beta5-0ubuntu8_amd64.deb ... 126s Unpacking apparmor (4.1.0~beta5-0ubuntu8) over (4.1.0~beta5-0ubuntu5) ... 127s Preparing to unpack .../19-dosfstools_4.2-1.2_amd64.deb ... 127s Unpacking dosfstools (4.2-1.2) over (4.2-1.1build1) ... 127s Preparing to unpack .../20-libnl-genl-3-200_3.7.0-1_amd64.deb ... 127s Unpacking libnl-genl-3-200:amd64 (3.7.0-1) over (3.7.0-0.3build2) ... 127s Preparing to unpack .../21-libnl-route-3-200_3.7.0-1_amd64.deb ... 127s Unpacking libnl-route-3-200:amd64 (3.7.0-1) over (3.7.0-0.3build2) ... 127s Preparing to unpack .../22-libnl-3-200_3.7.0-1_amd64.deb ... 127s Unpacking libnl-3-200:amd64 (3.7.0-1) over (3.7.0-0.3build2) ... 127s Preparing to unpack .../23-parted_3.6-5_amd64.deb ... 127s Unpacking parted (3.6-5) over (3.6-4build1) ... 127s Preparing to unpack .../24-libparted2t64_3.6-5_amd64.deb ... 127s Adding 'diversion of /lib/x86_64-linux-gnu/libparted.so.2 to /lib/x86_64-linux-gnu/libparted.so.2.usr-is-merged by libparted2t64' 127s Adding 'diversion of /lib/x86_64-linux-gnu/libparted.so.2.0.5 to /lib/x86_64-linux-gnu/libparted.so.2.0.5.usr-is-merged by libparted2t64' 127s Unpacking libparted2t64:amd64 (3.6-5) over (3.6-4build1) ... 127s Preparing to unpack .../25-pci.ids_0.0~2025.03.09-1_all.deb ... 127s Unpacking pci.ids (0.0~2025.03.09-1) over (0.0~2025.02.12-1) ... 127s Preparing to unpack .../26-pciutils_1%3a3.13.0-2_amd64.deb ... 127s Unpacking pciutils (1:3.13.0-2) over (1:3.13.0-1) ... 127s Preparing to unpack .../27-libpci3_1%3a3.13.0-2_amd64.deb ... 127s Unpacking libpci3:amd64 (1:3.13.0-2) over (1:3.13.0-1) ... 128s Preparing to unpack .../28-strace_6.13+ds-1ubuntu1_amd64.deb ... 128s Unpacking strace (6.13+ds-1ubuntu1) over (6.11-0ubuntu1) ... 128s Preparing to unpack .../29-xz-utils_5.6.4-1_amd64.deb ... 128s Unpacking xz-utils (5.6.4-1) over (5.6.3-1) ... 128s Preparing to unpack .../30-ubuntu-standard_1.549_amd64.deb ... 128s Unpacking ubuntu-standard (1.549) over (1.548) ... 128s Preparing to unpack .../31-libgprofng0_2.44-3ubuntu1_amd64.deb ... 128s Unpacking libgprofng0:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 128s Preparing to unpack .../32-libctf0_2.44-3ubuntu1_amd64.deb ... 128s Unpacking libctf0:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 128s Preparing to unpack .../33-libctf-nobfd0_2.44-3ubuntu1_amd64.deb ... 128s Unpacking libctf-nobfd0:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 128s Preparing to unpack .../34-binutils-x86-64-linux-gnu_2.44-3ubuntu1_amd64.deb ... 128s Unpacking binutils-x86-64-linux-gnu (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 128s Preparing to unpack .../35-libbinutils_2.44-3ubuntu1_amd64.deb ... 128s Unpacking libbinutils:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 128s Preparing to unpack .../36-binutils_2.44-3ubuntu1_amd64.deb ... 128s Unpacking binutils (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 128s Preparing to unpack .../37-binutils-common_2.44-3ubuntu1_amd64.deb ... 128s Unpacking binutils-common:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 128s Preparing to unpack .../38-libsframe1_2.44-3ubuntu1_amd64.deb ... 128s Unpacking libsframe1:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 128s Preparing to unpack .../39-hwdata_0.393-3_all.deb ... 128s Unpacking hwdata (0.393-3) over (0.392-1) ... 128s Selecting previously unselected package pnp.ids. 128s Preparing to unpack .../40-pnp.ids_0.393-3_all.deb ... 128s Unpacking pnp.ids (0.393-3) ... 128s Preparing to unpack .../41-linux-tools-common_6.14.0-10.10_all.deb ... 128s Unpacking linux-tools-common (6.14.0-10.10) over (6.12.0-16.16) ... 128s Selecting previously unselected package bpftool. 128s Preparing to unpack .../42-bpftool_7.6.0+6.14.0-10.10_amd64.deb ... 128s Unpacking bpftool (7.6.0+6.14.0-10.10) ... 129s Preparing to unpack .../43-python3-markupsafe_2.1.5-1build4_amd64.deb ... 129s Unpacking python3-markupsafe (2.1.5-1build4) over (2.1.5-1build3) ... 129s Preparing to unpack .../44-python3-jinja2_3.1.5-2ubuntu1_all.deb ... 129s Unpacking python3-jinja2 (3.1.5-2ubuntu1) over (3.1.5-2) ... 129s Preparing to unpack .../45-cloud-init-base_25.1-0ubuntu3_all.deb ... 129s Unpacking cloud-init-base (25.1-0ubuntu3) over (25.1-0ubuntu2) ... 130s Preparing to unpack .../46-libbrotli1_1.1.0-2build4_amd64.deb ... 130s Unpacking libbrotli1:amd64 (1.1.0-2build4) over (1.1.0-2build3) ... 130s Preparing to unpack .../47-curl_8.12.1-3ubuntu1_amd64.deb ... 130s Unpacking curl (8.12.1-3ubuntu1) over (8.12.1-2ubuntu1) ... 130s Preparing to unpack .../48-libcurl4t64_8.12.1-3ubuntu1_amd64.deb ... 130s Unpacking libcurl4t64:amd64 (8.12.1-3ubuntu1) over (8.12.1-2ubuntu1) ... 130s Preparing to unpack .../49-exfatprogs_1.2.8-1_amd64.deb ... 130s Unpacking exfatprogs (1.2.8-1) over (1.2.7-3) ... 130s Preparing to unpack .../50-libcurl3t64-gnutls_8.12.1-3ubuntu1_amd64.deb ... 130s Unpacking libcurl3t64-gnutls:amd64 (8.12.1-3ubuntu1) over (8.12.1-2ubuntu1) ... 130s Preparing to unpack .../51-fwupd_2.0.6-4_amd64.deb ... 130s Unpacking fwupd (2.0.6-4) over (2.0.6-3) ... 130s Preparing to unpack .../52-libfwupd3_2.0.6-4_amd64.deb ... 130s Unpacking libfwupd3:amd64 (2.0.6-4) over (2.0.6-3) ... 130s Preparing to unpack .../53-libmm-glib0_1.23.4-0ubuntu3_amd64.deb ... 130s Unpacking libmm-glib0:amd64 (1.23.4-0ubuntu3) over (1.23.4-0ubuntu2) ... 130s Preparing to unpack .../54-htop_3.4.0-2_amd64.deb ... 130s Unpacking htop (3.4.0-2) over (3.3.0-5) ... 131s Preparing to unpack .../55-linux-firmware_20250310.git9e1370d3-0ubuntu1_amd64.deb ... 131s Unpacking linux-firmware (20250310.git9e1370d3-0ubuntu1) over (20250204.git0fd450ee-0ubuntu1) ... 137s Preparing to unpack .../56-initramfs-tools_0.146ubuntu1_all.deb ... 137s Unpacking initramfs-tools (0.146ubuntu1) over (0.145ubuntu3) ... 137s Preparing to unpack .../57-initramfs-tools-core_0.146ubuntu1_all.deb ... 137s Unpacking initramfs-tools-core (0.146ubuntu1) over (0.145ubuntu3) ... 137s Preparing to unpack .../58-initramfs-tools-bin_0.146ubuntu1_amd64.deb ... 137s Unpacking initramfs-tools-bin (0.146ubuntu1) over (0.145ubuntu3) ... 137s Selecting previously unselected package libdebuginfod1t64:amd64. 137s Preparing to unpack .../59-libdebuginfod1t64_0.192-4_amd64.deb ... 137s Unpacking libdebuginfod1t64:amd64 (0.192-4) ... 137s Preparing to unpack .../60-libftdi1-2_1.5-8build1_amd64.deb ... 137s Unpacking libftdi1-2:amd64 (1.5-8build1) over (1.5-8) ... 137s Preparing to unpack .../61-libgpgme11t64_1.24.2-1ubuntu2_amd64.deb ... 137s Unpacking libgpgme11t64:amd64 (1.24.2-1ubuntu2) over (1.24.2-1ubuntu1) ... 137s Preparing to unpack .../62-libjemalloc2_5.3.0-3_amd64.deb ... 137s Unpacking libjemalloc2:amd64 (5.3.0-3) over (5.3.0-2build1) ... 137s Selecting previously unselected package linux-modules-6.14.0-10-generic. 137s Preparing to unpack .../63-linux-modules-6.14.0-10-generic_6.14.0-10.10_amd64.deb ... 137s Unpacking linux-modules-6.14.0-10-generic (6.14.0-10.10) ... 138s Selecting previously unselected package linux-image-6.14.0-10-generic. 138s Preparing to unpack .../64-linux-image-6.14.0-10-generic_6.14.0-10.10_amd64.deb ... 138s Unpacking linux-image-6.14.0-10-generic (6.14.0-10.10) ... 138s Selecting previously unselected package linux-modules-extra-6.14.0-10-generic. 138s Preparing to unpack .../65-linux-modules-extra-6.14.0-10-generic_6.14.0-10.10_amd64.deb ... 138s Unpacking linux-modules-extra-6.14.0-10-generic (6.14.0-10.10) ... 140s Preparing to unpack .../66-linux-generic_6.14.0-10.10_amd64.deb ... 140s Unpacking linux-generic (6.14.0-10.10) over (6.12.0-16.16+2) ... 140s Preparing to unpack .../67-linux-image-generic_6.14.0-10.10_amd64.deb ... 140s Unpacking linux-image-generic (6.14.0-10.10) over (6.12.0-16.16+2) ... 140s Preparing to unpack .../68-linux-virtual_6.14.0-10.10_amd64.deb ... 140s Unpacking linux-virtual (6.14.0-10.10) over (6.12.0-16.16+2) ... 140s Preparing to unpack .../69-linux-image-virtual_6.14.0-10.10_amd64.deb ... 140s Unpacking linux-image-virtual (6.14.0-10.10) over (6.12.0-16.16+2) ... 140s Preparing to unpack .../70-linux-headers-virtual_6.14.0-10.10_amd64.deb ... 140s Unpacking linux-headers-virtual (6.14.0-10.10) over (6.12.0-16.16+2) ... 140s Selecting previously unselected package linux-headers-6.14.0-10. 140s Preparing to unpack .../71-linux-headers-6.14.0-10_6.14.0-10.10_all.deb ... 140s Unpacking linux-headers-6.14.0-10 (6.14.0-10.10) ... 144s Selecting previously unselected package linux-headers-6.14.0-10-generic. 144s Preparing to unpack .../72-linux-headers-6.14.0-10-generic_6.14.0-10.10_amd64.deb ... 144s Unpacking linux-headers-6.14.0-10-generic (6.14.0-10.10) ... 145s Preparing to unpack .../73-linux-headers-generic_6.14.0-10.10_amd64.deb ... 145s Unpacking linux-headers-generic (6.14.0-10.10) over (6.12.0-16.16+2) ... 145s Selecting previously unselected package linux-perf. 146s Preparing to unpack .../74-linux-perf_6.14.0-10.10_amd64.deb ... 146s Unpacking linux-perf (6.14.0-10.10) ... 146s Selecting previously unselected package linux-tools-6.14.0-10. 146s Preparing to unpack .../75-linux-tools-6.14.0-10_6.14.0-10.10_amd64.deb ... 146s Unpacking linux-tools-6.14.0-10 (6.14.0-10.10) ... 146s Selecting previously unselected package linux-tools-6.14.0-10-generic. 146s Preparing to unpack .../76-linux-tools-6.14.0-10-generic_6.14.0-10.10_amd64.deb ... 146s Unpacking linux-tools-6.14.0-10-generic (6.14.0-10.10) ... 146s Preparing to unpack .../77-pinentry-curses_1.3.1-2ubuntu3_amd64.deb ... 146s Unpacking pinentry-curses (1.3.1-2ubuntu3) over (1.3.1-2ubuntu2) ... 146s Preparing to unpack .../78-python3-lazr.uri_1.0.6-6_all.deb ... 146s Unpacking python3-lazr.uri (1.0.6-6) over (1.0.6-5) ... 146s Preparing to unpack .../79-python3-rpds-py_0.21.0-2ubuntu2_amd64.deb ... 146s Unpacking python3-rpds-py (0.21.0-2ubuntu2) over (0.21.0-2ubuntu1) ... 146s Preparing to unpack .../80-python3-systemd_235-1build6_amd64.deb ... 146s Unpacking python3-systemd (235-1build6) over (235-1build5) ... 146s Preparing to unpack .../81-python3.13-gdbm_3.13.2-2_amd64.deb ... 146s Unpacking python3.13-gdbm (3.13.2-2) over (3.13.2-1) ... 146s Preparing to unpack .../82-ubuntu-kernel-accessories_1.549_amd64.deb ... 146s Unpacking ubuntu-kernel-accessories (1.549) over (1.548) ... 146s Preparing to unpack .../83-cloud-init_25.1-0ubuntu3_all.deb ... 146s Unpacking cloud-init (25.1-0ubuntu3) over (25.1-0ubuntu2) ... 147s Preparing to unpack .../84-python3-bcrypt_4.2.0-2.1build1_amd64.deb ... 147s Unpacking python3-bcrypt (4.2.0-2.1build1) over (4.2.0-2.1) ... 147s Setting up linux-headers-6.14.0-10 (6.14.0-10.10) ... 147s Setting up media-types (13.0.0) ... 147s Installing new version of config file /etc/mime.types ... 147s Setting up linux-headers-6.14.0-10-generic (6.14.0-10.10) ... 147s Setting up ubuntu-kernel-accessories (1.549) ... 147s Setting up libapparmor1:amd64 (4.1.0~beta5-0ubuntu8) ... 147s Setting up pci.ids (0.0~2025.03.09-1) ... 147s Setting up libnewt0.52:amd64 (0.52.24-4ubuntu2) ... 147s Setting up apt-utils (2.9.33) ... 147s Setting up libdebuginfod-common (0.192-4) ... 147s Setting up exfatprogs (1.2.8-1) ... 147s Setting up linux-firmware (20250310.git9e1370d3-0ubuntu1) ... 147s Setting up bpftool (7.6.0+6.14.0-10.10) ... 147s Setting up libestr0:amd64 (0.1.11-2) ... 147s Setting up libbrotli1:amd64 (1.1.0-2build4) ... 147s Setting up libsqlite3-0:amd64 (3.46.1-2) ... 147s Setting up dosfstools (4.2-1.2) ... 147s Setting up rsyslog (8.2412.0-2ubuntu2) ... 147s info: The user `syslog' is already a member of `adm'. 148s Setting up binutils-common:amd64 (2.44-3ubuntu1) ... 148s Setting up libcurl3t64-gnutls:amd64 (8.12.1-3ubuntu1) ... 148s Setting up linux-libc-dev:amd64 (6.14.0-10.10) ... 148s Setting up libctf-nobfd0:amd64 (2.44-3ubuntu1) ... 148s Setting up systemd (257.3-1ubuntu3) ... 149s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 149s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 149s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 150s Setting up libparted2t64:amd64 (3.6-5) ... 150s Removing 'diversion of /lib/x86_64-linux-gnu/libparted.so.2 to /lib/x86_64-linux-gnu/libparted.so.2.usr-is-merged by libparted2t64' 150s Removing 'diversion of /lib/x86_64-linux-gnu/libparted.so.2.0.5 to /lib/x86_64-linux-gnu/libparted.so.2.0.5.usr-is-merged by libparted2t64' 150s Setting up linux-headers-generic (6.14.0-10.10) ... 150s Setting up libjemalloc2:amd64 (5.3.0-3) ... 150s Setting up locales (2.41-1ubuntu1) ... 150s Installing new version of config file /etc/locale.alias ... 151s Generating locales (this might take a while)... 153s en_US.UTF-8... done 153s Generation complete. 153s Setting up libsframe1:amd64 (2.44-3ubuntu1) ... 153s Setting up libpython3.13-minimal:amd64 (3.13.2-2) ... 153s Setting up apparmor (4.1.0~beta5-0ubuntu8) ... 153s Installing new version of config file /etc/apparmor.d/fusermount3 ... 153s Installing new version of config file /etc/apparmor.d/lsusb ... 153s Installing new version of config file /etc/apparmor.d/openvpn ... 155s Reloading AppArmor profiles 156s Setting up libftdi1-2:amd64 (1.5-8build1) ... 156s Setting up libglib2.0-data (2.84.0-1) ... 156s Setting up systemd-cryptsetup (257.3-1ubuntu3) ... 156s Setting up libncurses6:amd64 (6.5+20250216-2) ... 156s Setting up strace (6.13+ds-1ubuntu1) ... 156s Setting up xz-utils (5.6.4-1) ... 156s Setting up systemd-timesyncd (257.3-1ubuntu3) ... 156s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 157s Setting up libatomic1:amd64 (15-20250222-0ubuntu1) ... 157s Setting up udev (257.3-1ubuntu3) ... 158s Setting up linux-modules-6.14.0-10-generic (6.14.0-10.10) ... 161s Setting up libncursesw6:amd64 (6.5+20250216-2) ... 161s Setting up libpci3:amd64 (1:3.13.0-2) ... 161s Setting up whiptail (0.52.24-4ubuntu2) ... 161s Setting up python-apt-common (2.9.9build1) ... 161s Setting up pnp.ids (0.393-3) ... 161s Setting up libnl-3-200:amd64 (3.7.0-1) ... 161s Setting up python3.13-minimal (3.13.2-2) ... 162s Setting up libgpgme11t64:amd64 (1.24.2-1ubuntu2) ... 162s Setting up libbinutils:amd64 (2.44-3ubuntu1) ... 162s Setting up libc-dev-bin (2.41-1ubuntu1) ... 162s Setting up libpython3.13-stdlib:amd64 (3.13.2-2) ... 162s Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2ubuntu5) ... 162s Setting up rsync (3.4.1+ds1-3) ... 163s rsync.service is a disabled or a static unit not running, not starting it. 163s Setting up python3.13-gdbm (3.13.2-2) ... 163s Setting up libpython3-stdlib:amd64 (3.13.2-2) ... 163s Setting up systemd-resolved (257.3-1ubuntu3) ... 163s Setting up initramfs-tools-bin (0.146ubuntu1) ... 163s Setting up ncurses-term (6.5+20250216-2) ... 163s Setting up libctf0:amd64 (2.44-3ubuntu1) ... 163s Setting up libpython3.13:amd64 (3.13.2-2) ... 163s Setting up pinentry-curses (1.3.1-2ubuntu3) ... 163s Setting up libdebuginfod1t64:amd64 (0.192-4) ... 163s Setting up systemd-sysv (257.3-1ubuntu3) ... 163s Setting up linux-headers-virtual (6.14.0-10.10) ... 163s Setting up libcurl4t64:amd64 (8.12.1-3ubuntu1) ... 163s Setting up python3.13 (3.13.2-2) ... 165s Setting up htop (3.4.0-2) ... 165s Setting up linux-image-6.14.0-10-generic (6.14.0-10.10) ... 167s I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.12.0-16-generic 167s I: /boot/initrd.img.old is now a symlink to initrd.img-6.12.0-16-generic 167s I: /boot/vmlinuz is now a symlink to vmlinuz-6.14.0-10-generic 167s I: /boot/initrd.img is now a symlink to initrd.img-6.14.0-10-generic 167s Setting up parted (3.6-5) ... 167s Setting up libnss-systemd:amd64 (257.3-1ubuntu3) ... 167s Setting up python3 (3.13.2-2) ... 168s Setting up python3-newt:amd64 (0.52.24-4ubuntu2) ... 168s Setting up python3-markupsafe (2.1.5-1build4) ... 168s Setting up linux-modules-extra-6.14.0-10-generic (6.14.0-10.10) ... 171s Setting up libnl-route-3-200:amd64 (3.7.0-1) ... 171s Setting up hwdata (0.393-3) ... 171s Setting up python3-jinja2 (3.1.5-2ubuntu1) ... 171s Setting up libglib2.0-0t64:amd64 (2.84.0-1) ... 171s No schema files found: doing nothing. 171s Setting up libgprofng0:amd64 (2.44-3ubuntu1) ... 171s Setting up linux-perf (6.14.0-10.10) ... 171s Setting up gir1.2-glib-2.0:amd64 (2.84.0-1) ... 171s Setting up pciutils (1:3.13.0-2) ... 171s Setting up python3-rpds-py (0.21.0-2ubuntu2) ... 171s Setting up libmm-glib0:amd64 (1.23.4-0ubuntu3) ... 171s Setting up libnl-genl-3-200:amd64 (3.7.0-1) ... 171s Setting up libpam-systemd:amd64 (257.3-1ubuntu3) ... 172s Setting up libc6-dev:amd64 (2.41-1ubuntu1) ... 172s Setting up libgirepository-1.0-1:amd64 (1.83.4-1) ... 172s Setting up curl (8.12.1-3ubuntu1) ... 172s Setting up linux-image-virtual (6.14.0-10.10) ... 172s Setting up initramfs-tools-core (0.146ubuntu1) ... 172s Setting up linux-tools-common (6.14.0-10.10) ... 172s Setting up python3-systemd (235-1build6) ... 172s Setting up python3-cffi-backend:amd64 (1.17.1-2build2) ... 172s Setting up binutils-x86-64-linux-gnu (2.44-3ubuntu1) ... 172s Setting up linux-image-generic (6.14.0-10.10) ... 172s Setting up python3-dbus (1.3.2-5build5) ... 172s Setting up linux-tools-6.14.0-10 (6.14.0-10.10) ... 172s Setting up initramfs-tools (0.146ubuntu1) ... 172s Installing new version of config file /etc/kernel/postinst.d/initramfs-tools ... 172s Installing new version of config file /etc/kernel/postrm.d/initramfs-tools ... 172s update-initramfs: deferring update (trigger activated) 172s Setting up linux-generic (6.14.0-10.10) ... 172s Setting up ubuntu-minimal (1.549) ... 172s Setting up python3-apt (2.9.9build1) ... 172s Setting up python3-bcrypt (4.2.0-2.1build1) ... 172s Setting up python3-yaml (6.0.2-1build2) ... 173s Setting up libfwupd3:amd64 (2.0.6-4) ... 173s Setting up python3-lazr.uri (1.0.6-6) ... 173s Setting up binutils (2.44-3ubuntu1) ... 173s Setting up ubuntu-standard (1.549) ... 173s Setting up cloud-init-base (25.1-0ubuntu3) ... 175s Setting up linux-virtual (6.14.0-10.10) ... 175s Setting up gir1.2-girepository-2.0:amd64 (1.83.4-1) ... 175s Setting up python3-gi (3.50.0-4build1) ... 175s Setting up linux-tools-6.14.0-10-generic (6.14.0-10.10) ... 175s Setting up fwupd (2.0.6-4) ... 176s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 177s Setting up cloud-init (25.1-0ubuntu3) ... 177s Processing triggers for man-db (2.13.0-1) ... 179s Processing triggers for dbus (1.16.2-1ubuntu1) ... 179s Processing triggers for shared-mime-info (2.4-5) ... 179s Warning: program compiled against libxml 212 using older 209 180s Processing triggers for libc-bin (2.41-1ubuntu1) ... 180s Processing triggers for linux-image-6.14.0-10-generic (6.14.0-10.10) ... 180s /etc/kernel/postinst.d/initramfs-tools: 180s update-initramfs: Generating /boot/initrd.img-6.14.0-10-generic 180s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 197s /etc/kernel/postinst.d/zz-update-grub: 197s Sourcing file `/etc/default/grub' 197s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 197s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 197s Generating grub configuration file ... 197s Found linux image: /boot/vmlinuz-6.14.0-10-generic 197s Found initrd image: /boot/initrd.img-6.14.0-10-generic 197s Found linux image: /boot/vmlinuz-6.12.0-16-generic 197s Found initrd image: /boot/initrd.img-6.12.0-16-generic 197s Found linux image: /boot/vmlinuz-6.11.0-8-generic 197s Found initrd image: /boot/initrd.img-6.11.0-8-generic 198s Warning: os-prober will not be executed to detect other bootable partitions. 198s Systems on them will not be added to the GRUB boot configuration. 198s Check GRUB_DISABLE_OS_PROBER documentation entry. 198s Adding boot menu entry for UEFI Firmware Settings ... 198s done 198s Processing triggers for initramfs-tools (0.146ubuntu1) ... 198s update-initramfs: Generating /boot/initrd.img-6.14.0-10-generic 198s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 216s Reading package lists... 216s Building dependency tree... 216s Reading state information... 217s Solving dependencies... 217s The following packages will be REMOVED: 217s libnl-genl-3-200* libnsl2* libpython3.12-minimal* libpython3.12-stdlib* 217s libpython3.12t64* linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* 217s linux-headers-6.12.0-16* linux-headers-6.12.0-16-generic* 217s linux-image-6.11.0-8-generic* linux-image-6.12.0-16-generic* 217s linux-modules-6.11.0-8-generic* linux-modules-6.12.0-16-generic* 217s linux-modules-extra-6.12.0-16-generic* linux-tools-6.11.0-8* 217s linux-tools-6.11.0-8-generic* linux-tools-6.12.0-16* 217s linux-tools-6.12.0-16-generic* 217s 0 upgraded, 0 newly installed, 18 to remove and 5 not upgraded. 217s After this operation, 545 MB disk space will be freed. 218s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 148643 files and directories currently installed.) 218s Removing libnl-genl-3-200:amd64 (3.7.0-1) ... 218s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8) ... 218s Removing linux-tools-6.11.0-8 (6.11.0-8.8) ... 218s Removing libpython3.12t64:amd64 (3.12.9-1) ... 218s Removing libpython3.12-stdlib:amd64 (3.12.9-1) ... 218s Removing libnsl2:amd64 (1.3.0-3build3) ... 218s Removing libpython3.12-minimal:amd64 (3.12.9-1) ... 218s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 219s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 222s Removing linux-headers-6.12.0-16-generic (6.12.0-16.16) ... 223s Removing linux-headers-6.12.0-16 (6.12.0-16.16) ... 226s Removing linux-image-6.11.0-8-generic (6.11.0-8.8) ... 226s /etc/kernel/postrm.d/initramfs-tools: 226s update-initramfs: Deleting /boot/initrd.img-6.11.0-8-generic 226s /etc/kernel/postrm.d/zz-update-grub: 226s Sourcing file `/etc/default/grub' 226s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 226s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 226s Generating grub configuration file ... 227s Found linux image: /boot/vmlinuz-6.14.0-10-generic 227s Found initrd image: /boot/initrd.img-6.14.0-10-generic 227s Found linux image: /boot/vmlinuz-6.12.0-16-generic 227s Found initrd image: /boot/initrd.img-6.12.0-16-generic 227s Warning: os-prober will not be executed to detect other bootable partitions. 227s Systems on them will not be added to the GRUB boot configuration. 227s Check GRUB_DISABLE_OS_PROBER documentation entry. 227s Adding boot menu entry for UEFI Firmware Settings ... 227s done 228s Removing linux-image-6.12.0-16-generic (6.12.0-16.16) ... 228s W: Removing the running kernel 228s I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.14.0-10-generic 228s I: /boot/initrd.img.old is now a symlink to initrd.img-6.14.0-10-generic 228s /etc/kernel/postrm.d/initramfs-tools: 228s update-initramfs: Deleting /boot/initrd.img-6.12.0-16-generic 228s /etc/kernel/postrm.d/zz-update-grub: 228s Sourcing file `/etc/default/grub' 228s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 228s Sourcing file `/etc/default/grub.d/90-autopkgtest.cfg' 228s Generating grub configuration file ... 228s Found linux image: /boot/vmlinuz-6.14.0-10-generic 228s Found initrd image: /boot/initrd.img-6.14.0-10-generic 229s Warning: os-prober will not be executed to detect other bootable partitions. 229s Systems on them will not be added to the GRUB boot configuration. 229s Check GRUB_DISABLE_OS_PROBER documentation entry. 229s Adding boot menu entry for UEFI Firmware Settings ... 229s done 229s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 229s Removing linux-modules-extra-6.12.0-16-generic (6.12.0-16.16) ... 232s Removing linux-modules-6.12.0-16-generic (6.12.0-16.16) ... 232s Removing linux-tools-6.12.0-16-generic (6.12.0-16.16) ... 232s Removing linux-tools-6.12.0-16 (6.12.0-16.16) ... 232s Processing triggers for libc-bin (2.41-1ubuntu1) ... 232s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 76972 files and directories currently installed.) 232s Purging configuration files for linux-image-6.11.0-8-generic (6.11.0-8.8) ... 232s Purging configuration files for libpython3.12-minimal:amd64 (3.12.9-1) ... 232s Purging configuration files for linux-modules-extra-6.12.0-16-generic (6.12.0-16.16) ... 232s Purging configuration files for linux-modules-6.12.0-16-generic (6.12.0-16.16) ... 232s dpkg: warning: while removing linux-modules-6.12.0-16-generic, directory '/lib/modules/6.12.0-16-generic' not empty so not removed 232s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 232s Purging configuration files for linux-image-6.12.0-16-generic (6.12.0-16.16) ... 232s rmdir: failed to remove '/lib/modules/6.12.0-16-generic': Directory not empty 232s autopkgtest [20:56:29]: upgrading testbed (apt dist-upgrade and autopurge) 233s Reading package lists... 233s Building dependency tree... 233s Reading state information... 234s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 234s Starting 2 pkgProblemResolver with broken count: 0 234s Done 235s Entering ResolveByKeep 235s 235s Calculating upgrade... 235s The following packages will be upgraded: 235s libc-bin libc-dev-bin libc6 libc6-dev locales 236s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 236s Need to get 10.5 MB of archives. 236s After this operation, 1024 B of additional disk space will be used. 236s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libc6-dev amd64 2.41-1ubuntu2 [2183 kB] 236s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libc-dev-bin amd64 2.41-1ubuntu2 [24.7 kB] 236s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libc6 amd64 2.41-1ubuntu2 [3327 kB] 237s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libc-bin amd64 2.41-1ubuntu2 [700 kB] 237s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 locales all 2.41-1ubuntu2 [4246 kB] 237s Preconfiguring packages ... 237s Fetched 10.5 MB in 2s (6931 kB/s) 238s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 76968 files and directories currently installed.) 238s Preparing to unpack .../libc6-dev_2.41-1ubuntu2_amd64.deb ... 238s Unpacking libc6-dev:amd64 (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 238s Preparing to unpack .../libc-dev-bin_2.41-1ubuntu2_amd64.deb ... 238s Unpacking libc-dev-bin (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 238s Preparing to unpack .../libc6_2.41-1ubuntu2_amd64.deb ... 238s Unpacking libc6:amd64 (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 238s Setting up libc6:amd64 (2.41-1ubuntu2) ... 239s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 76968 files and directories currently installed.) 239s Preparing to unpack .../libc-bin_2.41-1ubuntu2_amd64.deb ... 239s Unpacking libc-bin (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 239s Setting up libc-bin (2.41-1ubuntu2) ... 239s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 76968 files and directories currently installed.) 239s Preparing to unpack .../locales_2.41-1ubuntu2_all.deb ... 239s Unpacking locales (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 239s Setting up locales (2.41-1ubuntu2) ... 240s Generating locales (this might take a while)... 242s en_US.UTF-8... done 242s Generation complete. 242s Setting up libc-dev-bin (2.41-1ubuntu2) ... 242s Setting up libc6-dev:amd64 (2.41-1ubuntu2) ... 242s Processing triggers for man-db (2.13.0-1) ... 243s Processing triggers for systemd (257.3-1ubuntu3) ... 244s Reading package lists... 245s Building dependency tree... 245s Reading state information... 245s Starting pkgProblemResolver with broken count: 0 245s Starting 2 pkgProblemResolver with broken count: 0 245s Done 246s Solving dependencies... 246s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 246s autopkgtest [20:56:43]: rebooting testbed after setup commands that affected boot 270s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 277s autopkgtest [20:57:14]: testbed running kernel: Linux 6.14.0-10-generic #10-Ubuntu SMP PREEMPT_DYNAMIC Wed Mar 12 16:07:00 UTC 2025 280s autopkgtest [20:57:17]: @@@@@@@@@@@@@@@@@@@@ apt-source octave-image 282s Get:1 http://ftpmaster.internal/ubuntu plucky/universe octave-image 2.14.0-5build1 (dsc) [2123 B] 282s Get:2 http://ftpmaster.internal/ubuntu plucky/universe octave-image 2.14.0-5build1 (tar) [468 kB] 282s Get:3 http://ftpmaster.internal/ubuntu plucky/universe octave-image 2.14.0-5build1 (diff) [11.7 kB] 283s gpgv: Signature made Tue May 14 09:44:36 2024 UTC 283s gpgv: using RSA key 25E3FF2D7F469DBE7D0D4E50AFCFEC8E669CE1C2 283s gpgv: Can't check signature: No public key 283s dpkg-source: warning: cannot verify inline signature for ./octave-image_2.14.0-5build1.dsc: no acceptable signature found 283s autopkgtest [20:57:20]: testing package octave-image version 2.14.0-5build1 284s autopkgtest [20:57:21]: build not needed 285s autopkgtest [20:57:22]: test command1: preparing testbed 285s Reading package lists... 285s Building dependency tree... 285s Reading state information... 286s Starting pkgProblemResolver with broken count: 0 286s Starting 2 pkgProblemResolver with broken count: 0 286s Done 287s The following NEW packages will be installed: 287s aglfn appstream autoconf automake autopoint autotools-dev cme comerr-dev cpp 287s cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit 287s dh-autoreconf dh-octave dh-octave-autopkgtest dh-strip-nondeterminism 287s diffstat dwz fontconfig fontconfig-config fonts-dejavu-core 287s fonts-dejavu-mono fonts-freefont-otf g++ g++-14 g++-14-x86-64-linux-gnu 287s g++-x86-64-linux-gnu gcc gcc-14 gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu 287s gettext gfortran gfortran-14 gfortran-14-x86-64-linux-gnu 287s gfortran-x86-64-linux-gnu gnuplot-data gnuplot-nox hdf5-helpers 287s intltool-debian krb5-multidev libaec-dev libaec0 libalgorithm-c3-perl 287s libaliased-perl libamd3 libaom3 libapp-cmd-perl libappstream5 287s libapt-pkg-perl libarchive-zip-perl libarpack2t64 libarray-intspan-perl 287s libasan8 libasound2-data libasound2t64 libavahi-client3 libavahi-common-data 287s libavahi-common3 libb-hooks-endofscope-perl libb-hooks-op-check-perl libb2-1 287s libberkeleydb-perl libblas-dev libblas3 libboolean-perl libbrotli-dev 287s libcairo2 libcamd3 libcapture-tiny-perl libcarp-assert-more-perl libcc1-0 287s libccolamd3 libcgi-pm-perl libcholmod5 libclass-c3-perl 287s libclass-data-inheritable-perl libclass-inspector-perl libclass-load-perl 287s libclass-method-modifiers-perl libclass-xsaccessor-perl libclone-choose-perl 287s libclone-perl libcolamd3 libconfig-model-backend-yaml-perl 287s libconfig-model-dpkg-perl libconfig-model-perl libconfig-tiny-perl 287s libconst-fast-perl libconvert-binhex-perl libcpanel-json-xs-perl libcups2t64 287s libcurl4-openssl-dev libcxsparse4 libdata-dpath-perl 287s libdata-messagepack-perl libdata-optlist-perl libdata-section-perl 287s libdata-validate-domain-perl libdata-validate-ip-perl 287s libdata-validate-uri-perl libdatrie1 libde265-0 libdebhelper-perl 287s libdeflate0 libdevel-callchecker-perl libdevel-size-perl 287s libdevel-stacktrace-perl libdouble-conversion3 libdrm-intel1 libduktape207 287s libdynaloader-functions-perl libegl-mesa0 libegl1 libemail-address-xs-perl 287s libencode-locale-perl liberror-perl libevent-2.1-7t64 287s libexception-class-perl libexporter-lite-perl libexporter-tiny-perl 287s libfftw3-bin libfftw3-dev libfftw3-double3 libfftw3-long3 libfftw3-quad3 287s libfftw3-single3 libfile-basedir-perl libfile-find-rule-perl 287s libfile-homedir-perl libfile-listing-perl libfile-sharedir-perl 287s libfile-stripnondeterminism-perl libfile-which-perl libflac12t64 287s libfltk-gl1.3t64 libfltk1.3t64 libfont-ttf-perl libfontconfig1 libfontenc1 287s libgbm1 libgcc-14-dev libgd3 libgetopt-long-descriptive-perl 287s libgfortran-14-dev libgfortran5 libgl-dev libgl1 libgl1-mesa-dri libgl2ps1.4 287s libglpk40 libglu1-mesa libglvnd0 libglx-dev libglx-mesa0 libglx0 libgmp-dev 287s libgmpxx4ldbl libgnutls-dane0t64 libgnutls-openssl27t64 libgnutls28-dev 287s libgomp1 libgraphicsmagick++-q16-12t64 libgraphicsmagick-q16-3t64 287s libgraphite2-3 libgssrpc4t64 libharfbuzz0b libhash-merge-perl libhdf5-310 287s libhdf5-cpp-310 libhdf5-dev libhdf5-fortran-310 libhdf5-hl-310 287s libhdf5-hl-cpp-310 libhdf5-hl-fortran-310 libheif-plugin-aomdec 287s libheif-plugin-libde265 libheif1 libhtml-form-perl 287s libhtml-html5-entities-perl libhtml-parser-perl libhtml-tagset-perl 287s libhtml-tokeparser-simple-perl libhtml-tree-perl libhttp-cookies-perl 287s libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libhwasan0 287s libhwy1t64 libice6 libidn2-dev libimagequant0 libimport-into-perl 287s libindirect-perl libinput-bin libinput10 libio-html-perl 287s libio-interactive-perl libio-socket-ssl-perl libio-string-perl 287s libio-stringy-perl libio-tiecombine-perl libipc-run3-perl 287s libipc-system-simple-perl libisl23 libiterator-perl libiterator-util-perl 287s libitm1 libjack-jackd2-0 libjbig0 libjpeg-dev libjpeg-turbo8 287s libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libjson-maybexs-perl libjson-perl 287s libjxl0.11 libkadm5clnt-mit12 libkadm5srv-mit12 libkdb5-10t64 libkrb5-dev 287s liblapack-dev liblapack3 liblcms2-2 libldap-dev liblerc4 287s liblist-compare-perl liblist-moreutils-perl liblist-moreutils-xs-perl 287s liblist-someutils-perl liblist-utilsby-perl liblog-any-adapter-screen-perl 287s liblog-any-perl liblog-log4perl-perl liblsan0 libltdl7 liblua5.4-0 287s liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl 287s libmarkdown2 libmd4c0 libmime-tools-perl libmldbm-perl 287s libmodule-implementation-perl libmodule-pluggable-perl 287s libmodule-runtime-perl libmoo-perl libmoox-aliases-perl libmouse-perl 287s libmousex-nativetraits-perl libmousex-strictconstructor-perl libmp3lame0 287s libmpc3 libmpg123-0t64 libmro-compat-perl libmtdev1t64 287s libnamespace-clean-perl libncurses-dev libnet-domain-tld-perl 287s libnet-http-perl libnet-ipv6addr-perl libnet-netmask-perl 287s libnet-smtp-ssl-perl libnet-ssleay-perl libnetaddr-ip-perl libnghttp2-dev 287s libnumber-compare-perl libobject-pad-perl libogg0 libopengl0 libopus0 287s libp11-kit-dev libpackage-stash-perl libpango-1.0-0 libpangocairo-1.0-0 287s libpangoft2-1.0-0 libparams-classify-perl libparams-util-perl 287s libparams-validate-perl libparse-debcontrol-perl libparse-recdescent-perl 287s libpath-iterator-rule-perl libpath-tiny-perl libpciaccess0 libpcre2-16-0 287s libperlio-gzip-perl libperlio-utf8-strict-perl libpixman-1-0 libpkgconf3 287s libpod-constants-perl libpod-parser-perl libpod-pom-perl libportaudio2 287s libproc-processtable-perl libproxy1v5 libpsl-dev libqhull-r8.0 libqrupdate1 287s libqscintilla2-qt6-15 libqscintilla2-qt6-l10n libqt6core5compat6 287s libqt6core6t64 libqt6dbus6 libqt6gui6 libqt6help6 libqt6network6 287s libqt6opengl6 libqt6openglwidgets6 libqt6printsupport6 libqt6sql6 287s libqt6widgets6 libqt6xml6 libquadmath0 libraqm0 libreadline-dev 287s libregexp-common-perl libregexp-pattern-license-perl libregexp-pattern-perl 287s libregexp-wildcards-perl librole-tiny-perl librtmp-dev libsamplerate0 287s libsereal-decoder-perl libsereal-encoder-perl libset-intspan-perl 287s libsharpyuv0 libsm6 libsndfile1 libsoftware-copyright-perl 287s libsoftware-license-perl libsoftware-licensemoreutils-perl 287s libsort-versions-perl libspqr4 libssh2-1-dev libssl-dev libstdc++-14-dev 287s libstemmer0d libstrictures-perl libstring-copyright-perl 287s libstring-escape-perl libstring-license-perl libstring-rewriteprefix-perl 287s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 287s libsub-install-perl libsub-name-perl libsub-quote-perl libsub-uplevel-perl 287s libsuitesparseconfig7 libsyntax-keyword-try-perl libsz2 libtasn1-6-dev 287s libterm-readkey-perl libtest-exception-perl libtext-autoformat-perl 287s libtext-glob-perl libtext-levenshtein-damerau-perl 287s libtext-levenshteinxs-perl libtext-markdown-discount-perl 287s libtext-reform-perl libtext-template-perl libtext-unidecode-perl 287s libtext-xslate-perl libthai-data libthai0 libtiff6 libtime-duration-perl 287s libtime-moment-perl libtimedate-perl libtoml-tiny-perl libtool 287s libtry-tiny-perl libts0t64 libtsan2 libubsan1 libumfpack6 libunbound8 287s libunicode-utf8-perl liburi-perl libvariable-magic-perl libvorbis0a 287s libvorbisenc2 libvulkan1 libwacom-common libwacom9 libwayland-client0 287s libwayland-server0 libwebp7 libwebpmux3 libwmflite-0.2-7 287s libwww-mechanize-perl libwww-perl libwww-robotrules-perl libx11-dev 287s libx11-xcb1 libxau-dev libxaw7 libxcb-cursor0 libxcb-dri3-0 libxcb-glx0 287s libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0 libxcb-randr0 287s libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 287s libxcb-util1 libxcb-xfixes0 libxcb-xinput0 libxcb-xkb1 libxcb1-dev 287s libxcursor1 libxdmcp-dev libxfixes3 libxfont2 libxft2 libxinerama1 287s libxkbcommon-x11-0 libxkbfile1 libxml-libxml-perl 287s libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxmu6 287s libxpm4 libxrandr2 libxrender1 libxs-parse-keyword-perl 287s libxs-parse-sublike-perl libxshmfence1 libxt6t64 libxxf86vm1 287s libyaml-libyaml-perl libyaml-pp-perl libyaml-tiny-perl libzstd-dev 287s licensecheck lintian lzip lzop m4 mesa-libgallium nettle-dev octave 287s octave-common octave-dev octave-image patchutils perl-openssl-defaults 287s pkgconf pkgconf-bin po-debconf t1utils tex-common texinfo texinfo-lib unzip 287s x11-common x11-xkb-utils x11proto-dev xorg-sgml-doctools xserver-common 287s xtrans-dev xvfb zlib1g-dev 287s 0 upgraded, 475 newly installed, 0 to remove and 0 not upgraded. 287s Need to get 206 MB of archives. 287s After this operation, 725 MB of additional disk space will be used. 287s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libstemmer0d amd64 2.2.0-4build1 [161 kB] 288s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libappstream5 amd64 1.0.4-1 [247 kB] 288s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 appstream amd64 1.0.4-1 [74.8 kB] 288s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 m4 amd64 1.4.19-7 [263 kB] 288s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 autoconf all 2.72-3ubuntu1 [383 kB] 288s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 autotools-dev all 20220109.1 [44.9 kB] 288s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 automake all 1:1.17-3ubuntu1 [572 kB] 288s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 autopoint all 0.23.1-1 [619 kB] 288s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libcapture-tiny-perl all 0.50-1 [20.7 kB] 288s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libparams-util-perl amd64 1.102-3build1 [21.4 kB] 288s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libsub-install-perl all 0.929-1 [9764 B] 288s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libdata-optlist-perl all 0.114-1 [9708 B] 288s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 libb-hooks-op-check-perl amd64 0.22-3build2 [9624 B] 288s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libdynaloader-functions-perl all 0.004-1 [11.4 kB] 288s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libdevel-callchecker-perl amd64 0.009-1build1 [14.2 kB] 288s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libparams-classify-perl amd64 0.015-2build6 [20.1 kB] 288s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libmodule-runtime-perl all 0.016-2 [16.4 kB] 288s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libtry-tiny-perl all 0.32-1 [21.2 kB] 288s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 libmodule-implementation-perl all 0.09-2 [12.0 kB] 288s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 libpackage-stash-perl all 0.40-1 [19.5 kB] 288s Get:21 http://ftpmaster.internal/ubuntu plucky/universe amd64 libclass-load-perl all 0.25-2 [12.7 kB] 288s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libio-stringy-perl all 2.113-2 [45.3 kB] 288s Get:23 http://ftpmaster.internal/ubuntu plucky/universe amd64 libparams-validate-perl amd64 1.31-2build4 [53.7 kB] 288s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 libsub-exporter-perl all 0.990-1 [49.0 kB] 288s Get:25 http://ftpmaster.internal/ubuntu plucky/universe amd64 libgetopt-long-descriptive-perl all 0.116-2 [25.0 kB] 288s Get:26 http://ftpmaster.internal/ubuntu plucky/universe amd64 libio-tiecombine-perl all 1.005-3 [9464 B] 288s Get:27 http://ftpmaster.internal/ubuntu plucky/universe amd64 libmodule-pluggable-perl all 5.2-5 [19.5 kB] 288s Get:28 http://ftpmaster.internal/ubuntu plucky/universe amd64 libstring-rewriteprefix-perl all 0.009-1 [6310 B] 288s Get:29 http://ftpmaster.internal/ubuntu plucky/universe amd64 libapp-cmd-perl all 0.337-2 [58.3 kB] 288s Get:30 http://ftpmaster.internal/ubuntu plucky/universe amd64 libboolean-perl all 0.46-3 [8430 B] 288s Get:31 http://ftpmaster.internal/ubuntu plucky/universe amd64 libsub-uplevel-perl all 0.2800-3 [11.6 kB] 288s Get:32 http://ftpmaster.internal/ubuntu plucky/universe amd64 libtest-exception-perl all 0.43-3 [13.4 kB] 288s Get:33 http://ftpmaster.internal/ubuntu plucky/universe amd64 libcarp-assert-more-perl all 2.8.0-1 [19.2 kB] 288s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libfile-which-perl all 1.27-2 [12.5 kB] 288s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libfile-homedir-perl all 1.006-2 [37.0 kB] 288s Get:36 http://ftpmaster.internal/ubuntu plucky/universe amd64 libclone-choose-perl all 0.010-2 [7738 B] 288s Get:37 http://ftpmaster.internal/ubuntu plucky/universe amd64 libhash-merge-perl all 0.302-1 [13.0 kB] 288s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libjson-perl all 4.10000-1 [81.9 kB] 288s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 libexporter-tiny-perl all 1.006002-1 [36.8 kB] 288s Get:40 http://ftpmaster.internal/ubuntu plucky/universe amd64 liblist-moreutils-xs-perl amd64 0.430-4build1 [42.9 kB] 288s Get:41 http://ftpmaster.internal/ubuntu plucky/universe amd64 liblist-moreutils-perl all 0.430-2 [38.2 kB] 288s Get:42 http://ftpmaster.internal/ubuntu plucky/universe amd64 liblog-log4perl-perl all 1.57-1 [345 kB] 288s Get:43 http://ftpmaster.internal/ubuntu plucky/main amd64 libmouse-perl amd64 2.5.11-1build1 [134 kB] 288s Get:44 http://ftpmaster.internal/ubuntu plucky/universe amd64 libmousex-nativetraits-perl all 1.09-3 [53.2 kB] 288s Get:45 http://ftpmaster.internal/ubuntu plucky/universe amd64 libmousex-strictconstructor-perl all 0.02-3 [4582 B] 288s Get:46 http://ftpmaster.internal/ubuntu plucky/universe amd64 libparse-recdescent-perl all 1.967015+dfsg-4 [139 kB] 288s Get:47 http://ftpmaster.internal/ubuntu plucky/main amd64 libpath-tiny-perl all 0.146-1 [47.5 kB] 288s Get:48 http://ftpmaster.internal/ubuntu plucky/universe amd64 libpod-pom-perl all 2.01-4 [61.3 kB] 288s Get:49 http://ftpmaster.internal/ubuntu plucky/main amd64 libregexp-common-perl all 2024080801-1 [162 kB] 288s Get:50 http://ftpmaster.internal/ubuntu plucky/main amd64 libyaml-tiny-perl all 1.76-1 [24.2 kB] 288s Get:51 http://ftpmaster.internal/ubuntu plucky/universe amd64 libconfig-model-perl all 2.155-1 [356 kB] 288s Get:52 http://ftpmaster.internal/ubuntu plucky/universe amd64 libyaml-pp-perl all 0.39.0-1 [107 kB] 288s Get:53 http://ftpmaster.internal/ubuntu plucky/universe amd64 cme all 1.041-1 [65.4 kB] 288s Get:54 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 288s Get:55 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 288s Get:56 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-17ubuntu3 [11.9 MB] 289s Get:57 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-17ubuntu3 [1030 B] 289s Get:58 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [5586 B] 289s Get:59 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.2.0-1ubuntu1 [22.4 kB] 289s Get:60 http://ftpmaster.internal/ubuntu plucky/main amd64 libdebhelper-perl all 13.24.1ubuntu2 [95.4 kB] 289s Get:61 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 15-20250222-0ubuntu1 [47.0 kB] 289s Get:62 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 15-20250222-0ubuntu1 [148 kB] 289s Get:63 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 15-20250222-0ubuntu1 [28.6 kB] 289s Get:64 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 15-20250222-0ubuntu1 [3055 kB] 289s Get:65 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 15-20250222-0ubuntu1 [1355 kB] 289s Get:66 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 15-20250222-0ubuntu1 [2756 kB] 289s Get:67 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 15-20250222-0ubuntu1 [1205 kB] 289s Get:68 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 15-20250222-0ubuntu1 [1677 kB] 289s Get:69 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 15-20250222-0ubuntu1 [152 kB] 289s Get:70 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-17ubuntu3 [2816 kB] 289s Get:71 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-17ubuntu3 [23.3 MB] 290s Get:72 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-17ubuntu3 [536 kB] 290s Get:73 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [1208 B] 290s Get:74 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.2.0-1ubuntu1 [5004 B] 290s Get:75 http://ftpmaster.internal/ubuntu plucky/main amd64 libtool all 2.5.4-4 [168 kB] 290s Get:76 http://ftpmaster.internal/ubuntu plucky/main amd64 dh-autoreconf all 20 [16.1 kB] 290s Get:77 http://ftpmaster.internal/ubuntu plucky/main amd64 libarchive-zip-perl all 1.68-1 [90.2 kB] 290s Get:78 http://ftpmaster.internal/ubuntu plucky/main amd64 libfile-stripnondeterminism-perl all 1.14.1-2 [20.3 kB] 290s Get:79 http://ftpmaster.internal/ubuntu plucky/main amd64 dh-strip-nondeterminism all 1.14.1-2 [5064 B] 290s Get:80 http://ftpmaster.internal/ubuntu plucky/main amd64 debugedit amd64 1:5.1-2 [47.0 kB] 290s Get:81 http://ftpmaster.internal/ubuntu plucky/main amd64 dwz amd64 0.15-1build6 [115 kB] 290s Get:82 http://ftpmaster.internal/ubuntu plucky/main amd64 gettext amd64 0.23.1-1 [1086 kB] 290s Get:83 http://ftpmaster.internal/ubuntu plucky/main amd64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 290s Get:84 http://ftpmaster.internal/ubuntu plucky/main amd64 po-debconf all 1.0.21+nmu1 [233 kB] 290s Get:85 http://ftpmaster.internal/ubuntu plucky/main amd64 debhelper all 13.24.1ubuntu2 [895 kB] 290s Get:86 http://ftpmaster.internal/ubuntu plucky/universe amd64 aglfn all 1.7+git20191031.4036a9c-2 [30.6 kB] 290s Get:87 http://ftpmaster.internal/ubuntu plucky/universe amd64 gnuplot-data all 6.0.2+dfsg1-1 [75.4 kB] 290s Get:88 http://ftpmaster.internal/ubuntu plucky/main amd64 fonts-dejavu-mono all 2.37-8 [502 kB] 290s Get:89 http://ftpmaster.internal/ubuntu plucky/main amd64 fonts-dejavu-core all 2.37-8 [835 kB] 290s Get:90 http://ftpmaster.internal/ubuntu plucky/universe amd64 fonts-freefont-otf all 20211204+svn4273-2 [4596 kB] 290s Get:91 http://ftpmaster.internal/ubuntu plucky/main amd64 fontconfig-config amd64 2.15.0-2ubuntu1 [37.4 kB] 290s Get:92 http://ftpmaster.internal/ubuntu plucky/main amd64 libfontconfig1 amd64 2.15.0-2ubuntu1 [164 kB] 290s Get:93 http://ftpmaster.internal/ubuntu plucky/main amd64 libpixman-1-0 amd64 0.44.0-3 [427 kB] 290s Get:94 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-render0 amd64 1.17.0-2 [16.2 kB] 290s Get:95 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-shm0 amd64 1.17.0-2 [5758 B] 290s Get:96 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrender1 amd64 1:0.9.10-1.1build1 [19.0 kB] 290s Get:97 http://ftpmaster.internal/ubuntu plucky/main amd64 libcairo2 amd64 1.18.2-2 [569 kB] 290s Get:98 http://ftpmaster.internal/ubuntu plucky/main amd64 libsharpyuv0 amd64 1.5.0-0.1 [25.9 kB] 290s Get:99 http://ftpmaster.internal/ubuntu plucky/main amd64 libaom3 amd64 3.12.0-1 [2742 kB] 290s Get:100 http://ftpmaster.internal/ubuntu plucky/main amd64 libheif-plugin-aomdec amd64 1.19.7-1 [11.6 kB] 290s Get:101 http://ftpmaster.internal/ubuntu plucky/main amd64 libde265-0 amd64 1.0.15-1build5 [285 kB] 290s Get:102 http://ftpmaster.internal/ubuntu plucky/main amd64 libheif-plugin-libde265 amd64 1.19.7-1 [9060 B] 290s Get:103 http://ftpmaster.internal/ubuntu plucky/main amd64 libheif1 amd64 1.19.7-1 [428 kB] 291s Get:104 http://ftpmaster.internal/ubuntu plucky/main amd64 libimagequant0 amd64 2.18.0-1build1 [36.3 kB] 291s Get:105 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg-turbo8 amd64 2.1.5-3ubuntu2 [179 kB] 291s Get:106 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg8 amd64 8c-2ubuntu11 [2148 B] 291s Get:107 http://ftpmaster.internal/ubuntu plucky/main amd64 libgraphite2-3 amd64 1.3.14-2ubuntu1 [73.1 kB] 291s Get:108 http://ftpmaster.internal/ubuntu plucky/main amd64 libharfbuzz0b amd64 10.2.0-1 [543 kB] 291s Get:109 http://ftpmaster.internal/ubuntu plucky/main amd64 libraqm0 amd64 0.10.2-1 [17.2 kB] 291s Get:110 http://ftpmaster.internal/ubuntu plucky/main amd64 libdeflate0 amd64 1.23-1 [64.1 kB] 291s Get:111 http://ftpmaster.internal/ubuntu plucky/main amd64 libjbig0 amd64 2.1-6.1ubuntu2 [29.7 kB] 291s Get:112 http://ftpmaster.internal/ubuntu plucky/main amd64 liblerc4 amd64 4.0.0+ds-5ubuntu1 [271 kB] 291s Get:113 http://ftpmaster.internal/ubuntu plucky/main amd64 libwebp7 amd64 1.5.0-0.1 [378 kB] 291s Get:114 http://ftpmaster.internal/ubuntu plucky/main amd64 libtiff6 amd64 4.5.1+git230720-4ubuntu4 [200 kB] 291s Get:115 http://ftpmaster.internal/ubuntu plucky/main amd64 libxpm4 amd64 1:3.5.17-1build2 [36.5 kB] 291s Get:116 http://ftpmaster.internal/ubuntu plucky/main amd64 libgd3 amd64 2.3.3-12ubuntu3 [127 kB] 291s Get:117 http://ftpmaster.internal/ubuntu plucky/main amd64 liblua5.4-0 amd64 5.4.7-1 [196 kB] 291s Get:118 http://ftpmaster.internal/ubuntu plucky/main amd64 fontconfig amd64 2.15.0-2ubuntu1 [180 kB] 291s Get:119 http://ftpmaster.internal/ubuntu plucky/main amd64 libthai-data all 0.1.29-2build1 [158 kB] 291s Get:120 http://ftpmaster.internal/ubuntu plucky/main amd64 libdatrie1 amd64 0.2.13-3build1 [19.0 kB] 291s Get:121 http://ftpmaster.internal/ubuntu plucky/main amd64 libthai0 amd64 0.1.29-2build1 [18.9 kB] 291s Get:122 http://ftpmaster.internal/ubuntu plucky/main amd64 libpango-1.0-0 amd64 1.56.2-1 [255 kB] 291s Get:123 http://ftpmaster.internal/ubuntu plucky/main amd64 libpangoft2-1.0-0 amd64 1.56.2-1 [52.6 kB] 291s Get:124 http://ftpmaster.internal/ubuntu plucky/main amd64 libpangocairo-1.0-0 amd64 1.56.2-1 [29.1 kB] 291s Get:125 http://ftpmaster.internal/ubuntu plucky/main amd64 libwebpmux3 amd64 1.5.0-0.1 [27.6 kB] 291s Get:126 http://ftpmaster.internal/ubuntu plucky/universe amd64 gnuplot-nox amd64 6.0.2+dfsg1-1 [1170 kB] 291s Get:127 http://ftpmaster.internal/ubuntu plucky/universe amd64 dh-octave-autopkgtest all 1.8.0 [10.1 kB] 291s Get:128 http://ftpmaster.internal/ubuntu plucky/main amd64 libapt-pkg-perl amd64 0.1.41build1 [71.0 kB] 291s Get:129 http://ftpmaster.internal/ubuntu plucky/main amd64 libarray-intspan-perl all 2.004-2 [25.0 kB] 291s Get:130 http://ftpmaster.internal/ubuntu plucky/main amd64 libyaml-libyaml-perl amd64 0.903.0+ds-1 [31.0 kB] 291s Get:131 http://ftpmaster.internal/ubuntu plucky/universe amd64 libconfig-model-backend-yaml-perl all 2.134-2 [10.5 kB] 291s Get:132 http://ftpmaster.internal/ubuntu plucky/universe amd64 libexporter-lite-perl all 0.09-2 [9748 B] 291s Get:133 http://ftpmaster.internal/ubuntu plucky/main amd64 libencode-locale-perl all 1.05-3 [11.6 kB] 291s Get:134 http://ftpmaster.internal/ubuntu plucky/main amd64 libtimedate-perl all 2.3300-2 [34.0 kB] 291s Get:135 http://ftpmaster.internal/ubuntu plucky/main amd64 libhttp-date-perl all 6.06-1 [10.2 kB] 291s Get:136 http://ftpmaster.internal/ubuntu plucky/main amd64 libfile-listing-perl all 6.16-1 [11.3 kB] 291s Get:137 http://ftpmaster.internal/ubuntu plucky/main amd64 libhtml-tagset-perl all 3.24-1 [14.1 kB] 291s Get:138 http://ftpmaster.internal/ubuntu plucky/main amd64 liburi-perl all 5.30-1 [94.4 kB] 291s Get:139 http://ftpmaster.internal/ubuntu plucky/main amd64 libhtml-parser-perl amd64 3.83-1build1 [86.2 kB] 291s Get:140 http://ftpmaster.internal/ubuntu plucky/main amd64 libhtml-tree-perl all 5.07-3 [200 kB] 291s Get:141 http://ftpmaster.internal/ubuntu plucky/main amd64 libclone-perl amd64 0.47-1 [10.7 kB] 291s Get:142 http://ftpmaster.internal/ubuntu plucky/main amd64 libio-html-perl all 1.004-3 [15.9 kB] 291s Get:143 http://ftpmaster.internal/ubuntu plucky/main amd64 liblwp-mediatypes-perl all 6.04-2 [20.1 kB] 291s Get:144 http://ftpmaster.internal/ubuntu plucky/main amd64 libhttp-message-perl all 7.00-2ubuntu1 [75.9 kB] 291s Get:145 http://ftpmaster.internal/ubuntu plucky/main amd64 libhttp-cookies-perl all 6.11-1 [18.2 kB] 291s Get:146 http://ftpmaster.internal/ubuntu plucky/main amd64 libhttp-negotiate-perl all 6.01-2 [12.4 kB] 291s Get:147 http://ftpmaster.internal/ubuntu plucky/main amd64 perl-openssl-defaults amd64 7build3 [6626 B] 291s Get:148 http://ftpmaster.internal/ubuntu plucky/main amd64 libnet-ssleay-perl amd64 1.94-3 [318 kB] 291s Get:149 http://ftpmaster.internal/ubuntu plucky/main amd64 libio-socket-ssl-perl all 2.089-1 [200 kB] 291s Get:150 http://ftpmaster.internal/ubuntu plucky/main amd64 libnet-http-perl all 6.23-1 [22.3 kB] 291s Get:151 http://ftpmaster.internal/ubuntu plucky/main amd64 liblwp-protocol-https-perl all 6.14-1 [9040 B] 291s Get:152 http://ftpmaster.internal/ubuntu plucky/main amd64 libwww-robotrules-perl all 6.02-1 [12.6 kB] 291s Get:153 http://ftpmaster.internal/ubuntu plucky/main amd64 libwww-perl all 6.78-1 [139 kB] 291s Get:154 http://ftpmaster.internal/ubuntu plucky/main amd64 liberror-perl all 0.17030-1 [23.5 kB] 291s Get:155 http://ftpmaster.internal/ubuntu plucky/universe amd64 libparse-debcontrol-perl all 2.005-6 [20.4 kB] 291s Get:156 http://ftpmaster.internal/ubuntu plucky/universe amd64 libsoftware-copyright-perl all 0.014-1 [14.5 kB] 291s Get:157 http://ftpmaster.internal/ubuntu plucky/universe amd64 libalgorithm-c3-perl all 0.11-2 [10.2 kB] 291s Get:158 http://ftpmaster.internal/ubuntu plucky/universe amd64 libclass-c3-perl all 0.35-2 [18.4 kB] 291s Get:159 http://ftpmaster.internal/ubuntu plucky/universe amd64 libmro-compat-perl all 0.15-2 [10.1 kB] 291s Get:160 http://ftpmaster.internal/ubuntu plucky/universe amd64 libdata-section-perl all 0.200008-1 [11.6 kB] 291s Get:161 http://ftpmaster.internal/ubuntu plucky/universe amd64 libtext-template-perl all 1.61-1 [48.5 kB] 291s Get:162 http://ftpmaster.internal/ubuntu plucky/universe amd64 libsoftware-license-perl all 0.104006-1 [117 kB] 291s Get:163 http://ftpmaster.internal/ubuntu plucky/universe amd64 libsoftware-licensemoreutils-perl all 1.009-1 [21.5 kB] 291s Get:164 http://ftpmaster.internal/ubuntu plucky/main amd64 libsort-versions-perl all 1.62-3 [7378 B] 291s Get:165 http://ftpmaster.internal/ubuntu plucky/universe amd64 libtext-reform-perl all 1.20-5 [35.4 kB] 291s Get:166 http://ftpmaster.internal/ubuntu plucky/universe amd64 libtext-autoformat-perl all 1.750000-2 [29.8 kB] 291s Get:167 http://ftpmaster.internal/ubuntu plucky/universe amd64 libtext-levenshtein-damerau-perl all 0.41-3 [10.8 kB] 291s Get:168 http://ftpmaster.internal/ubuntu plucky/universe amd64 libtoml-tiny-perl all 0.19-1 [21.6 kB] 291s Get:169 http://ftpmaster.internal/ubuntu plucky/main amd64 libclass-inspector-perl all 1.36-3 [15.4 kB] 291s Get:170 http://ftpmaster.internal/ubuntu plucky/main amd64 libfile-sharedir-perl all 1.118-3 [14.0 kB] 291s Get:171 http://ftpmaster.internal/ubuntu plucky/main amd64 libindirect-perl amd64 0.39-2build5 [22.2 kB] 291s Get:172 http://ftpmaster.internal/ubuntu plucky/main amd64 libxs-parse-keyword-perl amd64 0.48-2 [63.0 kB] 292s Get:173 http://ftpmaster.internal/ubuntu plucky/main amd64 libxs-parse-sublike-perl amd64 0.37-1 [45.6 kB] 292s Get:174 http://ftpmaster.internal/ubuntu plucky/main amd64 libobject-pad-perl amd64 0.820-1 [133 kB] 292s Get:175 http://ftpmaster.internal/ubuntu plucky/main amd64 libsyntax-keyword-try-perl amd64 0.30-1 [24.4 kB] 292s Get:176 http://ftpmaster.internal/ubuntu plucky/main amd64 libio-interactive-perl all 1.026-1 [10.8 kB] 292s Get:177 http://ftpmaster.internal/ubuntu plucky/main amd64 liblog-any-perl all 1.717-1 [73.2 kB] 292s Get:178 http://ftpmaster.internal/ubuntu plucky/main amd64 liblog-any-adapter-screen-perl all 0.141-1 [12.9 kB] 292s Get:179 http://ftpmaster.internal/ubuntu plucky/main amd64 libsub-exporter-progressive-perl all 0.001013-3 [6718 B] 292s Get:180 http://ftpmaster.internal/ubuntu plucky/main amd64 libvariable-magic-perl amd64 0.64-1build1 [36.3 kB] 292s Get:181 http://ftpmaster.internal/ubuntu plucky/main amd64 libb-hooks-endofscope-perl all 0.28-1 [15.8 kB] 292s Get:182 http://ftpmaster.internal/ubuntu plucky/main amd64 libsub-identify-perl amd64 0.14-3build4 [9904 B] 292s Get:183 http://ftpmaster.internal/ubuntu plucky/main amd64 libsub-name-perl amd64 0.28-1 [10.7 kB] 292s Get:184 http://ftpmaster.internal/ubuntu plucky/main amd64 libnamespace-clean-perl all 0.27-2 [14.0 kB] 292s Get:185 http://ftpmaster.internal/ubuntu plucky/main amd64 libnumber-compare-perl all 0.03-3 [5974 B] 292s Get:186 http://ftpmaster.internal/ubuntu plucky/main amd64 libtext-glob-perl all 0.11-3 [6780 B] 292s Get:187 http://ftpmaster.internal/ubuntu plucky/main amd64 libpath-iterator-rule-perl all 1.015-2 [39.9 kB] 292s Get:188 http://ftpmaster.internal/ubuntu plucky/main amd64 libpod-parser-perl all 1.67-1 [80.6 kB] 292s Get:189 http://ftpmaster.internal/ubuntu plucky/main amd64 libpod-constants-perl all 0.19-2 [16.3 kB] 292s Get:190 http://ftpmaster.internal/ubuntu plucky/main amd64 libset-intspan-perl all 1.19-3 [24.8 kB] 292s Get:191 http://ftpmaster.internal/ubuntu plucky/main amd64 libstring-copyright-perl all 0.003014-1 [20.5 kB] 292s Get:192 http://ftpmaster.internal/ubuntu plucky/main amd64 libstring-escape-perl all 2010.002-3 [16.1 kB] 292s Get:193 http://ftpmaster.internal/ubuntu plucky/main amd64 libregexp-pattern-license-perl all 3.11.2-1 [85.3 kB] 292s Get:194 http://ftpmaster.internal/ubuntu plucky/main amd64 libregexp-pattern-perl all 0.2.14-2 [17.6 kB] 292s Get:195 http://ftpmaster.internal/ubuntu plucky/main amd64 libstring-license-perl all 0.0.11-1ubuntu1 [34.3 kB] 292s Get:196 http://ftpmaster.internal/ubuntu plucky/main amd64 licensecheck all 3.3.9-1ubuntu1 [37.7 kB] 292s Get:197 http://ftpmaster.internal/ubuntu plucky/main amd64 diffstat amd64 1.67-1 [33.1 kB] 292s Get:198 http://ftpmaster.internal/ubuntu plucky/main amd64 libberkeleydb-perl amd64 0.66-1 [119 kB] 292s Get:199 http://ftpmaster.internal/ubuntu plucky/main amd64 libclass-xsaccessor-perl amd64 1.19-4build6 [33.8 kB] 292s Get:200 http://ftpmaster.internal/ubuntu plucky/main amd64 libconfig-tiny-perl all 2.30-1 [14.7 kB] 292s Get:201 http://ftpmaster.internal/ubuntu plucky/main amd64 libconst-fast-perl all 0.014-2 [8034 B] 292s Get:202 http://ftpmaster.internal/ubuntu plucky/main amd64 libcpanel-json-xs-perl amd64 4.39-1 [116 kB] 292s Get:203 http://ftpmaster.internal/ubuntu plucky/main amd64 libaliased-perl all 0.34-3 [12.8 kB] 292s Get:204 http://ftpmaster.internal/ubuntu plucky/main amd64 libclass-data-inheritable-perl all 0.10-1 [8038 B] 292s Get:205 http://ftpmaster.internal/ubuntu plucky/main amd64 libdevel-stacktrace-perl all 2.0500-1 [22.1 kB] 292s Get:206 http://ftpmaster.internal/ubuntu plucky/main amd64 libexception-class-perl all 1.45-1 [28.6 kB] 292s Get:207 http://ftpmaster.internal/ubuntu plucky/main amd64 libiterator-perl all 0.03+ds1-2 [18.8 kB] 292s Get:208 http://ftpmaster.internal/ubuntu plucky/main amd64 libiterator-util-perl all 0.02+ds1-2 [14.1 kB] 292s Get:209 http://ftpmaster.internal/ubuntu plucky/main amd64 libdata-dpath-perl all 0.60-1 [37.3 kB] 292s Get:210 http://ftpmaster.internal/ubuntu plucky/main amd64 libnet-domain-tld-perl all 1.75-4 [29.0 kB] 292s Get:211 http://ftpmaster.internal/ubuntu plucky/main amd64 libdata-validate-domain-perl all 0.15-1 [10.4 kB] 292s Get:212 http://ftpmaster.internal/ubuntu plucky/main amd64 libnet-ipv6addr-perl all 1.02-1 [21.0 kB] 292s Get:213 http://ftpmaster.internal/ubuntu plucky/main amd64 libnet-netmask-perl all 2.0002-2 [24.8 kB] 292s Get:214 http://ftpmaster.internal/ubuntu plucky/main amd64 libnetaddr-ip-perl amd64 4.079+dfsg-2build5 [80.0 kB] 292s Get:215 http://ftpmaster.internal/ubuntu plucky/main amd64 libdata-validate-ip-perl all 0.31-1 [17.2 kB] 292s Get:216 http://ftpmaster.internal/ubuntu plucky/main amd64 libdata-validate-uri-perl all 0.07-3 [10.8 kB] 292s Get:217 http://ftpmaster.internal/ubuntu plucky/main amd64 libdevel-size-perl amd64 0.84-1build1 [19.6 kB] 292s Get:218 http://ftpmaster.internal/ubuntu plucky/main amd64 libemail-address-xs-perl amd64 1.05-1build5 [29.5 kB] 292s Get:219 http://ftpmaster.internal/ubuntu plucky/main amd64 libipc-system-simple-perl all 1.30-2 [22.3 kB] 292s Get:220 http://ftpmaster.internal/ubuntu plucky/main amd64 libfile-basedir-perl all 0.09-2 [14.4 kB] 292s Get:221 http://ftpmaster.internal/ubuntu plucky/main amd64 libfile-find-rule-perl all 0.34-3 [24.4 kB] 292s Get:222 http://ftpmaster.internal/ubuntu plucky/main amd64 libio-string-perl all 1.08-4 [11.1 kB] 292s Get:223 http://ftpmaster.internal/ubuntu plucky/main amd64 libfont-ttf-perl all 1.06-2 [323 kB] 292s Get:224 http://ftpmaster.internal/ubuntu plucky/main amd64 libhtml-html5-entities-perl all 0.004-3 [21.6 kB] 292s Get:225 http://ftpmaster.internal/ubuntu plucky/main amd64 libhtml-tokeparser-simple-perl all 3.16-4 [38.0 kB] 292s Get:226 http://ftpmaster.internal/ubuntu plucky/main amd64 libipc-run3-perl all 0.049-1 [28.8 kB] 292s Get:227 http://ftpmaster.internal/ubuntu plucky/main amd64 libjson-maybexs-perl all 1.004008-1 [11.1 kB] 292s Get:228 http://ftpmaster.internal/ubuntu plucky/main amd64 liblist-compare-perl all 0.55-2 [62.9 kB] 292s Get:229 http://ftpmaster.internal/ubuntu plucky/main amd64 liblist-someutils-perl all 0.59-1 [30.4 kB] 292s Get:230 http://ftpmaster.internal/ubuntu plucky/main amd64 liblist-utilsby-perl all 0.12-2 [14.9 kB] 292s Get:231 http://ftpmaster.internal/ubuntu plucky/main amd64 libmldbm-perl all 2.05-4 [16.0 kB] 292s Get:232 http://ftpmaster.internal/ubuntu plucky/main amd64 libclass-method-modifiers-perl all 2.15-1 [16.1 kB] 292s Get:233 http://ftpmaster.internal/ubuntu plucky/main amd64 libimport-into-perl all 1.002005-2 [10.7 kB] 292s Get:234 http://ftpmaster.internal/ubuntu plucky/main amd64 librole-tiny-perl all 2.002004-1 [16.3 kB] 292s Get:235 http://ftpmaster.internal/ubuntu plucky/main amd64 libsub-quote-perl all 2.006008-1ubuntu1 [20.7 kB] 293s Get:236 http://ftpmaster.internal/ubuntu plucky/main amd64 libmoo-perl all 2.005005-1 [47.4 kB] 293s Get:237 http://ftpmaster.internal/ubuntu plucky/main amd64 libstrictures-perl all 2.000006-1 [16.3 kB] 293s Get:238 http://ftpmaster.internal/ubuntu plucky/main amd64 libmoox-aliases-perl all 0.001006-2 [6796 B] 293s Get:239 http://ftpmaster.internal/ubuntu plucky/main amd64 libperlio-gzip-perl amd64 0.20-1build5 [14.8 kB] 293s Get:240 http://ftpmaster.internal/ubuntu plucky/main amd64 libperlio-utf8-strict-perl amd64 0.010-1build4 [11.1 kB] 293s Get:241 http://ftpmaster.internal/ubuntu plucky/main amd64 libproc-processtable-perl amd64 0.636-1build4 [35.9 kB] 293s Get:242 http://ftpmaster.internal/ubuntu plucky/main amd64 libregexp-wildcards-perl all 1.05-3 [12.9 kB] 293s Get:243 http://ftpmaster.internal/ubuntu plucky/main amd64 libsereal-decoder-perl amd64 5.004+ds-1build4 [101 kB] 293s Get:244 http://ftpmaster.internal/ubuntu plucky/main amd64 libsereal-encoder-perl amd64 5.004+ds-1build4 [105 kB] 293s Get:245 http://ftpmaster.internal/ubuntu plucky/main amd64 libterm-readkey-perl amd64 2.38-2build5 [23.2 kB] 293s Get:246 http://ftpmaster.internal/ubuntu plucky/main amd64 libtext-levenshteinxs-perl amd64 0.03-5build5 [8116 B] 293s Get:247 http://ftpmaster.internal/ubuntu plucky/main amd64 libmarkdown2 amd64 2.2.7-2.1 [42.3 kB] 293s Get:248 http://ftpmaster.internal/ubuntu plucky/main amd64 libtext-markdown-discount-perl amd64 0.18-1 [12.4 kB] 293s Get:249 http://ftpmaster.internal/ubuntu plucky/main amd64 libdata-messagepack-perl amd64 1.02-1build5 [31.6 kB] 293s Get:250 http://ftpmaster.internal/ubuntu plucky/main amd64 libtext-xslate-perl amd64 3.5.9-2build1 [161 kB] 293s Get:251 http://ftpmaster.internal/ubuntu plucky/main amd64 libtime-duration-perl all 1.21-2 [12.3 kB] 293s Get:252 http://ftpmaster.internal/ubuntu plucky/main amd64 libtime-moment-perl amd64 0.44-2build5 [71.6 kB] 293s Get:253 http://ftpmaster.internal/ubuntu plucky/main amd64 libunicode-utf8-perl amd64 0.62-2build4 [18.3 kB] 293s Get:254 http://ftpmaster.internal/ubuntu plucky/main amd64 libcgi-pm-perl all 4.67-1 [185 kB] 293s Get:255 http://ftpmaster.internal/ubuntu plucky/main amd64 libhtml-form-perl all 6.12-1 [31.1 kB] 293s Get:256 http://ftpmaster.internal/ubuntu plucky/main amd64 libwww-mechanize-perl all 2.19-1ubuntu1 [93.3 kB] 293s Get:257 http://ftpmaster.internal/ubuntu plucky/main amd64 libxml-namespacesupport-perl all 1.12-2 [13.5 kB] 293s Get:258 http://ftpmaster.internal/ubuntu plucky/main amd64 libxml-sax-base-perl all 1.09-3 [18.9 kB] 293s Get:259 http://ftpmaster.internal/ubuntu plucky/main amd64 libxml-sax-perl all 1.02+dfsg-4 [52.4 kB] 293s Get:260 http://ftpmaster.internal/ubuntu plucky/main amd64 libxml-libxml-perl amd64 2.0207+dfsg+really+2.0134-5build1 [305 kB] 293s Get:261 http://ftpmaster.internal/ubuntu plucky/main amd64 lzip amd64 1.25-2 [87.1 kB] 293s Get:262 http://ftpmaster.internal/ubuntu plucky/main amd64 lzop amd64 1.04-2build3 [82.2 kB] 293s Get:263 http://ftpmaster.internal/ubuntu plucky/main amd64 patchutils amd64 0.4.2-1build3 [77.0 kB] 293s Get:264 http://ftpmaster.internal/ubuntu plucky/main amd64 t1utils amd64 1.41-4build3 [61.3 kB] 293s Get:265 http://ftpmaster.internal/ubuntu plucky/main amd64 unzip amd64 6.0-28ubuntu6 [181 kB] 293s Get:266 http://ftpmaster.internal/ubuntu plucky/main amd64 lintian all 2.121.1+nmu1ubuntu2 [1075 kB] 293s Get:267 http://ftpmaster.internal/ubuntu plucky/universe amd64 libconfig-model-dpkg-perl all 3.010 [176 kB] 293s Get:268 http://ftpmaster.internal/ubuntu plucky/main amd64 libconvert-binhex-perl all 1.125-3 [27.1 kB] 293s Get:269 http://ftpmaster.internal/ubuntu plucky/main amd64 libnet-smtp-ssl-perl all 1.04-2 [6218 B] 293s Get:270 http://ftpmaster.internal/ubuntu plucky/main amd64 libmailtools-perl all 2.22-1 [77.1 kB] 293s Get:271 http://ftpmaster.internal/ubuntu plucky/main amd64 libmime-tools-perl all 5.515-1 [187 kB] 293s Get:272 http://ftpmaster.internal/ubuntu plucky/main amd64 libsuitesparseconfig7 amd64 1:7.8.3+dfsg-3 [13.5 kB] 293s Get:273 http://ftpmaster.internal/ubuntu plucky/universe amd64 libamd3 amd64 1:7.8.3+dfsg-3 [31.0 kB] 293s Get:274 http://ftpmaster.internal/ubuntu plucky/main amd64 libblas3 amd64 3.12.1-2 [359 kB] 293s Get:275 http://ftpmaster.internal/ubuntu plucky/main amd64 libgfortran5 amd64 15-20250222-0ubuntu1 [919 kB] 293s Get:276 http://ftpmaster.internal/ubuntu plucky/main amd64 liblapack3 amd64 3.12.1-2 [3179 kB] 293s Get:277 http://ftpmaster.internal/ubuntu plucky/universe amd64 libarpack2t64 amd64 3.9.1-4 [120 kB] 293s Get:278 http://ftpmaster.internal/ubuntu plucky/universe amd64 libccolamd3 amd64 1:7.8.3+dfsg-3 [27.5 kB] 293s Get:279 http://ftpmaster.internal/ubuntu plucky/universe amd64 libcamd3 amd64 1:7.8.3+dfsg-3 [27.6 kB] 293s Get:280 http://ftpmaster.internal/ubuntu plucky/main amd64 libcolamd3 amd64 1:7.8.3+dfsg-3 [19.5 kB] 293s Get:281 http://ftpmaster.internal/ubuntu plucky/universe amd64 libcholmod5 amd64 1:7.8.3+dfsg-3 [876 kB] 293s Get:282 http://ftpmaster.internal/ubuntu plucky/universe amd64 libcxsparse4 amd64 1:7.8.3+dfsg-3 [83.2 kB] 293s Get:283 http://ftpmaster.internal/ubuntu plucky/main amd64 libfftw3-double3 amd64 3.3.10-2fakesync1build1 [839 kB] 293s Get:284 http://ftpmaster.internal/ubuntu plucky/main amd64 libfftw3-single3 amd64 3.3.10-2fakesync1build1 [871 kB] 293s Get:285 http://ftpmaster.internal/ubuntu plucky/main amd64 libxfixes3 amd64 1:6.0.0-2build1 [10.8 kB] 293s Get:286 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcursor1 amd64 1:1.2.3-1 [23.1 kB] 293s Get:287 http://ftpmaster.internal/ubuntu plucky/main amd64 libxft2 amd64 2.3.6-1build1 [45.3 kB] 293s Get:288 http://ftpmaster.internal/ubuntu plucky/main amd64 libxinerama1 amd64 2:1.1.4-3build1 [6396 B] 293s Get:289 http://ftpmaster.internal/ubuntu plucky/universe amd64 libfltk1.3t64 amd64 1.3.8-6.1build2 [606 kB] 293s Get:290 http://ftpmaster.internal/ubuntu plucky/main amd64 libglvnd0 amd64 1.7.0-1build1 [69.6 kB] 293s Get:291 http://ftpmaster.internal/ubuntu plucky/main amd64 libx11-xcb1 amd64 2:1.8.10-2 [7944 B] 293s Get:292 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-dri3-0 amd64 1.17.0-2 [7508 B] 293s Get:293 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-glx0 amd64 1.17.0-2 [24.8 kB] 293s Get:294 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-present0 amd64 1.17.0-2 [6064 B] 293s Get:295 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-xfixes0 amd64 1.17.0-2 [10.2 kB] 293s Get:296 http://ftpmaster.internal/ubuntu plucky/main amd64 libxxf86vm1 amd64 1:1.1.4-1build4 [9282 B] 293s Get:297 http://ftpmaster.internal/ubuntu plucky/main amd64 libpciaccess0 amd64 0.17-3build1 [18.6 kB] 293s Get:298 http://ftpmaster.internal/ubuntu plucky/main amd64 libdrm-intel1 amd64 2.4.123-1 [68.8 kB] 293s Get:299 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-randr0 amd64 1.17.0-2 [17.9 kB] 293s Get:300 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-sync1 amd64 1.17.0-2 [9312 B] 293s Get:301 http://ftpmaster.internal/ubuntu plucky/main amd64 libxshmfence1 amd64 1.3-1build5 [4764 B] 293s Get:302 http://ftpmaster.internal/ubuntu plucky/main amd64 mesa-libgallium amd64 25.0.1-2ubuntu1 [12.1 MB] 294s Get:303 http://ftpmaster.internal/ubuntu plucky/main amd64 libwayland-server0 amd64 1.23.1-3 [37.2 kB] 294s Get:304 http://ftpmaster.internal/ubuntu plucky/main amd64 libgbm1 amd64 25.0.1-2ubuntu1 [33.4 kB] 294s Get:305 http://ftpmaster.internal/ubuntu plucky/main amd64 libvulkan1 amd64 1.4.304.0-1 [147 kB] 294s Get:306 http://ftpmaster.internal/ubuntu plucky/main amd64 libgl1-mesa-dri amd64 25.0.1-2ubuntu1 [35.7 kB] 294s Get:307 http://ftpmaster.internal/ubuntu plucky/main amd64 libglx-mesa0 amd64 25.0.1-2ubuntu1 [146 kB] 294s Get:308 http://ftpmaster.internal/ubuntu plucky/main amd64 libglx0 amd64 1.7.0-1build1 [38.6 kB] 294s Get:309 http://ftpmaster.internal/ubuntu plucky/main amd64 libgl1 amd64 1.7.0-1build1 [102 kB] 294s Get:310 http://ftpmaster.internal/ubuntu plucky/universe amd64 libfltk-gl1.3t64 amd64 1.3.8-6.1build2 [43.0 kB] 294s Get:311 http://ftpmaster.internal/ubuntu plucky/universe amd64 libgl2ps1.4 amd64 1.4.2+dfsg1-2build1 [41.9 kB] 294s Get:312 http://ftpmaster.internal/ubuntu plucky/main amd64 libltdl7 amd64 2.5.4-4 [46.5 kB] 294s Get:313 http://ftpmaster.internal/ubuntu plucky/universe amd64 libglpk40 amd64 5.0-1build2 [369 kB] 294s Get:314 http://ftpmaster.internal/ubuntu plucky/main amd64 libopengl0 amd64 1.7.0-1build1 [32.8 kB] 294s Get:315 http://ftpmaster.internal/ubuntu plucky/main amd64 libglu1-mesa amd64 9.0.2-1.1build1 [152 kB] 294s Get:316 http://ftpmaster.internal/ubuntu plucky/universe amd64 libhwy1t64 amd64 1.2.0-3ubuntu3 [734 kB] 295s Get:317 http://ftpmaster.internal/ubuntu plucky/main amd64 liblcms2-2 amd64 2.16-2 [212 kB] 295s Get:318 http://ftpmaster.internal/ubuntu plucky/universe amd64 libjxl0.11 amd64 0.11.1-1 [1363 kB] 295s Get:319 http://ftpmaster.internal/ubuntu plucky/main amd64 libwmflite-0.2-7 amd64 0.2.13-1.1build3 [68.6 kB] 295s Get:320 http://ftpmaster.internal/ubuntu plucky/universe amd64 libgraphicsmagick-q16-3t64 amd64 1.4+really1.3.45+hg17689-1 [1584 kB] 295s Get:321 http://ftpmaster.internal/ubuntu plucky/universe amd64 libgraphicsmagick++-q16-12t64 amd64 1.4+really1.3.45+hg17689-1 [116 kB] 295s Get:322 http://ftpmaster.internal/ubuntu plucky/universe amd64 libaec0 amd64 1.1.3-1 [22.7 kB] 295s Get:323 http://ftpmaster.internal/ubuntu plucky/universe amd64 libsz2 amd64 1.1.3-1 [5456 B] 295s Get:324 http://ftpmaster.internal/ubuntu plucky/universe amd64 libhdf5-310 amd64 1.14.5+repack-3 [1519 kB] 295s Get:325 http://ftpmaster.internal/ubuntu plucky/main amd64 libasound2-data all 1.2.13-1build1 [21.1 kB] 295s Get:326 http://ftpmaster.internal/ubuntu plucky/main amd64 libasound2t64 amd64 1.2.13-1build1 [437 kB] 295s Get:327 http://ftpmaster.internal/ubuntu plucky/main amd64 libopus0 amd64 1.5.2-2 [2913 kB] 295s Get:328 http://ftpmaster.internal/ubuntu plucky/main amd64 libsamplerate0 amd64 0.2.2-4build1 [1344 kB] 295s Get:329 http://ftpmaster.internal/ubuntu plucky/main amd64 libjack-jackd2-0 amd64 1.9.22~dfsg-4 [312 kB] 295s Get:330 http://ftpmaster.internal/ubuntu plucky/universe amd64 libportaudio2 amd64 19.6.0-1.2build3 [67.9 kB] 295s Get:331 http://ftpmaster.internal/ubuntu plucky/universe amd64 libqhull-r8.0 amd64 2020.2-6build1 [193 kB] 295s Get:332 http://ftpmaster.internal/ubuntu plucky/universe amd64 libqrupdate1 amd64 1.1.5-1 [50.7 kB] 295s Get:333 http://ftpmaster.internal/ubuntu plucky/universe amd64 libqscintilla2-qt6-l10n all 2.14.1+dfsg-1build4 [56.4 kB] 295s Get:334 http://ftpmaster.internal/ubuntu plucky/universe amd64 libb2-1 amd64 0.98.1-1.1build1 [45.0 kB] 295s Get:335 http://ftpmaster.internal/ubuntu plucky/universe amd64 libdouble-conversion3 amd64 3.3.1-1 [41.7 kB] 295s Get:336 http://ftpmaster.internal/ubuntu plucky/main amd64 libpcre2-16-0 amd64 10.45-1 [268 kB] 295s Get:337 http://ftpmaster.internal/ubuntu plucky/universe amd64 libqt6core6t64 amd64 6.8.2+dfsg-5 [2136 kB] 295s Get:338 http://ftpmaster.internal/ubuntu plucky/main amd64 libwayland-client0 amd64 1.23.1-3 [29.7 kB] 295s Get:339 http://ftpmaster.internal/ubuntu plucky/main amd64 libegl-mesa0 amd64 25.0.1-2ubuntu1 [136 kB] 295s Get:340 http://ftpmaster.internal/ubuntu plucky/main amd64 libegl1 amd64 1.7.0-1build1 [28.7 kB] 295s Get:341 http://ftpmaster.internal/ubuntu plucky/main amd64 x11-common all 1:7.7+23ubuntu3 [21.7 kB] 295s Get:342 http://ftpmaster.internal/ubuntu plucky/main amd64 libice6 amd64 2:1.1.1-1 [44.1 kB] 295s Get:343 http://ftpmaster.internal/ubuntu plucky/main amd64 libmtdev1t64 amd64 1.1.7-1 [16.3 kB] 295s Get:344 http://ftpmaster.internal/ubuntu plucky/main amd64 libwacom-common all 2.14.0-1 [103 kB] 295s Get:345 http://ftpmaster.internal/ubuntu plucky/main amd64 libwacom9 amd64 2.14.0-1 [27.3 kB] 295s Get:346 http://ftpmaster.internal/ubuntu plucky/main amd64 libinput-bin amd64 1.27.1-1 [23.4 kB] 295s Get:347 http://ftpmaster.internal/ubuntu plucky/main amd64 libinput10 amd64 1.27.1-1 [155 kB] 295s Get:348 http://ftpmaster.internal/ubuntu plucky/universe amd64 libmd4c0 amd64 0.5.2-2 [50.1 kB] 295s Get:349 http://ftpmaster.internal/ubuntu plucky/universe amd64 libqt6dbus6 amd64 6.8.2+dfsg-5 [290 kB] 295s Get:350 http://ftpmaster.internal/ubuntu plucky/main amd64 libsm6 amd64 2:1.2.4-1 [17.4 kB] 295s Get:351 http://ftpmaster.internal/ubuntu plucky/universe amd64 libts0t64 amd64 1.22-1.1build1 [63.8 kB] 295s Get:352 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-util1 amd64 0.4.1-1 [11.2 kB] 295s Get:353 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-image0 amd64 0.4.0-2build1 [10.8 kB] 295s Get:354 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-render-util0 amd64 0.3.10-1 [10.8 kB] 295s Get:355 http://ftpmaster.internal/ubuntu plucky/universe amd64 libxcb-cursor0 amd64 0.1.5-1 [10.8 kB] 295s Get:356 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-icccm4 amd64 0.4.2-1 [11.1 kB] 295s Get:357 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-keysyms1 amd64 0.4.1-1 [8738 B] 295s Get:358 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-shape0 amd64 1.17.0-2 [6092 B] 295s Get:359 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-xinput0 amd64 1.17.0-2 [33.2 kB] 295s Get:360 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb-xkb1 amd64 1.17.0-2 [32.3 kB] 295s Get:361 http://ftpmaster.internal/ubuntu plucky/main amd64 libxkbcommon-x11-0 amd64 1.7.0-2 [15.2 kB] 295s Get:362 http://ftpmaster.internal/ubuntu plucky/universe amd64 libqt6gui6 amd64 6.8.2+dfsg-5 [3835 kB] 295s Get:363 http://ftpmaster.internal/ubuntu plucky/main amd64 libavahi-common-data amd64 0.8-16ubuntu1 [30.9 kB] 295s Get:364 http://ftpmaster.internal/ubuntu plucky/main amd64 libavahi-common3 amd64 0.8-16ubuntu1 [23.6 kB] 295s Get:365 http://ftpmaster.internal/ubuntu plucky/main amd64 libavahi-client3 amd64 0.8-16ubuntu1 [27.5 kB] 295s Get:366 http://ftpmaster.internal/ubuntu plucky/main amd64 libcups2t64 amd64 2.4.11-0ubuntu2 [292 kB] 295s Get:367 http://ftpmaster.internal/ubuntu plucky/universe amd64 libqt6widgets6 amd64 6.8.2+dfsg-5 [2999 kB] 295s Get:368 http://ftpmaster.internal/ubuntu plucky/universe amd64 libqt6printsupport6 amd64 6.8.2+dfsg-5 [233 kB] 295s Get:369 http://ftpmaster.internal/ubuntu plucky/universe amd64 libqscintilla2-qt6-15 amd64 2.14.1+dfsg-1build4 [1160 kB] 295s Get:370 http://ftpmaster.internal/ubuntu plucky/universe amd64 libqt6core5compat6 amd64 6.8.2-3 [162 kB] 295s Get:371 http://ftpmaster.internal/ubuntu plucky/universe amd64 libqt6sql6 amd64 6.8.2+dfsg-5 [151 kB] 295s Get:372 http://ftpmaster.internal/ubuntu plucky/universe amd64 libqt6help6 amd64 6.8.2-3 [207 kB] 296s Get:373 http://ftpmaster.internal/ubuntu plucky/main amd64 libduktape207 amd64 2.7.0+tests-0ubuntu3 [143 kB] 296s Get:374 http://ftpmaster.internal/ubuntu plucky/main amd64 libproxy1v5 amd64 0.5.9-1 [27.9 kB] 296s Get:375 http://ftpmaster.internal/ubuntu plucky/universe amd64 libqt6network6 amd64 6.8.2+dfsg-5 [899 kB] 296s Get:376 http://ftpmaster.internal/ubuntu plucky/universe amd64 libqt6opengl6 amd64 6.8.2+dfsg-5 [465 kB] 296s Get:377 http://ftpmaster.internal/ubuntu plucky/universe amd64 libqt6openglwidgets6 amd64 6.8.2+dfsg-5 [43.6 kB] 296s Get:378 http://ftpmaster.internal/ubuntu plucky/universe amd64 libqt6xml6 amd64 6.8.2+dfsg-5 [84.8 kB] 296s Get:379 http://ftpmaster.internal/ubuntu plucky/main amd64 libogg0 amd64 1.3.5-3build1 [22.7 kB] 296s Get:380 http://ftpmaster.internal/ubuntu plucky/main amd64 libflac12t64 amd64 1.4.3+ds-4 [268 kB] 296s Get:381 http://ftpmaster.internal/ubuntu plucky/main amd64 libmp3lame0 amd64 3.100-6build1 [142 kB] 296s Get:382 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpg123-0t64 amd64 1.32.10-1 [191 kB] 296s Get:383 http://ftpmaster.internal/ubuntu plucky/main amd64 libvorbis0a amd64 1.3.7-2 [98.4 kB] 296s Get:384 http://ftpmaster.internal/ubuntu plucky/main amd64 libvorbisenc2 amd64 1.3.7-2 [80.8 kB] 296s Get:385 http://ftpmaster.internal/ubuntu plucky/main amd64 libsndfile1 amd64 1.2.2-2 [275 kB] 296s Get:386 http://ftpmaster.internal/ubuntu plucky/universe amd64 libspqr4 amd64 1:7.8.3+dfsg-3 [169 kB] 296s Get:387 http://ftpmaster.internal/ubuntu plucky/universe amd64 libumfpack6 amd64 1:7.8.3+dfsg-3 [337 kB] 296s Get:388 http://ftpmaster.internal/ubuntu plucky/universe amd64 libtext-unidecode-perl all 1.30-3 [105 kB] 296s Get:389 http://ftpmaster.internal/ubuntu plucky/universe amd64 texinfo-lib amd64 7.1.1-1 [136 kB] 296s Get:390 http://ftpmaster.internal/ubuntu plucky/universe amd64 tex-common all 6.19 [29.8 kB] 296s Get:391 http://ftpmaster.internal/ubuntu plucky/universe amd64 texinfo all 7.1.1-1 [1272 kB] 296s Get:392 http://ftpmaster.internal/ubuntu plucky/universe amd64 octave-common all 9.4.0-1 [6087 kB] 296s Get:393 http://ftpmaster.internal/ubuntu plucky/universe amd64 octave amd64 9.4.0-1 [10.8 MB] 296s Get:394 http://ftpmaster.internal/ubuntu plucky/main amd64 libncurses-dev amd64 6.5+20250216-2 [424 kB] 296s Get:395 http://ftpmaster.internal/ubuntu plucky/main amd64 libreadline-dev amd64 8.2-6 [184 kB] 296s Get:396 http://ftpmaster.internal/ubuntu plucky/universe amd64 libhdf5-fortran-310 amd64 1.14.5+repack-3 [108 kB] 296s Get:397 http://ftpmaster.internal/ubuntu plucky/universe amd64 libhdf5-hl-310 amd64 1.14.5+repack-3 [62.6 kB] 296s Get:398 http://ftpmaster.internal/ubuntu plucky/universe amd64 libhdf5-hl-fortran-310 amd64 1.14.5+repack-3 [32.4 kB] 296s Get:399 http://ftpmaster.internal/ubuntu plucky/universe amd64 libhdf5-cpp-310 amd64 1.14.5+repack-3 [129 kB] 296s Get:400 http://ftpmaster.internal/ubuntu plucky/universe amd64 libhdf5-hl-cpp-310 amd64 1.14.5+repack-3 [11.7 kB] 296s Get:401 http://ftpmaster.internal/ubuntu plucky/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu1 [895 kB] 296s Get:402 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg-turbo8-dev amd64 2.1.5-3ubuntu2 [324 kB] 296s Get:403 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg8-dev amd64 8c-2ubuntu11 [1484 B] 297s Get:404 http://ftpmaster.internal/ubuntu plucky/main amd64 libjpeg-dev amd64 8c-2ubuntu11 [1482 B] 297s Get:405 http://ftpmaster.internal/ubuntu plucky/universe amd64 libaec-dev amd64 1.1.3-1 [19.8 kB] 297s Get:406 http://ftpmaster.internal/ubuntu plucky/main amd64 libbrotli-dev amd64 1.1.0-2build4 [381 kB] 297s Get:407 http://ftpmaster.internal/ubuntu plucky/main amd64 libidn2-dev amd64 2.3.7-2build2 [120 kB] 297s Get:408 http://ftpmaster.internal/ubuntu plucky/main amd64 comerr-dev amd64 2.1-1.47.2-1ubuntu1 [44.9 kB] 297s Get:409 http://ftpmaster.internal/ubuntu plucky/main amd64 libgssrpc4t64 amd64 1.21.3-4ubuntu2 [58.1 kB] 297s Get:410 http://ftpmaster.internal/ubuntu plucky/main amd64 libkadm5clnt-mit12 amd64 1.21.3-4ubuntu2 [41.3 kB] 297s Get:411 http://ftpmaster.internal/ubuntu plucky/main amd64 libkdb5-10t64 amd64 1.21.3-4ubuntu2 [42.0 kB] 297s Get:412 http://ftpmaster.internal/ubuntu plucky/main amd64 libkadm5srv-mit12 amd64 1.21.3-4ubuntu2 [55.5 kB] 297s Get:413 http://ftpmaster.internal/ubuntu plucky/main amd64 krb5-multidev amd64 1.21.3-4ubuntu2 [125 kB] 297s Get:414 http://ftpmaster.internal/ubuntu plucky/main amd64 libkrb5-dev amd64 1.21.3-4ubuntu2 [11.9 kB] 297s Get:415 http://ftpmaster.internal/ubuntu plucky/main amd64 libldap-dev amd64 2.6.9+dfsg-1~exp2ubuntu1 [335 kB] 297s Get:416 http://ftpmaster.internal/ubuntu plucky/main amd64 libpkgconf3 amd64 1.8.1-4 [32.3 kB] 297s Get:417 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf-bin amd64 1.8.1-4 [21.6 kB] 297s Get:418 http://ftpmaster.internal/ubuntu plucky/main amd64 pkgconf amd64 1.8.1-4 [16.8 kB] 297s Get:419 http://ftpmaster.internal/ubuntu plucky/main amd64 libnghttp2-dev amd64 1.64.0-1 [123 kB] 297s Get:420 http://ftpmaster.internal/ubuntu plucky/main amd64 libpsl-dev amd64 0.21.2-1.1build1 [76.4 kB] 297s Get:421 http://ftpmaster.internal/ubuntu plucky/main amd64 libgmpxx4ldbl amd64 2:6.3.0+dfsg-3ubuntu1 [10.0 kB] 297s Get:422 http://ftpmaster.internal/ubuntu plucky/main amd64 libgmp-dev amd64 2:6.3.0+dfsg-3ubuntu1 [341 kB] 297s Get:423 http://ftpmaster.internal/ubuntu plucky/main amd64 libevent-2.1-7t64 amd64 2.1.12-stable-10 [144 kB] 297s Get:424 http://ftpmaster.internal/ubuntu plucky/main amd64 libunbound8 amd64 1.22.0-1ubuntu1 [519 kB] 297s Get:425 http://ftpmaster.internal/ubuntu plucky/main amd64 libgnutls-dane0t64 amd64 3.8.9-2ubuntu2 [24.4 kB] 297s Get:426 http://ftpmaster.internal/ubuntu plucky/main amd64 libgnutls-openssl27t64 amd64 3.8.9-2ubuntu2 [24.6 kB] 297s Get:427 http://ftpmaster.internal/ubuntu plucky/main amd64 libp11-kit-dev amd64 0.25.5-2ubuntu3 [23.5 kB] 297s Get:428 http://ftpmaster.internal/ubuntu plucky/main amd64 libtasn1-6-dev amd64 4.20.0-2 [98.1 kB] 297s Get:429 http://ftpmaster.internal/ubuntu plucky/main amd64 nettle-dev amd64 3.10.1-1 [1187 kB] 297s Get:430 http://ftpmaster.internal/ubuntu plucky/main amd64 libgnutls28-dev amd64 3.8.9-2ubuntu2 [1118 kB] 297s Get:431 http://ftpmaster.internal/ubuntu plucky/main amd64 librtmp-dev amd64 2.4+20151223.gitfa8646d.1-2build7 [66.7 kB] 297s Get:432 http://ftpmaster.internal/ubuntu plucky/main amd64 libssl-dev amd64 3.4.1-1ubuntu1 [2873 kB] 297s Get:433 http://ftpmaster.internal/ubuntu plucky/main amd64 libssh2-1-dev amd64 1.11.1-1 [292 kB] 297s Get:434 http://ftpmaster.internal/ubuntu plucky/main amd64 libzstd-dev amd64 1.5.6+dfsg-2 [444 kB] 297s Get:435 http://ftpmaster.internal/ubuntu plucky/main amd64 libcurl4-openssl-dev amd64 8.12.1-3ubuntu1 [522 kB] 297s Get:436 http://ftpmaster.internal/ubuntu plucky/universe amd64 hdf5-helpers amd64 1.14.5+repack-3 [17.0 kB] 297s Get:437 http://ftpmaster.internal/ubuntu plucky/universe amd64 libhdf5-dev amd64 1.14.5+repack-3 [3505 kB] 298s Get:438 http://ftpmaster.internal/ubuntu plucky/main amd64 xorg-sgml-doctools all 1:1.11-1.1 [10.9 kB] 298s Get:439 http://ftpmaster.internal/ubuntu plucky/main amd64 x11proto-dev all 2024.1-1 [606 kB] 298s Get:440 http://ftpmaster.internal/ubuntu plucky/main amd64 libxau-dev amd64 1:1.0.11-1 [9798 B] 298s Get:441 http://ftpmaster.internal/ubuntu plucky/main amd64 libxdmcp-dev amd64 1:1.1.5-1 [26.7 kB] 298s Get:442 http://ftpmaster.internal/ubuntu plucky/main amd64 xtrans-dev all 1.4.0-1 [68.9 kB] 298s Get:443 http://ftpmaster.internal/ubuntu plucky/main amd64 libxcb1-dev amd64 1.17.0-2 [86.4 kB] 298s Get:444 http://ftpmaster.internal/ubuntu plucky/main amd64 libx11-dev amd64 2:1.8.10-2 [777 kB] 298s Get:445 http://ftpmaster.internal/ubuntu plucky/main amd64 libglx-dev amd64 1.7.0-1build1 [14.2 kB] 298s Get:446 http://ftpmaster.internal/ubuntu plucky/main amd64 libgl-dev amd64 1.7.0-1build1 [102 kB] 298s Get:447 http://ftpmaster.internal/ubuntu plucky/main amd64 libblas-dev amd64 3.12.1-2 [338 kB] 298s Get:448 http://ftpmaster.internal/ubuntu plucky/main amd64 liblapack-dev amd64 3.12.1-2 [6489 kB] 298s Get:449 http://ftpmaster.internal/ubuntu plucky/main amd64 libfftw3-long3 amd64 3.3.10-2fakesync1build1 [378 kB] 298s Get:450 http://ftpmaster.internal/ubuntu plucky/main amd64 libfftw3-quad3 amd64 3.3.10-2fakesync1build1 [669 kB] 298s Get:451 http://ftpmaster.internal/ubuntu plucky/main amd64 libfftw3-bin amd64 3.3.10-2fakesync1build1 [39.2 kB] 298s Get:452 http://ftpmaster.internal/ubuntu plucky/main amd64 libfftw3-dev amd64 3.3.10-2fakesync1build1 [2349 kB] 298s Get:453 http://ftpmaster.internal/ubuntu plucky/main amd64 libgfortran-14-dev amd64 14.2.0-17ubuntu3 [966 kB] 298s Get:454 http://ftpmaster.internal/ubuntu plucky/main amd64 gfortran-14-x86-64-linux-gnu amd64 14.2.0-17ubuntu3 [12.6 MB] 298s Get:455 http://ftpmaster.internal/ubuntu plucky/main amd64 gfortran-14 amd64 14.2.0-17ubuntu3 [13.6 kB] 298s Get:456 http://ftpmaster.internal/ubuntu plucky/main amd64 gfortran-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [1022 B] 298s Get:457 http://ftpmaster.internal/ubuntu plucky/main amd64 gfortran amd64 4:14.2.0-1ubuntu1 [1174 B] 298s Get:458 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-17ubuntu3 [2486 kB] 298s Get:459 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-17ubuntu3 [13.4 MB] 299s Get:460 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-17ubuntu3 [21.8 kB] 299s Get:461 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [968 B] 299s Get:462 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.2.0-1ubuntu1 [1100 B] 299s Get:463 http://ftpmaster.internal/ubuntu plucky/universe amd64 octave-dev amd64 9.4.0-1 [463 kB] 299s Get:464 http://ftpmaster.internal/ubuntu plucky/universe amd64 dh-octave all 1.8.0 [19.7 kB] 299s Get:465 http://ftpmaster.internal/ubuntu plucky/main amd64 libfontenc1 amd64 1:1.1.8-1build1 [14.0 kB] 299s Get:466 http://ftpmaster.internal/ubuntu plucky/main amd64 libxt6t64 amd64 1:1.2.1-1.2build1 [171 kB] 299s Get:467 http://ftpmaster.internal/ubuntu plucky/main amd64 libxmu6 amd64 2:1.1.3-3build2 [47.6 kB] 299s Get:468 http://ftpmaster.internal/ubuntu plucky/main amd64 libxaw7 amd64 2:1.0.16-1 [207 kB] 299s Get:469 http://ftpmaster.internal/ubuntu plucky/main amd64 libxfont2 amd64 1:2.0.6-1build1 [93.0 kB] 299s Get:470 http://ftpmaster.internal/ubuntu plucky/main amd64 libxkbfile1 amd64 1:1.1.0-1build4 [70.0 kB] 299s Get:471 http://ftpmaster.internal/ubuntu plucky/main amd64 libxrandr2 amd64 2:1.5.4-1 [19.6 kB] 299s Get:472 http://ftpmaster.internal/ubuntu plucky/universe amd64 octave-image amd64 2.14.0-5build1 [652 kB] 299s Get:473 http://ftpmaster.internal/ubuntu plucky/main amd64 x11-xkb-utils amd64 7.7+9 [169 kB] 299s Get:474 http://ftpmaster.internal/ubuntu plucky/main amd64 xserver-common all 2:21.1.16-1ubuntu1 [34.4 kB] 299s Get:475 http://ftpmaster.internal/ubuntu plucky/universe amd64 xvfb amd64 2:21.1.16-1ubuntu1 [975 kB] 300s Fetched 206 MB in 12s (17.8 MB/s) 300s Selecting previously unselected package libstemmer0d:amd64. 300s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 76968 files and directories currently installed.) 300s Preparing to unpack .../000-libstemmer0d_2.2.0-4build1_amd64.deb ... 300s Unpacking libstemmer0d:amd64 (2.2.0-4build1) ... 300s Selecting previously unselected package libappstream5:amd64. 300s Preparing to unpack .../001-libappstream5_1.0.4-1_amd64.deb ... 300s Unpacking libappstream5:amd64 (1.0.4-1) ... 300s Selecting previously unselected package appstream. 300s Preparing to unpack .../002-appstream_1.0.4-1_amd64.deb ... 300s Unpacking appstream (1.0.4-1) ... 300s Selecting previously unselected package m4. 300s Preparing to unpack .../003-m4_1.4.19-7_amd64.deb ... 300s Unpacking m4 (1.4.19-7) ... 301s Selecting previously unselected package autoconf. 301s Preparing to unpack .../004-autoconf_2.72-3ubuntu1_all.deb ... 301s Unpacking autoconf (2.72-3ubuntu1) ... 301s Selecting previously unselected package autotools-dev. 301s Preparing to unpack .../005-autotools-dev_20220109.1_all.deb ... 301s Unpacking autotools-dev (20220109.1) ... 301s Selecting previously unselected package automake. 301s Preparing to unpack .../006-automake_1%3a1.17-3ubuntu1_all.deb ... 301s Unpacking automake (1:1.17-3ubuntu1) ... 301s Selecting previously unselected package autopoint. 301s Preparing to unpack .../007-autopoint_0.23.1-1_all.deb ... 301s Unpacking autopoint (0.23.1-1) ... 301s Selecting previously unselected package libcapture-tiny-perl. 301s Preparing to unpack .../008-libcapture-tiny-perl_0.50-1_all.deb ... 301s Unpacking libcapture-tiny-perl (0.50-1) ... 301s Selecting previously unselected package libparams-util-perl. 301s Preparing to unpack .../009-libparams-util-perl_1.102-3build1_amd64.deb ... 301s Unpacking libparams-util-perl (1.102-3build1) ... 301s Selecting previously unselected package libsub-install-perl. 301s Preparing to unpack .../010-libsub-install-perl_0.929-1_all.deb ... 301s Unpacking libsub-install-perl (0.929-1) ... 301s Selecting previously unselected package libdata-optlist-perl. 301s Preparing to unpack .../011-libdata-optlist-perl_0.114-1_all.deb ... 301s Unpacking libdata-optlist-perl (0.114-1) ... 301s Selecting previously unselected package libb-hooks-op-check-perl:amd64. 301s Preparing to unpack .../012-libb-hooks-op-check-perl_0.22-3build2_amd64.deb ... 301s Unpacking libb-hooks-op-check-perl:amd64 (0.22-3build2) ... 301s Selecting previously unselected package libdynaloader-functions-perl. 301s Preparing to unpack .../013-libdynaloader-functions-perl_0.004-1_all.deb ... 301s Unpacking libdynaloader-functions-perl (0.004-1) ... 301s Selecting previously unselected package libdevel-callchecker-perl:amd64. 301s Preparing to unpack .../014-libdevel-callchecker-perl_0.009-1build1_amd64.deb ... 301s Unpacking libdevel-callchecker-perl:amd64 (0.009-1build1) ... 301s Selecting previously unselected package libparams-classify-perl:amd64. 301s Preparing to unpack .../015-libparams-classify-perl_0.015-2build6_amd64.deb ... 301s Unpacking libparams-classify-perl:amd64 (0.015-2build6) ... 301s Selecting previously unselected package libmodule-runtime-perl. 301s Preparing to unpack .../016-libmodule-runtime-perl_0.016-2_all.deb ... 301s Unpacking libmodule-runtime-perl (0.016-2) ... 301s Selecting previously unselected package libtry-tiny-perl. 301s Preparing to unpack .../017-libtry-tiny-perl_0.32-1_all.deb ... 301s Unpacking libtry-tiny-perl (0.32-1) ... 301s Selecting previously unselected package libmodule-implementation-perl. 301s Preparing to unpack .../018-libmodule-implementation-perl_0.09-2_all.deb ... 301s Unpacking libmodule-implementation-perl (0.09-2) ... 301s Selecting previously unselected package libpackage-stash-perl. 301s Preparing to unpack .../019-libpackage-stash-perl_0.40-1_all.deb ... 301s Unpacking libpackage-stash-perl (0.40-1) ... 301s Selecting previously unselected package libclass-load-perl. 301s Preparing to unpack .../020-libclass-load-perl_0.25-2_all.deb ... 301s Unpacking libclass-load-perl (0.25-2) ... 301s Selecting previously unselected package libio-stringy-perl. 301s Preparing to unpack .../021-libio-stringy-perl_2.113-2_all.deb ... 301s Unpacking libio-stringy-perl (2.113-2) ... 301s Selecting previously unselected package libparams-validate-perl:amd64. 301s Preparing to unpack .../022-libparams-validate-perl_1.31-2build4_amd64.deb ... 301s Unpacking libparams-validate-perl:amd64 (1.31-2build4) ... 301s Selecting previously unselected package libsub-exporter-perl. 301s Preparing to unpack .../023-libsub-exporter-perl_0.990-1_all.deb ... 301s Unpacking libsub-exporter-perl (0.990-1) ... 301s Selecting previously unselected package libgetopt-long-descriptive-perl. 301s Preparing to unpack .../024-libgetopt-long-descriptive-perl_0.116-2_all.deb ... 301s Unpacking libgetopt-long-descriptive-perl (0.116-2) ... 301s Selecting previously unselected package libio-tiecombine-perl. 301s Preparing to unpack .../025-libio-tiecombine-perl_1.005-3_all.deb ... 301s Unpacking libio-tiecombine-perl (1.005-3) ... 301s Selecting previously unselected package libmodule-pluggable-perl. 301s Preparing to unpack .../026-libmodule-pluggable-perl_5.2-5_all.deb ... 301s Unpacking libmodule-pluggable-perl (5.2-5) ... 301s Selecting previously unselected package libstring-rewriteprefix-perl. 301s Preparing to unpack .../027-libstring-rewriteprefix-perl_0.009-1_all.deb ... 301s Unpacking libstring-rewriteprefix-perl (0.009-1) ... 302s Selecting previously unselected package libapp-cmd-perl. 302s Preparing to unpack .../028-libapp-cmd-perl_0.337-2_all.deb ... 302s Unpacking libapp-cmd-perl (0.337-2) ... 302s Selecting previously unselected package libboolean-perl. 302s Preparing to unpack .../029-libboolean-perl_0.46-3_all.deb ... 302s Unpacking libboolean-perl (0.46-3) ... 302s Selecting previously unselected package libsub-uplevel-perl. 302s Preparing to unpack .../030-libsub-uplevel-perl_0.2800-3_all.deb ... 302s Unpacking libsub-uplevel-perl (0.2800-3) ... 302s Selecting previously unselected package libtest-exception-perl. 302s Preparing to unpack .../031-libtest-exception-perl_0.43-3_all.deb ... 302s Unpacking libtest-exception-perl (0.43-3) ... 302s Selecting previously unselected package libcarp-assert-more-perl. 302s Preparing to unpack .../032-libcarp-assert-more-perl_2.8.0-1_all.deb ... 302s Unpacking libcarp-assert-more-perl (2.8.0-1) ... 302s Selecting previously unselected package libfile-which-perl. 302s Preparing to unpack .../033-libfile-which-perl_1.27-2_all.deb ... 302s Unpacking libfile-which-perl (1.27-2) ... 302s Selecting previously unselected package libfile-homedir-perl. 302s Preparing to unpack .../034-libfile-homedir-perl_1.006-2_all.deb ... 302s Unpacking libfile-homedir-perl (1.006-2) ... 302s Selecting previously unselected package libclone-choose-perl. 302s Preparing to unpack .../035-libclone-choose-perl_0.010-2_all.deb ... 302s Unpacking libclone-choose-perl (0.010-2) ... 302s Selecting previously unselected package libhash-merge-perl. 302s Preparing to unpack .../036-libhash-merge-perl_0.302-1_all.deb ... 302s Unpacking libhash-merge-perl (0.302-1) ... 302s Selecting previously unselected package libjson-perl. 302s Preparing to unpack .../037-libjson-perl_4.10000-1_all.deb ... 302s Unpacking libjson-perl (4.10000-1) ... 302s Selecting previously unselected package libexporter-tiny-perl. 302s Preparing to unpack .../038-libexporter-tiny-perl_1.006002-1_all.deb ... 302s Unpacking libexporter-tiny-perl (1.006002-1) ... 302s Selecting previously unselected package liblist-moreutils-xs-perl. 302s Preparing to unpack .../039-liblist-moreutils-xs-perl_0.430-4build1_amd64.deb ... 302s Unpacking liblist-moreutils-xs-perl (0.430-4build1) ... 302s Selecting previously unselected package liblist-moreutils-perl. 302s Preparing to unpack .../040-liblist-moreutils-perl_0.430-2_all.deb ... 302s Unpacking liblist-moreutils-perl (0.430-2) ... 302s Selecting previously unselected package liblog-log4perl-perl. 302s Preparing to unpack .../041-liblog-log4perl-perl_1.57-1_all.deb ... 302s Unpacking liblog-log4perl-perl (1.57-1) ... 302s Selecting previously unselected package libmouse-perl:amd64. 302s Preparing to unpack .../042-libmouse-perl_2.5.11-1build1_amd64.deb ... 302s Unpacking libmouse-perl:amd64 (2.5.11-1build1) ... 302s Selecting previously unselected package libmousex-nativetraits-perl. 302s Preparing to unpack .../043-libmousex-nativetraits-perl_1.09-3_all.deb ... 302s Unpacking libmousex-nativetraits-perl (1.09-3) ... 302s Selecting previously unselected package libmousex-strictconstructor-perl. 302s Preparing to unpack .../044-libmousex-strictconstructor-perl_0.02-3_all.deb ... 302s Unpacking libmousex-strictconstructor-perl (0.02-3) ... 302s Selecting previously unselected package libparse-recdescent-perl. 302s Preparing to unpack .../045-libparse-recdescent-perl_1.967015+dfsg-4_all.deb ... 302s Unpacking libparse-recdescent-perl (1.967015+dfsg-4) ... 302s Selecting previously unselected package libpath-tiny-perl. 302s Preparing to unpack .../046-libpath-tiny-perl_0.146-1_all.deb ... 302s Unpacking libpath-tiny-perl (0.146-1) ... 302s Selecting previously unselected package libpod-pom-perl. 302s Preparing to unpack .../047-libpod-pom-perl_2.01-4_all.deb ... 302s Unpacking libpod-pom-perl (2.01-4) ... 302s Selecting previously unselected package libregexp-common-perl. 302s Preparing to unpack .../048-libregexp-common-perl_2024080801-1_all.deb ... 302s Unpacking libregexp-common-perl (2024080801-1) ... 302s Selecting previously unselected package libyaml-tiny-perl. 302s Preparing to unpack .../049-libyaml-tiny-perl_1.76-1_all.deb ... 302s Unpacking libyaml-tiny-perl (1.76-1) ... 302s Selecting previously unselected package libconfig-model-perl. 302s Preparing to unpack .../050-libconfig-model-perl_2.155-1_all.deb ... 302s Unpacking libconfig-model-perl (2.155-1) ... 302s Selecting previously unselected package libyaml-pp-perl. 302s Preparing to unpack .../051-libyaml-pp-perl_0.39.0-1_all.deb ... 302s Unpacking libyaml-pp-perl (0.39.0-1) ... 303s Selecting previously unselected package cme. 303s Preparing to unpack .../052-cme_1.041-1_all.deb ... 303s Unpacking cme (1.041-1) ... 303s Selecting previously unselected package libisl23:amd64. 303s Preparing to unpack .../053-libisl23_0.27-1_amd64.deb ... 303s Unpacking libisl23:amd64 (0.27-1) ... 303s Selecting previously unselected package libmpc3:amd64. 303s Preparing to unpack .../054-libmpc3_1.3.1-1build2_amd64.deb ... 303s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 303s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 303s Preparing to unpack .../055-cpp-14-x86-64-linux-gnu_14.2.0-17ubuntu3_amd64.deb ... 303s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 303s Selecting previously unselected package cpp-14. 303s Preparing to unpack .../056-cpp-14_14.2.0-17ubuntu3_amd64.deb ... 303s Unpacking cpp-14 (14.2.0-17ubuntu3) ... 303s Selecting previously unselected package cpp-x86-64-linux-gnu. 303s Preparing to unpack .../057-cpp-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 303s Unpacking cpp-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 303s Selecting previously unselected package cpp. 303s Preparing to unpack .../058-cpp_4%3a14.2.0-1ubuntu1_amd64.deb ... 303s Unpacking cpp (4:14.2.0-1ubuntu1) ... 303s Selecting previously unselected package libdebhelper-perl. 303s Preparing to unpack .../059-libdebhelper-perl_13.24.1ubuntu2_all.deb ... 303s Unpacking libdebhelper-perl (13.24.1ubuntu2) ... 303s Selecting previously unselected package libcc1-0:amd64. 303s Preparing to unpack .../060-libcc1-0_15-20250222-0ubuntu1_amd64.deb ... 303s Unpacking libcc1-0:amd64 (15-20250222-0ubuntu1) ... 303s Selecting previously unselected package libgomp1:amd64. 303s Preparing to unpack .../061-libgomp1_15-20250222-0ubuntu1_amd64.deb ... 303s Unpacking libgomp1:amd64 (15-20250222-0ubuntu1) ... 303s Selecting previously unselected package libitm1:amd64. 303s Preparing to unpack .../062-libitm1_15-20250222-0ubuntu1_amd64.deb ... 303s Unpacking libitm1:amd64 (15-20250222-0ubuntu1) ... 303s Selecting previously unselected package libasan8:amd64. 303s Preparing to unpack .../063-libasan8_15-20250222-0ubuntu1_amd64.deb ... 303s Unpacking libasan8:amd64 (15-20250222-0ubuntu1) ... 303s Selecting previously unselected package liblsan0:amd64. 303s Preparing to unpack .../064-liblsan0_15-20250222-0ubuntu1_amd64.deb ... 303s Unpacking liblsan0:amd64 (15-20250222-0ubuntu1) ... 303s Selecting previously unselected package libtsan2:amd64. 303s Preparing to unpack .../065-libtsan2_15-20250222-0ubuntu1_amd64.deb ... 303s Unpacking libtsan2:amd64 (15-20250222-0ubuntu1) ... 304s Selecting previously unselected package libubsan1:amd64. 304s Preparing to unpack .../066-libubsan1_15-20250222-0ubuntu1_amd64.deb ... 304s Unpacking libubsan1:amd64 (15-20250222-0ubuntu1) ... 304s Selecting previously unselected package libhwasan0:amd64. 304s Preparing to unpack .../067-libhwasan0_15-20250222-0ubuntu1_amd64.deb ... 304s Unpacking libhwasan0:amd64 (15-20250222-0ubuntu1) ... 304s Selecting previously unselected package libquadmath0:amd64. 304s Preparing to unpack .../068-libquadmath0_15-20250222-0ubuntu1_amd64.deb ... 304s Unpacking libquadmath0:amd64 (15-20250222-0ubuntu1) ... 304s Selecting previously unselected package libgcc-14-dev:amd64. 304s Preparing to unpack .../069-libgcc-14-dev_14.2.0-17ubuntu3_amd64.deb ... 304s Unpacking libgcc-14-dev:amd64 (14.2.0-17ubuntu3) ... 304s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 304s Preparing to unpack .../070-gcc-14-x86-64-linux-gnu_14.2.0-17ubuntu3_amd64.deb ... 304s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 304s Selecting previously unselected package gcc-14. 304s Preparing to unpack .../071-gcc-14_14.2.0-17ubuntu3_amd64.deb ... 304s Unpacking gcc-14 (14.2.0-17ubuntu3) ... 304s Selecting previously unselected package gcc-x86-64-linux-gnu. 304s Preparing to unpack .../072-gcc-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 304s Unpacking gcc-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 304s Selecting previously unselected package gcc. 304s Preparing to unpack .../073-gcc_4%3a14.2.0-1ubuntu1_amd64.deb ... 304s Unpacking gcc (4:14.2.0-1ubuntu1) ... 305s Selecting previously unselected package libtool. 305s Preparing to unpack .../074-libtool_2.5.4-4_all.deb ... 305s Unpacking libtool (2.5.4-4) ... 305s Selecting previously unselected package dh-autoreconf. 305s Preparing to unpack .../075-dh-autoreconf_20_all.deb ... 305s Unpacking dh-autoreconf (20) ... 305s Selecting previously unselected package libarchive-zip-perl. 305s Preparing to unpack .../076-libarchive-zip-perl_1.68-1_all.deb ... 305s Unpacking libarchive-zip-perl (1.68-1) ... 305s Selecting previously unselected package libfile-stripnondeterminism-perl. 305s Preparing to unpack .../077-libfile-stripnondeterminism-perl_1.14.1-2_all.deb ... 305s Unpacking libfile-stripnondeterminism-perl (1.14.1-2) ... 305s Selecting previously unselected package dh-strip-nondeterminism. 305s Preparing to unpack .../078-dh-strip-nondeterminism_1.14.1-2_all.deb ... 305s Unpacking dh-strip-nondeterminism (1.14.1-2) ... 305s Selecting previously unselected package debugedit. 305s Preparing to unpack .../079-debugedit_1%3a5.1-2_amd64.deb ... 305s Unpacking debugedit (1:5.1-2) ... 305s Selecting previously unselected package dwz. 305s Preparing to unpack .../080-dwz_0.15-1build6_amd64.deb ... 305s Unpacking dwz (0.15-1build6) ... 305s Selecting previously unselected package gettext. 305s Preparing to unpack .../081-gettext_0.23.1-1_amd64.deb ... 305s Unpacking gettext (0.23.1-1) ... 305s Selecting previously unselected package intltool-debian. 305s Preparing to unpack .../082-intltool-debian_0.35.0+20060710.6_all.deb ... 305s Unpacking intltool-debian (0.35.0+20060710.6) ... 305s Selecting previously unselected package po-debconf. 305s Preparing to unpack .../083-po-debconf_1.0.21+nmu1_all.deb ... 305s Unpacking po-debconf (1.0.21+nmu1) ... 305s Selecting previously unselected package debhelper. 305s Preparing to unpack .../084-debhelper_13.24.1ubuntu2_all.deb ... 305s Unpacking debhelper (13.24.1ubuntu2) ... 305s Selecting previously unselected package aglfn. 305s Preparing to unpack .../085-aglfn_1.7+git20191031.4036a9c-2_all.deb ... 305s Unpacking aglfn (1.7+git20191031.4036a9c-2) ... 305s Selecting previously unselected package gnuplot-data. 305s Preparing to unpack .../086-gnuplot-data_6.0.2+dfsg1-1_all.deb ... 305s Unpacking gnuplot-data (6.0.2+dfsg1-1) ... 305s Selecting previously unselected package fonts-dejavu-mono. 305s Preparing to unpack .../087-fonts-dejavu-mono_2.37-8_all.deb ... 305s Unpacking fonts-dejavu-mono (2.37-8) ... 305s Selecting previously unselected package fonts-dejavu-core. 305s Preparing to unpack .../088-fonts-dejavu-core_2.37-8_all.deb ... 305s Unpacking fonts-dejavu-core (2.37-8) ... 305s Selecting previously unselected package fonts-freefont-otf. 305s Preparing to unpack .../089-fonts-freefont-otf_20211204+svn4273-2_all.deb ... 305s Unpacking fonts-freefont-otf (20211204+svn4273-2) ... 305s Selecting previously unselected package fontconfig-config. 305s Preparing to unpack .../090-fontconfig-config_2.15.0-2ubuntu1_amd64.deb ... 306s Unpacking fontconfig-config (2.15.0-2ubuntu1) ... 306s Selecting previously unselected package libfontconfig1:amd64. 306s Preparing to unpack .../091-libfontconfig1_2.15.0-2ubuntu1_amd64.deb ... 306s Unpacking libfontconfig1:amd64 (2.15.0-2ubuntu1) ... 306s Selecting previously unselected package libpixman-1-0:amd64. 306s Preparing to unpack .../092-libpixman-1-0_0.44.0-3_amd64.deb ... 306s Unpacking libpixman-1-0:amd64 (0.44.0-3) ... 306s Selecting previously unselected package libxcb-render0:amd64. 306s Preparing to unpack .../093-libxcb-render0_1.17.0-2_amd64.deb ... 306s Unpacking libxcb-render0:amd64 (1.17.0-2) ... 306s Selecting previously unselected package libxcb-shm0:amd64. 306s Preparing to unpack .../094-libxcb-shm0_1.17.0-2_amd64.deb ... 306s Unpacking libxcb-shm0:amd64 (1.17.0-2) ... 306s Selecting previously unselected package libxrender1:amd64. 306s Preparing to unpack .../095-libxrender1_1%3a0.9.10-1.1build1_amd64.deb ... 306s Unpacking libxrender1:amd64 (1:0.9.10-1.1build1) ... 306s Selecting previously unselected package libcairo2:amd64. 306s Preparing to unpack .../096-libcairo2_1.18.2-2_amd64.deb ... 306s Unpacking libcairo2:amd64 (1.18.2-2) ... 306s Selecting previously unselected package libsharpyuv0:amd64. 306s Preparing to unpack .../097-libsharpyuv0_1.5.0-0.1_amd64.deb ... 306s Unpacking libsharpyuv0:amd64 (1.5.0-0.1) ... 306s Selecting previously unselected package libaom3:amd64. 306s Preparing to unpack .../098-libaom3_3.12.0-1_amd64.deb ... 306s Unpacking libaom3:amd64 (3.12.0-1) ... 306s Selecting previously unselected package libheif-plugin-aomdec:amd64. 306s Preparing to unpack .../099-libheif-plugin-aomdec_1.19.7-1_amd64.deb ... 306s Unpacking libheif-plugin-aomdec:amd64 (1.19.7-1) ... 306s Selecting previously unselected package libde265-0:amd64. 306s Preparing to unpack .../100-libde265-0_1.0.15-1build5_amd64.deb ... 306s Unpacking libde265-0:amd64 (1.0.15-1build5) ... 306s Selecting previously unselected package libheif-plugin-libde265:amd64. 306s Preparing to unpack .../101-libheif-plugin-libde265_1.19.7-1_amd64.deb ... 306s Unpacking libheif-plugin-libde265:amd64 (1.19.7-1) ... 306s Selecting previously unselected package libheif1:amd64. 306s Preparing to unpack .../102-libheif1_1.19.7-1_amd64.deb ... 306s Unpacking libheif1:amd64 (1.19.7-1) ... 306s Selecting previously unselected package libimagequant0:amd64. 306s Preparing to unpack .../103-libimagequant0_2.18.0-1build1_amd64.deb ... 306s Unpacking libimagequant0:amd64 (2.18.0-1build1) ... 306s Selecting previously unselected package libjpeg-turbo8:amd64. 306s Preparing to unpack .../104-libjpeg-turbo8_2.1.5-3ubuntu2_amd64.deb ... 306s Unpacking libjpeg-turbo8:amd64 (2.1.5-3ubuntu2) ... 306s Selecting previously unselected package libjpeg8:amd64. 306s Preparing to unpack .../105-libjpeg8_8c-2ubuntu11_amd64.deb ... 306s Unpacking libjpeg8:amd64 (8c-2ubuntu11) ... 307s Selecting previously unselected package libgraphite2-3:amd64. 307s Preparing to unpack .../106-libgraphite2-3_1.3.14-2ubuntu1_amd64.deb ... 307s Unpacking libgraphite2-3:amd64 (1.3.14-2ubuntu1) ... 307s Selecting previously unselected package libharfbuzz0b:amd64. 307s Preparing to unpack .../107-libharfbuzz0b_10.2.0-1_amd64.deb ... 307s Unpacking libharfbuzz0b:amd64 (10.2.0-1) ... 307s Selecting previously unselected package libraqm0:amd64. 307s Preparing to unpack .../108-libraqm0_0.10.2-1_amd64.deb ... 307s Unpacking libraqm0:amd64 (0.10.2-1) ... 307s Selecting previously unselected package libdeflate0:amd64. 307s Preparing to unpack .../109-libdeflate0_1.23-1_amd64.deb ... 307s Unpacking libdeflate0:amd64 (1.23-1) ... 307s Selecting previously unselected package libjbig0:amd64. 307s Preparing to unpack .../110-libjbig0_2.1-6.1ubuntu2_amd64.deb ... 307s Unpacking libjbig0:amd64 (2.1-6.1ubuntu2) ... 307s Selecting previously unselected package liblerc4:amd64. 307s Preparing to unpack .../111-liblerc4_4.0.0+ds-5ubuntu1_amd64.deb ... 307s Unpacking liblerc4:amd64 (4.0.0+ds-5ubuntu1) ... 307s Selecting previously unselected package libwebp7:amd64. 307s Preparing to unpack .../112-libwebp7_1.5.0-0.1_amd64.deb ... 307s Unpacking libwebp7:amd64 (1.5.0-0.1) ... 307s Selecting previously unselected package libtiff6:amd64. 307s Preparing to unpack .../113-libtiff6_4.5.1+git230720-4ubuntu4_amd64.deb ... 307s Unpacking libtiff6:amd64 (4.5.1+git230720-4ubuntu4) ... 307s Selecting previously unselected package libxpm4:amd64. 307s Preparing to unpack .../114-libxpm4_1%3a3.5.17-1build2_amd64.deb ... 307s Unpacking libxpm4:amd64 (1:3.5.17-1build2) ... 307s Selecting previously unselected package libgd3:amd64. 307s Preparing to unpack .../115-libgd3_2.3.3-12ubuntu3_amd64.deb ... 307s Unpacking libgd3:amd64 (2.3.3-12ubuntu3) ... 307s Selecting previously unselected package liblua5.4-0:amd64. 307s Preparing to unpack .../116-liblua5.4-0_5.4.7-1_amd64.deb ... 307s Unpacking liblua5.4-0:amd64 (5.4.7-1) ... 307s Selecting previously unselected package fontconfig. 307s Preparing to unpack .../117-fontconfig_2.15.0-2ubuntu1_amd64.deb ... 307s Unpacking fontconfig (2.15.0-2ubuntu1) ... 307s Selecting previously unselected package libthai-data. 307s Preparing to unpack .../118-libthai-data_0.1.29-2build1_all.deb ... 307s Unpacking libthai-data (0.1.29-2build1) ... 307s Selecting previously unselected package libdatrie1:amd64. 307s Preparing to unpack .../119-libdatrie1_0.2.13-3build1_amd64.deb ... 307s Unpacking libdatrie1:amd64 (0.2.13-3build1) ... 307s Selecting previously unselected package libthai0:amd64. 307s Preparing to unpack .../120-libthai0_0.1.29-2build1_amd64.deb ... 307s Unpacking libthai0:amd64 (0.1.29-2build1) ... 307s Selecting previously unselected package libpango-1.0-0:amd64. 307s Preparing to unpack .../121-libpango-1.0-0_1.56.2-1_amd64.deb ... 307s Unpacking libpango-1.0-0:amd64 (1.56.2-1) ... 307s Selecting previously unselected package libpangoft2-1.0-0:amd64. 307s Preparing to unpack .../122-libpangoft2-1.0-0_1.56.2-1_amd64.deb ... 307s Unpacking libpangoft2-1.0-0:amd64 (1.56.2-1) ... 307s Selecting previously unselected package libpangocairo-1.0-0:amd64. 307s Preparing to unpack .../123-libpangocairo-1.0-0_1.56.2-1_amd64.deb ... 307s Unpacking libpangocairo-1.0-0:amd64 (1.56.2-1) ... 307s Selecting previously unselected package libwebpmux3:amd64. 307s Preparing to unpack .../124-libwebpmux3_1.5.0-0.1_amd64.deb ... 307s Unpacking libwebpmux3:amd64 (1.5.0-0.1) ... 307s Selecting previously unselected package gnuplot-nox. 307s Preparing to unpack .../125-gnuplot-nox_6.0.2+dfsg1-1_amd64.deb ... 307s Unpacking gnuplot-nox (6.0.2+dfsg1-1) ... 307s Selecting previously unselected package dh-octave-autopkgtest. 307s Preparing to unpack .../126-dh-octave-autopkgtest_1.8.0_all.deb ... 307s Unpacking dh-octave-autopkgtest (1.8.0) ... 307s Selecting previously unselected package libapt-pkg-perl. 307s Preparing to unpack .../127-libapt-pkg-perl_0.1.41build1_amd64.deb ... 307s Unpacking libapt-pkg-perl (0.1.41build1) ... 307s Selecting previously unselected package libarray-intspan-perl. 307s Preparing to unpack .../128-libarray-intspan-perl_2.004-2_all.deb ... 307s Unpacking libarray-intspan-perl (2.004-2) ... 307s Selecting previously unselected package libyaml-libyaml-perl. 308s Preparing to unpack .../129-libyaml-libyaml-perl_0.903.0+ds-1_amd64.deb ... 308s Unpacking libyaml-libyaml-perl (0.903.0+ds-1) ... 308s Selecting previously unselected package libconfig-model-backend-yaml-perl. 308s Preparing to unpack .../130-libconfig-model-backend-yaml-perl_2.134-2_all.deb ... 308s Unpacking libconfig-model-backend-yaml-perl (2.134-2) ... 308s Selecting previously unselected package libexporter-lite-perl. 308s Preparing to unpack .../131-libexporter-lite-perl_0.09-2_all.deb ... 308s Unpacking libexporter-lite-perl (0.09-2) ... 308s Selecting previously unselected package libencode-locale-perl. 308s Preparing to unpack .../132-libencode-locale-perl_1.05-3_all.deb ... 308s Unpacking libencode-locale-perl (1.05-3) ... 308s Selecting previously unselected package libtimedate-perl. 308s Preparing to unpack .../133-libtimedate-perl_2.3300-2_all.deb ... 308s Unpacking libtimedate-perl (2.3300-2) ... 308s Selecting previously unselected package libhttp-date-perl. 308s Preparing to unpack .../134-libhttp-date-perl_6.06-1_all.deb ... 308s Unpacking libhttp-date-perl (6.06-1) ... 308s Selecting previously unselected package libfile-listing-perl. 308s Preparing to unpack .../135-libfile-listing-perl_6.16-1_all.deb ... 308s Unpacking libfile-listing-perl (6.16-1) ... 308s Selecting previously unselected package libhtml-tagset-perl. 308s Preparing to unpack .../136-libhtml-tagset-perl_3.24-1_all.deb ... 308s Unpacking libhtml-tagset-perl (3.24-1) ... 308s Selecting previously unselected package liburi-perl. 308s Preparing to unpack .../137-liburi-perl_5.30-1_all.deb ... 308s Unpacking liburi-perl (5.30-1) ... 308s Selecting previously unselected package libhtml-parser-perl:amd64. 308s Preparing to unpack .../138-libhtml-parser-perl_3.83-1build1_amd64.deb ... 308s Unpacking libhtml-parser-perl:amd64 (3.83-1build1) ... 308s Selecting previously unselected package libhtml-tree-perl. 308s Preparing to unpack .../139-libhtml-tree-perl_5.07-3_all.deb ... 308s Unpacking libhtml-tree-perl (5.07-3) ... 308s Selecting previously unselected package libclone-perl:amd64. 308s Preparing to unpack .../140-libclone-perl_0.47-1_amd64.deb ... 308s Unpacking libclone-perl:amd64 (0.47-1) ... 308s Selecting previously unselected package libio-html-perl. 308s Preparing to unpack .../141-libio-html-perl_1.004-3_all.deb ... 308s Unpacking libio-html-perl (1.004-3) ... 308s Selecting previously unselected package liblwp-mediatypes-perl. 308s Preparing to unpack .../142-liblwp-mediatypes-perl_6.04-2_all.deb ... 308s Unpacking liblwp-mediatypes-perl (6.04-2) ... 308s Selecting previously unselected package libhttp-message-perl. 308s Preparing to unpack .../143-libhttp-message-perl_7.00-2ubuntu1_all.deb ... 308s Unpacking libhttp-message-perl (7.00-2ubuntu1) ... 308s Selecting previously unselected package libhttp-cookies-perl. 308s Preparing to unpack .../144-libhttp-cookies-perl_6.11-1_all.deb ... 308s Unpacking libhttp-cookies-perl (6.11-1) ... 308s Selecting previously unselected package libhttp-negotiate-perl. 308s Preparing to unpack .../145-libhttp-negotiate-perl_6.01-2_all.deb ... 308s Unpacking libhttp-negotiate-perl (6.01-2) ... 308s Selecting previously unselected package perl-openssl-defaults:amd64. 308s Preparing to unpack .../146-perl-openssl-defaults_7build3_amd64.deb ... 308s Unpacking perl-openssl-defaults:amd64 (7build3) ... 308s Selecting previously unselected package libnet-ssleay-perl:amd64. 308s Preparing to unpack .../147-libnet-ssleay-perl_1.94-3_amd64.deb ... 308s Unpacking libnet-ssleay-perl:amd64 (1.94-3) ... 308s Selecting previously unselected package libio-socket-ssl-perl. 308s Preparing to unpack .../148-libio-socket-ssl-perl_2.089-1_all.deb ... 308s Unpacking libio-socket-ssl-perl (2.089-1) ... 308s Selecting previously unselected package libnet-http-perl. 308s Preparing to unpack .../149-libnet-http-perl_6.23-1_all.deb ... 308s Unpacking libnet-http-perl (6.23-1) ... 308s Selecting previously unselected package liblwp-protocol-https-perl. 308s Preparing to unpack .../150-liblwp-protocol-https-perl_6.14-1_all.deb ... 308s Unpacking liblwp-protocol-https-perl (6.14-1) ... 308s Selecting previously unselected package libwww-robotrules-perl. 308s Preparing to unpack .../151-libwww-robotrules-perl_6.02-1_all.deb ... 308s Unpacking libwww-robotrules-perl (6.02-1) ... 309s Selecting previously unselected package libwww-perl. 309s Preparing to unpack .../152-libwww-perl_6.78-1_all.deb ... 309s Unpacking libwww-perl (6.78-1) ... 309s Selecting previously unselected package liberror-perl. 309s Preparing to unpack .../153-liberror-perl_0.17030-1_all.deb ... 309s Unpacking liberror-perl (0.17030-1) ... 309s Selecting previously unselected package libparse-debcontrol-perl. 309s Preparing to unpack .../154-libparse-debcontrol-perl_2.005-6_all.deb ... 309s Unpacking libparse-debcontrol-perl (2.005-6) ... 309s Selecting previously unselected package libsoftware-copyright-perl. 309s Preparing to unpack .../155-libsoftware-copyright-perl_0.014-1_all.deb ... 309s Unpacking libsoftware-copyright-perl (0.014-1) ... 309s Selecting previously unselected package libalgorithm-c3-perl. 309s Preparing to unpack .../156-libalgorithm-c3-perl_0.11-2_all.deb ... 309s Unpacking libalgorithm-c3-perl (0.11-2) ... 309s Selecting previously unselected package libclass-c3-perl. 309s Preparing to unpack .../157-libclass-c3-perl_0.35-2_all.deb ... 309s Unpacking libclass-c3-perl (0.35-2) ... 309s Selecting previously unselected package libmro-compat-perl. 309s Preparing to unpack .../158-libmro-compat-perl_0.15-2_all.deb ... 309s Unpacking libmro-compat-perl (0.15-2) ... 309s Selecting previously unselected package libdata-section-perl. 309s Preparing to unpack .../159-libdata-section-perl_0.200008-1_all.deb ... 309s Unpacking libdata-section-perl (0.200008-1) ... 309s Selecting previously unselected package libtext-template-perl. 309s Preparing to unpack .../160-libtext-template-perl_1.61-1_all.deb ... 309s Unpacking libtext-template-perl (1.61-1) ... 309s Selecting previously unselected package libsoftware-license-perl. 309s Preparing to unpack .../161-libsoftware-license-perl_0.104006-1_all.deb ... 309s Unpacking libsoftware-license-perl (0.104006-1) ... 309s Selecting previously unselected package libsoftware-licensemoreutils-perl. 309s Preparing to unpack .../162-libsoftware-licensemoreutils-perl_1.009-1_all.deb ... 309s Unpacking libsoftware-licensemoreutils-perl (1.009-1) ... 309s Selecting previously unselected package libsort-versions-perl. 309s Preparing to unpack .../163-libsort-versions-perl_1.62-3_all.deb ... 309s Unpacking libsort-versions-perl (1.62-3) ... 309s Selecting previously unselected package libtext-reform-perl. 309s Preparing to unpack .../164-libtext-reform-perl_1.20-5_all.deb ... 309s Unpacking libtext-reform-perl (1.20-5) ... 309s Selecting previously unselected package libtext-autoformat-perl. 309s Preparing to unpack .../165-libtext-autoformat-perl_1.750000-2_all.deb ... 309s Unpacking libtext-autoformat-perl (1.750000-2) ... 309s Selecting previously unselected package libtext-levenshtein-damerau-perl. 309s Preparing to unpack .../166-libtext-levenshtein-damerau-perl_0.41-3_all.deb ... 309s Unpacking libtext-levenshtein-damerau-perl (0.41-3) ... 309s Selecting previously unselected package libtoml-tiny-perl. 309s Preparing to unpack .../167-libtoml-tiny-perl_0.19-1_all.deb ... 309s Unpacking libtoml-tiny-perl (0.19-1) ... 309s Selecting previously unselected package libclass-inspector-perl. 309s Preparing to unpack .../168-libclass-inspector-perl_1.36-3_all.deb ... 309s Unpacking libclass-inspector-perl (1.36-3) ... 309s Selecting previously unselected package libfile-sharedir-perl. 309s Preparing to unpack .../169-libfile-sharedir-perl_1.118-3_all.deb ... 309s Unpacking libfile-sharedir-perl (1.118-3) ... 309s Selecting previously unselected package libindirect-perl. 309s Preparing to unpack .../170-libindirect-perl_0.39-2build5_amd64.deb ... 309s Unpacking libindirect-perl (0.39-2build5) ... 309s Selecting previously unselected package libxs-parse-keyword-perl. 309s Preparing to unpack .../171-libxs-parse-keyword-perl_0.48-2_amd64.deb ... 309s Unpacking libxs-parse-keyword-perl (0.48-2) ... 309s Selecting previously unselected package libxs-parse-sublike-perl:amd64. 309s Preparing to unpack .../172-libxs-parse-sublike-perl_0.37-1_amd64.deb ... 309s Unpacking libxs-parse-sublike-perl:amd64 (0.37-1) ... 310s Selecting previously unselected package libobject-pad-perl. 310s Preparing to unpack .../173-libobject-pad-perl_0.820-1_amd64.deb ... 310s Unpacking libobject-pad-perl (0.820-1) ... 310s Selecting previously unselected package libsyntax-keyword-try-perl. 310s Preparing to unpack .../174-libsyntax-keyword-try-perl_0.30-1_amd64.deb ... 310s Unpacking libsyntax-keyword-try-perl (0.30-1) ... 310s Selecting previously unselected package libio-interactive-perl. 310s Preparing to unpack .../175-libio-interactive-perl_1.026-1_all.deb ... 310s Unpacking libio-interactive-perl (1.026-1) ... 310s Selecting previously unselected package liblog-any-perl. 310s Preparing to unpack .../176-liblog-any-perl_1.717-1_all.deb ... 310s Unpacking liblog-any-perl (1.717-1) ... 310s Selecting previously unselected package liblog-any-adapter-screen-perl. 310s Preparing to unpack .../177-liblog-any-adapter-screen-perl_0.141-1_all.deb ... 310s Unpacking liblog-any-adapter-screen-perl (0.141-1) ... 310s Selecting previously unselected package libsub-exporter-progressive-perl. 310s Preparing to unpack .../178-libsub-exporter-progressive-perl_0.001013-3_all.deb ... 310s Unpacking libsub-exporter-progressive-perl (0.001013-3) ... 310s Selecting previously unselected package libvariable-magic-perl. 310s Preparing to unpack .../179-libvariable-magic-perl_0.64-1build1_amd64.deb ... 310s Unpacking libvariable-magic-perl (0.64-1build1) ... 310s Selecting previously unselected package libb-hooks-endofscope-perl. 310s Preparing to unpack .../180-libb-hooks-endofscope-perl_0.28-1_all.deb ... 310s Unpacking libb-hooks-endofscope-perl (0.28-1) ... 310s Selecting previously unselected package libsub-identify-perl. 310s Preparing to unpack .../181-libsub-identify-perl_0.14-3build4_amd64.deb ... 310s Unpacking libsub-identify-perl (0.14-3build4) ... 310s Selecting previously unselected package libsub-name-perl:amd64. 310s Preparing to unpack .../182-libsub-name-perl_0.28-1_amd64.deb ... 310s Unpacking libsub-name-perl:amd64 (0.28-1) ... 310s Selecting previously unselected package libnamespace-clean-perl. 310s Preparing to unpack .../183-libnamespace-clean-perl_0.27-2_all.deb ... 310s Unpacking libnamespace-clean-perl (0.27-2) ... 310s Selecting previously unselected package libnumber-compare-perl. 310s Preparing to unpack .../184-libnumber-compare-perl_0.03-3_all.deb ... 310s Unpacking libnumber-compare-perl (0.03-3) ... 310s Selecting previously unselected package libtext-glob-perl. 310s Preparing to unpack .../185-libtext-glob-perl_0.11-3_all.deb ... 310s Unpacking libtext-glob-perl (0.11-3) ... 310s Selecting previously unselected package libpath-iterator-rule-perl. 310s Preparing to unpack .../186-libpath-iterator-rule-perl_1.015-2_all.deb ... 310s Unpacking libpath-iterator-rule-perl (1.015-2) ... 310s Selecting previously unselected package libpod-parser-perl. 310s Preparing to unpack .../187-libpod-parser-perl_1.67-1_all.deb ... 310s Adding 'diversion of /usr/bin/podselect to /usr/bin/podselect.bundled by libpod-parser-perl' 310s Adding 'diversion of /usr/share/man/man1/podselect.1.gz to /usr/share/man/man1/podselect.bundled.1.gz by libpod-parser-perl' 310s Unpacking libpod-parser-perl (1.67-1) ... 310s Selecting previously unselected package libpod-constants-perl. 310s Preparing to unpack .../188-libpod-constants-perl_0.19-2_all.deb ... 310s Unpacking libpod-constants-perl (0.19-2) ... 310s Selecting previously unselected package libset-intspan-perl. 310s Preparing to unpack .../189-libset-intspan-perl_1.19-3_all.deb ... 310s Unpacking libset-intspan-perl (1.19-3) ... 310s Selecting previously unselected package libstring-copyright-perl. 310s Preparing to unpack .../190-libstring-copyright-perl_0.003014-1_all.deb ... 310s Unpacking libstring-copyright-perl (0.003014-1) ... 310s Selecting previously unselected package libstring-escape-perl. 310s Preparing to unpack .../191-libstring-escape-perl_2010.002-3_all.deb ... 310s Unpacking libstring-escape-perl (2010.002-3) ... 310s Selecting previously unselected package libregexp-pattern-license-perl. 310s Preparing to unpack .../192-libregexp-pattern-license-perl_3.11.2-1_all.deb ... 310s Unpacking libregexp-pattern-license-perl (3.11.2-1) ... 310s Selecting previously unselected package libregexp-pattern-perl. 310s Preparing to unpack .../193-libregexp-pattern-perl_0.2.14-2_all.deb ... 310s Unpacking libregexp-pattern-perl (0.2.14-2) ... 311s Selecting previously unselected package libstring-license-perl. 311s Preparing to unpack .../194-libstring-license-perl_0.0.11-1ubuntu1_all.deb ... 311s Unpacking libstring-license-perl (0.0.11-1ubuntu1) ... 311s Selecting previously unselected package licensecheck. 311s Preparing to unpack .../195-licensecheck_3.3.9-1ubuntu1_all.deb ... 311s Unpacking licensecheck (3.3.9-1ubuntu1) ... 311s Selecting previously unselected package diffstat. 311s Preparing to unpack .../196-diffstat_1.67-1_amd64.deb ... 311s Unpacking diffstat (1.67-1) ... 311s Selecting previously unselected package libberkeleydb-perl:amd64. 311s Preparing to unpack .../197-libberkeleydb-perl_0.66-1_amd64.deb ... 311s Unpacking libberkeleydb-perl:amd64 (0.66-1) ... 311s Selecting previously unselected package libclass-xsaccessor-perl. 311s Preparing to unpack .../198-libclass-xsaccessor-perl_1.19-4build6_amd64.deb ... 311s Unpacking libclass-xsaccessor-perl (1.19-4build6) ... 311s Selecting previously unselected package libconfig-tiny-perl. 311s Preparing to unpack .../199-libconfig-tiny-perl_2.30-1_all.deb ... 311s Unpacking libconfig-tiny-perl (2.30-1) ... 311s Selecting previously unselected package libconst-fast-perl. 311s Preparing to unpack .../200-libconst-fast-perl_0.014-2_all.deb ... 311s Unpacking libconst-fast-perl (0.014-2) ... 311s Selecting previously unselected package libcpanel-json-xs-perl:amd64. 311s Preparing to unpack .../201-libcpanel-json-xs-perl_4.39-1_amd64.deb ... 311s Unpacking libcpanel-json-xs-perl:amd64 (4.39-1) ... 311s Selecting previously unselected package libaliased-perl. 311s Preparing to unpack .../202-libaliased-perl_0.34-3_all.deb ... 311s Unpacking libaliased-perl (0.34-3) ... 311s Selecting previously unselected package libclass-data-inheritable-perl. 311s Preparing to unpack .../203-libclass-data-inheritable-perl_0.10-1_all.deb ... 311s Unpacking libclass-data-inheritable-perl (0.10-1) ... 311s Selecting previously unselected package libdevel-stacktrace-perl. 311s Preparing to unpack .../204-libdevel-stacktrace-perl_2.0500-1_all.deb ... 311s Unpacking libdevel-stacktrace-perl (2.0500-1) ... 311s Selecting previously unselected package libexception-class-perl. 311s Preparing to unpack .../205-libexception-class-perl_1.45-1_all.deb ... 311s Unpacking libexception-class-perl (1.45-1) ... 311s Selecting previously unselected package libiterator-perl. 311s Preparing to unpack .../206-libiterator-perl_0.03+ds1-2_all.deb ... 311s Unpacking libiterator-perl (0.03+ds1-2) ... 311s Selecting previously unselected package libiterator-util-perl. 311s Preparing to unpack .../207-libiterator-util-perl_0.02+ds1-2_all.deb ... 311s Unpacking libiterator-util-perl (0.02+ds1-2) ... 311s Selecting previously unselected package libdata-dpath-perl. 311s Preparing to unpack .../208-libdata-dpath-perl_0.60-1_all.deb ... 311s Unpacking libdata-dpath-perl (0.60-1) ... 311s Selecting previously unselected package libnet-domain-tld-perl. 311s Preparing to unpack .../209-libnet-domain-tld-perl_1.75-4_all.deb ... 311s Unpacking libnet-domain-tld-perl (1.75-4) ... 311s Selecting previously unselected package libdata-validate-domain-perl. 311s Preparing to unpack .../210-libdata-validate-domain-perl_0.15-1_all.deb ... 311s Unpacking libdata-validate-domain-perl (0.15-1) ... 311s Selecting previously unselected package libnet-ipv6addr-perl. 311s Preparing to unpack .../211-libnet-ipv6addr-perl_1.02-1_all.deb ... 311s Unpacking libnet-ipv6addr-perl (1.02-1) ... 311s Selecting previously unselected package libnet-netmask-perl. 311s Preparing to unpack .../212-libnet-netmask-perl_2.0002-2_all.deb ... 311s Unpacking libnet-netmask-perl (2.0002-2) ... 311s Selecting previously unselected package libnetaddr-ip-perl. 311s Preparing to unpack .../213-libnetaddr-ip-perl_4.079+dfsg-2build5_amd64.deb ... 311s Unpacking libnetaddr-ip-perl (4.079+dfsg-2build5) ... 311s Selecting previously unselected package libdata-validate-ip-perl. 311s Preparing to unpack .../214-libdata-validate-ip-perl_0.31-1_all.deb ... 311s Unpacking libdata-validate-ip-perl (0.31-1) ... 311s Selecting previously unselected package libdata-validate-uri-perl. 311s Preparing to unpack .../215-libdata-validate-uri-perl_0.07-3_all.deb ... 311s Unpacking libdata-validate-uri-perl (0.07-3) ... 312s Selecting previously unselected package libdevel-size-perl. 312s Preparing to unpack .../216-libdevel-size-perl_0.84-1build1_amd64.deb ... 312s Unpacking libdevel-size-perl (0.84-1build1) ... 312s Selecting previously unselected package libemail-address-xs-perl. 312s Preparing to unpack .../217-libemail-address-xs-perl_1.05-1build5_amd64.deb ... 312s Unpacking libemail-address-xs-perl (1.05-1build5) ... 312s Selecting previously unselected package libipc-system-simple-perl. 312s Preparing to unpack .../218-libipc-system-simple-perl_1.30-2_all.deb ... 312s Unpacking libipc-system-simple-perl (1.30-2) ... 312s Selecting previously unselected package libfile-basedir-perl. 312s Preparing to unpack .../219-libfile-basedir-perl_0.09-2_all.deb ... 312s Unpacking libfile-basedir-perl (0.09-2) ... 312s Selecting previously unselected package libfile-find-rule-perl. 312s Preparing to unpack .../220-libfile-find-rule-perl_0.34-3_all.deb ... 312s Unpacking libfile-find-rule-perl (0.34-3) ... 312s Selecting previously unselected package libio-string-perl. 312s Preparing to unpack .../221-libio-string-perl_1.08-4_all.deb ... 312s Unpacking libio-string-perl (1.08-4) ... 312s Selecting previously unselected package libfont-ttf-perl. 312s Preparing to unpack .../222-libfont-ttf-perl_1.06-2_all.deb ... 312s Unpacking libfont-ttf-perl (1.06-2) ... 312s Selecting previously unselected package libhtml-html5-entities-perl. 312s Preparing to unpack .../223-libhtml-html5-entities-perl_0.004-3_all.deb ... 312s Unpacking libhtml-html5-entities-perl (0.004-3) ... 312s Selecting previously unselected package libhtml-tokeparser-simple-perl. 312s Preparing to unpack .../224-libhtml-tokeparser-simple-perl_3.16-4_all.deb ... 312s Unpacking libhtml-tokeparser-simple-perl (3.16-4) ... 312s Selecting previously unselected package libipc-run3-perl. 312s Preparing to unpack .../225-libipc-run3-perl_0.049-1_all.deb ... 312s Unpacking libipc-run3-perl (0.049-1) ... 312s Selecting previously unselected package libjson-maybexs-perl. 312s Preparing to unpack .../226-libjson-maybexs-perl_1.004008-1_all.deb ... 312s Unpacking libjson-maybexs-perl (1.004008-1) ... 312s Selecting previously unselected package liblist-compare-perl. 312s Preparing to unpack .../227-liblist-compare-perl_0.55-2_all.deb ... 312s Unpacking liblist-compare-perl (0.55-2) ... 312s Selecting previously unselected package liblist-someutils-perl. 312s Preparing to unpack .../228-liblist-someutils-perl_0.59-1_all.deb ... 312s Unpacking liblist-someutils-perl (0.59-1) ... 312s Selecting previously unselected package liblist-utilsby-perl. 312s Preparing to unpack .../229-liblist-utilsby-perl_0.12-2_all.deb ... 312s Unpacking liblist-utilsby-perl (0.12-2) ... 312s Selecting previously unselected package libmldbm-perl. 312s Preparing to unpack .../230-libmldbm-perl_2.05-4_all.deb ... 312s Unpacking libmldbm-perl (2.05-4) ... 312s Selecting previously unselected package libclass-method-modifiers-perl. 312s Preparing to unpack .../231-libclass-method-modifiers-perl_2.15-1_all.deb ... 312s Unpacking libclass-method-modifiers-perl (2.15-1) ... 312s Selecting previously unselected package libimport-into-perl. 312s Preparing to unpack .../232-libimport-into-perl_1.002005-2_all.deb ... 312s Unpacking libimport-into-perl (1.002005-2) ... 312s Selecting previously unselected package librole-tiny-perl. 312s Preparing to unpack .../233-librole-tiny-perl_2.002004-1_all.deb ... 312s Unpacking librole-tiny-perl (2.002004-1) ... 312s Selecting previously unselected package libsub-quote-perl. 312s Preparing to unpack .../234-libsub-quote-perl_2.006008-1ubuntu1_all.deb ... 312s Unpacking libsub-quote-perl (2.006008-1ubuntu1) ... 312s Selecting previously unselected package libmoo-perl. 312s Preparing to unpack .../235-libmoo-perl_2.005005-1_all.deb ... 312s Unpacking libmoo-perl (2.005005-1) ... 312s Selecting previously unselected package libstrictures-perl. 312s Preparing to unpack .../236-libstrictures-perl_2.000006-1_all.deb ... 312s Unpacking libstrictures-perl (2.000006-1) ... 312s Selecting previously unselected package libmoox-aliases-perl. 312s Preparing to unpack .../237-libmoox-aliases-perl_0.001006-2_all.deb ... 312s Unpacking libmoox-aliases-perl (0.001006-2) ... 312s Selecting previously unselected package libperlio-gzip-perl. 312s Preparing to unpack .../238-libperlio-gzip-perl_0.20-1build5_amd64.deb ... 312s Unpacking libperlio-gzip-perl (0.20-1build5) ... 313s Selecting previously unselected package libperlio-utf8-strict-perl. 313s Preparing to unpack .../239-libperlio-utf8-strict-perl_0.010-1build4_amd64.deb ... 313s Unpacking libperlio-utf8-strict-perl (0.010-1build4) ... 313s Selecting previously unselected package libproc-processtable-perl:amd64. 313s Preparing to unpack .../240-libproc-processtable-perl_0.636-1build4_amd64.deb ... 313s Unpacking libproc-processtable-perl:amd64 (0.636-1build4) ... 313s Selecting previously unselected package libregexp-wildcards-perl. 313s Preparing to unpack .../241-libregexp-wildcards-perl_1.05-3_all.deb ... 313s Unpacking libregexp-wildcards-perl (1.05-3) ... 313s Selecting previously unselected package libsereal-decoder-perl. 313s Preparing to unpack .../242-libsereal-decoder-perl_5.004+ds-1build4_amd64.deb ... 313s Unpacking libsereal-decoder-perl (5.004+ds-1build4) ... 313s Selecting previously unselected package libsereal-encoder-perl. 313s Preparing to unpack .../243-libsereal-encoder-perl_5.004+ds-1build4_amd64.deb ... 313s Unpacking libsereal-encoder-perl (5.004+ds-1build4) ... 313s Selecting previously unselected package libterm-readkey-perl. 313s Preparing to unpack .../244-libterm-readkey-perl_2.38-2build5_amd64.deb ... 313s Unpacking libterm-readkey-perl (2.38-2build5) ... 313s Selecting previously unselected package libtext-levenshteinxs-perl. 313s Preparing to unpack .../245-libtext-levenshteinxs-perl_0.03-5build5_amd64.deb ... 313s Unpacking libtext-levenshteinxs-perl (0.03-5build5) ... 313s Selecting previously unselected package libmarkdown2:amd64. 313s Preparing to unpack .../246-libmarkdown2_2.2.7-2.1_amd64.deb ... 313s Unpacking libmarkdown2:amd64 (2.2.7-2.1) ... 313s Selecting previously unselected package libtext-markdown-discount-perl. 313s Preparing to unpack .../247-libtext-markdown-discount-perl_0.18-1_amd64.deb ... 313s Unpacking libtext-markdown-discount-perl (0.18-1) ... 313s Selecting previously unselected package libdata-messagepack-perl. 313s Preparing to unpack .../248-libdata-messagepack-perl_1.02-1build5_amd64.deb ... 313s Unpacking libdata-messagepack-perl (1.02-1build5) ... 313s Selecting previously unselected package libtext-xslate-perl:amd64. 313s Preparing to unpack .../249-libtext-xslate-perl_3.5.9-2build1_amd64.deb ... 313s Unpacking libtext-xslate-perl:amd64 (3.5.9-2build1) ... 313s Selecting previously unselected package libtime-duration-perl. 313s Preparing to unpack .../250-libtime-duration-perl_1.21-2_all.deb ... 313s Unpacking libtime-duration-perl (1.21-2) ... 313s Selecting previously unselected package libtime-moment-perl. 313s Preparing to unpack .../251-libtime-moment-perl_0.44-2build5_amd64.deb ... 313s Unpacking libtime-moment-perl (0.44-2build5) ... 313s Selecting previously unselected package libunicode-utf8-perl. 313s Preparing to unpack .../252-libunicode-utf8-perl_0.62-2build4_amd64.deb ... 313s Unpacking libunicode-utf8-perl (0.62-2build4) ... 313s Selecting previously unselected package libcgi-pm-perl. 313s Preparing to unpack .../253-libcgi-pm-perl_4.67-1_all.deb ... 313s Unpacking libcgi-pm-perl (4.67-1) ... 313s Selecting previously unselected package libhtml-form-perl. 313s Preparing to unpack .../254-libhtml-form-perl_6.12-1_all.deb ... 313s Unpacking libhtml-form-perl (6.12-1) ... 313s Selecting previously unselected package libwww-mechanize-perl. 313s Preparing to unpack .../255-libwww-mechanize-perl_2.19-1ubuntu1_all.deb ... 313s Unpacking libwww-mechanize-perl (2.19-1ubuntu1) ... 313s Selecting previously unselected package libxml-namespacesupport-perl. 313s Preparing to unpack .../256-libxml-namespacesupport-perl_1.12-2_all.deb ... 313s Unpacking libxml-namespacesupport-perl (1.12-2) ... 313s Selecting previously unselected package libxml-sax-base-perl. 313s Preparing to unpack .../257-libxml-sax-base-perl_1.09-3_all.deb ... 313s Unpacking libxml-sax-base-perl (1.09-3) ... 313s Selecting previously unselected package libxml-sax-perl. 313s Preparing to unpack .../258-libxml-sax-perl_1.02+dfsg-4_all.deb ... 313s Unpacking libxml-sax-perl (1.02+dfsg-4) ... 313s Selecting previously unselected package libxml-libxml-perl. 313s Preparing to unpack .../259-libxml-libxml-perl_2.0207+dfsg+really+2.0134-5build1_amd64.deb ... 313s Unpacking libxml-libxml-perl (2.0207+dfsg+really+2.0134-5build1) ... 314s Selecting previously unselected package lzip. 314s Preparing to unpack .../260-lzip_1.25-2_amd64.deb ... 314s Unpacking lzip (1.25-2) ... 314s Selecting previously unselected package lzop. 314s Preparing to unpack .../261-lzop_1.04-2build3_amd64.deb ... 314s Unpacking lzop (1.04-2build3) ... 314s Selecting previously unselected package patchutils. 314s Preparing to unpack .../262-patchutils_0.4.2-1build3_amd64.deb ... 314s Unpacking patchutils (0.4.2-1build3) ... 314s Selecting previously unselected package t1utils. 314s Preparing to unpack .../263-t1utils_1.41-4build3_amd64.deb ... 314s Unpacking t1utils (1.41-4build3) ... 314s Selecting previously unselected package unzip. 314s Preparing to unpack .../264-unzip_6.0-28ubuntu6_amd64.deb ... 314s Unpacking unzip (6.0-28ubuntu6) ... 314s Selecting previously unselected package lintian. 314s Preparing to unpack .../265-lintian_2.121.1+nmu1ubuntu2_all.deb ... 314s Unpacking lintian (2.121.1+nmu1ubuntu2) ... 314s Selecting previously unselected package libconfig-model-dpkg-perl. 314s Preparing to unpack .../266-libconfig-model-dpkg-perl_3.010_all.deb ... 314s Unpacking libconfig-model-dpkg-perl (3.010) ... 314s Selecting previously unselected package libconvert-binhex-perl. 314s Preparing to unpack .../267-libconvert-binhex-perl_1.125-3_all.deb ... 314s Unpacking libconvert-binhex-perl (1.125-3) ... 314s Selecting previously unselected package libnet-smtp-ssl-perl. 314s Preparing to unpack .../268-libnet-smtp-ssl-perl_1.04-2_all.deb ... 314s Unpacking libnet-smtp-ssl-perl (1.04-2) ... 314s Selecting previously unselected package libmailtools-perl. 314s Preparing to unpack .../269-libmailtools-perl_2.22-1_all.deb ... 314s Unpacking libmailtools-perl (2.22-1) ... 314s Selecting previously unselected package libmime-tools-perl. 314s Preparing to unpack .../270-libmime-tools-perl_5.515-1_all.deb ... 314s Unpacking libmime-tools-perl (5.515-1) ... 315s Selecting previously unselected package libsuitesparseconfig7:amd64. 315s Preparing to unpack .../271-libsuitesparseconfig7_1%3a7.8.3+dfsg-3_amd64.deb ... 315s Unpacking libsuitesparseconfig7:amd64 (1:7.8.3+dfsg-3) ... 315s Selecting previously unselected package libamd3:amd64. 315s Preparing to unpack .../272-libamd3_1%3a7.8.3+dfsg-3_amd64.deb ... 315s Unpacking libamd3:amd64 (1:7.8.3+dfsg-3) ... 315s Selecting previously unselected package libblas3:amd64. 315s Preparing to unpack .../273-libblas3_3.12.1-2_amd64.deb ... 315s Unpacking libblas3:amd64 (3.12.1-2) ... 315s Selecting previously unselected package libgfortran5:amd64. 315s Preparing to unpack .../274-libgfortran5_15-20250222-0ubuntu1_amd64.deb ... 315s Unpacking libgfortran5:amd64 (15-20250222-0ubuntu1) ... 315s Selecting previously unselected package liblapack3:amd64. 315s Preparing to unpack .../275-liblapack3_3.12.1-2_amd64.deb ... 315s Unpacking liblapack3:amd64 (3.12.1-2) ... 315s Selecting previously unselected package libarpack2t64:amd64. 315s Preparing to unpack .../276-libarpack2t64_3.9.1-4_amd64.deb ... 315s Unpacking libarpack2t64:amd64 (3.9.1-4) ... 315s Selecting previously unselected package libccolamd3:amd64. 315s Preparing to unpack .../277-libccolamd3_1%3a7.8.3+dfsg-3_amd64.deb ... 315s Unpacking libccolamd3:amd64 (1:7.8.3+dfsg-3) ... 315s Selecting previously unselected package libcamd3:amd64. 315s Preparing to unpack .../278-libcamd3_1%3a7.8.3+dfsg-3_amd64.deb ... 315s Unpacking libcamd3:amd64 (1:7.8.3+dfsg-3) ... 315s Selecting previously unselected package libcolamd3:amd64. 315s Preparing to unpack .../279-libcolamd3_1%3a7.8.3+dfsg-3_amd64.deb ... 315s Unpacking libcolamd3:amd64 (1:7.8.3+dfsg-3) ... 315s Selecting previously unselected package libcholmod5:amd64. 315s Preparing to unpack .../280-libcholmod5_1%3a7.8.3+dfsg-3_amd64.deb ... 315s Unpacking libcholmod5:amd64 (1:7.8.3+dfsg-3) ... 315s Selecting previously unselected package libcxsparse4:amd64. 315s Preparing to unpack .../281-libcxsparse4_1%3a7.8.3+dfsg-3_amd64.deb ... 315s Unpacking libcxsparse4:amd64 (1:7.8.3+dfsg-3) ... 315s Selecting previously unselected package libfftw3-double3:amd64. 315s Preparing to unpack .../282-libfftw3-double3_3.3.10-2fakesync1build1_amd64.deb ... 315s Unpacking libfftw3-double3:amd64 (3.3.10-2fakesync1build1) ... 315s Selecting previously unselected package libfftw3-single3:amd64. 315s Preparing to unpack .../283-libfftw3-single3_3.3.10-2fakesync1build1_amd64.deb ... 315s Unpacking libfftw3-single3:amd64 (3.3.10-2fakesync1build1) ... 315s Selecting previously unselected package libxfixes3:amd64. 315s Preparing to unpack .../284-libxfixes3_1%3a6.0.0-2build1_amd64.deb ... 315s Unpacking libxfixes3:amd64 (1:6.0.0-2build1) ... 315s Selecting previously unselected package libxcursor1:amd64. 315s Preparing to unpack .../285-libxcursor1_1%3a1.2.3-1_amd64.deb ... 315s Unpacking libxcursor1:amd64 (1:1.2.3-1) ... 315s Selecting previously unselected package libxft2:amd64. 315s Preparing to unpack .../286-libxft2_2.3.6-1build1_amd64.deb ... 315s Unpacking libxft2:amd64 (2.3.6-1build1) ... 315s Selecting previously unselected package libxinerama1:amd64. 315s Preparing to unpack .../287-libxinerama1_2%3a1.1.4-3build1_amd64.deb ... 315s Unpacking libxinerama1:amd64 (2:1.1.4-3build1) ... 315s Selecting previously unselected package libfltk1.3t64:amd64. 316s Preparing to unpack .../288-libfltk1.3t64_1.3.8-6.1build2_amd64.deb ... 316s Unpacking libfltk1.3t64:amd64 (1.3.8-6.1build2) ... 316s Selecting previously unselected package libglvnd0:amd64. 316s Preparing to unpack .../289-libglvnd0_1.7.0-1build1_amd64.deb ... 316s Unpacking libglvnd0:amd64 (1.7.0-1build1) ... 316s Selecting previously unselected package libx11-xcb1:amd64. 316s Preparing to unpack .../290-libx11-xcb1_2%3a1.8.10-2_amd64.deb ... 316s Unpacking libx11-xcb1:amd64 (2:1.8.10-2) ... 316s Selecting previously unselected package libxcb-dri3-0:amd64. 316s Preparing to unpack .../291-libxcb-dri3-0_1.17.0-2_amd64.deb ... 316s Unpacking libxcb-dri3-0:amd64 (1.17.0-2) ... 316s Selecting previously unselected package libxcb-glx0:amd64. 316s Preparing to unpack .../292-libxcb-glx0_1.17.0-2_amd64.deb ... 316s Unpacking libxcb-glx0:amd64 (1.17.0-2) ... 316s Selecting previously unselected package libxcb-present0:amd64. 316s Preparing to unpack .../293-libxcb-present0_1.17.0-2_amd64.deb ... 316s Unpacking libxcb-present0:amd64 (1.17.0-2) ... 316s Selecting previously unselected package libxcb-xfixes0:amd64. 316s Preparing to unpack .../294-libxcb-xfixes0_1.17.0-2_amd64.deb ... 316s Unpacking libxcb-xfixes0:amd64 (1.17.0-2) ... 316s Selecting previously unselected package libxxf86vm1:amd64. 316s Preparing to unpack .../295-libxxf86vm1_1%3a1.1.4-1build4_amd64.deb ... 316s Unpacking libxxf86vm1:amd64 (1:1.1.4-1build4) ... 316s Selecting previously unselected package libpciaccess0:amd64. 316s Preparing to unpack .../296-libpciaccess0_0.17-3build1_amd64.deb ... 316s Unpacking libpciaccess0:amd64 (0.17-3build1) ... 316s Selecting previously unselected package libdrm-intel1:amd64. 316s Preparing to unpack .../297-libdrm-intel1_2.4.123-1_amd64.deb ... 316s Unpacking libdrm-intel1:amd64 (2.4.123-1) ... 316s Selecting previously unselected package libxcb-randr0:amd64. 316s Preparing to unpack .../298-libxcb-randr0_1.17.0-2_amd64.deb ... 316s Unpacking libxcb-randr0:amd64 (1.17.0-2) ... 316s Selecting previously unselected package libxcb-sync1:amd64. 316s Preparing to unpack .../299-libxcb-sync1_1.17.0-2_amd64.deb ... 316s Unpacking libxcb-sync1:amd64 (1.17.0-2) ... 316s Selecting previously unselected package libxshmfence1:amd64. 316s Preparing to unpack .../300-libxshmfence1_1.3-1build5_amd64.deb ... 316s Unpacking libxshmfence1:amd64 (1.3-1build5) ... 316s Selecting previously unselected package mesa-libgallium:amd64. 316s Preparing to unpack .../301-mesa-libgallium_25.0.1-2ubuntu1_amd64.deb ... 316s Unpacking mesa-libgallium:amd64 (25.0.1-2ubuntu1) ... 316s Selecting previously unselected package libwayland-server0:amd64. 316s Preparing to unpack .../302-libwayland-server0_1.23.1-3_amd64.deb ... 316s Unpacking libwayland-server0:amd64 (1.23.1-3) ... 316s Selecting previously unselected package libgbm1:amd64. 316s Preparing to unpack .../303-libgbm1_25.0.1-2ubuntu1_amd64.deb ... 316s Unpacking libgbm1:amd64 (25.0.1-2ubuntu1) ... 317s Selecting previously unselected package libvulkan1:amd64. 317s Preparing to unpack .../304-libvulkan1_1.4.304.0-1_amd64.deb ... 317s Unpacking libvulkan1:amd64 (1.4.304.0-1) ... 317s Selecting previously unselected package libgl1-mesa-dri:amd64. 317s Preparing to unpack .../305-libgl1-mesa-dri_25.0.1-2ubuntu1_amd64.deb ... 317s Unpacking libgl1-mesa-dri:amd64 (25.0.1-2ubuntu1) ... 317s Selecting previously unselected package libglx-mesa0:amd64. 317s Preparing to unpack .../306-libglx-mesa0_25.0.1-2ubuntu1_amd64.deb ... 317s Unpacking libglx-mesa0:amd64 (25.0.1-2ubuntu1) ... 317s Selecting previously unselected package libglx0:amd64. 317s Preparing to unpack .../307-libglx0_1.7.0-1build1_amd64.deb ... 317s Unpacking libglx0:amd64 (1.7.0-1build1) ... 317s Selecting previously unselected package libgl1:amd64. 317s Preparing to unpack .../308-libgl1_1.7.0-1build1_amd64.deb ... 317s Unpacking libgl1:amd64 (1.7.0-1build1) ... 317s Selecting previously unselected package libfltk-gl1.3t64:amd64. 317s Preparing to unpack .../309-libfltk-gl1.3t64_1.3.8-6.1build2_amd64.deb ... 317s Unpacking libfltk-gl1.3t64:amd64 (1.3.8-6.1build2) ... 317s Selecting previously unselected package libgl2ps1.4. 317s Preparing to unpack .../310-libgl2ps1.4_1.4.2+dfsg1-2build1_amd64.deb ... 317s Unpacking libgl2ps1.4 (1.4.2+dfsg1-2build1) ... 317s Selecting previously unselected package libltdl7:amd64. 317s Preparing to unpack .../311-libltdl7_2.5.4-4_amd64.deb ... 317s Unpacking libltdl7:amd64 (2.5.4-4) ... 317s Selecting previously unselected package libglpk40:amd64. 317s Preparing to unpack .../312-libglpk40_5.0-1build2_amd64.deb ... 317s Unpacking libglpk40:amd64 (5.0-1build2) ... 317s Selecting previously unselected package libopengl0:amd64. 317s Preparing to unpack .../313-libopengl0_1.7.0-1build1_amd64.deb ... 317s Unpacking libopengl0:amd64 (1.7.0-1build1) ... 317s Selecting previously unselected package libglu1-mesa:amd64. 317s Preparing to unpack .../314-libglu1-mesa_9.0.2-1.1build1_amd64.deb ... 317s Unpacking libglu1-mesa:amd64 (9.0.2-1.1build1) ... 317s Selecting previously unselected package libhwy1t64:amd64. 317s Preparing to unpack .../315-libhwy1t64_1.2.0-3ubuntu3_amd64.deb ... 317s Unpacking libhwy1t64:amd64 (1.2.0-3ubuntu3) ... 317s Selecting previously unselected package liblcms2-2:amd64. 317s Preparing to unpack .../316-liblcms2-2_2.16-2_amd64.deb ... 317s Unpacking liblcms2-2:amd64 (2.16-2) ... 317s Selecting previously unselected package libjxl0.11:amd64. 317s Preparing to unpack .../317-libjxl0.11_0.11.1-1_amd64.deb ... 317s Unpacking libjxl0.11:amd64 (0.11.1-1) ... 317s Selecting previously unselected package libwmflite-0.2-7:amd64. 317s Preparing to unpack .../318-libwmflite-0.2-7_0.2.13-1.1build3_amd64.deb ... 317s Unpacking libwmflite-0.2-7:amd64 (0.2.13-1.1build3) ... 317s Selecting previously unselected package libgraphicsmagick-q16-3t64. 317s Preparing to unpack .../319-libgraphicsmagick-q16-3t64_1.4+really1.3.45+hg17689-1_amd64.deb ... 317s Unpacking libgraphicsmagick-q16-3t64 (1.4+really1.3.45+hg17689-1) ... 317s Selecting previously unselected package libgraphicsmagick++-q16-12t64. 317s Preparing to unpack .../320-libgraphicsmagick++-q16-12t64_1.4+really1.3.45+hg17689-1_amd64.deb ... 317s Unpacking libgraphicsmagick++-q16-12t64 (1.4+really1.3.45+hg17689-1) ... 317s Selecting previously unselected package libaec0:amd64. 317s Preparing to unpack .../321-libaec0_1.1.3-1_amd64.deb ... 317s Unpacking libaec0:amd64 (1.1.3-1) ... 318s Selecting previously unselected package libsz2:amd64. 318s Preparing to unpack .../322-libsz2_1.1.3-1_amd64.deb ... 318s Unpacking libsz2:amd64 (1.1.3-1) ... 318s Selecting previously unselected package libhdf5-310:amd64. 318s Preparing to unpack .../323-libhdf5-310_1.14.5+repack-3_amd64.deb ... 318s Unpacking libhdf5-310:amd64 (1.14.5+repack-3) ... 318s Selecting previously unselected package libasound2-data. 318s Preparing to unpack .../324-libasound2-data_1.2.13-1build1_all.deb ... 318s Unpacking libasound2-data (1.2.13-1build1) ... 318s Selecting previously unselected package libasound2t64:amd64. 318s Preparing to unpack .../325-libasound2t64_1.2.13-1build1_amd64.deb ... 318s Unpacking libasound2t64:amd64 (1.2.13-1build1) ... 318s Selecting previously unselected package libopus0:amd64. 318s Preparing to unpack .../326-libopus0_1.5.2-2_amd64.deb ... 318s Unpacking libopus0:amd64 (1.5.2-2) ... 318s Selecting previously unselected package libsamplerate0:amd64. 318s Preparing to unpack .../327-libsamplerate0_0.2.2-4build1_amd64.deb ... 318s Unpacking libsamplerate0:amd64 (0.2.2-4build1) ... 318s Selecting previously unselected package libjack-jackd2-0:amd64. 318s Preparing to unpack .../328-libjack-jackd2-0_1.9.22~dfsg-4_amd64.deb ... 318s Unpacking libjack-jackd2-0:amd64 (1.9.22~dfsg-4) ... 318s Selecting previously unselected package libportaudio2:amd64. 318s Preparing to unpack .../329-libportaudio2_19.6.0-1.2build3_amd64.deb ... 318s Unpacking libportaudio2:amd64 (19.6.0-1.2build3) ... 318s Selecting previously unselected package libqhull-r8.0:amd64. 318s Preparing to unpack .../330-libqhull-r8.0_2020.2-6build1_amd64.deb ... 318s Unpacking libqhull-r8.0:amd64 (2020.2-6build1) ... 318s Selecting previously unselected package libqrupdate1:amd64. 318s Preparing to unpack .../331-libqrupdate1_1.1.5-1_amd64.deb ... 318s Unpacking libqrupdate1:amd64 (1.1.5-1) ... 318s Selecting previously unselected package libqscintilla2-qt6-l10n. 318s Preparing to unpack .../332-libqscintilla2-qt6-l10n_2.14.1+dfsg-1build4_all.deb ... 318s Unpacking libqscintilla2-qt6-l10n (2.14.1+dfsg-1build4) ... 318s Selecting previously unselected package libb2-1:amd64. 318s Preparing to unpack .../333-libb2-1_0.98.1-1.1build1_amd64.deb ... 318s Unpacking libb2-1:amd64 (0.98.1-1.1build1) ... 318s Selecting previously unselected package libdouble-conversion3:amd64. 318s Preparing to unpack .../334-libdouble-conversion3_3.3.1-1_amd64.deb ... 318s Unpacking libdouble-conversion3:amd64 (3.3.1-1) ... 318s Selecting previously unselected package libpcre2-16-0:amd64. 318s Preparing to unpack .../335-libpcre2-16-0_10.45-1_amd64.deb ... 318s Unpacking libpcre2-16-0:amd64 (10.45-1) ... 318s Selecting previously unselected package libqt6core6t64:amd64. 318s Preparing to unpack .../336-libqt6core6t64_6.8.2+dfsg-5_amd64.deb ... 318s Unpacking libqt6core6t64:amd64 (6.8.2+dfsg-5) ... 318s Selecting previously unselected package libwayland-client0:amd64. 318s Preparing to unpack .../337-libwayland-client0_1.23.1-3_amd64.deb ... 318s Unpacking libwayland-client0:amd64 (1.23.1-3) ... 318s Selecting previously unselected package libegl-mesa0:amd64. 318s Preparing to unpack .../338-libegl-mesa0_25.0.1-2ubuntu1_amd64.deb ... 318s Unpacking libegl-mesa0:amd64 (25.0.1-2ubuntu1) ... 318s Selecting previously unselected package libegl1:amd64. 318s Preparing to unpack .../339-libegl1_1.7.0-1build1_amd64.deb ... 318s Unpacking libegl1:amd64 (1.7.0-1build1) ... 318s Selecting previously unselected package x11-common. 318s Preparing to unpack .../340-x11-common_1%3a7.7+23ubuntu3_all.deb ... 318s Unpacking x11-common (1:7.7+23ubuntu3) ... 319s Selecting previously unselected package libice6:amd64. 319s Preparing to unpack .../341-libice6_2%3a1.1.1-1_amd64.deb ... 319s Unpacking libice6:amd64 (2:1.1.1-1) ... 319s Selecting previously unselected package libmtdev1t64:amd64. 319s Preparing to unpack .../342-libmtdev1t64_1.1.7-1_amd64.deb ... 319s Unpacking libmtdev1t64:amd64 (1.1.7-1) ... 319s Selecting previously unselected package libwacom-common. 319s Preparing to unpack .../343-libwacom-common_2.14.0-1_all.deb ... 319s Unpacking libwacom-common (2.14.0-1) ... 319s Selecting previously unselected package libwacom9:amd64. 319s Preparing to unpack .../344-libwacom9_2.14.0-1_amd64.deb ... 319s Unpacking libwacom9:amd64 (2.14.0-1) ... 319s Selecting previously unselected package libinput-bin. 319s Preparing to unpack .../345-libinput-bin_1.27.1-1_amd64.deb ... 319s Unpacking libinput-bin (1.27.1-1) ... 319s Selecting previously unselected package libinput10:amd64. 319s Preparing to unpack .../346-libinput10_1.27.1-1_amd64.deb ... 319s Unpacking libinput10:amd64 (1.27.1-1) ... 319s Selecting previously unselected package libmd4c0:amd64. 319s Preparing to unpack .../347-libmd4c0_0.5.2-2_amd64.deb ... 319s Unpacking libmd4c0:amd64 (0.5.2-2) ... 319s Selecting previously unselected package libqt6dbus6:amd64. 319s Preparing to unpack .../348-libqt6dbus6_6.8.2+dfsg-5_amd64.deb ... 319s Unpacking libqt6dbus6:amd64 (6.8.2+dfsg-5) ... 319s Selecting previously unselected package libsm6:amd64. 319s Preparing to unpack .../349-libsm6_2%3a1.2.4-1_amd64.deb ... 319s Unpacking libsm6:amd64 (2:1.2.4-1) ... 319s Selecting previously unselected package libts0t64:amd64. 319s Preparing to unpack .../350-libts0t64_1.22-1.1build1_amd64.deb ... 319s Unpacking libts0t64:amd64 (1.22-1.1build1) ... 319s Selecting previously unselected package libxcb-util1:amd64. 319s Preparing to unpack .../351-libxcb-util1_0.4.1-1_amd64.deb ... 319s Unpacking libxcb-util1:amd64 (0.4.1-1) ... 319s Selecting previously unselected package libxcb-image0:amd64. 319s Preparing to unpack .../352-libxcb-image0_0.4.0-2build1_amd64.deb ... 319s Unpacking libxcb-image0:amd64 (0.4.0-2build1) ... 319s Selecting previously unselected package libxcb-render-util0:amd64. 319s Preparing to unpack .../353-libxcb-render-util0_0.3.10-1_amd64.deb ... 319s Unpacking libxcb-render-util0:amd64 (0.3.10-1) ... 319s Selecting previously unselected package libxcb-cursor0:amd64. 319s Preparing to unpack .../354-libxcb-cursor0_0.1.5-1_amd64.deb ... 319s Unpacking libxcb-cursor0:amd64 (0.1.5-1) ... 319s Selecting previously unselected package libxcb-icccm4:amd64. 319s Preparing to unpack .../355-libxcb-icccm4_0.4.2-1_amd64.deb ... 319s Unpacking libxcb-icccm4:amd64 (0.4.2-1) ... 319s Selecting previously unselected package libxcb-keysyms1:amd64. 319s Preparing to unpack .../356-libxcb-keysyms1_0.4.1-1_amd64.deb ... 319s Unpacking libxcb-keysyms1:amd64 (0.4.1-1) ... 319s Selecting previously unselected package libxcb-shape0:amd64. 320s Preparing to unpack .../357-libxcb-shape0_1.17.0-2_amd64.deb ... 320s Unpacking libxcb-shape0:amd64 (1.17.0-2) ... 320s Selecting previously unselected package libxcb-xinput0:amd64. 320s Preparing to unpack .../358-libxcb-xinput0_1.17.0-2_amd64.deb ... 320s Unpacking libxcb-xinput0:amd64 (1.17.0-2) ... 320s Selecting previously unselected package libxcb-xkb1:amd64. 320s Preparing to unpack .../359-libxcb-xkb1_1.17.0-2_amd64.deb ... 320s Unpacking libxcb-xkb1:amd64 (1.17.0-2) ... 320s Selecting previously unselected package libxkbcommon-x11-0:amd64. 320s Preparing to unpack .../360-libxkbcommon-x11-0_1.7.0-2_amd64.deb ... 320s Unpacking libxkbcommon-x11-0:amd64 (1.7.0-2) ... 320s Selecting previously unselected package libqt6gui6:amd64. 320s Preparing to unpack .../361-libqt6gui6_6.8.2+dfsg-5_amd64.deb ... 320s Unpacking libqt6gui6:amd64 (6.8.2+dfsg-5) ... 320s Selecting previously unselected package libavahi-common-data:amd64. 320s Preparing to unpack .../362-libavahi-common-data_0.8-16ubuntu1_amd64.deb ... 320s Unpacking libavahi-common-data:amd64 (0.8-16ubuntu1) ... 320s Selecting previously unselected package libavahi-common3:amd64. 320s Preparing to unpack .../363-libavahi-common3_0.8-16ubuntu1_amd64.deb ... 320s Unpacking libavahi-common3:amd64 (0.8-16ubuntu1) ... 320s Selecting previously unselected package libavahi-client3:amd64. 320s Preparing to unpack .../364-libavahi-client3_0.8-16ubuntu1_amd64.deb ... 320s Unpacking libavahi-client3:amd64 (0.8-16ubuntu1) ... 320s Selecting previously unselected package libcups2t64:amd64. 320s Preparing to unpack .../365-libcups2t64_2.4.11-0ubuntu2_amd64.deb ... 320s Unpacking libcups2t64:amd64 (2.4.11-0ubuntu2) ... 320s Selecting previously unselected package libqt6widgets6:amd64. 320s Preparing to unpack .../366-libqt6widgets6_6.8.2+dfsg-5_amd64.deb ... 320s Unpacking libqt6widgets6:amd64 (6.8.2+dfsg-5) ... 320s Selecting previously unselected package libqt6printsupport6:amd64. 320s Preparing to unpack .../367-libqt6printsupport6_6.8.2+dfsg-5_amd64.deb ... 320s Unpacking libqt6printsupport6:amd64 (6.8.2+dfsg-5) ... 320s Selecting previously unselected package libqscintilla2-qt6-15:amd64. 320s Preparing to unpack .../368-libqscintilla2-qt6-15_2.14.1+dfsg-1build4_amd64.deb ... 320s Unpacking libqscintilla2-qt6-15:amd64 (2.14.1+dfsg-1build4) ... 320s Selecting previously unselected package libqt6core5compat6:amd64. 320s Preparing to unpack .../369-libqt6core5compat6_6.8.2-3_amd64.deb ... 320s Unpacking libqt6core5compat6:amd64 (6.8.2-3) ... 320s Selecting previously unselected package libqt6sql6:amd64. 320s Preparing to unpack .../370-libqt6sql6_6.8.2+dfsg-5_amd64.deb ... 320s Unpacking libqt6sql6:amd64 (6.8.2+dfsg-5) ... 320s Selecting previously unselected package libqt6help6:amd64. 320s Preparing to unpack .../371-libqt6help6_6.8.2-3_amd64.deb ... 320s Unpacking libqt6help6:amd64 (6.8.2-3) ... 320s Selecting previously unselected package libduktape207:amd64. 320s Preparing to unpack .../372-libduktape207_2.7.0+tests-0ubuntu3_amd64.deb ... 320s Unpacking libduktape207:amd64 (2.7.0+tests-0ubuntu3) ... 320s Selecting previously unselected package libproxy1v5:amd64. 320s Preparing to unpack .../373-libproxy1v5_0.5.9-1_amd64.deb ... 320s Unpacking libproxy1v5:amd64 (0.5.9-1) ... 320s Selecting previously unselected package libqt6network6:amd64. 320s Preparing to unpack .../374-libqt6network6_6.8.2+dfsg-5_amd64.deb ... 320s Unpacking libqt6network6:amd64 (6.8.2+dfsg-5) ... 320s Selecting previously unselected package libqt6opengl6:amd64. 321s Preparing to unpack .../375-libqt6opengl6_6.8.2+dfsg-5_amd64.deb ... 321s Unpacking libqt6opengl6:amd64 (6.8.2+dfsg-5) ... 321s Selecting previously unselected package libqt6openglwidgets6:amd64. 321s Preparing to unpack .../376-libqt6openglwidgets6_6.8.2+dfsg-5_amd64.deb ... 321s Unpacking libqt6openglwidgets6:amd64 (6.8.2+dfsg-5) ... 321s Selecting previously unselected package libqt6xml6:amd64. 321s Preparing to unpack .../377-libqt6xml6_6.8.2+dfsg-5_amd64.deb ... 321s Unpacking libqt6xml6:amd64 (6.8.2+dfsg-5) ... 321s Selecting previously unselected package libogg0:amd64. 321s Preparing to unpack .../378-libogg0_1.3.5-3build1_amd64.deb ... 321s Unpacking libogg0:amd64 (1.3.5-3build1) ... 321s Selecting previously unselected package libflac12t64:amd64. 321s Preparing to unpack .../379-libflac12t64_1.4.3+ds-4_amd64.deb ... 321s Unpacking libflac12t64:amd64 (1.4.3+ds-4) ... 321s Selecting previously unselected package libmp3lame0:amd64. 321s Preparing to unpack .../380-libmp3lame0_3.100-6build1_amd64.deb ... 321s Unpacking libmp3lame0:amd64 (3.100-6build1) ... 321s Selecting previously unselected package libmpg123-0t64:amd64. 321s Preparing to unpack .../381-libmpg123-0t64_1.32.10-1_amd64.deb ... 321s Unpacking libmpg123-0t64:amd64 (1.32.10-1) ... 321s Selecting previously unselected package libvorbis0a:amd64. 321s Preparing to unpack .../382-libvorbis0a_1.3.7-2_amd64.deb ... 321s Unpacking libvorbis0a:amd64 (1.3.7-2) ... 321s Selecting previously unselected package libvorbisenc2:amd64. 321s Preparing to unpack .../383-libvorbisenc2_1.3.7-2_amd64.deb ... 321s Unpacking libvorbisenc2:amd64 (1.3.7-2) ... 321s Selecting previously unselected package libsndfile1:amd64. 321s Preparing to unpack .../384-libsndfile1_1.2.2-2_amd64.deb ... 321s Unpacking libsndfile1:amd64 (1.2.2-2) ... 321s Selecting previously unselected package libspqr4:amd64. 321s Preparing to unpack .../385-libspqr4_1%3a7.8.3+dfsg-3_amd64.deb ... 321s Unpacking libspqr4:amd64 (1:7.8.3+dfsg-3) ... 321s Selecting previously unselected package libumfpack6:amd64. 321s Preparing to unpack .../386-libumfpack6_1%3a7.8.3+dfsg-3_amd64.deb ... 321s Unpacking libumfpack6:amd64 (1:7.8.3+dfsg-3) ... 321s Selecting previously unselected package libtext-unidecode-perl. 321s Preparing to unpack .../387-libtext-unidecode-perl_1.30-3_all.deb ... 321s Unpacking libtext-unidecode-perl (1.30-3) ... 321s Selecting previously unselected package texinfo-lib. 321s Preparing to unpack .../388-texinfo-lib_7.1.1-1_amd64.deb ... 321s Unpacking texinfo-lib (7.1.1-1) ... 321s Selecting previously unselected package tex-common. 321s Preparing to unpack .../389-tex-common_6.19_all.deb ... 321s Unpacking tex-common (6.19) ... 321s Selecting previously unselected package texinfo. 321s Preparing to unpack .../390-texinfo_7.1.1-1_all.deb ... 321s Unpacking texinfo (7.1.1-1) ... 321s Selecting previously unselected package octave-common. 321s Preparing to unpack .../391-octave-common_9.4.0-1_all.deb ... 321s Unpacking octave-common (9.4.0-1) ... 322s Selecting previously unselected package octave. 322s Preparing to unpack .../392-octave_9.4.0-1_amd64.deb ... 322s Unpacking octave (9.4.0-1) ... 322s Selecting previously unselected package libncurses-dev:amd64. 322s Preparing to unpack .../393-libncurses-dev_6.5+20250216-2_amd64.deb ... 322s Unpacking libncurses-dev:amd64 (6.5+20250216-2) ... 322s Selecting previously unselected package libreadline-dev:amd64. 322s Preparing to unpack .../394-libreadline-dev_8.2-6_amd64.deb ... 322s Unpacking libreadline-dev:amd64 (8.2-6) ... 322s Selecting previously unselected package libhdf5-fortran-310:amd64. 322s Preparing to unpack .../395-libhdf5-fortran-310_1.14.5+repack-3_amd64.deb ... 322s Unpacking libhdf5-fortran-310:amd64 (1.14.5+repack-3) ... 322s Selecting previously unselected package libhdf5-hl-310:amd64. 322s Preparing to unpack .../396-libhdf5-hl-310_1.14.5+repack-3_amd64.deb ... 322s Unpacking libhdf5-hl-310:amd64 (1.14.5+repack-3) ... 322s Selecting previously unselected package libhdf5-hl-fortran-310:amd64. 323s Preparing to unpack .../397-libhdf5-hl-fortran-310_1.14.5+repack-3_amd64.deb ... 323s Unpacking libhdf5-hl-fortran-310:amd64 (1.14.5+repack-3) ... 323s Selecting previously unselected package libhdf5-cpp-310:amd64. 323s Preparing to unpack .../398-libhdf5-cpp-310_1.14.5+repack-3_amd64.deb ... 323s Unpacking libhdf5-cpp-310:amd64 (1.14.5+repack-3) ... 323s Selecting previously unselected package libhdf5-hl-cpp-310:amd64. 323s Preparing to unpack .../399-libhdf5-hl-cpp-310_1.14.5+repack-3_amd64.deb ... 323s Unpacking libhdf5-hl-cpp-310:amd64 (1.14.5+repack-3) ... 323s Selecting previously unselected package zlib1g-dev:amd64. 323s Preparing to unpack .../400-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ... 323s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 323s Selecting previously unselected package libjpeg-turbo8-dev:amd64. 323s Preparing to unpack .../401-libjpeg-turbo8-dev_2.1.5-3ubuntu2_amd64.deb ... 323s Unpacking libjpeg-turbo8-dev:amd64 (2.1.5-3ubuntu2) ... 323s Selecting previously unselected package libjpeg8-dev:amd64. 323s Preparing to unpack .../402-libjpeg8-dev_8c-2ubuntu11_amd64.deb ... 323s Unpacking libjpeg8-dev:amd64 (8c-2ubuntu11) ... 323s Selecting previously unselected package libjpeg-dev:amd64. 323s Preparing to unpack .../403-libjpeg-dev_8c-2ubuntu11_amd64.deb ... 323s Unpacking libjpeg-dev:amd64 (8c-2ubuntu11) ... 323s Selecting previously unselected package libaec-dev:amd64. 323s Preparing to unpack .../404-libaec-dev_1.1.3-1_amd64.deb ... 323s Unpacking libaec-dev:amd64 (1.1.3-1) ... 323s Selecting previously unselected package libbrotli-dev:amd64. 323s Preparing to unpack .../405-libbrotli-dev_1.1.0-2build4_amd64.deb ... 323s Unpacking libbrotli-dev:amd64 (1.1.0-2build4) ... 323s Selecting previously unselected package libidn2-dev:amd64. 323s Preparing to unpack .../406-libidn2-dev_2.3.7-2build2_amd64.deb ... 323s Unpacking libidn2-dev:amd64 (2.3.7-2build2) ... 323s Selecting previously unselected package comerr-dev:amd64. 323s Preparing to unpack .../407-comerr-dev_2.1-1.47.2-1ubuntu1_amd64.deb ... 323s Unpacking comerr-dev:amd64 (2.1-1.47.2-1ubuntu1) ... 323s Selecting previously unselected package libgssrpc4t64:amd64. 323s Preparing to unpack .../408-libgssrpc4t64_1.21.3-4ubuntu2_amd64.deb ... 323s Unpacking libgssrpc4t64:amd64 (1.21.3-4ubuntu2) ... 323s Selecting previously unselected package libkadm5clnt-mit12:amd64. 323s Preparing to unpack .../409-libkadm5clnt-mit12_1.21.3-4ubuntu2_amd64.deb ... 323s Unpacking libkadm5clnt-mit12:amd64 (1.21.3-4ubuntu2) ... 323s Selecting previously unselected package libkdb5-10t64:amd64. 323s Preparing to unpack .../410-libkdb5-10t64_1.21.3-4ubuntu2_amd64.deb ... 323s Unpacking libkdb5-10t64:amd64 (1.21.3-4ubuntu2) ... 323s Selecting previously unselected package libkadm5srv-mit12:amd64. 323s Preparing to unpack .../411-libkadm5srv-mit12_1.21.3-4ubuntu2_amd64.deb ... 323s Unpacking libkadm5srv-mit12:amd64 (1.21.3-4ubuntu2) ... 323s Selecting previously unselected package krb5-multidev:amd64. 323s Preparing to unpack .../412-krb5-multidev_1.21.3-4ubuntu2_amd64.deb ... 323s Unpacking krb5-multidev:amd64 (1.21.3-4ubuntu2) ... 323s Selecting previously unselected package libkrb5-dev:amd64. 323s Preparing to unpack .../413-libkrb5-dev_1.21.3-4ubuntu2_amd64.deb ... 323s Unpacking libkrb5-dev:amd64 (1.21.3-4ubuntu2) ... 323s Selecting previously unselected package libldap-dev:amd64. 323s Preparing to unpack .../414-libldap-dev_2.6.9+dfsg-1~exp2ubuntu1_amd64.deb ... 323s Unpacking libldap-dev:amd64 (2.6.9+dfsg-1~exp2ubuntu1) ... 323s Selecting previously unselected package libpkgconf3:amd64. 323s Preparing to unpack .../415-libpkgconf3_1.8.1-4_amd64.deb ... 323s Unpacking libpkgconf3:amd64 (1.8.1-4) ... 324s Selecting previously unselected package pkgconf-bin. 324s Preparing to unpack .../416-pkgconf-bin_1.8.1-4_amd64.deb ... 324s Unpacking pkgconf-bin (1.8.1-4) ... 324s Selecting previously unselected package pkgconf:amd64. 324s Preparing to unpack .../417-pkgconf_1.8.1-4_amd64.deb ... 324s Unpacking pkgconf:amd64 (1.8.1-4) ... 324s Selecting previously unselected package libnghttp2-dev:amd64. 324s Preparing to unpack .../418-libnghttp2-dev_1.64.0-1_amd64.deb ... 324s Unpacking libnghttp2-dev:amd64 (1.64.0-1) ... 324s Selecting previously unselected package libpsl-dev:amd64. 324s Preparing to unpack .../419-libpsl-dev_0.21.2-1.1build1_amd64.deb ... 324s Unpacking libpsl-dev:amd64 (0.21.2-1.1build1) ... 324s Selecting previously unselected package libgmpxx4ldbl:amd64. 324s Preparing to unpack .../420-libgmpxx4ldbl_2%3a6.3.0+dfsg-3ubuntu1_amd64.deb ... 324s Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3ubuntu1) ... 324s Selecting previously unselected package libgmp-dev:amd64. 324s Preparing to unpack .../421-libgmp-dev_2%3a6.3.0+dfsg-3ubuntu1_amd64.deb ... 324s Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3ubuntu1) ... 324s Selecting previously unselected package libevent-2.1-7t64:amd64. 324s Preparing to unpack .../422-libevent-2.1-7t64_2.1.12-stable-10_amd64.deb ... 324s Unpacking libevent-2.1-7t64:amd64 (2.1.12-stable-10) ... 324s Selecting previously unselected package libunbound8:amd64. 324s Preparing to unpack .../423-libunbound8_1.22.0-1ubuntu1_amd64.deb ... 324s Unpacking libunbound8:amd64 (1.22.0-1ubuntu1) ... 324s Selecting previously unselected package libgnutls-dane0t64:amd64. 324s Preparing to unpack .../424-libgnutls-dane0t64_3.8.9-2ubuntu2_amd64.deb ... 324s Unpacking libgnutls-dane0t64:amd64 (3.8.9-2ubuntu2) ... 324s Selecting previously unselected package libgnutls-openssl27t64:amd64. 324s Preparing to unpack .../425-libgnutls-openssl27t64_3.8.9-2ubuntu2_amd64.deb ... 324s Unpacking libgnutls-openssl27t64:amd64 (3.8.9-2ubuntu2) ... 324s Selecting previously unselected package libp11-kit-dev:amd64. 324s Preparing to unpack .../426-libp11-kit-dev_0.25.5-2ubuntu3_amd64.deb ... 324s Unpacking libp11-kit-dev:amd64 (0.25.5-2ubuntu3) ... 324s Selecting previously unselected package libtasn1-6-dev:amd64. 324s Preparing to unpack .../427-libtasn1-6-dev_4.20.0-2_amd64.deb ... 324s Unpacking libtasn1-6-dev:amd64 (4.20.0-2) ... 324s Selecting previously unselected package nettle-dev:amd64. 324s Preparing to unpack .../428-nettle-dev_3.10.1-1_amd64.deb ... 324s Unpacking nettle-dev:amd64 (3.10.1-1) ... 324s Selecting previously unselected package libgnutls28-dev:amd64. 324s Preparing to unpack .../429-libgnutls28-dev_3.8.9-2ubuntu2_amd64.deb ... 324s Unpacking libgnutls28-dev:amd64 (3.8.9-2ubuntu2) ... 324s Selecting previously unselected package librtmp-dev:amd64. 324s Preparing to unpack .../430-librtmp-dev_2.4+20151223.gitfa8646d.1-2build7_amd64.deb ... 324s Unpacking librtmp-dev:amd64 (2.4+20151223.gitfa8646d.1-2build7) ... 324s Selecting previously unselected package libssl-dev:amd64. 324s Preparing to unpack .../431-libssl-dev_3.4.1-1ubuntu1_amd64.deb ... 324s Unpacking libssl-dev:amd64 (3.4.1-1ubuntu1) ... 325s Selecting previously unselected package libssh2-1-dev:amd64. 325s Preparing to unpack .../432-libssh2-1-dev_1.11.1-1_amd64.deb ... 325s Unpacking libssh2-1-dev:amd64 (1.11.1-1) ... 325s Selecting previously unselected package libzstd-dev:amd64. 325s Preparing to unpack .../433-libzstd-dev_1.5.6+dfsg-2_amd64.deb ... 325s Unpacking libzstd-dev:amd64 (1.5.6+dfsg-2) ... 325s Selecting previously unselected package libcurl4-openssl-dev:amd64. 325s Preparing to unpack .../434-libcurl4-openssl-dev_8.12.1-3ubuntu1_amd64.deb ... 325s Unpacking libcurl4-openssl-dev:amd64 (8.12.1-3ubuntu1) ... 325s Selecting previously unselected package hdf5-helpers. 325s Preparing to unpack .../435-hdf5-helpers_1.14.5+repack-3_amd64.deb ... 325s Unpacking hdf5-helpers (1.14.5+repack-3) ... 325s Selecting previously unselected package libhdf5-dev. 325s Preparing to unpack .../436-libhdf5-dev_1.14.5+repack-3_amd64.deb ... 325s Unpacking libhdf5-dev (1.14.5+repack-3) ... 325s Selecting previously unselected package xorg-sgml-doctools. 325s Preparing to unpack .../437-xorg-sgml-doctools_1%3a1.11-1.1_all.deb ... 325s Unpacking xorg-sgml-doctools (1:1.11-1.1) ... 325s Selecting previously unselected package x11proto-dev. 325s Preparing to unpack .../438-x11proto-dev_2024.1-1_all.deb ... 325s Unpacking x11proto-dev (2024.1-1) ... 325s Selecting previously unselected package libxau-dev:amd64. 325s Preparing to unpack .../439-libxau-dev_1%3a1.0.11-1_amd64.deb ... 325s Unpacking libxau-dev:amd64 (1:1.0.11-1) ... 325s Selecting previously unselected package libxdmcp-dev:amd64. 325s Preparing to unpack .../440-libxdmcp-dev_1%3a1.1.5-1_amd64.deb ... 325s Unpacking libxdmcp-dev:amd64 (1:1.1.5-1) ... 325s Selecting previously unselected package xtrans-dev. 325s Preparing to unpack .../441-xtrans-dev_1.4.0-1_all.deb ... 325s Unpacking xtrans-dev (1.4.0-1) ... 325s Selecting previously unselected package libxcb1-dev:amd64. 325s Preparing to unpack .../442-libxcb1-dev_1.17.0-2_amd64.deb ... 325s Unpacking libxcb1-dev:amd64 (1.17.0-2) ... 325s Selecting previously unselected package libx11-dev:amd64. 325s Preparing to unpack .../443-libx11-dev_2%3a1.8.10-2_amd64.deb ... 325s Unpacking libx11-dev:amd64 (2:1.8.10-2) ... 325s Selecting previously unselected package libglx-dev:amd64. 325s Preparing to unpack .../444-libglx-dev_1.7.0-1build1_amd64.deb ... 325s Unpacking libglx-dev:amd64 (1.7.0-1build1) ... 325s Selecting previously unselected package libgl-dev:amd64. 325s Preparing to unpack .../445-libgl-dev_1.7.0-1build1_amd64.deb ... 325s Unpacking libgl-dev:amd64 (1.7.0-1build1) ... 325s Selecting previously unselected package libblas-dev:amd64. 326s Preparing to unpack .../446-libblas-dev_3.12.1-2_amd64.deb ... 326s Unpacking libblas-dev:amd64 (3.12.1-2) ... 326s Selecting previously unselected package liblapack-dev:amd64. 326s Preparing to unpack .../447-liblapack-dev_3.12.1-2_amd64.deb ... 326s Unpacking liblapack-dev:amd64 (3.12.1-2) ... 326s Selecting previously unselected package libfftw3-long3:amd64. 326s Preparing to unpack .../448-libfftw3-long3_3.3.10-2fakesync1build1_amd64.deb ... 326s Unpacking libfftw3-long3:amd64 (3.3.10-2fakesync1build1) ... 326s Selecting previously unselected package libfftw3-quad3:amd64. 326s Preparing to unpack .../449-libfftw3-quad3_3.3.10-2fakesync1build1_amd64.deb ... 326s Unpacking libfftw3-quad3:amd64 (3.3.10-2fakesync1build1) ... 326s Selecting previously unselected package libfftw3-bin. 326s Preparing to unpack .../450-libfftw3-bin_3.3.10-2fakesync1build1_amd64.deb ... 326s Unpacking libfftw3-bin (3.3.10-2fakesync1build1) ... 326s Selecting previously unselected package libfftw3-dev:amd64. 326s Preparing to unpack .../451-libfftw3-dev_3.3.10-2fakesync1build1_amd64.deb ... 326s Unpacking libfftw3-dev:amd64 (3.3.10-2fakesync1build1) ... 326s Selecting previously unselected package libgfortran-14-dev:amd64. 326s Preparing to unpack .../452-libgfortran-14-dev_14.2.0-17ubuntu3_amd64.deb ... 326s Unpacking libgfortran-14-dev:amd64 (14.2.0-17ubuntu3) ... 326s Selecting previously unselected package gfortran-14-x86-64-linux-gnu. 326s Preparing to unpack .../453-gfortran-14-x86-64-linux-gnu_14.2.0-17ubuntu3_amd64.deb ... 326s Unpacking gfortran-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 327s Selecting previously unselected package gfortran-14. 327s Preparing to unpack .../454-gfortran-14_14.2.0-17ubuntu3_amd64.deb ... 327s Unpacking gfortran-14 (14.2.0-17ubuntu3) ... 327s Selecting previously unselected package gfortran-x86-64-linux-gnu. 327s Preparing to unpack .../455-gfortran-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 327s Unpacking gfortran-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 327s Selecting previously unselected package gfortran. 327s Preparing to unpack .../456-gfortran_4%3a14.2.0-1ubuntu1_amd64.deb ... 327s Unpacking gfortran (4:14.2.0-1ubuntu1) ... 327s Selecting previously unselected package libstdc++-14-dev:amd64. 327s Preparing to unpack .../457-libstdc++-14-dev_14.2.0-17ubuntu3_amd64.deb ... 327s Unpacking libstdc++-14-dev:amd64 (14.2.0-17ubuntu3) ... 327s Selecting previously unselected package g++-14-x86-64-linux-gnu. 327s Preparing to unpack .../458-g++-14-x86-64-linux-gnu_14.2.0-17ubuntu3_amd64.deb ... 327s Unpacking g++-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 327s Selecting previously unselected package g++-14. 327s Preparing to unpack .../459-g++-14_14.2.0-17ubuntu3_amd64.deb ... 327s Unpacking g++-14 (14.2.0-17ubuntu3) ... 327s Selecting previously unselected package g++-x86-64-linux-gnu. 327s Preparing to unpack .../460-g++-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 327s Unpacking g++-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 327s Selecting previously unselected package g++. 327s Preparing to unpack .../461-g++_4%3a14.2.0-1ubuntu1_amd64.deb ... 327s Unpacking g++ (4:14.2.0-1ubuntu1) ... 327s Selecting previously unselected package octave-dev. 327s Preparing to unpack .../462-octave-dev_9.4.0-1_amd64.deb ... 327s Unpacking octave-dev (9.4.0-1) ... 328s Selecting previously unselected package dh-octave. 328s Preparing to unpack .../463-dh-octave_1.8.0_all.deb ... 328s Unpacking dh-octave (1.8.0) ... 328s Selecting previously unselected package libfontenc1:amd64. 328s Preparing to unpack .../464-libfontenc1_1%3a1.1.8-1build1_amd64.deb ... 328s Unpacking libfontenc1:amd64 (1:1.1.8-1build1) ... 328s Selecting previously unselected package libxt6t64:amd64. 328s Preparing to unpack .../465-libxt6t64_1%3a1.2.1-1.2build1_amd64.deb ... 328s Unpacking libxt6t64:amd64 (1:1.2.1-1.2build1) ... 328s Selecting previously unselected package libxmu6:amd64. 328s Preparing to unpack .../466-libxmu6_2%3a1.1.3-3build2_amd64.deb ... 328s Unpacking libxmu6:amd64 (2:1.1.3-3build2) ... 328s Selecting previously unselected package libxaw7:amd64. 328s Preparing to unpack .../467-libxaw7_2%3a1.0.16-1_amd64.deb ... 328s Unpacking libxaw7:amd64 (2:1.0.16-1) ... 328s Selecting previously unselected package libxfont2:amd64. 328s Preparing to unpack .../468-libxfont2_1%3a2.0.6-1build1_amd64.deb ... 328s Unpacking libxfont2:amd64 (1:2.0.6-1build1) ... 328s Selecting previously unselected package libxkbfile1:amd64. 328s Preparing to unpack .../469-libxkbfile1_1%3a1.1.0-1build4_amd64.deb ... 328s Unpacking libxkbfile1:amd64 (1:1.1.0-1build4) ... 328s Selecting previously unselected package libxrandr2:amd64. 328s Preparing to unpack .../470-libxrandr2_2%3a1.5.4-1_amd64.deb ... 328s Unpacking libxrandr2:amd64 (2:1.5.4-1) ... 328s Selecting previously unselected package octave-image:amd64. 328s Preparing to unpack .../471-octave-image_2.14.0-5build1_amd64.deb ... 328s Unpacking octave-image:amd64 (2.14.0-5build1) ... 328s Selecting previously unselected package x11-xkb-utils. 328s Preparing to unpack .../472-x11-xkb-utils_7.7+9_amd64.deb ... 328s Unpacking x11-xkb-utils (7.7+9) ... 328s Selecting previously unselected package xserver-common. 328s Preparing to unpack .../473-xserver-common_2%3a21.1.16-1ubuntu1_all.deb ... 328s Unpacking xserver-common (2:21.1.16-1ubuntu1) ... 328s Selecting previously unselected package xvfb. 328s Preparing to unpack .../474-xvfb_2%3a21.1.16-1ubuntu1_amd64.deb ... 328s Unpacking xvfb (2:21.1.16-1ubuntu1) ... 328s Setting up libapt-pkg-perl (0.1.41build1) ... 328s Setting up libhwy1t64:amd64 (1.2.0-3ubuntu3) ... 328s Setting up libmodule-pluggable-perl (5.2-5) ... 328s Setting up libgraphite2-3:amd64 (1.3.14-2ubuntu1) ... 328s Setting up libstring-escape-perl (2010.002-3) ... 328s Setting up libgnutls-openssl27t64:amd64 (3.8.9-2ubuntu2) ... 328s Setting up libxcb-dri3-0:amd64 (1.17.0-2) ... 328s Setting up liblcms2-2:amd64 (2.16-2) ... 328s Setting up libberkeleydb-perl:amd64 (0.66-1) ... 328s Setting up libpixman-1-0:amd64 (0.44.0-3) ... 328s Setting up libsharpyuv0:amd64 (1.5.0-0.1) ... 328s Setting up libwayland-server0:amd64 (1.23.1-3) ... 328s Setting up libaom3:amd64 (3.12.0-1) ... 328s Setting up libx11-xcb1:amd64 (2:1.8.10-2) ... 328s Setting up libpciaccess0:amd64 (0.17-3build1) ... 328s Setting up libfile-which-perl (1.27-2) ... 328s Setting up libdouble-conversion3:amd64 (3.3.1-1) ... 328s Setting up libncurses-dev:amd64 (6.5+20250216-2) ... 328s Setting up libunicode-utf8-perl (0.62-2build4) ... 328s Setting up libset-intspan-perl (1.19-3) ... 328s Setting up libxcb-xfixes0:amd64 (1.17.0-2) ... 328s Setting up libogg0:amd64 (1.3.5-3build1) ... 328s Setting up libmouse-perl:amd64 (2.5.11-1build1) ... 328s Setting up libzstd-dev:amd64 (1.5.6+dfsg-2) ... 328s Setting up liblerc4:amd64 (4.0.0+ds-5ubuntu1) ... 328s Setting up libpod-pom-perl (2.01-4) ... 328s Setting up libxpm4:amd64 (1:3.5.17-1build2) ... 328s Setting up hdf5-helpers (1.14.5+repack-3) ... 328s Setting up libwmflite-0.2-7:amd64 (0.2.13-1.1build3) ... 328s Setting up libregexp-pattern-perl (0.2.14-2) ... 328s Setting up libdata-messagepack-perl (1.02-1build5) ... 328s Setting up libclass-inspector-perl (1.36-3) ... 328s Setting up libxcb-xinput0:amd64 (1.17.0-2) ... 328s Setting up libxrender1:amd64 (1:0.9.10-1.1build1) ... 328s Setting up libdynaloader-functions-perl (0.004-1) ... 328s Setting up libdatrie1:amd64 (0.2.13-3build1) ... 328s Setting up libtext-glob-perl (0.11-3) ... 328s Setting up libclass-method-modifiers-perl (2.15-1) ... 328s Setting up liblist-compare-perl (0.55-2) ... 328s Setting up libxcb-render0:amd64 (1.17.0-2) ... 328s Setting up libclone-perl:amd64 (0.47-1) ... 328s Setting up libarchive-zip-perl (1.68-1) ... 328s Setting up libsub-identify-perl (0.14-3build4) ... 328s Setting up libcpanel-json-xs-perl:amd64 (4.39-1) ... 328s Setting up libglvnd0:amd64 (1.7.0-1build1) ... 328s Setting up libio-stringy-perl (2.113-2) ... 328s Setting up libhtml-tagset-perl (3.24-1) ... 328s Setting up libts0t64:amd64 (1.22-1.1build1) ... 328s Setting up liblog-any-perl (1.717-1) ... 328s Setting up libyaml-pp-perl (0.39.0-1) ... 328s Setting up libxcb-glx0:amd64 (1.17.0-2) ... 328s Setting up libdevel-size-perl (0.84-1build1) ... 328s Setting up unzip (6.0-28ubuntu6) ... 328s Setting up libdebhelper-perl (13.24.1ubuntu2) ... 328s Setting up libregexp-pattern-license-perl (3.11.2-1) ... 328s Setting up libconvert-binhex-perl (1.125-3) ... 328s Setting up libdrm-intel1:amd64 (2.4.123-1) ... 328s Setting up liblwp-mediatypes-perl (6.04-2) ... 328s Setting up libyaml-libyaml-perl (0.903.0+ds-1) ... 328s Setting up fonts-freefont-otf (20211204+svn4273-2) ... 328s Setting up libio-interactive-perl (1.026-1) ... 328s Setting up libxcb-keysyms1:amd64 (0.4.1-1) ... 328s Setting up libxcb-shape0:amd64 (1.17.0-2) ... 328s Setting up x11-common (1:7.7+23ubuntu3) ... 329s Setting up libtry-tiny-perl (0.32-1) ... 329s Setting up libdeflate0:amd64 (1.23-1) ... 329s Setting up perl-openssl-defaults:amd64 (7build3) ... 329s Setting up libmldbm-perl (2.05-4) ... 329s Setting up libxml-namespacesupport-perl (1.12-2) ... 329s Setting up m4 (1.4.19-7) ... 329s Setting up libevent-2.1-7t64:amd64 (2.1.12-stable-10) ... 329s Setting up libclone-choose-perl (0.010-2) ... 329s Setting up libqhull-r8.0:amd64 (2020.2-6build1) ... 329s Setting up libxcb-render-util0:amd64 (0.3.10-1) ... 329s Setting up libtime-moment-perl (0.44-2build5) ... 329s Setting up libencode-locale-perl (1.05-3) ... 329s Setting up libxcb-shm0:amd64 (1.17.0-2) ... 329s Setting up libxcb-icccm4:amd64 (0.4.2-1) ... 329s Setting up texinfo-lib (7.1.1-1) ... 329s Setting up libreadline-dev:amd64 (8.2-6) ... 329s Setting up libmpg123-0t64:amd64 (1.32.10-1) ... 329s Setting up libgomp1:amd64 (15-20250222-0ubuntu1) ... 329s Setting up libconfig-tiny-perl (2.30-1) ... 329s Setting up libsereal-encoder-perl (5.004+ds-1build4) ... 329s Setting up liblist-utilsby-perl (0.12-2) ... 329s Setting up libyaml-tiny-perl (1.76-1) ... 329s Setting up libjbig0:amd64 (2.1-6.1ubuntu2) ... 329s Setting up octave-common (9.4.0-1) ... 329s Setting up libregexp-common-perl (2024080801-1) ... 329s Setting up libpcre2-16-0:amd64 (10.45-1) ... 329s Setting up libaec0:amd64 (1.1.3-1) ... 329s Setting up libnet-netmask-perl (2.0002-2) ... 329s Setting up libopengl0:amd64 (1.7.0-1build1) ... 329s Setting up libsub-install-perl (0.929-1) ... 329s Setting up libxcb-util1:amd64 (0.4.1-1) ... 329s Setting up libpsl-dev:amd64 (0.21.2-1.1build1) ... 329s Setting up libxxf86vm1:amd64 (1:1.1.4-1build4) ... 329s Setting up libindirect-perl (0.39-2build5) ... 329s Setting up libxcb-xkb1:amd64 (1.17.0-2) ... 329s Setting up libxcb-image0:amd64 (0.4.0-2build1) ... 329s Setting up libnumber-compare-perl (0.03-3) ... 329s Setting up libxcb-present0:amd64 (1.17.0-2) ... 329s Setting up liberror-perl (0.17030-1) ... 329s Setting up libasound2-data (1.2.13-1build1) ... 329s Setting up patchutils (0.4.2-1build3) ... 329s Setting up tex-common (6.19) ... 329s update-language: texlive-base not installed and configured, doing nothing! 329s Setting up libjson-maybexs-perl (1.004008-1) ... 329s Setting up libxml-sax-base-perl (1.09-3) ... 329s Setting up libio-string-perl (1.08-4) ... 329s Setting up libboolean-perl (0.46-3) ... 329s Setting up libnetaddr-ip-perl (4.079+dfsg-2build5) ... 329s Setting up xtrans-dev (1.4.0-1) ... 329s Setting up libfontenc1:amd64 (1:1.1.8-1build1) ... 329s Setting up autotools-dev (20220109.1) ... 329s Setting up libblas3:amd64 (3.12.1-2) ... 329s update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode 329s Setting up libclass-data-inheritable-perl (0.10-1) ... 329s Setting up libunbound8:amd64 (1.22.0-1ubuntu1) ... 329s Setting up libpkgconf3:amd64 (1.8.1-4) ... 329s Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3ubuntu1) ... 329s Setting up libalgorithm-c3-perl (0.11-2) ... 329s Setting up libasound2t64:amd64 (1.2.13-1build1) ... 329s Setting up liblog-log4perl-perl (1.57-1) ... 329s Setting up libtext-reform-perl (1.20-5) ... 329s Setting up libgnutls-dane0t64:amd64 (3.8.9-2ubuntu2) ... 329s Setting up libfile-find-rule-perl (0.34-3) ... 329s Setting up libxfixes3:amd64 (1:6.0.0-2build1) ... 329s Setting up libxcb-sync1:amd64 (1.17.0-2) ... 329s Setting up libipc-system-simple-perl (1.30-2) ... 329s Setting up libio-tiecombine-perl (1.005-3) ... 329s Setting up libnet-domain-tld-perl (1.75-4) ... 329s Setting up libgssrpc4t64:amd64 (1.21.3-4ubuntu2) ... 329s Setting up libperlio-utf8-strict-perl (0.010-1build4) ... 329s Setting up libldap-dev:amd64 (2.6.9+dfsg-1~exp2ubuntu1) ... 329s Setting up aglfn (1.7+git20191031.4036a9c-2) ... 329s Setting up libxcb-cursor0:amd64 (0.1.5-1) ... 329s Setting up lzip (1.25-2) ... 329s update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip (lzip) in auto mode 329s update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip-compressor (lzip-compressor) in auto mode 329s update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip-decompressor (lzip-decompressor) in auto mode 329s Setting up libavahi-common-data:amd64 (0.8-16ubuntu1) ... 329s Setting up libopus0:amd64 (1.5.2-2) ... 329s Setting up t1utils (1.41-4build3) ... 329s Setting up libquadmath0:amd64 (15-20250222-0ubuntu1) ... 329s Setting up libxinerama1:amd64 (2:1.1.4-3build1) ... 329s Setting up diffstat (1.67-1) ... 329s Setting up libimagequant0:amd64 (2.18.0-1build1) ... 329s Setting up comerr-dev:amd64 (2.1-1.47.2-1ubuntu1) ... 329s Setting up libxkbcommon-x11-0:amd64 (1.7.0-2) ... 329s Setting up fonts-dejavu-mono (2.37-8) ... 329s Setting up libssl-dev:amd64 (3.4.1-1ubuntu1) ... 329s Setting up libmpc3:amd64 (1.3.1-1build2) ... 329s Setting up libvorbis0a:amd64 (1.3.7-2) ... 329s Setting up libvariable-magic-perl (0.64-1build1) ... 329s Setting up libio-html-perl (1.004-3) ... 329s Setting up libxrandr2:amd64 (2:1.5.4-1) ... 329s Setting up libtext-template-perl (1.61-1) ... 329s Setting up libpod-parser-perl (1.67-1) ... 329s Setting up autopoint (0.23.1-1) ... 329s Setting up libb-hooks-op-check-perl:amd64 (0.22-3build2) ... 329s Setting up fonts-dejavu-core (2.37-8) ... 329s Setting up liblist-moreutils-xs-perl (0.430-4build1) ... 329s Setting up pkgconf-bin (1.8.1-4) ... 329s Setting up libjpeg-turbo8:amd64 (2.1.5-3ubuntu2) ... 329s Setting up libqscintilla2-qt6-l10n (2.14.1+dfsg-1build4) ... 329s Setting up libltdl7:amd64 (2.5.4-4) ... 329s Setting up libidn2-dev:amd64 (2.3.7-2build2) ... 329s Setting up libfftw3-double3:amd64 (3.3.10-2fakesync1build1) ... 329s Setting up libparams-util-perl (1.102-3build1) ... 329s Setting up libgfortran5:amd64 (15-20250222-0ubuntu1) ... 329s Setting up libvulkan1:amd64 (1.4.304.0-1) ... 329s Setting up libtime-duration-perl (1.21-2) ... 329s Setting up autoconf (2.72-3ubuntu1) ... 329s Setting up libtext-xslate-perl:amd64 (3.5.9-2build1) ... 329s Setting up libsub-exporter-progressive-perl (0.001013-3) ... 329s Setting up libwebp7:amd64 (1.5.0-0.1) ... 329s Setting up libarray-intspan-perl (2.004-2) ... 329s Setting up libcapture-tiny-perl (0.50-1) ... 329s Setting up libtimedate-perl (2.3300-2) ... 329s Setting up libexporter-lite-perl (0.09-2) ... 329s Setting up libubsan1:amd64 (15-20250222-0ubuntu1) ... 329s Setting up libsub-name-perl:amd64 (0.28-1) ... 329s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 329s Setting up dwz (0.15-1build6) ... 329s Setting up libdata-validate-domain-perl (0.15-1) ... 329s Setting up libproc-processtable-perl:amd64 (0.636-1build4) ... 329s Setting up libparse-recdescent-perl (1.967015+dfsg-4) ... 329s Setting up libmtdev1t64:amd64 (1.1.7-1) ... 329s Setting up libduktape207:amd64 (2.7.0+tests-0ubuntu3) ... 329s Setting up libxshmfence1:amd64 (1.3-1build5) ... 329s Setting up libhwasan0:amd64 (15-20250222-0ubuntu1) ... 329s Setting up libxcb-randr0:amd64 (1.17.0-2) ... 329s Setting up libpath-tiny-perl (0.146-1) ... 329s Setting up libasan8:amd64 (15-20250222-0ubuntu1) ... 329s Setting up lzop (1.04-2build3) ... 329s Setting up libjson-perl (4.10000-1) ... 329s Setting up liblog-any-adapter-screen-perl (0.141-1) ... 329s Setting up librole-tiny-perl (2.002004-1) ... 329s Setting up debugedit (1:5.1-2) ... 329s Setting up libipc-run3-perl (0.049-1) ... 329s Setting up libmd4c0:amd64 (0.5.2-2) ... 329s Setting up libregexp-wildcards-perl (1.05-3) ... 329s Setting up libmousex-strictconstructor-perl (0.02-3) ... 329s Setting up libfile-sharedir-perl (1.118-3) ... 329s Setting up libsub-uplevel-perl (0.2800-3) ... 329s Setting up libsuitesparseconfig7:amd64 (1:7.8.3+dfsg-3) ... 329s Setting up liblua5.4-0:amd64 (5.4.7-1) ... 329s Setting up libaliased-perl (0.34-3) ... 329s Setting up libharfbuzz0b:amd64 (10.2.0-1) ... 329s Setting up libthai-data (0.1.29-2build1) ... 329s Setting up xorg-sgml-doctools (1:1.11-1.1) ... 329s Setting up libstrictures-perl (2.000006-1) ... 329s Setting up libsub-quote-perl (2.006008-1ubuntu1) ... 329s Setting up libdevel-stacktrace-perl (2.0500-1) ... 329s Setting up libclass-xsaccessor-perl (1.19-4build6) ... 329s Setting up libtext-autoformat-perl (1.750000-2) ... 329s Setting up libglu1-mesa:amd64 (9.0.2-1.1build1) ... 329s Setting up libflac12t64:amd64 (1.4.3+ds-4) ... 329s Setting up libtoml-tiny-perl (0.19-1) ... 329s Setting up libstemmer0d:amd64 (2.2.0-4build1) ... 329s Setting up libxkbfile1:amd64 (1:1.1.0-1build4) ... 329s Setting up libsort-versions-perl (1.62-3) ... 329s Setting up libtsan2:amd64 (15-20250222-0ubuntu1) ... 329s Setting up libexporter-tiny-perl (1.006002-1) ... 329s Setting up libterm-readkey-perl (2.38-2build5) ... 329s Setting up libisl23:amd64 (0.27-1) ... 329s Setting up libtext-unidecode-perl (1.30-3) ... 329s Setting up libde265-0:amd64 (1.0.15-1build5) ... 329s Setting up libfont-ttf-perl (1.06-2) ... 329s Setting up libfile-homedir-perl (1.006-2) ... 329s Setting up libsamplerate0:amd64 (0.2.2-4build1) ... 329s Setting up libtasn1-6-dev:amd64 (4.20.0-2) ... 329s Setting up libwebpmux3:amd64 (1.5.0-0.1) ... 329s Setting up libtext-levenshteinxs-perl (0.03-5build5) ... 329s Setting up libperlio-gzip-perl (0.20-1build5) ... 329s Setting up libjxl0.11:amd64 (0.11.1-1) ... 329s Setting up libxfont2:amd64 (1:2.0.6-1build1) ... 329s Setting up libhtml-html5-entities-perl (0.004-3) ... 329s Setting up libtext-levenshtein-damerau-perl (0.41-3) ... 329s Setting up libsereal-decoder-perl (5.004+ds-1build4) ... 329s Setting up libmarkdown2:amd64 (2.2.7-2.1) ... 329s Setting up libcc1-0:amd64 (15-20250222-0ubuntu1) ... 329s Setting up liburi-perl (5.30-1) ... 329s Setting up libnet-ipv6addr-perl (1.02-1) ... 329s Setting up libbrotli-dev:amd64 (1.1.0-2build4) ... 329s Setting up liblsan0:amd64 (15-20250222-0ubuntu1) ... 329s Setting up libp11-kit-dev:amd64 (0.25.5-2ubuntu3) ... 329s Setting up libmp3lame0:amd64 (3.100-6build1) ... 329s Setting up libblas-dev:amd64 (3.12.1-2) ... 329s update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so to provide /usr/lib/x86_64-linux-gnu/libblas.so (libblas.so-x86_64-linux-gnu) in auto mode 329s Setting up libsz2:amd64 (1.1.3-1) ... 329s Setting up libitm1:amd64 (15-20250222-0ubuntu1) ... 329s Setting up libvorbisenc2:amd64 (1.3.7-2) ... 329s Setting up libkadm5clnt-mit12:amd64 (1.21.3-4ubuntu2) ... 329s Setting up libdata-validate-ip-perl (0.31-1) ... 329s Setting up libwacom-common (2.14.0-1) ... 329s Setting up libmousex-nativetraits-perl (1.09-3) ... 329s Setting up libemail-address-xs-perl (1.05-1build5) ... 329s Setting up libwayland-client0:amd64 (1.23.1-3) ... 329s Setting up libnet-ssleay-perl:amd64 (1.94-3) ... 329s Setting up libjpeg8:amd64 (8c-2ubuntu11) ... 329s Setting up automake (1:1.17-3ubuntu1) ... 329s update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode 329s Setting up libb2-1:amd64 (0.98.1-1.1build1) ... 329s Setting up x11proto-dev (2024.1-1) ... 329s Setting up libfile-stripnondeterminism-perl (1.14.1-2) ... 329s Setting up gnuplot-data (6.0.2+dfsg1-1) ... 329s Setting up libice6:amd64 (2:1.1.1-1) ... 329s Setting up libqt6core6t64:amd64 (6.8.2+dfsg-5) ... 329s Setting up libhttp-date-perl (6.06-1) ... 329s Setting up mesa-libgallium:amd64 (25.0.1-2ubuntu1) ... 329s Setting up libjpeg-turbo8-dev:amd64 (2.1.5-3ubuntu2) ... 329s Setting up liblapack3:amd64 (3.12.1-2) ... 329s update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode 329s Setting up libproxy1v5:amd64 (0.5.9-1) ... 329s Setting up libfile-basedir-perl (0.09-2) ... 329s Setting up gettext (0.23.1-1) ... 329s Setting up libarpack2t64:amd64 (3.9.1-4) ... 329s Setting up libfftw3-single3:amd64 (3.3.10-2fakesync1build1) ... 329s Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3ubuntu1) ... 329s Setting up libamd3:amd64 (1:7.8.3+dfsg-3) ... 329s Setting up libfile-listing-perl (6.16-1) ... 329s Setting up libxau-dev:amd64 (1:1.0.11-1) ... 329s Setting up nettle-dev:amd64 (3.10.1-1) ... 329s Setting up libkdb5-10t64:amd64 (1.21.3-4ubuntu2) ... 329s Setting up libgbm1:amd64 (25.0.1-2ubuntu1) ... 329s Setting up libcolamd3:amd64 (1:7.8.3+dfsg-3) ... 329s Setting up libwacom9:amd64 (2.14.0-1) ... 329s Setting up fontconfig-config (2.15.0-2ubuntu1) ... 330s Setting up liblist-moreutils-perl (0.430-2) ... 330s Setting up libxcursor1:amd64 (1:1.2.3-1) ... 330s Setting up libpod-constants-perl (0.19-2) ... 330s Setting up libgl1-mesa-dri:amd64 (25.0.1-2ubuntu1) ... 330s Setting up libhash-merge-perl (0.302-1) ... 330s Setting up libsoftware-copyright-perl (0.014-1) ... 330s Setting up libaec-dev:amd64 (1.1.3-1) ... 330s Setting up libavahi-common3:amd64 (0.8-16ubuntu1) ... 330s Setting up libcxsparse4:amd64 (1:7.8.3+dfsg-3) ... 330s Setting up libfftw3-long3:amd64 (3.3.10-2fakesync1build1) ... 330s Setting up libnet-http-perl (6.23-1) ... 330s Setting up libpath-iterator-rule-perl (1.015-2) ... 330s Setting up libtext-markdown-discount-perl (0.18-1) ... 330s Setting up libappstream5:amd64 (1.0.4-1) ... 330s Setting up libexception-class-perl (1.45-1) ... 330s Setting up libclass-c3-perl (0.35-2) ... 330s Setting up libqrupdate1:amd64 (1.1.5-1) ... 330s Setting up libdevel-callchecker-perl:amd64 (0.009-1build1) ... 330s Setting up libxml-sax-perl (1.02+dfsg-4) ... 330s update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... 330s update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... 330s Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version 330s Setting up libcamd3:amd64 (1:7.8.3+dfsg-3) ... 330s Setting up pkgconf:amd64 (1.8.1-4) ... 330s Setting up libinput-bin (1.27.1-1) ... 330s Setting up libxs-parse-sublike-perl:amd64 (0.37-1) ... 330s Setting up intltool-debian (0.35.0+20060710.6) ... 330s Setting up libthai0:amd64 (0.1.29-2build1) ... 330s Setting up libxdmcp-dev:amd64 (1:1.1.5-1) ... 330s Setting up libegl-mesa0:amd64 (25.0.1-2ubuntu1) ... 330s Setting up libdata-validate-uri-perl (0.07-3) ... 330s Setting up libxs-parse-keyword-perl (0.48-2) ... 330s Setting up libtest-exception-perl (0.43-3) ... 330s Setting up appstream (1.0.4-1) ... 331s ✔ Metadata cache was updated successfully. 331s Setting up libqt6xml6:amd64 (6.8.2+dfsg-5) ... 331s Setting up libglpk40:amd64 (5.0-1build2) ... 331s Setting up libqt6sql6:amd64 (6.8.2+dfsg-5) ... 331s Setting up libstring-copyright-perl (0.003014-1) ... 331s Setting up libraqm0:amd64 (0.10.2-1) ... 331s Setting up libfftw3-quad3:amd64 (3.3.10-2fakesync1build1) ... 331s Setting up liblapack-dev:amd64 (3.12.1-2) ... 331s update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so to provide /usr/lib/x86_64-linux-gnu/liblapack.so (liblapack.so-x86_64-linux-gnu) in auto mode 331s Setting up libdata-optlist-perl (0.114-1) ... 331s Setting up cpp-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 331s Setting up libssh2-1-dev:amd64 (1.11.1-1) ... 331s Setting up cpp-14 (14.2.0-17ubuntu3) ... 331s Setting up libccolamd3:amd64 (1:7.8.3+dfsg-3) ... 331s Setting up libxml-libxml-perl (2.0207+dfsg+really+2.0134-5build1) ... 331s update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... 331s update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... 331s update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... 331s Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version 331s Setting up dh-strip-nondeterminism (1.14.1-2) ... 331s Setting up libwww-robotrules-perl (6.02-1) ... 331s Setting up libsyntax-keyword-try-perl (0.30-1) ... 331s Setting up libjack-jackd2-0:amd64 (1.9.22~dfsg-4) ... 331s Setting up libhdf5-310:amd64 (1.14.5+repack-3) ... 331s Setting up libtiff6:amd64 (4.5.1+git230720-4ubuntu4) ... 331s Setting up libhtml-parser-perl:amd64 (3.83-1build1) ... 331s Setting up libkadm5srv-mit12:amd64 (1.21.3-4ubuntu2) ... 331s Setting up libegl1:amd64 (1.7.0-1build1) ... 331s Setting up libqt6core5compat6:amd64 (6.8.2-3) ... 331s Setting up libfontconfig1:amd64 (2.15.0-2ubuntu1) ... 331s Setting up libsndfile1:amd64 (1.2.2-2) ... 331s Setting up libmro-compat-perl (0.15-2) ... 331s Setting up libgcc-14-dev:amd64 (14.2.0-17ubuntu3) ... 331s Setting up libjpeg8-dev:amd64 (8c-2ubuntu11) ... 331s Setting up libhdf5-fortran-310:amd64 (1.14.5+repack-3) ... 331s Setting up libstdc++-14-dev:amd64 (14.2.0-17ubuntu3) ... 331s Setting up libsm6:amd64 (2:1.2.4-1) ... 331s Setting up libavahi-client3:amd64 (0.8-16ubuntu1) ... 331s Setting up libio-socket-ssl-perl (2.089-1) ... 331s Setting up libsub-exporter-perl (0.990-1) ... 331s Setting up libqt6dbus6:amd64 (6.8.2+dfsg-5) ... 331s Setting up libhttp-message-perl (7.00-2ubuntu1) ... 331s Setting up libhtml-form-perl (6.12-1) ... 331s Setting up krb5-multidev:amd64 (1.21.3-4ubuntu2) ... 331s Setting up libhdf5-cpp-310:amd64 (1.14.5+repack-3) ... 331s Setting up cpp-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 331s Setting up libgfortran-14-dev:amd64 (14.2.0-17ubuntu3) ... 331s Setting up libiterator-perl (0.03+ds1-2) ... 331s Setting up libgnutls28-dev:amd64 (3.8.9-2ubuntu2) ... 331s Setting up libinput10:amd64 (1.27.1-1) ... 331s Setting up libnghttp2-dev:amd64 (1.64.0-1) ... 331s Setting up libhdf5-hl-310:amd64 (1.14.5+repack-3) ... 331s Setting up libportaudio2:amd64 (19.6.0-1.2build3) ... 331s Setting up libhttp-negotiate-perl (6.01-2) ... 331s Setting up fontconfig (2.15.0-2ubuntu1) ... 333s Regenerating fonts cache... done. 333s Setting up libcarp-assert-more-perl (2.8.0-1) ... 333s Setting up libcholmod5:amd64 (1:7.8.3+dfsg-3) ... 333s Setting up libxft2:amd64 (2.3.6-1build1) ... 333s Setting up libglx-mesa0:amd64 (25.0.1-2ubuntu1) ... 333s Setting up libxcb1-dev:amd64 (1.17.0-2) ... 333s Setting up libiterator-util-perl (0.02+ds1-2) ... 333s Setting up libglx0:amd64 (1.7.0-1build1) ... 333s Setting up libhttp-cookies-perl (6.11-1) ... 333s Setting up libspqr4:amd64 (1:7.8.3+dfsg-3) ... 333s Setting up libfftw3-bin (3.3.10-2fakesync1build1) ... 333s Setting up po-debconf (1.0.21+nmu1) ... 333s Setting up libhtml-tree-perl (5.07-3) ... 333s Setting up libparams-classify-perl:amd64 (0.015-2build6) ... 333s Setting up libpango-1.0-0:amd64 (1.56.2-1) ... 333s Setting up libcgi-pm-perl (4.67-1) ... 333s Setting up libjpeg-dev:amd64 (8c-2ubuntu11) ... 333s Setting up libx11-dev:amd64 (2:1.8.10-2) ... 333s Setting up libcairo2:amd64 (1.18.2-2) ... 333s Setting up libobject-pad-perl (0.820-1) ... 333s Setting up libkrb5-dev:amd64 (1.21.3-4ubuntu2) ... 333s Setting up libgl1:amd64 (1.7.0-1build1) ... 333s Setting up libqt6gui6:amd64 (6.8.2+dfsg-5) ... 333s Setting up libnet-smtp-ssl-perl (1.04-2) ... 333s Setting up libmodule-runtime-perl (0.016-2) ... 333s Setting up libmailtools-perl (2.22-1) ... 333s Setting up libconfig-model-perl (2.155-1) ... 333s Setting up libxt6t64:amd64 (1:1.2.1-1.2build1) ... 333s Setting up librtmp-dev:amd64 (2.4+20151223.gitfa8646d.1-2build7) ... 333s Setting up texinfo (7.1.1-1) ... 333s Setting up libumfpack6:amd64 (1:7.8.3+dfsg-3) ... 333s Setting up libconst-fast-perl (0.014-2) ... 333s Setting up libqt6network6:amd64 (6.8.2+dfsg-5) ... 333s Setting up cpp (4:14.2.0-1ubuntu1) ... 333s Setting up libdata-section-perl (0.200008-1) ... 333s Setting up libglx-dev:amd64 (1.7.0-1build1) ... 333s Setting up gcc-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 333s Setting up libpangoft2-1.0-0:amd64 (1.56.2-1) ... 333s Setting up libdata-dpath-perl (0.60-1) ... 333s Setting up libfltk1.3t64:amd64 (1.3.8-6.1build2) ... 333s Setting up libfftw3-dev:amd64 (3.3.10-2fakesync1build1) ... 333s Setting up libcups2t64:amd64 (2.4.11-0ubuntu2) ... 333s Setting up libgl-dev:amd64 (1.7.0-1build1) ... 333s Setting up libstring-rewriteprefix-perl (0.009-1) ... 333s Setting up libpangocairo-1.0-0:amd64 (1.56.2-1) ... 333s Setting up libhdf5-hl-cpp-310:amd64 (1.14.5+repack-3) ... 333s Setting up libconfig-model-backend-yaml-perl (2.134-2) ... 333s Setting up libhdf5-hl-fortran-310:amd64 (1.14.5+repack-3) ... 333s Setting up libxmu6:amd64 (2:1.1.3-3build2) ... 333s Setting up gcc-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 333s Setting up libmodule-implementation-perl (0.09-2) ... 333s Setting up libpackage-stash-perl (0.40-1) ... 333s Setting up libimport-into-perl (1.002005-2) ... 333s Setting up libmoo-perl (2.005005-1) ... 333s Setting up libqt6opengl6:amd64 (6.8.2+dfsg-5) ... 333s Setting up liblist-someutils-perl (0.59-1) ... 333s Setting up libxaw7:amd64 (2:1.0.16-1) ... 333s Setting up libmime-tools-perl (5.515-1) ... 333s Setting up libsoftware-license-perl (0.104006-1) ... 333s Setting up libclass-load-perl (0.25-2) ... 333s Setting up libgl2ps1.4 (1.4.2+dfsg1-2build1) ... 333s Setting up gcc-14 (14.2.0-17ubuntu3) ... 333s Setting up gfortran-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 333s Setting up libqt6widgets6:amd64 (6.8.2+dfsg-5) ... 333s Setting up libfltk-gl1.3t64:amd64 (1.3.8-6.1build2) ... 333s Setting up libcurl4-openssl-dev:amd64 (8.12.1-3ubuntu1) ... 333s Setting up libhdf5-dev (1.14.5+repack-3) ... 333s update-alternatives: using /usr/lib/x86_64-linux-gnu/pkgconfig/hdf5-serial.pc to provide /usr/lib/x86_64-linux-gnu/pkgconfig/hdf5.pc (hdf5.pc) in auto mode 333s Setting up g++-14-x86-64-linux-gnu (14.2.0-17ubuntu3) ... 333s Setting up g++-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 333s Setting up g++-14 (14.2.0-17ubuntu3) ... 333s Setting up libmoox-aliases-perl (0.001006-2) ... 333s Setting up gfortran-14 (14.2.0-17ubuntu3) ... 333s Setting up libparams-validate-perl:amd64 (1.31-2build4) ... 333s Setting up libqt6openglwidgets6:amd64 (6.8.2+dfsg-5) ... 333s Setting up libb-hooks-endofscope-perl (0.28-1) ... 333s Setting up libqt6printsupport6:amd64 (6.8.2+dfsg-5) ... 333s Setting up libtool (2.5.4-4) ... 333s Setting up libsoftware-licensemoreutils-perl (1.009-1) ... 333s Setting up x11-xkb-utils (7.7+9) ... 333s Setting up libqt6help6:amd64 (6.8.2-3) ... 333s Setting up libqscintilla2-qt6-15:amd64 (2.14.1+dfsg-1build4) ... 333s Setting up gfortran-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 333s Setting up gcc (4:14.2.0-1ubuntu1) ... 333s Setting up dh-autoreconf (20) ... 333s Setting up libnamespace-clean-perl (0.27-2) ... 333s Setting up libstring-license-perl (0.0.11-1ubuntu1) ... 333s Setting up libgetopt-long-descriptive-perl (0.116-2) ... 333s Setting up g++ (4:14.2.0-1ubuntu1) ... 333s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 333s Setting up xserver-common (2:21.1.16-1ubuntu1) ... 333s Setting up licensecheck (3.3.9-1ubuntu1) ... 333s Setting up libapp-cmd-perl (0.337-2) ... 333s Setting up xvfb (2:21.1.16-1ubuntu1) ... 333s Setting up debhelper (13.24.1ubuntu2) ... 333s Setting up gfortran (4:14.2.0-1ubuntu1) ... 333s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode 333s update-alternatives: warning: skip creation of /usr/share/man/man1/f95.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f95) doesn't exist 333s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode 333s update-alternatives: warning: skip creation of /usr/share/man/man1/f77.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f77) doesn't exist 333s Setting up cme (1.041-1) ... 333s Setting up libheif-plugin-aomdec:amd64 (1.19.7-1) ... 333s Setting up libwww-perl (6.78-1) ... 333s Setting up libheif1:amd64 (1.19.7-1) ... 333s Setting up libparse-debcontrol-perl (2.005-6) ... 333s Setting up libhtml-tokeparser-simple-perl (3.16-4) ... 333s Setting up libwww-mechanize-perl (2.19-1ubuntu1) ... 333s Setting up libgd3:amd64 (2.3.3-12ubuntu3) ... 333s Setting up gnuplot-nox (6.0.2+dfsg1-1) ... 333s update-alternatives: using /usr/bin/gnuplot-nox to provide /usr/bin/gnuplot (gnuplot) in auto mode 333s Setting up liblwp-protocol-https-perl (6.14-1) ... 333s Setting up libheif-plugin-libde265:amd64 (1.19.7-1) ... 333s Setting up libgraphicsmagick-q16-3t64 (1.4+really1.3.45+hg17689-1) ... 333s Setting up lintian (2.121.1+nmu1ubuntu2) ... 333s Setting up libgraphicsmagick++-q16-12t64 (1.4+really1.3.45+hg17689-1) ... 333s Setting up libconfig-model-dpkg-perl (3.010) ... 333s Setting up dh-octave-autopkgtest (1.8.0) ... 333s Setting up octave (9.4.0-1) ... 334s Setting up octave-dev (9.4.0-1) ... 334s Setting up octave-image:amd64 (2.14.0-5build1) ... 334s Setting up dh-octave (1.8.0) ... 334s Processing triggers for libc-bin (2.41-1ubuntu2) ... 334s Processing triggers for man-db (2.13.0-1) ... 337s Processing triggers for udev (257.3-1ubuntu3) ... 338s Processing triggers for install-info (7.1.1-1) ... 340s autopkgtest [20:58:17]: test command1: DH_OCTAVE_TEST_ENV="xvfb-run -a" /usr/bin/dh_octave_check --use-installed-package 340s autopkgtest [20:58:17]: test command1: [----------------------- 340s Checking package... 341s Run the unit tests... 341s Checking m files ... 341s [inst/imregionalmax.m] 341s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imregionalmax.m 341s ***** test 341s a = [ 341s 7 3 9 3 10 3 341s 4 2 3 10 1 3 341s 1 4 6 9 4 10 341s 8 7 9 3 4 8 341s 5 9 3 3 8 9 341s 3 6 9 4 1 10]; 341s 341s a4 = [ 341s 1 0 1 0 1 0 341s 0 0 0 1 0 0 341s 0 0 0 0 0 1 341s 1 0 1 0 0 0 341s 0 1 0 0 0 0 341s 0 0 1 0 0 1]; 341s assert (imregionalmax (a, 4), logical (a4)) 341s a8 = [ 341s 1 0 0 0 1 0 341s 0 0 0 1 0 0 341s 0 0 0 0 0 1 341s 0 0 0 0 0 0 341s 0 0 0 0 0 0 341s 0 0 0 0 0 1]; 341s assert (imregionalmax (a, 8), logical (a8)) 341s assert (imregionalmax (a), logical (a8)) 341s ***** test 341s ## test float input images 341s im0 = peaks (); 341s im1 = im0 ./ 100; 341s max_pos_expected = [1000; 1214; 1691; 2353]; 341s max0 = imregionalmax (im0); 341s max0_pos = find (max0); 341s max1 = imregionalmax (im1); 341s assert (max1, max0) 341s assert (max0_pos, max_pos_expected) 341s 2 tests, 2 passed, 0 known failure, 0 skipped 341s [inst/bwmorph.m] 341s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/bwmorph.m 341s ***** demo 341s bwmorph (true (11), "shrink", Inf) 341s # Should return 0 matrix with 1 pixel set to 1 at (6,6) 341s ***** test 341s slBW = logical ([ 0 0 0 0 0 0 0 341s 0 1 0 0 0 0 0 341s 0 0 1 1 0 0 0 341s 0 0 1 1 0 0 0 341s 0 0 1 1 1 0 0 341s 0 0 1 1 1 0 0 341s 0 1 1 1 1 1 0 341s 0 1 1 1 1 1 0 341s 0 1 1 1 1 1 0 341s 0 1 1 1 1 1 0 341s 0 1 1 1 1 1 0 341s 0 0 0 0 0 0 0]); 341s 341s rslBW = logical ([ 0 0 0 0 0 0 0 341s 0 1 0 0 0 0 0 341s 0 0 1 1 0 0 0 341s 0 0 1 1 0 0 0 341s 0 0 0 0 0 0 0 341s 0 0 0 1 0 0 0 341s 0 0 0 1 0 0 0 341s 0 0 0 0 0 0 0 341s 0 0 0 1 0 0 0 341s 0 0 0 0 0 0 0 341s 0 0 0 0 0 0 0 341s 0 0 0 0 0 0 0]); 341s assert (bwmorph (slBW, "skel-lantuejoul", 1), [rslBW(1:5,:); false(7, 7)]); 341s assert (bwmorph (slBW, "skel-lantuejoul", 2), [rslBW(1:8,:); false(4, 7)]); 341s assert (bwmorph (slBW, "skel-lantuejoul", 3), rslBW); 341s assert (bwmorph (slBW, "skel-lantuejoul", Inf), rslBW); 341s ***** test 341s bw = [ 341s 0 1 1 1 1 1 341s 0 1 1 1 1 1 341s 0 1 1 1 1 1 341s 1 1 1 1 1 1 341s 1 1 1 1 1 1 341s 1 1 1 1 1 1 341s 1 1 1 1 1 0 341s 1 1 1 1 1 0 341s 1 1 1 1 1 0]; 341s 341s final = logical ([ 341s 0 1 0 0 0 1 341s 0 0 1 0 1 0 341s 0 0 0 1 0 0 341s 0 0 0 1 0 0 341s 0 0 1 1 0 0 341s 0 0 1 0 0 0 341s 0 0 1 0 0 0 341s 0 1 0 1 0 0 341s 1 0 0 0 1 0]); 341s assert (bwmorph (bw, "skel", Inf), final) 341s assert (bwmorph (bw, "skel", 3), final) 341s ***** error bwmorph ("not a matrix", "dilate") 341s ***** assert (bwmorph (magic (10), "dilate"), imdilate (logical (magic (10)), ones (3))); 341s ***** test 341s in = logical ([1 1 0 0 1 0 1 0 0 0 1 1 1 0 1 1 0 1 0 0 341s 1 1 1 0 1 0 1 1 1 1 0 1 0 1 0 0 0 0 0 0 341s 0 1 1 1 0 1 1 0 0 0 1 1 0 0 1 1 0 0 1 0 341s 0 0 0 0 0 1 1 1 1 0 0 1 1 1 1 1 1 0 0 1 341s 0 1 0 0 1 1 0 1 1 0 0 0 0 0 1 1 0 0 1 0 341s 0 0 1 1 1 1 1 0 0 1 0 1 1 1 0 0 1 0 0 1 341s 0 1 1 1 1 1 1 0 1 1 1 0 0 0 1 0 0 1 0 0 341s 1 0 1 1 1 0 1 1 0 1 0 0 1 1 1 0 0 1 0 0 341s 1 0 1 1 1 0 1 0 0 1 0 0 1 1 0 0 1 1 1 0 341s 1 0 1 1 1 1 0 0 0 1 0 0 0 0 0 0 1 1 0 0 341s 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 0 1 0 1 1 341s 0 1 0 1 1 0 0 1 1 1 0 0 0 0 0 0 0 1 0 0 341s 0 0 1 1 0 1 1 1 1 0 0 1 0 0 0 0 1 0 1 1 341s 0 0 1 1 0 0 1 1 1 0 0 0 1 1 1 1 0 0 0 0 341s 0 0 1 0 0 0 0 0 0 1 0 0 1 1 1 1 0 0 0 0 341s 0 0 0 0 0 0 1 1 1 0 0 0 1 1 1 1 1 0 0 0 341s 0 1 0 0 0 1 1 0 1 1 0 0 1 1 1 0 1 1 1 1 341s 1 0 0 1 0 1 1 0 1 0 0 0 0 0 0 1 0 1 1 1 341s 0 0 1 1 0 1 1 1 1 0 0 0 0 1 1 0 1 1 1 1 341s 0 1 1 0 0 1 0 0 1 1 0 0 1 0 0 1 0 0 0 1]); 341s se = strel ("arbitrary", ones (3)); 341s 341s assert (bwmorph (in, "dilate"), imdilate (in, se)); 341s assert (bwmorph (in, "dilate", 3), imdilate (imdilate (imdilate (in, se), se), se)); 341s assert (bwmorph (in, "bothat"), imbothat (in, se)); 341s assert (bwmorph (in, "tophat"), imtophat (in, se)); 341s assert (bwmorph (in, "open"), imopen (in, se)); 341s assert (bwmorph (in, "close"), imclose (in, se)); 341s ***** assert (bwmorph ([1 0 0; 1 0 1; 0 0 1], "bridge"), logical ([1 1 0; 1 1 1; 0 1 1])); 341s ***** assert (bwmorph ([0 0 0; 1 0 1; 0 0 1], "clean"), logical ([0 0 0; 0 0 1; 0 0 1])); 341s ***** assert (bwmorph ([0 0 0; 0 1 0; 0 0 0], "clean"), false (3)); 341s ***** assert (bwmorph ([0 1 0; 1 0 0; 0 0 0], "diag"), logical ([1 1 0; 1 1 0; 0 0 0])); 341s ***** test 341s in = logical ([0 1 0 1 0 341s 1 1 1 0 1 341s 1 0 0 1 0 341s 1 1 1 0 1 341s 1 1 1 1 1]); 341s out = logical ([0 1 0 1 0 341s 1 1 1 1 1 341s 1 0 0 1 0 341s 1 1 1 1 1 341s 1 1 1 1 1]); 341s assert (bwmorph (in, "fill"), out); 341s ***** assert (bwmorph ([1 1 1; 0 1 0; 1 1 1], "hbreak"), logical ([1 1 1; 0 0 0; 1 1 1])); 341s ***** test 341s in = logical ([0 1 0 0 0 341s 1 0 0 1 0 341s 1 0 1 0 0 341s 1 1 1 1 1 341s 1 1 1 1 1]); 341s 341s out = logical ([0 1 0 0 0 341s 1 0 0 1 0 341s 1 0 1 0 0 341s 1 1 0 1 1 341s 1 1 1 1 1]); 341s assert (bwmorph (in, "remove"), out); 341s 341s out = logical ([0 1 0 0 0 341s 1 0 0 1 0 341s 1 0 1 0 0 341s 1 1 0 1 1 341s 1 1 1 1 1]); 341s assert (bwmorph (in, "remove", Inf), out); 341s ***** xtest 341s ## tests for spur are failing (matlab incompatible) 341s in = logical ([0 1 0 0 0 341s 1 0 0 1 0 341s 1 0 1 0 0 341s 1 1 1 1 1 341s 1 1 1 1 1]); 341s 341s out = logical ([0 1 0 0 0 341s 1 0 0 0 0 341s 1 0 1 0 0 341s 1 1 1 1 1 341s 1 1 1 1 1]); 341s assert (bwmorph (in, "spur"), out); 341s 341s out = logical ([0 1 0 0 0 341s 1 0 0 0 0 341s 1 0 0 0 0 341s 1 1 1 1 1 341s 1 1 1 1 1]); 341s assert (bwmorph (in, "spur", Inf), out); 341s !!!!! known failure 341s ASSERT errors for: assert (bwmorph (in, "spur"),out) 341s 341s Location | Observed | Expected | Reason 341s (1,2) 0 1 Abs err 1 exceeds tol 0 by 1 341s ***** test 341s bw = false (3, 3); 341s bw(3, 1) = true; 341s out = bwmorph (bw, "thicken", 0); 341s assert (out, bw) 341s ***** test 341s bw = false (8, 7); 341s bw(8, 1) = true; 341s expected = logical ([ 341s 0 0 0 0 0 0 0 341s 1 0 0 0 0 0 0 341s 1 1 0 0 0 0 0 341s 1 1 1 0 0 0 0 341s 1 1 1 1 0 0 0 341s 1 1 1 1 1 0 0 341s 1 1 1 1 1 1 0 341s 1 1 1 1 1 1 1]); 341s out = bwmorph (bw, "thicken", 6); 341s assert (out, expected) 341s ***** test 341s bw = false (8, 7); 341s bw(2, 4) = true; 341s expected = logical ([ 341s 0 0 1 1 1 0 0 341s 0 1 1 1 1 1 0 341s 0 0 1 1 1 0 0 341s 0 0 0 1 0 0 0 341s 0 0 0 0 0 0 0 341s 0 0 0 0 0 0 0 341s 0 0 0 0 0 0 0 341s 0 0 0 0 0 0 0]); 341s out = bwmorph (bw, "thicken", 2); 341s assert (out, expected) 341s ***** test 341s bw = false (8, 7); 341s bw (6, 3) = true ; 341s expected1 = logical ([ 341s 0 0 0 0 0 0 0 341s 0 0 0 0 0 0 0 341s 0 0 0 0 0 0 0 341s 0 0 0 0 0 0 0 341s 0 0 1 0 0 0 0 341s 0 1 1 1 0 0 0 341s 0 0 1 0 0 0 0 341s 0 0 0 0 0 0 0]); 341s expected3 = logical ([ 341s 0 0 0 0 0 0 0 341s 0 0 0 0 0 0 0 341s 0 0 1 0 0 0 0 341s 0 1 1 1 0 0 0 341s 1 1 1 1 1 0 0 341s 1 1 1 1 1 1 0 341s 1 1 1 1 1 0 0 341s 0 1 1 1 0 0 0]); 341s out1 = bwmorph (bw, "thicken", 1); 341s out3 = bwmorph (bw, "thicken", 3); 341s assert (out1, expected1) 341s assert (out3, expected3) 341s ***** test 341s bw = false (10, 10); 341s bw(2, 3) = true; 341s bw(7, 7) = true; 341s out_inf = bwmorph (bw, "thicken", Inf); 341s assert (out_inf(1, 9), false) 341s ***** test 341s bw = false (3, 3); 341s bw(3, 1) = true; 341s out = bwmorph (bw, "thicken", 4); 341s assert (out, true (3, 3)) 341s ***** xtest 341s ## bug #44396 341s in = [ 341s 0 0 0 1 0 341s 1 1 1 1 0 341s 0 0 1 1 0 341s 0 0 1 1 0 341s 0 0 0 1 0]; 341s out = [ 341s 0 0 0 0 0 341s 0 1 1 0 0 341s 0 0 0 1 0 341s 0 0 0 0 0 341s 0 0 0 0 0]; 341s assert (bwmorph (in, "shrink"), logical (out)); 341s !!!!! known failure 341s ASSERT errors for: assert (bwmorph (in, "shrink"),logical (out)) 341s 341s Location | Observed | Expected | Reason 341s (2,4) 1 0 Abs err 1 exceeds tol 0 by 1 341s (3,4) 0 1 Abs err 1 exceeds tol 0 by 1 341s (4,4) 1 0 Abs err 1 exceeds tol 0 by 1 341s (5,4) 1 0 Abs err 1 exceeds tol 0 by 1 341s ***** test 341s H = false (7,7); 341s H(2:3,2:3) = 1; 341s H(5:6,5:6) = 1; 341s T = logical([0 0 0 0 0 0 0; 341s 0 0 0 0 0 0 0; 341s 0 1 0 0 0 0 0; 341s 0 0 0 0 0 0 0; 341s 0 0 0 0 0 0 0; 341s 0 0 0 0 1 0 0; 341s 0 0 0 0 0 0 0]); 341s out = bwmorph (H, "thin", 1); 341s assert (T, out) 341s 341s H(4:6,4:6) = 1; 341s T = logical([0 0 0 0 0 0 0; 341s 0 0 0 0 0 0 0; 341s 0 1 1 0 0 0 0; 341s 0 0 0 1 0 0 0; 341s 0 0 0 0 1 0 0; 341s 0 0 0 0 0 0 0; 341s 0 0 0 0 0 0 0]); 341s out = bwmorph (H, "thin", 1); 341s assert (T, out) 341s 341s H3 = [0 0 0 0 0 0; 341s 0 1 1 1 0 0; 341s 0 1 1 1 0 0; 341s 0 0 0 1 0 1; 341s 0 0 0 0 1 1; 341s 0 0 0 1 1 1]; 341s out3 = bwmorph (H3, "thin", 1); 341s expected3 = logical( 341s [0 0 0 0 0 0; 341s 0 0 0 0 0 0; 341s 0 1 1 0 0 0; 341s 0 0 0 1 0 1; 341s 0 0 0 0 1 0; 341s 0 0 0 1 1 0]); 341s assert (out3, expected3) 341s 341s out33 = bwmorph (H3, "thin", 2); 341s expected33 = logical( 341s [0 0 0 0 0 0; 341s 0 0 0 0 0 0; 341s 0 1 1 0 0 0; 341s 0 0 0 1 0 1; 341s 0 0 0 0 1 0; 341s 0 0 0 1 0 0]); 341s assert (out33, expected33) 341s 341s out333 = bwmorph (H3, "thin", inf); 341s assert (out333, expected33) 341s ***** test 341s in = logical ([ 341s 1 0 0 0 341s 0 1 0 0 341s 0 0 1 0 341s 0 0 0 0]); 341s out = logical ([ 341s 1 0 0 0 341s 0 0 0 0 341s 0 0 1 0 341s 0 0 0 0]); 341s assert (bwmorph (in, "endpoints"), out); 341s 341s A = logical ([0 0 0 0 0; 0 0 1 0 0; 0 1 1 1 0; 0 0 1 0 0; 0 0 0 0 0]); 341s B = logical ([0 0 0 0 0; 0 0 1 0 0; 0 1 0 1 0; 0 0 1 0 0; 0 0 0 0 0]); 341s assert (bwmorph (A, "endpoints"), B); 341s 341s A = logical ([0 0 0 0 0 0 0 0 341s 1 1 0 0 0 0 1 1 341s 0 0 1 1 1 1 0 0 341s 0 0 0 1 1 0 0 0 341s 0 0 1 1 1 1 0 0 341s 0 1 0 0 0 0 1 0 341s 1 0 0 0 0 0 0 1]); 341s B = logical ([0 0 0 0 0 0 0 0 341s 1 0 0 0 0 0 0 1 341s 0 0 0 0 0 0 0 0 341s 0 0 0 1 1 0 0 0 341s 0 0 0 0 0 0 0 0 341s 0 0 0 0 0 0 0 0 341s 1 0 0 0 0 0 0 1]); 341s assert (bwmorph (A, "endpoints"), B); 341s 341s A = logical([0 0 0 0 0; 0 1 1 1 0; 0 1 1 1 0; 0 1 1 1 0; 0 0 0 0 0]); 341s B = logical([0 0 0 0 0; 0 1 1 1 0; 0 1 0 1 0; 0 1 1 1 0; 0 0 0 0 0]); 341s assert (bwmorph (A, "endpoints"), B); 341s assert (bwmorph (B, "endpoints"), zeros (5, "logical")); 341s 341s A = logical([0,0,0,0,0,0,0,0,0,0,0,0,0,0 341s 0,0,1,1,1,1,1,1,1,1,1,1,0,0 341s 0,0,0,0,0,0,0,0,0,0,0,0,0,0]); 341s B = logical([0,0,0,0,0,0,0,0,0,0,0,0,0,0 341s 0,0,1,0,0,0,0,0,0,0,0,1,0,0 341s 0,0,0,0,0,0,0,0,0,0,0,0,0,0]); 341s C = logical([1,0,0,0,0,0,0,0,0,0,0,0,0,1 341s 1,1,0,0,0,0,0,0,0,0,0,0,1,1 341s 1,0,0,0,0,0,0,0,0,0,0,0,0,1]); 341s assert (bwmorph (!A, "endpoints"), C); 341s 22 tests, 20 passed, 2 known failures, 0 skipped 341s [inst/imattributes.m] 341s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imattributes.m 341s ***** shared x, map, img, rgb, bw 341s [x, map] = imread ("default.img"); 341s rgb = ind2rgb (x, map); 341s img = ind2gray (x, map); 341s bw = im2bw (img); 342s ***** test 342s h = imshow (img); 342s a = imattributes (h); 342s assert ([a.("Height (rows)") a.("Width (columns)")], [53 40]); 342s assert (a.Class, "uint8"); 342s assert (a.("Image type"), "intensity"); 342s assert (a.("Minimum intensity"), uint8 (28)); 342s assert (a.("Maximum intensity"), uint8 (250)); 342s warning: using the gnuplot graphics toolkit is discouraged 342s 342s The gnuplot graphics toolkit is not actively maintained and has a number 342s of limitations that are unlikely to be fixed. Communication with gnuplot 342s uses a one-directional pipe and limited information is passed back to the 342s Octave interpreter so most changes made interactively in the plot window 342s will not be reflected in the graphics properties managed by Octave. For 342s example, if the plot window is closed with a mouse click, Octave will not 342s be notified and will not update its internal list of open figure windows. 342s The qt toolkit is recommended instead. 342s ***** xtest 342s h = imshow (rgb); 342s a = imattributes (h); 342s assert ([a.("Height (rows)") a.("Width (columns)")], [53 40]); 342s assert (a.Class, "uint8"); 342s assert (a.("Image type"), "truecolor"); 342s assert (isfield (a, "Minimum intensity"), false); 342s assert (isfield (a, "Maximum intensity"), false); 342s !!!!! known failure 342s ASSERT errors for: assert (a.Class,"uint8") 342s 342s Location | Observed | Expected | Reason 342s [] 'double' 'uint8' Strings don't match 342s ***** test 342s h = imshow (bw); 342s a = imattributes (h); 342s assert ([a.("Height (rows)") a.("Width (columns)")], [53 40]); 342s assert (a.Class, "logical"); 342s assert (a.("Image type"), "binary"); 342s assert (isfield (a, "Minimum intensity"), false); 342s assert (isfield (a, "Maximum intensity"), false); 342s ***** test 342s h = imshow (x, map); 342s a = imattributes (h); 342s assert ([a.("Height (rows)") a.("Width (columns)")], [53 40]); 342s assert (a.Class, "uint8"); 342s assert (a.("Image type"), "indexed"); 342s assert (a.("Minimum intensity"), uint8 (0)); 342s assert (a.("Maximum intensity"), uint8 (55)); 342s ***** test 342s h = imshow (img); 342s a1 = imattributes (); 342s a2 = imattributes (h); 342s assert (a1, a2); 342s 5 tests, 4 passed, 1 known failure, 0 skipped 342s [inst/grayslice.m] 342s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/grayslice.m 342s ***** test 342s expected = uint8 ([0 4 5 5 9]); 342s im = [0 0.45 0.5 0.55 1]; 342s assert (grayslice (im), expected) 342s assert (grayslice (im, 10), expected) 342s assert (grayslice (im, uint8 (10)), expected) 342s assert (grayslice (im, [.1 .2 .3 .4 .5 .6 .7 .8 .9]), expected) 342s ***** test 342s im = [0 0.45 0.5 0.55 1]; 342s assert (grayslice (im, 2), uint8 ([0 0 1 1 1])) 342s assert (grayslice (im, 3), uint8 ([0 1 1 1 2])) 342s assert (grayslice (im, 4), uint8 ([0 1 2 2 3])) 342s assert (grayslice (im, [0 0.5 1]), uint8 ([1 1 2 2 3])) 342s assert (grayslice (im, [0.5 1]), uint8 ([0 0 1 1 2])) 342s assert (grayslice (im, [0.6 1]), uint8 ([0 0 0 0 2])) 342s ***** test 342s im = [0 .55 1]; 342s assert (grayslice (im, 9), uint8 ([0 4 8])) 342s assert (grayslice (im, 9.1), uint8 ([0 5 8])) 342s assert (grayslice (im, 10), uint8 ([0 5 9])) 342s ***** assert (grayslice ([0 .5 1], [0 1 .5]), uint8 ([1 2 3])) 342s ***** test 342s ## 0 > N > 1 values are treated as if they are V and N=2 342s im = [0 .5 .55 .7 1]; 342s assert (grayslice (im, .5), uint8 ([0 1 1 1 1])) 342s assert (grayslice (im, .51), uint8 ([0 0 1 1 1])) 342s assert (grayslice (im, .7), uint8 ([0 0 0 1 1])) 342s assert (grayslice (im, 1), uint8 ([0 0 0 0 0])) 342s assert (grayslice (im, 1.2), uint8 ([0 0 0 0 0])) 342s ***** assert (grayslice ([0 .5 .7 1], [0 .5 1 2]), uint8 ([1 2 2 4])) 342s ***** assert (grayslice ([0 .45 .5 .65 .7 1], [.4 .5 .5 .7 .7 1]), 342s uint8 ([0 1 3 3 5 6])) 342s ***** assert (grayslice ([-.5 .1 .8 1.2], [-1 -.4 .05 .6 .9 1.1 2]), 342s uint8 ([1 3 4 7])) 342s ***** assert (grayslice ([0 .5 1], [-1 .5 1 2]), uint8 ([1 2 4])) 342s ***** assert (grayslice ([-2 -1 .5 1], [-1 .5 1]), uint8 ([0 1 2 3])) 342s ***** test 342s sliced = [ 342s repmat(0, [26 1]) 342s repmat(1, [25 1]) 342s repmat(2, [26 1]) 342s repmat(3, [25 1]) 342s repmat(4, [26 1]) 342s repmat(5, [25 1]) 342s repmat(6, [26 1]) 342s repmat(7, [25 1]) 342s repmat(8, [26 1]) 342s repmat(9, [26 1]) 342s ]; 342s sliced = uint8 (sliced(:).'); 342s assert (grayslice (uint8 (0:255)), sliced) 342s ***** assert (grayslice (uint8 (0:255), 255), uint8 ([0:254 254])) 342s ***** assert (class (grayslice (uint8 (0:255), 256)), "double") 342s ***** xtest 342s assert (grayslice (uint8 (0:255), 256), [1:256]) 342s 342s ## While the above fails, this passes and should continue to do so 342s ## since it's the actual formula in the documentation. 342s assert (grayslice (uint8 (0:255), 256), 342s grayslice (uint8 (0:255), (1:255)./256)) 342s !!!!! known failure 342s ASSERT errors for: assert (grayslice (uint8 (0:255), 256),[1:256]) 342s 342s Location | Observed | Expected | Reason 342s (129) 130 129 Abs err 1 exceeds tol 0 by 1 342s (130) 131 130 Abs err 1 exceeds tol 0 by 1 342s (131) 132 131 Abs err 1 exceeds tol 0 by 1 342s (132) 133 132 Abs err 1 exceeds tol 0 by 1 342s (133) 134 133 Abs err 1 exceeds tol 0 by 1 342s (134) 135 134 Abs err 1 exceeds tol 0 by 1 342s (135) 136 135 Abs err 1 exceeds tol 0 by 1 342s (136) 137 136 Abs err 1 exceeds tol 0 by 1 342s (137) 138 137 Abs err 1 exceeds tol 0 by 1 342s (138) 139 138 Abs err 1 exceeds tol 0 by 1 342s (139) 140 139 Abs err 1 exceeds tol 0 by 1 342s (140) 141 140 Abs err 1 exceeds tol 0 by 1 342s (141) 142 141 Abs err 1 exceeds tol 0 by 1 342s (142) 143 142 Abs err 1 exceeds tol 0 by 1 342s (143) 144 143 Abs err 1 exceeds tol 0 by 1 342s (144) 145 144 Abs err 1 exceeds tol 0 by 1 342s (145) 146 145 Abs err 1 exceeds tol 0 by 1 342s (146) 147 146 Abs err 1 exceeds tol 0 by 1 342s (147) 148 147 Abs err 1 exceeds tol 0 by 1 342s (148) 149 148 Abs err 1 exceeds tol 0 by 1 342s (149) 150 149 Abs err 1 exceeds tol 0 by 1 342s (150) 151 150 Abs err 1 exceeds tol 0 by 1 342s (151) 152 151 Abs err 1 exceeds tol 0 by 1 342s (152) 153 152 Abs err 1 exceeds tol 0 by 1 342s (153) 154 153 Abs err 1 exceeds tol 0 by 1 342s (154) 155 154 Abs err 1 exceeds tol 0 by 1 342s (155) 156 155 Abs err 1 exceeds tol 0 by 1 342s (156) 157 156 Abs err 1 exceeds tol 0 by 1 342s (157) 158 157 Abs err 1 exceeds tol 0 by 1 342s (158) 159 158 Abs err 1 exceeds tol 0 by 1 342s (159) 160 159 Abs err 1 exceeds tol 0 by 1 342s (160) 161 160 Abs err 1 exceeds tol 0 by 1 342s (161) 162 161 Abs err 1 exceeds tol 0 by 1 342s (162) 163 162 Abs err 1 exceeds tol 0 by 1 342s (163) 164 163 Abs err 1 exceeds tol 0 by 1 342s (164) 165 164 Abs err 1 exceeds tol 0 by 1 342s (165) 166 165 Abs err 1 exceeds tol 0 by 1 342s (166) 167 166 Abs err 1 exceeds tol 0 by 1 342s (167) 168 167 Abs err 1 exceeds tol 0 by 1 342s (168) 169 168 Abs err 1 exceeds tol 0 by 1 342s (169) 170 169 Abs err 1 exceeds tol 0 by 1 342s (170) 171 170 Abs err 1 exceeds tol 0 by 1 342s (171) 172 171 Abs err 1 exceeds tol 0 by 1 342s (172) 173 172 Abs err 1 exceeds tol 0 by 1 342s (173) 174 173 Abs err 1 exceeds tol 0 by 1 342s (174) 175 174 Abs err 1 exceeds tol 0 by 1 342s (175) 176 175 Abs err 1 exceeds tol 0 by 1 342s (176) 177 176 Abs err 1 exceeds tol 0 by 1 342s (177) 178 177 Abs err 1 exceeds tol 0 by 1 342s (178) 179 178 Abs err 1 exceeds tol 0 by 1 342s (179) 180 179 Abs err 1 exceeds tol 0 by 1 342s (180) 181 180 Abs err 1 exceeds tol 0 by 1 342s (181) 182 181 Abs err 1 exceeds tol 0 by 1 342s (182) 183 182 Abs err 1 exceeds tol 0 by 1 342s (183) 184 183 Abs err 1 exceeds tol 0 by 1 342s (184) 185 184 Abs err 1 exceeds tol 0 by 1 342s (185) 186 185 Abs err 1 exceeds tol 0 by 1 342s (186) 187 186 Abs err 1 exceeds tol 0 by 1 342s (187) 188 187 Abs err 1 exceeds tol 0 by 1 342s (188) 189 188 Abs err 1 exceeds tol 0 by 1 342s (189) 190 189 Abs err 1 exceeds tol 0 by 1 342s (190) 191 190 Abs err 1 exceeds tol 0 by 1 342s (191) 192 191 Abs err 1 exceeds tol 0 by 1 342s (192) 193 192 Abs err 1 exceeds tol 0 by 1 342s (193) 194 193 Abs err 1 exceeds tol 0 by 1 342s (194) 195 194 Abs err 1 exceeds tol 0 by 1 342s (195) 196 195 Abs err 1 exceeds tol 0 by 1 342s (196) 197 196 Abs err 1 exceeds tol 0 by 1 342s (197) 198 197 Abs err 1 exceeds tol 0 by 1 342s (198) 199 198 Abs err 1 exceeds tol 0 by 1 342s (199) 200 199 Abs err 1 exceeds tol 0 by 1 342s (200) 201 200 Abs err 1 exceeds tol 0 by 1 342s (201) 202 201 Abs err 1 exceeds tol 0 by 1 342s (202) 203 202 Abs err 1 exceeds tol 0 by 1 342s (203) 204 203 Abs err 1 exceeds tol 0 by 1 342s (204) 205 204 Abs err 1 exceeds tol 0 by 1 342s (205) 206 205 Abs err 1 exceeds tol 0 by 1 342s (206) 207 206 Abs err 1 exceeds tol 0 by 1 342s (207) 208 207 Abs err 1 exceeds tol 0 by 1 342s (208) 209 208 Abs err 1 exceeds tol 0 by 1 342s (209) 210 209 Abs err 1 exceeds tol 0 by 1 342s (210) 211 210 Abs err 1 exceeds tol 0 by 1 342s (211) 212 211 Abs err 1 exceeds tol 0 by 1 342s (212) 213 212 Abs err 1 exceeds tol 0 by 1 342s (213) 214 213 Abs err 1 exceeds tol 0 by 1 342s (214) 215 214 Abs err 1 exceeds tol 0 by 1 342s (215) 216 215 Abs err 1 exceeds tol 0 by 1 342s (216) 217 216 Abs err 1 exceeds tol 0 by 1 342s (217) 218 217 Abs err 1 exceeds tol 0 by 1 342s (218) 219 218 Abs err 1 exceeds tol 0 by 1 342s (219) 220 219 Abs err 1 exceeds tol 0 by 1 342s (220) 221 220 Abs err 1 exceeds tol 0 by 1 342s (221) 222 221 Abs err 1 exceeds tol 0 by 1 342s (222) 223 222 Abs err 1 exceeds tol 0 by 1 342s (223) 224 223 Abs err 1 exceeds tol 0 by 1 342s (224) 225 224 Abs err 1 exceeds tol 0 by 1 342s (225) 226 225 Abs err 1 exceeds tol 0 by 1 342s (226) 227 226 Abs err 1 exceeds tol 0 by 1 342s (227) 228 227 Abs err 1 exceeds tol 0 by 1 342s (228) 229 228 Abs err 1 exceeds tol 0 by 1 342s (229) 230 229 Abs err 1 exceeds tol 0 by 1 342s (230) 231 230 Abs err 1 exceeds tol 0 by 1 342s (231) 232 231 Abs err 1 exceeds tol 0 by 1 342s (232) 233 232 Abs err 1 exceeds tol 0 by 1 342s (233) 234 233 Abs err 1 exceeds tol 0 by 1 342s (234) 235 234 Abs err 1 exceeds tol 0 by 1 342s (235) 236 235 Abs err 1 exceeds tol 0 by 1 342s (236) 237 236 Abs err 1 exceeds tol 0 by 1 342s (237) 238 237 Abs err 1 exceeds tol 0 by 1 342s (238) 239 238 Abs err 1 exceeds tol 0 by 1 342s (239) 240 239 Abs err 1 exceeds tol 0 by 1 342s (240) 241 240 Abs err 1 exceeds tol 0 by 1 342s (241) 242 241 Abs err 1 exceeds tol 0 by 1 342s (242) 243 242 Abs err 1 exceeds tol 0 by 1 342s (243) 244 243 Abs err 1 exceeds tol 0 by 1 342s (244) 245 244 Abs err 1 exceeds tol 0 by 1 342s (245) 246 245 Abs err 1 exceeds tol 0 by 1 342s (246) 247 246 Abs err 1 exceeds tol 0 by 1 342s (247) 248 247 Abs err 1 exceeds tol 0 by 1 342s (248) 249 248 Abs err 1 exceeds tol 0 by 1 342s (249) 250 249 Abs err 1 exceeds tol 0 by 1 342s (250) 251 250 Abs err 1 exceeds tol 0 by 1 342s (251) 252 251 Abs err 1 exceeds tol 0 by 1 342s (252) 253 252 Abs err 1 exceeds tol 0 by 1 342s (253) 254 253 Abs err 1 exceeds tol 0 by 1 342s (254) 255 254 Abs err 1 exceeds tol 0 by 1 342s (255) 256 255 Abs err 1 exceeds tol 0 by 1 342s ***** test 342s ## Use of threshold in the [0 1] range for images of integer type does 342s ## not really work despite the Matlab documentation. It's Matlab 342s ## documentation that is wrong, see bug #55059 342s 342s assert (grayslice (uint8([0 100 200 255]), [.1 .4 .5]), 342s uint8 ([0 3 3 3])) 342s assert (grayslice (uint8([0 100 200 255]), [100 199 200 210]), 342s uint8 ([0 1 3 4])) 342s 342s ## P (penny) is a 2d image of class double in [1 255] range 342s q = warning ("query", "Octave:data-file-in-path"); 342s warning ("off", "Octave:data-file-in-path"); 342s load ("penny.mat"); 342s warning (q.state, "Octave:data-file-in-path"); 342s assert (grayslice (P), repmat (uint8 (9), size (P))) 342s ***** function gs = test_grayslice_v (I, v) 342s ## This is effectively what grayslice does but slower with a for 342s ## loop internally. 342s gs = zeros (size (I)); 342s for idx = 1:numel (v) 342s gs(I >= v(idx)) = idx; 342s endfor 342s if (numel (v) >= 256) 342s gs = gs +1; 342s else 342s gs = uint8 (gs); 342s endif 342s ***** endfunction 342s ***** test 342s q = warning ("query", "Octave:data-file-in-path"); 342s warning ("off", "Octave:data-file-in-path"); 342s load ("penny.mat"); 342s warning (q.state, "Octave:data-file-in-path"); 342s 342s ## The loaded P in penny.mat is of size 128x128, class double, and 342s ## with values in the [1 255] range 342s penny_uint8 = uint8 (P); 342s penny_double = im2double (penny_uint8); # rescales to [0 1] range] 342s 342s ## default of N = 10 342s expected = test_grayslice_v (penny_uint8, 342s [26 51 77 102 128 153 179 204 230]); 342s assert (grayslice (penny_uint8, 10), expected) 342s assert (grayslice (penny_uint8), expected) 342s 342s expected = test_grayslice_v (penny_double, 342s [.1 .2 .3 .4 .5 .6 .7 .8 .9]); 342s assert (grayslice (penny_double, 10), expected) 342s assert (grayslice (penny_double), expected) 342s ***** test 342s ## For images with more than 2d 342s q = warning ("query", "Octave:data-file-in-path"); 342s warning ("off", "Octave:data-file-in-path"); 342s load ("penny.mat"); 342s warning (q.state, "Octave:data-file-in-path"); 342s penny_double = im2double (uint8 (P)); 342s P_3d = repmat (penny_double, [1 1 3]); 342s P_5d = repmat (penny_double, [1 1 3 2 3]); 342s 342s v = [.3 .5 .7]; 342s expected_2d = test_grayslice_v (penny_double, v); 342s assert (grayslice (P_3d, v), repmat (expected_2d, [1 1 3])) 342s assert (grayslice (P_5d, v), repmat (expected_2d, [1 1 3 2 3])) 342s ***** test 342s q = warning ("query", "Octave:data-file-in-path"); 342s warning ("off", "Octave:data-file-in-path"); 342s load ("penny.mat"); 342s warning (q.state, "Octave:data-file-in-path"); 342s penny_double = uint8 (P); 342s 342s ## Test that change from uint8 to double happens at 256 exactly 342s assert (class (grayslice (penny_double, 255)), "uint8") 342s assert (class (grayslice (penny_double, 256)), "double") 342s 342s ## If returns in class double, it's +1. 342s v = [10 150 200]; 342s v_long = [v 256:600]; 342s assert (double (grayslice (penny_double, v)) +1, 342s grayslice (penny_double, v_long)) 342s ***** test 342s ## If there's a vector for floating point and goes outside the 342s ## range, it uses the last index of the vector. 342s q = warning ("query", "Octave:data-file-in-path"); 342s warning ("off", "Octave:data-file-in-path"); 342s load ("penny.mat"); 342s warning (q.state, "Octave:data-file-in-path"); 342s penny_double = im2double (uint8 (P)); 342s v = [.3 .5 .7 2:10]; 342s idx_1 = find (penny_double == 1); 342s assert (grayslice (penny_double, v)(idx_1), uint8 ([12; 12])) 342s ***** error x = grayslice ([1 2; 3 4], 0) 342s ***** error x = grayslice ([1 2; 3 4], -1) 342s ***** error x = grayslice ([1 2; 3 4], "foo") 342s ***** test 342s ## test output values for all input classes 342s 342s klasse = "uint8"; 342s im = cast ([intmin(klasse): intmax(klasse)], klasse); 342s erg05 = grayslice (im, 0.5); 342s first1_erg05 = im(find (erg05)(1)); 342s assert (first1_erg05, cast (1, klasse)); 342s erg5 = grayslice (im, 5); 342s first1_erg5 = im(find (erg5)(1)); 342s assert (first1_erg5, cast (51, klasse)); 342s ergint5 = grayslice (im, uint8 (5)); 342s first1_ergint5 = im(find (ergint5)(1)); 342s assert (first1_ergint5, cast (51, klasse)); 342s 342s klasse = "uint16"; 342s im = cast ([intmin(klasse): intmax(klasse)], klasse); 342s erg05 = grayslice (im, 0.5); 342s first1_erg05 = im(find (erg05)(1)); 342s assert (first1_erg05, cast (1, klasse)); 342s erg5 = grayslice (im, 5); 342s first1_erg5 = im(find (erg5)(1)); 342s assert (first1_erg5, cast (13107, klasse)); 342s ergint5 = grayslice (im, uint8 (5)); 342s first1_ergint5 = im(find (ergint5)(1)); 342s assert (first1_ergint5, cast (13107, klasse)); 342s 342s klasse = "int16"; 342s im = cast ([intmin(klasse): intmax(klasse)], klasse); 342s erg05 = grayslice (im, 0.5); 342s first1_erg05 = im(find (erg05)(1)); 342s assert (first1_erg05, cast (-32767, klasse)); 342s erg5 = grayslice (im, 5); 342s first1_erg5 = im(find (erg5)(1)); 342s assert (first1_erg5, cast (-19661, klasse)); 342s ergint5 = grayslice (im, uint8 (5)); 342s first1_ergint5 = im(find (ergint5)(1)); 342s assert (first1_ergint5, cast (-19661, klasse)); 342s 342s klasse = "single"; 342s im = cast ([0:0.001:1], klasse); 342s erg05 = grayslice (im, 0.5); 342s first1_erg05 = im(find (erg05)(1)); 342s assert (first1_erg05, cast (0.5, klasse)); 342s erg5 = grayslice (im, 5); 342s first1_erg5 = im(find (erg5)(1)); 342s assert (first1_erg5, cast (0.2, klasse)); 342s ergint5 = grayslice (im, uint8 (5)); 342s first1_ergint5 = im(find (ergint5)(1)); 342s assert (first1_ergint5, cast (0.2, klasse)); 342s 342s klasse = "double"; 342s im = cast ([0:0.001:1], klasse); 342s erg05 = grayslice (im, 0.5); 342s first1_erg05 = im(find (erg05)(1)); 342s assert (first1_erg05, cast (0.5, klasse)); 342s erg5 = grayslice (im, 5); 342s first1_erg5 = im(find (erg5)(1)); 342s assert (first1_erg5, cast (0.2, klasse)); 342s ergint5 = grayslice (im, uint8 (5)); 342s first1_ergint5 = im(find (ergint5)(1)); 342s assert (first1_ergint5, cast (0.2, klasse)); 342s 23 tests, 22 passed, 1 known failure, 0 skipped 342s [inst/applylut.m] 342s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/applylut.m 342s ***** demo 342s lut = makelut (@(x) sum (x (:)) >= 3, 3); 342s S = applylut (eye (5), lut); 342s disp (S) 342s ## Everything should be 0 despite a diagonal which doesn't reach borders. 342s ***** assert (prod (applylut (eye (3), makelut (@(x) x(1) == 1, 2)) == eye (3)), [1 1 1]); 342s ***** assert (prod (applylut (eye (3), makelut (@(x) x(2,2) == 1, 3)) == eye (3)), [1 1 1]); 342s ***** assert (prod (applylut (eye (3), makelut (@(x) x(3,3) == 1, 3)) == 342s applylut (eye (3), makelut (@(x) x(2,2) == 1, 2))), 342s [1 1 1]); 342s 3 tests, 3 passed, 0 known failure, 0 skipped 342s [inst/im2single.m] 342s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/im2single.m 342s ***** assert (im2single (single ([1 2 3])), single ([1 2 3])); 342s ***** assert (im2single ([1 2 3]), single ([1 2 3])); 342s ***** assert (im2single (uint8 ([0 127 128 255])), single ([0 127/255 128/255 1])); 342s ***** assert (im2single (uint16 ([0 127 128 65535])), single ([0 127/65535 128/65535 1])); 342s ***** assert (im2single (int16 ([-32768 -32767 -32766 32767])), single ([0 1/65535 2/65535 1])); 342s ***** assert (im2single (uint8 ([0 1 255]), "indexed"), single ([1 2 256])); 342s ***** assert (im2single (uint16 ([0 1 2557]), "indexed"), single ([1 2 2558])); 342s ***** assert (im2single ([3 25], "indexed"), single ([3 25])); 342s ***** error im2single ([0 1 2], "indexed"); 342s ***** error im2single (int16 ([17 8]), "indexed"); 342s ***** error im2single (int16 ([-7 8]), "indexed"); 342s ***** error im2single ([false true], "indexed"); 342s 12 tests, 12 passed, 0 known failure, 0 skipped 342s [inst/im2col.m] 342s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/im2col.m 342s ***** demo 342s ## Divide A using distinct blocks and then reverse the operation 342s A = [ 1:10 342s 11:20 342s 21:30 342s 31:40]; 342s B = im2col (A, [2 5], "distinct") 342s C = col2im (B, [2 5], [4 10], "distinct") 342s ***** test 342s a = rand (10); 342s assert (im2col (a, [5 5]), im2col (a, [5 5], "sliding")) 342s ***** test 342s a = rand (10); 342s assert (im2col (a, [5 5]), im2col (a, "indexed", [5 5])) 342s ***** error im2col (rand (20), [2 5], 10) 342s ***** error im2col (rand (20), [2 5], "wrong_block_type") 342s ***** error im2col (rand (10), [5 5], "sliding", 5) 343s ***** error im2col (rand (10), "indexed", [5 5], "sliding", 5) 343s ***** shared B, A, Bs, As, Ap, Bp0, Bp1, Bp0_3s 343s v = [1:10]'; 343s r = reshape (v, 2, 5); 343s B = [v v+20 v+40 v+10 v+30 v+50]; 343s A = [r r+10; r+20 r+30; r+40 r+50]; 343s As = [ 1 2 3 4 5 343s 6 7 8 9 10 343s 11 12 13 14 15]; 343s b1 = As(1:2, 1:4)(:); 343s b2 = As(2:3, 1:4)(:); 343s b3 = As(1:2, 2:5)(:); 343s b4 = As(2:3, 2:5)(:); 343s Bs = [b1, b2, b3, b4]; 343s Ap = A(:, 1:9); 343s Bp1 = Bp0 = B; 343s Bp0(9:10, 4:6) = 0; 343s Bp1(9:10, 4:6) = 1; 343s Bp0_3s = Bp0; 343s Bp0_3s(11:30, :) = 0; 343s ***** assert (im2col (A, [2 5], "distinct"), B); 343s ***** assert (im2col (Ap, [2 5], "distinct"), Bp0); 343s ***** assert (im2col (Ap, [2 5 3], "distinct"), Bp0_3s); 343s ***** assert (im2col (Ap, "indexed", [2 5], "distinct"), Bp1); 343s ***** assert (im2col (uint8 (Ap), "indexed", [2 5], "distinct"), uint8 (Bp0)); 343s ***** assert (im2col (uint16 (Ap), "indexed", [2 5], "distinct"), uint16 (Bp0)); 343s ***** assert (im2col (int16 (Ap), "indexed", [2 5], "distinct"), int16 (Bp1)); 343s ***** assert (im2col (uint32 (Ap), "indexed", [2 5], "distinct"), uint32 (Bp1)); 343s ***** assert (im2col (uint8 (A), [2 5], "distinct"), uint8 (B)); 343s ***** assert (im2col (single (A), [2 5], "distinct"), single (B)); 343s ***** assert (im2col (logical (A), [2 5], "distinct"), logical (B)); 343s ***** assert (im2col (uint8 (As), [2 4], "sliding"), uint8 (Bs)); 343s ***** assert (im2col (single (As), [2 4], "sliding"), single (Bs)); 343s ***** assert (im2col (logical (As), [2 4], "sliding"), logical (Bs)); 343s ***** assert (im2col (As, [2 4], "sliding"), Bs); 343s ***** assert (im2col (As, [3 5], "sliding"), As(:)); 343s ***** test 343s A = randi (9, 10, 9, 5); 343s ***** assert (convn (A, ones (3, 3, 3), "valid"), 343s reshape (sum (im2col (A, [3 3 3])), [8 7 3])); 343s 343s A = randi (9, 10, 9, 5, 7); 343s ***** assert (convn (A, ones (3, 3, 3), "valid"), 343s reshape (sum (im2col (A, [3 3 3])), [8 7 3 7])); 343s ***** assert (convn (A, ones (3, 4, 3), "valid"), 343s reshape (sum (im2col (A, [3 4 3])), [8 6 3 7])); 343s ***** assert (convn (A, ones (3, 5, 3, 2), "valid"), 343s reshape (sum (im2col (A, [3 5 3 2])), [8 5 3 6])); 343s ***** assert (im2col (1:8, [2 1]), zeros (2, 0)) 343s 28 tests, 28 passed, 0 known failure, 0 skipped 343s [inst/isbw.m] 343s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/isbw.m 343s ***** shared img 343s img = round (rand (10)); 343s ***** assert (isbw (img, "non-logical"), true); 343s ***** assert (isbw (img, "logical"), false); 343s ***** assert (isbw (logical (img), "logical"), true); 343s ***** assert (isbw (logical (img), "non-logical"), true); 343s ***** test 343s img(1, 1) = 2; 343s assert (isbw (img, "non-logical"), false); 343s ***** test 343s a( 1, 1) = 1; 343s a(50, 50) = 2; 343s assert (isbw (a, "non-logical"), false); 343s ***** assert (isbw (rand (5, 5, 1, 4) > 0.5), true) 343s ***** assert (isbw (rand (5, 5, 3, 4) > 0.5), false) 343s ***** assert (isbw (rand (5, 5, 3) > 0.5), false) 343s ***** assert (isbw (rand (5, 5, 1, 3, 4) > 0.5), false) 343s ***** assert (isbw (randi ([0 1], 5, 5, 1, 4), "non-logical"), true) 343s ***** assert (isbw (randi ([0 1], 5, 5, 3, 4), "non-logical"), false) 343s ***** assert (isbw (randi ([0 1], 5, 5, 3), "non-logical"), false) 343s ***** assert (isbw (randi ([0 1], 5, 5, 1, 3, 4), "non-logical"), false) 343s ***** assert (isbw (single ([0 0 1]), "non-logical"), true) 343s ***** assert (isbw ([0 NaN 1], "non-logical"), false) 343s 16 tests, 16 passed, 0 known failure, 0 skipped 343s [inst/im2bw.m] 343s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/im2bw.m 343s ***** assert(im2bw ([0 0.4 0.5 0.6 1], 0.5), logical([0 0 0 1 1])); # basic usage 343s ***** assert(im2bw (uint8 ([0 100 255]), 0.5), logical([0 0 1])); # with a uint8 input 343s ***** warning bw = im2bw (logical ([0 1 0])); 343s ***** warning bw = im2bw (logical ([0 1 0]), 1); 343s ***** test 343s warning ("off", "all", "local"); 343s assert (im2bw (logical ([0 1 0])), logical ([0 1 0])) 343s assert (im2bw (logical ([0 1 0]), 0), logical ([0 1 0])) 343s assert (im2bw (logical ([0 1 0]), 1), logical ([0 1 0])) 343s ***** assert (nnz (im2bw (uint8 ([0:255]), 0.9)), 26) 343s ***** test 343s img = uint8 ([0:255]); 343s s = 0; 343s for i=0:.1:1 343s s += nnz (im2bw (img, i)); 343s endfor 343s assert (s, 1405) 343s ***** assert (nnz (im2bw (int16 ([-128:127]), 0.499)), 194) 343s ***** assert (nnz (im2bw (int16 ([-128:127]), 0.500)), 128) 343s ***** assert (nnz (im2bw (int16 ([-128:127]), 0.501)), 62) 343s ***** test 343s img = uint16 ([0:intmax("uint16")]); 343s s = 0; 343s for i=0:.1:1 343s s += nnz (im2bw (img, i)); 343s endfor 343s assert (s, 360445) 343s ***** test 343s img = int16 ([intmin("int16"):intmax("int16")]); 343s s = 0; 343s for i=0:.1:1 343s s += nnz (im2bw (img, i)); 343s endfor 343s assert (s, 360445) 343s ***** test 343s im = [((randn(10)/10)+.3) ((randn(10)/10)+.7)]; 343s assert (im2bw (im, "Otsu"), im2bw (im, graythresh (im, "Otsu"))) 343s assert (im2bw (im, "moments"), im2bw (im, graythresh (im, "moments"))) 343s ***** test 343s im = [((randn(10)/10)+.3) ((randn(10)/10)+.7)]; 343s im = reshape (im, [10 10 1 2]); 343s assert (im2bw (im, "Otsu"), im2bw (im, graythresh (im, "Otsu"))) 343s assert (im2bw (im, "moments"), im2bw (im, graythresh (im, "moments"))) 343s 14 tests, 14 passed, 0 known failure, 0 skipped 343s [inst/imcrop.m] 343s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imcrop.m 343s ***** test 343s a = randi (255, [100 100]); 343s rect = [20 30 3 5]; 343s assert (nthargout ([1 2], @imcrop, a, rect), {a(30:35, 20:23) rect}); 343s assert (nthargout (2, @imcrop, a, rect), rect); 343s assert (nthargout ([3 4], 4, @imcrop, a, rect), {a(30:35, 20:23) rect}); 343s ***** test 343s rgb = randi (255, [100 100 3]); 343s rect = [20 30 3 5]; 343s assert (nthargout ([1 2], @imcrop, rgb, rect), {rgb(30:35, 20:23,:) rect}); 343s assert (nthargout (2, @imcrop, rgb, rect), rect); 343s assert (nthargout ([3 4], 4, @imcrop, rgb, rect), {rgb(30:35, 20:23,:) rect}); 343s ***** test 343s a = randi (255, [100 100]); 343s rect = [20 30 3 5]; 343s cmap = jet (255); 343s assert (nthargout ([1 2], @imcrop, a, cmap, rect), {a(30:35, 20:23) rect}); 343s assert (nthargout (2, @imcrop, a, cmap, rect), rect); 343s assert (nthargout ([3 4], 4, @imcrop, a, cmap, rect), {a(30:35, 20:23) rect}); 343s ***** test 343s a = rand (100) > 0.5; 343s rect = [20 30 3 5]; 343s assert (nthargout ([1 2], @imcrop, a, rect), {a(30:35, 20:23) rect}); 343s assert (nthargout (2, @imcrop, a, rect), rect); 343s assert (nthargout ([3 4], 4, @imcrop, a, rect), {a(30:35, 20:23) rect}); 343s ***** assert (imcrop (0, [0.5 0.5 0.9 0.9]), 0); 343s ***** assert (imcrop (zeros (5), [1 1 1 1]), zeros (2)); 343s ***** test 343s im = magic (5); 343s assert (imcrop (im, [1 1 5 5]), im) 343s assert (imcrop (im, [0 0 5 5]), im) 343s assert (imcrop (im, [1 1 2 5]), im(:,1:3)) 343s assert (imcrop (im, [1 -3 2 5]), im(1:2,1:3)) 343s assert (imcrop (im, [5 -3 2 5]), im(1:2,5)) 343s ***** test 343s im = [1:7] .* [1; 2; 3; 4; 5]; 343s assert (imcrop (im, [1 1 5 5]), im(:,1:6)) 343s assert (imcrop (im, [0 0 5 5]), im(:,1:5)) 343s assert (imcrop (im, [1 1 2 5]), im(:,1:3)) 343s assert (imcrop (im, [1 -3 2 7]), im(1:4,1:3)) 343s assert (imcrop (im, [7 -3 2 7]), im(1:4,7)) 343s ***** test 343s ## Matlab returns [] (size 0x0) for this cases, while we return 343s ## [] (size 2x0). We are not compatible by design. If it ever 343s ## becomes an issue to anyone we can review this decision. 343s assert (imcrop (magic (5), [6 -3 2 5]), zeros (2, 0)) 343s 9 tests, 9 passed, 0 known failure, 0 skipped 343s [inst/makelut.m] 343s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/makelut.m 343s ***** demo 343s makelut(@(x) sum(x(:))>=3, 2) 343s % Returns '1' if one or more values 343s % in the input matrix are 1 343s ***** assert(prod(makelut(@(x) sum(x(:))==2, 2)==makelut(@(x, a, b, c, d) sum(x(:))==a*b*c*d,2,2/(3*4*5),3,4,5))); # test multiple params 343s ***** assert(prod(makelut(@(x) x(1,1)==1, 2)==[zeros(2^3,1);ones(2^3,1)])==1); # test 2-by-2 343s ***** assert(prod(makelut(@(x) x(1,1)==1, 3)==[zeros(2^8,1);ones(2^8,1)])==1); # test 3-by-3 343s ***** assert(prod(makelut(@(x) x(1,1)==1, 4)==[zeros(2^15,1);ones(2^15,1)])==1); # test 4-by-4 345s ***** assert(prod(makelut(@(x) x(2,1)==1, 3)==[zeros(2^7,1);ones(2^7,1);zeros(2^7,1);ones(2^7,1)])==1); # another test for 3-by-3 345s 5 tests, 5 passed, 0 known failure, 0 skipped 345s [inst/imgradientxy.m] 345s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imgradientxy.m 345s ***** test 345s A = [0 1 0 345s 1 1 1 345s 0 1 0]; 345s 345s [gxSobel, gySobel] = imgradientxy (A); 345s [gxSobel2, gySobel2] = imgradientxy (A, "Sobel"); 345s assert (gxSobel, 345s [ 3 0 -3 345s 4 0 -4 345s 3 0 -3]); 345s assert (gySobel, 345s [ 3 4 3 345s 0 0 0 345s -3 -4 -3]); 345s 345s ## test default method 345s assert(gxSobel, gxSobel2); 345s assert(gySobel, gySobel2); 345s 345s [gxPrewitt, gyPrewitt] = imgradientxy (A, "Prewitt"); 345s assert (gxPrewitt, 345s [ 2 0 -2 345s 3 0 -3 345s 2 0 -2]); 345s assert (gyPrewitt, 345s [ 2 3 2 345s 0 0 0 345s -2 -3 -2]); 345s 345s [gxCd, gyCd] = imgradientxy (A, "CentralDifference"); 345s assert (gxCd, 345s [ 0.5 0.0 -0.5 345s 0.5 0.0 -0.5 345s 0.5 0.0 -0.5]); 345s assert (gyCd, 345s [ 0.5 0.5 0.5 345s 0 0 0 345s -0.5 -0.5 -0.5]); 345s 345s [gxCd, gyCd] = imgradientxy (A, "Central"); 345s assert (gxCd, 345s [ 0.5 0.0 -0.5 345s 0.5 0.0 -0.5 345s 0.5 0.0 -0.5]); 345s assert (gyCd, 345s [ 0.5 0.5 0.5 345s 0 0 0 345s -0.5 -0.5 -0.5]); 345s 345s [gxId, gyId] = imgradientxy(A, "IntermediateDifference"); 345s assert (gxId, 345s [ 1 -1 0 345s 0 0 -1 345s 1 -1 0]); 345s assert (gyId, 345s [ 1 0 1 345s -1 0 -1 345s 0 -1 0]); 345s 345s [gxId, gyId] = imgradientxy(A, "Intermediate"); 345s assert (gxId, 345s [ 1 -1 0 345s 0 0 -1 345s 1 -1 0]); 345s assert (gyId, 345s [ 1 0 1 345s -1 0 -1 345s 0 -1 0]); 345s 1 test, 1 passed, 0 known failure, 0 skipped 345s [inst/histeq.m] 345s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/histeq.m 345s ***** assert (histeq ([]), []); 345s ***** assert (histeq (0), 1); 345s ***** assert (histeq (1), 1); 345s ***** assert (histeq (1.5), 1); 345s ***** assert (histeq (zeros (100, 200)), ones (100, 200)); # matrix 345s ***** xtest assert (histeq ([0 1]), [0.4920634921 1], 10^-8); 345s !!!!! known failure 345s ASSERT errors for: assert (histeq ([0, 1]),[0.4920634921, 1],10 ^ -8) 345s 345s Location | Observed | Expected | Reason 345s (1) 0.5 0.49206 Abs err 0.0079365 exceeds tol 1e-08 by 0.008 345s ***** xtest assert (histeq ([0 1]'), [0.4920634921 1]', 10^-8); # column array 345s !!!!! known failure 345s ASSERT errors for: assert (histeq ([0, 1]'),[0.4920634921, 1]',10 ^ -8) 345s 345s Location | Observed | Expected | Reason 345s (1) 0.5 0.49206 Abs err 0.0079365 exceeds tol 1e-08 by 0.008 345s ***** xtest assert (histeq ([0 255]), [0.4920634921 1], 10^-8); 345s !!!!! known failure 345s ASSERT errors for: assert (histeq ([0, 255]),[0.4920634921, 1],10 ^ -8) 345s 345s Location | Observed | Expected | Reason 345s (1) 0.5 0.49206 Abs err 0.0079365 exceeds tol 1e-08 by 0.008 345s ***** xtest assert (histeq (uint8 ([0 1])), [ 125 190]); # uint8 345s !!!!! known failure 345s ASSERT errors for: assert (histeq (uint8 ([0, 1])),[125, 190]) 345s 345s Location | Observed | Expected | Reason 345s (1) 0.5 125 Abs err 124.5 exceeds tol 0 by 1e+02 345s (2) 1 190 Abs err 189 exceeds tol 0 by 2e+02 345s ***** xtest assert (histeq (uint8 ([0 255])), [ 125 255]); 345s !!!!! known failure 345s ASSERT errors for: assert (histeq (uint8 ([0, 255])),[125, 255]) 345s 345s Location | Observed | Expected | Reason 345s (1) 0.5 125 Abs err 124.5 exceeds tol 0 by 1e+02 345s (2) 1 255 Abs err 254 exceeds tol 0 by 3e+02 345s ***** xtest assert (histeq (uint16 ([0 1])), [65535 65535]); # uint16 345s !!!!! known failure 345s ASSERT errors for: assert (histeq (uint16 ([0, 1])),[65535, 65535]) 345s 345s Location | Observed | Expected | Reason 345s (1) 0.5 65535 Abs err 65534 exceeds tol 0 by 7e+04 345s (2) 1 65535 Abs err 65534 exceeds tol 0 by 7e+04 345s ***** xtest assert (histeq (uint16 ([0 255])), [32247 48891]); 345s !!!!! known failure 345s ASSERT errors for: assert (histeq (uint16 ([0, 255])),[32247, 48891]) 345s 345s Location | Observed | Expected | Reason 345s (1) 0.5 32247 Abs err 32246 exceeds tol 0 by 3e+04 345s (2) 1 48891 Abs err 48890 exceeds tol 0 by 5e+04 345s ***** xtest assert (histeq (uint16 ([0 256])), [32247 48891]); 345s !!!!! known failure 345s ASSERT errors for: assert (histeq (uint16 ([0, 256])),[32247, 48891]) 345s 345s Location | Observed | Expected | Reason 345s (1) 0.5 32247 Abs err 32246 exceeds tol 0 by 3e+04 345s (2) 1 48891 Abs err 48890 exceeds tol 0 by 5e+04 345s ***** xtest assert (histeq (uint16 ([0 65535])), [32247 65535]); 345s !!!!! known failure 345s ASSERT errors for: assert (histeq (uint16 ([0, 65535])),[32247, 65535]) 345s 345s Location | Observed | Expected | Reason 345s (1) 0.5 32247 Abs err 32246 exceeds tol 0 by 3e+04 345s (2) 1 65535 Abs err 65534 exceeds tol 0 by 7e+04 345s ***** test assert (histeq ([0 1 1] ), [ 1/3 1 1] , 10^-8); 345s ***** test assert (histeq ([0 0 1]'), [ 2/3 2/3 1]', 10^-8); 345s ***** xtest assert (histeq ([0 1 2] ), [ 1/3 1 1] , 10^-8); 345s !!!!! known failure 345s ASSERT errors for: assert (histeq ([0, 1, 2]),[1 / 3, 1, 1],10 ^ -8) 345s 345s Location | Observed | Expected | Reason 345s (2) 0.66667 1 Abs err 0.33333 exceeds tol 1e-08 by 0.3 345s ***** xtest assert (histeq (uint8 ([0 1 2])), [ 85 125 215]); 345s !!!!! known failure 345s ASSERT errors for: assert (histeq (uint8 ([0, 1, 2])),[85, 125, 215]) 345s 345s Location | Observed | Expected | Reason 345s (1) 0.33333 85 Abs err 84.667 exceeds tol 0 by 8e+01 345s (2) 0.66667 125 Abs err 124.33 exceeds tol 0 by 1e+02 345s (3) 1 215 Abs err 214 exceeds tol 0 by 2e+02 345s ***** xtest assert (histeq (uint16 ([0 1 2])), [65535 65535 65535]); 345s !!!!! known failure 345s ASSERT errors for: assert (histeq (uint16 ([0, 1, 2])),[65535, 65535, 65535]) 345s 345s Location | Observed | Expected | Reason 345s (1) 0.33333 65535 Abs err 65535 exceeds tol 0 by 7e+04 345s (2) 0.66667 65535 Abs err 65534 exceeds tol 0 by 7e+04 345s (3) 1 65535 Abs err 65534 exceeds tol 0 by 7e+04 345s ***** xtest assert (histeq (uint16 ([0 100 200])), [43690 43690 55133]); 345s !!!!! known failure 345s ASSERT errors for: assert (histeq (uint16 ([0, 100, 200])),[43690, 43690, 55133]) 345s 345s Location | Observed | Expected | Reason 345s (1) 0.33333 43690 Abs err 43690 exceeds tol 0 by 4e+04 345s (2) 0.66667 43690 Abs err 43689 exceeds tol 0 by 4e+04 345s (3) 1 55133 Abs err 55132 exceeds tol 0 by 6e+04 345s ***** xtest 345s J = [20 32 57 81 105 125 150 174 198 223 247]; 345s assert (histeq (uint8 (0:10:100)), J); 345s !!!!! known failure 345s ASSERT errors for: assert (histeq (uint8 (0:10:100)),J) 345s 345s Location | Observed | Expected | Reason 345s (1) 0.090909 20 Abs err 19.909 exceeds tol 0 by 2e+01 345s (2) 0.18182 32 Abs err 31.818 exceeds tol 0 by 3e+01 345s (3) 0.27273 57 Abs err 56.727 exceeds tol 0 by 6e+01 345s (4) 0.36364 81 Abs err 80.636 exceeds tol 0 by 8e+01 345s (5) 0.45455 105 Abs err 104.55 exceeds tol 0 by 1e+02 345s (6) 0.54545 125 Abs err 124.45 exceeds tol 0 by 1e+02 345s (7) 0.63636 150 Abs err 149.36 exceeds tol 0 by 1e+02 345s (8) 0.72727 174 Abs err 173.27 exceeds tol 0 by 2e+02 345s (9) 0.81818 198 Abs err 197.18 exceeds tol 0 by 2e+02 345s (10) 0.90909 223 Abs err 222.09 exceeds tol 0 by 2e+02 345s (11) 1 247 Abs err 246 exceeds tol 0 by 2e+02 345s ***** xtest 345s J = [0.0793650794 345s 0.1269841270 345s 0.2222222222 345s 0.3174603175 345s 0.4126984127 345s 0.4920634921 345s 0.5873015873 345s 0.6825396825 345s 0.7777777778 345s 0.8730158730 345s 1.0000000000]; 345s assert (histeq (0:0.1:1), J', 10^-8); 345s !!!!! known failure 345s ASSERT errors for: assert (histeq (0:0.1:1),J',10 ^ -8) 345s 345s Location | Observed | Expected | Reason 345s (1) 0.090909 0.079365 Abs err 0.011544 exceeds tol 1e-08 by 0.01 345s (2) 0.18182 0.12698 Abs err 0.054834 exceeds tol 1e-08 by 0.05 345s (3) 0.27273 0.22222 Abs err 0.050505 exceeds tol 1e-08 by 0.05 345s (4) 0.36364 0.31746 Abs err 0.046176 exceeds tol 1e-08 by 0.05 345s (5) 0.45455 0.4127 Abs err 0.041847 exceeds tol 1e-08 by 0.04 345s (6) 0.54545 0.49206 Abs err 0.053391 exceeds tol 1e-08 by 0.05 345s (7) 0.63636 0.5873 Abs err 0.049062 exceeds tol 1e-08 by 0.05 345s (8) 0.72727 0.68254 Abs err 0.044733 exceeds tol 1e-08 by 0.04 345s (9) 0.81818 0.77778 Abs err 0.040404 exceeds tol 1e-08 by 0.04 345s (10) 0.90909 0.87302 Abs err 0.036075 exceeds tol 1e-08 by 0.04 345s 22 tests, 7 passed, 15 known failures, 0 skipped 345s [inst/imclearborder.m] 345s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imclearborder.m 345s ***** test 345s a = logical ([ 345s 0 1 0 0 1 0 0 0 0 1 345s 1 0 0 0 0 1 0 0 0 0 345s 0 1 0 0 0 0 0 0 0 0 345s 1 0 1 0 1 0 1 0 0 1 345s 0 0 0 0 0 0 0 1 1 0 345s 0 0 1 0 0 1 0 1 0 0 345s 0 1 0 1 0 1 1 0 0 0 345s 0 0 0 1 0 0 0 0 0 0 345s 0 0 0 1 0 1 1 0 0 0 345s 0 0 0 1 1 0 0 0 1 0]); 345s 345s a4 = logical ([ 345s 0 0 0 0 0 0 0 0 0 0 345s 0 0 0 0 0 1 0 0 0 0 345s 0 1 0 0 0 0 0 0 0 0 345s 0 0 1 0 1 0 1 0 0 0 345s 0 0 0 0 0 0 0 1 1 0 345s 0 0 1 0 0 1 0 1 0 0 345s 0 1 0 0 0 1 1 0 0 0 345s 0 0 0 0 0 0 0 0 0 0 345s 0 0 0 0 0 1 1 0 0 0 345s 0 0 0 0 0 0 0 0 0 0]); 345s 345s a8 = logical ([ 345s 0 0 0 0 0 0 0 0 0 0 345s 0 0 0 0 0 0 0 0 0 0 345s 0 0 0 0 0 0 0 0 0 0 345s 0 0 0 0 1 0 0 0 0 0 345s 0 0 0 0 0 0 0 0 0 0 345s 0 0 0 0 0 0 0 0 0 0 345s 0 0 0 0 0 0 0 0 0 0 345s 0 0 0 0 0 0 0 0 0 0 345s 0 0 0 0 0 0 0 0 0 0 345s 0 0 0 0 0 0 0 0 0 0]); 345s 345s assert (imclearborder (a, 4), a4) 345s assert (imclearborder (a, [0 1 0; 1 1 1; 0 1 0]), a4) 345s assert (imclearborder (a), a8) 345s assert (imclearborder (a, 8), a8) 345s assert (imclearborder (a, ones (3)), a8) 345s ***** test 345s a = false (5, 5, 3); 345s a(2:4,2:4,:) = true; 345s assert (imclearborder (a, 4), a) 345s 345s a(1,2) = true; 345s a4 = a; 345s a4(:,:,1) = false; 345s assert (imclearborder (a, 4), a4) 345s 2 tests, 2 passed, 0 known failure, 0 skipped 345s [inst/imextendedmin.m] 345s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imextendedmin.m 345s ***** shared im0, bw0_h2_out 345s im0 = uint8 ([5 5 5 5 5; 345s 5 4 3 4 5; 345s 5 3 0 3 5; 345s 5 4 3 4 5; 345s 5 5 5 5 5]); 345s bw0_h2_out = false (5); 345s bw0_h2_out(3,3) = true; 345s ***** error imextendedmin () 345s ***** error imextendedmin (im0) 345s ***** error imextendedmin ("hello", 2) 345s ***** error imextendedmin (i.*im0, 2) 345s ***** error imextendedmin (sparse (im0), 2) 345s ***** error imextendedmin (im0, -2) 345s ***** error imextendedmin (im0, 'a') 345s ***** error imextendedmin (im0, ones (2)) 345s ***** error imextendedmin (im0, 2*i) 345s ***** assert (imextendedmin (im0, 2), bw0_h2_out) 345s ***** assert (imextendedmin (double (im0), 2), bw0_h2_out) 345s ***** assert (imextendedmin (im0, 2, 8), bw0_h2_out) 345s ***** assert (imextendedmin (im0, 2, 4), bw0_h2_out) 345s ***** assert (imextendedmin (im0, 2, true (3)), bw0_h2_out) 345s ***** test 345s out = imextendedmin (im0, 2); 345s assert (size (out), size (im0)) 345s assert (class (out), "logical") 345s ***** test 345s out = imextendedmin (single (im0), 2); 345s assert (size (out), size (im0)) 345s assert (class (out), "logical") 345s ***** test 345s out = imextendedmin (uint8 (im0), 2); 345s assert (size (out), size (im0)) 345s assert (class (out), "logical") 345s ***** test 345s out = imextendedmin (uint16 (im0), 2); 345s assert (size (out), size (im0)) 345s assert (class (out), "logical") 345s ***** test 345s im = cat (3, im0, im0, im0, im0); 345s out = imextendedmin (im, 2); 345s assert (size (out), size (im)) 345s ***** test 345s im = 10 .* ones (10); 345s im(2:4, 2:4) = 7; 345s im(6:8, 6:8) = 2; 345s expected_4 = false (10); 345s expected_4(6:8, 6:8) = true; 345s expected_2 = expected_4; 345s expected_2(2:4, 2:4) = true; 345s out = imextendedmin (im, 4); 345s assert (out, expected_4, eps) 345s out = imextendedmin (0.1.*im, 0.4); 345s assert (out, expected_4, eps) 345s out = imextendedmin (im, 2); 345s assert (out, expected_2, eps) 345s ***** test 345s im2 = 10 .* ones (10); 345s im2(2:4, 2:4) = 7; 345s im2(6:9, 6:9)=2; 345s im2(5, 5)=2; 345s im2(6, 7)=10; 345s im2(7, 8)=10; 345s expected_8 = false (10); 345s expected_8(6:9, 6:9) = true; 345s expected_8(5, 5) = true; 345s expected_8(6, 7) = false; 345s expected_8(7, 8) = false; 345s expected_4 = expected_8; 345s expected_4(2:4, 2:4) = true; 345s out2 = imextendedmin (im2, 2); 345s assert (out2, expected_8, eps) 345s out2 = imextendedmin (im2, 2, 4); 345s assert (out2, expected_4, eps) 345s out2 = imextendedmin (im2, 2, 8); 345s assert (out2, expected_8, eps) 345s 21 tests, 21 passed, 0 known failure, 0 skipped 345s [inst/imremap.m] 345s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imremap.m 345s ***** demo 345s ## Generate a synthetic image and show it 345s I = tril(ones(100)) + abs(rand(100)); I(I>1) = 1; 345s I(20:30, 20:30) = !I(20:30, 20:30); 345s I(70:80, 70:80) = !I(70:80, 70:80); 345s figure, imshow(I); 345s ## Resize the image to the double size and show it 345s [XI, YI] = meshgrid(linspace(1, 100, 200)); 345s warped = imremap(I, XI, YI); 345s figure, imshow(warped); 345s ***** demo 345s ## Generate a synthetic image and show it 345s I = tril(ones(100)) + abs(rand(100)); I(I>1) = 1; 345s I(20:30, 20:30) = !I(20:30, 20:30); 345s I(70:80, 70:80) = !I(70:80, 70:80); 345s figure, imshow(I); 345s ## Rotate the image around (0, 0) by -0.4 radians and show it 345s [XI, YI] = meshgrid(1:100); 345s R = [cos(-0.4) sin(-0.4); -sin(-0.4) cos(-0.4)]; 345s RXY = [XI(:), YI(:)] * R; 345s XI = reshape(RXY(:,1), [100, 100]); YI = reshape(RXY(:,2), [100, 100]); 345s warped = imremap(I, XI, YI); 345s figure, imshow(warped); 345s ***** test 345s 345s I = repmat([ 1 2 3 4 ], [4, 1]); 345s xi = [-6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11]; 345s exp_rep = [ 1 1 1 1 1 1 1 1 2 3 4 4 4 4 4 4 4 4]; 345s exp_sym = [ 2 3 4 4 3 2 1 1 2 3 4 4 3 2 1 1 2 3]; 345s exp_ref = [ 2 1 2 3 4 3 2 1 2 3 4 3 2 1 2 3 4 3]; 345s exp_cir = [ 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3]; 345s yi = 2.5; 345s 345s # rectilinear grid codepath 345s assert (imremap (I, xi, yi, "bicubic", "replicate"), exp_rep); 345s assert (imremap (I, xi, yi, "bicubic", "symmetric"), exp_sym); 345s assert (imremap (I, xi, yi, "bicubic", "reflect"), exp_ref); 345s assert (imremap (I, xi, yi, "bicubic", "circular"), exp_cir); 345s 345s # meshgrid codepath 345s XI = [xi/2; xi; xi/2]; % cannot be reduced to vector, we will assert only middle row 345s YI = repmat ([1.5; yi; 3.5], [1, length(xi)]); 345s assert (imremap (I, XI, YI, "bicubic", "replicate")(2,:), exp_rep); 345s assert (imremap (I, XI, YI, "bicubic", "symmetric")(2,:), exp_sym); 345s assert (imremap (I, XI, YI, "bicubic", "reflect")(2,:), exp_ref); 345s assert (imremap (I, XI, YI, "bicubic", "circular")(2,:), exp_cir); 345s 1 test, 1 passed, 0 known failure, 0 skipped 345s [inst/rgb2xyz.m] 345s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/rgb2xyz.m 345s ***** assert (rgb2xyz ([0 0 0]), [0, 0, 0], 1e-3) 345s ***** assert (rgb2xyz ([1 0 0]), [0.4125, 0.2127, 0.0193], 1e-3) 345s ***** assert (rgb2xyz ([1 1 0]), [0.7700, 0.9278, 0.1385], 1e-3) 345s ***** assert (rgb2xyz ([0 1 0]), [0.3576, 0.7152, 0.1192], 1e-3) 345s ***** assert (rgb2xyz ([0 1 1]), [0.5380, 0.7873, 1.0694], 1e-3) 345s ***** assert (rgb2xyz ([0 0 1]), [0.1804, 0.0722, 0.9502], 1e-3) 345s ***** assert (rgb2xyz ([1 0 1]), [0.5929, 0.2848, 0.9696], 1e-3) 345s ***** assert (rgb2xyz ([1 1 1]), [0.9505, 1.0000, 1.0888], 1e-3) 345s ***** assert (rgb2xyz ([0.5 0.5 0.5]), [0.2034, 0.2140, 0.2330], 1e-3) 345s ***** assert (rgb2xyz ([0.75 0 0]), [0.2155, 0.1111, 0.0101], 1e-3) 345s ***** assert (rgb2xyz ([0.5 0 0]), [0.0883, 0.0455, 0.0041], 1e-3) 345s ***** assert (rgb2xyz ([0.25 0 0]), [0.0210, 0.0108, 0.0010], 1e-3) 345s ***** assert (rgb2xyz ([1 0.5 0.5]), [0.5276, 0.3812, 0.2482], 1e-3) 345s ***** assert (rgb2xyz ([1.5 1 1]), [1.5845, 1.3269, 1.1185], 1e-3) 345s ***** test 345s rgb_map = rand (64, 3); 345s assert (xyz2rgb (rgb2xyz (rgb_map)), rgb_map, 2e-5); 345s ***** test 345s rgb_img = rand (64, 64, 3); 345s assert (xyz2rgb (rgb2xyz (rgb_img)), rgb_img, 2e-5); 345s ***** assert (rgb2xyz (sparse ([0 0 0])), [0 0 0], 1e-3) 345s ***** assert (rgb2xyz (sparse ([0 0 1])), [0.1804, 0.0722, 0.9502], 1e-3) 345s ***** assert (rgb2xyz (uint8([255 255 255])), [0.9505, 1.0000, 1.0888], 1e-3) 345s ***** assert (class (rgb2xyz (single([1 1 1]))), 'single') 345s ***** error rgb2xyz () 346s ***** error rgb2xyz (1,2) 346s ***** error rgb2xyz ({1}) 346s ***** error rgb2xyz (ones (2,2)) 346s ***** test 346s rgb = rand (16, 16, 3, 5); 346s xyz = zeros (size (rgb)); 346s for i = 1:5 346s xyz(:,:,:,i) = rgb2xyz (rgb(:,:,:,i)); 346s endfor 346s assert (rgb2xyz (rgb), xyz) 346s 25 tests, 25 passed, 0 known failure, 0 skipped 346s [inst/iradon.m] 346s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/iradon.m 346s ***** assert (iradon (single ([0; 1; 1; 0]), 90)); 346s ***** assert (iradon (double ([0; 1; 1; 0]), 90)); 346s ***** assert (iradon (int8 ([0; 1; 1; 0]), 90)); 346s ***** assert (iradon (int16 ([0; 1; 1; 0]), 90)); 346s ***** assert (iradon (int32 ([0; 1; 1; 0]), 90)); 346s ***** assert (iradon (int64 ([0; 1; 1; 0]), 90)); 346s ***** assert (iradon (uint8 ([0; 1; 1; 0]), 90)); 346s ***** assert (iradon (uint16 ([0; 1; 1; 0]), 90)); 346s ***** assert (iradon (uint32 ([0; 1; 1; 0]), 90)); 346s ***** assert (iradon (uint64 ([0; 1; 1; 0]), 90)); 346s ***** assert (iradon (logical ([0; 1; 1; 0]), 90)); 346s ***** assert (iradon (ones (5), 1:5)); 346s ***** assert (iradon (ones (5), 1:5, 'nearest')); 346s ***** assert (iradon (ones (5), 1:5, 'linear')); 346s ***** assert (iradon (ones (5), 1:5, 'spline')); 346s ***** assert (iradon (ones (5), 1:5, 'pchip')); 346s ***** assert (iradon (ones (5), 1:5, 'linear', 'None')); 346s ***** assert (iradon (ones (5), 1:5, 'linear', 'Ram-Lak')); 346s ***** assert (iradon (ones (5), 1:5, 'linear', 'Shepp-Logan')); 346s ***** assert (iradon (ones (5), 1:5, 'linear', 'Cosine')); 346s ***** assert (iradon (ones (5), 1:5, 'linear', 'Hamming')); 346s ***** assert (iradon (ones (5), 1:5, 'linear', 'Hann')); 346s ***** assert (iradon (ones (5), 1:5, 'linear', 'None', 0.45)); 346s ***** assert (iradon (ones (5), 1:5, 'linear', 'None', 0.45, 5)); 346s ***** test 346s [R, F] = iradon (ones (5), 1:5); 346s assert(isvector(F)); 346s assert(ismatrix(R)); 346s ***** error iradon (); 346s ***** error iradon ('xxx'); 346s ***** error iradon (ones (2), 'xxx'); 346s ***** error iradon (ones (5), 1:5, 'foo'); 346s ***** error iradon (ones (5), 1:5, 'linear', 'foo'); 346s ***** error iradon (ones (5), 1:5, 'linear', 'none', 'foo'); 346s ***** error iradon (ones (5), 1:5, 'linear', 'none', 0.65, 'foo'); 346s ***** test 346s A = iradon([0; 1; 1; 0], 90); 346s A_matlab = 0.4671 .* ones (2); 346s assert (A, A_matlab, 0.02); # as Matlab compatible as iradon outputs currently get 346s ***** test 346s A = iradon (radon (ones (2, 2), 0:5), 0:5, "nearest", "none"); 346s A_matlab = [1, 1, 1, 1]' * [0.4264, 2.7859, 2.7152, 0.3557]; 346s assert (A, A_matlab, 0.0001); 346s ***** test 346s P = phantom (128); 346s R = radon (P, 0:179); 346s 346s IR = iradon (R, 0:179, [], [], [], 128); # (errors in Matlab because of []s) 346s D = P - IR; 346s maxdiff = max (abs (D(:))); 346s maxdiff_matlab = 0.3601; 346s assert (maxdiff, maxdiff_matlab, 0.002); 346s meandiff = mean (abs (D(:))); 346s meandiff_matlab = 0.0218; 346s assert (meandiff, meandiff_matlab, 0.001); 346s 346s filtername = "None"; 346s IR = iradon (R, 0:179, [], filtername, [], 128); 346s D = P - IR; 346s maxdiff = max (abs (D(:))); 346s maxdiff_matlab = 36.5671; 346s assert (maxdiff, maxdiff_matlab, 0.0001); 346s meandiff = mean (abs (D(:))); 346s meandiff_matlab = 24.6302; 346s assert (meandiff, meandiff_matlab, 0.0001); 346s 346s filtername = "Ram-Lak"; # is same as default 346s IR = iradon (R, 0:179, [], filtername, [], 128); 346s D = P - IR; 346s maxdiff = max (abs (D(:))); 346s maxdiff_matlab = 0.3601; 346s assert (maxdiff, maxdiff_matlab, 0.002); 346s meandiff = mean (abs (D(:))); 346s meandiff_matlab = 0.0218; 346s assert (meandiff, meandiff_matlab, 0.001); 346s 346s filtername = "Hamming"; 346s IR = iradon (R, 0:179, [], filtername, [], 128); 346s D = P - IR; 346s maxdiff = max (abs (D(:))); 346s maxdiff_matlab = 0.5171; 346s assert (maxdiff, maxdiff_matlab, 0.005); 346s meandiff = mean (abs (D(:))); 346s meandiff_matlab = 0.0278; 346s assert (meandiff, meandiff_matlab, 0.003); 346s 346s filtername = "Shepp-Logan"; 346s IR = iradon (R, 0:179, [], filtername, [], 128); 346s D = P - IR; 346s maxdiff = max (abs (D(:))); 346s maxdiff_matlab = 0.3941; 346s assert (maxdiff, maxdiff_matlab, 0.005); 346s meandiff = mean (abs (D(:))); 346s meandiff_matlab = 0.0226; 346s assert (meandiff, meandiff_matlab, 0.0015); 346s 346s filtername = "Cosine"; 346s IR = iradon (R, 0:179, [], filtername, [], 128); 346s D = P - IR; 346s maxdiff = max (abs (D(:))); 346s maxdiff_matlab = 0.4681; 346s assert (maxdiff, maxdiff_matlab, 0.005); 346s meandiff = mean (abs (D(:))); 346s meandiff_matlab = 0.0249; 346s assert (meandiff, meandiff_matlab, 0.002); 346s 346s filtername = "Hann"; 346s IR = iradon (R, 0:179, [], filtername, [], 128); 346s D = P - IR; 346s maxdiff = max (abs (D(:))); 346s maxdiff_matlab = 0.5334; 346s assert (maxdiff, maxdiff_matlab, 0.005); 346s meandiff = mean (abs (D(:))); 346s meandiff_matlab = 0.0285; 346s assert (meandiff, meandiff_matlab, 0.0025); 349s ***** demo 349s P = phantom (); 349s figure, imshow (P, []), title ("Original image") 349s projections = radon (P, 0:179); 349s reconstruction = iradon (projections, 0:179, 'Spline', 'Hann'); 349s figure, imshow (reconstruction, []), title ("Reconstructed image") 349s 35 tests, 35 passed, 0 known failure, 0 skipped 349s [inst/imsubtract.m] 349s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imsubtract.m 349s ***** assert (imsubtract (uint8 ([23 250]), uint8 ([24 50])), uint8 ([ 0 200])); # default to first class and truncate 349s ***** assert (imsubtract (uint8 ([23 250]), 10), uint8 ([13 240])); # works subtracting a scalar 349s ***** assert (imsubtract (uint8 ([23 250]), uint8 ([24 50]), "uint16"), uint16 ([ 0 200])); # defining output class works (not in matlab) 349s ***** assert (imsubtract (logical ([ 1 0]), logical ([ 1 1])), double ([ 0 -1])); # return double for two logical images 349s ***** assert (imsubtract (logical ([ 1 0]), logical ([ 1 1]), "logical"), logical ([ 0 0])); # this is matlab incompatible on purpose 349s ***** error imsubtract (uint8 ([23 250]), uint16 ([23 250])); 349s ***** warning imsubtract (uint8 ([23 250]), uint8 ([24 255]), "int8"); 349s ***** test 349s warning ("off", "all"); 349s assert (imsubtract (uint8 ([23 250]), uint8 ([24 255]), "int8"), 349s int8 ([-1 0])) 349s 8 tests, 8 passed, 0 known failure, 0 skipped 349s [inst/imgetfile.m] 349s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imgetfile.m 349s ***** assert (1) 349s 1 test, 1 passed, 0 known failure, 0 skipped 349s [inst/imadd.m] 349s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imadd.m 349s ***** assert (imadd (uint8 ([23 250]), uint8 ([23 250])), uint8 ([46 255])); # default to first class and truncate 349s ***** assert (imadd (uint8 ([23 250]), 10), uint8 ([33 255])); # works adding a scalar 349s ***** assert (imadd (uint8 ([23 250]), uint8 ([23 250]), "uint16"), uint16 ([46 500])); # defining output class works 349s ***** assert (imadd (logical ([ 1 0]), logical ([ 1 1])), double ([ 2 1])); # return double for two logical images 349s ***** assert (imadd (logical ([ 1 0]), logical ([ 1 1]), "logical"), logical ([ 1 1])); # this is matlab incompatible on purpose 349s ***** fail ("imadd (uint8 ([23 250]), uint16 ([23 250]))"); # input need to have same class 349s 6 tests, 6 passed, 0 known failure, 0 skipped 349s [inst/viscircles.m] 349s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/viscircles.m 349s ***** demo 349s centers = randi ([0 100], 5, 2); 349s radii = randi ([10 100], 5, 1); 349s axis equal 349s viscircles (centers, radii, 349s "Color", "magenta", 349s "LineStyle", ":", 349s "LineWidth", 5); 349s title ("5 random circles"); 349s #---------------------------------------------- 349s # the figure window shows 5 circles with random 349s # radii and positions 349s ***** test # old undocumented property 349s h = viscircles ([0 0], 1, "EdgeColor", "black"); 349s assert (get (get (h, "children")(1), "color"), [0 0 0]) 349s ***** test # old undocumented property 349s h = viscircles ([0 0], 1, "DrawBackgroundCircle", false); 349s assert (numel (get (h, "children")), 1) 349s ***** error ... 349s viscircles ([0 0], 1, "Color", "magenta", "EdgeColor", "black") 349s ***** test 349s centers = randi ([0 100], 5, 2); 349s radii = randi ([0 100], 5, 1); 349s h = viscircles (centers, radii); 349s close; 349s ***** test 349s centers = randi ([0 100], 5, 2); 349s radii = randi ([0 100], 5, 1); 349s figure (); 349s h = viscircles (gca (), centers, radii); 349s close; 350s ***** test 350s centers = randi ([0 100], 5, 2); 350s radii = randi ([0 100], 5, 1); 350s h = viscircles (centers, radii, "Color", "magenta", 350s "LineStyle", ":", "LineWidth", 5); 350s close; 350s ***** test 350s centers = randi ([0 100],5,2); 350s radii = randi ([0 100],5,1); 350s figure (); 350s h = viscircles (centers, radii, "Color", "magenta", 350s "LineStyle", ":", "LineWidth", 5); 350s close; 350s 7 tests, 7 passed, 0 known failure, 0 skipped 350s [inst/entropyfilt.m] 350s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/entropyfilt.m 350s ***** test 350s a = log2 (9) * ones (5, 5); 350s b = -(2*log2 (2/9) + log2 (1/9))/3; 350s a(1,2:4) = b; 350s a(5,2:4) = b; 350s a(2:4,1) = b; 350s a(2:4,5) = b; 350s c = -(4*log2 (4/9) + 4*log2 (2/9) + log2 (1/9))/9; 350s a(1,1) = c; 350s a(5,1) = c; 350s a(1,5) = c; 350s a(5,5) = c; 350s assert (entropyfilt (uint8 (magic (5)), ones (3, 3)), a, 2*eps); 350s ***** test 350s assert (entropyfilt (uint8 (ones (10, 10))), zeros (10, 10)); 350s ***** test 350s A = zeros (3,3); 350s B = ones (3,3); 350s C = [1 1 1; 2 2 2; 3 3 3]; 350s D = C'; 350s E = ones (3,3); 350s E(2,2) = 2; 350s F = 3 .* ones (3,3); 350s F(2,2) = 1; 350s G = [-1 2 7; -5 2 8; -7 pi 9]; 350s H = [5 2 8; 1 -3 1; 5 1 0]; 350s Hf = mat2gray(H); 350s X = uint8(abs(H)); 350s P = [0.2 0.201 0.204; 0.202 0.203 0.205; 0.205 0.206 0.202]; 350s Q = uint16([100 101 103; 100 105 102; 100 102 103]); 350s R = uint8([1 2 3 4 5; 11 12 13 14 15; 21 22 4 5 6; 5 5 3 2 1; 15 14 14 14 14]); 350s Aout = zeros (3); 350s Bout = zeros (3); 350s Cout = zeros (3); 350s Dout = zeros (3); 350s Eout = zeros (3); 350s Fout = zeros (3); 350s Gout_1 = -sum([2 7]./9.*log2([2 7]./9)); 350s Gout_2 = -sum([3 6]./9.*log2([3 6]./9)); 350s Gout_3 = -sum([4 5]./9.*log2([4 5]./9)); 350s Gout = [Gout_1 Gout_2 Gout_3; Gout_1 Gout_2 Gout_3; Gout_1 Gout_2 Gout_3]; 350s Hout_5 = -sum([2 7]./9.*log2([2 7]./9)) ; 350s Hout = [0.8916 0.8256 0.7412; 0.8256 Hout_5 0.6913; 0.7412 0.6913 0.6355]; 350s Hfout_5 = -sum([3 2 1 1 1 1]./9.*log2([3 2 1 1 1 1]./9)); 350s Hfout = [2.3613 2.3296 2.2252; 2.4571 Hfout_5 2.3090; 2.4805 2.4488 2.3445]; 350s Xout_5 = -sum([1 1 1 1 2 3]./9.*log2([1 1 1 1 2 3]./9)); 350s Xout = [2.3613 2.3296 2.2252; 2.4571 Xout_5 2.3090; 2.4805 2.4488 2.3445]; 350s Pout_5 = -sum([1 2 6]./9.*log2([1 2 6]./9)); 350s Pout = [1.1137 1.1730 1.2251; 1.1595 Pout_5 1.2774; 1.1556 1.2183 1.2635]; 350s Qout = zeros(3); 350s Rout = [3.5143 3.5700 3.4871 3.4957 3.4825; 350s 3.4705 3.5330 3.4341 3.4246 3.3890; 350s 3.3694 3.4063 3.3279 3.3386 3.3030; 350s 3.3717 3.4209 3.3396 3.3482 3.3044; 350s 3.4361 3.5047 3.3999 3.4236 3.3879]; 350s assert (entropyfilt (A), Aout); 350s assert (entropyfilt (B), Bout); 350s assert (entropyfilt (C), Cout); 350s assert (entropyfilt (D), Dout); 350s assert (entropyfilt (E), Eout); 350s assert (entropyfilt (F), Fout); 350s assert (entropyfilt (G), Gout, 1e-4); 350s assert (entropyfilt (H), Hout, 1e-4); 350s assert (entropyfilt (Hf), Hfout, 1e-4); 350s assert (entropyfilt (X), Xout, 1e-4); 350s assert (entropyfilt (P), Pout, 1e-4); 350s assert (entropyfilt (Q), Qout); 350s assert (entropyfilt (R), Rout, 1e-4); 350s 3 tests, 3 passed, 0 known failure, 0 skipped 350s [inst/hough.m] 350s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/hough.m 350s ***** shared BW0, BW1, BW2, BWx, BWy 350s 350s BW0 = false (5); 350s BW0(2,2) = true; 350s 350s BW1 = zeros (100, 100); 350s BW1(1,1) = 1; 350s BW1(100,100) = 1; 350s BW1(1,100) = 1; 350s BW1(100, 1) = 1; 350s BW1(50,50) = 1; 350s 350s n = 100; 350s BW2 = false (n); 350s a = 50; # line starts at left side at row a 350s b = 3; # slope of line is 1:b 350s for column = 1:n 350s if (rem (column, b) == 0) 350s row = a - column/b; 350s BW2(row, column) = true; 350s endif 350s endfor 350s 350s BWx = false (10); 350s BWx(:,5) = true; 350s 350s BWy = false (10); 350s BWy(5,:) = true; 350s ***** test 350s [H, T, R] = hough (BW1); 350s assert (size (H), [283 180]); 350s ***** test 350s [H, T, R] = hough (BW1, "Theta", [-90 0 45 79]); 350s assert (size (H), [283 4]); 350s ***** test 350s [H, T, R] = hough (BW1, "ThetaResolution", 0.5); 350s assert (size (H), [283 360]); 350s ***** error hough ("foo") 350s ***** test 350s I = [0 0 1 0; 1 1 1 1; 0 0 1 1; 0 0 1 0]; 350s I2 = I; 350s for v = [0.7 0.2 5] 350s I2(1,3) = v; 350s assert (hough (I2), hough (I)) 350s endfor 350s ***** error 350s [H, T, R] = hough (BW0, "Theta"); 350s ***** error 350s [H, T, R] = hough (BW0, "Theta", ones (10)); 350s ***** error 350s [H, T, R] = hough (BW0, "Theta", [5 -i 7]); 350s ***** error 350s [H, T, R] = hough (BW0, "RhoResolution", 0.5); 350s ***** test 350s [Hd, Td, Rd] = hough (BW0); 350s [H1, T1, R1] = hough (BW0, "RhoResolution", 1); 350s assert (Hd, H1) 350s assert (Td, T1) 350s assert (Rd, R1) 350s ***** test 350s [H, theta, rho] = hough (BW2); 350s H_max = max (H(:)); 350s H_size = size (H); 350s [~, max_idx_lin] = max (H(:)); 350s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 350s theta_max = theta(max_column); 350s rho_max = rho(max_row); 350s assert (H_max , 33); 350s assert (H_size, [283 180]); 350s assert (max_row, 188); 350s assert (max_column, 163); 350s assert (theta_max, 72); 350s assert (rho_max, 46); 350s ***** test 350s [H, theta, rho] = hough (BW2, "Theta", [65:1:75]); 350s H_max = max (H(:)); 350s H_size = size (H); 350s [~, max_idx_lin] = max (H(:)); 350s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 350s theta_max = theta(max_column); 350s rho_max = rho(max_row); 350s assert (H_max , 33); 350s assert (H_size, [283 11]); 350s assert (max_row, 188); 350s assert (max_column, 8); 350s assert (theta_max, 72); 350s assert (rho_max, 46); 350s ***** test 350s [H, theta, rho] = hough (BW2, "Theta", [-90:0.5:89.5]); 350s H_max = max (H(:)); 350s H_size = size (H); 350s [~, max_idx_lin] = max (H(:)); 350s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 350s theta_max = theta(max_column); 350s rho_max = rho(max_row); 350s assert (H_max , 33); 350s assert (H_size, [283 360]); 350s assert (max_row, 188); 350s assert (max_column, 324); 350s assert (theta_max, 71.5); 350s assert (rho_max, 46); 350s ***** test 350s [H, theta, rho] = hough (BW2, "ThetaResolution", 0.5); 350s H_max = max (H(:)); 350s H_size = size (H); 350s [~, max_idx_lin] = max (H(:)); 350s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 350s theta_max = theta(max_column); 350s rho_max = rho(max_row); 350s assert (H_max , 33); 350s assert (H_size, [283 360]); 350s assert (max_row, 188); 350s assert (max_column, 324); 350s assert (theta_max, 71.5); 350s assert (rho_max, 46); 350s ***** test 350s [H, theta, rho] = hough (BWx); 350s H_max = max (H(:)); 350s [~, max_idx_lin] = max (H(:)); 350s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 350s theta_max = theta(max_column); 350s rho_max = rho(max_row); 350s assert (H_max , 10); 350s assert (max_column, 88); 350s assert (theta_max, -3); 350s assert (rho_max, 4); 350s ***** test 350s [H, theta, rho] = hough (BWx); 350s H_size = size (H); 350s [~, max_idx_lin] = max (H(:)); 350s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 350s assert (H_size, [27 180]); 350s assert (max_row, 18); 350s ***** test 350s [H, theta, rho] = hough (BWy); 350s H_max = max (H(:)); 350s [~, max_idx_lin] = max (H(:)); 350s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 350s theta_max = theta(max_column); 350s rho_max = rho(max_row); 350s assert (H_max , 10); 350s assert (max_column, 1); 350s assert (theta_max, -90); 350s assert (rho_max, -4); 350s ***** test 350s [H, theta, rho] = hough (BWy); 350s H_size = size (H); 350s [~, max_idx_lin] = max (H(:)); 350s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 350s assert (H_size, [27 180]); 350s assert (max_row, 10); 350s ***** demo 350s BW = zeros (100, 150); 350s BW(30,:) = 1; 350s BW(:, 65) = 1; 350s BW(35:45, 35:50) = 1; 350s for i = 1:90 350s BW(i,i) = 1; 350s endfor 350s BW = imnoise (BW, "salt & pepper"); 350s figure (); 350s imshow (BW); 350s title ("BW"); 350s [H, theta, rho] = hough (BW); 350s H /= max (H(:)); 350s figure (); 350s imshow (H, "XData", theta, "YData", rho); 350s title ("hough transform of BW"); 350s axis on; 350s xlabel ("angle \\theta [degrees]"); 350s ylabel ("distance \\rho to origin [pixels]"); 350s 18 tests, 18 passed, 0 known failure, 0 skipped 350s [inst/normxcorr2.m] 350s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/normxcorr2.m 350s ***** function offsets = get_max_offsets (c) 350s l = find (c == max (c(:))); 350s offsets = nthargout (1:ndims (c), @ind2sub, size (c), l); 350s ***** endfunction 350s ***** test 350s row_shift = 18; 350s col_shift = 20; 350s a = randi (255, 30, 30); 350s b = a(row_shift-10:row_shift, col_shift-7:col_shift); 350s c = normxcorr2 (b, a); 350s ## should return exact coordinates 350s assert (get_max_offsets (c), {row_shift col_shift}); 350s 350s ## Even with some small noise, should return exact coordinates 350s b = imnoise (b, "gaussian"); 350s c = normxcorr2 (b, a); 350s assert (get_max_offsets (c), {row_shift col_shift}); 350s ***** xtest 350s a = rand (10, 10); 350s c = normxcorr2 (a(5:7, 6:9), a); 350s assert (c(7, 9), 1, eps*100); 350s ***** test 350s a = 10 * randn (100, 100); 350s auto = normxcorr2 (a, a); 350s add_in = normxcorr2 (a, -a); 350s assert (auto, -add_in); 350s ***** test 350s a = 10 * randn (50, 50); 350s b = 10 * randn (100, 100); 350s do 350s scale = 100 * rand (); 350s until (scale != 0) 350s 350s assert (max ((normxcorr2 (scale*a,b) - normxcorr2 (a,b))(:)), 0, 1e-10); 350s assert (max ((normxcorr2 (a,scale*b) - normxcorr2 (a,b))(:)), 0, 1e-10); 350s 350s a_shift1 = a + scale * ones (size (a)); 350s b_shift1 = b + scale * ones (size (b)); 350s a_shift2 = a - scale * ones (size (a)); 350s b_shift2 = b - scale * ones (size (b)); 350s assert (max ((normxcorr2 (a_shift1,b) - normxcorr2 (a,b))(:)), 0, 1e-10); 350s assert (max ((normxcorr2 (a,b_shift1) - normxcorr2 (a,b))(:)), 0, 1e-10); 350s assert (max ((normxcorr2 (a_shift2,b) - normxcorr2 (a,b))(:)), 0, 1e-10); 350s assert (max ((normxcorr2 (a,b_shift2) - normxcorr2 (a,b))(:)), 0, 1e-10); 350s ***** test 350s a = randi (100, 15, 15, 15); 350s c = normxcorr2 (a(5:10, 2:6, 3:7), a); 350s assert (get_max_offsets (c), {10 6 7}); 350s 350s a = randi (100, 15, 15, 15); 350s c = normxcorr2 (a(5:10, 2:6, 1:1), a); 350s assert (get_max_offsets (c), {10 6 1}); 350s ***** warning normxcorr2 (rand (20), rand (5)); 350s ***** error normxcorr2 (rand (5)); 351s ***** error normxcorr2 (rand (5), rand (20), 2); 351s ***** test 351s a = [ 252 168 50 1 59; 351s 114 0 0 0 0] ./ 255; 351s b = [ 1 171 255 255 255 255 240 71 131 254 255 255 255; 351s 0 109 254 255 255 233 59 0 131 254 255 255 255; 351s 76 13 195 253 194 34 0 19 217 255 255 255 255; 351s 110 0 0 0 0 0 3 181 255 255 255 255 255; 351s 153 0 0 0 0 2 154 254 255 255 255 255 255]./255; 351s c = normxcorr2 (a, b); 351s assert (max (imag (c(:))), 0); 351s ***** test 351s img = [1 1 1 0]; 351s t = [1 1 0]; 351s c = normxcorr2 (t, img); 351s assert (c(3), 0) 351s 10 tests, 10 passed, 0 known failure, 0 skipped 351s [inst/bweuler.m] 351s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/bweuler.m 351s ***** demo 351s A=zeros(9,10); 351s A([2,5,8],2:9)=1; 351s A(2:8,[2,9])=1 351s bweuler(A) 351s # Euler number (objects minus holes) is 1-2=-1 in an 8-like object 351s ***** test 351s A=zeros(10,10); 351s A(2:9,3:8)=1; 351s A(4,4)=0; 351s A(8,8)=0; # not a hole 351s A(6,6)=0; 351s assert(bweuler(A),-1); 351s ***** test 351s A=zeros(10,10); 351s A(2:4,2:4)=1; 351s A(5:8,5:8)=1; 351s assert(bweuler(A,4),2); 351s assert(bweuler(A,8),1); 351s assert(bweuler(A),1); 351s ***** error <2 dimensions> bweuler (true (5, 5, 1, 5)) 351s 3 tests, 3 passed, 0 known failure, 0 skipped 351s [inst/axes2pix.m] 351s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/axes2pix.m 351s ***** error id=Octave:invalid-fun-call axes2pix () 351s ***** error id=Octave:invalid-fun-call axes2pix (42) 351s ***** error id=Octave:invalid-fun-call axes2pix (42, [1, 2]) 351s ***** error id=Octave:invalid-input-arg axes2pix ([42, 43], [1, 2], [1, 2, 3]) 351s ***** error id=Octave:invalid-input-arg axes2pix (42, [1, 2; 3, 4], [1, 2, 3]) 351s ***** assert (axes2pix (42, [1 42], []), []) 351s ***** assert (axes2pix (240, [1, 240], 30), 30) 351s ***** assert (axes2pix (291, [1, 291], 30), 30) 351s ***** assert (axes2pix (240, [400.5, 520], 450), 100) 351s ***** assert (axes2pix (291, [-19, 271], 90), 110) 351s ***** assert (axes2pix (1, [1 1], [0, 1, 2, 3, 4]), [0, 1, 2, 3, 4]) 351s ***** assert (axes2pix (5, [1 1], [0, 1, 2, 3, 4]), [0, 1, 2, 3, 4]) 351s ***** assert (axes2pix (0, [1 1], [0, 1, 2, 3, 4]), [0, 1, 2, 3, 4]) 351s ***** assert (axes2pix (5, [5 1], [1, 2, 3, 4, 5]), [5, 4, 3, 2, 1]) 351s ***** assert (axes2pix (5, [3 -1], [1, 2, 3, 4, 5]), [3, 2, 1, 0, -1]) 351s ***** assert (axes2pix (25, [5 1], [1, 2, 3, 4, 5]), [25, 19, 13, 7, 1]) 351s ***** assert (axes2pix (1, [1 5], [1, 2, 3, 4, 5]), [1, 2, 3, 4, 5]) 351s ***** assert (axes2pix (1, [5 1], [-1, 0, 1, 2.5]), [-5, -4, -3, -1.5]) 351s ***** assert (axes2pix (1, [-10 -15], [-1, 0, 1.5]), [10, 11, 12.5]) 351s ***** assert (axes2pix (5, [5; 1], [1, 2, 3, 4, 5]), [5, 4, 3, 2, 1]) 351s ***** assert (axes2pix (5, [5; 1], [1; 2; 3; 4; 5]), [5; 4; 3; 2; 1]) 351s 21 tests, 21 passed, 0 known failure, 0 skipped 351s [inst/bestblk.m] 351s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/bestblk.m 351s ***** demo 351s siz = bestblk ([200; 10], 50); 351s disp (siz) 351s ***** error bestblk ("string") 351s ***** error bestblk ([100 200], "string") 351s ***** error <2 elements> bestblk ([100], 5) 351s ***** assert (bestblk ([ 10 12], 2), [ 2 2]); 351s ***** assert (bestblk ([ 10 12], 3), [ 2 3]); 351s ***** assert (bestblk ([300 100], 150), [150 100]); 351s ***** assert (bestblk ([256 128], 17), [ 16 16]); 351s ***** assert (bestblk ([ 17 17], 3), [ 3 3]); 351s ***** assert (bestblk ([230 470]), bestblk ([230 470], 100)) 351s ***** assert (bestblk ([10 12 10], 3), [2 3 2]); 351s ***** assert (bestblk ([ 9 12 9], 3), [3 3 3]); 351s ***** assert (bestblk ([10 12 10 11], 5), [5 4 5 4]); 351s 12 tests, 12 passed, 0 known failure, 0 skipped 351s [inst/bwhitmiss.m] 351s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/bwhitmiss.m 351s ***** test 351s bw1 = repmat ([0 1 0 1 1], [3 1]); 351s bw2 = repmat ([0 1 0 0 0], [3 1]); 351s assert (bwhitmiss (bw1, [1; 0; 1], [1 0 1]), logical (bw2)) 351s assert (bwhitmiss (bw1, [0 1 0; -1 0 -1; 0 1 0]), logical (bw2)) 351s 1 test, 1 passed, 0 known failure, 0 skipped 351s [inst/imfindcircles.m] 351s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imfindcircles.m 351s ***** shared im0, rgb0, im1 351s im0 = [0 0 0 0 0; 351s 0 1 2 1 0; 351s 0 2 5 2 0; 351s 0 1 2 1 0; 351s 0 0 0 0 0]; 351s rgb0 = cat (3, im0, 3.*im0, 2.*im0); 351s im1 = zeros (20); 351s im1(2:6, 5:9) = 1; 351s im1(13:19, 13:19) = 1; 351s ***** function image = circlesimage (numx, numy, centersx, centersy, rs, values) 351s ## create an image with circles of given parameters 351s num = length (centersx); 351s image = zeros (numy, numx); 351s [indy, indx] = meshgrid (1:numx, 1:numy); 351s for n = 1:num 351s centerx = centersx(n); 351s centery = centersy(n); 351s r = rs(n); 351s value = values(n); 351s dist_squared = (indx - centerx).^ 2 + (indy - centery).^ 2; 351s image(dist_squared <= (r-0.5)^2) = value; 351s endfor 351s ***** endfunction 351s ***** error imfindcircles () 352s ***** error imfindcircles (im0) 352s ***** error imfindcircles (im0, [1 2 3]) 352s ***** error imfindcircles (im0, -3) 352s ***** error imfindcircles (im0, 4+2*i) 352s ***** error imfindcircles (ones (5,5,4), 2) 352s ***** error imfindcircles (ones (5,5,5,5), 2) 352s ***** error imfindcircles (im0, [2 1]) 352s ***** error imfindcircles (im0, 2, "rubbish") 352s ***** error imfindcircles (im0, 2, "more", "rubbish") 352s ***** error imfindcircles (im0, 2, "ObjectPolarity", "rubbish") 352s ***** error imfindcircles (im0, 2, "ObjectPolarity", 5) 352s ***** error imfindcircles (im0, 2, "ObjectPolarity") 352s ***** error imfindcircles (im0, 2, "Method", "rubbish") 352s ***** error imfindcircles (im0, 2, "Method", 5) 352s ***** error imfindcircles (im0, 2, "Method") 352s ***** error imfindcircles (im0, 2, "Sensitivity", "rubbish") 352s ***** error imfindcircles (im0, 2, "Sensitivity") 353s ***** error imfindcircles (im0, 2, "Sensitivity", -0.1) 353s ***** error imfindcircles (im0, 2, "Sensitivity", 1.1) 353s ***** error imfindcircles (im0, 2, "Sensitivity", [0.1 0.2]) 353s ***** error imfindcircles (im0, 2, "EdgeThreshold", "rubbish") 353s ***** error imfindcircles (im0, 2, "EdgeThreshold") 353s ***** error imfindcircles (im0, 2, "EdgeThreshold", -0.1) 353s ***** error imfindcircles (im0, 2, "EdgeThreshold", 1.1) 353s ***** error imfindcircles (im0, 2, "EdgeThreshold", [0.1 0.2]) 353s ***** error imfindcircles (im0, 2, "EdgeThreshold", 0.1, "ObjectPolarity", "bright", 353s "Sensitivity", 0.3, "Method", "PhaseCode", "more", 1) 353s ***** test # none of this should fail 353s imfindcircles (im0, 2); 353s imfindcircles (im0, [1 2]); 353s imfindcircles (logical (im0), 2); 353s imfindcircles (logical (im0), [1 2]); 353s imfindcircles (rgb0, 2); 353s imfindcircles (rgb0, [1 2]); 353s imfindcircles (uint8 (im0), 2); 353s imfindcircles (uint8 (im0), [1 2]); 353s imfindcircles (im0, 2, "ObjectPolarity", "bright"); 353s imfindcircles (im0, 2, "ObjectPolarity", "dark"); 353s imfindcircles (im0, 2, "Method", "PhaseCode"); 353s imfindcircles (im0, 2, "Sensitivity", 0.5); 353s imfindcircles (im0, 2, "EdgeThreshold", 0.5); 353s imfindcircles (im0, 2, "ObjectPolarity", "bright", "Method", "PhaseCode"); 353s imfindcircles (im0, 2, "ObjectPolarity", "bright", "Sensitivity", 0.3, 353s "Method", "PhaseCode"); 353s imfindcircles (im0, 2, "EdgeThreshold", 0.1, "ObjectPolarity", "bright", 353s "Sensitivity", 0.3, "Method", "PhaseCode"); 353s ***** test 353s centers = imfindcircles (im1, 2); 353s assert (size (centers, 2), 2) 353s assert (class (centers), "double") 353s ***** test 353s [centers, radii] = imfindcircles (im1, [1 5]); 353s assert (size (centers, 2), 2) 353s assert (size (radii, 2), 1) 353s assert (class (radii), "double") 353s ***** test 353s [centers, radii, strengths] = imfindcircles (im1, [1 5]); 353s assert (size (strengths, 2), 1) 353s assert (class (strengths), "double") 353s ***** error [a b c d] = imfindcircles (im0, 2); 353s ***** test ## sub-pixel accuracy of circle center 353s xs = [95.7]; 353s ys = [101.1]; 353s rs = [50]; 353s vals = [0.5]; 353s im = circlesimage (200, 200, xs, ys, rs, vals); 353s filt = ones (3) ./ 9; 353s im = imfilter (im, filt); 353s [centers, radii] = imfindcircles (im, [40 60]); 353s assert (centers, [101.1, 95.7], 0.1); 353s assert (radii, 50, 1); 353s ***** test 353s ## specificity to circular shapes and strengths output value 353s xs = [100 202]; 353s ys = [101, 203]; 353s rs = [40, 41]; 353s vals = [0.8, 0.9]; 353s im = circlesimage (300, 300, xs, ys, rs, vals); 353s filt = ones (3) ./ 9; 353s im = imfilter (im, filt); 353s im(30:170, 50:100) = 0; 353s im(20:120, 180:280) = 1; 353s [centers, radii, strengths] = imfindcircles (im, [30 50], "Sensitivity", 0.9); 353s assert (size (centers), [2 2]); 353s assert (centers, [203, 202; 101, 100], 1.5); 353s assert (radii, [40; 41], 2.5); 353s assert (strengths(1) / strengths(2) > 1.8, true); 353s ***** test # radius range parameter & dark circles 353s xs = [50, 420, 180]; 353s ys = [80, 100, 200]; 353s rs = [35, 30, 40]; 353s vals = [0.7, 0.8, 0.9]; 353s im = circlesimage (300, 500, xs, ys, rs, vals); 353s filt = ones (3) ./ 9; 353s im = imfilter (im, filt); 353s [centers1, radii1] = imfindcircles (im, [28 36]); 353s [centers2, radii2] = imfindcircles (im, [28 42]); 353s assert (size (centers1), [2 2]); 353s assert (centers1, [100 420; 80 50], 0.2); 353s assert (radii1, [30; 35], 2); 353s assert (size (centers2), [3 2]); 353s im_dark = 1-im; 353s [centers_dark, radii_dark, strengths_dark] = imfindcircles (im_dark, [25 42], "ObjectPolarity", "dark"); 353s assert (sortrows (centers_dark), [80 50; 100 420; 200 180], 0.2); 353s assert (sortrows (radii_dark), [30; 35; 40], 1); 354s ***** test # ability to find circles with big radius 354s xs = [111, 555, 341]; 354s ys = [222, 401, 161]; 354s rs = [45, 50, 150]; 354s vals = [0.6, 0.8, 0.7]; 354s im = circlesimage (400, 701, xs, ys, rs, vals); 354s [centers, radii] = imfindcircles (im, [140 160], "Sensitivity", 0.98); 354s assert (centers, [161, 341], 0.2); 354s assert (radii, 150, 1); 354s ***** test # overlapping circles 354s xs = [105, 155]; 354s ys = [202, 221]; 354s rs = [45, 50]; 354s vals = [0.5, 0.8]; 354s im = circlesimage(385, 422, xs, ys, rs, vals); 354s filt = ones (3) ./ 9; 354s im = imfilter (im, filt); 354s [centers, radii] = imfindcircles (im, [30 80]); 354s assert (centers, [221, 155; 202, 105], 0.5); 354s assert (radii, [50; 45], 1); 354s ***** test # overlapping circles, only 10 pixels apart 354s xs = [155, 155]; 354s ys = [175, 157]; 354s rs = [50, 50]; 354s vals = [0.7, 0.8]; 354s im = circlesimage (300, 300, xs, ys, rs, vals); 354s filt = ones (3) ./ 9; 354s im = imfilter (im, filt); 354s [centers, radii] = imfindcircles (im, [30 80], "Sensitivity", 0.95); 354s assert (centers, [157, 155; 175, 155], 1); 354s assert (radii, [50; 50], 1); 354s ***** test # edge threshold parameter 354s xs = [100 202]; 354s ys = [101, 203]; 354s rs = [40, 41]; 354s vals = [0.1, 0.9]; 354s im = circlesimage (300, 300, xs, ys, rs, vals); 354s filt = ones (3) ./ 9; 354s im= imfilter (im, filt); 354s [centers_auto, radii_auto] = imfindcircles (im, [30 50]); 354s [centers_0, radii_0] = imfindcircles (im, [30 50], "EdgeThreshold", 0); 354s [centers_05, radii_05] = imfindcircles (im, [30 50], "EdgeThreshold", 0.5); 354s assert (centers_auto, [203, 202], 0.2); 354s assert (radii_auto, 41, 1); 354s assert (centers_0, [101, 100; 203, 202], 0.2); 354s assert (radii_0, [40; 41], 1); 354s assert (centers_05, [203, 202], 0.2); 354s assert (radii_05, 41, 1); 354s ***** demo 354s ## First generate an input image: 354s model = [ 1.0 0.2 0.2 0.2 0.5 0 354s 1.0 0.3 0.3 -0.1 -0.2 0 354s -0.5 0.7 0.7 -0.5 0.5 0]; 354s im = phantom (model); 354s im(170:230,170:230) = 1; 354s im = imfilter (im, fspecial ("average", 3)); 354s im = imnoise (im, "salt & pepper"); 354s imshow (im); 354s 354s ## Find and show circles with radius between 20 and 50: 354s [centers, radii] = imfindcircles (im, [20 50]); 354s viscircles (centers, radii) 354s title ("found circles in red") 354s 39 tests, 39 passed, 0 known failure, 0 skipped 354s [inst/imnoise.m] 354s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imnoise.m 354s ***** assert(var(imnoise(ones(10)/2,'gaussian')(:)),0.01,0.005) # probabilistic 354s ***** assert(length(find(imnoise(ones(10)/2,'salt & pepper')~=0.5)),5,10) # probabilistic 354s ***** assert(var(imnoise(ones(10)/2,'speckle')(:)),0.01,0.005) # probabilistic 354s ***** test 354s A = imnoise (.5 * ones (100), 'poisson'); 354s assert (class (A), 'double') 354s ***** test 354s A = imnoise (.5 * ones (100, 'single'), 'poisson'); 354s assert (class (A), 'single') 354s ***** test 354s A = imnoise (128 * ones (100, 'uint8'), 'poisson'); 354s assert (class (A), 'uint8') 354s ***** test 354s A = imnoise (256 * ones (100, 'uint16'), 'poisson'); 354s assert (class (A), 'uint16') 354s ***** demo 354s A = imnoise (2^7 * ones (100, 'uint8'), 'poisson'); 354s subplot (2, 2, 1) 354s imshow (A) 354s title ('uint8 image with poisson noise') 354s A = imnoise (2^15 * ones (100, 'uint16'), 'poisson'); 354s subplot (2, 2, 2) 354s imshow (A) 354s title ('uint16 image with poisson noise') 354s A = imnoise (.5 * ones (100), 'poisson'); 354s subplot (2, 2, 3) 354s imshow (A) 354s title ('double image with poisson noise') 354s A = imnoise (.5 * ones (100, 'single'), 'poisson'); 354s subplot (2, 2, 4) 354s imshow (A) 354s title ('single image with poisson noise') 354s 7 tests, 7 passed, 0 known failure, 0 skipped 354s [inst/lab2xyz.m] 354s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/lab2xyz.m 354s ***** assert (lab2xyz ([0, 0, 0]), [0 0 0], 1e-3) 354s ***** assert (lab2xyz ([53.24, 80.09, 67.20]), [0.4125, 0.2127, 0.0193], 1e-3) 354s ***** assert (lab2xyz ([97.14, -21.55, 94.48]), [0.7700, 0.9278, 0.1385], 1e-3) 354s ***** assert (lab2xyz ([87.74, -86.18, 83.18]), [0.3576, 0.7152, 0.1192], 1e-3) 354s ***** assert (lab2xyz ([91.11, -48.09, -14.13]), [0.5380, 0.7873, 1.0694], 1e-3) 354s ***** assert (lab2xyz ([32.30, 79.19, -107.86]), [0.1804, 0.07217, 0.9502], 1e-3) 354s ***** assert (lab2xyz ([60.32, 98.24, -60.83]), [0.5929, 0.28484, 0.9696], 1e-3) 354s ***** assert (lab2xyz ([100, 0.00, 0.00]), [0.9505, 1.0000, 1.0888], 1e-3) 354s ***** assert (lab2xyz ([53.39, 0.00, 0.00]), [0.2034, 0.2140, 0.2330], 1e-3) 354s ***** assert (lab2xyz ([39.77, 64.51, 54.13]), [0.2155, 0.1111, 0.0101], 1e-3) 354s ***** assert (lab2xyz ([25.42, 47.91, 37.91]), [0.0883, 0.0455, 0.0041], 1e-3) 354s ***** assert (lab2xyz ([9.66, 29.68, 15.24]), [0.02094, 0.0108, 0.00098], 1e-3) 354s ***** assert (lab2xyz ([68.11, 48.39, 22.83]), [0.5276, 0.3812, 0.2482], 1e-3) 354s ***** assert (lab2xyz ([150 130 130]), [4.596, 2.931, 0.519], 1e-3) 354s ***** test 354s lab_map = rand (64, 3); 354s lab_map(:,1) = lab_map(:,1) .* 100; 354s lab_map(:,2) = lab_map(:,2) .* 254 - 127; 354s lab_map(:,3) = lab_map(:,3) .* 254 - 127; 354s assert (xyz2lab (lab2xyz (lab_map)), lab_map, 1e-5); 354s ***** test 354s lab_img = rand (64, 64, 3); 354s lab_img(:,:,1) = lab_img(:,:,1) .* 100; 354s lab_img(:,:,2) = lab_img(:,:,2) .* 254 - 127; 354s lab_img(:,:,3) = lab_img(:,:,3) .* 254 - 127; 354s assert (xyz2lab (lab2xyz (lab_img)), lab_img, 1e-5); 354s ***** assert (lab2xyz (sparse ([0 0 0])), [0 0 0], 1e-3) 354s ***** assert (lab2xyz (sparse ([100, 0.00, 0.00])), [0.9505, 1.0000, 1.0888], 1e-3) 354s ***** assert (class (lab2xyz (single([50 50 50]))), 'single') 354s ***** error lab2xyz () 354s ***** error lab2xyz (1,2) 354s ***** error lab2xyz ({1}) 354s ***** error lab2xyz (ones (2,2)) 354s ***** test 354s lab = rand (16, 16, 3, 5); 354s lab(:,:,1,:) = lab(:,:,1,:) .* 100; 354s lab(:,:,2,:) = lab(:,:,2,:) .* 254 - 127; 354s lab(:,:,3,:) = lab(:,:,3,:) .* 254 - 127; 354s xyz = zeros (size (lab)); 354s for i = 1:5 354s xyz(:,:,:,i) = lab2xyz (lab(:,:,:,i)); 354s endfor 354s assert (lab2xyz (lab), xyz) 354s 24 tests, 24 passed, 0 known failure, 0 skipped 354s [inst/imsharpen.m] 354s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imsharpen.m 354s ***** test 354s A = zeros (7, 7); 354s A(4,4) = 1; 354s B = [ 354s 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 354s 0.00000 -0.00238 -0.01064 -0.01755 -0.01064 -0.00238 0.00000 354s 0.00000 -0.01064 -0.04771 -0.07866 -0.04771 -0.01064 0.00000 354s 0.00000 -0.01755 -0.07866 1.67032 -0.07866 -0.01755 0.00000 354s 0.00000 -0.01064 -0.04771 -0.07866 -0.04771 -0.01064 0.00000 354s 0.00000 -0.00238 -0.01064 -0.01755 -0.01064 -0.00238 0.00000 354s 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000]; 354s assert (imsharpen (A), B, 5e-6) 354s ***** test 354s A = zeros (7, 7); 354s A(4,4) = 1; 354s B = [ 354s -0.0035147 -0.0065663 -0.0095539 -0.0108259 -0.0095539 -0.0065663 -0.0035147 354s -0.0065663 -0.0122674 -0.0178490 -0.0202255 -0.0178490 -0.0122674 -0.0065663 354s -0.0095539 -0.0178490 -0.0259701 -0.0294280 -0.0259701 -0.0178490 -0.0095539 354s -0.0108259 -0.0202255 -0.0294280 1.7666538 -0.0294280 -0.0202255 -0.0108259 354s -0.0095539 -0.0178490 -0.0259701 -0.0294280 -0.0259701 -0.0178490 -0.0095539 354s -0.0065663 -0.0122674 -0.0178490 -0.0202255 -0.0178490 -0.0122674 -0.0065663 354s -0.0035147 -0.0065663 -0.0095539 -0.0108259 -0.0095539 -0.0065663 -0.0035147]; 354s assert (imsharpen (A, "radius", 2), B, 5e-8) 354s ***** test 354s A = zeros (7, 7); 354s A(4,4) = 1; 354s assert (imsharpen (A, "radius", 0.01), A) 354s ***** test 354s A = zeros (7, 7); 354s A(4,4) = 1; 354s B = A; 354s B(3:5,3:5) = -0.000000000011110; 354s B(3:5,4) = -0.000002981278097; 354s B(4,3:5) = -0.000002981278097; 354s B(4,4) = 1.000011925156828; 354s assert (imsharpen (A, "radius", 0.2), B, eps*10) 354s ***** test 354s A = zeros (7, 7); 354s A(4,4) = 1; 354s B = [ 354s 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 354s 0.00000 -0.00297 -0.01331 -0.02194 -0.01331 -0.00297 0.00000 354s 0.00000 -0.01331 -0.05963 -0.09832 -0.05963 -0.01331 0.00000 354s 0.00000 -0.02194 -0.09832 1.83790 -0.09832 -0.02194 0.00000 354s 0.00000 -0.01331 -0.05963 -0.09832 -0.05963 -0.01331 0.00000 354s 0.00000 -0.00297 -0.01331 -0.02194 -0.01331 -0.00297 0.00000 354s 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000]; 354s assert (imsharpen (A, "amount", 1), B, 5e-6) 354s ***** test 354s A = zeros (7, 7); 354s A(4,4) = 1; 354s B = zeros (7, 7); 354s B(4,4) = 1.670317742690299; 354s B(4,3) = -0.078656265079077; 354s B(3,4) = -0.078656265079077; 354s B(4,5) = -0.078656265079077; 354s B(5,4) = -0.078656265079077; 354s assert (imsharpen (A, "Threshold", 0.117341762), B, eps*10) 354s ***** test 354s A = zeros (7, 7); 354s A(4,4) = 1; 354s B = zeros (7, 7); 354s B(4,4) = 1.670317742690299; 354s assert (imsharpen (A, "Threshold", 0.117341763), B, eps*10) 354s ***** test 354s A = zeros (7, 7, "uint8"); 354s A(3:5,3:5) = 150; 354s B = zeros (7, 7, "uint8"); 354s B(3:5,3:5) = 211; 354s B(4,3:5) = 195; 354s B(3:5,4) = 195; 354s B(4,4) = 175; 354s assert (imsharpen (A), B) 354s ***** test 354s A = zeros (7, 7, "uint8"); 354s A(3:5,3:5) = 100; 354s B = zeros (7, 7, "uint8"); 354s B(3:5,3:5) = 173; 354s assert (imsharpen (A, "radius", 4), B) 354s ***** test 354s A = zeros (7, 7, 3, "uint8"); 354s A(4,4,:) = 255; 354s assert (imsharpen (A), A) 354s ***** xtest 354s A = zeros(7,7,3, "uint8"); 354s A(4,4,1) = 255; 354s B = A; 354s B(4,4,2) = 146; # Octave result is 145; 354s B(4,4,3) = 100; # Octave result is 99; 354s assert (imsharpen (A), B) 354s !!!!! known failure 354s ASSERT errors for: assert (imsharpen (A),B) 354s 354s Location | Observed | Expected | Reason 354s (4,4,2) 145 146 Abs err 0 exceeds tol 0 by 0 354s (4,4,3) 99 100 Abs err 0 exceeds tol 0 by 0 354s ***** xtest 354s A = zeros (7, 7, 3, "uint8"); 354s A(3:5,3:5,1) = 100; 354s A(3:5,3:5,2) = 150; 354s B = A; 354s B(3:5,3:5,1) = 164; 354s B(3:5,4,1) = 146; # Octave result is 147 354s B(4,3:5,1) = 146; # Octave result is 145 354s B(4,4,1) = 125; # Octave result is 126 354s B(3:5,3:5,2) = 213; 354s B(3:5,4,2) = 195; # Octave result is 196 354s B(4,3:5,2) = 195; # Octave result is 196 354s B(4,4,2) = 175; 354s B(3:5,3:5,3) = 79; 354s B(3:5,4,3) = 62; 354s B(4,3:5,3) = 62; 354s B(4,4,3) = 40; # Octave result is 39 354s assert (imsharpen (A), B) 354s !!!!! known failure 354s ASSERT errors for: assert (imsharpen (A),B) 354s 354s Location | Observed | Expected | Reason 354s (4,3,1) 147 146 Abs err 1 exceeds tol 0 by 1 354s (3,4,1) 147 146 Abs err 1 exceeds tol 0 by 1 354s (4,4,1) 126 125 Abs err 1 exceeds tol 0 by 1 354s (5,4,1) 147 146 Abs err 1 exceeds tol 0 by 1 354s (4,5,1) 147 146 Abs err 1 exceeds tol 0 by 1 354s (4,3,2) 196 195 Abs err 1 exceeds tol 0 by 1 354s (3,4,2) 196 195 Abs err 1 exceeds tol 0 by 1 354s (5,4,2) 196 195 Abs err 1 exceeds tol 0 by 1 354s (4,5,2) 196 195 Abs err 1 exceeds tol 0 by 1 354s (4,4,3) 39 40 Abs err 0 exceeds tol 0 by 0 354s ***** error imsharpen () 355s ***** error imsharpen (ones (3, 3), "Radius") 355s ***** error imsharpen (ones (3, 3), "Radius", 0) 355s ***** error imsharpen (ones (3, 3), "Amount", -1) 355s ***** error imsharpen (ones (3, 3), "Threshold", 1.5) 355s ***** error imsharpen (ones (3, 3), "Threshold", -1) 355s ***** error imsharpen (ones (3, 3), "foo") 355s ***** error imsharpen ("foo") 355s 20 tests, 18 passed, 2 known failures, 0 skipped 355s [inst/fftconv2.m] 355s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/fftconv2.m 355s ***** xtest 355s a = repmat (1:10, 5); 355s b = repmat (10:-1:3, 7); 355s assert (fftconv2 (a, b), conv2 (a, b), 1.8e4*eps) 355s assert (fftconv2 (b, a), conv2 (b, a), 1.8e4*eps) 355s assert (fftconv2 (a, b, "full"), conv2 (a, b, "full"), 1.8e4*eps) 355s assert (fftconv2 (b, a, "full"), conv2 (b, a, "full"), 1.8e4*eps) 355s assert (fftconv2 (a, b, "same"), conv2 (a, b, "same"), 1.8e4*eps) 355s assert (fftconv2 (b, a, "same"), conv2 (b, a, "same"), 1.8e4*eps) 355s assert (isempty (fftconv2 (a, b, "valid"))); 355s assert (fftconv2 (b, a, "valid"), conv2 (b, a, "valid"), 1e4*eps) 355s ***** test 355s x = 1:4; 355s y = 4:-1:1; 355s a = repmat(1:10, 5); 355s assert (fftconv2 (x, y, a), conv2 (x, y, a), 1e4*eps) 355s assert (fftconv2 (x, y, a, "full"), conv2 (x, y, a, "full"), 1e4*eps) 355s assert (fftconv2 (x, y, a, "same"), conv2 (x, y, a, "same"), 1e4*eps) 355s assert (fftconv2 (x, y, a, "valid"), conv2 (x, y, a, "valid"), 1e4*eps) 355s ***** demo 355s ## Draw a cross 355s z = zeros (101, 101); 355s z(50, :) = 1; 355s z(:, 50) = 1; 355s subplot (1, 3, 1) 355s imshow (z); 355s title ("Original thin cross") 355s 355s ## Draw a sinc blob 355s b = getheight (strel ("ball", 10, 1)); 355s subplot (1, 3, 2) 355s imshow (b); 355s title ("Sync blob") 355s 355s ## Convolve the cross with the blob 355s fc = real (fftconv2 (z, b, "same")); 355s subplot (1, 3, 3) 355s imshow (fc, [min(fc(:)) max(fc(:))]) 355s title ("Convolution in the frequency domain") 355s 2 tests, 2 passed, 0 known failure, 0 skipped 355s [inst/affine3d.m] 355s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/affine3d.m 355s ***** test 355s Sx = 1.2; 355s Sy = 1.6; 355s Sz = 2.4; 355s A = [Sx 0 0 0; 0 Sy 0 0; 0 0 Sz 0; 0 0 0 1]; 355s tform = affine3d (A); 355s [X, Y, Z] = transformPointsForward (tform, 5, 10, 3); 355s assert ([X Y Z], [6 16 7.2], 5*eps) 355s [U, V, W] = transformPointsInverse (tform, X, Y, Z); 355s assert ([U V W], [5 10 3], eps) 355s assert (! isRigid (tform)) 355s assert (! isTranslation (tform)) 355s assert (! isSimilarity (tform)) 355s ***** test 355s A = [3 1 2 0; 4 5 8 0; 6 2 1 0; 0 0 0 1]; 355s tform = affine3d (A); 355s [X, Y, Z] = transformPointsForward (tform, 2, 3, 5); 355s assert (X, 48, eps) 355s assert (Y, 27, eps) 355s assert (Z, 33, eps) 355s [U, V, W] = transformPointsInverse (tform, X, Y, Z); 355s assert (U, 2, 50*eps) 355s assert (V, 3, 50*eps) 355s assert (W, 5, 50*eps) 355s assert (! isRigid (tform)) 355s assert (! isTranslation (tform)) 355s assert (! isSimilarity (tform)) 355s ***** test 355s A = [1 0 0 0; 0 1 0 0; 0 0 1 0; 5 10 1 1]; 355s tform = affine3d (A); 355s X = transformPointsForward (tform, [1 2 3; 4 5 6; 7 8 9]); 355s assert (round (X), [6, 12, 4; 9, 15, 7; 12, 18, 10]) 355s U = transformPointsInverse (tform, X); 355s assert (round (U), [1 2 3; 4 5 6; 7 8 9]) 355s assert (isRigid (tform)) 355s assert (isTranslation (tform)) 355s assert (isSimilarity (tform)) 355s ***** test 355s Sx = 1.2; 355s Sy = 1.6; 355s Sz = 2.4; 355s A = [Sx 0 0 0; 0 Sy 0 0; 0 0 Sz 0; 0 0 0 1]; 355s tform = affine3d (A); 355s [xlim, ylim, zlim] = outputLimits (tform, [1 128], [1 128], [1 27]); 355s assert (xlim, [ 1.2000 153.6000],1e-8) 355s assert (ylim, [1.6000 204.8000], 1e-8) 355s assert (zlim, [2.4000 64.8000], 1e-8) 355s ***** error affine3d (1, 2) 355s ***** error outputLimits (affine2d()) 355s ***** test 355s a = 23; 355s M = [cosd(a) 0 sind(a) 0; 355s 0 1 0 0; 355s -sind(a) 0 cosd(a) 0; 355s 0 0 0 1]; 355s tform = affine3d (M); 355s tform2 = invert (tform); 355s assert (tform.T * tform2.T, diag([1 1 1 1]), eps); 355s ***** test 355s tform = affine3d; 355s assert (tform.T, eye (4)) 355s assert (tform.Dimensionality, 3) 355s 8 tests, 8 passed, 0 known failure, 0 skipped 355s [inst/qtsetblk.m] 355s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/qtsetblk.m 355s ***** demo 355s J=qtsetblk(eye(4),qtdecomp(eye(4)),2,ones(2,2,2)) 355s % Sets upper-right and lower-left blocks of 2*2 zeros to ones 355s ***** shared A, S 355s A=[ 1, 4, 2, 5,54,55,61,62; 355s 3, 6, 3, 1,58,53,67,65; 355s 3, 6, 3, 1,58,53,67,65; 355s 3, 6, 3, 1,58,53,67,65; 355s 23,42,42,42,99,99,99,99; 355s 27,42,42,42,99,99,99,99; 355s 23,22,26,25,99,99,99,99; 355s 22,22,24,22,99,99,99,99]; 355s S = qtdecomp (A, 10); 355s ***** test 355s R=A; 355s vals=zeros(4,4,2); 355s vals(:,:,1)=reshape([1:16],4,4); 355s vals(:,:,2)=reshape([21:36],4,4); 355s R(1:4,1:4)=reshape([1:16],4,4); 355s R(5:8,5:8)=reshape([21:36],4,4); 355s assert(qtsetblk(A,S,4,vals),R); 355s ***** test 355s R=A; 355s R(1:4,5:8)=1; 355s R(7:8,1:4)=1; 355s R(5:6,3:4)=1; 355s assert(qtsetblk(A,S,2,ones(2,2,7)),R); 355s ***** test 355s R=A; 355s R(5:6,1:2)=10; 355s assert(qtsetblk(A,S,1,ones(1,1,4)*10),R); 355s 3 tests, 3 passed, 0 known failure, 0 skipped 355s [inst/col2im.m] 355s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/col2im.m 355s ***** demo 355s ## Divide A using distinct blocks and then reverse the operation 355s A = [ 1:10 355s 11:20 355s 21:30 355s 31:40]; 355s B = im2col (A, [2 5], "distinct") 355s C = col2im (B, [2 5], [4 10], "distinct") 355s ***** demo 355s ## Get sliding blocks of size from A into columns, calculate the 355s ## mean of each block (mean of each column), and reconstruct A 355s ## after a median filter. 355s A = reshape (1:24, [4 6]) 355s B = im2col (A, [2 3], "sliding") 355s C = mean (B); 355s col2im (C, [1 1], [3 4], "sliding") 355s ***** error col2im (ones (10), [5 5], [10 10], "wrong_block_type"); 355s ***** error col2im (ones (10), [1 1], [ 7 7], "sliding"); 355s ***** error col2im (ones (10), [3 3], [10 10], "distinct") 355s ***** error col2im (ones (10), [5 5], [10 11], "distinct"); 355s ***** assert (col2im (sum (im2col (magic (10), [3 3], "sliding")), [1 1], [8 8]), 355s convn (magic (10), ones (3, 3), "valid")); 355s ***** test 355s B = ones (1, (10-2+1)*(7-3+1)); 355s A = ones ((10-2+1), (7-3+1)); 355s assert (col2im (B, [2 3], [10 7]), A); 355s 355s ## same but different classes 355s assert (col2im (int16 (B), [2 3], [10 7]), int16 (A)); 355s assert (col2im (single (B), [2 3], [10 7]), single (A)); 355s assert (col2im (logical (B), [2 3], [10 7]), logical (A)); 355s ***** test 355s a = rand (10)(:); 355s assert (col2im (a, [1 1], [10 10]), col2im (a, [1 1], [10 10], "sliding")) 355s ***** shared A, B 355s v = [1:10]'; 355s r = reshape (1:10, [2 5]); 355s B = [v v+10 v+20 v+30 v+40 v+50]; 355s A = [r r+30 355s r+10 r+40 355s r+20 r+50]; 355s assert (col2im (B, [2 5], [6 10], "distinct"), A); 355s ***** assert (col2im (int16 (B), [2 5], [6 10], "distinct"), int16 (A)); 355s ***** assert (col2im (logical (B), [2 5], [6 10], "distinct"), logical (A)); 355s ***** assert (col2im (single (B), [2 5], [6 10], "distinct"), single (A)); 355s ***** test 355s a = rand (10, 8); 355s b = im2col (a, [5 5], "distinct"); 355s assert (col2im (b, [5 5], [10 8], "distinct"), a); 355s 355s a = rand (8); 355s b = im2col (a, [5 5], "distinct"); 355s assert (col2im (b, [5 5], [8 8], "distinct"), a); 355s ***** shared a, b 355s ## Same number of multiple dimensions 355s a = rand (10, 10, 10); 355s b = im2col (a, [5 5 5], "distinct"); 355s ***** assert (col2im (b, [5 5 5], [10 10 10], "distinct"), a); 355s 355s ## Different number of dimensions 355s a = rand (10, 10, 10); 355s b = im2col (a, [5 5], "distinct"); 355s ***** assert (col2im (b, [5 5], [10 10 10], "distinct"), a); 355s 355s ## Removing padding from multiple dimensions 355s a = rand (10, 10, 7); 355s b = im2col (a, [5 5 3], "distinct"); 355s ***** assert (col2im (b, [5 5 3], [10 10 7], "distinct"), a); 355s 355s a = rand (10, 10, 7); 355s b = im2col (a, [5 5 5 2], "distinct"); 355s ***** assert (col2im (b, [5 5 5 2], [10 10 7], "distinct"), a); 355s 15 tests, 15 passed, 0 known failure, 0 skipped 355s [inst/imfuse.m] 355s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imfuse.m 355s ***** error id=Octave:invalid-fun-call imfuse () 355s ***** error id=Octave:invalid-input-arg imfuse (1, 1, "xxx") 355s ***** error id=Octave:invalid-input-arg imfuse (1, 1, "interpolation") 355s ***** error id=Octave:invalid-input-arg imfuse (1, 1, "ColorChannels", [0 0 0]) 355s ***** error id=Octave:invalid-input-arg imfuse (1, 1, "ColorChannels", [1 1 1]) 355s ***** error id=Octave:invalid-input-arg imfuse (1, 1, "ColorChannels", [2 2 2]) 355s ***** error id=Octave:expected-less-equal imfuse (1, 1, "ColorChannels", [42 0 0]) 355s ***** error id=Octave:expected-greater-equal imfuse (1, 1, "ColorChannels", [-1 2 0]) 355s ***** error id=Octave:invalid-input-arg imfuse (1, 1, "ColorChannels", "deep-purple") 355s ***** assert (imfuse (1, 2, "blend"), uint8 (0)) 355s ***** assert (imfuse (1, 2, "blend", "Scaling", "independent"), uint8 (0)) 355s ***** assert (imfuse (1, 2, "blend", "Scaling", "joint"), uint8 (128)) 355s ***** assert (imfuse (1, 2, "blend", "Scaling", "none"), uint8 (255)) 355s ***** assert (imfuse (1, 2, "falsecolor"), uint8 (zeros (1, 1, 3))) 355s ***** test 355s a = [0 1 2]; 355s b = [0 10 20]; 355s expected = uint8 (repmat ([0 128 255], [1 1 3])); 355s assert (imfuse (a, b), expected); 355s ***** test 355s a = uint8 ([0 1 2]); 355s b = uint8 ([0 10 20]); 355s expected = uint8 (repmat ([0 128 255], [1 1 3])); 355s assert (imfuse (a, b), expected); 355s ***** test 355s a = uint8 ([0 1 2]); 355s b = uint8 ([0 10 20]); 355s expected = uint8 (repmat ([0 128 255], [1 1 3])); 355s assert (imfuse (a, b, "falsecolor"), expected); 355s ***** test 355s a = logical([0 1 1]); 355s b = logical([0 1 1]); 355s expected = uint8 (repmat ([0 255 255], [1 1 3])); 355s assert (imfuse (a, b), expected); 355s ***** test 355s a = logical([0 1 1]); 355s b = logical([0 1 1]); 355s expected = uint8 (repmat ([0 255 255], [1 1 3])); 355s assert (imfuse (a, b, "falsecolor"), expected); 355s ***** test 355s a = [0 1 2]; 355s b = [0 10 20]; 355s expected = uint8 (repmat ([0 255 255], [1 1 3])); 355s assert (imfuse (a, b, "Scaling", "none"), expected); 355s ***** test 355s a = uint8 ([0 1 2]); 355s b = uint8 ([0 10 20]); 355s expected = uint8 (zeros ([1, 3, 3])); 355s expected(:, :, 1) = [0 10 20]; 355s expected(:, :, 2) = [0 1 2]; 355s expected(:, :, 3) = [0 10 20]; 355s assert (imfuse (a, b, "Scaling", "none"), expected); 355s ***** test 355s a = [0 1 2]; 355s b = uint8 ([0 10 20]); 355s expected = uint8 (zeros ([1, 3, 3])); 355s expected(:, :, 1) = [0 10 20]; 355s expected(:, :, 2) = [0 255 255]; 355s expected(:, :, 3) = [0 10 20]; 355s assert (imfuse (a, b, "Scaling", "none"), expected); 355s ***** test 355s a = uint8 ([0 1 2]); 355s b = [0 10 20]; 355s expected = uint8 (zeros ([1, 3, 3])); 355s expected(:, :, 1) = [0 255 255]; 355s expected(:, :, 2) = [0 1 2]; 355s expected(:, :, 3) = [0 255 255]; 355s assert (imfuse (a, b, "Scaling", "none"), expected); 355s ***** test 355s a = [0 .1 2]; 355s b = [0 .01 .02]; 355s expected = uint8 (zeros ([1, 3, 3])); 355s expected(:, :, 1) = [0 3 5]; 355s expected(:, :, 2) = [0 26 255]; 355s expected(:, :, 3) = [0 3 5]; 355s assert (imfuse (a, b, "Scaling", "none"), expected); 355s ***** test 355s a = [0 1 2]; 355s b = [0 10 20]; 355s expected = uint8 (zeros ([1, 3, 3])); 355s expected(:, :, 1) = [0 128 255]; 355s expected(:, :, 2) = [0 13 26]; 355s expected(:, :, 3) = [0 128 255]; 355s assert (imfuse (a, b, "Scaling", "joint"), expected); 355s ***** test 355s a = uint8 ([0 1 2]); 355s b = [0 10 20]; 355s expected = uint8 (zeros ([1, 3, 3])); 355s expected(:, :, 1) = [0 128 255]; 355s expected(:, :, 2) = [0 13 26]; 355s expected(:, :, 3) = [0 128 255]; 355s assert (imfuse (a, b, "Scaling", "joint"), expected); 355s ***** test 355s a = [0 150 300]; 355s b = uint8 ([0 10 20]); 355s expected = uint8 (zeros ([1, 3, 3])); 355s expected(:, :, 1) = [0 9 17]; 355s expected(:, :, 2) = [0 128 255]; 355s expected(:, :, 3) = [0 9 17]; 355s assert (imfuse (a, b, "Scaling", "joint"), expected); 355s ***** test 355s a = uint8 ([0 1 2]); 355s b = uint8 ([0 10 20]); 355s expected = uint8 (zeros ([1, 3, 3])); 355s expected(:, :, 1) = [0 128 255]; 355s expected(:, :, 2) = [0 13 26]; 355s expected(:, :, 3) = [0 128 255]; 355s assert (imfuse (a, b, "Scaling", "joint"), expected); 355s ***** test 355s a = [0 1 2]; 355s b = [0 10 20]; 355s expected = uint8 (zeros ([1, 3, 3])); 355s expected(:, :, 1) = [0 0 0]; 355s expected(:, :, 2) = [0 128 255]; 355s expected(:, :, 3) = [0 13 26]; 355s assert (imfuse (a, b, "Scaling", "joint", "ColorChannels", [0 2 1]), expected); 355s ***** test 355s a = [0 1 2]; 355s b = [0 10 15]; 355s c = imfuse (a, b, "ColorChannels", "red-cyan"); 355s expected = uint8 (zeros (1, 3, 3)); 355s expected(:, :, 1) = [0 128 255]; 355s expected(:, :, 2) = [0 170 255]; 355s expected(:, :, 3) = [0 170 255]; 355s assert (c, expected); 355s ***** test 355s a = [0 1 2]; 355s b = [0 10 15]; 355s c = imfuse (a, b, "ColorChannels", "green-magenta"); 355s expected = uint8 (zeros (1, 3, 3)); 355s expected(:, :, 1) = [0 170 255]; 355s expected(:, :, 2) = [0 128 255]; 355s expected(:, :, 3) = [0 170 255]; 355s assert (c, expected); 355s ***** test 355s a = [0 5 2]; 355s b = [0 10 20]; 355s assert (imfuse (a, b, "diff"), uint8 ([0 213 255])); 355s ***** test 355s a = [0 5 2]; 355s b = [0 10 20]; 355s assert (imfuse (a, b, "diff", "Scaling", "joint"), uint8 ([0 71 255])); 355s ***** test 355s a = [0 5 2]; 355s b = [0 10 20]; 355s assert (imfuse (a, b, "blend"), uint8 ([0 192 179])); 355s ***** test 355s a = magic (5); 355s b = a'; 355s c = imfuse (a, b, "falsecolor"); 355s expected = zeros (5, 5, 3); 355s expected(:, :, 1) = [ 355s 170 234 32 96 106 355s 244 43 53 117 181 355s 0 64 128 191 255 355s 74 138 202 213 11 355s 149 159 223 21 85]; 355s expected(:, :, 2) = [ 355s 170 244 0 74 149 355s 234 43 64 138 159 355s 32 53 128 202 223 355s 96 117 191 213 21 355s 106 181 255 11 85]; 355s expected(:, :, 3) = [ 355s 170 234 32 96 106 355s 244 43 53 117 181 355s 0 64 128 191 255 355s 74 138 202 213 11 355s 149 159 223 21 85]; 355s assert (c, uint8 (expected)); 355s ***** test 355s a = magic (5); 355s b = a'; 355s assert (imfuse (uint8 (a), uint8 (b), "blend", "Scaling", "none"), 355s uint8 ([17 24 3 9 13 355s 24 5 7 13 17 355s 3 7 13 20 24 355s 9 13 20 21 3 355s 13 17 24 3 9])); 355s ***** test 355s a = magic (5); 355s b = 2 * a'; 355s assert (imfuse (a, b, "blend", "Scaling", "independent"), 355s uint8 ([170 239 16 85 128 355s 239 43 59 128 170 355s 16 59 128 197 239 355s 85 128 197 213 16 355s 128 170 239 16 85])); 355s ***** test 355s a = magic (5); 355s b = 2 * a'; 355s assert (imfuse (a, b, "blend", "Scaling", "joint"), 355s uint8 ([128 177 18 68 91 355s 180 34 44 94 130 355s 11 47 96 146 182 355s 63 99 149 159 13 355s 102 125 175 16 65])); 355s ***** test 355s a = [0 1.2 5]; 355s b = [5 6.13 12]; 355s assert (imfuse (a, b, "blend"), uint8 ([0 51 255])); 355s ***** test 355s a = [0 5 2]; 355s b = [0 10 20]; 355s assert (imfuse (a, b, "blend", "Scaling", "joint"), uint8 ([0 96 141])); 355s ***** test 355s a = [0 5 2]; 355s b = [0 10 20]; 355s assert (imfuse (a, b, "montage"), uint8 ([0 255 102 0 128 255])); 355s ***** test 355s a = zeros (1, 100); 355s b = 2 * ones (1, 100); 355s assert (imfuse (a, b, "montage"), uint8 ([zeros(1, 200)])); 355s assert (imfuse (a, b, "montage", "Scaling", "none"), 355s uint8 ([zeros(1, 100), 255 * ones(1, 100)])); 355s ***** test 355s a = zeros (1, 100, 3); 355s b = 2 * ones (1, 100); 355s assert (imfuse (a, b, "montage"), uint8 ([zeros(1, 200, 3)])); 355s ***** test 355s a = 0.1 * ones (50, 50); 355s b = 0.2 * ones (50, 50); 355s c = imfuse (a, b, "checkerboard", "Scaling", "none"); 355s d = imresize (repmat([26, 51; 51, 26], [8, 8]), [50, 50], "nearest"); 355s assert (all (c(:) == d(:))); 355s ***** test 355s a = zeros (2, 2); 355s b = zeros (2, 2); 355s ra = imref2d (size (a), [0, 2], [0, 2]); 355s rb = imref2d (size (b), [0, 2], [2, 4]); 355s [c, rc] = imfuse (a, ra, b, rb, "falsecolor"); 355s assert (rc.ImageSize, [4, 2]); 355s assert (rc.XWorldLimits, [0, 2]); 355s assert (rc.YWorldLimits, [0, 4]); 355s assert (rc.PixelExtentInWorldX, 1); 355s assert (rc.PixelExtentInWorldY, 1); 355s assert (rc.ImageExtentInWorldX, 2); 355s assert (rc.ImageExtentInWorldY, 4); 355s assert (rc.XIntrinsicLimits, [0.5, 2.5]); 355s assert (rc.YIntrinsicLimits, [0.5, 4.5]); 355s assert (c, uint8 (zeros (4, 2, 3))); 355s ***** xtest 355s a = zeros (5, 3); 355s b = ones (6, 5); 355s ra = imref2d (size (a), [15, 30], [2, 4]); 355s rb = imref2d (size (b), [10, 50], [5.5, 6.7]); 355s [c, rc] = imfuse (a, ra, b, rb, "falsecolor"); 355s assert (rc.ImageSize, [24, 8]); 355s assert (rc.XWorldLimits, [10, 50]); 355s assert (rc.YWorldLimits, [2, 6.7]); 355s assert (rc.PixelExtentInWorldX, 5); 355s assert (rc.PixelExtentInWorldY, 0.19583333, 10e-9); 355s assert (rc.ImageExtentInWorldX, 40); 355s assert (rc.ImageExtentInWorldY, 4.7); 355s assert (rc.XIntrinsicLimits, [0.5, 8.5]); 355s assert (rc.YIntrinsicLimits, [0.5, 24.5]); 355s expected = uint8 (zeros (24, 8, 3)); 355s expected(19:23, 2:7, 1) = 255 * ones (5, 6); 355s expected(19:23, 2:7, 3) = 255 * ones (5, 6); 355s assert (c, expected); 355s !!!!! known failure 355s ASSERT errors for: assert (c,expected) 355s 355s Location | Observed | Expected | Reason 355s (19,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (20,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (21,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (22,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (23,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (19,3,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (20,3,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (21,3,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (22,3,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (23,3,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (19,4,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (20,4,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (21,4,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (22,4,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (23,4,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (19,5,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (20,5,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (21,5,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (22,5,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (23,5,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (19,6,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (20,6,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (21,6,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (22,6,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (23,6,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (19,7,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (20,7,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (21,7,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (22,7,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (23,7,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (19,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (20,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (21,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (22,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (23,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (19,3,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (20,3,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (21,3,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (22,3,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (23,3,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (19,4,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (20,4,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (21,4,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (22,4,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (23,4,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (19,5,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (20,5,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (21,5,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (22,5,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (23,5,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (19,6,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (20,6,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (21,6,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (22,6,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (23,6,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (19,7,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (20,7,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (21,7,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (22,7,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (23,7,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s ***** test 355s a = uint8 (reshape (1:1:9, [1 3 3])); 355s b = uint8 (reshape (10:2:26, [1 3 3])); 355s c = imfuse (a, b); 355s expected = uint8 (zeros (1, 3, 3)); 355s expected(:, :, 1) = [0 128 255]; 355s expected(:, :, 2) = [0 128 255]; 355s expected(:, :, 3) = [0 128 255]; 355s assert (c, expected); 355s ***** test 355s a = uint8 (reshape (1:1:9, [1 3 3])); 355s b = uint8 (reshape (10:2:26, [1 3 3])); 355s c = imfuse (a, b, "Scaling", "independent"); 355s expected = uint8 (zeros (1, 3, 3)); 355s expected(:, :, 1) = [0 128 255]; 355s expected(:, :, 2) = [0 128 255]; 355s expected(:, :, 3) = [0 128 255]; 355s assert (c, expected); 355s ***** test 355s a = uint8 (reshape (1:1:9, [1 3 3])); 355s b = uint8 (reshape (10:2:26, [1 3 3])); 355s c = imfuse (a, b, "Scaling", "joint"); 355s expected = uint8 (zeros (1, 3, 3)); 355s expected(:, :, 1) = [191 223 255]; 355s expected(:, :, 2) = [0 16 32]; 355s expected(:, :, 3) = [191 223 255]; 355s assert (c, expected); 355s ***** test 355s a = uint8 (reshape (1:1:9, [1 3 3])); 355s b = uint8 (reshape (10:2:26, [1 3 3])); 355s c = imfuse (a, b, "Scaling", "none"); 355s expected = uint8 (zeros (1, 3, 3)); 355s expected(:, :, 1) = [15 17 19]; 355s expected(:, :, 2) = [3 4 5]; 355s expected(:, :, 3) = [15 17 19]; 355s assert (c, expected); 355s ***** xtest 355s a = zeros (5, 3); 355s b = ones (5, 3); 355s ra = imref2d (size (a), [10, 20], [30, 40]); 355s rb = imref2d (size (b), [10, 20], [30, 40]); 355s [c, rc] = imfuse (a, ra, b, rb, "falsecolor"); 355s expected = uint8 (zeros (5, 3, 3)); 355s expected(:, 1:2, 1) = 255 * ones (5, 2); 355s expected(:, 1:2, 3) = 255 * ones (5, 2); 355s assert (rc.ImageSize, [5, 3]); 355s assert (rc.XWorldLimits, [10, 20]); 355s assert (rc.YWorldLimits, [30, 40]); 355s assert (rc.PixelExtentInWorldX, 3.33333333, 10e-9); 355s assert (rc.PixelExtentInWorldY, 2); 355s assert (rc.ImageExtentInWorldX, 10); 355s assert (rc.ImageExtentInWorldY, 10); 355s assert (rc.XIntrinsicLimits, [0.5, 3.5]); 355s assert (rc.YIntrinsicLimits, [0.5, 5.5]); 355s assert (c, expected); 355s !!!!! known failure 355s ASSERT errors for: assert (c,expected) 355s 355s Location | Observed | Expected | Reason 355s (1,1,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (2,1,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (3,1,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (4,1,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (5,1,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (1,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (2,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (3,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (4,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (5,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 355s (1,1,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (2,1,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (3,1,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (4,1,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (5,1,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (1,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (2,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (3,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (4,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s (5,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 355s ***** test 355s a = zeros (5, 5); 355s b = ones (5, 5); 355s ra = imref2d (size (a), [10, 20], [30, 40]); 355s rb = imref2d (size (b), [10, 20], [30, 40]); 355s [c, rc] = imfuse (a, ra, b, rb, "falsecolor"); 355s expected = uint8 (zeros (5, 5, 3)); 355s assert (rc.ImageSize, [5, 5]); 355s assert (rc.XWorldLimits, [10, 20]); 355s assert (rc.YWorldLimits, [30, 40]); 355s assert (rc.PixelExtentInWorldX, 2); 355s assert (rc.PixelExtentInWorldY, 2); 355s assert (rc.ImageExtentInWorldX, 10); 355s assert (rc.ImageExtentInWorldY, 10); 355s assert (rc.XIntrinsicLimits, [0.5, 5.5]); 355s assert (rc.YIntrinsicLimits, [0.5, 5.5]); 355s assert (c, expected); 355s ***** test 355s a = magic (5); 355s b = ones (5, 5); 355s ra = imref2d (size (a), [10, 20], [30, 40]); 355s rb = imref2d (size (b), [10, 20], [30, 40]); 355s [c, rc] = imfuse (a, ra, b, rb, "falsecolor", "Scaling", "independent"); 355s expected = uint8 (zeros (5, 5, 3)); 355s expected(:, :, 2) = [ 355s 170 244 0 74 149 355s 234 43 64 138 159 355s 32 53 128 202 223 355s 96 117 191 213 21 355s 106 181 255 11 85]; 355s assert (rc.ImageSize, [5, 5]); 355s assert (rc.XWorldLimits, [10, 20]); 355s assert (rc.YWorldLimits, [30, 40]); 355s assert (rc.PixelExtentInWorldX, 2); 355s assert (rc.PixelExtentInWorldY, 2); 355s assert (rc.ImageExtentInWorldX, 10); 355s assert (rc.ImageExtentInWorldY, 10); 355s assert (rc.XIntrinsicLimits, [0.5, 5.5]); 355s assert (rc.YIntrinsicLimits, [0.5, 5.5]); 355s assert (c, expected); 355s 53 tests, 51 passed, 2 known failures, 0 skipped 355s [inst/fspecial.m] 355s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/fspecial.m 355s ***** test 355s for i = 1:9 355s n = 2^i; 355s assert (sum (fspecial ("disk", n)(:)), 1, eps*n*n); 355s endfor 356s ***** test 356s for r = [3 5 9 17] 356s f = fspecial ("disk", r); 356s [X, Y] = meshgrid (-r:r, -r:r); 356s rhi = (abs (X) + 0.5).^2 + (abs (Y) + 0.5).^2; 356s rlo = (abs (X) - 0.5).^2 + (abs (Y) - 0.5).^2; 356s fhi = (rhi <= (r^2)); 356s flo = (rlo >= (r^2)); 356s for i = 1:(2*r+1) 356s for j = 1:(2*r+1) 356s if (fhi(i,j)) 356s assert (f(i,j), 1/(pi*r^2), eps); 356s endif 356s if (flo(i,j)) 356s assert (f(i,j), 0); 356s endif 356s endfor 356s endfor 356s endfor 358s ***** error 358s fspecial ("gaussian", 0) 358s ***** error 358s fspecial ("gaussian", 3.9) 358s ***** assert (fspecial ("gaussian"), fspecial ("gaussian", 3, 0.5)) 358s ***** assert (fspecial ("gaussian"), fspecial ("gaussian", [3 3], 0.5)) 358s ***** test 358s c = ([-1:1].^2) + ([-1:1]'.^2); 358s gauss = exp (- (c / (2 * (0.5 ^ 2)))); 358s f = gauss / sum (gauss(:)); 358s assert (fspecial ("gaussian"), f) 358s 358s expected = [ 358s 0.01134373655849507 0.08381950580221061 0.01134373655849507 358s 0.08381950580221061 0.61934703055717721 0.08381950580221061 358s 0.01134373655849507 0.08381950580221061 0.01134373655849507]; 358s assert (f, expected, eps) 358s ***** function f = f_gaussian_2d (hsize, sigma) 358s c = ([(-hsize(1)):(hsize(1))]'.^2) + ([(-hsize(2)):(hsize(2))].^2); 358s gauss = exp (- (c ./ (2 * (sigma .^ 2)))); 358s f = gauss ./ sum (gauss(:)); 358s ***** endfunction 358s ***** test 358s f = fspecial ("gaussian"); 358s assert (f, f_gaussian_2d ([1 1], .5)) 358s expected = [ 358s 0.01134373655849507 0.08381950580221061 0.01134373655849507 358s 0.08381950580221061 0.61934703055717721 0.08381950580221061 358s 0.01134373655849507 0.08381950580221061 0.01134373655849507]; 358s assert (f, expected, eps) 358s ***** test 358s f = fspecial ("gaussian", 7, 2); 358s assert (f, f_gaussian_2d ([3 3], 2)) 358s expected = [ 358s 0.00492233115934352 358s 0.00919612528958620 358s 0.01338028334410124 358s 0.01516184737296414 358s 0.01338028334410124 358s 0.00919612528958620 358s 0.00492233115934352 358s 0.00919612528958620 358s 0.01718062389630964 358s 0.02499766026691484 358s 0.02832606006174462 358s 0.02499766026691484 358s 0.01718062389630964 358s 0.00919612528958620 358s 0.01338028334410124 358s 0.02499766026691484 358s 0.03637138107390363 358s 0.04121417419979795 358s 0.03637138107390363 358s 0.02499766026691484 358s 0.01338028334410124 358s 0.01516184737296414 358s 0.02832606006174462 358s 0.04121417419979795 358s 0.04670177773892775]; 358s expected = reshape ([expected; expected((end-1):-1:1)], [7 7]); 358s assert (f, expected, eps) 358s ***** test 358s f = fspecial ("gaussian", [7 5], 2); 358s assert (f, f_gaussian_2d ([3 2], 2)) 358s expected = [ 358s 0.01069713252648568 358s 0.01998487459872362 358s 0.02907782096336423 358s 0.03294948784319031 358s 0.02907782096336423 358s 0.01998487459872362 358s 0.01069713252648568 358s 0.01556423598706978 358s 0.02907782096336423 358s 0.04230797985750011 358s 0.04794122192790870 358s 0.04230797985750011 358s 0.02907782096336423 358s 0.01556423598706978 358s 0.01763658993191515 358s 0.03294948784319031 358s 0.04794122192790870 358s 0.05432452146574315]; 358s expected = reshape ([expected; expected((end-1):-1:1)], [7 5]); 358s assert (f, expected, eps) 358s ***** test 358s f = fspecial ("gaussian", [4 2], 2); 358s expected = [0.10945587477855045 0.14054412522144952]; 358s expected = expected([1 1; 2 2; 2 2; 1 1]); 358s assert (f, expected, eps) 358s ***** test 358s expected =[0.04792235409415088 0.06153352068439959 0.07901060453704994]; 358s expected = expected([1 2 2 1; 2 3 3 2; 2 3 3 2; 1 2 2 1]); 358s assert (fspecial ("gaussian", 4, 2), expected) 358s ***** function f = f_gaussian_3d (lengths, sigma) 358s [x, y, z] = ndgrid (-lengths(1):lengths(1), -lengths(2):lengths(2), 358s -lengths(3):lengths(3)); 358s sig_22 = 2 * (sigma.^2); 358s f = exp (-((x.^2)/sig_22 + (y.^2)/sig_22 + (z.^2)/sig_22)); 358s f = f / sum (f(:)); 358s ***** endfunction 358s ***** test 358s obs = fspecial ("gaussian", [5 5 5]); 358s assert (obs, f_gaussian_3d ([2 2 2], .5)) 358s 358s u_values = [ 358s 0.00000000001837155 358s 0.00000000741161178 358s 0.00000005476481523 358s 0.00000299005759843 358s 0.00002209370333384 358s 0.00016325161336690 358s 0.00120627532940896 358s 0.00891323607975882 358s 0.06586040141635063 358s 0.48664620076350640]; 358s expected = zeros (5, 5, 5); 358s expected([1 5 21 25 101 105 121 125]) = u_values(1); 358s expected([2 4 6 10 16 20 22 24 26 30 46 50 76 80 96 100 102 104 106 110 116 120 122 124]) = u_values(2); 358s expected([3 11 15 23 51 55 71 75 103 111 115 123]) = u_values(3); 358s expected([7 9 17 19 27 29 31 35 41 45 47 49 77 79 81 85 91 95 97 99 107 109 117 119]) = u_values(4); 358s expected([8 12 14 18 28 36 40 48 52 54 56 60 66 70 72 74 78 86 90 98 108 112 114 118]) = u_values(5); 358s expected([13 53 61 65 73 113]) = u_values(6); 358s expected([32 34 42 44 82 84 92 94]) = u_values(7); 358s expected([33 37 39 43 57 59 67 69 83 87 89 93]) = u_values(8); 358s expected([38 58 62 64 68 88]) = u_values(9); 358s expected([63]) = u_values(10); 358s assert (obs, expected, 4 * eps) 358s ***** test 358s obs = fspecial ("gaussian", [5 5 5], 1); 358s assert (obs, f_gaussian_3d ([2 2 2], 1)) 358s 358s u_values = [ 358s 0.00016177781678373 358s 0.00072503787330278 358s 0.00119538536377748 358s 0.00324939431236223 358s 0.00535734551968363 358s 0.00883276951279243 358s 0.01456277497493249 358s 0.02400995686159072 358s 0.03958572658629712 358s 0.06526582943894763]; 358s expected = zeros (5, 5, 5); 358s expected([1 5 21 25 101 105 121 125]) = u_values(1); 358s expected([2 4 6 10 16 20 22 24 26 30 46 50 76 80 96 100 102 104 106 110 116 120 122 124]) = u_values(2); 358s expected([3 11 15 23 51 55 71 75 103 111 115 123]) = u_values(3); 358s expected([7 9 17 19 27 29 31 35 41 45 47 49 77 79 81 85 91 95 97 99 107 109 117 119]) = u_values(4); 358s expected([8 12 14 18 28 36 40 48 52 54 56 60 66 70 72 74 78 86 90 98 108 112 114 118]) = u_values(5); 358s expected([13 53 61 65 73 113]) = u_values(6); 358s expected([32 34 42 44 82 84 92 94]) = u_values(7); 358s expected([33 37 39 43 57 59 67 69 83 87 89 93]) = u_values(8); 358s expected([38 58 62 64 68 88]) = u_values(9); 358s expected([63]) = u_values(10); 358s assert (obs, expected, eps) 358s ***** test 358s obs = fspecial ("gaussian", [3 4 1 5], 3); 358s assert (find (obs == max (obs(:))), [29; 32]) 358s assert (size (obs), [3 4 1 5]) 358s assert (obs(:)(1:30), obs(:)(end:-1:31)) 358s ***** test 358s f = repmat (1/9, [3 3]); 358s assert (fspecial ("average", [3 3]), f) 358s 358s ## Test default 358s assert (fspecial ("average"), fspecial ("average", [3 3])) 358s assert (fspecial ("average"), fspecial ("average", [3])) 358s 358s f = repmat (1/21, [3 7]); 358s assert (fspecial ("average", [3 7]), f) 358s 358s f = repmat (1/40, [4 5 1 2]); 358s assert (fspecial ("average", [4 5 1 2]), f) 358s ## Behave even if it's a column vector 358s assert (fspecial ("average", [4 5 1 2]'), f) 358s 16 tests, 16 passed, 0 known failure, 0 skipped 358s [inst/im2int16.m] 358s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/im2int16.m 358s ***** assert (im2int16 (int16 ([-2 2 3])), int16 ([-2 2 3])); 358s ***** assert (im2int16 (uint16 ([0 65535])), int16 ([-32768 32767])); 358s ***** assert (im2int16 ([false true]), int16 ([-32768 32767])); 358s ***** assert (im2int16 ([true false]), int16 ([32767 -32768])); 358s ***** assert (im2int16 (uint8 ([0 127 128 255])), int16 ([-32768 -129 128 32767])); 358s ***** assert (im2int16 ([0 1.4/65535 1.5/65535 2/65535 1]), int16 ([-32768 -32767 -32766 -32766 32767])); 358s ***** assert (im2int16 ([0 0.5 1]), int16 ([-32768 0 32767])); 358s ***** assert (im2int16 ([-1 0 1 2]), int16 ([-32768 -32768 32767 32767])); 358s ***** error im2int16 ([1 2], "indexed"); 358s 9 tests, 9 passed, 0 known failure, 0 skipped 358s [inst/imrotate.m] 358s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imrotate.m 358s ***** test 358s ## Verify minimal loss across six rotations that add up to 360 +/- 1 deg.: 358s methods = { "nearest", "bilinear", "bicubic", "Fourier" }; 358s angles = [ 59 60 61 ]; 358s tolerances = [ 7.4 8.5 8.6 # nearest 358s 3.5 3.1 3.5 # bilinear 358s 2.7 2.0 2.7 # bicubic 358s 2.7 1.6 2.8 ]/8; # Fourier 358s 358s # This is peaks(50) without the dependency on the plot package 358s x = y = linspace(-3,3,50); 358s [X,Y] = meshgrid(x,y); 358s x = 3*(1-X).^2.*exp(-X.^2 - (Y+1).^2) ... 358s - 10*(X/5 - X.^3 - Y.^5).*exp(-X.^2-Y.^2) ... 358s - 1/3*exp(-(X+1).^2 - Y.^2); 358s 358s x -= min(x(:)); # Fourier does not handle neg. values well 358s x = x./max(x(:)); 358s for m = 1:(length(methods)) 358s y = x; 358s for i = 1:5 358s y = imrotate(y, 60, methods{m}, "crop", 0); 358s end 358s for a = 1:(length(angles)) 358s assert(norm((x - imrotate(y, angles(a), methods{m}, "crop", 0)) 358s (10:40, 10:40)) < tolerances(m,a)); 358s endfor 358s endfor 358s ***** xtest 358s ## Verify exactness of near-90 and 90-degree rotations: 358s X = rand(99); 358s for angle = [90 180 270] 358s for da = [-0.1 0.1] 358s Y = imrotate(X, angle + da , "nearest", :, 0); 358s Z = imrotate(Y, -(angle + da), "nearest", :, 0); 358s assert(norm(X - Z) == 0); # exact zero-sum rotation 358s assert(norm(Y - imrotate(X, angle, "nearest", :, 0)) == 0); # near zero-sum 358s endfor 358s endfor 358s !!!!! known failure 358s assert (norm (X - Z) == 0) failed 358s ***** test 358s ## Verify preserved pixel density: 358s methods = { "nearest", "bilinear", "bicubic", "Fourier" }; 358s ## This test does not seem to do justice to the Fourier method...: 358s tolerances = [ 4 2.2 2.0 209 ]; 358s range = 3:9:100; 358s for m = 1:(length(methods)) 358s t = []; 358s for n = range 358s t(end + 1) = sum(imrotate(eye(n), 20, methods{m}, :, 0)(:)); 358s endfor 358s assert(t, range, tolerances(m)); 358s endfor 358s ***** test 358s a = reshape (1:18, [2 3 3]); 358s 358s a90(:,:,1) = [5 6; 3 4; 1 2]; 358s a90(:,:,2) = a90(:,:,1) + 6; 358s a90(:,:,3) = a90(:,:,2) + 6; 358s 358s a180(:,:,1) = [6 4 2; 5 3 1]; 358s a180(:,:,2) = a180(:,:,1) + 6; 358s a180(:,:,3) = a180(:,:,2) + 6; 358s 358s am90(:,:,1) = [2 1; 4 3; 6 5]; 358s am90(:,:,2) = am90(:,:,1) + 6; 358s am90(:,:,3) = am90(:,:,2) + 6; 358s 358s assert (imrotate (a, 0), a); 358s assert (imrotate (a, 90), a90); 358s assert (imrotate (a, -90), am90); 358s assert (imrotate (a, 180), a180); 358s assert (imrotate (a, -180), a180); 358s assert (imrotate (a, 270), am90); 358s assert (imrotate (a, -270), a90); 358s assert (imrotate (a, 360), a); 358s ***** test 358s # bug #53309 358s in = ones (2, 4); 358s out = [0 1 1 0; 0 1 1 0]; 358s assert (imrotate (in, 90, "nearest", "crop"), out) 358s assert (imrotate (repmat (in, [1 1 3]), 90, "nearest", "crop"), 358s repmat (out, [1 1 3])) 358s ***** test 358s ## bug #53309 358s rgbs = { 358s rand(5, 4, 3), # normal path, does interpolation 358s rand(4, 4, 3), # rows and columns, same number, simple rotdim 358s rand(4, 6, 3), # rows and columns differents, but of length even 358s }; 358s for rgb_i = 1:numel(rgbs) 358s rgb = rgbs{rgb_i}; 358s rot = imrotate (rgb, 90, "nearest", "crop"); 358s for i = 1:3 358s assert (rot(:,:,i), imrotate (rgb(:,:,i), 90, "nearest", "crop")) 358s endfor 358s ## same check but with an integer class 358s rgb = im2uint8 (rgb); 358s rot = imrotate (rgb, 90, "nearest", "crop"); 358s assert (class (rgb), class (rot)) 358s for i = 1:3 358s assert (rot(:,:,i), imrotate (rgb(:,:,i), 90, "nearest", "crop")) 358s endfor 358s endfor 358s 6 tests, 5 passed, 1 known failure, 0 skipped 358s [inst/roicolor.m] 358s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/roicolor.m 358s ***** demo 358s roicolor([1:10],2,4); 358s % Returns '1' where input values are between 2 and 4 (both included). 358s ***** assert(roicolor([1:10],2,4),logical([0,1,1,1,zeros(1,6)])); 358s ***** assert(roicolor([1,2;3,4],3,3),logical([0,0;1,0])); 358s ***** assert(roicolor([1,2;3,4],[1,4]),logical([1,0;0,1])); 358s 3 tests, 3 passed, 0 known failure, 0 skipped 358s [inst/imtransform.m] 358s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imtransform.m 358s ***** demo 358s ## Various linear transforms 358s figure (); 358s im = [checkerboard(20, 2, 4); checkerboard(40, 1, 2)]; 358s %input space corners 358s incp = [1 1; 160 1; 160 160; 1 160]; 358s udata = [min(incp(:,1)) max(incp(:,1))]; 358s vdata = [min(incp(:,2)) max(incp(:,2))]; 358s subplot (2,3,1); 358s imshow (im) 358s hold on 358s plot (incp(:,1), incp(:,2), 'ob') 358s axis on 358s xlabel ('Original') 358s 358s % Translation and scaling 358s outcp = incp * 2; 358s outcp(:,1) += 200; 358s outcp(:,2) += 500; 358s T = maketform ('affine', incp(1:3,:), outcp(1:3,:)); 358s subplot (2,3,2); 358s [im2 xdata ydata] = imtransform (im, T, 'udata', udata, 358s 'vdata', vdata, 'fillvalues', 1); 358s imh = imshow (im2); set (imh, 'xdata', xdata, 'ydata', ydata) 358s set (gca, 'xlim', xdata, 'ylim', ydata) 358s axis on, hold on, xlabel ('Translation / Scaling'); 358s plot (outcp(:,1), outcp(:,2), 'or') 358s 358s % Shear 358s outcp = [1 1; 160 1; 140 160; -19 160]; % affine only needs 3 control points 358s T = maketform ('affine', incp(1:3,:), outcp(1:3,:)); 358s subplot (2,3,3); 358s [im2 xdata ydata] = imtransform (im, T, 'udata', udata, 358s 'vdata', vdata, 'fillvalues', 1); 358s imh = imshow (im2); set (imh, 'xdata', xdata, 'ydata', ydata) 358s set (gca, 'xlim', xdata, 'ylim', ydata) 358s axis on, hold on, xlabel ('Shear'); 358s plot (outcp(:,1), outcp(:,2), 'or') 358s 358s % Rotation 358s theta = pi/4; 358s T = maketform ('affine', [cos(theta) -sin(theta); ... 358s sin(theta) cos(theta); 0 0]); 358s outcp = tformfwd (T, incp); 358s subplot (2,3,4); 358s [im2 xdata ydata] = imtransform (im, T, 'udata', udata, 358s 'vdata', vdata, 'fillvalues', 1 ); 358s imh = imshow (im2); set (imh, 'xdata', xdata, 'ydata', ydata) 358s set (gca, 'xlim', xdata, 'ylim', ydata) 358s axis on, hold on, xlabel ('Rotation'); 358s plot (outcp(:,1), outcp(:,2), 'or') 358s 358s % Reflection around x axis 358s outcp = incp; 358s outcp(:,2) *= -1; 358s T = cp2tform (incp, outcp, 'similarity'); 358s subplot (2,3,5); 358s [im2 xdata ydata] = imtransform (im, T, 'udata', udata, 358s 'vdata', vdata, 'fillvalues', 1 ); 358s imh = imshow (im2); set (imh, 'xdata', xdata, 'ydata', ydata) 358s set (gca, 'xlim', xdata, 'ylim', ydata) 358s axis on, hold on, xlabel ('Reflection'); 358s plot (outcp(:,1), outcp(:,2), 'or') 358s 358s % Projection 358s outcp = [1 1; 160 -40; 220 220; 12 140]; 358s T = maketform ('projective', incp, outcp); 358s subplot (2,3,6); 358s [im2 xdata ydata] = imtransform (im, T, 'udata', udata, 358s 'vdata', vdata, 'fillvalues', 1 ); 358s imh = imshow (im2); set (imh, 'xdata', xdata, 'ydata', ydata) 358s set (gca, 'xlim', xdata, 'ylim', ydata) 358s axis on, hold on, xlabel ('Projection'); 358s plot (outcp(:,1), outcp(:,2), 'or') 358s ***** demo 358s ## Streched image 358s rad = 2; % minimum value: 4/pi 358s [uu vv] = meshgrid ((-2:2)/rad, (-2:2)/rad); 358s rescfactor = sin ((uu.^2 + vv.^2).^.5); 358s inpts = [(reshape (uu, numel (uu), 1)), (reshape (vv, numel (uu), 1))]; 358s xx = rescfactor .* sign(uu); 358s yy = rescfactor .* sign(vv); 358s outpts = [reshape(xx, numel (xx), 1) reshape(yy, numel (yy), 1)]; 358s 358s T = cp2tform (inpts, outpts, "polynomial", 4); 358s figure; 358s subplot (1,2,1) 358s im = zeros (800, 800, 3); 358s im(:,:,1) = checkerboard (100) > 0.2; 358s im(:,:,3) = checkerboard (100) < 0.2; 358s [im2 xdata ydata] = imtransform (im, T, 'udata', [-2 2], 358s 'vdata', [-2 2], 'fillvalues', 358s [0 1 0]); 358s imh = imshow (im2); 358s set (imh, 'xdata', xdata, 'ydata', ydata) 358s set (gca, 'xlim', xdata, 'ylim', ydata) 358s [im cmap] = imread ('default.img'); 358s subplot (1,2,2) 358s [im2 xdata ydata] = imtransform (im, T, 'udata', [-1 1], 358s 'vdata', [-1 1], 'fillvalues', 358s round (length (cmap) / 2)); 358s imh = imshow (im2, cmap); 358s ***** test 358s im = checkerboard (); 358s incp = [0 0; 0 1; 1 1]; 358s scl = 10; 358s outcp = scl * incp; 358s T = maketform ('affine', incp, outcp); 358s [im2 xdata ydata] = imtransform (im, T, 'udata', [0 1], 358s 'vdata', [0 1], 'size', [500 500]); 358s assert (xdata, scl * ([0 1])) 358s assert (ydata, scl * ([0 1])) 358s assert (size (im2), [500 500]) 358s ***** test 358s im = checkerboard (); 358s incp = [0 0; 0 1; 1 1]; 358s scl = 10; 358s outcp = scl * incp; 358s xyscale = scl; 358s T = maketform ('affine', incp, outcp); 358s [im2 xdata ydata] = imtransform (im, T, 'xyscale', xyscale); 358s assert (size (im2), size (im), 1) 358s ***** test 358s im = checkerboard (100, 10, 4); 358s theta = 2 * pi; 358s T = maketform ("affine", [cos(theta) -sin(theta); ... 358s sin(theta) cos(theta); 0 0]); 358s im2 = imtransform (im, T, "nearest", "xdata", [1 800], "ydata", [1 2000]); 358s im = im(2:end-1, 2:end-1); %avoid boundaries 358s im2 = im2(2:end-1, 2:end-1); 358s assert (im, im2) 359s ***** test 359s im = checkerboard (20, 10, 4); 359s theta = pi/6; 359s T = maketform ('affine', [cos(theta) -sin(theta); ... 359s sin(theta) cos(theta); 0 0]); 359s [im2, xdata] = imtransform (im, T); 359s nu = columns(im); 359s nv = rows(im); 359s nx = xdata(2); 359s diag = sqrt (nu^2 + nv^2); 359s ang = atan (nv / nu); 359s assert (nx, diag * abs (cos (theta - ang)), 359s diag * 1 / size (im2, 2)) 359s ***** test 359s im = rand (2); 359s tmat = [eye(2); 0 0]; 359s T = maketform ("affine", tmat); 359s im2 = imtransform (im, T, "xdata", [1 3]); 359s assert (im2(:,3), zeros (2,1)) 359s ***** test 359s im = rand (2); 359s tmat = [eye(2); 0 0]; 359s T = maketform ('affine', tmat); 359s im2 = imtransform (im, T, "xdata", [1 3]); 359s assert (size (im2), [2 3]) 359s ***** test 359s im = rand (2); 359s tmat = [eye(2); 0 0]; 359s T = maketform ('affine', tmat); 359s im2 = imtransform (im, T, "xyscale", [0.5 0.5]); 359s assert (size (im2), [3 3]) 359s ***** test 359s im = [1,2,3,4; 5,6,7,8; 9,10,11,12; 13,14,15,16]; 359s tmat = [eye(2); 0 0]; 359s T = maketform ('affine', tmat); 359s im2 = imtransform (im, T, 'xdata', [1 4], 'ydata', [4 1]); 359s assert (im2, [13,14,15,16; 9,10,11,12; 5,6,7,8; 1,2,3,4]) 359s 359s im2 = imtransform (im, T, 'xdata', [4 1], 'ydata', [1 4]); 359s assert (im2, [4,3,2,1; 8,7,6,5; 12,11,10,9; 16,15,14,13]) 359s 359s [im2, xd, yd] = imtransform (im, T, 'xdata', [4 1], 'ydata', [4 1]); 359s assert (im2, [16,15,14,13; 12,11,10,9; 8,7,6,5; 4,3,2,1]) 359s assert (xd, [4 1]) 359s assert (yd, [4 1]) 359s 359s ***** error imtransform () 359s ***** error imtransform (rand(2)) 359s ***** error ... 359s imtransform (rand(2), maketform ('affine', [eye(2); 0 0]), ... 359s 'udata', [1 2], 'vdata', [2 1]); 359s ***** error ... 359s imtransform (rand(2), maketform ('affine', [eye(2); 0 0]), ... 359s 'udata', [2 1], 'vdata', [1 2]); 359s 12 tests, 12 passed, 0 known failure, 0 skipped 359s [inst/houghpeaks.m] 359s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/houghpeaks.m 359s ***** shared im1 359s im1 = magic (5); 359s ***** error houghpeaks () 360s ***** error houghpeaks (1, 2, 3, 4, 5, 6, 7) 360s ***** assert (houghpeaks (im1)) 360s ***** assert (houghpeaks (im1, 2)) 360s ***** assert (houghpeaks (im1, "Threshold", 10)) 360s ***** assert (houghpeaks (im1, 2, "Threshold", 10)) 360s ***** assert (houghpeaks (im1, "NHoodSize", [3 3])) 360s ***** assert (houghpeaks (im1, 2, "NHoodSize", [3 3])) 360s ***** assert (houghpeaks (im1, "Threshold", 10, "NHoodSize", [3 3])) 360s ***** assert (houghpeaks (im1, "NHoodSize", [3 3], "Threshold", 10)) 360s ***** assert (houghpeaks (im1, 2, "Threshold", 10, "NHoodSize", [3 3])) 360s ***** assert (houghpeaks (im1, 2, "NHoodSize", [3 3], "Threshold", 10)) 360s ***** error houghpeaks (ones (5, 5, 5)) 360s ***** error houghpeaks ("hello") 360s ***** error houghpeaks (im1, 1.5) 360s ***** error houghpeaks (im1, -2) 360s ***** error houghpeaks (im1, [1 1]) 360s ***** error houghpeaks (im1, "Threshold", "hello") 360s ***** error houghpeaks (im1, "Threshold", -2) 360s ***** error houghpeaks (im1, "Threshold", [1 1]) 360s ***** error houghpeaks (im1, "NHoodSize", [3 3 3]) 360s ***** error houghpeaks (im1, "NHoodSize", "hello") 360s ***** error houghpeaks (im1, "NHoodSize", [-3 -3]) 360s ***** error houghpeaks (im1, "NHoodSize", [4 4]) 360s ***** test 360s out = houghpeaks (im1); 360s assert (size (out), [1 2]) 360s assert (class (out), "double") 360s ***** test 360s out = houghpeaks (im1, 3); 360s assert (size (out), [3 2]) 360s ***** test 360s expected = [5 3; 1 2; 3 5; 1 5]; 360s assert (houghpeaks (im1, 4), expected) # this checks for undocumented nhood >=3 360s assert (houghpeaks (im1, 4, "nhoodsize", [3,3]), expected) 360s assert (houghpeaks (im1, 4, "threshold", 10), expected) 360s assert (houghpeaks (im1, 4, "threshold", 24), expected(1:2,:)) 360s ***** test 360s im2 = magic (7); 360s expected_a = [7 4; 1 3; 3 1; 5 6]; 360s expected_b = [7 4; 1 3; 4 7; 1 7]; 360s assert (houghpeaks (im2, 4), expected_a) 360s assert (houghpeaks (im2, 4, "nhoodsize", [5,5]), expected_b) 360s assert (houghpeaks (im2, 4, "threshold", 24), expected_a) 360s assert (houghpeaks (im2, 4, "threshold", 47), expected_a(1:2,:)) 360s ***** test 360s im3 = magic (99); 360s expected_a = [99 50; 1 49; 3 47; 5 45; 7 43; 9 41; 11 39]; 360s expected_b = [99 50; 1 49; 7 43; 13 37; 19 31; 25 25; 31 19]; 360s expected_c = [99 50; 1 49; 2 48; 3 47; 4 46; 5 45; 6 44]; 360s assert (houghpeaks (im3, 7), expected_a) 360s assert (houghpeaks (im3, 7, "nhoodsize", [11 11]), expected_b) 360s assert (houghpeaks (im3, 7, "nhoodsize", [11 1]), expected_c) 360s assert (houghpeaks (im3, 7, "nhoodsize", [11 1]), expected_c) 360s ***** test 360s im4 = double (im2uint16 (peaks ())); 360s expected_a = [37 15; 39 15; 41 15; 15 16; 17 16]; 360s expected_b = [37 15; 15 16; 26 21; 37 26; 20 32]; 360s expected_c = [37 15; 15 16; 35 16; 15 17; 35 17]; 360s expected_d = [37 15; 38 15; 39 15; 40 15; 41 15]; 360s assert (houghpeaks (im4, 5), expected_a) 360s assert (houghpeaks (im4, 5, "nhoodsize", [21 21]), expected_b) 360s assert (houghpeaks (im4, 5, "nhoodsize", [21 1]), expected_c) 360s assert (houghpeaks (im4, 5, "nhoodsize", [1 21]), expected_d) 360s ***** test # tests use of anti-symmetry in H 360s im5 = zeros (6,4); im5(2,1) = 1; im5(5,4) = 2; 360s expected = [5 4; 2 1]; 360s assert (houghpeaks (im5, 2, "nhoodsize", [1 1]), expected); 360s assert (houghpeaks (im5, 2, "nhoodsize", [3 3]), expected(1,:)); 360s ***** test #test use of anti-symmetry in the other direction 360s im6 = magic (100); 360s expected_a = [1 1; 100 99; 1 4; 100 95; 1 8; 100 91; 1 12]; 360s expected_b = [1 1; 100 95; 1 8; 100 87; 1 16; 100 79; 1 24]; 360s expected_c = [1 1; 100 99; 100 98; 1 4; 1 5; 100 95; 100 94]; 360s expected_d = expected_b; 360s assert (houghpeaks (im6, 7), expected_a) 360s assert (houghpeaks (im6, 7, "nhoodsize", [11 11]), expected_b) 360s assert (houghpeaks (im6, 7, "nhoodsize", [11 1]), expected_c) 360s assert (houghpeaks (im6, 7, "nhoodsize", [1 11]), expected_d) 360s ***** test # test undocumented Matlab default value for nhoodsize 360s im = zeros (723, 180); 360s im(585,136) = 8; 360s im(593,135) = 7; 360s im(310,46) = 6; 360s expected = [585, 136; 310, 46]; 360s assert (houghpeaks (im, 2), expected) 360s ***** test 360s I = max (0, phantom ()); 360s H = hough (I); 360s P0 = [585, 136; 310, 46; 595, 136; 522, 104; 373, 46]; 360s assert (houghpeaks (H, 5), P0) 360s ***** demo 360s I = checkerboard (30, 1, 1); 360s I = imnoise(I, "salt & pepper", 0.2); 360s figure, imshow (I); 360s title ("noisy image with some lines"); 360s BW = edge (I, "canny"); 360s figure, imshow(BW); 360s title ("edge image"); 360s [H, theta, rho] = hough (BW); 360s figure, imshow (mat2gray (H), [],"XData",theta,"YData",rho); 360s title ("Hough transform of edge image \n 2 peaks marked"); 360s axis on; xlabel("theta [degrees]"); ylabel("rho [pixels]"); 360s peaks = houghpeaks (H, 2); 360s peaks_rho = rho(peaks(:,1)) 360s peaks_theta = theta(peaks(:,2)) 360s hold on; 360s plot(peaks_theta,peaks_rho,"sr"); 360s hold off; 360s 34 tests, 34 passed, 0 known failure, 0 skipped 360s [inst/imregionalmin.m] 360s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imregionalmin.m 360s ***** test 360s a = [ 360s 7 3 9 3 10 3 360s 4 2 3 10 1 3 360s 1 4 6 9 4 10 360s 8 7 9 3 4 8 360s 5 9 3 3 8 9 360s 3 6 9 4 1 10]; 360s 360s a4 = logical ([ 360s 0 0 0 1 0 0 360s 0 1 0 0 1 0 360s 1 0 0 0 0 0 360s 0 0 0 1 0 0 360s 0 0 1 1 0 0 360s 1 0 0 0 1 0]); 360s assert (imregionalmin (a, 4), a4) 360s assert (imregionalmin (uint8 (a), 4), a4) 360s assert (imregionalmin (int8 (a), 4), a4) 360s 360s a8 = logical ([ 360s 0 0 0 0 0 0 360s 0 0 0 0 1 0 360s 1 0 0 0 0 0 360s 0 0 0 0 0 0 360s 0 0 0 0 0 0 360s 1 0 0 0 1 0]); 360s assert (imregionalmin (a), a8) 360s assert (imregionalmin (a, 8), a8) 360s assert (imregionalmin (uint8 (a), 8), a8) 360s assert (imregionalmin (int8 (a), 8), a8) 360s ***** test 360s a = [ 360s 4 8 5 -1 8 7 360s -1 4 0 7 1 1 360s 6 1 2 6 7 0 360s 6 1 5 -2 5 9 360s 1 4 -1 0 0 2 360s 4 6 1 0 7 1]; 360s 360s a4 = logical ([ 360s 0 0 0 1 0 0 360s 1 0 1 0 0 0 360s 0 1 0 0 0 1 360s 0 1 0 1 0 0 360s 1 0 1 0 0 0 360s 0 0 0 0 0 1]); 360s assert (imregionalmin (a, 4), a4) 360s assert (imregionalmin (int8 (a), 4), a4) 360s 360s a8 = logical ([ 360s 0 0 0 1 0 0 360s 1 0 0 0 0 0 360s 0 0 0 0 0 1 360s 0 0 0 1 0 0 360s 0 0 0 0 0 0 360s 0 0 0 0 0 0]); 360s assert (imregionalmin (a), a8) 360s assert (imregionalmin (a, 8), a8) 360s assert (imregionalmin (int8 (a), 8), a8) 360s ***** test 360s ## test float input images 360s im0 = peaks (); 360s im1 = im0 ./ 100; 360s max_pos_expected = [1; 49; 664; 1286; 1302; 2401]; 360s max0 = imregionalmin (im0); 360s max0_pos = find (max0); 360s max1 = imregionalmin (im1); 360s assert (max1, max0) 360s assert (max0_pos, max_pos_expected) 360s 3 tests, 3 passed, 0 known failure, 0 skipped 360s [inst/iptcheckmap.m] 360s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/iptcheckmap.m 360s ***** test ("iptcheckmap (jet(64), 'func', 'var', 2)"); # simple must work 360s ***** fail ("iptcheckmap (3, 'func', 'var', 2)"); # not a colormap 360s 2 tests, 2 passed, 0 known failure, 0 skipped 360s [inst/findbounds.m] 360s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/findbounds.m 360s ***** test 360s im = checkerboard (); 360s theta = pi/6; 360s T = maketform ('affine', [cos(theta) -sin(theta); ... 360s sin(theta) cos(theta); 0 0]); 360s inbnd = [0 0; 1 1]; 360s outbnd = findbounds (T, inbnd); 360s diag = 2^.5; 360s ang = pi/4; 360s assert (diff (outbnd(:,1)), diag * abs (cos (theta - ang)), eps) 360s assert (diff (outbnd(:,2)), diag * abs (cos (theta - ang)), eps) 360s 1 test, 1 passed, 0 known failure, 0 skipped 360s [inst/@imref3d/worldToSubscript.m] 360s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/@imref3d/worldToSubscript.m 360s ***** error id=Octave:invalid-fun-call worldToSubscript (imref3d) 360s ***** error id=Octave:invalid-fun-call worldToSubscript (imref3d, 1) 361s ***** error id=Octave:invalid-fun-call worldToSubscript (imref3d, 1, 2) 361s ***** error id=Octave:invalid-fun-call worldToSubscript (imref3d, 1, 2, 3, 4) 361s ***** error id=Octave:expected-real worldToSubscript (imref3d, 1j, 2, 3) 361s ***** error id=Octave:expected-real worldToSubscript (imref3d, 1, 2j, 3) 361s ***** error id=Octave:expected-real worldToSubscript (imref3d, 1, 2, 3j) 361s ***** error id=Octave:invalid-input-arg worldToSubscript (imref3d, [1, 2], 3, 4) 361s ***** error id=Octave:invalid-input-arg worldToSubscript (imref3d, 1, [2, 3], 4) 361s ***** error id=Octave:invalid-input-arg worldToSubscript (imref3d, 1, 2, [3, 4]) 361s ***** test 361s r = imref3d ([128, 128, 27], 2, 2, 4); 361s xW = [108, 108, 113.2, 2]; 361s yW = [92, 92, 92, -1]; 361s zW = [52, 55, 52, 0.33]; 361s [rS, cS, pS] = worldToSubscript (r, xW, yW, zW); 361s assert (rS, [46, 46, 46, NaN]) 361s assert (cS, [54, 54, 57, NaN]) 361s assert (pS, [13, 14, 13, NaN]) 361s 11 tests, 11 passed, 0 known failure, 0 skipped 361s [inst/@imref3d/contains.m] 361s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/@imref3d/contains.m 361s ***** error id=Octave:invalid-fun-call contains (imref3d) 361s ***** error id=Octave:invalid-fun-call contains (imref3d, 1) 361s ***** error id=Octave:invalid-fun-call contains (imref3d, 1, 2) 361s ***** error id=Octave:invalid-fun-call contains (imref3d, 1, 2, 3, 4) 361s ***** error id=Octave:invalid-input-arg contains (imref3d, [1, 2], 3, 4) 361s ***** error id=Octave:invalid-input-arg contains (imref3d, 1, [2, 3], 4) 361s ***** error id=Octave:invalid-input-arg contains (imref3d, 1, 2, [3, 4]) 361s ***** error id=Octave:expected-real contains (imref3d, 1j, 2, 3) 361s ***** error id=Octave:expected-real contains (imref3d, 1, 2j, 3) 361s ***** error id=Octave:expected-real contains (imref3d, 1, 2, 3j) 361s ***** test 361s r = imref3d ([128, 128, 27]); 361s assert (contains (r, [5, 6, 6, 8], [5, 10, 10, 257], [1, 27.5, 28, 1]), logical ([1, 1, 0, 0])) 361s 11 tests, 11 passed, 0 known failure, 0 skipped 361s [inst/@imref3d/worldToIntrinsic.m] 361s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/@imref3d/worldToIntrinsic.m 361s ***** error id=Octave:invalid-fun-call worldToIntrinsic (imref3d) 362s ***** error id=Octave:invalid-fun-call worldToIntrinsic (imref3d, 1, 2) 362s ***** error id=Octave:invalid-fun-call worldToIntrinsic (imref3d, 1, 2, 3, 4) 362s ***** error id=Octave:expected-real worldToIntrinsic (imref3d, 1j, 2, 3) 362s ***** error id=Octave:expected-real worldToIntrinsic (imref3d, 1, 2j, 3) 362s ***** error id=Octave:expected-real worldToIntrinsic (imref3d, 1, 2, 3j) 362s ***** error id=Octave:invalid-input-arg worldToIntrinsic (imref3d, [1, 2], 3, 4) 362s ***** error id=Octave:invalid-input-arg worldToIntrinsic (imref3d, 1, [2, 3], 4) 362s ***** error id=Octave:invalid-input-arg worldToIntrinsic (imref3d, 1, 2, [3, 4]) 362s ***** test 362s r = imref3d ([128, 128, 27], 2, 2, 4); 362s xW = [108, 108, 108.2, 2]; 362s yW = [92, 92, 92, -1]; 362s zW = [52, 55, 52, 0.33]; 362s [xI, yI, zI] = worldToIntrinsic (r, xW, yW, zW); 362s assert (xI, [54, 54, 54.1, 1], 1e-6) 362s assert (yI, [46, 46, 46, -0.5], 1e-6) 362s assert (zI, [13, 13.75, 13, 0.0825], 1e-6) 362s 10 tests, 10 passed, 0 known failure, 0 skipped 362s [inst/@imref3d/intrinsicToWorld.m] 362s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/@imref3d/intrinsicToWorld.m 362s ***** error id=Octave:invalid-fun-call intrinsicToWorld (imref3d) 362s ***** error id=Octave:invalid-fun-call intrinsicToWorld (imref3d, 1) 362s ***** error id=Octave:invalid-fun-call intrinsicToWorld (imref3d, 1, 2) 363s ***** error id=Octave:invalid-fun-call intrinsicToWorld (imref3d, 1, 2, 3, 4) 363s ***** error id=Octave:expected-real intrinsicToWorld (imref3d, 1j, 2, 3) 363s ***** error id=Octave:expected-real intrinsicToWorld (imref3d, 1, 2j, 3) 363s ***** error id=Octave:expected-real intrinsicToWorld (imref3d, 1, j, 3j) 363s ***** error id=Octave:invalid-input-arg intrinsicToWorld (imref3d, [1, 2], 3, 4) 363s ***** error id=Octave:invalid-input-arg intrinsicToWorld (imref3d, 1, [2, 3], 4) 363s ***** error id=Octave:invalid-input-arg intrinsicToWorld (imref3d, 1, 2, [3, 4]) 363s ***** test 363s r = imref3d ([128, 128, 27], 2, 2, 4); 363s xI = [54, 71, 57, 70]; 363s yI = [46, 48, 79, 80]; 363s zI = [13, 13, 13, 13]; 363s [xW, yW, zW] = intrinsicToWorld (r, xI, yI, zI); 363s assert (xW, [108, 142, 114, 140]) 363s assert (yW, [92, 96, 158, 160]) 363s assert (zW, [52, 52, 52, 52]) 363s ***** test 363s [xW, yW, zW] = intrinsicToWorld (imref3d, -5.3, -2.8, -15.88); 363s assert (xW, -5.3) 363s assert (yW, -2.8) 363s assert (zW, -15.88, 1e-6) 363s ***** test 363s [xW, yW, zW] = intrinsicToWorld (imref3d, [1, 2; 3, 4], 363s [2, 3; 5, 9], 363s [-5, 8; 19, 42.8]); 363s assert (xW, [1, 2; 3, 4]) 363s assert (yW, [2, 3; 5, 9]) 363s assert (zW, [-5, 8; 19, 42.8]) 363s 13 tests, 13 passed, 0 known failure, 0 skipped 363s [inst/@imref3d/imref3d.m] 363s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/@imref3d/imref3d.m 363s ***** error id=Octave:invalid-fun-call imref3d (1, 2, 3, 4, 5) 363s ***** error id=Octave:incorrect-size imref3d (42) 363s ***** error id=Octave:incorrect-size imref3d ([42]) 363s ***** error id=Octave:incorrect-size imref3d ([4, 2]) 363s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3, 3]) 363s ***** error id=Octave:expected-integer imref3d ([4.2, 42]) 363s ***** error id=Octave:expected-positive imref3d ([0, 0]) 363s ***** error id=Octave:expected-positive imref3d ([-4, 2]) 363s ***** error id=Octave:expected-positive imref3d ([4, 2, 3], 0, 1, 2) 363s ***** error id=Octave:expected-positive imref3d ([4, 2, 3], 1, 0, 2) 363s ***** error id=Octave:expected-positive imref3d ([4, 2, 3], 1, 2, 0) 363s ***** error id=Octave:expected-real imref3d ([4, 2, 3], j, 1, 2) 363s ***** error id=Octave:expected-real imref3d ([4, 2, 3], 1, j, 2) 363s ***** error id=Octave:expected-real imref3d ([4, 2, 3], 1, 2, j) 363s ***** error id=Octave:expected-real imref3d ([4, 2, 3], [j, 2], [3, 4], [5, 6]) 363s ***** error id=Octave:expected-real imref3d ([4, 2, 3], [1, 2], [j, 4], [5, 6]) 363s ***** error id=Octave:expected-real imref3d ([4, 2, 3], [1, 2], [3, 4], [5, j]) 363s ***** error id=Octave:expected-vector imref3d ([4, 2, 3], [], [], []) 363s ***** error id=Octave:expected-vector imref3d ([4, 2, 3], [], [1], [2]) 363s ***** error id=Octave:expected-scalar imref3d ([4, 2, 3], [1], [], []) 363s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3], [1, 2], [3, 4], [0]) 363s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3], [1, 2], [3, 4, 5], [6, 7]) 363s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3], [1, 2], [3, 4], [5, 6, 7]) 363s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3], [1; 2], [3, 4], [5, 6]) 363s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3], [1, 2], [3; 4], [5, 6]) 363s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3], [1, 2], [3, 4], [5; 6]) 363s ***** error id=Octave:invalid-indexing imref3d().InvalidProperty 363s ***** error id=Octave:expected-increasing imref3d ([100, 200, 3], [1.5 0.5], [2.5, 3.5], [0.5, 1.5]) 363s ***** error id=Octave:expected-increasing imref3d ([100, 200, 3], [1.5 2.5], [2.5, 1.5], [0.5, 1.5]) 363s ***** error id=Octave:expected-increasing imref3d ([100, 200, 3], [1.5 2.5], [2.5, 3.5], [1.5, 0.5]) 363s ***** assert (imref3d ([4, 2, 3]).ImageSize, [4, 2, 3]) 363s ***** test 363s r = imref3d; 363s assert (r.XWorldLimits, [0.5, 2.5]) 363s assert (r.YWorldLimits, [0.5, 2.5]) 363s assert (r.ZWorldLimits, [0.5, 2.5]) 363s assert (r.ImageSize, [2, 2, 2]) 363s assert (r.PixelExtentInWorldX, 1) 363s assert (r.PixelExtentInWorldY, 1) 363s assert (r.PixelExtentInWorldZ, 1) 363s assert (r.ImageExtentInWorldX, 2) 363s assert (r.ImageExtentInWorldY, 2) 363s assert (r.ImageExtentInWorldZ, 2) 363s assert (r.XIntrinsicLimits, [0.5, 2.5]) 363s assert (r.YIntrinsicLimits, [0.5, 2.5]) 363s assert (r.ZIntrinsicLimits, [0.5, 2.5]) 363s ***** test 363s r = imref3d ([128, 128, 27]); 363s assert (r.XWorldLimits, [0.5, 128.5]) 363s assert (r.YWorldLimits, [0.5, 128.5]) 363s assert (r.ZWorldLimits, [0.5, 27.5]) 363s assert (r.ImageSize, [128, 128, 27]) 363s assert (r.PixelExtentInWorldX, 1) 363s assert (r.PixelExtentInWorldY, 1) 363s assert (r.PixelExtentInWorldZ, 1) 363s assert (r.ImageExtentInWorldX, 128) 363s assert (r.ImageExtentInWorldY, 128) 363s assert (r.ImageExtentInWorldZ, 27) 363s assert (r.XIntrinsicLimits, [0.5, 128.5]) 363s assert (r.YIntrinsicLimits, [0.5, 128.5]) 363s assert (r.ZIntrinsicLimits, [0.5, 27.5]) 363s ***** test 363s r = imref3d ([128, 128, 27], 2, 2, 4); 363s assert (r.XWorldLimits, [1, 257]) 363s assert (r.YWorldLimits, [1, 257]) 363s assert (r.ZWorldLimits, [2, 110]) 363s assert (r.ImageSize, [128, 128, 27]) 363s assert (r.PixelExtentInWorldX, 2) 363s assert (r.PixelExtentInWorldY, 2) 363s assert (r.PixelExtentInWorldZ, 4) 363s assert (r.ImageExtentInWorldX, 256) 363s assert (r.ImageExtentInWorldY, 256) 363s assert (r.ImageExtentInWorldZ, 108) 363s assert (r.XIntrinsicLimits, [0.5, 128.5]) 363s assert (r.YIntrinsicLimits, [0.5, 128.5]) 363s assert (r.ZIntrinsicLimits, [0.5, 27.5]) 363s ***** test 363s r = imref3d; 363s assert (r.XWorldLimits, [0.5, 2.5]) 363s assert (r.YWorldLimits, [0.5, 2.5]) 363s assert (r.ZWorldLimits, [0.5, 2.5]) 363s assert (r.ImageSize, [2, 2, 2]) 363s assert (r.PixelExtentInWorldX, 1) 363s assert (r.PixelExtentInWorldY, 1) 363s assert (r.PixelExtentInWorldZ, 1) 363s assert (r.ImageExtentInWorldX, 2) 363s assert (r.ImageExtentInWorldY, 2) 363s assert (r.ImageExtentInWorldZ, 2) 363s assert (r.XIntrinsicLimits, [0.5, 2.5]) 363s assert (r.YIntrinsicLimits, [0.5, 2.5]) 363s assert (r.ZIntrinsicLimits, [0.5, 2.5]) 363s r.ImageSize = [128, 128, 27]; 363s assert (r.XWorldLimits, [0.5, 2.5]) 363s assert (r.YWorldLimits, [0.5, 2.5]) 363s assert (r.ZWorldLimits, [0.5, 2.5]) 363s assert (r.ImageSize, [128, 128, 27]) 363s assert (r.PixelExtentInWorldX, 0.015625, 1e-6) 363s assert (r.PixelExtentInWorldY, 0.015625, 1e-6) 363s assert (r.PixelExtentInWorldZ, 0.074074, 1e-6) 363s assert (r.ImageExtentInWorldX, 2) 363s assert (r.ImageExtentInWorldY, 2) 363s assert (r.ImageExtentInWorldZ, 2) 363s assert (r.XIntrinsicLimits, [0.5, 128.5]) 363s assert (r.YIntrinsicLimits, [0.5, 128.5]) 363s assert (r.ZIntrinsicLimits, [0.5, 27.5]) 363s ***** test 363s r = imref3d; 363s assert (r.XWorldLimits, [0.5, 2.5]) 363s assert (r.YWorldLimits, [0.5, 2.5]) 363s assert (r.ZWorldLimits, [0.5, 2.5]) 363s assert (r.ImageSize, [2, 2, 2]) 363s assert (r.PixelExtentInWorldX, 1) 363s assert (r.PixelExtentInWorldY, 1) 363s assert (r.PixelExtentInWorldZ, 1) 363s assert (r.ImageExtentInWorldX, 2) 363s assert (r.ImageExtentInWorldY, 2) 363s assert (r.ImageExtentInWorldZ, 2) 363s assert (r.XIntrinsicLimits, [0.5, 2.5]) 363s assert (r.YIntrinsicLimits, [0.5, 2.5]) 363s assert (r.ZIntrinsicLimits, [0.5, 2.5]) 363s r.XWorldLimits = [-60, 13.33]; 363s r.YWorldLimits = [-900.8, -560.26]; 363s r.ZWorldLimits = [-302.48, 1500.333]; 363s assert (r.XWorldLimits, [-60, 13.33]) 363s assert (r.YWorldLimits, [-900.8, -560.26]) 363s assert (r.ZWorldLimits, [-302.48, 1500.333]) 363s assert (r.ImageSize, [2, 2, 2]) 363s assert (r.PixelExtentInWorldX, 36.6650) 363s assert (r.PixelExtentInWorldY, 170.27, 1e-5) 363s assert (r.PixelExtentInWorldZ, 901.4065) 363s assert (r.ImageExtentInWorldX, 73.33, 1e-5) 363s assert (r.ImageExtentInWorldY, 340.54, 1e-5) 363s assert (r.ImageExtentInWorldZ, 1802.813, 1e-5) 363s assert (r.XIntrinsicLimits, [0.5, 2.5]) 363s assert (r.YIntrinsicLimits, [0.5, 2.5]) 363s assert (r.ZIntrinsicLimits, [0.5, 2.5]) 363s ***** test 363s r = imref3d; 363s fail ("r.XWorldLimits = []", "") 363s fail ("r.XWorldLimits = [1]", "") 363s fail ("r.XWorldLimits = [j]", "") 363s fail ("r.XWorldLimits = [1; 2]", "") 363s fail ("r.YWorldLimits = []", "") 363s fail ("r.YWorldLimits = [1]", "") 363s fail ("r.YWorldLimits = [j]", "") 363s fail ("r.YWorldLimits = [1; 2]", "") 363s fail ("r.ZWorldLimits = []", "") 363s fail ("r.ZWorldLimits = [1]", "") 363s fail ("r.ZWorldLimits = [j]", "") 363s fail ("r.ZWorldLimits = [1; 2]", "") 363s 37 tests, 37 passed, 0 known failure, 0 skipped 363s [inst/imshowpair.m] 363s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imshowpair.m 363s ***** error id=Octave:invalid-fun-call imshowpair () 363s ***** error id=Octave:invalid-fun-call imshowpair (1) 363s ***** error id=Octave:invalid-input-arg imshowpair (uint8 (200.*rand (100)), ... 363s uint8 (200.*rand (100)), "interpolation") 363s ***** error id=Octave:invalid-input-arg imshowpair (uint8 (200.*rand (100)), ... 363s uint8 (200.*rand (100)), "xxxxx") 363s ***** error id=Octave:invalid-input-arg imshowpair (1, 1, "ColorChannels", [0 0 0]) 363s ***** error id=Octave:invalid-input-arg imshowpair (1, 1, "ColorChannels", [1 1 1]) 363s ***** error id=Octave:invalid-input-arg imshowpair (1, 1, "ColorChannels", [2 2 2]) 363s ***** error id=Octave:expected-less-equal imshowpair (1, 1, "ColorChannels", [42 0 0]) 363s ***** error id=Octave:expected-greater-equal imshowpair (1, 1, "ColorChannels", [-1 2 0]) 363s ***** error id=Octave:invalid-input-arg imshowpair (1, 1, "ColorChannels", "deep-purple") 363s ***** test 363s A = uint8 (200.*rand (100)); 363s B = uint8 (150.*rand (100)); 363s RA = imref2d (size (A), 0.5, 0.5); 363s RB = imref2d (size (B), 0.5, 0.5); 363s figure; 363s Ax=axes; 363s assert (imshowpair (A, B)); 363s assert (imshowpair (A, RA, B, RB)); 363s assert (imshowpair (A, B, "blend")); 363s assert (imshowpair (A, B, "falsecolor", "ColorChannels", "red-cyan")); 363s assert (imshowpair (A, B, "Parent", Ax)); 363s assert (imshowpair (A, B, "montage", "Scaling", "joint")); 363s close; 364s 11 tests, 11 passed, 0 known failure, 0 skipped 364s [inst/imopen.m] 364s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imopen.m 364s ***** shared in, out 364s in = [ 0 0 0 1 1 1 0 0 1 1 364s 0 1 0 1 1 1 0 0 0 1 364s 1 1 1 1 1 0 0 0 0 0 364s 0 1 1 1 1 0 0 0 0 0 364s 0 0 0 1 0 0 0 0 1 0 364s 0 0 0 0 0 0 0 1 1 1 364s 0 0 0 0 1 0 1 0 1 0 364s 0 0 0 1 1 1 1 1 0 0 364s 0 0 0 0 1 1 1 0 0 0 364s 0 0 0 1 1 1 0 0 0 0]; 364s 364s out = [ 0 0 0 1 1 1 0 0 0 0 364s 0 0 0 1 1 1 0 0 0 0 364s 0 0 0 0 0 0 0 0 0 0 364s 0 0 0 0 0 0 0 0 0 0 364s 0 0 0 0 0 0 0 0 0 0 364s 0 0 0 0 0 0 0 0 0 0 364s 0 0 0 0 0 0 0 0 0 0 364s 0 0 0 0 0 0 0 0 0 0 364s 0 0 0 0 0 0 0 0 0 0 364s 0 0 0 0 0 0 0 0 0 0]; 364s ***** assert (imopen (logical (in), ones (3)), logical (out)); 364s 364s out = [80 80 1 8 15 51 51 51 51 40 364s 80 80 7 8 15 54 55 55 55 40 364s 4 7 7 8 15 54 55 55 55 40 364s 17 17 17 7 3 54 55 55 55 28 364s 17 17 17 2 9 54 54 54 52 33 364s 17 17 17 29 29 29 29 26 33 33 364s 5 5 13 29 29 29 30 32 39 39 364s 6 6 13 29 29 29 30 32 39 39 364s 10 12 77 77 77 35 35 35 39 39 364s 10 12 77 77 77 35 35 35 27 27]; 364s ***** assert (imopen (magic (10), ones (3)), out); 364s ***** assert (imopen (uint8 (magic (10)), strel ("square", 3)), uint8 (out)); 364s 364s ## using a se that will be decomposed in 2 pieces 364s out =[ 1 1 1 8 15 40 40 40 40 40 364s 4 4 4 8 15 40 40 40 40 40 364s 4 4 4 8 15 40 40 40 40 40 364s 5 5 5 3 3 28 28 28 28 28 364s 5 5 5 2 9 28 28 28 28 28 364s 5 5 13 26 26 26 26 26 26 26 364s 5 5 13 29 29 29 29 29 27 27 364s 6 6 13 29 29 29 29 29 27 27 364s 6 6 13 29 29 29 29 29 27 27 364s 6 6 13 29 29 29 29 29 27 27]; 364s ***** assert (imopen (magic (10), ones(5)), out); 364s 364s ## using a weird non-symmetric and even-size se 364s out =[ 7 7 1 8 15 55 51 51 41 40 364s 7 7 7 8 16 55 55 55 51 41 364s 4 9 7 7 16 54 55 54 55 47 364s 25 25 9 9 3 52 54 52 54 28 364s 25 24 25 2 9 33 52 34 52 34 364s 17 24 29 31 29 30 33 26 33 34 364s 17 5 29 31 31 31 30 32 39 33 364s 10 6 13 35 35 29 31 32 45 39 364s 10 12 77 36 36 35 35 31 45 45 364s 11 12 77 77 77 36 36 35 27 45]; 364s ***** assert (imopen (magic (10), [1 0 0 0; 1 1 1 0; 0 1 0 1]), out); 364s 5 tests, 5 passed, 0 known failure, 0 skipped 364s [inst/lab2single.m] 364s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/lab2single.m 364s ***** test 364s l_max_f = 100 + (25500 / 65280); 364s ab_max_f = 127 + (255 / 256); 364s cm = [ 364s -Inf 364s Inf 364s NaN 364s l_max_f 364s ab_max_f 364s -200 364s -129 364s -128 364s -128+(255/65280)*(0.499) 364s -128+(255/65280)*(0.500) 364s -128+(255/65280)*(0.501) 364s -127 364s -1 364s 0 364s (100/65280)*(0.499999) 364s (100/65280)*(0.51) 364s (100/65280)*(0.500001) 364s 1 364s 99 364s 100 364s 101 364s 126 364s 127 364s 128 364s 254 364s 255 364s 256 364s 257]; 364s cm = repmat (single (cm), [1 3]); 364s im2d = reshape (cm, [7 4 3]); 364s imnd = permute (im2d, [1 4 3 2]); 364s 364s cm_uint8 = uint8 ([ 364s 0 0 0 364s 255 255 255 364s 255 255 255 364s 255 228 228 364s 255 255 255 364s 0 0 0 364s 0 0 0 364s 0 0 0 364s 0 0 0 364s 0 0 0 364s 0 0 0 364s 0 1 1 364s 0 127 127 364s 0 128 128 364s 0 128 128 364s 0 128 128 364s 0 128 128 364s 3 129 129 364s 252 227 227 364s 255 228 228 364s 255 229 229 364s 255 254 254 364s 255 255 255 364s 255 255 255 364s 255 255 255 364s 255 255 255 364s 255 255 255 364s 255 255 255]); 364s 364s assert (lab2uint8 (cm), cm_uint8) 364s im2d_uint8 = reshape (cm_uint8, [7 4 3]); 364s assert (lab2uint8 (im2d), im2d_uint8) 364s assert (lab2uint8 (imnd), permute (im2d_uint8, [1 4 3 2])) 364s 364s cm_uint16 = uint16 ([ 364s 0 0 0 364s 65535 65535 65535 364s 65535 65535 65535 364s 65535 58468 58468 364s 65535 65535 65535 364s 0 0 0 364s 0 0 0 364s 0 0 0 364s 0 0 0 364s 0 1 1 364s 0 1 1 364s 0 256 256 364s 0 32512 32512 364s 0 32768 32768 364s 0 32768 32768 364s 1 32768 32768 364s 1 32768 32768 364s 653 33024 33024 364s 64627 58112 58112 364s 65280 58368 58368 364s 65535 58624 58624 364s 65535 65024 65024 364s 65535 65280 65280 364s 65535 65535 65535 364s 65535 65535 65535 364s 65535 65535 65535 364s 65535 65535 65535 364s 65535 65535 65535]); 364s 364s assert (lab2uint16 (cm), cm_uint16) 364s im2d_uint16 = reshape (cm_uint16, [7 4 3]); 364s assert (lab2uint16 (im2d), im2d_uint16) 364s assert (lab2uint16 (imnd), permute (im2d_uint16, [1 4 3 2])) 364s 364s assert (lab2double (cm), double (cm)) 364s assert (lab2double (im2d), double (im2d)) 364s assert (lab2double (imnd), double (imnd)) 364s 1 test, 1 passed, 0 known failure, 0 skipped 364s [inst/deconvwnr.m] 364s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/deconvwnr.m 364s ***** shared im0, psf0, im0_out, psf1, im2, out2_0, out2_1, im3 364s im0 = ones (5, 5); 364s psf0 = ones (3, 3); 364s im0_out = 0.11111 .* ones (5, 5); 364s psf1 = [1 0 0; 0 1 0; 0 0 1]; 364s im2 = checkerboard (2, 2, 2); 364s out2_0 = [ 364s -0.4713 -0.2786 0.4229 0.5161 -0.2759 -0.4685 0.5131 0.4199; 364s -0.4713 -0.2786 0.4229 0.5161 -0.2759 -0.4685 0.5131 0.4199; 364s 0.5161 0.4229 -0.2786 -0.4713 0.4199 0.5131 -0.4685 -0.2759; 364s 0.5161 0.4229 -0.2786 -0.4713 0.4199 0.5131 -0.4685 -0.2759; 364s -0.4713 -0.2786 0.4229 0.5161 -0.2759 -0.4685 0.5131 0.4199; 364s -0.4713 -0.2786 0.4229 0.5161 -0.2759 -0.4685 0.5131 0.4199; 364s 0.5161 0.4229 -0.2786 -0.4713 0.4199 0.5131 -0.4685 -0.2759; 364s 0.5161 0.4229 -0.2786 -0.4713 0.4199 0.5131 -0.4685 -0.2759]; 364s out2_1 = [ 364s -0.0000 0.8481 0.4288 -0.4194 0.0000 0.2765 0.1373 -0.1392; 364s 0.5623 -0.0000 -0.4194 0.1429 0.5623 0.0000 -0.1392 0.4231; 364s 0.1429 -0.4194 0 0.5623 0.4231 -0.1392 0 0.5623; 364s -0.4194 0.4288 0.8481 0 -0.1392 0.1373 0.2765 0; 364s -0.0000 0.8481 0.4288 -0.4194 0.0000 0.2765 0.1373 -0.1392; 364s 0.5623 -0.0000 -0.4194 0.1429 0.5623 0.0000 -0.1392 0.4231; 364s 0.1429 -0.4194 0 0.5623 0.4231 -0.1392 0 0.5623; 364s -0.4194 0.4288 0.8481 0 -0.1392 0.1373 0.2765 0]; 364s im3 = rot90 (diag (0.5.*ones (1,8)) + diag (ones(1,7), 1)); 364s ***** error deconvwnr () 364s ***** error deconvwnr (ones (5)) 365s ***** assert (deconvwnr (ones (5), ones (3))) 365s ***** assert (deconvwnr (ones (5), ones (3), 0.7)) 365s ***** assert (deconvwnr (ones (5), ones (3), 0.5 .* ones (5))) 365s ***** assert (deconvwnr (ones (5, 5, 5), ones (3))) 365s ***** error deconvwnr (ones (5), ones (3), -0.7) 365s ***** error 365s deconvwnr (ones (5), ones (7)) 365s ***** error 365s deconvwnr (ones (5, 8, 2), ones (6, 5)) 365s ***** assert (deconvwnr (im0, psf0), im0_out, 1e-5) 365s ***** assert (deconvwnr (im0, single (psf0)), im0_out, 1e-5) 365s ***** assert (class (deconvwnr (im0, psf0)), "double") 365s ***** assert (deconvwnr (single (im0), psf0), single (im0_out), 1e-5) 365s ***** assert (class (deconvwnr (single (im0), psf0)), "single") 365s ***** assert (deconvwnr (im2uint8 (im0), psf0), im2uint8 (im0_out)) 365s ***** assert (class (deconvwnr (im2uint8 (im0), psf0)), "uint8") 365s ***** assert (deconvwnr (im2uint16 (im0), psf0), im2uint16 (im0_out)) 365s ***** assert (class (deconvwnr (im2uint16 (im0), psf0)), "uint16") 365s ***** assert (deconvwnr (im2int16 (im0), psf0), im2int16 (im0_out)) 365s ***** assert (class (deconvwnr (im2int16 (im0), psf0)), "int16") 365s ***** error deconvwnr (true (5), ones (3)) 365s ***** test 365s assert (deconvwnr (im0, psf0, 0.01), im0_out, 1e-4) 365s assert (deconvwnr (im0, psf1, 0.01), 0.333.*ones (5), 1e-4) 365s ***** test 365s im1 = magic (5)./25; 365s out1_0 = [ 365s -0.0820 0.5845 -0.4293 0.2372 -0.0214; 365s 0.6241 -0.5877 0.2768 0.0182 -0.0424; 365s -0.5481 0.3164 0.0578 -0.2009 0.6637; 365s 0.1580 0.0974 -0.1613 0.7033 -0.5085; 365s 0.1370 -0.1217 0.5449 -0.4689 0.1976]; 365s out1_1 = [ 365s -0.2959 -0.1363 0.4038 0.7595 0.1347; 365s -0.0191 0.3269 0.8768 0.0559 -0.3748; 365s 0.2481 0.7979 0.1731 -0.4517 0.0982; 365s 0.7210 0.2904 -0.5305 0.0194 0.3654; 365s 0.2116 -0.4132 -0.0575 0.4826 0.6422]; 365s assert (deconvwnr (im1, psf0, 0.01), out1_0, 1e-4) 365s assert (deconvwnr (im1, psf1, 0.01), out1_1, 1e-4) 365s ***** test 365s assert (deconvwnr (im2, psf0, 0.01), out2_0, 1e-4) 365s assert (deconvwnr (im2, psf1, 0.01), out2_1, 1e-4) 365s ***** test 365s out3_0_x = [ 365s -1.1111 1.0556 -0.4444 -0.1111 0.5556 -0.9444 0.8889 0.0556; 365s 1.0556 -0.7778 0.2222 0.5556 -1.2778 1.2222 0.0556 -0.7778; 365s -0.4444 0.2222 0.2222 -0.9444 1.2222 -0.2778 -0.4444 0.7222; 365s -0.1111 0.5556 -0.9444 0.8889 0.0556 -0.4444 0.3889 -0.4444; 365s 0.5556 -1.2778 1.2222 0.0556 -0.7778 0.7222 -0.4444 0.2222; 365s -0.9444 1.2222 -0.2778 -0.4444 0.7222 -0.7778 0.5556 0.2222; 365s 0.8889 0.0556 -0.4444 0.3889 -0.4444 0.5556 -0.1111 -0.9444; 365s 0.0556 -0.7778 0.7222 -0.4444 0.2222 0.2222 -0.9444 1.2222]; 365s out3_0_01 = [ 365s -0.5064 0.2140 0.1101 -0.0993 0.0297 -0.1942 0.3223 0.0772; 365s 0.2140 -0.0659 0.0375 0.0891 -0.4109 0.4783 0.2202 -0.2860; 365s 0.1101 0.0375 -0.0525 -0.3208 0.5721 0.0034 -0.1743 0.0939; 365s -0.0993 0.0891 -0.3208 0.4624 0.0936 -0.1150 -0.1395 -0.0135; 365s 0.0297 -0.4109 0.5721 0.0936 -0.2566 -0.0027 0.1101 0.1341; 365s -0.1942 0.4783 0.0034 -0.1150 -0.0027 -0.0659 0.2542 -0.0819; 365s 0.3223 0.2202 -0.1743 -0.1395 0.1101 0.2542 -0.3023 -0.3371; 365s 0.0772 -0.2860 0.0939 -0.0135 0.1341 -0.0819 -0.3371 0.6794]; 365s out3_0_00001 = [ 365s -1.1087 1.0520 -0.4419 -0.1112 0.5532 -0.9410 0.8864 0.0557; 365s 1.0520 -0.7746 0.2213 0.5537 -1.2742 1.2190 0.0565 -0.7759; 365s -0.4419 0.2213 0.2211 -0.9418 1.2196 -0.2767 -0.4433 0.7195; 365s -0.1112 0.5537 -0.9418 0.8870 0.0557 -0.4428 0.3864 -0.4425; 365s 0.5532 -1.2742 1.2196 0.0557 -0.7755 0.7188 -0.4419 0.2220; 365s -0.9410 1.2190 -0.2767 -0.4428 0.7188 -0.7746 0.5544 0.2206; 365s 0.8864 0.0565 -0.4433 0.3864 -0.4419 0.5544 -0.1121 -0.9418; 365s 0.0557 -0.7759 0.7195 -0.4425 0.2220 0.2206 -0.9418 1.2201]; 365s out3_0_3 = [ 365s -0.0893 -0.0089 0.0446 -0.0357 -0.0268 0.0268 0.0893 0.0446; 365s -0.0089 0.0223 -0.0089 -0.0357 -0.0089 0.1473 0.1161 0.0179; 365s 0.0446 -0.0089 -0.0357 -0.0089 0.1607 0.0804 -0.0089 -0.0357; 365s -0.0357 -0.0357 -0.0089 0.1652 0.0804 -0.0179 -0.0714 0.0045; 365s -0.0268 -0.0089 0.1607 0.0804 -0.0179 -0.0446 0.0446 -0.0000; 365s 0.0268 0.1473 0.0804 -0.0179 -0.0446 0.0223 0.0268 -0.0000; 365s 0.0893 0.1161 -0.0089 -0.0714 0.0446 0.0268 -0.1071 -0.0446; 365s 0.0446 0.0179 -0.0357 0.0045 0.0000 -0.0000 -0.0446 0.1652]; 365s out3_1_x = [ 365s -0.3333 0.1667 -0.6667 -0.3333 0.3333 0.1667 0.3333 0.1667; 365s 0.1667 -0.3333 -0.3333 0.3333 0.1667 0.3333 0.1667 0.3333; 365s -0.6667 -0.3333 0.6667 0.1667 0.3333 0.1667 0.3333 0.1667; 365s -0.3333 0.3333 0.1667 -0.3333 0.1667 0.3333 0.1667 -0.6667; 365s 0.3333 0.1667 0.3333 0.1667 0.6667 0.1667 -0.6667 -0.3333; 365s 0.1667 0.3333 0.1667 0.3333 0.1667 -0.3333 -0.3333 0.3333; 365s 0.3333 0.1667 0.3333 0.1667 -0.6667 -0.3333 -0.3333 0.1667; 365s 0.1667 0.3333 0.1667 -0.6667 -0.3333 0.3333 0.1667 0.6667]; 365s out3_1_01 = [ 365s -0.1868 0.1548 -0.5994 -0.2997 0.3097 0.1548 0.3097 0.1548; 365s 0.1548 -0.2997 -0.2997 0.3097 0.1548 0.3097 0.1548 0.3097; 365s -0.5994 -0.2997 0.4965 0.1548 0.3097 0.1548 0.3097 0.1548; 365s -0.2997 0.3097 0.1548 -0.1247 0.1548 0.3097 0.1548 -0.5994; 365s 0.3097 0.1548 0.3097 0.1548 0.4965 0.1548 -0.5994 -0.2997; 365s 0.1548 0.3097 0.1548 0.3097 0.1548 -0.2997 -0.2997 0.3097; 365s 0.3097 0.1548 0.3097 0.1548 -0.5994 -0.2997 -0.1868 0.1548; 365s 0.1548 0.3097 0.1548 -0.5994 -0.2997 0.3097 0.1548 0.4343]; 365s out3_1_00001 = [ 365s -0.3331 0.1667 -0.6666 -0.3333 0.3333 0.1667 0.3333 0.1667; 365s 0.1667 -0.3333 -0.3333 0.3333 0.1667 0.3333 0.1667 0.3333; 365s -0.6666 -0.3333 0.6664 0.1667 0.3333 0.1667 0.3333 0.1667; 365s -0.3333 0.3333 0.1667 -0.3330 0.1667 0.3333 0.1667 -0.6666; 365s 0.3333 0.1667 0.3333 0.1667 0.6664 0.1667 -0.6666 -0.3333; 365s 0.1667 0.3333 0.1667 0.3333 0.1667 -0.3333 -0.3333 0.3333; 365s 0.3333 0.1667 0.3333 0.1667 -0.6666 -0.3333 -0.3331 0.1667; 365s 0.1667 0.3333 0.1667 -0.6666 -0.3333 0.3333 0.1667 0.6663]; 365s out3_1_3 = [ 365s -0.0089 0.0625 -0.1250 -0.0625 0.1250 0.0625 0.1250 0.0625; 365s 0.0625 -0.0625 -0.0625 0.1250 0.0625 0.1250 0.0625 0.1250; 365s -0.1250 -0.0625 0.1339 0.0625 0.1250 0.0625 0.1250 0.0625; 365s -0.0625 0.1250 0.0625 0.0982 0.0625 0.1250 0.0625 -0.1250; 365s 0.1250 0.0625 0.1250 0.0625 0.1339 0.0625 -0.1250 -0.0625; 365s 0.0625 0.1250 0.0625 0.1250 0.0625 -0.0625 -0.0625 0.1250; 365s 0.1250 0.0625 0.1250 0.0625 -0.1250 -0.0625 -0.0089 0.0625; 365s 0.0625 0.1250 0.0625 -0.1250 -0.0625 0.1250 0.0625 0.0268]; 365s assert (deconvwnr (im3, psf0), out3_0_x, 1e-4) 365s assert (deconvwnr (im3, psf0, 0.1), out3_0_01, 1e-4) 365s assert (deconvwnr (im3, psf0, 0.0001), out3_0_00001, 1e-4) 365s assert (deconvwnr (im3, psf0, 3), out3_0_3, 1e-4) 365s assert (deconvwnr (im3, psf1), out3_1_x, 1e-4) 365s assert (deconvwnr (im3, psf1, 0.1), out3_1_01, 1e-4) 365s assert (deconvwnr (im3, psf1, 0.0001), out3_1_00001, 1e-4) 365s assert (deconvwnr (im3, psf1, 3), out3_1_3, 1e-4) 365s ***** test 365s im_rgb = cat (3, im2, im3, magic (8)./64); 365s out_rgb_0(:, :, 1) = out2_0; 365s out_rgb_0(:, :, 2) = [ 365s -0.9255 0.7869 -0.2553 -0.1154 0.3801 -0.6906 0.7000 0.0651; 365s 0.7869 -0.5407 0.1534 0.4141 -1.0064 0.9816 0.1222 -0.6335; 365s -0.2553 0.1534 0.1343 -0.7453 1.0211 -0.1936 -0.3586 0.5209; 365s -0.1154 0.4141 -0.7453 0.7468 0.0675 -0.3247 0.2023 -0.2996; 365s 0.3801 -1.0064 1.0211 0.0675 -0.6045 0.4711 -0.2553 0.2032; 365s -0.6906 0.9816 -0.1936 -0.3247 0.4711 -0.5407 0.4692 0.1052; 365s 0.7000 0.1222 -0.3586 0.2023 -0.2553 0.4692 -0.1868 -0.7477; 365s 0.0651 -0.6335 0.5209 -0.2996 0.2032 0.1052 -0.7477 1.0630]; 365s out_rgb_0(:, :, 3) = [ 365s -0.8118 0.8805 0.8341 -0.7963 -0.6343 0.8222 0.7757 -0.6188; 365s 0.5720 -0.4151 -0.3687 0.5565 0.3945 -0.3567 -0.3103 0.3791; 365s 0.2007 -0.0438 0.0026 0.1852 0.0232 0.0146 0.0610 0.0078; 365s -0.6880 0.7568 0.7104 -0.6725 -0.5105 0.6984 0.6520 -0.4951; 365s 0.6079 -0.5392 -0.5856 0.6234 0.7854 -0.5975 -0.6439 0.8008; 365s 0.1051 0.0519 0.0983 0.0896 -0.0724 0.1102 0.1566 -0.0879; 365s -0.2662 0.4231 0.4696 -0.2817 -0.4437 0.4815 0.5279 -0.4592; 365s 0.7317 -0.6629 -0.7093 0.7471 0.9091 -0.7213 -0.7677 0.9246]; 365s out_rgb_1(:, :, 1) = out2_1; 365s out_rgb_1(:, :, 2) = [ 365s -0.3110 0.1654 -0.6593 -0.3297 0.3308 0.1654 0.3308 0.1654; 365s 0.1654 -0.3297 -0.3297 0.3308 0.1654 0.3308 0.1654 0.3308; 365s -0.6593 -0.3297 0.6418 0.1654 0.3308 0.1654 0.3308 0.1654; 365s -0.3297 0.3308 0.1654 -0.3016 0.1654 0.3308 0.1654 -0.6593; 365s 0.3308 0.1654 0.3308 0.1654 0.6418 0.1654 -0.6593 -0.3297; 365s 0.1654 0.3308 0.1654 0.3308 0.1654 -0.3297 -0.3297 0.3308; 365s 0.3308 0.1654 0.3308 0.1654 -0.6593 -0.3297 -0.3110 0.1654; 365s 0.1654 0.3308 0.1654 -0.6593 -0.3297 0.3308 0.1654 0.6323]; 365s out_rgb_1(:, :, 3) = [ 365s -0.0240 0.3338 0.3335 0.0329 0.0344 0.1564 0.3942 0.0913; 365s 0.7871 0.6512 -0.5394 -0.2225 0.7287 0.5905 -0.3619 -0.2809; 365s 0.1333 -0.7196 0.2335 1.0291 0.0749 -0.5421 0.1728 0.9708; 365s -0.2201 0.4109 0.6487 -0.1632 -0.1617 0.4716 0.4713 -0.1048; 365s 0.4430 -0.1331 -0.1334 0.4999 0.5014 -0.3106 -0.0727 0.5582; 365s -0.6326 0.1654 0.8803 0.2633 -0.6910 0.1047 1.0577 0.2049; 365s 0.6191 0.7001 -0.2523 -0.3905 0.5607 0.8776 -0.3130 -0.4489; 365s 0.2469 -0.0561 0.1818 0.3038 0.3052 0.0047 0.0043 0.3621]; 365s assert (deconvwnr (im_rgb, psf0, 0.01), out_rgb_0, 1e-4) 365s assert (deconvwnr (im_rgb, psf1, 0.01), out_rgb_1, 1e-4) 365s ***** test 365s ## Test that psf and nsr can be of class single, but are usually 365s ## internally as doubles. Matlab requires everything all to be 365s ## double so this is Matlab incompatible behaviour by design. 365s nsr = 0.1; 365s psf1_recast = double (single (psf1)); 365s nsr_recast = double (single (0.1)); 365s deconvolved = deconvwnr (im2, psf1_recast, nsr_recast); 365s assert (deconvwnr (im2, single (psf1), single (nsr)), deconvolved) 365s assert (deconvwnr (im2, single (psf1), nsr_recast), deconvolved) 365s assert (deconvwnr (im2, psf1_recast, single (nsr)), deconvolved) 365s ***** demo 365s I = phantom (); 365s figure, imshow (I); 365s title ("Original image"); 365s psf = fspecial ("motion", 30, 15); 365s blurred = imfilter (I, psf, "conv"); 365s figure, imshow (blurred); 365s title ("Image with added motion blur"); 365s var_noise = 0.00005; 365s blurred_noisy = imnoise (blurred, "gaussian", 0, var_noise); 365s figure, imshow (blurred_noisy); 365s title ("Image with motion blur and added Gaussian noise"); 365s estimated_nsr = var_noise / (var(blurred_noisy(:)) - var_noise); 365s J = deconvwnr (blurred_noisy, psf, estimated_nsr); 365s figure, imshow (J) 365s title ({"restored image after Wiener deconvolution", 365s "with known PSF and estimated NSR"}); 365s 27 tests, 27 passed, 0 known failure, 0 skipped 365s [inst/radon.m] 365s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/radon.m 365s ***** test 365s A = radon (ones (2,2), 30); 365s assert (A, [0 0 0.608253175473055 2.103325780167649 1.236538105676658 0.051882938682637 0]',1e-10) 365s ***** test 365s ***** # testing all types 365s A = radon (single (ones (2,2)), 90); 365s assert (A, B) 365s A = radon (double (ones (2,2)), 90); 365s assert (A, B) 365s A = radon (int8 (ones (2,2)), 90); 365s assert (A, B) 365s A = radon (int32 (ones (2,2)), 90); 365s assert (A, B) 365s A = radon (int64 (ones (2,2)), 90); 365s assert (A, B) 365s A = radon (uint8 (ones (2,2)), 90); 365s assert (A, B) 365s A = radon (uint16 (ones (2,2)), 90); 365s assert (A, B) 365s A = radon (uint32 (ones (2,2)), 90); 365s assert (A, B) 365s A = radon (uint64 (ones (2,2)), 90); 365s B = [0, 0.25, 1.75, 1.75, 0.25, 0. 0.]'; 365s assert (A, B) 365s bug #58567 365s A = radon (logical (ones (2,2)), 90); 365s assert (A, B) 365s ***** error 365s radon (); 365s ***** error 365s radon ('xxx'); 365s ***** error 365s radon (ones (2, 2), ones (2,2)); 365s ***** error 365s radon (ones (2, 2), 'xxx'); 365s 6 tests, 6 passed, 0 known failure, 0 skipped 365s [inst/padarray.m] 365s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/padarray.m 365s ***** demo 365s padarray([1,2,3;4,5,6],[2,1]) 365s % pads [1,2,3;4,5,6] with a whole border of 2 rows and 1 columns of 0 365s ***** demo 365s padarray([1,2,3;4,5,6],[2,1],5) 365s % pads [1,2,3;4,5,6] with a whole border of 2 rows and 1 columns of 5 365s ***** demo 365s padarray([1,2,3;4,5,6],[2,1],0,'pre') 365s % pads [1,2,3;4,5,6] with a left and top border of 2 rows and 1 columns of 0 365s ***** demo 365s padarray([1,2,3;4,5,6],[2,1],'circular') 365s % pads [1,2,3;4,5,6] with a whole 'circular' border of 2 rows and 1 columns 365s % border 'repeats' data as if we tiled blocks of data 365s ***** demo 365s padarray([1,2,3;4,5,6],[2,1],'replicate') 365s % pads [1,2,3;4,5,6] with a whole border of 2 rows and 1 columns which 365s % 'replicates' edge data 365s ***** demo 365s padarray([1,2,3;4,5,6],[2,1],'symmetric') 365s % pads [1,2,3;4,5,6] with a whole border of 2 rows and 1 columns which 365s % is symmetric to the data on the edge 365s ***** assert (padarray ([1;2], [1]), [0;1;2;0]); 365s ***** assert (padarray ([3 4], [0 2]), [0 0 3 4 0 0]); 365s ***** assert (padarray ([1 2 3; 4 5 6], [1 2]), 365s [zeros(1, 7); 0 0 1 2 3 0 0; 0 0 4 5 6 0 0; zeros(1, 7)]); 365s ***** test 365s assert (padarray ([1 2 3; 4 5 6], [3 2 1]), 365s cat(3, zeros(8, 7), 365s [ [ zeros(3, 7) ] 365s [zeros(2, 2) [1 2 3; 4 5 6] zeros(2, 2) ] 365s [ zeros(3,7)] ], 365s zeros (8, 7))); 365s ***** assert (padarray ([1 2], [4 5]), padarray ([1 2], [4 5], 0)); 365s ***** assert (padarray ([1 2], [4 5]), padarray ([1 2], [4 5], "both")); 365s ***** assert (padarray ([1;2], [1], i), [i; 1; 2; i]); 365s ***** assert (padarray ([1;2], [1], i, "pre"), [i; 1; 2]); 365s ***** assert (padarray ([1;2], [1], i, "post"), [1; 2; i]); 365s ***** assert (padarray ([1;2], [1], i, "both"), [i; 1; 2; i]); 365s ***** assert (padarray ([1 2], [0 1], i, "pre"), [i 1 2]); 365s ***** assert (padarray ([1 2], [0 1], i, "post"), [1 2 i]); 365s ***** assert (padarray ([1 2], [0 1], i, "both"), [i 1 2 i]); 365s ***** assert (padarray ([1 2], [0;1], i, "both"), [i 1 2 i]); 365s ***** test 365s A = [1 2 3; 4 5 6]; 365s B = repmat (A, 7, 9); 365s assert (padarray (A, [1 2], "circular", "pre"), B(2:4,2:6)); 365s assert (padarray (A, [1 2], "circular", "post"), B(3:5,4:8)); 365s assert (padarray (A, [1 2], "circular", "both"), B(2:5,2:8)); 365s ## This tests when padding is bigger than data 365s assert (padarray (A, [5 10], "circular", "both"), B(2:13,3:25)); 365s ***** test 365s A = int8 ([1 2 3; 4 5 6]); 365s B = repmat (A, 7, 9); 365s assert (padarray (A, [1 2], "circular", "pre"), B(2:4,2:6)); 365s assert (padarray (A, [1 2], "circular", "post"), B(3:5,4:8)); 365s assert (padarray (A, [1 2], "circular", "both"), B(2:5,2:8)); 365s ## This tests when padding is bigger than data 365s assert (padarray (A, [5 10], "circular", "both"), B(2:13,3:25)); 365s ***** test 365s A = [1 2; 3 4]; 365s B = kron (A, ones (10, 5)); 365s assert (padarray (A, [9 4], "replicate", "pre"), B(1:11,1:6)); 365s assert (padarray (A, [9 4], "replicate", "post"), B(10:20,5:10)); 365s assert (padarray (A, [9 4], "replicate", "both"), B); 365s ## same with uint class 365s assert (padarray (uint8 (A), [9 4], "replicate", "pre"), uint8 (B(1:11,1:6))); 365s assert (padarray (uint8 (A), [9 4], "replicate", "post"), uint8 (B(10:20,5:10))); 365s assert (padarray (uint8 (A), [9 4], "replicate", "both"), uint8 (B)); 365s ***** test 365s A = [1:3 365s 4:6]; 365s HA = [3:-1:1 365s 6:-1:4]; 365s VA = [4:6 365s 1:3]; 365s VHA = [6:-1:4 365s 3:-1:1]; 365s B = [VHA VA VHA 365s HA A HA 365s VHA VA VHA]; 365s assert (padarray (A, [1 2], "symmetric", "pre"), B(2:4,2:6)); 365s assert (padarray (A, [1 2], "symmetric", "post"), B(3:5,4:8)); 365s assert (padarray (A, [1 2], "symmetric", "both"), B(2:5,2:8)); 365s ## same with int class 365s assert (padarray (int16 (A), [1 2], "symmetric", "pre"), int16 (B(2:4,2:6))); 365s assert (padarray (int16 (A), [1 2], "symmetric", "post"), int16 (B(3:5,4:8))); 365s assert (padarray (int16 (A), [1 2], "symmetric", "both"), int16 (B(2:5,2:8))); 365s ***** assert (padarray (int8 ([1; 2]), [1]), int8 ([0; 1; 2; 0])); 365s ***** assert (padarray (uint8 ([3 4]), [0 2]), uint8 ([0 0 3 4 0 0])); 365s ***** assert (padarray (int16 ([1; 2]), [1], 4), int16 ([4; 1; 2; 4])); 365s ***** assert (padarray (uint16 ([1; 2]), [1], 0), uint16 ([0; 1; 2; 0])); 365s ***** assert (padarray (uint32 ([1; 2]), [1], 6, "post"), uint32 ([1; 2; 6])); 365s ***** assert (padarray (int32 ([1; 2]), [1], int32 (4), "pre"), int32 ([4; 1; 2])); 365s ***** test 365s in = [ 7 5 1 3 365s 5 3 3 4 365s 7 5 2 3 365s 6 1 3 8]; 365s padded = [ 365s 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 365s 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 365s 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 365s 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 365s 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 365s 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 365s 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 365s 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 365s 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 365s 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 365s 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 365s 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 365s 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 365s 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 365s 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 365s 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 365s 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 365s 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 365s 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 365s 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 365s 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 365s 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 365s 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 365s 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2]; 365s for ite = 1:10 365s assert (padarray (in, [ite ite], "symmetric"), padded((11-ite):(14+ite),(11-ite):(14+ite))); 365s assert (padarray (in, [ite ite], "symmetric", "pre"), padded((11-ite):14,(11-ite):14)); 365s assert (padarray (in, [ite ite], "symmetric", "post"), padded(11:(14+ite),11:(14+ite))); 365s endfor 365s ***** test 365s in = [ 7 5 4 9 365s 6 4 5 1 365s 5 3 3 3 365s 2 6 7 3]; 365s padded = [ 365s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 365s 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 365s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 365s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 365s 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 365s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 365s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 365s 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 365s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 365s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 365s 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 365s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 365s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 365s 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 365s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 365s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 365s 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 365s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 365s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 365s 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 365s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 365s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 365s 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 365s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4]; 365s for ite = 1:10 365s assert (padarray (in, [ite ite], "reflect"), padded((11-ite):(14+ite),(11-ite):(14+ite))); 365s assert (padarray (in, [ite ite], "reflect", "pre"), padded((11-ite):14,(11-ite):14)); 365s assert (padarray (in, [ite ite], "reflect", "post"), padded(11:(14+ite),11:(14+ite))); 365s endfor 365s 26 tests, 26 passed, 0 known failure, 0 skipped 365s [inst/isgray.m] 365s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/isgray.m 365s ***** assert (isgray ([0 0 1; 1 0 1]), true) 365s ***** assert (isgray (zeros (3)), true) 365s ***** assert (isgray (ones (3)), true) 365s ***** test 365s a = rand (10); 365s assert (isgray (a), true); 365s a(5, 5) = 2; 365s assert (isgray (a), false); 365s ***** test 365s a = uint8 (randi (255, 10)); 365s assert (isgray (a), true); 365s a = int8 (a); 365s assert (isgray (a), false); 365s ***** test 365s a = rand (10); 365s a(50) = NaN; 365s assert (isgray (a), true); 365s ***** assert (isgray (rand (5, 5, 1, 4)), true); 365s ***** assert (isgray (rand (5, 5, 3, 4)), false); 365s ***** assert (isgray (rand (5, 5, 3)), false); 365s ***** assert (isgray (rand (5, 5, 1, 3, 4)), false); 365s ***** assert (isgray (rand (5, "single")), true) 365s ***** assert (isgray ([.1 .2 .3; .4 NaN .6; .7 .8 .9]), true) 365s ***** assert (isgray ([.1 .2 .3; NA NaN .6; .7 .8 .9]), true) 365s ***** assert (isgray ([.1 .2 .3; NA .5 .6; .7 .8 .9]), true) 365s ***** assert (isgray (NaN (5)), false) 365s ***** assert (isgray (NA (5)), false) 365s 16 tests, 16 passed, 0 known failure, 0 skipped 365s [inst/im2uint16.m] 365s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/im2uint16.m 365s ***** assert (im2uint16 (uint16 ([1 2 3])), uint16 ([1 2 3])); 365s ***** assert (im2uint16 (uint8 ([0 127 128 255])), uint16 ([0 32639 32896 65535])); 365s ***** assert (im2uint16 ([0 0.5 1]), uint16 ([0 32768 65535])); 365s ***** assert (im2uint16 ([0 1/65535 1.4/65535 1.5/65535 1]), uint16 ([0 1 1 2 65535])); 365s ***** assert (im2uint16 ([1 2]), uint16 ([65535 65535])); 365s ***** assert (im2uint16 ([-1 0 0.5 1]), uint16 ([0 0 32768 65535])); 365s ***** assert (im2uint16 (int16 ([-32768 -1 0 32768])), uint16 ([0 32767 32768 65535])); 365s ***** assert (im2uint16 ([false true]), uint16 ([0 65535])); 365s ***** assert (im2uint16 ([true false]), uint16 ([65535 0])); 365s ***** assert (im2uint16 (uint8 ([3 25]), "indexed"), uint16 ([3 25])); 365s ***** assert (im2uint16 ([1 3 25], "indexed"), uint16 ([0 2 24])); 365s ***** error im2uint16 ([0 1 2], "indexed"); 365s ***** error im2uint16 (int16 ([17 8]), "indexed"); 365s ***** error im2uint16 (int16 ([-7 8]), "indexed"); 365s ***** error im2uint16 ([false true], "indexed"); 365s ***** error im2uint16 (65537, "indexed"); 365s 16 tests, 16 passed, 0 known failure, 0 skipped 365s [inst/xyz2lab.m] 365s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/xyz2lab.m 365s ***** assert (xyz2lab ([0, 0, 0]), [0 0 0], 5e-2) 365s ***** assert (xyz2lab ([0.4125, 0.2127, 0.0193]), [53.24, 80.09, 67.20], 5e-2) 365s ***** assert (xyz2lab ([0.7700, 0.9278, 0.1385]), [97.14, -21.55, 94.48], 5e-2) 365s ***** assert (xyz2lab ([0.3576, 0.7152, 0.1192]), [87.74, -86.18, 83.18], 5e-2) 365s ***** assert (xyz2lab ([0.5380, 0.7873, 1.0694]), [91.11, -48.09, -14.13], 5e-2) 365s ***** assert (xyz2lab ([0.1804, 0.07217, 0.9502]), [32.30, 79.19, -107.86], 5e-2) 365s ***** assert (xyz2lab ([0.5929, 0.28484, 0.9696]), [60.32, 98.24, -60.83], 5e-2) 365s ***** assert (xyz2lab ([0.9505, 1.0000, 1.0888]), [100, 0.00, 0.00], 5e-2) 365s ***** assert (xyz2lab ([0.2034, 0.2140, 0.2330]), [53.39, 0.00, 0.00], 5e-2) 365s ***** assert (xyz2lab ([0.2155, 0.1111, 0.0101]), [39.77, 64.51, 54.13], 5e-2) 365s ***** assert (xyz2lab ([0.0883, 0.0455, 0.0041]), [25.42, 47.91, 37.91], 5e-2) 365s ***** assert (xyz2lab ([0.02094, 0.0108, 0.00098]), [9.66, 29.68, 15.24], 5e-2) 365s ***** assert (xyz2lab ([0.5276, 0.3812, 0.2482]), [68.11, 48.39, 22.83], 5e-2) 365s ***** assert (xyz2lab ([1.5 1 1]), [100, 82.15, 5.60], 5e-2) 365s xyz_map = rand (64, 3); 365s assert (lab2xyz (xyz2lab (xyz_map)), xyz_map, 1e-5); 365s ***** test 365s xyz_img = rand (64, 64, 3); 365s assert (lab2xyz (xyz2lab (xyz_img)), xyz_img, 1e-5); 365s ***** assert (xyz2lab (sparse ([0 0 0])), [0 0 0], 5e-2) 365s ***** assert (class (xyz2lab (single([0.5 0.5 0.5]))), 'single') 365s ***** error xyz2lab () 366s ***** error xyz2lab (1,2) 366s ***** error xyz2lab ({1}) 366s ***** error xyz2lab (ones (2,2)) 366s ***** test 366s xyz = rand (16, 16, 3, 5); 366s lab = zeros (size (xyz)); 366s for i = 1:5 366s lab(:,:,:,i) = xyz2lab (xyz(:,:,:,i)); 366s endfor 366s assert (xyz2lab (xyz), lab) 366s 22 tests, 22 passed, 0 known failure, 0 skipped 366s [inst/blockproc.m] 366s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/blockproc.m 366s ***** demo 366s blockproc (eye (6), [2, 2], @(x) any (x(:))) 366s # Returns a 3-by-3 diagonal 366s ***** assert (blockproc (eye (6), [2, 2], "sum"), 366s blockproc (eye (6), [2, 2], @sum)) 366s ***** assert (blockproc (eye (6), [2, 2], "sum"), 366s blockproc (eye (6), [2, 2], @(x) sum (x))) 366s ***** assert (blockproc (eye (6), [1,2], @sum), 366s kron (eye (3), [1; 1])) 366s ***** assert (blockproc (eye (6), [2,2], @(x) any (x(:))), 366s eye (3) != 0) 366s ***** assert (blockproc (eye (6), [1,2],[1,1], @(x) sum (x(:))), 366s [2,1,0; 3,2,0; 2,3,1; 1,3,2; 0,2,3; 0,1,2]) 366s ***** assert (blockproc (eye (6), "indexed", [1, 2], [1, 1], @(x) sum (x(:))), 366s [8,5,6; 6,2,3; 5,3,4; 4,3,5; 3,2,6; 6,5,8]) 366s ***** assert (blockproc (eye (6), [2,3],[4,3], @(x) sum (x(:))), 366s ones (3, 2) * 6) 366s ***** assert (blockproc (eye (6), [2, 2], @(x) int8 (sum (x(:)))), 366s eye (3, "int8") * 2) 366s ***** assert (blockproc (uint8 (eye (6)), [1,2], [1,1], @(x) sum (x(:))), 366s [2,1,0; 3,2,0; 2,3,1; 1,3,2; 0,2,3; 0,1,2]) 366s ***** assert (blockproc (uint8 (eye (6)), "indexed", [1,2], [1,1], @(x) sum (x(:))), 366s [2,1,0; 3,2,0; 2,3,1; 1,3,2; 0,2,3; 0,1,2]); 366s ***** assert (blockproc (uint16 (eye (6)), [1,2], [1,1], @(x) sum (x(:))), 366s [2,1,0; 3,2,0; 2,3,1; 1,3,2; 0,2,3; 0,1,2]); 366s ***** assert (blockproc (uint16 (eye (6)), "indexed", [1,2], [1,1], 366s @(x) sum (x(:))), 366s [2,1,0; 3,2,0; 2,3,1; 1,3,2; 0,2,3; 0,1,2]); 366s ***** assert (blockproc (eye (6), [2, 2], "sum"), 366s blockproc (eye (6), [2, 2], inline ("sum (x)", "x"))) 366s warning: inline is obsolete; use anonymous functions instead 366s 13 tests, 13 passed, 0 known failure, 0 skipped 366s [inst/colfilt.m] 366s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/colfilt.m 366s ***** demo 366s ## Perform moving average filter with a 4x4 window 366s A = magic (12) 366s colfilt (A, [4 4], "sliding", @mean) 366s ***** test 366s A = reshape (1:36, [6 6]); 366s assert (colfilt (A, [2 2], [3 3], "sliding", @sum), 366s conv2 (A, ones (2), "same")); 366s 1 test, 1 passed, 0 known failure, 0 skipped 366s [inst/lab2uint16.m] 366s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/lab2uint16.m 366s ***** test 366s cm_uint16 = uint16 ([0 127 128 383 384 65151 65152 65279 65280 65281 65534 65535]); 366s cm_uint16 = repmat (cm_uint16(:), [1 3]); 366s im2d_uint16 = reshape (cm_uint16, [4 3 3]); 366s imnd_uint16 = permute (im2d_uint16, [1 4 3 2]); 366s 366s cm_uint8 = uint8 ([0 0 1 1 2 254 255 255 255 255 255 255]); 366s cm_uint8 = repmat (cm_uint8(:), [1 3]); 366s assert (lab2uint8 (cm_uint16), cm_uint8) 366s im2d_uint8 = reshape (cm_uint8, [4 3 3]); 366s assert (lab2uint8 (im2d_uint16), im2d_uint8) 366s assert (lab2uint8 (imnd_uint16), permute (im2d_uint8, [1 4 3 2])) 366s 366s l1 = 100/65280; 366s ab1 = 255/65280; 366s cm = [ 366s 0 -128 366s 127*l1 -128+(ab1*127) 366s 128*l1 -128+(ab1*128) 366s 383*l1 -128+(ab1*383) 366s 384*l1 -128+(ab1*384) 366s 65151*l1 -128+(ab1*65151) 366s 65152*l1 -128+(ab1*65152) 366s 65279*l1 -128+(ab1*65279) 366s 100 127 366s 65281*l1 -128+(ab1*65281) 366s 65534*l1 -128+(ab1*65534) 366s 65535*l1 -128+(ab1*65535)]; 366s cm(:,3) = cm(:,2); 366s im2d = reshape (cm, [4 3 3]); 366s imnd = permute (im2d, [1 4 3 2]); 366s 366s assert (lab2double (cm_uint16), cm) 366s assert (lab2double (im2d_uint16), im2d) 366s assert (lab2double (imnd_uint16), imnd) 366s 366s assert (lab2single (cm_uint16), single (cm)) 366s assert (lab2single (im2d_uint16), single (im2d)) 366s assert (lab2single (imnd_uint16), single (imnd)) 366s 1 test, 1 passed, 0 known failure, 0 skipped 366s [inst/integralImage3.m] 366s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/integralImage3.m 366s ***** test 366s assert (integralImage3 (zeros (4)), zeros (5, 5, 2)); 366s ***** test 366s J_res = zeros (2, 2, 2); 366s J_res(2, 2, 2) = 10; 366s assert (integralImage3 (10), J_res); 366s ***** test 366s J = integralImage3 (10); 366s assert (class (J), "double"); 366s J = integralImage3 (uint8 (10)); 366s assert (class (J), "double"); 366s ***** test 366s I = [1, 2; 3, 4]; 366s J = integralImage3 (I); 366s J_res = zeros (3, 3, 2); 366s J_res(2:3, 2:3, 2) = [1 3; 4 10]; 366s assert (J, J_res) 366s ***** test 366s I1 = [1, 2; 3, 4]; 366s I2 = [5, 6; 7, 8]; 366s I3 = [9, 10; 11, 12]; 366s I = cat (3, I1, I2, I3); 366s J = integralImage3 (I); 366s J2 = [0 0 0; 0 1 3; 0 4 10]; 366s J3 = [0 0 0; 0 6 14; 0 16 36]; 366s J4 = [0 0 0; 0 15 33; 0 36 78]; 366s J_res = cat (3, zeros (3), J2, J3, J4); 366s assert (J, J_res) 366s ***** test 366s I = magic (5); 366s J = integralImage3 (I); 366s J_res = zeros (6, 6, 2); 366s J_res(:, :, 2) = [0 0 0 0 0 0; 366s 0 17 41 42 50 65; 366s 0 40 69 77 99 130; 366s 0 44 79 100 142 195; 366s 0 54 101 141 204 260; 366s 0 65 130 195 260 325]; 366s assert (J, J_res) 366s ***** # test of 3d input image: 366s ***** test 366s K = magic (8); 366s K = reshape (K, [4 4 4]); 366s L = integralImage3 (K); 366s L1_ML = zeros (5); 366s L2_ML = [0 0 0 0 0; 366s 0 64 96 98 132; 366s 0 73 146 203 260; 366s 0 90 212 316 388; 366s 0 130 260 390 520]; 366s L3_ML = [0 0 0 0 0; 366s 0 67 134 197 260; 366s 0 130 260 390 520; 366s 0 193 386 583 780; 366s 0 260 520 780 1040]; 366s L4_ML = [0 0 0 0 0; 366s 0 127 222 291 392; 366s 0 203 406 593 780; 366s 0 287 606 903 1168; 366s 0 390 780 1170 1560]; 366s L5_ML = [0 0 0 0 0; 366s 0 134 268 394 520; 366s 0 260 520 780 1040; 366s 0 386 772 1166 1560; 366s 0 520 1040 1560 2080]; 366s L_ML = cat (3, L1_ML, L2_ML, L3_ML, L4_ML, L5_ML); 366s assert (L, L_ML) 366s ***** # test of 2d input image: 366s ***** test 366s X = ones (3); 366s Y = integralImage3 (X); 366s Y_ML = zeros (4, 4, 2); 366s Y_ML(:, :, 2) = [0 0 0 0; 0 1 2 3; 0 2 4 6; 0 3 6 9]; 366s assert(Y, Y_ML); 366s ***** error id=Octave:invalid-fun-call 366s integralImage3 (); 366s ***** error id=Octave:invalid-fun-call 366s integralImage3 (zeros (3), zeros (3)); 366s ***** error 366s integralImage3 ("abcd"); 366s ***** error 366s integralImage3 (1+i); 366s ***** error 366s integralImage3 (reshape (1:81, 3, 3, 3, 3)); 366s 13 tests, 13 passed, 0 known failure, 0 skipped 366s [inst/imabsdiff.m] 366s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imabsdiff.m 366s ***** assert (imabsdiff (uint8 ([23 250]), uint8 ([26 50])), uint8 ([ 3 200])); # default to first class and abs works 366s ***** assert (imabsdiff (uint8 ([23 250]), uint8 ([24 50]), "uint16"), uint16 ([ 1 200])); # defining output class works (not in matlab) 366s ***** assert (imabsdiff (uint8 ([23 250]), uint8 ([24 255]), "int8"), int8 ([ 1 5])); # signed integers kinda work (not in matlab) 366s ***** assert (imabsdiff (logical ([ 1 0]), logical ([ 1 1])), double ([ 0 1])); # return double for two logical images 366s ***** fail ("imabsdiff (uint8 ([23 250]), 30"); # fails subtracting a scalar 366s ***** fail ("imabsdiff (uint8 ([23 250]), uint16 ([23 250]))"); # input need to have same class 366s 6 tests, 6 passed, 0 known failure, 0 skipped 366s [inst/lab2double.m] 366s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/lab2double.m 366s ***** test 366s l_max_f = 100 + (25500 / 65280); 366s ab_max_f = 127 + (255 / 256); 366s cm = [ 366s -Inf 366s Inf 366s NaN 366s l_max_f 366s ab_max_f 366s -200 366s -129 366s -128 366s -128+(255/65280)*(0.499999) 366s -128+(255/65280)*(0.500001) # should be 0.5, but float rounding error 366s -128+(255/65280)*(0.500002) 366s -127 366s -1 366s 0 366s (100/65280)*(0.499999) 366s (100/65280)*(0.51) 366s (100/65280)*(0.500001) 366s 1 366s 99 366s 100 366s 101 366s 126 366s 127 366s 128 366s 254 366s 255 366s 256 366s 257]; 366s cm = repmat (cm, [1 3]); 366s im2d = reshape (cm, [7 4 3]); 366s imnd = permute (im2d, [1 4 3 2]); 366s 366s cm_uint8 = uint8 ([ 366s 0 0 0 366s 255 255 255 366s 255 255 255 366s 255 228 228 366s 255 255 255 366s 0 0 0 366s 0 0 0 366s 0 0 0 366s 0 0 0 366s 0 0 0 366s 0 0 0 366s 0 1 1 366s 0 127 127 366s 0 128 128 366s 0 128 128 366s 0 128 128 366s 0 128 128 366s 3 129 129 366s 252 227 227 366s 255 228 228 366s 255 229 229 366s 255 254 254 366s 255 255 255 366s 255 255 255 366s 255 255 255 366s 255 255 255 366s 255 255 255 366s 255 255 255]); 366s 366s assert (lab2uint8 (cm), cm_uint8) 366s im2d_uint8 = reshape (cm_uint8, [7 4 3]); 366s assert (lab2uint8 (im2d), im2d_uint8) 366s assert (lab2uint8 (imnd), permute (im2d_uint8, [1 4 3 2])) 366s 366s cm_uint16 = uint16 ([ 366s 0 0 0 366s 65535 65535 65535 366s 65535 65535 65535 366s 65535 58468 58468 366s 65535 65535 65535 366s 0 0 0 366s 0 0 0 366s 0 0 0 366s 0 0 0 366s 0 1 1 366s 0 1 1 366s 0 256 256 366s 0 32512 32512 366s 0 32768 32768 366s 0 32768 32768 366s 1 32768 32768 366s 1 32768 32768 366s 653 33024 33024 366s 64627 58112 58112 366s 65280 58368 58368 366s 65535 58624 58624 366s 65535 65024 65024 366s 65535 65280 65280 366s 65535 65535 65535 366s 65535 65535 65535 366s 65535 65535 65535 366s 65535 65535 65535 366s 65535 65535 65535]); 366s 366s assert (lab2uint16 (cm), cm_uint16) 366s im2d_uint16 = reshape (cm_uint16, [7 4 3]); 366s assert (lab2uint16 (im2d), im2d_uint16) 366s assert (lab2uint16 (imnd), permute (im2d_uint16, [1 4 3 2])) 366s 366s assert (lab2single (cm), single (cm)) 366s assert (lab2single (im2d), single (im2d)) 366s assert (lab2single (imnd), single (imnd)) 366s 1 test, 1 passed, 0 known failure, 0 skipped 366s [inst/impyramid.m] 366s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/impyramid.m 366s ***** xtest 366s ## bug #51979 (results are not matlab compatible) 366s in = [116 227 153 69 146 194 59 130 139 106 366s 2 47 137 249 90 75 16 24 158 44 366s 155 68 46 84 166 156 69 204 32 152 366s 71 221 137 230 210 153 192 115 30 118 366s 107 143 108 52 51 73 101 21 175 90 366s 54 158 143 77 26 168 113 229 165 225 366s 9 47 133 135 130 207 236 43 19 73]; 366s 366s reduced = [ 366s 114 139 131 103 111 366s 97 122 141 111 100 366s 103 123 112 123 122 366s 47 107 134 153 94]; 366s 366s expanded = [ 366s 115 154 185 178 150 122 105 116 138 159 158 117 78 86 112 129 133 120 103 366s 69 98 128 141 146 152 152 139 125 127 121 87 55 58 81 113 131 112 84 366s 40 54 74 100 131 167 184 157 119 104 92 64 41 44 66 100 121 103 74 366s 76 69 65 75 97 130 153 148 131 122 108 80 61 79 103 105 98 97 98 366s 120 105 88 77 78 96 121 143 155 154 140 112 98 124 143 109 74 91 123 366s 117 129 134 119 107 125 153 173 180 172 156 143 138 146 140 96 60 83 122 366s 99 139 170 157 139 156 181 188 180 164 151 154 156 140 112 81 65 84 110 366s 101 136 163 153 133 132 138 136 130 122 120 130 133 108 82 86 99 104 104 366s 103 126 143 136 116 97 81 73 73 82 94 105 105 87 78 108 138 133 116 366s 90 116 139 139 122 96 69 52 53 80 109 114 111 116 128 148 163 164 160 366s 66 99 131 140 131 109 83 62 62 102 142 144 138 154 169 164 157 169 184 366s 41 68 99 121 130 122 107 92 95 133 173 182 172 156 135 114 105 121 142 366s 21 38 64 98 124 131 127 123 129 160 194 212 199 144 82 52 48 65 85]; 366s 366s assert (impyramid (uint8 (in), "reduce"), uint8 (reduced)) 366s assert (impyramid (uint8 (in), "expand"), uint8 (expanded)) 366s !!!!! known failure 366s ASSERT errors for: assert (impyramid (uint8 (in), "reduce"),uint8 (reduced)) 366s 366s Location | Observed | Expected | Reason 366s (2,4) 110 111 Abs err 0 exceeds tol 0 by 0 366s (2,5) 99 100 Abs err 0 exceeds tol 0 by 0 366s (3,5) 121 122 Abs err 0 exceeds tol 0 by 0 366s ***** test 366s in = randi ([0 255], [40 39 3 5], "uint8"); 366s red = impyramid (in, "reduce"); 366s for p = 1:3 366s for n = 1:5 366s assert (red(:,:,p,n), impyramid (in(:,:,p,n), "reduce")) 366s endfor 366s endfor 366s 366s exp = impyramid (in, "expand"); 366s for p = 1:3 366s for n = 1:5 366s assert (exp(:,:,p,n), impyramid (in(:,:,p,n), "expand")) 366s endfor 366s endfor 366s ***** xtest 366s ## bug #51979 (results are not matlab compatible) 366s in = repmat (uint8 (255), [10 10]); 366s assert (impyramid (in, "reduce"), repmat (uint8 (255), [5 5])) 366s assert (impyramid (in, "expand"), repmat (uint8 (255), [19 19])) 366s !!!!! known failure 366s ASSERT errors for: assert (impyramid (in, "expand"),repmat (uint8 (255), [19, 19])) 366s 366s Location | Observed | Expected | Reason 366s (1,1) 195 255 Abs err 0 exceeds tol 0 by 0 366s (2,1) 223 255 Abs err 0 exceeds tol 0 by 0 366s (3,1) 223 255 Abs err 0 exceeds tol 0 by 0 366s (4,1) 223 255 Abs err 0 exceeds tol 0 by 0 366s (5,1) 223 255 Abs err 0 exceeds tol 0 by 0 366s (6,1) 223 255 Abs err 0 exceeds tol 0 by 0 366s (7,1) 223 255 Abs err 0 exceeds tol 0 by 0 366s (8,1) 223 255 Abs err 0 exceeds tol 0 by 0 366s (9,1) 223 255 Abs err 0 exceeds tol 0 by 0 366s (10,1) 223 255 Abs err 0 exceeds tol 0 by 0 366s (11,1) 223 255 Abs err 0 exceeds tol 0 by 0 366s (12,1) 223 255 Abs err 0 exceeds tol 0 by 0 366s (13,1) 223 255 Abs err 0 exceeds tol 0 by 0 366s (14,1) 223 255 Abs err 0 exceeds tol 0 by 0 366s (15,1) 223 255 Abs err 0 exceeds tol 0 by 0 366s (16,1) 223 255 Abs err 0 exceeds tol 0 by 0 366s (17,1) 223 255 Abs err 0 exceeds tol 0 by 0 366s (18,1) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,1) 195 255 Abs err 0 exceeds tol 0 by 0 366s (1,2) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,2) 223 255 Abs err 0 exceeds tol 0 by 0 366s (1,3) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,3) 223 255 Abs err 0 exceeds tol 0 by 0 366s (1,4) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,4) 223 255 Abs err 0 exceeds tol 0 by 0 366s (1,5) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,5) 223 255 Abs err 0 exceeds tol 0 by 0 366s (1,6) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,6) 223 255 Abs err 0 exceeds tol 0 by 0 366s (1,7) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,7) 223 255 Abs err 0 exceeds tol 0 by 0 366s (1,8) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,8) 223 255 Abs err 0 exceeds tol 0 by 0 366s (1,9) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,9) 223 255 Abs err 0 exceeds tol 0 by 0 366s (1,10) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,10) 223 255 Abs err 0 exceeds tol 0 by 0 366s (1,11) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,11) 223 255 Abs err 0 exceeds tol 0 by 0 366s (1,12) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,12) 223 255 Abs err 0 exceeds tol 0 by 0 366s (1,13) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,13) 223 255 Abs err 0 exceeds tol 0 by 0 366s (1,14) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,14) 223 255 Abs err 0 exceeds tol 0 by 0 366s (1,15) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,15) 223 255 Abs err 0 exceeds tol 0 by 0 366s (1,16) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,16) 223 255 Abs err 0 exceeds tol 0 by 0 366s (1,17) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,17) 223 255 Abs err 0 exceeds tol 0 by 0 366s (1,18) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,18) 223 255 Abs err 0 exceeds tol 0 by 0 366s (1,19) 195 255 Abs err 0 exceeds tol 0 by 0 366s (2,19) 223 255 Abs err 0 exceeds tol 0 by 0 366s (3,19) 223 255 Abs err 0 exceeds tol 0 by 0 366s (4,19) 223 255 Abs err 0 exceeds tol 0 by 0 366s (5,19) 223 255 Abs err 0 exceeds tol 0 by 0 366s (6,19) 223 255 Abs err 0 exceeds tol 0 by 0 366s (7,19) 223 255 Abs err 0 exceeds tol 0 by 0 366s (8,19) 223 255 Abs err 0 exceeds tol 0 by 0 366s (9,19) 223 255 Abs err 0 exceeds tol 0 by 0 366s (10,19) 223 255 Abs err 0 exceeds tol 0 by 0 366s (11,19) 223 255 Abs err 0 exceeds tol 0 by 0 366s (12,19) 223 255 Abs err 0 exceeds tol 0 by 0 366s (13,19) 223 255 Abs err 0 exceeds tol 0 by 0 366s (14,19) 223 255 Abs err 0 exceeds tol 0 by 0 366s (15,19) 223 255 Abs err 0 exceeds tol 0 by 0 366s (16,19) 223 255 Abs err 0 exceeds tol 0 by 0 366s (17,19) 223 255 Abs err 0 exceeds tol 0 by 0 366s (18,19) 223 255 Abs err 0 exceeds tol 0 by 0 366s (19,19) 195 255 Abs err 0 exceeds tol 0 by 0 366s ***** xtest 366s ## bug #51979 (results are not matlab compatible) 366s in = logical ([ 366s 1 0 1 1 0 0 1 1 0 0 366s 1 1 0 0 0 1 0 0 1 0 366s 0 1 1 0 1 1 1 1 1 1 366s 1 0 1 0 1 0 1 0 1 1 366s 1 1 1 0 0 0 1 1 1 1 366s 0 0 1 1 0 0 1 0 0 0 366s 0 0 1 1 0 1 1 0 1 1 366s 1 1 0 0 1 0 0 0 1 0 366s 1 1 1 1 1 1 0 1 0 0 366s 1 1 0 0 1 0 0 0 1 0]); 366s 366s reduced = logical ([ 366s 1 1 0 1 0 366s 1 1 0 1 1 366s 1 1 0 1 1 366s 0 1 0 0 0 366s 1 1 1 0 0]); 366s 366s expanded = logical ([ 366s 1 1 0 0 1 1 1 0 0 0 0 0 1 1 1 0 0 0 0 366s 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 366s 1 1 1 1 0 0 0 0 0 0 1 1 0 0 0 1 1 0 0 366s 1 1 1 1 0 0 0 0 0 1 1 1 1 0 1 1 1 1 1 366s 0 1 1 1 1 0 0 0 1 1 1 1 1 1 1 1 1 1 1 366s 0 0 1 1 1 0 0 0 1 1 1 1 1 1 1 1 1 1 1 366s 1 1 0 1 1 0 0 0 1 0 0 1 1 1 0 1 1 1 1 366s 1 1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 1 1 1 366s 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 1 366s 0 0 1 1 1 1 0 0 0 0 0 0 1 1 1 0 0 0 0 366s 0 0 0 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 366s 0 0 0 0 1 1 1 0 0 0 0 1 1 0 0 0 0 0 0 366s 0 0 0 0 1 1 1 0 0 0 1 1 1 0 0 0 1 1 1 366s 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 366s 1 1 1 1 0 0 0 1 1 1 0 0 0 0 0 0 1 0 0 366s 1 1 1 1 1 0 1 1 1 1 0 0 0 0 0 0 0 0 0 366s 1 1 1 1 1 1 1 1 1 1 1 0 0 0 1 0 0 0 0 366s 1 1 1 1 1 0 1 1 1 1 0 0 0 0 0 0 0 0 0 366s 1 1 1 1 0 0 0 1 1 1 0 0 0 0 0 0 1 0 0]); 366s 366s assert (impyramid (in, "reduce"), reduced) 366s assert (impyramid (in, "expand"), expanded) 366s !!!!! known failure 366s ASSERT errors for: assert (impyramid (in, "reduce"),reduced) 366s 366s Location | Observed | Expected | Reason 366s (4,1) 1 0 Abs err 1 exceeds tol 0 by 1 366s (1,3) 1 0 Abs err 1 exceeds tol 0 by 1 366s (2,3) 1 0 Abs err 1 exceeds tol 0 by 1 366s (3,3) 1 0 Abs err 1 exceeds tol 0 by 1 366s (4,3) 1 0 Abs err 1 exceeds tol 0 by 1 366s (4,4) 1 0 Abs err 1 exceeds tol 0 by 1 366s (5,4) 1 0 Abs err 1 exceeds tol 0 by 1 366s (1,5) 1 0 Abs err 1 exceeds tol 0 by 1 366s (4,5) 1 0 Abs err 1 exceeds tol 0 by 1 366s (5,5) 1 0 Abs err 1 exceeds tol 0 by 1 366s 4 tests, 1 passed, 3 known failures, 0 skipped 366s [inst/imresize.m] 366s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imresize.m 366s ***** test 366s 366s in = [116 227 153 69 146 194 59 130 139 106 366s 2 47 137 249 90 75 16 24 158 44 366s 155 68 46 84 166 156 69 204 32 152 366s 71 221 137 230 210 153 192 115 30 118 366s 107 143 108 52 51 73 101 21 175 90 366s 54 158 143 77 26 168 113 229 165 225 366s 9 47 133 135 130 207 236 43 19 73]; 366s assert (imresize (uint8 (in), 1, "nearest"), uint8 (in)) 366s assert (imresize (uint8 (in), 1, "bicubic"), uint8 (in)) 366s 366s out = [116 116 227 227 153 153 69 69 146 146 194 194 59 59 130 130 139 139 106 106 366s 116 116 227 227 153 153 69 69 146 146 194 194 59 59 130 130 139 139 106 106 366s 2 2 47 47 137 137 249 249 90 90 75 75 16 16 24 24 158 158 44 44 366s 2 2 47 47 137 137 249 249 90 90 75 75 16 16 24 24 158 158 44 44 366s 155 155 68 68 46 46 84 84 166 166 156 156 69 69 204 204 32 32 152 152 366s 155 155 68 68 46 46 84 84 166 166 156 156 69 69 204 204 32 32 152 152 366s 71 71 221 221 137 137 230 230 210 210 153 153 192 192 115 115 30 30 118 118 366s 71 71 221 221 137 137 230 230 210 210 153 153 192 192 115 115 30 30 118 118 366s 107 107 143 143 108 108 52 52 51 51 73 73 101 101 21 21 175 175 90 90 366s 107 107 143 143 108 108 52 52 51 51 73 73 101 101 21 21 175 175 90 90 366s 54 54 158 158 143 143 77 77 26 26 168 168 113 113 229 229 165 165 225 225 366s 54 54 158 158 143 143 77 77 26 26 168 168 113 113 229 229 165 165 225 225 366s 9 9 47 47 133 133 135 135 130 130 207 207 236 236 43 43 19 19 73 73 366s 9 9 47 47 133 133 135 135 130 130 207 207 236 236 43 43 19 19 73 73]; 366s assert (imresize (uint8 (in), 2, "nearest"), uint8 (out)) 366s assert (imresize (uint8 (in), 2, "neAreST"), uint8 (out)) 366s assert (imresize (uint8 (in), [14 NaN], "nearest"), uint8 (out)) 366s assert (imresize (uint8 (in), [NaN 20], "nearest"), uint8 (out)) 366s 366s out = [116 116 227 227 153 153 69 69 146 146 194 194 59 59 130 130 139 139 106 106 366s 2 2 47 47 137 137 249 249 90 90 75 75 16 16 24 24 158 158 44 44 366s 155 155 68 68 46 46 84 84 166 166 156 156 69 69 204 204 32 32 152 152 366s 71 71 221 221 137 137 230 230 210 210 153 153 192 192 115 115 30 30 118 118 366s 107 107 143 143 108 108 52 52 51 51 73 73 101 101 21 21 175 175 90 90 366s 54 54 158 158 143 143 77 77 26 26 168 168 113 113 229 229 165 165 225 225 366s 9 9 47 47 133 133 135 135 130 130 207 207 236 236 43 43 19 19 73 73]; 366s assert (imresize (uint8 (in), [7 20], "nearest"), uint8 (out)) 366s 366s out = [116 227 153 69 146 194 59 130 139 106 366s 116 227 153 69 146 194 59 130 139 106 366s 2 47 137 249 90 75 16 24 158 44 366s 2 47 137 249 90 75 16 24 158 44 366s 155 68 46 84 166 156 69 204 32 152 366s 155 68 46 84 166 156 69 204 32 152 366s 71 221 137 230 210 153 192 115 30 118 366s 71 221 137 230 210 153 192 115 30 118 366s 107 143 108 52 51 73 101 21 175 90 366s 107 143 108 52 51 73 101 21 175 90 366s 54 158 143 77 26 168 113 229 165 225 366s 54 158 143 77 26 168 113 229 165 225 366s 9 47 133 135 130 207 236 43 19 73 366s 9 47 133 135 130 207 236 43 19 73]; 366s assert (imresize (uint8 (in), [14 10], "nearest"), uint8 (out)) 366s 366s assert (imresize (uint8 (in), 1.5, "box"), imresize (uint8 (in), 1.5, "MeTHoD", "nearest")) 366s assert (imresize (uint8 (in), "Scale", 1.5, "Method", "box"), imresize (uint8 (in), 1.5, {@(h) -0.5 < h & h <= 0.5, 1})) 366s assert (imresize (uint8 (in), 1.5, "bicubic"), imresize (uint8 (in), 1.5, "cubic")) 366s assert (imresize (uint8 (in), [NaN, size(in,2)*1.5], "bicubic"), imresize (uint8 (in), 1.5, "cubic")) 366s assert (imresize (uint8 (in), [size(in,1)*1.5, NaN], "bicubic"), imresize (uint8 (in), 1.5, "cubic")) 366s assert (imresize (uint8 (in), "outputsize", [size(in,1)*1.5, NaN], "method", "bicubic"), imresize (uint8 (in), 1.5, "cubic")) 366s assert (imresize (uint8 (in), 1.5, "linear"), imresize (uint8 (in), 1.5, "LIneAR")) 366s assert (imresize (uint8 (in), 1.5, "linear"), imresize (uint8 (in), 1.5, "triangle")) 366s ***** test 366s in = [116 227 153 69 146 194 59 130 139 106 366s 2 47 137 249 90 75 16 24 158 44 366s 155 68 46 84 166 156 69 204 32 152 366s 71 221 137 230 210 153 192 115 30 118 366s 107 143 108 52 51 73 101 21 175 90 366s 54 158 143 77 26 168 113 229 165 225 366s 9 47 133 135 130 207 236 43 19 73 366s 129 60 59 243 64 181 249 56 32 86]; 366s 366s out = imresize (in, 0.5, "nearest", "Antialiasing", false); 366s for x = 1:columns (out) 366s for y = 1:rows (out) 366s x_in = 2 * (x-1) + 1; 366s y_in = 2 * (y-1) + 1; 366s sub = in(y_in:y_in+1, x_in:x_in+1); 366s assert (any (any (sub == out(y, x)))) 366s endfor 366s endfor 366s 366s out = imresize (in, 0.5, "nearest", "Antialiasing", true); 366s for x = 1:columns (out) 366s for y = 1:rows (out) 366s x_in = 2 * (x-1) + 1; 366s y_in = 2 * (y-1) + 1; 366s val = mean (mean (in(y_in:y_in+1, x_in:x_in+1))); 366s assert (val, out(y, x)) 366s endfor 366s endfor 366s 366s out = imresize (in, "Scale", [0.5, 2], "Method", "nearest", "Antialiasing", true); 366s for x = 1:columns (out) 366s for y = 1:rows (out) 366s x_in = floor (0.5 * (x-1) + 1); 366s y_in = 2 * (y-1) + 1; 366s val = mean (in(y_in:y_in+1, x_in)); 366s assert (val, out(y, x)) 366s endfor 366s endfor 366s 366s out = imresize (in, "Scale", [2, 0.5], "Method", "nearest", "Antialiasing", true); 366s for x = 1:columns (out) 366s for y = 1:rows (out) 366s x_in = 2 * (x-1) + 1; 366s y_in = floor (0.5 * (y-1) + 1); 366s val = mean (in(y_in, x_in:x_in+1)); 366s assert (val, out(y, x)) 366s endfor 366s endfor 366s ***** test 366s 366s assert (imresize (repmat (5, [3 3]), 2), repmat (5, [6 6]), eps*100) 366s 366s assert (imresize (repmat (5, [3 3 2]), 2), repmat (5, [6 6 2]), eps*100) 366s ***** test 366s 366s for channels = 1:3 366s in = rand (5, 4, channels); 366s for method = {"nearest", "bilinear", "bicubic"} 366s out = imresize (in, 2, method{1}); 366s for i = 1:size (in, 3) 366s assert (out(:, :, i), imresize (in(:, :, i), 2, method{1})) 366s endfor 366s endfor 366s endfor 366s ***** test 366s 366s for channels = 1:3 366s in = rand (5, 4, channels); 366s out = imresize (in, [1, columns(in)], "nearest", "Antialiasing", true); 366s for i = 1:columns (in) 366s assert (out(1, i, :), mean (in(:, i, :), 1), 10*eps) 366s endfor 366s endfor 366s ***** test 366s 366s for channels = 1:3 366s in = rand (5, 4, channels); 366s out = imresize (in, [rows(in), 1], "nearest", "Antialiasing", true); 366s for i = 1:rows (in) 366s assert (out(i, 1, :), mean (in(i, :, :), 2), 10*eps) 366s endfor 366s endfor 367s ***** test 367s 367s for channels = 1:3 367s in = rand (5, 4, channels); 367s out = imresize (in, [1, 1], "nearest", "Antialiasing", true); 367s assert (out(1, 1, :), mean (mean (in(:, :, :))), 10*eps) 367s endfor 367s ***** test 367s 367s in = [116 227 153 69 146 194 59 130 139 106 367s 2 47 137 249 90 75 16 24 158 44 367s 155 68 46 84 166 156 69 204 32 152 367s 71 221 137 230 210 153 192 115 30 118 367s 107 143 108 52 51 73 101 21 175 90 367s 54 158 143 77 26 168 113 229 165 225 367s 9 47 133 135 130 207 236 43 19 73 367s 129 60 59 243 64 181 249 56 32 86]; 367s 367s out = [115 208 134 100 163 117 101 136 109 103 367s 26 61 149 182 95 53 41 116 73 60 367s 133 101 82 140 167 125 152 71 126 144 367s 88 184 137 164 142 145 110 81 104 108 367s 86 146 109 55 73 110 111 156 153 150 367s 33 104 131 100 130 184 147 97 133 142 367s 84 59 114 164 133 219 120 33 72 81 367s 126 60 104 181 116 218 125 38 77 86]; 367s assert (imresize (uint8 (in), 0.91, "bilinear", "Antialiasing", false), uint8 (out), 1) 367s 367s out = [116 172 215 165 111 82 133 170 171 81 95 132 138 123 106 367s 59 98 138 144 152 152 125 127 119 54 58 89 137 112 75 367s 27 39 62 110 172 202 123 96 78 36 40 68 123 100 62 367s 129 97 64 62 87 119 146 148 128 74 117 154 73 94 134 367s 113 129 136 101 125 162 183 172 151 135 146 139 53 83 135 367s 77 143 195 145 166 197 186 162 146 171 138 92 62 84 113 367s 101 129 149 120 98 81 78 82 91 111 77 56 132 123 95 367s 81 116 147 130 96 61 43 80 119 109 116 132 162 164 158 367s 46 93 139 141 114 80 50 109 168 141 166 189 151 171 200 367s 16 41 77 123 130 123 115 157 204 214 145 69 48 71 98 367s 69 62 61 89 143 174 112 146 202 235 147 46 30 53 80 367s 129 95 60 59 151 213 94 123 192 238 153 52 36 59 86]; 367s assert (imresize (uint8 (in), 1.5, "bilinear"), uint8 (out), 1) 367s 367s out = [ 98 152 126 58 112 367s 129 125 172 146 83 367s 116 96 80 116 164 367s 62 143 146 147 53]; 367s assert (imresize (uint8 (in), 0.5, "bilinear", "Antialiasing", false), uint8 (out), 1) 367s 367s out = [108 136 125 89 107 367s 111 132 143 114 99 367s 106 110 106 127 136 367s 75 124 154 142 75]; 367s assert (imresize (uint8 (in), 0.5, "bilinear", "Antialiasing", true), uint8 (out), 1) 367s 367s out = [116 185 199 143 80 117 164 177 76 103 133 135 110 106 367s 45 89 126 148 177 138 114 109 43 52 97 141 78 67 367s 59 57 73 114 177 145 114 96 45 71 99 108 88 85 367s 145 109 76 63 96 146 166 147 93 152 133 47 134 148 367s 82 157 174 137 201 208 186 156 174 145 90 42 111 122 367s 94 143 152 119 119 114 108 107 131 86 80 119 104 101 367s 87 126 139 114 69 49 67 109 106 102 126 167 145 141 367s 48 108 143 135 91 56 89 167 134 177 184 154 199 206 367s 15 44 88 133 129 121 149 204 219 124 55 44 85 92 367s 84 66 67 102 189 132 127 198 237 123 42 34 74 81 367s 129 86 60 82 220 131 108 190 241 128 47 39 79 86]; 367s assert (imresize (uint8 (in), 4/3, "bilinear"), uint8 (out), 1) 367s 367s lin = @(x) (1 - abs(x)) .* (abs(x) < 1); 367s 367s out = [ 47 90 24 44 367s 143 51 21 90 367s 60 64 56 86]; 367s assert (imresize (uint8 (in), 1/3, "bilinear", "Antialiasing", false), uint8 (out), 1) 367s assert (imresize (uint8 (in), 1/3, {lin, 2}, "Antialiasing", false), uint8 (out), 1) 367s 367s out = [115 131 101 102 367s 114 117 120 121 367s 91 147 116 76]; 367s assert (imresize (uint8 (in), 1/3, "bilinear", "Antialiasing", true), uint8 (out), 1) 367s assert (imresize (uint8 (in), 1/3, {lin, 2}, "Antialiasing", true), uint8 (out), 1) 367s ***** test 367s in = [116 227 153 69 146 194 59 130 139 106 367s 2 47 137 249 90 75 16 24 158 44 367s 155 68 46 84 166 156 69 204 32 152 367s 71 221 137 230 210 153 192 115 30 118 367s 107 143 108 52 51 73 101 21 175 90 367s 54 158 143 77 26 168 113 229 165 225 367s 9 47 133 135 130 207 236 43 19 73 367s 129 60 59 243 64 181 249 56 32 86]; 367s 367s out = [116 187 237 171 94 61 135 191 187 75 91 142 140 124 108 367s 43 92 143 149 164 163 119 123 118 44 38 80 151 118 62 367s 13 21 47 107 195 228 115 81 70 24 19 56 137 105 48 367s 146 98 49 49 71 107 148 159 132 58 124 176 61 85 146 367s 118 139 144 92 116 168 201 188 159 140 167 158 27 69 153 367s 61 151 218 145 174 219 201 164 146 187 148 84 48 76 115 367s 102 132 151 119 90 72 72 72 83 114 60 31 144 130 80 367s 81 121 154 133 87 41 19 67 116 95 108 140 183 180 163 367s 37 95 152 150 117 73 35 108 179 130 174 214 153 176 219 367s 3 29 73 131 136 120 116 162 214 229 147 54 35 62 96 367s 67 54 51 83 153 187 111 141 210 255 149 22 13 42 74 367s 142 99 53 43 164 237 77 103 197 254 159 42 31 59 91]; 367s assert (imresize (uint8 (in), 1.5, "bicubic"), uint8 (out), 1) 367s 367s out = [ 92 164 123 38 118 367s 139 116 188 167 69 367s 121 87 67 108 180 367s 54 153 141 149 42]; 367s assert (imresize (uint8 (in), 0.5, "bicubic", "Antialiasing", false), uint8 (out), 1) 367s 367s out = [105 140 126 81 109 367s 110 134 153 114 93 367s 108 108 94 127 146 367s 67 126 162 149 62]; 367s assert (imresize (uint8 (in), 0.5, "bicubic", "Antialiasing", true), uint8 (out), 1) 367s 367s out = [116 203 221 141 62 110 180 191 70 104 143 136 111 106 367s 26 78 126 156 200 139 103 103 33 28 92 158 67 46 367s 51 35 51 112 195 146 101 87 29 57 100 114 81 74 367s 159 110 63 50 82 148 179 152 83 173 147 27 143 170 367s 70 171 189 134 217 226 193 158 186 157 83 25 114 135 367s 91 152 162 116 118 114 102 98 138 65 60 127 92 84 367s 90 130 144 111 52 24 50 101 94 86 129 190 146 135 367s 41 114 157 139 89 37 82 178 125 192 203 154 213 227 367s 4 33 89 141 127 118 151 213 232 119 35 34 81 92 367s 88 61 54 97 203 129 115 203 255 119 18 24 70 81 367s 147 91 43 68 247 125 80 191 255 130 33 37 83 94]; 367s assert (imresize (uint8 (in), 4/3, "bicubic"), uint8 (out), 1) 367s 367s out = [ 47 90 24 44 367s 143 51 21 90 367s 60 64 56 86]; 367s assert (imresize (uint8 (in), 1/3, "bicubic", "Antialiasing", false), uint8 (out), 1) 367s 367s out = [115 135 97 101 367s 113 119 124 125 367s 81 157 118 64]; 367s assert (imresize (uint8 (in), 1/3, "bicubic", "Antialiasing", true), uint8 (out), 1) 367s ***** test 367s 367s in = checkerboard (1, [2 2]); 367s out = [0.5 0.35 367s 0.5 0.35]; 367s assert ( imresize (in, 0.5, "bilinear", "Antialiasing", false), out) 367s ***** test 367s 367s in = ones (2) + 1i; 367s out_nearest = imresize (in, 1.5, "nearest"); 367s assert (out_nearest, ones (3) + 1i); 367s out_linear = imresize (in, 1.5, "linear"); 367s assert (out_linear, ones (3) + 1i); 367s out_cubic = imresize (in, 1.5, "cubic"); 367s assert (out_cubic, ones (3) + 1i, 1e-14); 367s ***** test 367s 367s in = cat (3, 10, 10, 10); 367s expected = 10 * ones (2, 2, 3); # consistent with MATLAB behaviour 367s 367s out_nearest = imresize (in, [2, 2], "nearest"); 367s assert (out_nearest, expected); 367s out_linear = imresize (in, [2, 2], "linear"); 367s assert (out_linear, expected); 367s out_cubic = imresize (in, [2, 2], "cubic"); 367s assert (out_cubic, expected); 367s ***** test 367s 367s in_row = cat(3, [10,6], [10,6], [10,6]); 367s 367s plane_expected_nearest = [1; 1; 1] * [10, 10, 6, 6]; 367s out_expected = cat (3, plane_expected_nearest, plane_expected_nearest, plane_expected_nearest); 367s out_nearest = imresize (in_row, [3, 4], "nearest"); 367s assert (out_nearest, out_expected); 367s 367s plane_expected_linear = [1; 1; 1] * [10, 8, 6]; 367s out_expected = cat (3, plane_expected_linear, plane_expected_linear, plane_expected_linear); 367s out_linear = imresize (in_row, [3, 3], "linear"); 367s assert (out_linear, out_expected); 367s 367s plane_expected_cubic = [1; 1; 1] * [10.27777777777777, 8, 5.72222222222222]; # values from MATLAB 367s out_expected = cat (3, plane_expected_cubic, plane_expected_cubic, plane_expected_cubic); 367s out_cubic = imresize (in_row, [3, 3], "cubic"); 367s assert (out_cubic, out_expected, 1e-13); 367s 367s in_col = cat(3, [10;6], [10;6], [10;6]); 367s 367s plane_expected_nearest = [10; 10; 6; 6] * [1, 1, 1]; 367s out_expected = cat (3, plane_expected_nearest, plane_expected_nearest, plane_expected_nearest); 367s out_nearest = imresize (in_col, [4, 3], "nearest"); 367s assert (out_nearest, out_expected); 367s 367s plane_expected_linear = [10; 8; 6] * [1, 1, 1]; 367s out_expected = cat (3, plane_expected_linear, plane_expected_linear, plane_expected_linear); 367s out_linear = imresize (in_col, [3, 3], "linear"); 367s assert (out_linear, out_expected); 367s 367s plane_expected_cubic = [10.27777777777777; 8; 5.72222222222222] * [1, 1, 1]; # values from MATLAB 367s out_expected = cat (3, plane_expected_cubic, plane_expected_cubic, plane_expected_cubic); 367s out_cubic = imresize (in_col, [3, 3], "cubic"); 367s assert (out_cubic, out_expected, 1e-13); 367s ***** #test 367s r_big_int16 = randi(16000, 8000, 8000, "int16"); 367s r_big_double = randi(16000, 8000, 8000); 367s tic; imresize (r_big_int16, 100/8000); toc; 367s tic; imresize (r_big_double, 100/8000); toc; 367s 367s r_small_int16 = randi(16000, 100, 100, "int16"); 367s r_small_double = randi(16000, 100, 100); 367s tic; imresize (r_small_int16, 8000/100); toc; 367s tic; imresize (r_small_double, 8000/100); toc; 367s 13 tests, 13 passed, 0 known failure, 0 skipped 367s [inst/montage.m] 367s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/montage.m 367s ***** function cdata = montage_cdata (varargin) 367s h = figure (); 367s set (h, "visible", "off"); 367s mh = montage (varargin{:}); 367s cdata = get (mh, "cdata"); 367s close (h); 367s ***** endfunction 367s ***** test 367s im = uint8 (ones (2, 2, 1, 5)) .* reshape ([1 2 3 4 5], [1 1 1 5]); 367s cdata = montage_cdata (im); 367s expected = uint8 ([ 367s 1 1 2 2 3 3 367s 1 1 2 2 3 3 367s 4 4 5 5 0 0 367s 4 4 5 5 0 0 367s ]); 367s assert (cdata, expected) 367s ***** test 367s im = uint8 (ones (2, 4, 1, 6)) .* reshape ([1 2 3 4 5 6], [1 1 1 6]); 367s cdata = montage_cdata (im); 367s expected = uint8 ([ 367s 1 1 1 1 2 2 2 2 367s 1 1 1 1 2 2 2 2 367s 3 3 3 3 4 4 4 4 367s 3 3 3 3 4 4 4 4 367s 5 5 5 5 6 6 6 6 367s 5 5 5 5 6 6 6 6 367s ]); 367s assert (cdata, expected) 367s 2 tests, 2 passed, 0 known failure, 0 skipped 367s [inst/entropy.m] 367s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/entropy.m 367s ***** assert (entropy ([0 1]), 1) 367s ***** assert (entropy (uint8 ([0 1])), 1) 367s ***** assert (entropy ([0 0]), 0) 367s ***** assert (entropy ([0]), 0) 367s ***** assert (entropy ([1]), 0) 367s ***** assert (entropy ([0 .5; 2 0]), 1.5) 367s ***** assert (entropy (repmat ([0 .5; 2 0], 1, 1, 3)), 367s entropy ([0 .5; 2 0])) 367s ***** test 367s A = zeros (3,3); 367s B = ones (3,3); 367s C = [1 1 1; 2 2 2; 3 3 3]; 367s D = C'; 367s E = ones (3,3); 367s E(2,2)=2; 367s F = 3 .* ones (3,3); 367s F(2,2)=1; 367s G = [-1 2 7; -5 2 8; -7 pi 9]; 367s H = [5 2 8; 1 -3 1; 5 1 0]; 367s pG = [1 2] ./ 3; 367s G_out = -sum (pG.*log2 (pG)); 367s pH = [2 7] ./ 9; 367s H_out = -sum (pH.*log2 (pH)); 367s assert (entropy (A), 0, eps); 367s assert (entropy (B), 0, eps); 367s assert (entropy (C), 0, eps); 367s assert (entropy (D), 0, eps); 367s assert (entropy (E), 0, eps); 367s assert (entropy (F), 0, eps); 367s assert (entropy (G), G_out, eps); 367s assert (entropy (H), H_out, eps); 367s ***** test 367s A = uint8 (zeros (3,3)); 367s B = uint8 (ones (3,3)); 367s C = uint8 ([1 1 1; 2 2 2; 3 3 3]); 367s D = C'; 367s E = uint8 (ones (3,3)); 367s E(2,2)=2; 367s F = 3 .* uint8 (ones (3,3)); 367s F(2,2)=1; 367s G = uint8 ([0 2 7; 0 2 8; 0 3 9]); 367s H = uint8 ([5 2 8; 1 0 1; 5 1 0]); 367s pC = [1 1 1] ./ 3; 367s C_out = -sum (pC.*log2 (pC)); 367s D_out = C_out; 367s pE = [8 1] ./ 9; 367s E_out = -sum (pE.*log2 (pE)); 367s F_out = E_out; 367s pG = [3 2 1 1 1 1] ./ 9; 367s G_out = -sum (pG.*log2 (pG)); 367s pH = [2 3 1 2 1] ./ 9; 367s H_out = -sum (pH.*log2 (pH)); 367s assert (entropy (A), 0); 367s assert (entropy (B), 0); 367s assert (entropy (C), C_out, eps); 367s assert (entropy (D), D_out, eps); 367s assert (entropy (E), E_out, eps); 367s assert (entropy (F), F_out, eps); 367s assert (entropy (G), G_out, eps); 367s assert (entropy (H), H_out, eps); 367s ***** test 367s L1 = false (3,3); 367s L1(2,2)=true; 367s L2 = true (3,3); 367s L2(2,2)=false; 367s L3 = logical ([0 1 1; 0 1 1; 0 0 1]); 367s p12 = [1 8] ./ 9; 367s out12 = -sum (p12.*log2 (p12)); 367s p3 = [5 4] ./9; 367s out3 = -sum (p3.*log2 (p3)); 367s assert (entropy (L1), out12, eps); 367s assert (entropy (L2), out12, eps); 367s assert (entropy (L3), out3, eps); 367s 10 tests, 10 passed, 0 known failure, 0 skipped 367s [inst/imgradient.m] 367s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imgradient.m 367s ***** test 367s A = [0 1 0 367s 1 1 1 367s 0 1 0]; 367s 367s [gMag, gDir] = imgradient (A); 367s assert (gMag,[sqrt(18) 4 sqrt(18); 4 0 4; sqrt(18),4,sqrt(18)]); 367s assert (gDir,[-45 -90 -135; -0 -0 -180; 45 90 135]); 367s 367s ## the following just test if passing gx and gy separately gets 367s ## us the same as the image and method though imgradient 367s [gxSobel, gySobel] = imgradientxy (A, "Sobel"); 367s [gxPrewitt, gyPrewitt] = imgradientxy (A, "Prewitt"); 367s [gxCd, gyCd] = imgradientxy (A, "CentralDifference"); 367s [gxId, gyId] = imgradientxy (A, "IntermediateDifference"); 367s 367s assert (imgradient (A), 367s imgradient (gxSobel, gySobel)); 367s assert (imgradient (A, "Sobel"), 367s imgradient (gxSobel, gySobel)); 367s assert (imgradient (A, "Prewitt"), 367s imgradient(gxPrewitt, gyPrewitt)); 367s assert (imgradient (A, "CentralDifference"), 367s imgradient (gxCd, gyCd)); 367s assert (imgradient (A, "IntermediateDifference"), 367s imgradient (gxId, gyId)); 367s 1 test, 1 passed, 0 known failure, 0 skipped 367s [inst/bwareafilt.m] 367s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/bwareafilt.m 367s ***** shared a2d, a3d 367s a2d = [1 0 0 0 0 0 1 0 0 1 367s 1 0 0 1 0 1 0 1 0 1 367s 1 0 1 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 1 0 0 0 0 0 0 0 0 367s 1 1 0 1 1 1 0 0 0 0 367s 1 1 0 1 0 0 0 1 0 0 367s 1 1 0 0 0 0 1 0 1 0 367s 1 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 1 1 0 0 1]; 367s 367s a3d = a2d; 367s a3d(:,:,2) = [ 367s 0 0 0 0 0 0 0 0 0 0 367s 1 0 0 1 1 0 0 1 0 0 367s 0 0 0 1 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 1 1 0 0 0 0 367s 1 1 0 1 0 0 0 0 0 0 367s 1 0 0 0 0 0 1 0 0 0 367s 0 1 0 0 0 0 0 0 0 1 367s 1 1 0 0 0 0 1 0 0 0]; 367s 367s a3d(:,:,3) = [ 367s 1 0 0 0 0 0 0 0 0 0 367s 0 1 0 1 1 0 0 1 0 0 367s 0 0 0 1 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 1 1 1 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 1 0 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 1 367s 1 1 0 0 0 0 0 0 0 0]; 367s ***** test 367s f2d = [0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 1 0 0 0 0 0 0 0 0 367s 1 1 0 1 1 1 0 0 0 0 367s 1 1 0 1 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0]; 367s assert (bwareafilt (a2d, 2), logical (f2d)); 367s assert (bwareafilt (a2d, 2, 8), logical (f2d)); 367s assert (bwareafilt (a2d, 2, 4), logical (f2d)); 367s ***** test 367s f2d = [1 0 0 0 0 0 1 0 0 0 367s 1 0 0 0 0 1 0 1 0 0 367s 1 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 1 0 0 0 0 0 0 0 0 367s 1 1 0 1 1 1 0 0 0 0 367s 1 1 0 1 0 0 0 1 0 0 367s 1 1 0 0 0 0 1 0 1 0 367s 1 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0]; 367s assert (bwareafilt (a2d, 5), logical (f2d)); 367s assert (bwareafilt (a2d, 5, 8), logical (f2d)); 367s ***** test 367s f2d = [0 0 0 0 0 0 1 0 0 1 367s 0 0 0 1 0 1 0 1 0 1 367s 0 0 1 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 1 0 0 367s 0 0 0 0 0 0 1 0 1 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 1 1 0 0 1]; 367s assert (bwareafilt (a2d, 11, "smallest", 4), logical (f2d)); 367s ***** test 367s f2d = [1 0 0 0 0 0 1 0 0 0 367s 1 0 0 0 0 1 0 1 0 0 367s 1 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 1 1 1 0 0 0 0 367s 0 0 0 1 0 0 0 1 0 0 367s 0 0 0 0 0 0 1 0 1 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0]; 367s assert (bwareafilt (a2d, [3 5]), logical (f2d)); 367s assert (bwareafilt (a2d, [3 5], 8), logical (f2d)); 367s ***** test 367s f2d = [1 0 0 0 0 0 0 0 0 0 367s 1 0 0 0 0 0 0 0 0 0 367s 1 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 1 1 1 0 0 0 0 367s 0 0 0 1 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0]; 367s assert (bwareafilt (a2d, [3 4], 4), logical (f2d)); 367s assert (bwareafilt (a2d, [3 4], [0 1 0; 1 1 1; 0 1 0]), logical (f2d)); 367s ***** test 367s f2d = [1 0 0 0 0 0 1 0 0 1 367s 1 0 0 1 0 1 0 1 0 1 367s 1 0 1 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 1 1 1 0 0 0 0 367s 0 0 0 1 0 0 0 1 0 0 367s 0 0 0 0 0 0 1 0 1 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 1 1 0 0 0]; 367s assert (bwareafilt (a2d, [2 4]), logical (f2d)); 367s assert (bwareafilt (a2d, [2 4], 8), logical (f2d)); 367s assert (bwareafilt (a2d, [2 4], ones (3)), logical (f2d)); 367s ***** test 367s f3d = [0 0 0 0 0 0 1 0 0 0 367s 0 0 0 1 0 1 0 1 0 0 367s 0 0 1 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0]; 367s 367s f3d(:,:,2) = [ 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 1 1 0 0 1 0 0 367s 0 0 0 1 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0 367s 1 0 0 0 0 0 0 0 0 0 367s 0 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0]; 367s 367s f3d(:,:,3) = [ 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 1 1 0 0 1 0 0 367s 0 0 0 1 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 1 0 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0]; 367s assert (bwareafilt (a3d, 2), logical (f3d)); 367s assert (bwareafilt (a3d, 2, 26), logical (f3d)); 367s assert (bwareafilt (a3d, 2, ones (3, 3, 3)), logical (f3d)); 367s ***** test 367s f3d = [0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 1 0 0 0 0 0 0 0 0 367s 1 1 0 1 1 1 0 0 0 0 367s 1 1 0 1 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0]; 367s 367s f3d(:,:,2) = [ 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 1 1 0 0 0 0 367s 1 1 0 1 0 0 0 0 0 0 367s 1 0 0 0 0 0 0 0 0 0 367s 0 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0]; 367s 367s f3d(:,:,3) = [ 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 0 0 0 1 1 1 0 0 0 0 367s 0 0 0 0 0 0 0 0 0 0 367s 1 0 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0 367s 1 1 0 0 0 0 0 0 0 0]; 367s assert (bwareafilt (a3d, 2, 6), logical (f3d)); 367s assert (bwareafilt (a3d, 2, conndef (3, "minimal")), logical (f3d)); 367s 8 tests, 8 passed, 0 known failure, 0 skipped 367s [inst/imimposemin.m] 367s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imimposemin.m 367s ***** shared im0, bw0, out0, out0_4 367s im0 = uint8 ([5 5 5 5 5; 367s 5 4 3 4 5; 367s 5 3 0 3 5; 367s 5 4 3 4 5; 367s 5 5 5 5 5]); 367s bw0 = false (5); 367s bw0(4, 4) = true; 367s out0 = im0 + 1; 367s out0(4, 4) = 0; 367s out0_4 = out0; 367s out0_4(3, 3) = 4; 367s ***** error imimposemin () 367s ***** error imimposemin (im0) 368s ***** error imimposemin ("hello", bw0) 368s ***** error imimposemin (i.*im0, bw0) 368s ***** error imimposemin (sparse (im0), bw0) 368s ***** error imimposemin (im0, ones (2)) 368s ***** error imimposemin (im0, 'hello') 368s ***** error imimposemin (im0, i .* double (bw0)) 368s ***** error imimposemin (im0, sparse (bw0)) 368s ***** error imimposemin (im0, bw0, 'hello') 368s ***** error imimposemin (im0, bw0, 3) 368s ***** assert (imimposemin (im0, bw0), out0) 368s ***** assert (imimposemin (im0, bw0, 8), out0) 368s ***** assert (imimposemin (im0, bw0, 4), out0_4) 368s ***** assert (imimposemin (im0, bw0, true (3)), out0) 368s ***** test 368s out = imimposemin (im0, bw0); 368s assert (size (out), size (im0)) 368s assert (class (out), "uint8") 368s ***** test 368s out = imimposemin (double (im0), bw0); 368s assert (size (out), size (im0)) 368s assert (class (out), "double") 368s ***** test 368s out = imimposemin (single (im0), bw0); 368s assert (size (out), size (im0)) 368s assert (class (out), "single") 368s ***** test 368s out = imimposemin (uint16 (im0), bw0); 368s assert (size (out), size (im0)) 368s assert (class (out), "uint16") 368s ***** test 368s im = cat (3, im0, im0, im0, im0); 368s bw = cat (3, bw0, bw0, bw0, bw0); 368s out = imimposemin (im, bw); 368s assert (size (out), size (im)) 368s ***** test 368s expected_double = double (im0); 368s expected_double += 0.005; 368s expected_double(4, 4) = -inf; 368s out = imimposemin (double (im0), bw0); 368s assert (out, expected_double, eps) 368s ***** test 368s im = uint8 (10 .* ones (10)); 368s im(6:8, 6:8) = 2; 368s im(2:4, 2:4) = 7; 368s im(3, 3) = 5; 368s im(2, 9) = 9; 368s im(3, 8) = 9; 368s im(9, 2) = 9; 368s im(8, 3) = 9; 368s bw = false (10); 368s bw(3, 3) = true; 368s bw(6:8, 6:8) = true; 368s expected = uint8 (11 .* ones(10)); 368s expected(2:4, 2:4) = 8; 368s expected(3, 3) = 0; 368s expected(6:8, 6:8) = 0; 368s expected_double = double (expected); 368s expected_double -= 0.992; 368s expected_double (expected_double < 0) = -inf; 368s out = imimposemin (im, bw); 368s assert (out, expected, eps) 368s out = imimposemin (double (im), bw); 368s assert (out, expected_double, eps) 368s 22 tests, 22 passed, 0 known failure, 0 skipped 368s [inst/stdfilt.m] 368s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/stdfilt.m 368s ***** test 368s im = stdfilt (ones (5)); 368s assert (im, zeros (5)) 368s ***** test 368s A = zeros (3,3); 368s B = ones (3,3); 368s C = [1 1 1; 2 2 2; 3 3 3]; 368s D = C'; 368s E = ones (3,3); 368s E(2,2) = 2; 368s F = 3 .* ones (3,3); 368s F(2,2) = 1; 368s G = [-1 2 7; -5 2 8; -7 pi 9]; 368s H = [5 2 8; 1 -3 1; 5 1 0]; 368s A_out = [0 0 0; 0 0 0; 0 0 0]; 368s B_out = [0 0 0; 0 0 0; 0 0 0]; 368s C_out = repmat ([std([1 1 1 1 1 1 2 2 2]) 368s std([1 1 1 2 2 2 3 3 3]) 368s std([2 2 2 3 3 3 3 3 3])], [1 3]); 368s D_out = C_out'; 368s E_out = (1/3) .* ones (3,3); 368s F_out = (2/3) .* ones (3,3); 368s G_out = [std([-1 -1 2 -1 -1 2 -5 -5 2]), std([-1 2 7 -1 2 7 -5 2 8]), std([2 7 7 2 7 7 2 8 8]); 368s std([-1 -1 2 -5 -5 2 -7 -7 pi]), std([-1 2 7 -5 2 8 -7 pi 9]), std([2 7 7 2 8 8 pi 9 9]); 368s std([-5 -5 2 -7 -7 pi -7 -7 pi]), std([-5 2 8 -7 pi 9 -7 pi 9]), std([2 8 8 pi 9 9 pi 9 9])]; 368s H_out = [std([5 5 2 5 5 2 1 1 -3]), std([5 2 8 5 2 8 1 -3 1]), std([2 8 8 2 8 8 -3 1 1]); 368s std([5 5 2 1 1 -3 5 5 1]), std([5 2 8 1 -3 1 5 1 0]), std([2 8 8 -3 1 1 1 0 0]); 368s std([1 1 -3 5 5 1 5 5 1]), std([1 -3 1 5 1 0 5 1 0]), std([-3 1 1 1 0 0 1 0 0])]; 368s assert (stdfilt (A), A_out) 368s assert (stdfilt (B), B_out) 368s assert (stdfilt (C), C_out, 4*eps) 368s assert (stdfilt (D), D_out, 4*eps) 368s assert (stdfilt (E), E_out, 4*eps) 368s assert (stdfilt (F), F_out, 4*eps) 368s assert (stdfilt (G), G_out, 4*eps) 368s assert (stdfilt (H), H_out, 4*eps) 368s im = stdfilt (ones (5, 'logical')); 368s assert (im, zeros (5)) 368s im = stdfilt (ones (5, 'uint8')); 368s assert (im, zeros (5)) 368s assert (stdfilt (int8(H), H_out, 4*eps)) 368s assert (stdfilt (uint8(H), H_out, 4*eps)) 368s assert (stdfilt (int16(H), H_out, 4*eps)) 368s assert (stdfilt (uint16(H), H_out, 4*eps)) 368s assert (stdfilt (int32(H), H_out, 4*eps)) 368s assert (stdfilt (uint32(H), H_out, 4*eps)) 368s assert (stdfilt (int64(H), H_out, 4*eps)) 368s assert (stdfilt (uint64(H), H_out, 4*eps)) 368s assert (stdfilt (single(H), H_out, 4*eps)) 368s 2 tests, 2 passed, 0 known failure, 0 skipped 368s [inst/bwpack.m] 368s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/bwpack.m 368s ***** error id=Octave:invalid-fun-call bwpack () 368s ***** error id=Octave:invalid-input-arg bwpack ("text") 368s ***** xtest 368s ## bug #55521 368s assert (bwpack (eye (5)), uint32 ([1 2 4 8 16])) 368s ***** xtest 368s ## bug #55521 368s assert (bwpack (repmat (eye (4), 15, 1)), 368s uint32 ([286331153 572662306 1145324612 2290649224 368s 17895697 35791394 71582788 143165576])) 368s ***** xtest 368s ## bug #55521 368s assert (bwpack (ones (3, 3, 3, 3)), repmat (uint32 (7), 1, 3, 3, 3)) 368s ***** assert (bwpack (false (0, 10)), uint32 (zeros (0, 10))) 368s ***** assert (bwpack (false (0, 0)), uint32 (zeros (0, 0))) 368s ***** assert (bwpack (false (32, 0)), uint32 (zeros (1, 0))) 368s ***** assert (bwpack (false (33, 0)), uint32 (zeros (2, 0))) 368s ***** assert (bwpack (false (0, 10, 3)), uint32 (zeros (0, 10, 3))) 368s ***** assert (bwpack (false (33, 0, 3)), uint32 (zeros (2, 0, 3))) 368s ***** assert (bwpack (i), bwpack (logical (i))) 368s 12 tests, 12 passed, 0 known failure, 0 skipped 368s [inst/immultiply.m] 368s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/immultiply.m 368s ***** assert (immultiply (uint8 ([255 50]), uint16 ([300 50])), uint8 ([255 255])); # default to first class and truncate 368s ***** assert (immultiply (uint8 ([250 50]), uint16 ([ 3 4]), "uint32"), uint32 ([750 200])); # defining output class works (not in matlab?) 368s ***** assert (immultiply (uint8 ([255 50]), 4), uint8 ([255 200])); # works multiplying by a scalar 368s ***** assert (immultiply (logical ([ 1 0]), uint16 ([300 50])), uint16 ([300 0])); # output class defaults to whatever input is not logical 368s ***** assert (immultiply (logical ([ 1 0]), logical ([ 1 1])), double ([ 1 0])); # tested on matlab for compatibility 368s 5 tests, 5 passed, 0 known failure, 0 skipped 368s [inst/isrgb.m] 368s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/isrgb.m 368s ***** assert (isrgb ("this is not a RGB image"), false); 368s ***** assert (isrgb (rand (5, 5)), false); 368s ***** assert (isrgb (rand (5, 5, 1, 5)), false); 368s ***** assert (isrgb (rand (5, 5, 3, 5)), true); 368s ***** assert (isrgb (rand (5, 5, 3)), true); 368s ***** assert (isrgb (ones (5, 5, 3)), true); 368s ***** assert (isrgb (ones (5, 5, 3) + eps), false); 368s ***** assert (isrgb (zeros (5, 5, 3) - eps), false); 368s ***** assert (isrgb (rand (5, 5, 3) > 0.5), false); 368s ***** assert (isrgb (randi ([-100 100], 5, 5, 3, "int16")), true) 368s 10 tests, 10 passed, 0 known failure, 0 skipped 368s [inst/otsuthresh.m] 368s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/otsuthresh.m 368s ***** test 368s histo = zeros (1, 256); 368s histo([ 29 33 37 41 46 50 54 58 62 66 70 74 78 82 ... 368s 86 90 94 98 102 106 110 114 118 122 126 131 135 139 ... 368s 143 147 151 155 159 163 167 171 175 179 183 187 191 195 ... 368s 199 203 207 211 216 220 224 228 232 236 240 244 248 252]) = ... 368s [2 27 51 144 132 108 43 29 22 21 22 20 10 16 17 12 13 14 12 13 ... 368s 15 25 19 20 23 37 23 65 92 84 87 54 50 54 33 73 76 64 57 58 47 ... 368s 48 30 27 22 20 20 11 12 12 11 7 17 31 37 31]; 368s assert (otsuthresh (histo), 114.5/255) 368s ***** test 368s I = max (phantom (), 0); 368s H = imhist (I); 368s assert (otsuthresh (H), 178/255) 368s assert (otsuthresh (H'), 178/255) 368s H = imhist (I, 10); 368s assert (otsuthresh (H), 170/255) 368s ***** assert (otsuthresh (100), 0) 368s ***** assert (otsuthresh (zeros (256, 1)), 0) 368s ***** assert (otsuthresh (zeros (5, 1)), 0) 368s ***** assert (otsuthresh (uint8 ([10 20 30])), 0.5) 368s ***** assert (otsuthresh (int32 ([100 200 300])), 0.5) 368s ***** assert (otsuthresh (int32 ([100 200])), 0) 368s ***** assert (otsuthresh (single ([10 20 30 40])), 1/3); 368s ***** assert (otsuthresh (uint16 ([10 20 30 40 50 60 70 80 90 100])), 5/9) 368s ***** assert (otsuthresh (int16 ([10 20 30 40 50 60 70 80 90 100])), 5/9) 368s ***** assert (otsuthresh (int16 (1:255)), 156/254) 368s ***** assert (otsuthresh (int16 (1:1023)), 631/1022) 368s ***** assert (otsuthresh (int8 (1:1023)), 541/1022) 368s ***** test 368s warning ("off", "Octave:data-file-in-path", "local"); 368s S = load ("penny.mat"); 368s h = imhist (uint8 (S.P)); 368s assert (otsuthresh (h), 94/255); 368s ***** test 368s I = max (phantom (), 0); 368s h = imhist (I, 5); 368s assert (otsuthresh (h), 0.625); 368s ***** error id=Octave:invalid-fun-call otsuthresh () 368s ***** error id=Octave:invalid-fun-call otsuthresh (ones (10), 5) 368s ***** error otsuthresh ([]) 368s ***** error otsuthresh ([Inf 10]) 368s ***** error otsuthresh ([10 NA]) 368s ***** error otsuthresh ([10 NaN]) 368s ***** error otsuthresh (zeros (5)) 368s ***** error otsuthresh ([10 -10]) 368s ***** error otsuthresh ("foo") 368s ***** demo 368s I = max (phantom (), 0); 368s figure; imshow (I); 368s title ("Original image"); 368s h = imhist (I); 368s t = otsuthresh (h); 368s J = im2bw (I); 368s figure; imshow (J); 368s title_line = sprintf ("Black and white image after thresholding, t=%g", 368s t*255); 368s title (title_line); 368s ***** demo 368s warning ("off", "Octave:data-file-in-path", "local"); 368s S = load ("penny.mat"); 368s I = uint8 (S.P); 368s figure; imshow (I); 368s title ("Original penny image"); 368s h = imhist (I); 368s t = otsuthresh (h); 368s J = im2bw (I); 368s figure; imshow (J); 368s title_line = sprintf ("Black and white penny image after thresholding, t=%g", 368s t*255); 368s title (title_line); 368s I = 255 - I; 368s figure; imshow(I); 368s title ("Negative penny image"); 368s h = imhist (I); 368s t = otsuthresh (h); 368s J = im2bw (I); 368s figure; imshow (J); 368s title_line = sprintf ("Black and white negative penny image after thresholding, t=%g", 368s t*255); 368s title (title_line); 368s 25 tests, 25 passed, 0 known failure, 0 skipped 368s [inst/imclose.m] 368s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imclose.m 368s ***** shared in, out 368s in = [ 0 0 0 1 1 1 0 0 1 1 368s 0 1 0 1 1 1 0 0 0 1 368s 1 1 1 1 1 0 0 0 0 0 368s 0 1 1 1 1 0 0 0 0 0 368s 0 0 0 1 0 0 0 0 1 0 368s 0 0 0 0 0 0 0 1 1 1 368s 0 0 0 0 1 0 1 0 1 0 368s 0 0 0 1 1 1 1 1 0 0 368s 0 0 0 0 1 1 1 0 0 0 368s 0 0 0 1 1 1 0 0 0 0]; 368s 368s out = [ 1 1 1 1 1 1 1 1 1 1 368s 1 1 1 1 1 1 0 0 0 1 368s 1 1 1 1 1 0 0 0 0 1 368s 1 1 1 1 1 0 0 0 0 1 368s 0 0 0 1 1 0 0 0 1 1 368s 0 0 0 1 1 1 1 1 1 1 368s 0 0 0 1 1 1 1 1 1 1 368s 0 0 0 1 1 1 1 1 0 0 368s 0 0 0 1 1 1 1 0 0 0 368s 0 0 0 1 1 1 1 0 0 0]; 368s ***** assert (imclose (logical (in), ones (3)), logical (out)); 368s 368s out = [99 99 16 16 16 73 74 64 64 64 368s 98 88 16 16 16 73 71 64 64 64 368s 93 88 88 61 61 61 68 70 70 70 368s 93 88 88 61 61 61 68 71 71 71 368s 93 93 88 61 61 61 68 75 66 66 368s 79 79 82 90 90 49 49 49 49 66 368s 79 79 82 91 91 48 46 46 46 66 368s 79 79 82 95 97 48 46 46 46 72 368s 18 18 94 96 84 48 46 46 46 59 368s 18 18 100 96 84 50 50 50 50 59]; 368s ***** assert (imclose (magic (10), ones (3)), out); 368s ***** assert (imclose (uint8 (magic (10)), strel ("square", 3)), uint8 (out)); 368s 368s ## using a se that will be decomposed in 2 pieces 368s out =[ 99 99 88 74 74 74 74 70 70 70 368s 98 93 88 74 74 74 74 70 70 70 368s 93 93 88 74 74 74 74 70 70 70 368s 93 93 88 74 74 74 74 71 71 71 368s 93 93 88 75 75 75 75 75 75 75 368s 93 93 90 90 90 72 72 72 72 72 368s 93 93 91 91 91 72 72 72 72 72 368s 93 93 93 95 97 72 72 72 72 72 368s 94 94 94 96 97 72 72 72 72 72 368s 100 100 100 97 97 72 72 72 72 72]; 368s ***** assert (imclose (magic (10), ones(5)), out); 368s 368s ## using a weird non-symmetric and even-size se 368s out =[ 92 99 16 16 16 70 74 58 58 58 368s 98 88 60 73 16 73 69 70 64 58 368s 88 81 88 60 60 60 69 69 70 70 368s 87 87 61 68 61 60 68 69 71 69 368s 86 93 87 61 61 61 68 75 68 69 368s 23 82 89 89 90 45 68 45 68 66 368s 23 23 82 89 91 48 45 45 45 66 368s 79 23 82 95 97 46 48 46 45 72 368s 18 79 94 96 78 50 46 46 46 59 368s 18 18 100 94 94 78 50 50 46 59]; 368s ***** assert (imclose (magic (10), [1 0 0 0; 1 1 1 0; 0 1 0 1]), out); 368s 5 tests, 5 passed, 0 known failure, 0 skipped 368s [inst/bwperim.m] 368s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/bwperim.m 368s ***** test 368s in = [ 1 1 1 1 0 1 1 0 1 1 368s 1 1 0 1 1 1 1 1 1 0 368s 1 1 1 0 1 1 1 1 1 1 368s 1 1 1 1 0 1 1 1 0 1 368s 1 1 1 0 1 1 1 1 1 0 368s 1 1 1 1 1 1 0 1 0 1 368s 1 1 1 1 1 1 1 1 1 0 368s 1 1 1 1 1 1 1 1 1 1 368s 1 1 1 1 1 1 0 0 1 1 368s 1 1 1 1 0 1 0 1 1 0]; 368s 368s out = [1 1 1 1 0 1 1 0 1 1 368s 1 1 0 1 1 0 0 1 1 0 368s 1 0 1 0 1 0 0 0 1 1 368s 1 0 0 1 0 1 0 1 0 1 368s 1 0 1 0 1 0 1 0 1 0 368s 1 0 0 1 0 1 0 1 0 1 368s 1 0 0 0 0 0 1 0 1 0 368s 1 0 0 0 0 0 1 1 0 1 368s 1 0 0 0 1 1 0 0 1 1 368s 1 1 1 1 0 1 0 1 1 0]; 368s assert (bwperim (in), logical (out)) 368s assert (bwperim (in, 4), logical (out)) 368s 368s out = [1 1 1 1 0 1 1 0 1 1 368s 1 1 0 1 1 1 1 1 1 0 368s 1 1 1 0 1 1 0 1 1 1 368s 1 0 1 1 0 1 0 1 0 1 368s 1 0 1 0 1 1 1 1 1 0 368s 1 0 1 1 1 1 0 1 0 1 368s 1 0 0 0 0 1 1 1 1 0 368s 1 0 0 0 0 1 1 1 1 1 368s 1 0 0 1 1 1 0 0 1 1 368s 1 1 1 1 0 1 0 1 1 0]; 368s assert (bwperim (in, 8), logical (out)) 368s 368s out = [1 1 1 1 0 1 1 0 1 1 368s 1 0 0 0 0 1 0 0 1 0 368s 1 0 0 0 0 0 0 1 0 1 368s 1 0 1 0 0 0 0 0 0 1 368s 1 0 0 0 0 1 0 1 0 0 368s 1 0 0 0 1 0 0 0 0 1 368s 1 0 0 0 0 0 0 1 0 0 368s 1 0 0 0 0 1 1 0 0 1 368s 1 0 0 1 0 1 0 0 1 1 368s 1 1 1 1 0 1 0 1 1 0]; 368s assert (bwperim (in, [1 0 0; 0 1 0; 0 0 1]), logical (out)) 368s ***** test 368s in = [ 0 0 0 0 0 0 0 368s 0 0 5 0 0 1 9 368s 0 Inf 9 7 0 0 0 368s 0 1.5 5 7 1 0 0 368s 0 0.5 -1 89 i 0 0 368s 0 4 10 15 1 0 0 368s 0 0 0 0 0 0 0]; 368s out = [0 0 0 0 0 0 0 368s 0 0 1 0 0 1 1 368s 0 1 0 1 0 0 0 368s 0 1 0 0 1 0 0 368s 0 1 0 0 1 0 0 368s 0 1 1 1 1 0 0 368s 0 0 0 0 0 0 0]; 368s assert (bwperim (in), logical (out)) 368s ***** test 368s in = reshape (magic(16), [8 8 4]) > 50; 368s out(:,:,1) = [ 368s 1 1 0 1 0 1 1 1 368s 0 1 1 1 1 1 0 1 368s 0 1 1 1 1 1 0 1 368s 1 1 0 1 1 1 1 1 368s 1 1 1 1 1 1 1 1 368s 1 1 1 0 1 0 1 1 368s 1 1 1 0 1 0 1 1 368s 1 0 1 1 1 1 1 0]; 368s out(:,:,2) = [ 368s 1 1 0 1 0 1 1 1 368s 0 1 1 0 1 1 0 1 368s 0 1 0 0 0 1 0 1 368s 1 0 1 0 0 0 1 1 368s 1 0 0 1 0 1 0 1 368s 1 0 1 0 1 0 1 1 368s 1 1 1 0 1 0 1 1 368s 1 0 1 1 1 1 1 0]; 368s out(:,:,3) = [ 368s 1 1 0 1 0 1 1 1 368s 0 1 1 0 1 1 0 1 368s 0 1 0 0 0 1 0 1 368s 1 0 0 0 0 0 1 1 368s 1 0 0 1 0 1 0 1 368s 1 0 1 0 1 0 1 1 368s 1 1 1 0 1 0 1 1 368s 1 0 1 1 1 1 1 0]; 368s out(:,:,4) = [ 368s 1 1 0 1 0 1 1 1 368s 0 1 1 1 1 1 0 1 368s 0 1 1 1 1 1 0 1 368s 1 1 1 1 1 1 1 1 368s 1 1 1 1 1 1 1 0 368s 1 1 1 0 1 0 1 1 368s 1 1 1 0 1 0 1 1 368s 1 0 1 1 1 1 1 0]; 368s assert (bwperim (in), logical (out)) 368s 368s out(:,:,1) = [ 368s 1 1 0 1 0 1 1 1 368s 0 1 1 1 1 1 0 1 368s 0 1 1 1 1 1 0 1 368s 1 1 0 1 1 1 1 1 368s 1 1 1 1 1 1 1 1 368s 1 1 1 0 1 0 1 1 368s 1 1 1 0 1 0 1 1 368s 1 0 1 1 1 1 1 0]; 368s out(:,:,2) = [ 368s 1 1 0 1 0 1 1 1 368s 0 1 1 1 1 1 0 1 368s 0 1 1 0 0 1 0 1 368s 1 1 1 1 0 1 1 1 368s 1 0 1 1 1 1 1 1 368s 1 0 1 0 1 0 1 1 368s 1 1 1 0 1 0 1 1 368s 1 0 1 1 1 1 1 0]; 368s out(:,:,3) = [ 368s 1 1 0 1 0 1 1 1 368s 0 1 1 1 1 1 0 1 368s 0 1 0 0 0 1 0 1 368s 1 1 0 0 0 1 1 1 368s 1 0 1 1 1 1 1 1 368s 1 0 1 0 1 0 1 1 368s 1 1 1 0 1 0 1 1 368s 1 0 1 1 1 1 1 0]; 368s out(:,:,4) = [ 368s 1 1 0 1 0 1 1 1 368s 0 1 1 1 1 1 0 1 368s 0 1 1 1 1 1 0 1 368s 1 1 1 1 1 1 1 1 368s 1 1 1 1 1 1 1 0 368s 1 1 1 0 1 0 1 1 368s 1 1 1 0 1 0 1 1 368s 1 0 1 1 1 1 1 0]; 368s assert (bwperim (in, 18), logical (out)) 368s ***** error bwperim ("text") 368s ***** error bwperim (rand (10), 5) 368s ***** error bwperim (rand (10), "text") 368s ***** test 368s a = false (5); 368s a(1:4,2:4) = true; 368s 368s p = false (5); 368s p(1:4,[2 4]) = true; 368s assert (bwperim (a, [0 0 0; 1 1 1; 0 0 0]), p) 368s ***** test 368s a = false (8, 8, 5); 368s a(4:5,4:5,2:4) = true; 368s a(2:7,2:7,3) = true; 368s assert (bwperim (a, 26), a) 368s 368s ## It is easy to forget that is correct 368s b = a; 368s b(4:5, 4:5, 3) = false; 368s assert (bwperim (a), b) 368s 368s c = a; 368s c(3:6,3:6,3) = false; 368s assert (bwperim (a, 4), c) 368s ***** test 368s conn_self = logical ([0 0 0; 0 1 0; 0 0 0]); 368s assert (bwperim (true), true) 368s assert (bwperim (true, conn_self), false) 368s assert (bwperim (true (1, 6)), true (1, 6)) 368s assert (bwperim (true (1, 6), conn_self), false (1, 6)) 368s assert (bwperim (true (6, 1)), true (6, 1)) 368s 368s bw_3d = true (1, 1, 6); 368s assert (bwperim (bw_3d), bw_3d) 368s assert (bwperim (bw_3d, conn_self), false (1, 1, 6)) 368s assert (bwperim (bw_3d, true (3)), bw_3d) 368s 368s perim_3d = bw_3d; 368s perim_3d(1, 1, 2:end-1) = false; 368s conn_3d = false (3, 3, 3); 368s conn_3d(2, 2, :) = true; 368s assert (bwperim (true (1, 1, 6), conn_3d), perim_3d) 368s 9 tests, 9 passed, 0 known failure, 0 skipped 368s [inst/houghlines.m] 368s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/houghlines.m 368s ***** shared BW0, theta0, rho0, peaks0_1, peaks0_2, lines0_1, lines0_2, BW1, theta1, rho1, peaks1, lines1 368s BW0 = logical([0 0 0 0 1; 0 0 0 1 0; 1 0 1 0 0; 0 1 0 0 0; 1 1 1 1 1]); 368s theta0 = [-90:89]; 368s rho0 = [-7:7]; 368s peaks0_1 = [11 130]; 368s peaks0_2 = [11 130; 4 1]; 368s lines0_1 = struct ("point1", {[1,5]}, "point2", {[5,1]}, "theta", {39}, "rho", {3}); 368s lines0_2 = struct ("point1", {[1,5], [1,5]}, "point2", {[5,1],[5,5]}, "theta", {39,-90}, "rho", {3, -4}); 368s BW1 = diag(ones(50,1)); 368s theta1 = [-90:89]; 368s rho1 = -70:70; 368s peaks1 = [71 46]; 368s lines1 = struct ("point1", {[1 1]}, "point2", {[50 50]}, "theta", {-45}, "rho", {0}); 368s ***** error houghlines () 369s ***** error houghlines (BW1) 369s ***** error houghlines (BW1, theta1) 369s ***** error houghlines (BW1, theta1, rho1) 369s ***** assert (houghlines (BW1, theta1, rho1, peaks1), lines1) 369s ***** error (houghlines (BW1, theta1, rho1, peaks1, [1 2 3])) 369s ***** assert (houghlines (BW1, theta1, rho1, peaks1, "FillGap", 5), lines1) 369s ***** assert (houghlines (BW1, theta1, rho1, peaks1, "MinLength", 2), lines1) 369s ***** assert (houghlines (BW1, theta1, rho1, peaks1, "FillGap", 5, "MinLength", 2), lines1) 369s ***** assert (houghlines (BW1, theta1, rho1, peaks1, "MinLength", 2, "FillGap", 5), lines1) 369s ***** error houghlines (BW1, theta1, rho1, peaks1, "MinLength", 2, [1 2 3]) 370s ***** error houghlines (BW1, theta1, rho1, peaks1, "MinLength", 2, "FillGap", 5, [1 2 3]) 370s ***** assert (houghlines (double (BW1), theta1, rho1, peaks1), lines1) 370s ***** error houghlines (ones(5, 5, 5), theta1, rho1, peaks1) 370s ***** error houghlines ("nonsense", theta1, rho1, peaks1) 370s ***** error houghlines (BW1, ones(5), rho1, peaks1) 370s ***** error houghlines (BW1, "nonsense", rho1, peaks1) 370s ***** error houghlines (BW1, theta1, ones(5), peaks1) 370s ***** error houghlines (BW1, theta1, "nonsense", peaks1) 370s ***** error houghlines (BW1, theta1, rho1, ones(5)) 370s ***** error houghlines (BW1, theta1, rho1, ones(2,2,2)) 370s ***** error houghlines (BW1, theta1, rho1, "nonsense") 370s ***** error houghlines (BW1, theta1, rho1, peaks1, "nonsense", 5) 370s ***** error houghlines (BW1, theta1, rho1, peaks1, "MinLength", -5) 370s ***** error houghlines (BW1, theta1, rho1, peaks1, "MinLength", [3 4]) 370s ***** error houghlines (BW1, theta1, rho1, peaks1, "MinLength", "nonsense") 370s ***** error houghlines (BW1, theta1, rho1, peaks1, "FillGap", -5) 370s ***** error houghlines (BW1, theta1, rho1, peaks1, "FillGap", [3 4]) 370s ***** error houghlines (BW1, theta1, rho1, peaks1, "FillGap", "nonsense") 370s ***** test 370s out = houghlines(BW0, theta0, rho0, peaks0_2, "MinLength", 1); 370s assert (out, lines0_2) # includes class = struct, size = [1,2] 370s ***** test # for empty output 370s n = 100; 370s BW = false (n); 370s a = 50; % line starts at left side at row a 370s b = 3; % slope of line is 1:b 370s for column = 1:n 370s if (rem (column, b) == 0) 370s row = a - column/b; 370s BW(row, column) = true; 370s BW(row, column+1) = true; 370s end 370s end 370s theta = [-90: 89]; 370s rho = [-141:141]; 370s peaks = [188, 163]; 370s out = houghlines(BW, theta, rho, peaks, 'FillGap', 1, 'MinLength', 5); 370s assert (out, struct([])) 370s ***** test 370s out0_1 = houghlines(BW0, theta0, rho0, peaks0_1, 'MinLength', 1); 370s out0_2 = houghlines(BW0, theta0, rho0, peaks0_2, 'MinLength', 1); 370s assert (out0_1, lines0_1); 370s assert (out0_2, lines0_2); 370s ***** test 370s out = houghlines(BW1, theta1, rho1, peaks1); 370s assert (out, lines1); 370s ***** test 370s n = 100; 370s BW = false (n); 370s a = 50; % line starts at left side at row a 370s b = 3; % slope of line is 1:b 370s for column = 1:n 370s if (rem (column, b) == 0) 370s row = a - column/b; 370s BW(row, column) = true; 370s BW(row, column+1) = true; 370s end 370s end 370s theta = [-90:89]; 370s rho = [-141:141]; 370s peaks = [188, 163]; 370s lines_1 = struct ("point1", {[99 17]}, "point2", {[3 49]}, "theta", {72}, "rho", {46}); 370s out_1 = houghlines(BW, theta, rho, peaks); 370s out_n = houghlines(BW, theta, rho, peaks, 'FillGap', 1, 'MinLength', 1); 370s assert (out_1, lines_1) 370s assert (size (out_n), [1, 29]) 370s ***** demo 370s I = checkerboard (30, 1, 1); 370s I = imnoise(I, "salt & pepper", 0.2); 370s figure, imshow (I); 370s title ("noisy image with some lines"); 370s BW = edge (I, "canny"); 370s figure, imshow(BW); 370s title ("edge image"); 370s [H, theta, rho] = hough (BW); 370s figure, imshow (mat2gray (H), [], "XData", theta, "YData", rho); 370s title ("Hough transform of edge image \n 2 peaks marked"); 370s axis on; xlabel("theta [degrees]"); ylabel("rho [pixels]"); 370s peaks = houghpeaks (H, 2); 370s peaks_rho = rho(peaks(:,1)); 370s peaks_theta = theta(peaks(:,2)); 370s hold on; plot (peaks_theta, peaks_rho, "sr"); hold off; 370s lines = houghlines (BW, theta, rho, peaks); 370s figure, imshow (I), hold on; 370s for n = 1:length (lines) 370s points = [lines(n).point1; lines(n).point2]; 370s plot (points(:,1), points(:,2), "r"); 370s endfor 370s title ("the two strongest lines (edges) in the image"), hold off; 370s 34 tests, 34 passed, 0 known failure, 0 skipped 370s [inst/mean2.m] 370s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/mean2.m 370s ***** test 370s ## This throws a division by zero warning which Matlab does not, but 370s ## that's because Matlab does not throw such warnings in the first 370s ## place. Octave does, so we do not turn the warning off. 370s warning ("off", "Octave:divide-by-zero", "local"); 370s assert (mean2 ([]), NaN) 370s ***** assert (mean2 (logical ([1 1; 0 0])), 0.5) 370s ***** assert (mean2 (ones (3, 3, 3)), 1) 370s ***** assert (mean2 (i), i) 370s ***** assert (mean2 ([1 i]), [0.5+0.5i]) 370s ***** assert (mean2 (speye (3)), sparse (1/3)) 370s 6 tests, 6 passed, 0 known failure, 0 skipped 370s [inst/imhmax.m] 370s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imhmax.m 370s ***** shared im0, im0_h2_out 370s im0 = uint8 ([0 0 0 0 0; 370s 0 1 2 1 0; 370s 0 2 5 2 0; 370s 0 1 2 1 0; 370s 0 0 0 0 0]); 370s im0_h2_out = uint8 ([0 0 0 0 0; 370s 0 1 2 1 0; 370s 0 2 3 2 0; 370s 0 1 2 1 0; 370s 0 0 0 0 0]); 370s ***** error imhmax () 370s ***** error imhmax (im0) 370s ***** error imhmax ("hello", 2) 370s ***** error imhmax (i.*im0, 2) 370s ***** error imhmax (sparse (im0), 2) 370s ***** error imhmax (im0, -2) 370s ***** error imhmax (im0, 'a') 370s ***** error imhmax (im0, ones (2)) 370s ***** error imhmax (im0, 2*i) 370s ***** assert (imhmax (im0, 2), im0_h2_out) 370s ***** assert (imhmax (double (im0), 2), double (im0_h2_out)) 370s ***** assert (imhmax (im0, 2, 8), im0_h2_out) 370s ***** assert (imhmax (im0, 2, 4), im0_h2_out) 370s ***** assert (imhmax (im0, 2, true (3)), im0_h2_out) 370s ***** test 370s out = imhmax (double (im0), 2); 370s assert (size (out), size (im0)) 370s assert (class (out), "double") 370s ***** test 370s out = imhmax (single (im0), 2); 370s assert (size (out), size (im0)) 370s assert (class (out), "single") 370s ***** test 370s out = imhmax (uint8 (im0), 2); 370s assert (size (out), size (im0)) 370s assert (class (out), "uint8") 370s ***** test 370s out = imhmax (uint16 (im0), 2); 370s assert (size (out), size (im0)) 370s assert (class (out), "uint16") 370s ***** test 370s im = cat (3, im0, im0, im0, im0); 370s out = imhmax (im, 2); 370s assert (size (out), size (im)) 370s ***** test 370s im = zeros (10); 370s im(2:4, 2:4) = 3; 370s im(6:8, 6:8) = 8; 370s expected_4 = zeros (10); 370s expected_4(6:8, 6:8) = 4; 370s expected_2 = zeros (10); 370s expected_2(2:4, 2:4) = 1; 370s expected_2(6:8, 6:8) = 6; 370s out = imhmax (im, 4); 370s assert (out, expected_4, eps) 370s out = imhmax (im, 2); 370s assert (out, expected_2, eps) 370s out = imhmax (0.1 .* im, 0.4); 370s assert (out, 0.1 .* expected_4, eps) 370s ***** test 370s im2 = zeros (10); 370s im2(2:4, 2:4) = 3; 370s im2(6:9, 6:9)=8; 370s im2(5, 5)=8; 370s im2(6, 7)=0; 370s im2(7, 8)=0; 370s expected_4 = zeros (10); 370s expected_4(6:9, 6:9) = 4; 370s expected_4(5, 5) = 4; 370s expected_4(6, 7) = 0; 370s expected_4(7, 8) = 0; 370s expected_8 = expected_4; 370s expected_8(2:4, 2:4) = 3; 370s out2 = imhmax (im2, 4); 370s assert (out2, expected_8, eps) 370s out2 = imhmax (im2, 4, 4); 370s assert (out2, expected_4, eps) 370s out2 = imhmax (im2, 4, 8); 370s assert (out2, expected_8, eps) 370s 21 tests, 21 passed, 0 known failure, 0 skipped 370s [inst/regionprops.m] 370s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/regionprops.m 370s ***** shared bw2d, gray2d, bw2d_over_bb, bw2d_insides 370s bw2d = logical ([ 370s 0 1 0 1 1 0 370s 0 1 1 0 1 1 370s 0 1 0 0 0 0 370s 0 0 0 1 1 1 370s 0 0 1 1 0 1]); 370s 370s gray2d = [ 370s 2 4 0 7 5 2 370s 3 0 4 9 3 7 370s 0 5 3 4 8 1 370s 9 2 0 5 8 6 370s 8 9 7 2 2 5]; 370s 370s ## For testing overlapping bounding boxes 370s bw2d_over_bb = logical ([ 370s 0 1 1 1 0 1 1 370s 1 1 0 0 0 0 1 370s 1 0 0 1 1 0 1 370s 1 0 0 1 1 0 0 370s 0 0 0 1 1 1 1]); 370s 370s ## For testing when there's regions inside regions 370s bw2d_insides = logical ([ 370s 0 0 0 0 0 0 0 0 370s 0 1 1 1 1 1 1 0 370s 0 1 0 0 0 0 1 0 370s 0 1 0 1 1 0 1 0 370s 0 1 0 1 1 0 1 0 370s 0 1 0 0 0 0 1 0 370s 0 1 1 1 1 1 1 0 370s 0 0 0 0 0 0 0 0]); 370s ***** function c = get_2d_centroid_for (idx) 370s subs = ind2sub ([5 6], idx); 370s m = false ([5 6]); 370s m(idx) = true; 370s y = sum ((1:5)' .* sum (m, 2) /sum (m(:))); 370s x = sum ((1:6) .* sum (m, 1) /sum (m(:))); 370s c = [x y]; 370s ***** endfunction 370s ***** assert (regionprops (bw2d, "Area"), struct ("Area", {8; 6})) 370s ***** assert (regionprops (double (bw2d), "Area"), struct ("Area", {14})) 370s ***** assert (regionprops (bwlabel (bw2d, 4), "Area"), struct ("Area", {4; 6; 4})) 371s ***** assert (regionprops (bw2d, "PixelIdxList"), 371s struct ("PixelIdxList", {[6; 7; 12; 8; 16; 21; 22; 27] 371s [15; 19; 20; 24; 29; 30]})) 371s ***** assert (regionprops (bwlabel (bw2d, 4), "PixelIdxList"), 371s struct ("PixelIdxList", {[6; 7; 8; 12] 371s [15; 19; 20; 24; 29; 30] 371s [16; 21; 22; 27]})) 371s ***** assert (regionprops (bw2d, "PixelList"), 371s struct ("PixelList", {[2 1; 2 2; 3 2; 2 3; 4 1; 5 1; 5 2; 6 2] 371s [3 5; 4 4; 4 5; 5 4; 6 4; 6 5]})) 371s ***** assert (regionprops (bwlabel (bw2d, 4), "PixelList"), 371s struct ("PixelList", {[2 1; 2 2; 2 3; 3 2] 371s [3 5; 4 4; 4 5; 5 4; 6 4; 6 5] 371s [4 1; 5 1; 5 2; 6 2]})) 371s ***** assert (regionprops (bw2d, gray2d, "PixelValues"), 371s struct ("PixelValues", {[4; 0; 4; 5; 7; 5; 3; 7] 371s [7; 5; 2; 8; 6; 5]})) 371s ***** assert (regionprops (bw2d, gray2d, "MaxIntensity"), 371s struct ("MaxIntensity", {7; 8})) 371s ***** assert (regionprops (bw2d, gray2d, "MinIntensity"), 371s struct ("MinIntensity", {0; 2})) 371s ***** assert (regionprops (bw2d, "BoundingBox"), 371s struct ("BoundingBox", {[1.5 0.5 5 3]; [2.5 3.5 4 2]})) 371s ***** assert (regionprops (bw2d, "Centroid"), 371s struct ("Centroid", {get_2d_centroid_for([6 7 8 12 16 21 22 27]) 371s get_2d_centroid_for([15 19 20 24 29 30])}), 371s 5 * eps) 371s ***** test 371s props = struct ("Area", {8; 6}, 371s "Centroid", {get_2d_centroid_for([6 7 8 12 16 21 22 27]) 371s get_2d_centroid_for([15 19 20 24 29 30])}, 371s "BoundingBox", {[1.5 0.5 5 3]; [2.5 3.5 4 2]}); 371s assert (regionprops (bw2d, "basic"), props, 5 * eps) 371s assert (regionprops (bwconncomp (bw2d, 8), "basic"), props, 5 * eps) 371s assert (regionprops (bwlabeln (bw2d, 8), "basic"), props, 5 * eps) 371s ***** test 371s props = struct ("Area", {4; 6; 4}, 371s "Centroid", {get_2d_centroid_for([6 7 8 12]) 371s get_2d_centroid_for([15 19 20 24 29 30]) 371s get_2d_centroid_for([16 21 22 27])}, 371s "BoundingBox", {[1.5 0.5 2 3]; [2.5 3.5 4 2]; [3.5 0.5 3 2]}); 371s assert (regionprops (bwconncomp (bw2d, 4), "basic"), props, 5 * eps) 371s assert (regionprops (bwlabeln (bw2d, 4), "basic"), props, 5 * eps) 371s ***** assert (regionprops (double (bw2d), "basic"), 371s struct ("Area", 14, 371s "Centroid", get_2d_centroid_for (find (bw2d)), 371s "BoundingBox", [1.5 0.5 5 5]), eps*1000) 371s ***** assert (regionprops ([0 0 1], "Centroid").Centroid, [3 1]) 371s ***** assert (regionprops ([0 0 1; 0 0 0], "Centroid").Centroid, [3 1]) 371s ***** assert (regionprops ([0 1 1], "Centroid").Centroid, [2.5 1]) 371s ***** assert (regionprops ([0 1 1; 0 0 0], "Centroid").Centroid, [2.5 1]) 371s ***** test 371s a = zeros (2, 3, 3); 371s a(:, :, 1) = [0 1 0; 0 0 0]; 371s a(:, :, 3) = a(:, :, 1); 371s c = regionprops (a, "centroid"); 371s assert (c.Centroid, [2 1 2]) 371s ***** test 371s d1=2; d2=4; d3=6; 371s a = ones (d1, d2, d3); 371s c = regionprops (a, "centroid"); 371s assert (c.Centroid, [mean(1:d2), mean(1:d1), mean(1:d3)], eps*1000) 371s ***** test 371s a = [0 0 2 2; 3 3 0 0; 0 1 0 1]; 371s c = regionprops (a, "centroid"); 371s assert (c(1).Centroid, [3 3]) 371s assert (c(2).Centroid, [3.5 1]) 371s assert (c(3).Centroid, [1.5 2]) 371s ***** test 371s ***** assert (regionprops (bw2d, gray2d, "WeightedCentroid"), 371s struct ("WeightedCentroid", 371s {sum([2 1; 2 2; 3 2; 2 3; 4 1; 5 1; 5 2; 6 2] 371s .* ([4; 0; 4; 5; 7; 5; 3; 7] / 35)) 371s sum([3 5; 4 4; 4 5; 5 4; 6 4; 6 5] 371s .* ([7; 5; 2; 8; 6; 5] / 33))}), 5 * eps) 371s ***** test 371s img = zeros (3, 9); 371s img(2, 1:9) = 0:0.1:0.8; 371s bw = im2bw (img, 0.5); 371s props = regionprops (bw, img, "WeightedCentroid"); 371s ix = 7:9; 371s x = sum (img(2,ix) .* (ix)) / sum (img(2,ix)); 371s assert (props(1).WeightedCentroid(1), x, 10*eps) 371s assert (props(1).WeightedCentroid(2), 2, 10*eps) 371s ***** assert (regionprops (bw2d, gray2d, "MeanIntensity"), 371s struct ("MeanIntensity", {mean([4 0 5 4 7 5 3 7]) 371s mean([7 5 2 8 6 5])})) 371s ***** assert (regionprops (bwlabel (bw2d, 4), gray2d, "MeanIntensity"), 371s struct ("MeanIntensity", {mean([4 0 5 4]) 371s mean([7 5 2 8 6 5]) 371s mean([7 5 3 7])})) 371s ***** assert (regionprops (bw2d, "SubarrayIdx"), 371s struct ("SubarrayIdx", {{[1 2 3], [2 3 4 5 6]} 371s {[4 5], [3 4 5 6]}})) 371s ***** assert (regionprops (bwlabel (bw2d, 4), "SubarrayIdx"), 371s struct ("SubarrayIdx", {{[1 2 3], [2 3]} 371s {[4 5], [3 4 5 6]} 371s {[1 2], [4 5 6]}})) 371s ***** test 371s out = struct ("Image", {logical([1 0 1 1 0; 1 1 0 1 1; 1 0 0 0 0]) 371s logical([0 1 1 1; 1 1 0 1])}); 371s assert (regionprops (bw2d, "Image"), out) 371s assert (regionprops (bw2d, gray2d, "Image"), out) 371s assert (regionprops (bwlabel (bw2d), "Image"), out) 371s ***** assert (regionprops (bwlabel (bw2d, 4), "Image"), 371s struct ("Image", {logical([1 0; 1 1; 1 0]) 371s logical([0 1 1 1; 1 1 0 1]) 371s logical([1 1 0; 0 1 1])})) 371s ***** test 371s out = struct ("Image", {logical([0 1 1 1; 1 1 0 0; 1 0 0 0; 1 0 0 0]) 371s logical([1 1 0 0; 1 1 0 0; 1 1 1 1]) 371s logical([1 1; 0 1; 0 1])}); 371s assert (regionprops (bw2d_over_bb, "Image"), out) 371s assert (regionprops (bwlabel (bw2d_over_bb), "Image"), out) 371s ***** test 371s out = struct ("Image", {logical([1 1 1 1 1 1 371s 1 0 0 0 0 1 371s 1 0 0 0 0 1 371s 1 0 0 0 0 1 371s 1 0 0 0 0 1 371s 1 1 1 1 1 1]) 371s logical([1 1; 1 1])}); 371s assert (regionprops (bw2d_insides, "Image"), out) 371s assert (regionprops (bwlabel (bw2d_insides), "Image"), out) 371s ***** test 371s l = uint8 ([ 371s 0 0 0 0 0 0 371s 0 1 1 1 1 0 371s 0 1 2 2 1 0 371s 0 1 2 2 1 0 371s 0 1 1 1 1 0 371s 0 0 0 0 0 0 371s ]); 371s assert (regionprops (l, "EulerNumber"), 371s struct ("EulerNumber", {0; 1})) 371s 371s l = uint8 ([ 371s 0 0 0 0 0 0 0 371s 0 1 1 1 1 1 0 371s 0 1 2 2 2 1 0 371s 0 1 2 3 2 1 0 371s 0 1 2 2 2 1 0 371s 0 1 1 1 1 1 0 371s 0 0 0 0 0 0 0 371s ]); 371s assert (regionprops (l, "EulerNumber"), 371s struct ("EulerNumber", {0; 0; 1})) 371s ***** test 371s l = uint8 ([ 371s 0 0 0 0 0 0 0 371s 0 1 1 1 1 1 0 371s 0 1 0 0 0 1 0 371s 0 1 0 1 0 1 0 371s 0 1 0 0 0 1 0 371s 0 1 1 1 1 1 0 371s 0 0 0 0 0 0 0 371s ]); 371s assert (regionprops (l, "EulerNumber"), 371s struct ("EulerNumber", 1)) 371s ***** test 371s l = uint8 ([ 371s 1 1 1 1 1 1 1 371s 1 1 2 1 2 2 1 371s 1 2 1 2 1 2 1 371s 1 1 2 1 2 1 1 371s 1 2 1 2 1 2 1 371s 1 2 2 1 2 1 1 371s 1 1 1 1 1 1 1 371s ]); 371s assert (regionprops (l, "EulerNumber"), 371s struct ("EulerNumber", {-9; -4})) 371s ***** test 371s l = uint8 ([ 371s 1 1 1 1 1 1 1 371s 1 1 4 1 5 5 1 371s 1 3 1 4 1 5 1 371s 1 1 3 1 4 1 1 371s 1 2 1 3 1 4 1 371s 1 2 2 1 3 1 1 371s 1 1 1 1 1 1 1 371s ]); 371s assert (regionprops (l, "EulerNumber"), 371s struct ("EulerNumber", {-9; 1; 1; 1; 1})) 371s ***** test 371s l = uint8 ([ 371s 1 1 1 1 1 1 1 371s 0 1 2 1 2 2 1 371s 1 2 1 2 1 2 1 371s 1 1 2 1 2 1 1 371s 1 2 1 2 1 2 1 371s 1 2 2 1 2 1 1 371s 1 1 1 1 1 1 1 371s ]); 371s filled = { 371s logical([ 371s 1 1 1 1 1 1 1 371s 0 1 1 1 1 1 1 371s 1 1 1 1 1 1 1 371s 1 1 1 1 1 1 1 371s 1 1 1 1 1 1 1 371s 1 1 1 1 1 1 1 371s 1 1 1 1 1 1 1 371s ]); 371s logical([ 371s 0 1 0 1 1 371s 1 1 1 1 1 371s 0 1 1 1 0 371s 1 1 1 1 1 371s 1 1 0 1 0 371s ]); 371s }; 371s assert (regionprops (l, {"FilledImage", "FilledArea"}), 371s struct ("FilledImage", filled, "FilledArea", {48; 19})) 371s ***** test 371s l = uint8 ([ 371s 0 0 0 0 0 0 0 371s 0 1 0 1 0 1 0 371s 0 1 0 1 0 1 0 371s 0 0 0 0 0 0 0 371s ]); 371s filled = logical ([ 371s 1 0 1 0 1 371s 1 0 1 0 1 371s ]); 371s assert (regionprops (l, {"FilledImage", "FilledArea"}), 371s struct ("FilledImage", filled, "FilledArea", 6)) 371s 371s l = uint8 ([ 371s 2 2 2 2 2 2 2 371s 2 1 2 1 2 1 2 371s 2 1 2 1 2 1 2 371s 2 2 2 2 2 2 2 371s ]); 371s filled = { 371s logical([ 371s 1 0 1 0 1 371s 1 0 1 0 1 371s ]); 371s true(4, 7) 371s }; 371s assert (regionprops (l, {"FilledImage", "FilledArea"}), 371s struct ("FilledImage", filled, "FilledArea", {6; 28})) 371s ***** test 371s l = uint8 ([ 371s 0 0 0 0 0 0 0 371s 0 1 1 1 1 1 0 371s 0 1 2 2 2 1 0 371s 0 1 2 3 2 1 0 371s 0 1 2 2 2 1 0 371s 0 1 1 1 1 1 0 371s 0 0 0 0 0 0 0 371s ]); 371s filled = {true(5, 5); true(3, 3); true}; 371s assert (regionprops (l, {"FilledImage", "FilledArea"}), 371s struct ("FilledImage", filled, "FilledArea", {25; 9; 1})) 371s ***** test 371s l = uint8 ([ 371s 1 1 1 2 0 0 371s 1 0 2 1 2 0 371s 1 2 0 1 0 2 371s 1 2 1 1 0 2 371s 0 1 2 2 2 2 371s ]); 371s filled = { 371s logical([ 371s 1 1 1 0 371s 1 1 1 1 371s 1 1 1 1 371s 1 1 1 1 371s 0 1 0 0 371s ]); 371s logical([ 371s 0 0 1 0 0 371s 0 1 1 1 0 371s 1 1 1 1 1 371s 1 1 1 1 1 371s 0 1 1 1 1 371s ]) 371s }; 371s assert (regionprops (l, {"FilledImage", "FilledArea"}), 371s struct ("FilledImage", filled, "FilledArea", {16; 18})) 371s ***** test 371s bw = false (5, 5, 5); 371s bw(2:4, 2:4, [1 5]) = true; 371s bw(2:4, [1 5], 2:4) = true; 371s bw([1 5], 2:4, 2:4) = true; 371s filled = bw; 371s filled(2:4, 2:4, 2:4) = true; 371s assert (regionprops (bw, {"FilledImage", "FilledArea"}), 371s struct ("FilledImage", filled, "FilledArea", 81)) 371s ***** test 371s l = uint8 ([ 371s 1 1 1 2 0 0 371s 1 0 2 1 2 0 371s 1 2 0 1 0 2 371s 1 2 1 1 0 2 371s 0 1 2 2 2 2 371s ]); 371s assert (regionprops (l, {"Extent"}), struct ("Extent", {0.55; 0.44})) 371s ***** test 371s bw = logical ([0 0 0; 0 1 0; 0 0 0]); 371s assert (regionprops (bw, {"MinorAxisLength", "MajorAxisLength", ... 371s "Eccentricity", "Orientation"}), 371s struct ("MajorAxisLength", 4 .* sqrt (1/12), 371s "MinorAxisLength", 4 .* sqrt (1/12), 371s "Eccentricity", 0, 371s "Orientation", 0)) 371s ***** test 371s a = eye (4); 371s t = regionprops (a, "majoraxislength"); 371s assert (t.MajorAxisLength, 6.4291, 1e-3); 371s t = regionprops (a, "minoraxislength"); 371s assert(t.MinorAxisLength, 1.1547 , 1e-3); 371s t = regionprops (a, "eccentricity"); 371s assert (t.Eccentricity, 0.98374 , 1e-3); 371s t = regionprops (a, "orientation"); 371s assert (t.Orientation, -45); 371s t = regionprops (a, "equivdiameter"); 371s assert (t.EquivDiameter, 2.2568, 1e-3); 371s ***** test 371s b = ones (5); 371s t = regionprops (b, "majoraxislength"); 371s assert (t.MajorAxisLength, 5.7735 , 1e-3); 371s t = regionprops (b, "minoraxislength"); 371s assert (t.MinorAxisLength, 5.7735 , 1e-3); 371s t = regionprops (b, "eccentricity"); 371s assert (t.Eccentricity, 0); 371s t = regionprops (b, "orientation"); 371s assert (t.Orientation, 0); 371s t = regionprops (b, "equivdiameter"); 371s assert (t.EquivDiameter, 5.6419, 1e-3); 371s ***** test 371s c = [0 0 1; 0 1 1; 1 1 0]; 371s t = regionprops (c, "minoraxislength"); 371s assert (t.MinorAxisLength, 1.8037 , 1e-3); 371s t = regionprops (c, "majoraxislength"); 371s assert (t.MajorAxisLength, 4.1633 , 1e-3); 371s t = regionprops (c, "eccentricity"); 371s assert (t.Eccentricity, 0.90128 , 1e-3); 371s t = regionprops (c, "orientation"); 371s assert (t.Orientation, 45); 371s t = regionprops (c, "equivdiameter"); 371s assert (t.EquivDiameter, 2.5231, 1e-3); 371s ***** test 371s bw = logical ([0 0 0 0; 0 1 1 0; 0 0 0 0]); 371s props = regionprops (bw, "Orientation"); 371s assert ([props.Orientation], 0, 0) 371s 371s props = regionprops (bw', "Orientation"); 371s assert ([props.Orientation], 90, 0) 371s 371s bw = logical ([0 0 0 0; 0 1 1 0; 0 1 1 0; 0 0 0 0]); 371s props = regionprops (bw, "Orientation"); 371s assert ([props.Orientation], 0, 0) 371s 371s bw = logical ([1 1 0 0 0 ; 0 0 1 1 0 ; 0 0 0 0 0; 0 0 0 0 0]); 371s props = regionprops (bw, "Orientation"); 371s assert ([props.Orientation], -22.5, eps (22.5)) 371s 371s bw = logical ([ 371s 1 1 0 0 1 371s 0 0 0 0 1 371s 0 0 0 0 0 371s 0 0 1 1 0 371s 1 0 1 1 0 371s 1 0 0 0 0 371s 0 1 0 0 0 371s 0 1 0 0 0]); 371s props = regionprops (bw, "Orientation"); 371s assert ([props.Orientation], [0 -67.5 0 90]) 371s ***** test 371s f = [0 0 0 0; 1 1 1 1; 0 1 1 1; 0 0 0 0]; 371s t = regionprops (f, "Extrema"); 371s shouldbe = [0.5 1.5; 4.5 1.5; 4.5 1.5; 4.5 3.5; 4.5 3.5; 1.5 3.5; 0.5 2.5; 0.5 1.5]; 371s assert (t.Extrema, shouldbe, eps); 371s ***** test 371s bw = false (5); 371s bw([8 12 13 14 18]) = true; 371s extrema = [2 1; 3 1; 4 2; 4 3; 3 4; 2 4; 1 3; 1 2] + 0.5; 371s assert (regionprops (bw, "extrema"), struct ("Extrema", extrema)) 371s ***** test 371s ext1 = [1 0; 5 0; 6 1; 6 2; 2 3; 1 3; 1 3; 1 0] + 0.5; 371s ext2 = [3 3; 6 3; 6 3; 6 5; 6 5; 2 5; 2 5; 2 4] + 0.5; 371s assert (regionprops (bw2d, "extrema"), struct ("Extrema", {ext1; ext2})) 371s ***** assert (regionprops (bw2d, "equivDiameter"), 371s struct ("EquivDiameter", {sqrt(4*8/pi); sqrt(4*6/pi)})) 371s ***** assert (regionprops (bw2d_over_bb, "equivDiameter"), 371s struct ("EquivDiameter", {sqrt(4*7/pi); sqrt(4*8/pi); sqrt(4*4/pi)})) 371s ***** assert (regionprops (bw2d_insides, "equivDiameter"), 371s struct ("EquivDiameter", {sqrt(4*20/pi); sqrt(4*4/pi)})) 371s ***** test 371s I = zeros (40); 371s disk = fspecial ("disk",10); 371s disk = disk ./ max (disk(:)); 371s I(10:30, 10:30) = disk; 371s bw = im2bw (I, 0.5); 371s props = regionprops (bw, "PerimeterOld"); 371s assert (props.PerimeterOld, 10*4 + (sqrt (2) * 4)*4, eps*100) 371s props = regionprops (bw, "Perimeter"); 371s assert (props.Perimeter, 59.876) 371s 371s props = regionprops (bwconncomp (bw), "PerimeterOld"); 371s assert (props.PerimeterOld, 10*4 + (sqrt (2) * 4)*4, eps*100) 371s props = regionprops (bwconncomp (bw), "Perimeter"); 371s assert (props.Perimeter, 59.876) 371s ***** assert (regionprops (bw2d, "PerimeterOld"), 371s struct ("PerimeterOld", {(sqrt (2)*6 + 4); (sqrt (2)*3 + 4)}), eps*10) 371s ***** assert (regionprops (bw2d, "Perimeter"), 371s struct ("Perimeter", {11.81; 7.683})) 371s ***** assert (regionprops (bw2d_insides, "PerimeterOld"), 371s struct ("PerimeterOld", {20; 4})) 371s ***** assert (regionprops (bw2d_insides, "Perimeter"), 371s struct ("Perimeter", {19.236; 3.556})) 371s ***** assert (regionprops (bwconncomp (bw2d_insides), "PerimeterOld"), 371s struct ("PerimeterOld", {20; 4})) 371s ***** assert (regionprops (bwconncomp (bw2d_insides), "Perimeter"), 371s struct ("Perimeter", {19.236; 3.556})) 371s ***** test 371s BW = false (5); 371s BW(2:4, 2:4) = true; # region with simple shape 371s hull_test = [4.5 4; 4.5 2; 4 1.5; 2 1.5; 1.5 2; 1.5 4; 2 4.5; 4 4.5]; 371s cimage_test = true(3); 371s carea_test = 9; 371s csolid_test = 1; 371s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 371s hull = props.ConvexHull; 371s # test only for existence of the correct corner points 371s # because Matlab returns more points (than necessary) 371s # (The correct shape of the ConvexHull results will only 371s # be tested indirectly via the tests of ConvexArea.) 371s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 371s assert (all (hull(1,:) == hull(end,:))) 371s cimage = props.ConvexImage; 371s assert (cimage, cimage_test); 371s carea = props.ConvexArea; 371s assert (carea, carea_test); 371s csolid = props.Solidity; 371s assert (csolid, csolid_test); 371s ***** test 371s BW = logical ([... # region with non-trivial shape 371s 0 0 0 0 0 0 0 0 0 0 0 0 0 0 371s 0 0 0 1 1 1 1 0 0 0 0 0 0 0 371s 0 0 1 1 1 1 1 0 0 0 0 0 0 0 371s 0 1 1 1 1 1 1 0 0 0 0 0 0 0 371s 0 0 1 1 1 1 1 1 1 1 1 0 0 0 371s 0 0 0 1 1 1 1 1 1 1 1 1 0 0 371s 0 0 0 0 1 1 1 1 1 1 1 1 1 0 371s 0 0 0 0 0 1 1 1 0 1 1 1 1 0 371s 0 0 0 0 0 0 1 0 0 0 1 1 1 0 371s 0 0 0 0 0 0 0 0 0 0 0 0 0 0]); 371s hull_test = [4 1.5; 1.5 4; 7 9.5; 13 9.5; 13.5 9; 13.5 7; 11 4.5; 7 1.5]; 371s cimage_test = logical ([... 371s 0 0 1 1 1 1 0 0 0 0 0 0 371s 0 1 1 1 1 1 1 1 0 0 0 0 371s 1 1 1 1 1 1 1 1 1 0 0 0 371s 0 1 1 1 1 1 1 1 1 1 0 0 371s 0 0 1 1 1 1 1 1 1 1 1 0 371s 0 0 0 1 1 1 1 1 1 1 1 1 371s 0 0 0 0 1 1 1 1 1 1 1 1 371s 0 0 0 0 0 1 1 1 1 1 1 1]); 371s carea_test = 62; 371s csolid_test = 0.8548; 371s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 371s hull = props.ConvexHull; 371s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 371s assert (all (hull(1,:) == hull(end,:))) 371s cimage = props.ConvexImage; 371s assert (cimage, cimage_test); 371s carea = props.ConvexArea; 371s assert (carea, carea_test); 371s csolid = props.Solidity; 371s assert (csolid, csolid_test, 1e-4); 371s ***** test 371s BW = false (7); 371s BW(2:6, 2:6) = true; 371s BW(4,4) = false; # region with hole 371s hull_test = [6.5 6; 6.5 2; 6 1.5; 2 1.5; 1.5 2; 1.5 6; 2 6.5; 6 6.5]; 371s cimage_test = true(5); 371s carea_test = 25; 371s csolid_test = 0.96; 371s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 371s hull = props.ConvexHull; 371s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 371s assert (all (hull(1,:) == hull(end,:))) 371s cimage = props.ConvexImage; 371s assert (cimage, cimage_test); 371s carea = props.ConvexArea; 371s assert (carea, carea_test); 371s csolid = props.Solidity; 371s assert (csolid, csolid_test, 1e-4); 371s ***** test 371s BW = false (5); 371s BW(3, 3) = true; # region with single pixel 371s hull_test = [3.5 3; 3 2.5; 2.5 3]; 371s cimage_test = true; 371s carea_test = 1; 371s csolid_test = 1; 371s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 371s hull = props.ConvexHull; 371s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 371s assert (all (hull(1,:) == hull(end,:))) 371s cimage = props.ConvexImage; 371s assert (cimage, cimage_test); 371s carea = props.ConvexArea; 371s assert (carea, carea_test); 371s csolid = props.Solidity; 371s assert (csolid, csolid_test); 371s ***** test 371s BW = false (5); 371s BW(3, 2:4) = true; # regions with pixel line 371s BW2 = BW'; 371s hull_test = [2 2.5; 1.5 3; 2 3.5; 4 3.5; 4.5 3; 4 2.5]; 371s hull_test2 = fliplr (hull_test); 371s cimage_test = true(1,3); 371s cimage_test2 = cimage_test'; 371s carea_test = 3; 371s csolid_test = 1; 371s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 371s hull = props.ConvexHull; 371s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 371s assert (all (hull(1,:) == hull(end,:))) 371s cimage = props.ConvexImage; 371s assert (cimage, cimage_test); 371s carea = props.ConvexArea; 371s assert (carea, carea_test); 371s csolid = props.Solidity; 371s assert (csolid, csolid_test); 371s props2 = regionprops (BW2, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 371s hull2 = props2.ConvexHull; 371s assert (sum (ismember (hull_test2, hull2, "rows")), rows (hull_test2)) 371s assert (all (hull2(1,:) == hull2(end,:))) 371s cimage2 = props2.ConvexImage; 371s assert (cimage2, cimage_test2); 371s carea2 = props2.ConvexArea; 371s assert (carea2, carea_test); 371s csolid2 = props2.Solidity; 371s assert (csolid2, csolid_test); 371s ***** test 371s BW = logical ([ ... 371s 1 0 1 0 371s 1 0 1 0 371s 1 0 1 0 371s 1 0 1 0]); # two seperate regions 371s hull_test_1 = [1.5 1; 1 0.5; 0.5 1; 0.5 4; 1 4.5; 1.5 4]; 371s hull_test_2 = [3.5 1; 3 0.5; 2.5 1; 2.5 4; 3 4.5; 3.5 4]; 371s cimage_test_1 = true(4,1); 371s cimage_test_2 = true(4,1); 371s carea_test1 = 4; 371s carea_test2 = 4; 371s csolid_test1 = 1; 371s csolid_test2 = 1; 371s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 371s hull1 = {props.ConvexHull}{1}; 371s assert (sum (ismember (hull_test_1, hull1, "rows")), rows (hull_test_1)) 371s assert (all (hull1(1,:) == hull1(end,:))) 371s hull2 = {props.ConvexHull}{2}; 371s assert (sum (ismember (hull_test_2, hull2, "rows")), rows (hull_test_2)) 371s assert (all (hull2(1,:) == hull2(end,:))) 371s cimage1 = {props.ConvexImage}{1}; 371s assert (cimage1, cimage_test_1); 371s cimage2 = {props.ConvexImage}{2}; 371s assert (cimage2, cimage_test_2); 371s carea1 = {props.ConvexArea}{1}; 371s assert (carea1, carea_test1); 371s carea2 = {props.ConvexArea}{2}; 371s assert (carea2, carea_test2); 371s csolid1 = {props.Solidity}{1}; 371s assert (csolid1, csolid_test1); 371s csolid2 = {props.Solidity}{2}; 371s assert (csolid2, csolid_test2); 371s ***** test 371s L = zeros (5); 371s L(1:2:5, :) = 1; # labelled region with 3 disconnected parts 371s hull_test = [5.5 5; 5.5 1; 5 0.5; 1 0.5; 0.5 1; 0.5 5; 1 5.5; 5 5.5]; 371s cimage_test = true(5); 371s carea_test = 25; 371s csolid_test = 0.6; 371s props = regionprops (L, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 371s hull = props.ConvexHull; 371s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 371s assert (all (hull(1,:) == hull(end,:))) 371s cimage = props.ConvexImage; 371s assert (cimage, cimage_test); 371s carea = props.ConvexArea; 371s assert (carea, carea_test); 371s csolid = props.Solidity; 371s assert (csolid, csolid_test); 371s ***** xtest 371s ## Matlab compatible, currently fails because of bug #50188 371s BW = false(4,16); 371s BW(2,2) = true; 371s BW(3,2:end-1) = true; # L-shaped region (small angle) 371s hull_test = [2 1.5; 1.5 2; 1.5 3; 2 3.5; 15 3.5; 15.5 3; 15 2.5]; 371s cimage_test = true (2,14); 371s cimage_test(1, 8:end) = false; # this is the Matlab result 371s carea_test = 21; 371s csolid_test = 0.7143; 371s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 371s hull = props.ConvexHull; 371s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 371s assert (all (hull(1,:) == hull(end,:))) 371s cimage = props.ConvexImage; 371s assert (cimage, cimage_test); 371s carea = props.ConvexArea; 371s assert (carea, carea_test); 371s csolid = props.Solidity; 371s assert (csolid, csolid_test, 1e-4); 371s !!!!! known failure 371s ASSERT errors for: assert (cimage,cimage_test) 371s 371s Location | Observed | Expected | Reason 371s (1,8) 1 0 Abs err 1 exceeds tol 0 by 1 371s ***** assert (regionprops ([1 0 1; 1 0 1], "Area"), struct ("Area", 4)) 371s ***** assert (regionprops ([1 0 2; 1 1 2], "Area"), struct ("Area", {3; 2})) 371s ***** assert (regionprops ([1 0 3; 1 1 3], "Area"), struct ("Area", {3; 0; 2})) 371s ***** assert (size (regionprops ([1 0 0; 0 0 2], "Area")), [2, 1]) 371s ***** error regionprops ([1 -2 0 3]) 371s ***** error regionprops ([1 1.5 0 3]) 371s ***** test 371s im = rand (5); 371s 371s ## First do this so we get a list of all supported properties and don't 371s ## have to update the list each time. 371s bw = false (5); 371s bw(13) = true; 371s props = regionprops (bw, im, "all"); 371s all_props = fieldnames (props); 371s 371s bw = false (5); 371s props = regionprops (bw, im, "all"); 371s assert (size (props), [0 1]) 371s assert (sort (all_props), sort (fieldnames (props))) 372s ***** test 372s im = rand (5); 372s 372s ## First do this so we get a list of all supported properties and don't 372s ## have to update the list each time. 372s labeled = zeros (5); 372s labeled(13) = 1; 372s props = regionprops (labeled, im, "all"); 372s all_props = fieldnames (props); 372s 372s labeled = zeros (5); 372s props = regionprops (labeled, im, "all"); 372s assert (size (props), [0 1]) 372s assert (sort (all_props), sort (fieldnames (props))) 372s ***** test 372s im = rand (5); 372s 372s ## First do this so we get a list of all supported properties and don't 372s ## have to update the list each time. 372s bw = false (5); 372s bw(13) = true; 372s props = regionprops (bwconncomp (bw), im, "all"); 372s all_props = fieldnames (props); 372s 372s bw = false (5); 372s props = regionprops (bwconncomp (bw), im, "all"); 372s assert (size (props), [0 1]) 372s assert (sort (all_props), sort (fieldnames (props))) 372s ***** test 372s bw = logical ([ 372s 0 1 1 1 1 372s 0 1 1 0 0 372s 0 0 0 0 0 372s 0 0 0 1 0 372s 0 1 1 1 0]); 372s props = regionprops (bw, "MajorAxisLength", "MinorAxisLength", 372s "Orientation"); 372s assert ([props.MajorAxisLength] ,[4.51354115 3.65148372], 1.e-8) 372s assert ([props.MinorAxisLength], [2.01801654 1.82574186], 1.e-8) 372s assert ([props.Orientation], [12.93317840 18.43494882], 1.e-8) 372s ***** warning 372s regionprops (rand (5, 5, 5) > 0.5, {"perimeter", "extrema"}); 372s ***** warning 372s regionprops (rand (5, 5) > 0.5, {"minintensity", "weightedcentroid"}); 372s ***** error 372s regionprops ([0 -1 3 4; 0 -1 3 4]) 372s ***** error 372s regionprops ([0 1.5 3 4; 0 1.5 3 4]) 372s ***** error 372s regionprops (int8 ([0 -1 3 4; 0 -1 3 4])) 372s ***** test # bug #52926 372s ## Perimeter of objects that would be connected with connectivity 8 372s ## but have been labeled with connectivity 4. 372s BW = logical ([1 1 1 0 0 0 0 0 372s 1 1 1 0 1 1 0 0 372s 1 1 1 0 1 1 0 0 372s 1 1 1 0 0 0 1 0 372s 1 1 1 0 0 0 1 0 372s 1 1 1 0 0 0 1 0 372s 1 1 1 0 0 1 1 0 372s 1 1 1 0 0 0 0 0]); 372s 372s L = bwlabel (BW, 4); 372s props = regionprops(L, "PerimeterOld"); 372s assert ([props.PerimeterOld], [18 4 6+sqrt(2)]) 372s props = regionprops(L, "Perimeter"); 372s assert ([props.Perimeter], [17.276 3.556 7.013]) 372s L = bwlabel (BW, 8); 372s props = regionprops(L, "PerimeterOld"); 372s assert ([props.PerimeterOld], [18 10+3*sqrt(2)]) 372s props = regionprops(L, "Perimeter"); 372s assert ([props.Perimeter], [17.276 13.108]) 372s ***** test 372s I = zeros(5); 372s I(3,3) = 1; 372s props = regionprops(I, "Perimeter"); 372s assert ([props.Perimeter], [0]) 372s I = zeros(5); 372s I(3,3:4) = 1; 372s props = regionprops (I, "Perimeter"); 372s assert ([props.Perimeter], [1.96]) 372s I = zeros(5); 372s I(3:4,3) = 1; 372s props = regionprops (I, "Perimeter"); 372s assert ([props.Perimeter], [1.96]) 372s I = zeros(5); 372s I(3,3) = 1; 372s I(4,4) = 1; 372s props = regionprops (I, "Perimeter"); 372s assert ([props.Perimeter], [2.812]) 372s I = zeros(5); 372s I(3,4) = 1; 372s I(4,3) = 1; 372s props = regionprops (I, "Perimeter"); 372s assert ([props.Perimeter], [2.812]) 372s I = zeros(5); 372s I(3:4,3:4) = 1; 372s props = regionprops (I, "Perimeter"); 372s assert ([props.Perimeter], [3.556]) 372s I = zeros(5); 372s I(3:4,3:4) = 1; 372s I(4,5) = 1; 372s props=regionprops (I, "Perimeter"); 372s assert ([props.Perimeter], [4.962]) 372s I = zeros(5); 372s I(3:4,3:4) = 1; 372s I(5,5) = 1; 372s props = regionprops (I, "Perimeter"); 372s assert ([props.Perimeter], [6.277], 4*eps) 372s I = zeros(5); 372s I(2,3) = 1; 372s I(3,2:4) = 1; 372s I(4,3) = 1; 372s props = regionprops (I, "Perimeter"); 372s assert ([props.Perimeter], [5.624]) 372s I = zeros(5); 372s I(2,3) = 1; 372s I(3,2:4) = 1; 372s I(4,3) = 1; 372s I(5,3) = 1; 372s props = regionprops (I, "Perimeter"); 372s assert ([props.Perimeter], [7.402], 4*eps) 372s I = zeros(5); 372s I(2,3) = 1; 372s I(3,2:4) = 1; 372s I(4,3) = 1; 372s I(5,4) = 1; 372s props = regionprops (I, "Perimeter"); 372s assert ([props.Perimeter], [8.436]) 372s I = zeros(5); 372s I(2,1:4) = 1; 372s I(3,4) = 1; 372s props = regionprops (I, "Perimeter"); 372s assert ([props.Perimeter], [7.013]) 372s ***** test # bug #61827 372s L = uint8 (checkerboard); 372s props = regionprops (L, "Centroid"); 372s assert ([props.Centroid], [40.5, 40.5], 1e-10) 372s 87 tests, 86 passed, 1 known failure, 0 skipped 372s [inst/imtophat.m] 372s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imtophat.m 372s ***** assert (imtophat (ones (3), [1 1; 0 1]), zeros (3)); 372s ***** assert (imtophat (true (3), [1 1; 0 1]), false (3)); 372s ***** shared in, out, se 372s in = [ 0 0 0 1 1 1 0 0 1 1 372s 0 1 0 1 1 1 0 0 0 1 372s 1 1 1 1 1 0 0 0 0 0 372s 0 1 1 1 1 0 0 0 0 0 372s 0 0 0 1 0 0 0 0 1 0 372s 0 0 0 0 0 0 0 1 1 1 372s 0 0 0 0 1 0 1 0 1 0 372s 0 0 0 1 1 1 1 1 0 0 372s 0 0 0 0 1 1 1 0 0 0 372s 0 0 0 1 1 1 0 0 0 0]; 372s 372s out = [ 0 0 0 0 0 0 0 0 1 1 372s 0 1 0 0 0 0 0 0 0 1 372s 1 1 1 1 1 0 0 0 0 0 372s 0 1 1 1 1 0 0 0 0 0 372s 0 0 0 1 0 0 0 0 1 0 372s 0 0 0 0 0 0 0 1 1 1 372s 0 0 0 0 1 0 1 0 1 0 372s 0 0 0 1 1 1 1 1 0 0 372s 0 0 0 0 1 1 1 0 0 0 372s 0 0 0 1 1 1 0 0 0 0]; 372s ***** assert (imtophat (logical (in), ones (3)), logical (out)); 372s 372s out = [12 19 0 0 0 16 23 0 7 0 372s 18 0 0 6 1 19 0 2 9 1 372s 0 74 81 12 7 0 1 8 15 7 372s 68 70 2 14 0 6 7 14 16 0 372s 69 76 8 0 0 7 14 21 0 1 372s 0 7 59 54 61 13 20 0 0 32 372s 18 0 69 60 62 19 0 0 0 27 372s 73 0 0 66 68 0 1 6 6 33 372s 0 0 17 19 1 0 2 9 7 14 372s 1 6 23 0 7 1 8 15 0 32]; 372s ***** assert (imtophat (magic (10), ones (3)), out); 372s ***** assert (imtophat (uint8 (magic (10)), strel ("square", 3)), uint8 (out)); 372s 372s ## using a se that will be decomposed in 2 pieces 372s out =[91 98 0 0 0 27 34 11 18 0 372s 94 76 3 6 1 33 15 17 24 1 372s 0 77 84 12 7 14 16 23 30 7 372s 80 82 14 18 0 32 34 41 43 0 372s 81 88 20 0 0 33 40 47 24 6 372s 12 19 63 57 64 16 23 0 7 39 372s 18 0 69 60 62 19 1 3 12 39 372s 73 0 0 66 68 0 2 9 18 45 372s 4 6 81 67 49 6 8 15 19 26 372s 5 12 87 48 55 7 14 21 0 32]; 372s ***** assert (imtophat (magic (10), ones(5)), out); 372s 372s ## using a weird non-symmetric and even-size se 372s out =[85 92 0 0 0 12 23 0 17 0 372s 91 73 0 6 0 18 0 2 13 0 372s 0 72 81 13 6 0 1 9 15 0 372s 60 62 10 12 0 8 8 17 17 0 372s 61 69 0 0 0 28 16 41 0 0 372s 0 0 47 52 61 12 16 0 0 31 372s 6 0 53 58 60 17 0 0 0 33 372s 69 0 0 60 62 0 0 6 0 33 372s 0 0 17 60 42 0 2 13 1 8 372s 0 6 23 0 7 0 7 15 0 14]; 372s ***** assert (imtophat (magic (10), [1 0 0 0; 1 1 1 0; 0 1 0 1]), out); 372s 372s ## N dimensional and weird se 372s in = reshape (magic(16), [4 8 4 2]); 372s se = ones (3, 3, 3); 372s se(:,:,1) = [1 0 1; 0 1 1; 0 0 0]; 372s se(:,:,3) = [1 0 1; 0 1 1; 0 0 1]; 372s out = zeros (size (in)); 372s out(:,:,1,1) = [ 372s 239 146 82 18 0 19 83 133 372s 0 35 99 163 219 128 64 0 372s 0 46 128 195 187 123 59 0 372s 157 93 47 0 14 78 142 211]; 372s out(:,:,2,1) = [ 372s 0 21 85 149 233 146 64 0 372s 205 128 64 0 0 41 87 151 372s 171 107 57 0 0 64 121 185 372s 0 64 142 213 169 105 41 0]; 372s out(:,:,3,1) = [ 372s 231 146 78 14 0 27 77 137 372s 0 43 107 167 211 128 64 0 372s 0 46 128 199 179 119 51 0 372s 149 85 39 0 18 78 142 219]; 372s out(:,:,4,1) = [ 372s 0 29 93 157 225 128 64 0 372s 197 128 64 0 0 31 95 159 372s 163 99 53 0 0 61 125 189 372s 0 64 146 221 161 97 33 0]; 372s out(:,:,1,2) = [ 372s 223 146 82 18 0 35 99 149 372s 0 48 115 179 203 128 64 0 372s 0 46 128 211 171 107 43 0 372s 141 77 31 0 14 78 142 227]; 372s out(:,:,2,2) = [ 372s 0 37 101 165 217 146 64 0 372s 189 125 64 0 0 57 103 167 372s 155 91 41 0 0 64 128 201 372s 0 64 142 229 153 89 25 0]; 372s out(:,:,3,2) = [ 372s 215 146 78 14 0 43 93 153 372s 0 48 123 183 195 128 64 0 372s 0 46 128 215 163 103 35 0 372s 133 69 23 0 18 78 142 235]; 372s out(:,:,4,2) = [ 372s 0 45 109 173 209 128 64 0 372s 181 117 64 0 0 47 111 175 372s 147 83 37 0 0 64 128 205 372s 0 64 146 237 145 81 17 0]; 372s ***** assert (imtophat (in, se), out); 372s 8 tests, 8 passed, 0 known failure, 0 skipped 372s [inst/imdivide.m] 372s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imdivide.m 372s ***** assert (imdivide (uint8 ([23 250]), uint8 ([ 2 50])), uint8 ([ 12 5])); # default to first class 372s ***** assert (imdivide (uint8 ([56 255]), uint8 ([ 0 0])), uint8 ([255 255])); # dividing by zero works (tested in matlab) 372s ***** assert (imdivide (uint8 ([23 250]), 2), uint8 ([ 12 125])); # works subtracting a scalar 372s ***** assert (imdivide (uint8 ([23 250]), uint8 ([ 2 50]), "uint16"), uint16 ([ 12 5])); # defining output class works (not in matlab) 372s ***** assert (imdivide (logical ([1 1 0 0]), logical ([1 0 1 0])), double ([1 Inf 0 NaN])); # dividing logical matrix (tested in matlab) 372s ***** fail ("imdivide (uint8 ([23 250]), uint16 ([23 250]))"); # input needs to have same class 372s 6 tests, 6 passed, 0 known failure, 0 skipped 372s [inst/edgetaper.m] 372s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/edgetaper.m 372s ***** assert (class (edgetaper (rand (100), rand (16))), "double") 372s ***** assert (class (edgetaper (randi (255, 100, "uint8"), rand (16))), "uint8") 372s 2 tests, 2 passed, 0 known failure, 0 skipped 372s [inst/graythresh.m] 372s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/graythresh.m 372s ***** shared img, histo 372s ## this is the old default.img that came with GNU Octave. While the current 372s ## is very very similar, is off just enough for us to get precision errors 372s img = uint8 (reshape ([138 138 138 142 142 138 142 138 138 117 105 81 69 61 53 40 49 45 40 36 40 45 53 49 65 73 121 166 210 243 247 247 247 239 235 178 154 170 150 150 162 174 190 190 194 186 178 170 154 182 198 174 117 138 138 142 138 142 142 146 142 138 138 130 109 97 81 73 69 57 53 53 57 61 61 69 73 77 105 121 158 219 243 243 247 243 243 243 206 150 158 158 158 150 158 182 186 190 194 186 174 190 206 198 162 138 142 138 142 146 138 142 142 138 146 142 134 142 130 121 101 97 85 85 81 81 81 85 93 85 73 57 61 93 150 194 215 239 243 243 243 223 166 138 158 158 154 142 162 178 190 190 198 186 182 186 174 162 182 146 142 138 142 142 146 142 146 146 146 146 142 142 142 134 125 101 85 73 65 69 73 73 57 40 53 49 57 69 85 125 166 182 178 178 174 150 130 121 146 146 150 142 166 182 190 182 174 166 162 170 194 198 138 138 146 146 138 146 146 146 146 142 150 146 146 142 130 93 65 45 45 49 45 40 49 40 49 49 49 49 61 81 113 142 150 154 154 146 142 134 125 125 138 134 125 146 162 178 178 178 166 186 202 206 186 142 142 142 134 142 146 142 150 142 146 142 146 146 130 81 53 49 49 45 49 40 36 36 32 36 36 36 53 73 89 125 150 146 134 138 146 138 146 138 142 117 117 113 117 146 166 174 178 182 178 178 170 146 142 142 138 142 146 142 142 146 150 138 146 142 130 73 49 40 49 57 65 69 73 61 61 53 57 53 61 77 77 97 113 138 134 130 138 142 150 146 150 134 138 121 121 101 121 150 158 154 142 150 162 166 178 138 138 146 142 142 142 142 146 146 142 142 130 73 57 49 36 49 65 77 85 89 85 81 81 81 85 93 93 97 105 117 125 150 158 154 162 162 166 154 134 150 130 125 113 138 182 174 154 130 178 227 239 239 134 138 142 138 142 142 146 146 138 150 125 61 49 32 32 45 49 57 65 85 101 105 101 101 109 125 117 113 109 138 134 125 166 178 170 162 150 170 162 170 150 146 150 138 125 162 186 182 142 206 247 247 243 138 138 138 138 142 142 146 146 146 130 85 45 45 36 40 53 45 57 69 97 125 130 130 134 138 146 142 134 142 158 138 117 146 174 170 174 178 170 174 170 166 154 162 158 130 134 170 178 158 190 243 247 247 142 142 142 142 142 146 146 142 138 89 53 45 40 45 45 49 57 77 93 125 138 150 154 158 158 162 154 150 166 174 142 73 125 174 178 174 182 182 178 178 174 166 174 174 162 125 154 170 174 170 227 247 251 142 138 142 142 142 142 142 138 105 61 40 40 32 40 40 49 61 89 117 146 154 158 162 170 170 174 162 166 174 182 150 65 146 166 174 186 198 198 198 190 178 178 174 174 158 134 154 198 194 174 202 251 251 146 142 142 142 146 150 138 134 69 40 40 36 32 40 45 45 65 101 134 150 158 166 174 178 174 174 174 170 170 174 142 73 150 162 178 194 202 202 194 194 178 178 154 134 125 138 154 198 194 186 190 243 251 150 146 146 146 146 150 130 109 53 45 28 40 40 36 32 49 73 101 130 154 162 170 170 170 178 182 178 178 174 158 142 121 146 158 178 174 186 190 186 186 174 146 105 109 113 130 150 178 202 190 186 243 251 146 146 146 146 150 142 109 73 49 40 32 40 40 45 40 53 69 93 130 154 162 170 174 178 182 182 186 182 178 154 146 130 138 142 150 170 182 178 174 166 150 117 97 105 113 130 150 150 174 182 190 243 251 146 146 154 146 150 134 105 53 40 45 45 40 40 36 36 40 69 105 134 162 170 174 178 182 182 182 186 190 186 178 170 158 154 150 162 182 182 174 174 174 150 113 109 113 113 130 150 162 186 186 190 239 251 154 150 146 150 146 125 77 49 36 40 36 40 36 28 40 36 77 113 138 150 170 170 174 186 190 190 190 194 190 186 194 190 170 162 174 194 174 182 170 170 158 121 113 113 113 146 158 170 210 215 215 206 243 150 146 150 150 150 113 57 49 40 45 45 49 49 40 32 45 85 113 142 170 178 174 182 194 190 194 194 198 198 198 210 210 182 162 170 190 182 186 170 170 162 130 121 113 121 146 154 150 198 215 206 210 215 150 150 150 150 150 105 49 45 40 49 49 57 40 49 49 53 85 121 158 182 178 174 182 198 194 194 194 194 202 202 194 186 174 154 162 166 178 174 170 170 170 158 117 113 130 150 154 121 182 194 206 215 206 158 150 150 150 146 97 45 36 49 49 49 40 40 49 49 65 97 130 154 174 174 174 186 194 194 194 194 198 198 186 170 158 154 158 138 158 162 170 190 182 174 170 138 138 142 154 134 142 146 170 206 219 215 150 150 158 158 150 85 36 40 40 40 40 45 45 49 49 65 97 130 146 166 166 174 182 190 194 194 194 194 190 182 162 158 150 158 182 186 178 198 206 198 190 174 154 174 174 142 142 170 170 166 202 223 219 158 150 150 150 146 85 40 45 40 40 36 45 53 45 49 53 93 117 130 154 162 174 190 186 194 194 194 190 186 178 162 162 170 174 182 198 210 206 210 198 198 182 170 178 174 158 154 194 194 174 198 210 215 150 154 158 150 150 85 49 45 40 40 32 36 53 40 45 53 81 109 142 158 158 174 178 182 190 190 194 190 190 178 170 174 178 186 190 190 206 215 202 206 194 186 178 182 174 154 170 198 210 186 186 202 215 150 154 150 154 150 97 45 40 40 40 36 36 45 40 45 73 89 113 142 158 158 174 174 182 186 186 194 186 182 178 174 170 105 166 206 186 190 202 198 194 190 182 182 174 166 154 162 198 215 202 182 202 219 154 150 154 150 146 117 61 45 45 45 36 53 53 49 53 77 93 101 125 158 162 174 174 178 174 186 190 182 182 186 182 182 77 125 198 194 186 190 190 178 178 178 162 162 162 154 186 210 227 210 190 206 223 154 150 154 150 154 138 65 45 45 45 40 49 49 40 53 65 77 89 113 150 158 166 166 170 178 182 186 182 170 170 170 162 81 117 186 190 186 182 178 186 174 166 162 150 130 154 194 227 227 219 202 202 219 154 154 150 154 146 146 89 45 40 45 40 49 49 36 40 57 65 89 109 138 146 158 158 170 170 178 182 178 162 150 158 154 113 146 186 182 178 182 178 170 170 162 146 138 138 146 202 223 231 219 210 190 215 130 130 130 130 130 130 109 45 53 40 32 36 40 45 53 61 65 81 97 117 130 138 150 158 158 178 170 162 158 138 142 150 146 166 178 174 174 170 170 170 162 158 138 117 117 142 202 223 239 223 215 186 206 61 61 65 69 69 65 57 36 40 36 32 40 40 53 57 53 57 69 93 105 109 130 138 142 154 162 150 138 142 125 121 150 162 170 170 166 170 170 170 166 162 138 121 113 130 170 202 223 227 231 202 178 182 45 49 45 40 40 40 45 45 45 45 36 40 32 49 61 61 57 65 73 81 101 109 121 130 142 146 121 89 93 117 113 134 154 174 166 162 166 170 170 162 154 150 142 150 223 186 194 215 231 227 206 182 174 49 40 45 45 49 49 45 49 49 49 49 40 36 45 57 69 65 61 65 69 85 93 109 109 117 109 89 57 57 81 97 113 154 162 166 162 170 158 158 162 154 162 174 231 239 178 186 210 231 239 210 194 178 49 36 49 45 49 49 49 45 45 49 49 36 40 40 45 36 53 53 53 57 57 69 69 73 69 61 57 45 45 65 89 105 125 142 146 150 150 154 162 170 174 223 235 247 231 178 178 206 227 227 223 198 190 40 53 36 45 40 40 40 40 45 40 40 45 45 45 45 40 53 49 49 45 53 45 32 36 36 36 36 40 49 45 61 73 89 93 97 113 125 142 186 202 239 239 243 251 239 198 166 194 215 235 227 215 202 40 45 36 32 36 40 40 45 40 40 45 49 45 49 45 49 40 40 45 49 40 45 45 45 49 49 32 40 49 40 49 57 69 81 101 134 170 206 235 243 243 239 247 251 247 210 170 186 202 231 231 227 210 49 45 49 40 40 40 49 45 40 40 45 45 45 40 45 45 45 49 40 49 40 49 45 45 36 40 40 45 45 45 45 65 121 150 210 239 243 243 247 243 243 247 251 251 239 223 178 174 194 219 239 231 219 36 45 45 40 40 49 40 45 49 49 40 40 45 49 40 40 45 49 45 40 49 45 40 40 40 49 40 45 40 49 49 121 162 215 247 247 247 247 247 243 247 251 251 251 247 239 223 194 186 202 215 210 210 36 45 45 40 40 49 40 45 32 36 49 36 45 49 40 40 45 40 36 40 45 45 40 40 40 36 45 32 40 49 57 121 142 215 243 247 243 247 243 247 251 251 251 251 247 247 247 227 186 194 190 190 182 40 32 45 32 45 40 45 45 49 45 40 45 49 36 40 45 32 40 45 45 49 45 45 45 45 53 49 53 45 45 40 69 97 186 239 243 247 247 247 251 251 251 251 251 243 243 231 202 202 206 206 186 170 53 40 40 40 40 40 36 32 32 36 45 53 49 32 36 32 36 32 40 49 40 40 45 40 40 53 45 49 49 40 32 40 49 138 219 235 247 247 251 251 251 251 251 247 243 235 198 206 210 198 190 186 186 73 69 61 57 61 49 53 40 49 45 40 49 49 49 57 57 53 49 53 53 45 40 45 40 45 49 45 49 45 40 32 53 69 101 215 231 247 247 247 247 251 251 251 243 235 219 194 202 202 186 186 190 194], [53 40])); 372s ***** assert (graythresh (img, "percentile"), 142/255); 372s ***** assert (graythresh (img, "percentile", 0.5), 142/255); 372s ***** assert (graythresh (img, "moments"), 142/255); 372s ***** assert (graythresh (img, "minimum"), 93/255); 372s ***** assert (graythresh (img, "maxentropy"), 150/255); 372s ***** assert (graythresh (img, "intermodes"), 99/255); 372s ***** assert (graythresh (img, "otsu"), 114.5/255); 372s histo = hist (img(:), 0:255); 372s ***** assert (graythresh (histo, "otsu"), 114.5/255); 372s ***** assert (graythresh (img, "mean"), 0.51445615982, 0.000000001); # here our results differ from ImageJ 372s ***** test 372s im = repmat (0.5, 100, 100); 372s [t, g] = graythresh (im); 372s assert (t, 0) 372s assert (g, 0) 372s ***** test 372s im = [-2 1 0; 43 .5 .2]; 372s clip_im = [ 0 1 0; 1 .5 .2]; 372s t = graythresh (clip_im); 372s assert (graythresh (im), t) 372s assert (graythresh (single (im)), t) 372s ***** test 372s H(1) = 100; 372s assert (graythresh (H), 0) 372s 12 tests, 12 passed, 0 known failure, 0 skipped 372s [inst/affine2d.m] 372s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/affine2d.m 372s ***** test 372s theta = 10; 372s A = [cosd(theta) -sind(theta) 0 372s sind(theta) cosd(theta) 0 372s 0 0 1]; 372s tform = affine2d (A); 372s [X, Y] = transformPointsForward (tform, 5, 10); 372s assert (X, 6.6605, 1.e-4) 372s assert (Y, 8.9798, 1.e-4) 372s 372s [U, V] = transformPointsInverse (tform, X, Y); 372s assert (U, 5, 5*eps) 372s assert (V, 10, 9*eps) 372s assert (isRigid (tform)) 372s assert (! isTranslation (tform)) 372s assert (isSimilarity (tform)) 372s ***** test 372s theta = 30; 372s tform = affine2d([ cosd(theta) sind(theta) 0 372s -sind(theta) cosd(theta) 0 372s 0 0 1]); 372s assert (tform.T, [ 0.86603 0.5 0 372s -0.5 0.86603 0 372s 0 0 1], 1.e-5); 372s invtform = invert(tform); 372s assert (invtform.T, [ 0.86603 -0.5 0 372s 0.5 0.86603 0 372s 0 0 1], 1.e-5); 372s assert (isRigid (tform)) 372s assert (! isTranslation (tform)) 372s assert (isSimilarity (tform)) 372s ***** test 372s tform = affine2d ([1 0 0; 0 1 0; 5 10 1]); 372s [X, Y] = transformPointsForward (tform, [1 2; 3 4; 5 6; 7 8]); 372s assert (round (X), [6; 8; 10; 12]) 372s assert (round (Y), [12; 14; 16; 18]) 372s 372s [U, V] = transformPointsInverse (tform, X, Y); 372s assert (round (U), [1; 3; 5; 7]) 372s assert (round (V), [2; 4; 6; 8]) 372s assert (isRigid (tform)) 372s assert (isTranslation (tform)) 372s assert (isSimilarity (tform)) 372s ***** test 372s tform = affine2d ([1 1e-16 0; 1e-16 1 0; 5 10 1]); 372s assert (isRigid (tform)) 372s tform = affine2d ([2 1e-16 0; 1e-16 1 0; 5 10 1]); 372s assert (! isRigid (tform)) 372s ***** test 372s theta = 10; 372s A = [cosd(theta) -sind(theta) 0 372s sind(theta) cosd(theta) 0 372s 0 0 1]; 372s tform = affine2d (A); 372s [xlim, ylim] = outputLimits (tform, [1 240], [1 291]); 372s assert (xlim, [1.1585 286.8855], 1.e-4) 372s assert (ylim, [-40.6908 286.4054], 1.e-4) 372s ***** test 372s A = [1 0 0 372s 0 1 0 372s 40 40 1]; 372s tform = affine2d (A); 372s assert (isRigid (tform)); 372s assert (isSimilarity (tform)); 372s assert (isTranslation (tform)); 372s ***** test 372s a = invert (affine2d ([1 2 0; 3 4 0; 10 20 1])); 372s b = affine2d(a.T); 372s assert (b.T, [-2, 1, 0; 1.5, -0.5, 0; -10, 0, 1], 5*eps) 372s ***** assert (isTranslation (affine2d ([1, 0, 0; 0, 1, 0; 40, 40, 1]))) 372s ***** assert (! isTranslation (affine2d ([1 0 0; 0 -1 0; 0 0 1]))) 372s ***** assert (! isRigid (affine2d ([1 0 0; 0 -1 0; 0 0 1]))) 372s ***** error affine2d ([0 0 0; 0 0 0]) 372s ***** error affine2d ([0 0 0 0 0 0 0 0 1]) 372s ***** error affine2d ([0 0 0; 0 0 0; 0 0 0]) 372s ***** error affine2d ([1 0 0; 0 1 1; 0 0 1]) 372s ***** error affine2d ([0 0 0; 0 0 0; 0 0 1]) 372s ***** error affine2d (1, 2) 372s ***** error outputLimits (affine2d()) 372s ***** test 372s tform = affine2d; 372s assert (tform.T, eye (3)) 372s assert (tform.Dimensionality, 2) 372s 18 tests, 18 passed, 0 known failure, 0 skipped 372s [inst/rgb2ycbcr.m] 372s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/rgb2ycbcr.m 372s ***** test 372s in(:,:,1) = magic (5); 372s in(:,:,2) = magic (5); 372s in(:,:,3) = magic (5); 372s out(:,:,1) = [31 37 17 23 29 372s 36 20 22 28 30 372s 19 21 27 33 35 372s 25 26 32 34 19 372s 25 31 37 18 24]; 372s out(:,:,2) = 128; 372s out(:,:,3) = 128; 372s assert (rgb2ycbcr (uint8 (in)), uint8 (out)); 372s ***** shared cbcr 372s cbcr = 0.5019607843137255; 372s out(1:10, 1) = linspace (16/255, 235/255, 10); 372s out(:, [2 3]) = cbcr; 372s assert (rgb2ycbcr (gray (10)), out, 0.00001); 372s ***** assert (rgb2ycbcr ([1 1 1]), [0.92157 cbcr cbcr], 0.0001); 372s ***** assert (class (rgb2ycbcr (single (rand (5, 5, 3)))), "single") 372s 3 tests, 3 passed, 0 known failure, 0 skipped 372s [inst/otf2psf.m] 372s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/otf2psf.m 372s ***** function otf = rand_otf (varargin) 372s otf = complex (rand (varargin{:}), rand (varargin{:})); 372s ***** endfunction 372s ***** test 372s otf = rand_otf (6, 1); 372s assert (otf2psf (otf), circshift (ifft (otf), 3), eps); 372s ***** test 372s otf = rand_otf (6, 6); 372s assert (otf2psf (otf), circshift (ifft2 (otf), [3 3]), eps); 372s ***** test 372s otf = rand_otf (6, 6, 6); 372s assert (otf2psf (otf), circshift (ifftn (otf), [3 3 3]), eps); 372s ***** test 372s otf = rand_otf (7, 1); 372s assert (otf2psf (otf), circshift (ifft (otf), 3), eps); 372s ***** test 372s otf = rand_otf (7, 7); 372s assert (otf2psf (otf), circshift (ifft2 (otf), [3 3]), eps); 372s ***** test 372s otf = rand_otf (6, 7, 8); 372s assert (otf2psf (otf), circshift (ifftn (otf), [3 3 4]), eps); 372s ***** test 372s otf = rand_otf (7, 1); 372s ppsf = circshift (ifft (otf), 3); 372s assert (otf2psf (otf, 6), ppsf(1:6), eps); 372s assert (otf2psf (otf, [6 1]), ppsf(1:6), eps); 372s ***** test 372s otf = rand_otf (7, 7); 372s ppsf = circshift (ifft2 (otf), [3 3]); 372s assert (otf2psf (otf, [6 1]), ppsf(1:6,4), eps); 372s ***** test 372s otf = rand_otf (6, 7); 372s ppsf = circshift (ifft2 (otf), [3 3]); 372s assert (otf2psf (otf, [6 6]), ppsf(:,1:6), eps); 372s ***** error otf2psf ("not a otf") 372s ***** error otf2psf (rand_otf (16), 18) 372s ***** error otf2psf (rand_otf (16), [14 18]) 372s ***** error otf2psf (rand_otf (16), [18 18]) 372s ***** error otf2psf (rand_otf (16, 1), 18) 372s ***** test 372s psf = fspecial ("gaussian", 16); 372s otf = psf2otf (psf); 372s assert (otf2psf (otf), psf, eps); 372s ***** xtest 372s psf = rand (16); 372s otf = psf2otf (psf); 372s assert (otf2psf (otf), psf, 4*eps); 372s ***** test 372s psf = rand (8); 372s otf = psf2otf (psf, [16 16]); 372s assert (otf2psf (otf, [8 8]), psf, 2*eps); 372s 17 tests, 17 passed, 0 known failure, 0 skipped 372s [inst/rangefilt.m] 372s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/rangefilt.m 372s ***** test 372s im = rangefilt (ones (5)); 372s assert (im, zeros (5)); 372s ***** test 372s A = zeros (3,3); 372s B = ones (3,3); 372s C = [1 1 1; 2 2 2; 3 3 3]; 372s D = C'; 372s E = ones (3,3); 372s E(2,2) = 2; 372s F = 3 .* ones (3,3); 372s F(2,2) = 1; 372s G = [-1 2 7; -5 2 8; -7 pi 9]; 372s H = [5 2 8; 1 -3 1; 5 1 0]; 372s A_out = [0 0 0; 0 0 0; 0 0 0]; 372s B_out = [0 0 0; 0 0 0; 0 0 0]; 372s C_out = [1 1 1; 2 2 2; 1 1 1]; 372s D_out = [1 2 1; 1 2 1; 1 2 1]; 372s E_out = [1 1 1; 1 1 1; 1 1 1]; 372s F_out = [2 2 2; 2 2 2; 2 2 2]; 372s G_out = [7 13 6; 7+pi 16 7; 7+pi 16 7]; 372s H_out = [8 11 11; 8 11 11; 8 8 4]; 372s assert (rangefilt (A), A_out) 372s assert (rangefilt (B), B_out) 372s assert (rangefilt (C), C_out) 372s assert (rangefilt (D), D_out) 372s assert (rangefilt (E), E_out) 372s assert (rangefilt (F), F_out) 372s assert (rangefilt (G), G_out, eps) 372s assert (rangefilt (H), H_out) 373s 2 tests, 2 passed, 0 known failure, 0 skipped 373s [inst/iptnum2ordinal.m] 373s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/iptnum2ordinal.m 373s ***** assert (strcmp (iptnum2ordinal (1), 'first')); # simple works 373s ***** assert (strcmp (iptnum2ordinal (21), '21st')); # after 20, goes stupid 373s ***** assert (strcmp (iptnum2ordinal (100), '100th')); # use th correctly 373s ***** fail ("iptnum2ordinal (inf)"); # must be real 373s ***** fail ("iptnum2ordinal (0)"); # must be positive 373s ***** fail ("iptnum2ordinal (-1)"); # must be positive 373s ***** fail ("iptnum2ordinal (3.4)"); # must be integer 373s 7 tests, 7 passed, 0 known failure, 0 skipped 373s [inst/rgb2lab.m] 373s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/rgb2lab.m 373s ***** assert (rgb2lab ([0 0 0]), [0, 0, 0], 1e-2) 373s ***** assert (rgb2lab ([1 0 0]), [53.24, 80.09, 67.20], 1e-2) 373s ***** assert (rgb2lab ([1 1 0]), [97.14, -21.55, 94.48], 1e-2) 373s ***** assert (rgb2lab ([0 1 0]), [87.74, -86.18, 83.18], 1e-2) 373s ***** assert (rgb2lab ([0 1 1]), [91.11, -48.09, -14.13], 1e-2) 373s ***** assert (rgb2lab ([0 0 1]), [32.30, 79.19, -107.86], 1e-2) 373s ***** assert (rgb2lab ([1 0 1]), [60.32, 98.24, -60.83], 1e-2) 373s ***** assert (rgb2lab ([1 1 1]), [100, 0.00, 0.00], 1e-2) 373s ***** assert (rgb2lab ([0.5 0.5 0.5]), [53.39, 0.00, 0.00], 1e-2) 373s ***** assert (rgb2lab ([0.75 0 0]), [39.77, 64.51, 54.13], 1e-2) 373s ***** assert (rgb2lab ([0.5 0 0]), [25.42, 47.91, 37.91], 1e-2) 373s ***** assert (rgb2lab ([0.25 0 0]), [9.66, 29.68, 15.24], 1e-2) 373s ***** assert (rgb2lab ([1 0.5 0.5]), [68.11, 48.39, 22.83], 1e-2) 373s ***** assert (rgb2lab ([1.5 1 1]), [111.47, 43.42, 17.98], 1e-2) 373s ***** test 373s rgb_map = rand (64, 3); 373s assert (lab2rgb (rgb2lab (rgb_map)), rgb_map, 2e-5); 373s ***** test 373s rgb_img = rand (64, 64, 3); 373s assert (lab2rgb (rgb2lab (rgb_img)), rgb_img, 2e-5); 373s ***** assert (rgb2lab (sparse ([0 0 1])), sparse ([32.30, 79.19, -107.86]), 1e-2) 373s ***** assert (rgb2lab (sparse ([0 1 1])), sparse ([91.11, -48.09, -14.13]), 1e-2) 373s ***** assert (rgb2lab (sparse ([1 1 1])), sparse ([100, 0.00, 0.00]), 1e-2) 373s ***** assert (rgb2lab (uint8([255 255 255])), [100, 0.00, 0.00], 1e-2) 373s ***** assert (class (rgb2lab (single([1 1 1]))), 'single') 373s ***** error rgb2lab () 373s ***** error rgb2lab (1,2) 373s ***** error rgb2lab ({1}) 373s ***** error rgb2lab (ones (2,2)) 373s ***** test 373s rgb = rand (16, 16, 3, 5); 373s lab = zeros (size (rgb)); 373s for i = 1:5 373s lab(:,:,:,i) = rgb2lab (rgb(:,:,:,i)); 373s endfor 373s assert (rgb2lab (rgb), lab) 373s 26 tests, 26 passed, 0 known failure, 0 skipped 373s [inst/imcast.m] 373s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imcast.m 373s ***** test 373s im = randi ([0 255], 40, "uint8"); 373s assert (imcast (im, "uint8"), im2uint8 (im)) 373s assert (imcast (im, "uint16"), im2uint16 (im)) 373s assert (imcast (im, "single"), im2single (im)) 373s assert (imcast (im, "uint8", "indexed"), im2uint8 (im, "indexed")) 373s assert (imcast (im, "uint16", "indexed"), im2uint16 (im, "indexed")) 373s assert (imcast (im, "single", "indexed"), im2single (im, "indexed")) 373s ***** test 373s im = randi ([1 256], 40, "double"); 373s assert (imcast (im, "uint8"), im2uint8 (im)) 373s assert (imcast (im, "uint8", "indexed"), im2uint8 (im, "indexed")) 373s assert (imcast (im, "single", "indexed"), im2single (im, "indexed")) 373s ***** test 373s im = randi ([0 65535], 40, "uint16"); 373s assert (imcast (im, "uint8"), im2uint8 (im)) 373s assert (imcast (im, "single"), im2single (im)) 373s assert (imcast (im, "single", "indexed"), im2single (im, "indexed")) 373s ***** test 373s im = randi ([1 255], 40, "double"); 373s assert (imcast (im, "uint8", "indexed"), im2uint8 (im, "indexed")) 373s assert (imcast (im, "single", "indexed"), im2single (im, "indexed")) 373s ***** test 373s im = rand (40); 373s assert (imcast (im, "uint8"), im2uint8 (im)) 373s ***** error imcast (randi (127, 40, "int8"), "uint8") 373s ***** error imcast (randi (255, 40, "uint8"), "uint32") 373s ***** error imcast (randi (255, 40, "uint8"), "not a class") 373s ***** error imcast (randi ([0 65535], 40, "uint16"), "uint8", "indexed") 373s ***** assert (imcast ([0 1 .2; 2 -0 Inf], "logical"), logical ([0 1 1; 1 0 1])) 373s 10 tests, 10 passed, 0 known failure, 0 skipped 373s [inst/bwunpack.m] 373s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/bwunpack.m 373s ***** error id=Octave:invalid-fun-call bwunpack () 373s ***** error bwunpack (uint8 (1)) 373s ***** error bwunpack (uint32 (1), -1) 373s ***** error bwunpack (uint32 (1), 4.2) 373s ***** xtest 373s ## bug #55521 373s assert (bwunpack (uint32 (2.^[0:31])), logical (eye (32))) 373s ***** xtest 373s ## bug #55521 373s assert (bwunpack (uint32 (repmat (7, [1 3 3 3])), 3), true (3, 3, 3, 3)) 373s ***** assert (bwunpack (uint32 (zeros (0, 0))), false (0, 0)) 373s ***** assert (bwunpack (uint32 (zeros (0, 0)), 0), false (0, 0)) 373s ***** assert (bwunpack (uint32 (zeros (0, 5)), 0), false (0, 5)) 373s ***** assert (bwunpack (uint32 (zeros (0, 5, 7)), 0), false (0, 5, 7)) 373s ***** assert (bwunpack (uint32 (zeros (1, 0))), false (32, 0)) 373s ***** assert (bwunpack (uint32 (zeros (2, 0, 7))), false (64, 0, 7)) 373s ***** assert (bwunpack (uint32 (zeros (2, 0, 7))), false (64, 0, 7)) 373s ***** assert (bwunpack (uint32 (zeros (2, 0, 7)), 60), false (60, 0, 7)) 373s ***** error 373s bwunpack (uint32 (1), 1042) 373s 15 tests, 15 passed, 0 known failure, 0 skipped 373s [inst/lab2uint8.m] 373s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/lab2uint8.m 373s ***** test 373s cm_uint8 = uint8 ([0 1 2 3 4 127 128 200 254 255]); 373s cm_uint8 = repmat (cm_uint8(:), [1 3]); 373s im2d_uint8 = reshape (cm_uint8, [5 2 3]); 373s imnd_uint8 = permute (im2d_uint8, [1 4 3 2]); 373s 373s cm_uint16 = uint16 ([0 256 512 768 1024 32512 32768 51200 65024 65280]); 373s cm_uint16 = repmat (cm_uint16(:), [1 3]); 373s assert (lab2uint16 (cm_uint8), cm_uint16) 373s im2d_uint16 = reshape (cm_uint16, [5 2 3]); 373s assert (lab2uint16 (im2d_uint8), im2d_uint16) 373s assert (lab2uint16 (imnd_uint8), permute (im2d_uint16, [1 4 3 2])) 373s 373s l1 = 100/255; 373s cm = [ 373s 0 -128 -128 373s l1 -127 -127 373s 2*l1 -126 -126 373s 3*l1 -125 -125 373s 4*l1 -124 -124 373s 127*l1 -1 -1 373s 128*l1 0 0 373s 200*l1 72 72 373s 254*l1 126 126 373s 100 127 127]; 373s im2d = reshape (cm, [5 2 3]); 373s imnd = permute (im2d, [1 4 3 2]); 373s 373s assert (lab2double (cm_uint8), cm) 373s assert (lab2double (im2d_uint8), im2d) 373s assert (lab2double (imnd_uint8), imnd) 373s 373s assert (lab2single (cm_uint8), single (cm)) 373s assert (lab2single (im2d_uint8), single (im2d)) 373s assert (lab2single (imnd_uint8), single (imnd)) 373s 1 test, 1 passed, 0 known failure, 0 skipped 373s [inst/edge.m] 373s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/edge.m 373s ***** test 373s im = [ 373s 249 238 214 157 106 69 60 90 131 181 224 247 252 250 250 373s 250 242 221 165 112 73 62 91 133 183 225 248 252 250 251 373s 252 246 228 173 120 78 63 90 130 181 224 248 253 251 251 373s 253 248 232 185 132 87 62 80 116 170 217 244 253 251 252 373s 253 249 236 198 149 101 66 71 101 155 206 238 252 252 252 373s 254 250 240 210 164 115 73 69 92 143 196 232 252 253 252 373s 70 70 68 61 49 36 24 22 26 38 52 63 70 70 70 373s 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 373s 62 63 62 59 51 42 33 25 22 26 36 45 56 60 62 373s 252 253 252 246 221 190 157 114 90 90 118 157 203 235 248 373s 251 253 254 251 233 209 182 136 103 92 107 139 185 225 245 373s 251 253 254 253 243 227 206 163 128 108 110 133 175 217 242 373s 252 253 254 254 249 241 228 195 164 137 127 139 172 212 239 373s ] / 255; 373s 373s methods = {"kirsch", "prewitt", "sobel"}; 373s for m_i = 1:numel (methods) 373s method = methods{m_i}; 373s 373s bw = edge (im, method, 0.2, "both", "thinning"); 373s assert (edge (im, method, 0.2), bw) 373s 373s args = perms ({0.2, "both", "thinning"}); 373s for i = 1:rows (args) 373s assert (edge (im, method, args{i,:}), bw) 373s endfor 373s 373s bw = edge (im, method, 0.2, "vertical", "nothinning"); 373s args = perms ({0.2, "vertical", "nothinning"}); 373s for i = 1:rows (args) 373s assert (edge (im, method, args{i,:}), bw) 373s endfor 373s 373s bw = edge (im, method, 0.2, "vertical", "thinning"); 373s args = perms ({0.2, "vertical"}); 373s for i = 1:rows (args) 373s assert (edge (im, method, args{i,:}), bw) 373s endfor 373s 373s bw = edge (im, method, 0.2, "both", "nothinning"); 373s args = perms ({0.2, "nothinning"}); 373s for i = 1:rows (args) 373s assert (edge (im, method, args{i,:}), bw) 373s endfor 373s endfor 373s ***** error 373s bw = edge (rand (10), "sobel", 0.2, 0.4) 373s ***** error 373s bw = edge (rand (10), "sobel", "thinning", "nothinning") 373s ***** error 373s bw = edge (rand (10), "sobel", "both", "both") 373s ***** error 373s bw = edge (rand (10), "sobel", [0.2 0.7], "both", "thinning") 373s ***** error 373s bw = edge (rand (10), "kirsch", 0.2, 0.4) 373s ***** error 373s bw = edge (rand (10), "kirsch", "thinning", "nothinning") 373s ***** error 373s bw = edge (rand (10), "kirsch", "both", "both") 373s ***** error 373s bw = edge (rand (10), "kirsch", [0.2 0.7], "both", "thinning") 373s ***** error 373s bw = edge (rand (10), "prewitt", 0.2, 0.4) 373s ***** error 373s bw = edge (rand (10), "prewitt", "thinning", "nothinning") 373s ***** error 373s bw = edge (rand (10), "prewitt", "both", "both") 373s ***** error 373s bw = edge (rand (10), "prewitt", [0.2 0.7], "both", "thinning") 373s ***** test 373s im = [ 373s 249 238 214 157 106 69 60 90 131 181 224 247 252 250 250 373s 250 242 221 165 112 73 62 91 133 183 225 248 252 250 251 373s 252 246 228 173 120 78 63 90 130 181 224 248 253 251 251 373s 253 248 232 185 132 87 62 80 116 170 217 244 253 251 252 373s 253 249 236 198 149 101 66 71 101 155 206 238 252 252 252 373s 254 250 240 210 164 115 73 69 92 143 196 232 252 253 252 373s 70 70 68 61 49 36 24 22 26 38 52 63 70 70 70 373s 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 373s 62 63 62 59 51 42 33 25 22 26 36 45 56 60 62 373s 252 253 252 246 221 190 157 114 90 90 118 157 203 235 248 373s 251 253 254 251 233 209 182 136 103 92 107 139 185 225 245 373s 251 253 254 253 243 227 206 163 128 108 110 133 175 217 242 373s 252 253 254 254 249 241 228 195 164 137 127 139 172 212 239 373s ] / 255; 373s 373s bw = edge (im, "roberts", .2, "thinning"); 373s assert (edge (im, "roberts", 0.2), bw) 373s assert (edge (im, "roberts", "thinning", 0.2), bw) 373s 373s bw = edge (im, "roberts", .2, "nothinning"); 373s assert (edge (im, "roberts", "nothinning", 0.2), bw) 374s ***** error 374s bw = edge (rand (10), "roberts", 0.2, 0.4) 374s ***** error 374s bw = edge (rand (10), "roberts", "thinning", "nothinning") 374s ***** error 374s bw = edge (rand (10), "roberts", "both", "thinning") 374s ***** test 374s im = rand (10); 374s [~, thresh] = edge (im, "canny"); 374s assert (size (thresh), [1 2]) 374s [~, thresh] = edge (im, "canny", [.2 .6]); 374s assert (thresh, [.2 .6]) 374s [~, thresh] = edge (im, "canny", [.2; .6]); 374s assert (thresh, [.2 .6]) 374s ***** test 374s in = zeros (5); 374s in(3,3) = 1; 374s 374s E = logical ([ 374s 0 0 0 0 0 374s 0 0 1 0 0 374s 0 1 0 1 0 374s 0 0 1 0 0 374s 0 0 0 0 0]); 374s assert (edge (in), E) 374s assert (edge (uint8 (in.*100)), E) 374s assert (edge (in, "sobel"), E) 374s assert (edge (in, "sobel", 0), E) 374s assert (edge (in, "sobel", 1), false (5)) 374s 374s [E, auto_thresh] = edge (in); 374s assert (auto_thresh, 0.2449, 1e-4) 374s 374s V = logical([ 374s 0 0 0 0 0 374s 0 1 0 1 0 374s 0 1 0 1 0 374s 0 1 0 1 0 374s 0 0 0 0 0]); 374s assert (edge (in, "sobel", 0, "vertical"), V) 374s 374s H = logical ([ 374s 0 0 0 0 0 374s 0 1 1 1 0 374s 0 0 0 0 0 374s 0 1 1 1 0 374s 0 0 0 0 0]); 374s assert (edge (in, "sobel", 0, "horizontal"), H) 374s 374s V = false (5); 374s V(3,2) = true; 374s V(3,4) = true; 374s assert (edge (in, "sobel", [], "vertical"), V) 374s 374s H = false (5); 374s H(2,3) = true; 374s H(4,3) = true; 374s assert (edge (in, "sobel", [], "horizontal"), H) 374s ***** test 374s A = ones (5); 374s A(3, 3) = 0; 374s expected = logical ([ 374s 0 0 0 0 0 374s 0 0 1 0 0 374s 0 1 0 1 0 374s 0 0 1 0 0 374s 0 0 0 0 0]); 374s assert (edge (A), expected) 374s ***** test 374s in = zeros (5); 374s in(3, 3) = 1; 374s 374s E = logical ([ 374s 0 0 0 0 0 374s 0 1 0 1 0 374s 0 0 0 0 0 374s 0 1 0 1 0 374s 0 0 0 0 0]); 374s 374s assert (edge (in, "prewitt"), E) 374s 374s [~, auto_thresh] = edge (in, "prewitt"); 374s assert (auto_thresh, 0.2309, 1e-4) 374s 374s V = logical([ 374s 0 0 0 0 0 374s 0 1 0 1 0 374s 0 1 0 1 0 374s 0 1 0 1 0 374s 0 0 0 0 0]); 374s assert (edge (in, "prewitt", 0, "vertical"), V) 374s 374s H = logical ([ 374s 0 0 0 0 0 374s 0 1 1 1 0 374s 0 0 0 0 0 374s 0 1 1 1 0 374s 0 0 0 0 0]); 374s assert (edge (in, "prewitt", 0, "horizontal"), H) 374s ***** test 374s in = zeros (5); 374s in(3,3) = 1; 374s in(3,4) = 0.9; 374s 374s E = logical ([ 374s 0 0 0 0 0 374s 0 0 1 0 0 374s 0 0 1 0 0 374s 0 0 0 0 0 374s 0 0 0 0 0]); 374s 374s assert (edge (in, "roberts"), E) 374s 374s [~, auto_thresh] = edge (in, "roberts"); 374s assert (auto_thresh, 0.6591, 1e-4) 374s 374s E45 = [0 0 0 0 0 374s 0 -0.5 -0.45 0 0 374s 0 0 0.50 0.45 0 374s 0 0 0 0 0 374s 0 0 0 0 0]; 374s E135 = [0 0 0 0 0 374s 0 0 -0.50 -0.45 0 374s 0 0.5 0.45 0 0 374s 0 0 0 0 0 374s 0 0 0 0 0]; 374s 374s [~, ~, erg45, erg135] = edge (in, "roberts"); 374s assert (erg45, E45) 374s assert (erg135, E135) 374s ***** xtest 374s ## The edge image is correct and Matlab compatible so those should 374s ## pass. However, the threshold values used to generate the edge 374s ## image are not the same as Matlab. 374s 374s in_8 = fspecial ("gaussian", [8 8], 2); 374s in_8 /= in_8(4,4); 374s in_8_uint8 = im2uint8 (in_8); 374s 374s ## Matlab changed their implementation of the Canny method in 374s ## release 2011a. We are compatible with their new implementation 374s ## but for testing purposes, this is the expected result for the 374s ## old implementation. 374s out_8_old = logical ([ 374s 0 0 0 0 0 0 0 0 374s 0 0 0 1 1 0 0 0 374s 0 0 1 0 0 1 0 0 374s 0 1 0 0 0 0 1 0 374s 0 1 0 0 0 0 1 0 374s 0 0 1 0 0 1 0 0 374s 0 0 0 1 1 0 0 0 374s 0 0 0 0 0 0 0 0]); 374s 374s out_8 = logical ([ 374s 0 0 0 0 0 0 0 0 374s 0 1 1 1 1 1 0 0 374s 0 1 0 0 0 1 0 0 374s 0 1 0 0 0 1 0 0 374s 0 1 0 0 0 1 0 0 374s 0 1 1 1 1 1 0 0 374s 0 0 0 0 0 0 0 0 374s 0 0 0 0 0 0 0 0]); 374s out_thresh = [0.34375 0.859375]; 374s 374s [obs_edge, obs_thresh] = edge (in_8, "Canny"); 374s assert (obs_edge, out_8) 374s assert (obs_thresh, out_thresh) 374s 374s [obs_edge_givethresh, obs_thresh_givethresh] ... 374s = edge (in_8, "Canny", out_thresh); 374s assert (obs_edge_givethresh, out_8) 374s assert (obs_thresh_givethresh, out_thresh) 374s 374s [obs_edge_uint8, obs_thresh_uint8] = edge (in_8_uint8, "Canny"); 374s assert (obs_edge_uint8, out_8) 374s assert (obs_thresh_uint8, out_thresh) 374s !!!!! known failure 374s ASSERT errors for: assert (obs_thresh,out_thresh) 374s 374s Location | Observed | Expected | Reason 374s (1) 0.27112 0.34375 Abs err 0.072632 exceeds tol 0 by 0.07 374s (2) 0.67779 0.85938 Abs err 0.18158 exceeds tol 0 by 0.2 374s ***** xtest 374s ## The edge image is correct and Matlab compatible so those should 374s ## pass. However, the threshold values used to generate the edge 374s ## image are not the same as Matlab. 374s 374s in_9 = fspecial ("gaussian", [9 9], 2); 374s in_9 /= in_9(5,5); 374s 374s ## Matlab changed their implementation of the Canny method in 374s ## release 2011a. We are compatible with their new implementation 374s ## but for testing purposes, this is the expected result for the 374s ## old implementation. 374s out_9_old = logical ([ 374s 0 0 0 0 0 0 0 0 0 374s 0 0 0 0 0 0 0 0 0 374s 0 0 0 1 1 1 0 0 0 374s 0 0 1 0 0 0 1 0 0 374s 0 0 1 0 0 0 1 0 0 374s 0 0 1 0 0 0 1 0 0 374s 0 0 0 1 1 1 0 0 0 374s 0 0 0 0 0 0 0 0 0 374s 0 0 0 0 0 0 0 0 0]); 374s 374s out_9 = logical ([ 374s 0 0 0 0 0 0 0 0 0 374s 0 0 1 1 1 1 0 0 0 374s 0 1 1 0 0 1 1 0 0 374s 0 1 0 0 0 0 1 0 0 374s 0 1 0 0 0 0 1 0 0 374s 0 1 1 0 0 1 1 0 0 374s 0 0 1 1 1 1 0 0 0 374s 0 0 0 0 0 0 0 0 0 374s 0 0 0 0 0 0 0 0 0]); 374s out_thresh = [0.35 0.875]; 374s 374s [obs_edge, obs_thresh] = edge (in_9, "Canny"); 374s assert (obs_edge, out_9) 374s assert (obs_thresh, out_thresh) 374s 374s [obs_edge_givethresh, obs_thresh_givethresh] ... 374s = edge (in_9, "Canny", out_thresh); 374s assert (obs_edge_givethresh, out_9) 374s assert (obs_thresh_givethresh, out_thresh) 374s !!!!! known failure 374s ASSERT errors for: assert (obs_thresh,out_thresh) 374s 374s Location | Observed | Expected | Reason 374s (1) 0.261 0.35 Abs err 0.089001 exceeds tol 0 by 0.09 374s (2) 0.6525 0.875 Abs err 0.2225 exceeds tol 0 by 0.2 374s 24 tests, 22 passed, 2 known failures, 0 skipped 374s [inst/imtranslate.m] 374s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imtranslate.m 374s ***** test 374s obs = imtranslate (ones (5, 5), 2, 1, "crop"); 374s exp = zeros (5, 5); 374s exp(1:4, 3:5) = 1; 374s assert (obs, exp, eps * 10) 374s 374s obs = imtranslate (ones (5, 5), -2, -1, "crop"); 374s exp = zeros (5, 5); 374s exp(2:5, 1:3) = 1; 374s assert (obs, exp, eps * 10) 374s 1 test, 1 passed, 0 known failure, 0 skipped 374s [inst/im2uint8.m] 374s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/im2uint8.m 374s ***** assert (im2uint8 (uint8 ([1 2 3])), uint8 ([1 2 3])); 374s ***** assert (im2uint8 (uint16 ([0 65535])), uint8 ([0 255])); 374s ***** assert (im2uint8 ([0 0.5 1]), uint8 ([0 128 255])); 374s ***** assert (im2uint8 ([1 2]), uint8 ([255 255])); 374s ***** assert (im2uint8 ([-1 0 0.5 1 2]), uint8 ([0 0 128 255 255])); 374s ***** assert (im2uint8 (int16 ([-32768 0 32768])), uint8 ([0 128 255])); 374s ***** assert (im2uint8 ([false true]), uint8 ([0 255])); 374s ***** assert (im2uint8 ([true false]), uint8 ([255 0])); 374s ***** assert (im2uint8 ([1 256], "indexed"), uint8 ([0 255])); 374s ***** assert (im2uint8 ([3 25], "indexed"), uint8 ([2 24])); 374s ***** assert (im2uint8 (uint16 ([3 25]), "indexed"), uint8 ([3 25])); 374s ***** error im2uint8 ([0 1 2], "indexed"); 374s ***** error im2uint8 (int16 ([17 8]), "indexed"); 374s ***** error im2uint8 (int16 ([-7 8]), "indexed"); 374s ***** error im2uint8 ([false true], "indexed"); 374s ***** error im2uint8 (uint16 (256), "indexed"); 374s ***** error im2uint8 (257, "indexed"); 374s ***** assert (im2uint8 ((1:255) ./ 256), uint8 ([1:128 128:254])) 374s ***** assert (im2uint8 ((0:255) ./ 256), uint8 ([0:128 128:254])) 374s 19 tests, 19 passed, 0 known failure, 0 skipped 374s [inst/ycbcr2rgb.m] 374s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/ycbcr2rgb.m 374s ***** assert (ycbcr2rgb (rgb2ycbcr (jet (10))), jet (10), 0.00001); 374s ***** assert (class (ycbcr2rgb (single (rand (5, 5, 3)))), "single") 374s 2 tests, 2 passed, 0 known failure, 0 skipped 374s [inst/ordfiltn.m] 374s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/ordfiltn.m 374s ***** shared b, f, s 374s b = [ 0 1 2 3 374s 1 8 12 12 374s 4 20 24 21 374s 7 22 25 18]; 374s 374s f = [ 8 12 12 12 374s 20 24 24 24 374s 22 25 25 25 374s 22 25 25 25]; 374s ***** assert (ordfiltn (b, 9, true (3)), f); 374s 374s f = [ 1 8 12 12 374s 8 20 21 21 374s 20 24 24 24 374s 20 24 24 24]; 374s ***** assert (ordfiltn (b, 8, true (3)), f); 374s 374s f = [ 1 2 8 12 374s 4 12 20 21 374s 8 22 22 21 374s 20 24 24 24]; 374s ***** assert (ordfiltn (b, 7, true (3), "symmetric"), f); 374s 374s f = [ 1 8 12 12 374s 4 20 24 21 374s 7 22 25 21 374s 7 22 25 21]; 374s ***** assert (ordfiltn (b, 3, true (3, 1)), f); 374s 374s f = [ 1 8 12 12 374s 4 20 24 18 374s 4 20 24 18 374s 4 20 24 18]; 374s ***** assert (ordfiltn (b, 3, true (4, 1)), f); 374s 374s f = [ 4 20 24 21 374s 7 22 25 21 374s 7 22 25 21 374s 7 22 25 21]; 374s ***** assert (ordfiltn (b, 4, true (4, 1)), f); 374s 374s s = [0 0 1 374s 0 0 1 374s 0 0 1]; 374s f = [ 2 8 12 12 374s 9 20 22 21 374s 21 25 24 24 374s 21 25 24 24]; 374s ***** assert (ordfiltn (b, 8, true (3), s), f); 374s 374s b(:,:,2) = b(:,:,1) - 1; 374s b(:,:,3) = b(:,:,2) - 1; 374s f(:,:,1) = [ 1 8 11 11 374s 8 20 21 21 374s 20 24 24 24 374s 20 24 24 24]; 374s f(:,:,2) = [ 6 10 11 11 374s 18 22 22 22 374s 20 24 24 24 374s 20 24 24 24]; 374s f(:,:,3) = [ 0 7 10 10 374s 7 19 20 20 374s 19 23 23 23 374s 19 23 23 23]; 374s ***** assert (ordfiltn (b, 25, true (3, 3, 3)), f); 374s 8 tests, 8 passed, 0 known failure, 0 skipped 374s [inst/imlincomb.m] 374s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imlincomb.m 374s ***** assert (imlincomb (0.5, uint8 ([255 10]), 0.5, uint8 ([50 20])), 374s uint8 ([153 15])); # default to first class and truncate 374s ***** assert (imlincomb (0.5, uint8 ([255 10]), 0.5, uint8 ([50 20]), "uint16"), 374s uint16 ([153 15])); # defining output class works 374s ***** assert (imlincomb (0.5, uint8 ([255 10]), 0.5, uint8 ([50 20]), 10), 374s uint8 ([163 25])); # default to first class and truncate 374s ***** assert (imlincomb (0.5, uint8 ([255 10]), 0.5, uint8 ([50 20]), 1000, "uint16"), 374s uint16 ([1153 1015])); # defining output class works 374s ***** assert (imlincomb (0.5, uint8 ([255 10]), 0.5, uint8 ([50 20]), 1000), 374s uint8 ([255 255])); # defining output class works 374s 5 tests, 5 passed, 0 known failure, 0 skipped 374s [inst/colorangle.m] 374s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/colorangle.m 374s ***** error id=Octave:invalid-fun-call colorangle () 374s ***** error id=Octave:invalid-fun-call colorangle (1, 2, 3) 374s ***** error colorangle (2, 3) 374s ***** error colorangle ([1, 2], [3, 4]) 374s ***** error id=Octave:expected-real colorangle ([1, 2, 3j], [4, 5, 6]) 374s ***** error id=Octave:expected-real colorangle ([1, 2, 3], [4j, 5, 6]) 374s ***** error id=Octave:invalid-type colorangle ("abc", "def") 374s ***** test 374s assert (colorangle ([0 0 0], [0 1 0]), NaN) 374s assert (colorangle ([0 0 0], [0 1 1]), NaN) 374s assert (colorangle ([0 1 0], [0 0 0]), NaN) 374s assert (colorangle ([1 1 0], [0 0 0]), NaN) 374s assert (colorangle ([1 1 1], [1 1 1]), 0) 374s ***** assert (colorangle ([0 0 0], [0 0 0]), 0) 374s ***** assert (colorangle ([1 0 0], [-1 0 0]), 180) 374s ***** assert (colorangle ([0 0 1], [1 0 0]), 90) 374s ***** assert (colorangle ([0; 0; 1], [1 0 0]), 90) 374s ***** assert (colorangle ([0, 0, 1], [1; 0; 0]), 90) 374s ***** assert (colorangle ([0.5 0.61237 -0.61237], [0.86603 0.35355 -0.35355]), 30.000270917, 1e-4) 374s ***** assert (colorangle ([0.1582055390, 0.2722362096, 0.1620813305], [0.0717 0.1472 0.0975]), 5.09209927, 1e-6) 374s ***** assert (colorangle ([0.0659838500, 0.1261619536, 0.0690643667], [0.0717 0.1472 0.0975]), 5.10358588, 1e-6) 374s ***** assert (colorangle ([0.436871170, 0.7794672250, 0.4489702582], [0.0717 0.1472 0.0975]), 5.01339769, 1e-6) 374s ***** test 374s a = [1 0 0]; 374s b = [1 1 0]; 374s expected = colorangle (a, b); 374s assert (colorangle (a.', b.'), expected) 374s assert (colorangle (a, b.'), expected) 374s assert (colorangle (a.', b), expected) 374s assert (colorangle (vec (a, 3), b.'), expected) 374s ***** assert (colorangle ([1 0 0; 0 1 1], [1 1 1; 2 3 4]), 374s [colorangle([1 0 0], [1 1 1]); colorangle([0 1 1], [2 3 4])]) 374s ***** test 374s a = [1 0 0; 0.5 1 0; 0 1 1; 1 1 1]; 374s b = [0 1 0]; 374s expected = zeros (4, 1); 374s for i = 1:4 374s expected(i) = colorangle (a(i,:), b); 374s endfor 374s assert (colorangle (a, b), expected) 374s assert (colorangle (b, a), expected) 374s ***** xtest 374s a = [1 2 3]; 374s b = [2 3 4]; 374s c = [5 6 7]; 374s d = [3 1 1]; 374s 374s ac = colorangle (c, a); 374s bc = colorangle (b, c); 374s ad = colorangle (a, d); 374s bd = colorangle (b, d); 374s 374s assert (colorangle (a, cat (3, c, d)), 374s cat (3, [ac ad])) 374s 374s assert (colorangle (cat (3, a, b), cat (3, c, d)), 374s cat (3, [ac cd])) 374s 374s assert (colorangle (cat (1, a, b), cat (3, c, d)), 374s reshape ([ac bc ad bd], [2 2])) 374s !!!!! known failure 374s dot: sizes of X and Y must match 374s 21 tests, 20 passed, 1 known failure, 0 skipped 374s [inst/isind.m] 374s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/isind.m 374s ***** assert (isind ([]), false); 374s ***** assert (isind (1:10), true); 374s ***** assert (isind (0:10), false); 374s ***** assert (isind (1), true); 374s ***** assert (isind (0), false); 374s ***** assert (isind ([1.3 2.4]), false); 374s ***** assert (isind ([1 2; 3 4]), true); 374s ***** assert (isind (randi (100, 10, 10, 1, 4)), true); 374s ***** assert (isind (randi (100, 10, 10, 3, 4)), false); 374s ***** assert (isind (randi (100, 10, 10, 1, 4, 2)), false); 374s 10 tests, 10 passed, 0 known failure, 0 skipped 374s [inst/imbothat.m] 374s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imbothat.m 374s ***** assert (imbothat (ones (3), [1 1; 0 1]), zeros (3)); 374s ***** assert (imbothat (true (3), [1 1; 0 1]), false (3)); 374s ***** shared in, out, se 374s in = [ 0 0 0 1 1 1 0 0 1 1 374s 0 1 0 1 1 1 0 0 0 1 374s 1 1 1 1 1 0 0 0 0 0 374s 0 1 1 1 1 0 0 0 0 0 374s 0 0 0 1 0 0 0 0 1 0 374s 0 0 0 0 0 0 0 1 1 1 374s 0 0 0 0 1 0 1 0 1 0 374s 0 0 0 1 1 1 1 1 0 0 374s 0 0 0 0 1 1 1 0 0 0 374s 0 0 0 1 1 1 0 0 0 0]; 374s 374s out = [ 1 1 1 0 0 0 1 1 0 0 374s 1 0 1 0 0 0 0 0 0 0 374s 0 0 0 0 0 0 0 0 0 1 374s 1 0 0 0 0 0 0 0 0 1 374s 0 0 0 0 1 0 0 0 0 1 374s 0 0 0 1 1 1 1 0 0 0 374s 0 0 0 1 0 1 0 1 0 1 374s 0 0 0 0 0 0 0 0 0 0 374s 0 0 0 1 0 0 0 0 0 0 374s 0 0 0 0 0 0 1 0 0 0]; 374s ***** assert (imbothat (logical (in), ones (3)), logical (out)); 374s 374s out = [ 7 0 15 8 1 6 0 13 6 24 374s 0 8 9 2 0 0 16 7 0 23 374s 89 7 0 41 39 7 12 7 0 23 374s 8 1 69 40 58 1 6 2 0 43 374s 7 0 63 59 52 0 0 0 14 32 374s 62 55 6 7 0 7 0 23 16 1 374s 56 74 0 2 0 0 16 14 7 0 374s 0 73 69 0 0 19 15 8 1 0 374s 8 6 0 0 6 13 9 2 0 6 374s 7 0 0 19 0 14 7 0 23 0]; 374s ***** assert (imbothat (magic (10), ones (3)), out); 374s ***** assert (imbothat (uint8 (magic (10)), strel ("square", 3)), uint8 (out)); 374s 374s ## using a se that will be decomposed in 2 pieces 374s out =[ 7 0 87 66 59 7 0 19 12 30 374s 0 13 81 60 58 1 19 13 6 29 374s 89 12 0 54 52 20 18 7 0 23 374s 8 6 69 53 71 14 12 2 0 43 374s 7 0 63 73 66 14 7 0 23 41 374s 76 69 14 7 0 30 23 46 39 7 374s 70 88 9 2 0 24 42 40 33 6 374s 14 87 80 0 0 43 41 34 27 0 374s 84 82 0 0 19 37 35 28 26 19 374s 89 82 0 20 13 36 29 22 45 13]; 374s ***** assert (imbothat (magic (10), ones(5)), out); 374s 374s ## using a weird non-symmetric and even-size se 374s out =[ 0 0 15 8 1 3 0 7 0 18 374s 0 8 53 59 0 0 14 13 0 17 374s 84 0 0 40 38 6 13 6 0 23 374s 2 0 42 47 58 0 6 0 0 41 374s 0 0 62 59 52 0 0 0 16 35 374s 6 58 13 6 0 3 19 19 35 1 374s 0 18 0 0 0 0 15 13 6 0 374s 0 17 69 0 0 17 17 8 0 0 374s 8 67 0 0 0 15 9 2 0 6 374s 7 0 0 17 10 42 7 0 19 0]; 374s ***** assert (imbothat (magic (10), [1 0 0 0; 1 1 1 0; 0 1 0 1]), out); 374s 374s ## N dimensional and weird se 374s in = reshape (magic(16), [4 8 4 2]); 374s se = ones (3, 3, 3); 374s se(:,:,1) = [1 0 1; 0 1 1; 0 0 0]; 374s se(:,:,3) = [1 0 1; 0 1 1; 0 0 1]; 374s out = zeros (size (in)); 374s out(:,:,1,1) = [ 374s 0 17 81 145 237 146 64 0 374s 205 128 64 0 0 37 83 147 374s 175 111 47 0 0 64 117 181 374s 0 64 128 209 173 109 45 0]; 374s out(:,:,2,1) = [ 374s 235 142 78 18 0 23 69 133 374s 0 35 103 163 215 128 46 0 374s 0 64 128 195 183 123 48 0 374s 153 93 43 0 14 78 146 215]; 374s out(:,:,3,1) = [ 374s 0 25 89 153 229 142 64 0 374s 201 128 64 0 0 41 91 155 374s 167 103 57 0 0 64 125 189 374s 0 64 146 217 165 101 37 0]; 374s out(:,:,4,1) = [ 374s 227 142 78 14 0 31 77 141 374s 0 43 107 171 211 128 46 0 374s 0 64 128 203 179 115 48 0 374s 149 99 35 0 18 82 146 223]; 374s out(:,:,1,2) = [ 374s 0 33 97 161 221 146 64 0 374s 189 125 61 0 0 53 99 163 374s 159 95 31 0 0 64 128 197 374s 0 64 128 225 157 93 29 0]; 374s out(:,:,2,2) = [ 374s 219 142 78 18 0 39 85 149 374s 0 51 119 179 199 128 46 0 374s 0 64 128 211 167 107 43 0 374s 137 77 27 0 14 78 146 231]; 374s out(:,:,3,2) = [ 374s 0 41 105 169 213 142 64 0 374s 185 121 64 0 0 57 107 171 374s 151 87 41 0 0 64 128 205 374s 0 64 146 233 149 85 21 0]; 374s out(:,:,4,2) = [ 374s 211 142 78 14 0 47 93 157 374s 0 59 123 187 195 128 46 0 374s 0 64 128 219 163 99 35 0 374s 133 83 19 0 18 82 146 239]; 374s ***** assert (imbothat (in, se), out); 374s 8 tests, 8 passed, 0 known failure, 0 skipped 374s [inst/integralImage.m] 374s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/integralImage.m 374s ***** test 374s assert (integralImage (10), [0 0; 0 10]); 374s assert (integralImage (10, "rotated"), [0 0 0; 0 10 0]); 374s ***** test 374s J = integralImage (10); 374s assert (class(J), "double"); 374s J = integralImage (uint8(10)); 374s assert (class(J), "double"); 374s ***** test 374s I = [1, 2; 3, 4]; 374s J = integralImage (I); 374s J1 = [0 0 0; 0 1 3; 0 4 10]; 374s assert (J, J1) 374s J = integralImage (I, "rotated"); 374s J1 = [0 0 0 0; 0 1 2 0; 1 6 7 2]; 374s assert (J, J1) 374s ***** test 374s I1 = [1, 2; 3, 4]; 374s I2 = [5, 6; 7, 8]; 374s I3 = [9, 10; 11, 12]; 374s I = cat (3, I1, I2, I3); 374s J = integralImage (I); 374s J1 = [0 0 0; 0 1 3; 0 4 10]; 374s J2 = [0 0 0; 0 5 11; 0 12 26]; 374s J3 = [0 0 0; 0 9 19; 0 20 42]; 374s J0 = cat (3, J1, J2, J3); 374s assert (J, J0) 374s ***** test 374s I1 = [1, 2; 3, 4]; 374s I2 = [5, 6; 7, 8]; 374s I3 = [9, 10; 11, 12]; 374s I = cat (3, I1, I2, I3); 374s J = integralImage (I, "rotated"); 374s J1 = [0 0 0 0; 0 1 2 0; 1 6 7 2]; 374s J2 = [0 0 0 0; 0 5 6 0; 5 18 19 6]; 374s J3 = [0 0 0 0; 0 9 10 0; 9 30 31 10]; 374s J0 = cat (3, J1, J2, J3); 374s assert (J, J0) 374s ***** test 374s I = magic (5); 374s J = integralImage (I); 374s J_res = [0 0 0 0 0 0; 374s 0 17 41 42 50 65; 374s 0 40 69 77 99 130; 374s 0 44 79 100 142 195; 374s 0 54 101 141 204 260; 374s 0 65 130 195 260 325]; 374s assert (J, J_res) 374s 374s J = integralImage (I, "rotated"); 374s J_res_R = [0 0 0 0 0 0 0; 374s 0 17 24 1 8 15 0; 374s 17 64 47 40 38 39 15; 374s 64 74 91 104 105 76 39; 374s 74 105 149 188 183 130 76; 374s 105 170 232 272 236 195 130]; 374s assert (J, J_res_R) 374s ***** error 374s integralImage (); 374s ***** error 374s integralImage (1, "xxx", 2); 374s ***** error 374s integralImage ("abcd"); 374s ***** error 374s integralImage ([1 2; 3 4], "xxx"); 374s 10 tests, 10 passed, 0 known failure, 0 skipped 374s [inst/psf2otf.m] 374s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/psf2otf.m 374s ***** test 374s psf = rand (6, 1); 374s assert (psf2otf (psf), fft (circshift (psf, [-3])), eps); 374s ***** test 374s psf = rand (6, 6); 374s assert (psf2otf (psf), fft2 (circshift (psf, [-3 -3])), eps); 374s ***** test 374s psf = rand (6, 6, 6); 374s assert (psf2otf (psf), fftn (circshift (psf, [-3 -3 -3])), eps); 375s ***** test 375s psf = rand (7, 1); 375s assert (psf2otf (psf), fft (circshift (psf, [-3])), eps); 375s ***** test 375s psf = rand (7, 7); 375s assert (psf2otf (psf), fft2 (circshift (psf, [-3 -3])), eps); 375s ***** test 375s psf = rand (6, 7, 8); 375s assert (psf2otf (psf), fftn (circshift (psf, [-3 -3 -4])), eps); 375s ***** test 375s psf = rand (6, 1); 375s ppsf = [psf; 0]; 375s assert (psf2otf (psf, 7), fft (circshift (ppsf, [-3])), eps); 375s ***** test 375s psf = rand (6, 1); 375s ppsf = [[psf; 0] zeros(7, 6)]; 375s assert (psf2otf (psf, [7 7]), fft2 (circshift (ppsf, [-3 0])), eps); 375s ***** test 375s psf = rand (6, 6); 375s ppsf = [psf zeros(6, 1)]; 375s assert (psf2otf (psf, [6 7]), fft2 (circshift (ppsf, [-3 -3])), eps); 375s ***** error psf2otf ('foo') 375s ***** error psf2otf (rand (16), 14) 375s ***** error psf2otf (rand (16), [14 14]) 375s ***** error psf2otf (rand (16), [18]) 375s ***** error psf2otf (rand (16), [18 14]) 375s ***** test 375s psf = fspecial ("gaussian", 16) + 1i; 375s otf = psf2otf (psf); 375s assert (otf2psf (otf), psf, eps); 375s 15 tests, 15 passed, 0 known failure, 0 skipped 375s [inst/qtdecomp.m] 375s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/qtdecomp.m 375s ***** demo 375s full(qtdecomp(eye(8))) 375s %It finds 2 big blocks of 0 and it decomposes further where 0 and 1 are mixed. 375s ***** # Test if odd-sized limits split 375s ***** assert(full(qtdecomp(eye(5))), reshape([5,zeros(1,24)],5,5)); 375s ***** assert(full(qtdecomp(eye(6))), repmat(reshape([3,zeros(1,8)],3,3),2,2)); 375s ***** # Test 'equal' method 375s ***** test 375s a=ones(2,2); 375s b=[2,0;0,0]; 375s assert(full(qtdecomp(eye(4))), [a,b;b,a]); 375s ***** shared A, B2, B4 375s A=[ 1, 4, 2, 5,54,55,61,62; 375s 3, 6, 3, 1,58,53,67,65; 375s 3, 6, 3, 1,58,53,67,65; 375s 3, 6, 3, 1,58,53,67,65; 375s 23,42,42,42,99,99,99,99; 375s 27,42,42,42,99,99,99,99; 375s 23,22,26,25,99,99,99,99; 375s 22,22,24,22,99,99,99,99]; 375s B2=[2,0;0,0]; 375s B4=zeros(4); B4(1,1)=4; 375s ***** test 375s R=[ones(4,8); [ones(2),B2;ones(2,4)], B4]; 375s assert(full(qtdecomp(A)), R); 375s assert(full(qtdecomp(A,0)), R); 375s ***** # Test 'threshold' method 375s ***** test 375s R=[ones(4,8); [ones(2),B2;B2,ones(2)],B4]; 375s assert(full(qtdecomp(A,1)), R); 375s ***** test 375s R=[[B4,[B2,B2;B2,B2]]; [[ones(2),B2;B2,B2],B4]]; 375s assert(full(qtdecomp(A,10)), R); 375s ***** test 375s R=[[B4,[B2,B2;B2,B2]]; [[B2,B2;B2,B2],B4]]; 375s assert(full(qtdecomp(A,10,2)), R); 375s 375s assert(full(qtdecomp(A,100,[2, 4])), [B4,B4;B4,B4]); 375s ***** test 375s f = @(A, c1 = 54, c2 = 0, c3 = 0) (A (1, 1, :) != ((c1+c2+c3) * ones (1, 1, size (A, 3))))(:); 375s 375s assert(full(qtdecomp(A,f)),[ones(4),B4;ones(4,8)]); 375s assert(full(qtdecomp(A,f,54)),[ones(4),B4;ones(4,8)]); 375s assert(full(qtdecomp(A,f,4,40,10)),[ones(4),B4;ones(4,8)]); 375s ***** test 375s ***** # no params 375s first_eq=inline("(A(1,1,:)!=(54*ones(1,1,size(A,3))))(:)","A"); 375s assert(full(qtdecomp(A,first_eq)),[ones(4),B4;ones(4,8)]); 375s ***** test 375s ***** # 1 param 375s first_eq=inline("(A(1,1,:)!=(c*ones(1,1,size(A,3))))(:)","A","c"); 375s assert(full(qtdecomp(A,first_eq,54)),[ones(4),B4;ones(4,8)]); 375s ***** test 375s ***** # 3 params 375s first_eq=inline("(A(1,1,:)!=((c1+c2+c3)*ones(1,1,size(A,3))))(:)","A","c1","c2","c3"); 375s assert(full(qtdecomp(A,first_eq,4,40,10)),[ones(4),B4;ones(4,8)]); 375s 11 tests, 11 passed, 0 known failure, 0 skipped 375s [inst/qtgetblk.m] 375s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/qtgetblk.m 375s ***** demo 375s [vals,r,c]=qtgetblk(eye(4),qtdecomp(eye(4)),2) 375s % Returns 2 blocks, at [1,3] and [3,1] (2*2 zeros blocks) 375s ***** shared A,S 375s A=[ 1, 4, 2, 5,54,55,61,62; 375s 3, 6, 3, 1,58,53,67,65; 375s 3, 6, 3, 1,58,53,67,65; 375s 3, 6, 3, 1,58,53,67,65; 375s 23,42,42,42,99,99,99,99; 375s 27,42,42,42,99,99,99,99; 375s 23,22,26,25,99,99,99,99; 375s 22,22,24,22,99,99,99,99]; 375s S=qtdecomp(A,10); 375s ***** test 375s [va]=qtgetblk(A,S,8); 375s [vb,r,c]=qtgetblk(A,S,8); 375s [vc,i]=qtgetblk(A,S,8); 375s assert(va, vb); 375s assert(va, vc); 375s assert(i,[]); 375s assert(r,[]); 375s assert(c,[]); 375s R=[]; 375s assert(va,R); 375s ***** test 375s [va]=qtgetblk(A,S,4); 375s [vb,r,c]=qtgetblk(A,S,4); 375s [vc,i]=qtgetblk(A,S,4); 375s assert(va, vb); 375s assert(va, vc); 375s assert(i, find(full(S)==4)); 375s assert(r,[1;5]); 375s assert(c,[1;5]); 375s R=zeros(4,4,2); 375s R(:,:,1)=A(1:4,1:4); 375s R(:,:,2)=A(5:8,5:8); 375s assert(va,R); 375s ***** test 375s [va]=qtgetblk(A,S,2); 375s [vb,r,c]=qtgetblk(A,S,2); 375s [vc,i]=qtgetblk(A,S,2); 375s assert(va, vb); 375s assert(va, vc); 375s assert(i, find(full(S)==2)); 375s assert(r,[7;5;7;1;3;1;3]); 375s assert(c,[1;3;3;5;5;7;7]); 375s R=zeros(2,2,7); 375s R(:,:,1)=A(7:8,1:2); 375s R(:,:,2)=A(5:6,3:4); 375s R(:,:,3)=A(7:8,3:4); 375s R(:,:,4)=A(1:2,5:6); 375s R(:,:,5)=A(3:4,5:6); 375s R(:,:,6)=A(1:2,7:8); 375s R(:,:,7)=A(3:4,7:8); 375s assert(va,R); 375s 3 tests, 3 passed, 0 known failure, 0 skipped 375s [inst/@imref2d/sizesMatch.m] 375s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/@imref2d/sizesMatch.m 375s ***** error id=Octave:invalid-fun-call sizesMatch (imref2d) 375s ***** test 375s I = zeros (256, 256); 375s r = imref2d ([256, 256]); 375s assert (sizesMatch (r, I), true) 375s I2 = zeros (246, 300); 375s assert (sizesMatch (r, I2), false) 375s ***** test 375s r = imref2d ([256, 256]); 375s assert (sizesMatch (r, []), false) 375s ***** test 375s r = imref2d ([256, 256]); 375s assert (sizesMatch (r, 42), false) 375s ***** test 375s r = imref2d ([256, 256]); 375s assert (sizesMatch (r, zeros (256, 256, 3, 2)), true) 375s ***** test 375s I = zeros (384, 512, 3); 375s r = imref2d (size (I)); 375s assert (sizesMatch (r, I), true) 375s 6 tests, 6 passed, 0 known failure, 0 skipped 375s [inst/@imref2d/worldToSubscript.m] 375s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/@imref2d/worldToSubscript.m 375s ***** error id=Octave:invalid-fun-call worldToSubscript (imref2d) 375s ***** error id=Octave:invalid-fun-call worldToSubscript (imref2d, 1, 2, 3) 375s ***** error id=Octave:expected-real worldToSubscript (imref2d, 1j, 2) 375s ***** error id=Octave:expected-real worldToSubscript (imref2d, 1, 2j) 375s ***** error id=Octave:invalid-input-arg worldToSubscript (imref2d, [1, 2], 3) 375s ***** error id=Octave:invalid-input-arg worldToSubscript (imref2d, [1], [2, 3]) 375s ***** test 375s r = imref2d ([512, 512], 0.3125, 0.3125); 375s xW = [38.44, 39.44, 38.44, -0.2]; 375s yW = [68.75, 68.75, 75.75, -1]; 375s [rS, cS] = worldToSubscript (r, xW, yW); 375s assert (rS, [220, 220, 242, NaN]) 375s assert (cS, [123, 126, 123, NaN]) 375s 7 tests, 7 passed, 0 known failure, 0 skipped 375s [inst/@imref2d/imref2d.m] 375s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/@imref2d/imref2d.m 375s ***** error id=Octave:invalid-fun-call imref2d (1, 2, 3, 4) 375s ***** error id=Octave:invalid-input-arg imref2d (42) 375s ***** error id=Octave:invalid-input-arg imref2d ([42]) 375s ***** error id=Octave:expected-integer imref2d ([4.2, 42]) 375s ***** error id=Octave:expected-positive imref2d ([0, 0]) 375s ***** error id=Octave:expected-positive imref2d ([-4, 2]) 375s ***** error id=Octave:expected-positive imref2d ([4, 2], 0, 2) 375s ***** error id=Octave:expected-positive imref2d ([4, 2], 2, 0) 375s ***** error id=Octave:expected-real imref2d ([4, 2], j, 2) 375s ***** error id=Octave:expected-real imref2d ([4, 2], 2, j) 375s ***** error id=Octave:expected-real imref2d ([4, 2], [j, 2], [3, 4]) 375s ***** error id=Octave:expected-real imref2d ([4, 2], [1, 2], [j, 4]) 375s ***** error id=Octave:expected-vector imref2d ([4, 2], [], []) 375s ***** error id=Octave:expected-vector imref2d ([4, 2], [], [1]) 375s ***** error id=Octave:expected-scalar imref2d ([4, 2], [1], []) 375s ***** error id=Octave:incorrect-size imref2d ([4, 2], [1, 2], [0]) 375s ***** error id=Octave:incorrect-size imref2d ([4, 2], [1, 2], [1, 2, 3]) 375s ***** error id=Octave:incorrect-size imref2d ([4, 2], [1, 2, 3], [1, 2]) 375s ***** error id=Octave:incorrect-size imref2d ([4, 2], [1; 2], [1, 2]) 375s ***** error id=Octave:incorrect-size imref2d ([4, 2], [1, 2], [1; 2]) 375s ***** error id=Octave:invalid-indexing imref2d().InvalidProperty 375s ***** error id=Octave:expected-increasing imref2d ([100 200], [1.5 0.5], [2.5 3.5]) 375s ***** error id=Octave:expected-increasing imref2d ([100 200], [1.5 2.5], [2.5 1.5]) 375s ***** test 375s r = imref2d; 375s assert (r.XWorldLimits, [0.5, 2.5]) 375s assert (r.YWorldLimits, [0.5, 2.5]) 375s assert (r.ImageSize, [2, 2]) 375s assert (r.PixelExtentInWorldX, 1) 375s assert (r.PixelExtentInWorldY, 1) 375s assert (r.ImageExtentInWorldX, 2) 375s assert (r.ImageExtentInWorldY, 2) 375s assert (r.XIntrinsicLimits, [0.5, 2.5]) 375s assert (r.YIntrinsicLimits, [0.5, 2.5]) 375s ***** test 375s r = imref2d ([100, 200]); 375s assert (r.XWorldLimits, [0.5, 200.5]) 375s assert (r.YWorldLimits, [0.5, 100.5]) 375s assert (r.ImageSize, [100, 200]) 375s assert (r.PixelExtentInWorldX, 1) 375s assert (r.PixelExtentInWorldY, 1) 375s assert (r.ImageExtentInWorldX, 200) 375s assert (r.ImageExtentInWorldY, 100) 375s assert (r.XIntrinsicLimits, [0.5, 200.5]) 375s assert (r.YIntrinsicLimits, [0.5, 100.5]) 375s ***** test 375s xWorldLimits = [2, 5]; 375s yWorldLimits = [3, 6]; 375s r = imref2d ([291, 240], xWorldLimits, yWorldLimits); 375s assert (r.XWorldLimits, [2, 5]) 375s assert (r.YWorldLimits, [3, 6]) 375s assert (r.ImageSize, [291, 240]) 375s assert (r.PixelExtentInWorldX, 0.0125) 375s assert (r.PixelExtentInWorldY, 0.0103, 1e-3) 375s assert (r.ImageExtentInWorldX, 3) 375s assert (r.ImageExtentInWorldY, 3) 375s assert (r.XIntrinsicLimits, [0.5, 240.5]) 375s assert (r.YIntrinsicLimits, [0.5, 291.5]) 375s ***** test 375s pixelExtentInWorldX = 0.3125; 375s pixelExtentInWorldY = 0.3125; 375s r = imref2d ([512, 512], pixelExtentInWorldX, pixelExtentInWorldY); 375s assert (r.XWorldLimits, [0.15625, 160.1562], 1e-4) 375s assert (r.YWorldLimits, [0.15625, 160.1562], 1e-4) 375s assert (r.ImageSize, [512, 512]) 375s assert (r.PixelExtentInWorldX, 0.3125) 375s assert (r.PixelExtentInWorldY, 0.3125) 375s assert (r.ImageExtentInWorldX, 160) 375s assert (r.ImageExtentInWorldY, 160) 375s assert (r.XIntrinsicLimits, [0.5, 512.5]) 375s assert (r.YIntrinsicLimits, [0.5, 512.5]) 375s ***** test 375s pixelExtentInWorldX = 0.1; 375s pixelExtentInWorldY = 0.4; 375s r = imref2d ([100, 200], pixelExtentInWorldX, pixelExtentInWorldY); 375s assert (r.XWorldLimits, [0.05, 20.05], 1e-4) 375s assert (r.YWorldLimits, [0.2, 40.2], 1e-4) 375s assert (r.ImageSize, [100, 200]) 375s assert (r.PixelExtentInWorldX, 0.1) 375s assert (r.PixelExtentInWorldY, 0.4) 375s assert (r.ImageExtentInWorldX, 20) 375s assert (r.ImageExtentInWorldY, 40) 375s assert (r.XIntrinsicLimits, [0.5, 200.5]) 375s assert (r.YIntrinsicLimits, [0.5, 100.5]) 375s ***** test 375s r = imref2d; 375s assert (r.XWorldLimits, [0.5, 2.5]) 375s assert (r.YWorldLimits, [0.5, 2.5]) 375s assert (r.ImageSize, [2, 2]) 375s assert (r.PixelExtentInWorldX, 1) 375s assert (r.PixelExtentInWorldY, 1) 375s assert (r.ImageExtentInWorldX, 2) 375s assert (r.ImageExtentInWorldY, 2) 375s assert (r.XIntrinsicLimits, [0.5, 2.5]) 375s assert (r.YIntrinsicLimits, [0.5, 2.5]) 375s r.ImageSize = [800, 600]; 375s assert (r.XWorldLimits, [0.5, 2.5]) 375s assert (r.YWorldLimits, [0.5, 2.5]) 375s assert (r.ImageSize, [800, 600]) 375s assert (r.PixelExtentInWorldX, 0.003333, 1e-5) 375s assert (r.PixelExtentInWorldY, 0.0025) 375s assert (r.ImageExtentInWorldX, 2) 375s assert (r.ImageExtentInWorldY, 2) 375s assert (r.XIntrinsicLimits, [0.5, 600.5]) 375s assert (r.YIntrinsicLimits, [0.5, 800.5]) 375s ***** test 375s r = imref2d; 375s assert (r.XWorldLimits, [0.5, 2.5]) 375s assert (r.YWorldLimits, [0.5, 2.5]) 375s assert (r.ImageSize, [2, 2]) 375s assert (r.PixelExtentInWorldX, 1) 375s assert (r.PixelExtentInWorldY, 1) 375s assert (r.ImageExtentInWorldX, 2) 375s assert (r.ImageExtentInWorldY, 2) 375s assert (r.XIntrinsicLimits, [0.5, 2.5]) 375s assert (r.YIntrinsicLimits, [0.5, 2.5]) 375s r.XWorldLimits = [-60, 13.33]; 375s r.YWorldLimits = [-900.8, -560.26]; 375s assert (r.XWorldLimits, [-60, 13.33]) 375s assert (r.YWorldLimits, [-900.8, -560.26]) 375s assert (r.PixelExtentInWorldX, 36.6650) 375s assert (r.PixelExtentInWorldY, 170.27, 1e-5) 375s assert (r.ImageExtentInWorldX, 73.33, 1e-5) 375s assert (r.ImageExtentInWorldY, 340.54, 1e-5) 375s assert (r.XIntrinsicLimits, [0.5, 2.5]) 375s assert (r.YIntrinsicLimits, [0.5, 2.5]) 375s ***** test 375s r = imref2d; 375s fail ("r.XWorldLimits = []", "") 375s fail ("r.XWorldLimits = [1]", "") 375s fail ("r.XWorldLimits = [j]", "") 375s fail ("r.XWorldLimits = [1; 2]", "") 375s fail ("r.YWorldLimits = []", "") 375s fail ("r.YWorldLimits = [1]", "") 375s fail ("r.YWorldLimits = [j]", "") 375s fail ("r.YWorldLimits = [1; 2]", "") 375s ***** assert (imref2d ([4, 2, 3]).ImageSize, [4, 2]); 376s 32 tests, 32 passed, 0 known failure, 0 skipped 376s [inst/@imref2d/contains.m] 376s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/@imref2d/contains.m 376s ***** error id=Octave:invalid-fun-call contains (imref2d) 376s ***** error id=Octave:invalid-fun-call contains (imref2d, 1) 376s ***** error id=Octave:invalid-fun-call contains (imref2d, 1, 2, 3) 376s ***** error id=Octave:invalid-input-arg contains (imref2d, 1, [2, 3]) 376s ***** error id=Octave:invalid-input-arg contains (imref2d, [1, 2], 3) 376s ***** error id=Octave:expected-real contains (imref2d, 0, j) 376s ***** error id=Octave:expected-real contains (imref2d, j, 0) 376s ***** assert (contains (imref2d, [], []), logical( zeros (0, 0))) 376s ***** assert (contains (imref2d, [1, 2; 3, 4], [5, -6; 7, 8]), logical (zeros (2, 2))) 376s ***** test 376s r = imref2d ([256, 256]); 376s assert (contains(r, [5, 8, 8], [5, 10, 257]), logical([1, 1, 0])) 376s 10 tests, 10 passed, 0 known failure, 0 skipped 376s [inst/@imref2d/worldToIntrinsic.m] 376s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/@imref2d/worldToIntrinsic.m 376s ***** error id=Octave:invalid-fun-call worldToIntrinsic (imref2d) 376s ***** error id=Octave:invalid-fun-call worldToIntrinsic (imref2d, 1, 2, 3) 376s ***** error id=Octave:expected-real worldToIntrinsic (imref2d, 1j, 2) 376s ***** error id=Octave:expected-real worldToIntrinsic (imref2d, 1, 2j) 376s ***** error id=Octave:invalid-input-arg worldToIntrinsic (imref2d, [1, 2], 3) 376s ***** error id=Octave:invalid-input-arg worldToIntrinsic (imref2d, [1], [2, 3]) 376s ***** test 376s r = imref2d ([512, 512], 0.3125, 0.3125); 376s xW = [38.44, 39.44, 38.44, -0.2]; 376s yW = [68.75, 68.75, 75.75, -1]; 376s [xI, yI] = worldToIntrinsic (r, xW, yW); 376s assert (xI, [123.008, 126.208, 123.008, -0.64], 1e-6) 376s assert (yI, [220, 220, 242.4, -3.2], 1e-6) 376s 7 tests, 7 passed, 0 known failure, 0 skipped 376s [inst/@imref2d/intrinsicToWorld.m] 376s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/@imref2d/intrinsicToWorld.m 376s ***** error id=Octave:invalid-fun-call intrinsicToWorld (imref2d) 376s ***** error id=Octave:invalid-fun-call intrinsicToWorld (imref2d, 1, 2, 3) 376s ***** error id=Octave:expected-real intrinsicToWorld (imref2d, 1j, 2) 376s ***** error id=Octave:expected-real intrinsicToWorld (imref2d, 1, 2j) 376s ***** error id=Octave:invalid-input-arg intrinsicToWorld (imref2d, [1, 2], 3) 376s ***** error id=Octave:invalid-input-arg intrinsicToWorld (imref2d, [1], [2, 3]) 376s ***** test 376s r = imref2d ([512, 512], 0.3125, 0.3125); 376s xIntrinsic = [34, 442]; 376s yIntrinsic = [172, 172]; 376s [xWorld, yWorld] = intrinsicToWorld (r, xIntrinsic, yIntrinsic); 376s assert (xWorld, [10.625, 138.125]) 376s assert (yWorld, [53.75, 53.75]) 376s ***** test 376s [xWorld, yWorld] = intrinsicToWorld (imref2d, -5.3, -2.8); 376s assert (xWorld, -5.3) 376s assert (yWorld, -2.8) 376s ***** test 376s [xW, yW] = intrinsicToWorld (imref2d, [1, 2; 3, 4], [2, 3; 5, 9]); 376s assert (xW, [1, 2; 3, 4]) 376s assert (yW, [2, 3; 5, 9]) 376s 9 tests, 9 passed, 0 known failure, 0 skipped 376s [inst/labelmatrix.m] 376s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/labelmatrix.m 376s ***** test 376s cc = struct (); 376s cc.Connectivity = 8; 376s cc.ImageSize = [7 7]; 376s cc.NumObjects = 4; 376s cc.PixelIdxList = {[1;2], [5;7;12;13;14], [22;23], [26;32;33;36;37;38]}; 376s 376s l = uint8 ([ 376s 1 0 0 3 0 4 0 376s 1 0 0 3 0 4 0 376s 0 0 0 0 0 4 0 376s 0 0 0 0 4 0 0 376s 2 2 0 4 4 0 0 376s 0 2 0 0 0 0 0 376s 2 2 0 0 0 0 0 376s ]); 376s assert (labelmatrix (cc), l) 376s 1 test, 1 passed, 0 known failure, 0 skipped 376s [inst/medfilt2.m] 376s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/medfilt2.m 376s ***** shared b, f 376s b = [ 0 1 2 3 376s 1 8 12 12 376s 4 20 24 21 376s 7 22 25 18]; 376s f = [ 0 1 2 0 376s 1 4 12 3 376s 4 12 20 12 376s 0 7 20 0]; 376s ***** assert (medfilt2 (b), f); 376s 376s f = [ 0 1 2 3 376s 1 8 12 12 376s 4 20 24 18 376s 4 20 24 18]; 376s ***** assert (medfilt2 (b, true (3, 1)), f); 376s ***** assert (medfilt2 (b, [3 1]), f); 376s 376s f = [ 1 8 10 10 376s 1 8 12 12 376s 4 20 24 18 376s 7 20 24 18]; 376s ***** assert (medfilt2 (b, [3 1], 10), f); 376s ***** assert (medfilt2 (b, 10, [3 1]), f); 376s 376s f = [ 0.5 4.5 7.0 7.5 376s 2.5 14.0 18.0 15.0 376s 2.5 14.0 18.0 15.0 376s 2.0 10.0 12.0 9.0]; 376s ***** assert (medfilt2 (b, true (4, 1)), f); 376s ***** assert (medfilt2 (b, [4 1]), f); 376s ***** test 376s A = zeros (3, 3); 376s B = ones (3, 3); 376s C = [1 1 1; 2 2 2; 3 3 3]; 376s D = C'; 376s E = ones (3, 3); 376s E(2,2) = 2; 376s F = 3 .* ones (3, 3); 376s F(2,2) = 1; 376s G = [-1 2 7; -5 2 8; -7 pi 9]; 376s H = [5 2 8; 1 -3 1; 5 1 0]; 376s A_out = [0 0 0; 0 0 0; 0 0 0]; 376s B_out = [0 1 0; 1 1 1; 0 1 0]; 376s C_out = [0 1 0; 1 2 1; 0 2 0]; 376s D_out = [0 1 0; 1 2 2; 0 1 0]; 376s E_out = [0 1 0; 1 1 1; 0 1 0]; 376s F_out = [0 3 0; 3 3 3; 0 3 0]; 376s G_out = [0 0 0; 0 2 2; 0 0 0]; 376s H_out = [0 1 0; 1 1 0; 0 0 0]; 376s assert (medfilt2 (A), A_out); 376s assert (medfilt2 (B), B_out); 376s assert (medfilt2 (C), C_out); 376s assert (medfilt2 (D), D_out); 376s assert (medfilt2 (E), E_out); 376s assert (medfilt2 (F), F_out); 376s assert (medfilt2 (G), G_out); 376s assert (medfilt2 (H), H_out); 376s 8 tests, 8 passed, 0 known failure, 0 skipped 376s [inst/imhist.m] 376s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imhist.m 376s ***** shared nn, bb, enn, ebb 376s [nn, bb] = imhist(logical([0 1 0 0 1])); 376s ***** assert({nn, bb}, {[3 2]', [0 1]'}) 376s [nn, bb] = imhist([0 0.2 0.4 0.9 1], 5); 376s ***** assert({nn, bb}, {[1 1 1 0 2]', [0 0.25 0.5 0.75 1]'}) 376s [nn, bb] = imhist([-2 0 0.2 0.4 0.9 1 5], 5); 376s ***** assert({nn, bb}, {[2 1 1 0 3]', [0 0.25 0.5 0.75 1]'}) 376s [nn, bb] = imhist(uint8([0 32 255]), 256); 376s enn = zeros(256, 1); enn([1, 33, 256]) = 1; 376s ebb = 0:255; 376s ***** assert({nn, bb}, {enn, ebb'}) 376s [nn, bb] = imhist(int8([-50 0 100]), 31); 376s enn = zeros(31, 1); enn([10, 16, 28]) = 1; 376s ebb = -128:8.5:127; 377s ***** assert({nn, bb}, {enn, ebb'}) 377s 5 tests, 5 passed, 0 known failure, 0 skipped 377s [inst/imextendedmax.m] 377s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imextendedmax.m 377s ***** shared im0, bw0_h2_out 377s im0 = uint8 ([0 0 0 0 0; 377s 0 1 2 1 0; 377s 0 2 5 2 0; 377s 0 1 2 1 0; 377s 0 0 0 0 0]); 377s bw0_h2_out = false (5); 377s bw0_h2_out(3,3) = true; 377s ***** error imextendedmax () 377s ***** error imextendedmax (im0) 377s ***** error imextendedmax ("hello", 2) 377s ***** error imextendedmax (i.*im0, 2) 377s ***** error imextendedmax (sparse (im0), 2) 377s ***** error imextendedmax (im0, -2) 377s ***** error imextendedmax (im0, 'a') 377s ***** error imextendedmax (im0, ones (2)) 377s ***** error imextendedmax (im0, 2*i) 377s ***** assert (imextendedmax (im0, 2), bw0_h2_out) 377s ***** assert (imextendedmax (double (im0), 2), bw0_h2_out) 377s ***** assert (imextendedmax (im0, 2, 8), bw0_h2_out) 377s ***** assert (imextendedmax (im0, 2, 4), bw0_h2_out) 377s ***** assert (imextendedmax (im0, 2, true (3)), bw0_h2_out) 377s ***** test 377s out = imextendedmax (im0, 2); 377s assert (size (out), size (im0)) 377s assert (class (out), "logical") 377s ***** test 377s out = imextendedmax (single (im0), 2); 377s assert (size (out), size (im0)) 377s assert (class (out), "logical") 377s ***** test 377s out = imextendedmax (uint8 (im0), 2); 377s assert (size (out), size (im0)) 377s assert (class (out), "logical") 377s ***** test 377s out = imextendedmax (uint16 (im0), 2); 377s assert (size (out), size (im0)) 377s assert (class (out), "logical") 377s ***** test 377s im = cat (3, im0, im0, im0, im0); 377s out = imextendedmax (im, 2); 377s assert (size (out), size (im)) 377s ***** test 377s im = zeros (10); 377s im(2:4, 2:4) = 3; 377s im(6:8, 6:8) = 8; 377s expected_4 = false (10); 377s expected_4(6:8, 6:8) = true; 377s expected_2 = expected_4; 377s expected_2(2:4, 2:4) = true; 377s out = imextendedmax (im, 4); 377s assert (out, expected_4, eps) 377s out = imextendedmax (0.1.*im, 0.4); 377s assert (out, expected_4, eps) 377s out = imextendedmax (im, 2); 377s assert (out, expected_2, eps) 377s ***** test 377s im2 = zeros (10); 377s im2(2:4, 2:4) = 3; 377s im2(6:9, 6:9)=8; 377s im2(5, 5)=8; 377s im2(6, 7)=0; 377s im2(7, 8)=0; 377s expected_8 = false (10); 377s expected_8(6:9, 6:9) = true; 377s expected_8(5, 5) = true; 377s expected_8(6, 7) = false; 377s expected_8(7, 8) = false; 377s expected_4 = expected_8; 377s expected_4(2:4, 2:4) = true; 377s out2 = imextendedmax (im2, 2); 377s assert (out2, expected_8, eps) 377s out2 = imextendedmax (im2, 2, 4); 377s assert (out2, expected_4, eps) 377s out2 = imextendedmax (im2, 2, 8); 377s assert (out2, expected_8, eps) 377s 21 tests, 21 passed, 0 known failure, 0 skipped 377s [inst/imadjust.m] 377s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imadjust.m 377s ***** error imadjust ("bad argument"); 377s ***** error imadjust ([1:100], "bad argument", [], 1); 377s ***** error <2 row column per plane> imadjust ([1:100], [0 1 1], [], 1); 377s ***** error <2 row column per plane> imadjust ([1:100], [], [0 1 1], 1); 377s ***** error imadjust ([1:100], [], [], [0; 1]); 377s ***** error imadjust (rand (5, 5, 3), [], [], [0 1]); 377s ***** error imadjust ([1:100], [0; 1], [], -1); 377s ***** error imadjust ([1:100], [0; 5], []); 377s ***** error imadjust ([1:100], [-2; 1], []); 377s ***** error imadjust ([1:100], [], [0; 4]); 377s ***** error imadjust ([1:100], [], [-2; 1]); 377s ***** error imadjust (rand (5) > .5); 377s ***** test 377s im = [0.01:0.01:1]; 377s assert (imadjust (im), [0 linspace(0, 1, 98) 1], eps) 377s assert (imadjust (im), imadjust (im, stretchlim (im, 0.01), [0; 1], 1)) 377s assert (imadjust (im, []), imadjust (im, [0; 1], [0; 1], 1)) 377s assert (imadjust (im, [], []), imadjust (im, [0; 1], [0; 1], 1)) 377s assert (imadjust (im, [], [.25 .75]), imadjust (im, [0; 1], [.25; .75], 1)) 377s assert (imadjust (im, [.25; .75], []), imadjust (im, [.25; .75], [0; 1], 1)) 377s ***** assert (imadjust (linspace (0, 1), [], [.25 .75]), linspace (.25, .75, 100), eps) 377s ***** assert (imadjust (linspace (0, 1, 100),[1/99; 98/99]), 377s [0 linspace(0, 1, 98) 1], eps) 377s ***** shared cm 377s cm = [[0:8]' [1:9]' [2:10]'] / 10; 377s ***** assert (imadjust (cm, [0; 1], [0.5; 1]), (cm /2) + .5) 377s ***** assert (imadjust (cm, [0 1], [0.5 1]), (cm /2) + .5) 377s ***** assert (imadjust (cm, [0; 1], [.1 .2 .3; .7 .8 .9]), 377s (cm*.6) + [.1 .2 .3], eps) 377s ***** assert (imadjust (cm, [.2 .4 .6; .7 .8 .9], [0; 1]), 377s [[0 0 linspace(0, 1, 6) 1]' ... 377s [0 0 0 linspace(0, 1, 5) 1]' ... 377s [0 0 0 0 linspace(0, 1, 4) 1]'], eps) 377s ***** assert (imadjust (cm, [.2 .4 .6; .7 .8 .9], [0 .1 .2; .8 .9 1]), 377s [[0 0 linspace(0, .8, 6) .8]' ... 377s [.1 .1 .1 linspace(.1, .9, 5) .9]' ... 377s [.2 .2 .2 .2 linspace(.2, 1, 4) 1]'], eps) 377s ***** assert (imadjust (cm, [.2 .4 .6; .7 .8 .9], [0 .1 .2; .8 .9 1], [0.5 1 2]), 377s [[0 0 0 (((([.3 .4 .5 .6]-.2)/.5).^.5)*.8) .8 .8]' ... 377s [.1 .1 .1 linspace(.1, .9, 5) .9]' ... 377s [.2 .2 .2 .2 .2 ((((([.7 .8]-.6)/.3).^2).*.8)+.2) 1 1]'], eps*10) 377s ***** test 377s im = [-0.4:.1:0.8 377s 0.0:.1:1.2 377s 0.1:.1:1.3 377s -0.4:.2:2.0]; 377s 377s ## just clipping 377s assert (imadjust (im, [0; 1], [0; 1]), 377s [0 0 0 0 (0:.1:.8) 377s (0:.1:1) 1 1 377s (.1:.1:1) 1 1 1 377s 0 0 (0:.2:1) 1 1 1 1 1], eps) 377s 377s ## clipping and invert 377s assert (imadjust (im, [0; 1], [1; 0]), 377s [1 1 1 1 (1:-.1:.2) 377s (1:-.1:0) 0 0 377s (.9:-.1:0) 0 0 0 377s 1 1 (1:-.2:0) 0 0 0 0 0], eps) 377s 377s ## rescale 377s assert (imadjust (im, [.2; .7], [.1; .9]), 377s [1 1 1 1 1 1 1 2.6 4.2 5.8 7.4 9 9 377s 1 1 1 2.6 4.2 5.8 7.4 9 9 9 9 9 9 377s 1 1 2.6 4.2 5.8 7.4 9 9 9 9 9 9 9 377s 1 1 1 1 4.2 7.4 9 9 9 9 9 9 9]/10, eps) 377s 377s ## rescale and invert 377s assert (imadjust (im, [.2; .7], [.9; .1]), 377s [9 9 9 9 9 9 9 7.4 5.8 4.2 2.6 1 1 377s 9 9 9 7.4 5.8 4.2 2.6 1 1 1 1 1 1 377s 9 9 7.4 5.8 4.2 2.6 1 1 1 1 1 1 1 377s 9 9 9 9 5.8 2.6 1 1 1 1 1 1 1]/10, eps) 377s ***** assert (imadjust (linspace (0, 1), [], [], 2), linspace (0, 1) .^ 2) 377s ***** shared oRGB 377s oRGB = zeros (10, 1, 3); 377s oRGB(:,:,1) = [0 linspace(0,1,6) 1 1 1]'; 377s oRGB(:,:,2) = [0 0 linspace(0,1,6) 1 1]'; 377s oRGB(:,:,3) = [0 0 0 linspace(0,1,6) 1]'; 377s ***** assert (imadjust (oRGB, [0; 1], [0; 1]), oRGB) 377s ***** assert (imadjust (oRGB, [.2; .8], [0; 1]), 377s reshape ([[0 0 0 1/3 2/3 1 1 1 1 1]' 377s [0 0 0 0 1/3 2/3 1 1 1 1]' 377s [0 0 0 0 0 1/3 2/3 1 1 1]'], [10 1 3]), eps) 377s ***** assert (imadjust (oRGB, [.2; .8], [.1; .9]), 377s reshape ([[.1 .1 .1 (1/3)+(.1/3) (2/3)-(.1/3) .9 .9 .9 .9 .9]' 377s [.1 .1 .1 .1 (1/3)+(.1/3) (2/3)-(.1/3) .9 .9 .9 .9]' 377s [.1 .1 .1 .1 .1 (1/3)+(.1/3) (2/3)-(.1/3) .9 .9 .9]'], 377s [10 1 3]), eps) 377s ***** assert (imadjust (oRGB, [.2; .8], [.2; .8]), 377s reshape ([[2 2 2 4 6 8 8 8 8 8]' 377s [2 2 2 2 4 6 8 8 8 8]' 377s [2 2 2 2 2 4 6 8 8 8]']/10, [10 1 3]), eps) 377s ***** assert (imadjust (oRGB, [0; 1], [.1 .2 .3; .9 .8 .7]), 377s reshape ([[1 1 2.6 4.2 5.8 7.4 9 9 9 9]' 377s [2 2 2 3.2 4.4 5.6 6.8 8 8 8]' 377s [3 3 3 3 3.8 4.6 5.4 6.2 7 7]']/10, [10 1 3]), eps) 377s ***** assert (imadjust (oRGB, [.1 .2 .3; .9 .8 .7], [0; 1]), 377s reshape ([[0 0 .125 .375 .625 .875 1 1 1 1]' 377s [0 0 0 0 1/3 2/3 1 1 1 1]' 377s [0 0 0 0 0 .25 .75 1 1 1]'], [10 1 3]), eps*10) 377s ***** assert (imadjust (oRGB, [.1 .2 .3; .9 .8 .7], [.2 0 .4; .5 1 .7 ]), 377s reshape ([[.2 .2 .2375 .3125 .3875 .4625 .5 .5 .5 .5]' 377s [0 0 0 0 1/3 2/3 1 1 1 1]' 377s [.4 .4 .4 .4 .4 .475 .625 .7 .7 .7]'], [10 1 3]), eps) 377s ***** test 377s img = rand (4, 4, 2, 3, 4); 377s adj = zeros (4, 4, 2, 3, 4); 377s for p = 1:2 377s for q = 1:3 377s for r = 1:4 377s adj(:,:,p,q,r) = imadjust (img(:,:,p,q,r)); 377s endfor 377s endfor 377s endfor 377s assert (imadjust (img), adj) 377s ***** test 377s img = rand (4, 4, 2, 3, 2); 377s adj = zeros (4, 4, 2, 3, 2); 377s in = reshape ([ 3 5 7 9 11 13 15 17 19 21 23 25; 377s 97 95 93 91 89 87 85 83 81 79 77 75] / 100, [2 2 3 2]); 377s out = reshape ([ 5 7 9 11 14 15 17 19 21 23 25 27; 377s 95 93 91 89 87 85 83 81 79 77 75 73] / 100, [2 2 3 2]); 377s gamma = reshape (0.6:.1:1.7, [1 2 3 2]); 377s for p = 1:2 377s for q = 1:3 377s for r = 1:2 377s adj(:,:,p,q,r) = imadjust (img(:,:,p,q,r), in(:,p,q,r), 377s out(:,p,q,r), gamma(1,p,q,r)); 377s endfor 377s endfor 377s endfor 377s assert (imadjust (img, in, out, gamma), adj, eps) 377s ***** test 377s in = int16 (1:6); 377s assert (imadjust (in), int16 ([-32768 -19661 -6554 6553 19660 32767])) 377s assert (imadjust (in, []), in) 377s ***** test 377s in = uint8([ 377s 35 1 6 26 19 24 377s 3 32 7 21 23 25 377s 31 9 2 22 27 20 377s 8 28 33 17 10 15 377s 30 5 34 12 14 16 377s 4 36 29 13 18 11]); 377s out = uint8([ 377s 12 0 0 1 0 0 377s 0 8 0 0 0 0 377s 7 0 0 0 2 0 377s 0 3 9 0 0 0 377s 6 0 11 0 0 0 377s 0 13 4 0 0 0]); 377s assert (imadjust (in, [.1 .9], [0 1]), out); 377s ***** test 377s in = uint8([ 377s 140 4 24 104 76 96 377s 12 128 28 84 92 100 377s 124 36 8 88 108 80 377s 32 112 132 68 40 60 377s 120 20 136 48 56 64 377s 16 144 116 52 72 44]); 377s out = uint8([ 377s 143 0 0 98 63 88 377s 0 128 3 73 83 93 377s 123 13 0 78 103 68 377s 8 108 133 53 18 43 377s 118 0 138 28 38 48 377s 0 148 113 33 58 23]); 377s assert (imadjust (in, [.1 .9], [0 1]), out); 377s ***** xtest 377s in_u8 = randi ([0 255], 5, 5, 2, 3, "uint8"); 377s in_u16 = randi ([0 65535], 5, 5, 2, 3, "uint16"); 377s in_i16 = randi ([-32768 32767], 5, 5, 2, 3, "int16"); 377s in_u8_d = im2double (in_u8); 377s in_u16_d = im2double (in_u16); 377s in_i16_d = im2double (in_i16); 377s lim_u8 = eps + 0.5 / double (intmax ("uint8")); 377s lim_u16 = eps + 0.5 / double (intmax ("uint16")); 377s lim_i16 = eps + 0.5 / ( double (intmax("int16")) - double (intmin ("int16")) ); 377s 377s ## default values 377s assert (im2double (imadjust (in_u8)), imadjust (in_u8_d), lim_u8) 377s assert (im2double( imadjust (in_u16)), imadjust (in_u16_d), lim_u16) 377s assert (im2double( imadjust (in_i16)), imadjust (in_i16_d), lim_i16) 377s 377s ## single adjustment for all planes 377s args = {[.3; .7], [.1; .9], [1.5]}; 377s assert (im2double (imadjust (in_u8, args{:})), imadjust (in_u8_d, args{:}), lim_u8) 377s assert (im2double (imadjust (in_u16, args{:})), imadjust (in_u16_d, args{:}), lim_u16) 377s assert (im2double (imadjust (in_i16, args{:})), imadjust (in_i16_d, args{:}), lim_i16) 377s 377s ## single adjustment for all planes (mixed with some complement) 377s args = {reshape([.2 .3 .25 .1 0 .1; .9 .7 .85 .9 1 .8], [2 2 3]), 377s reshape([.1 .2 .05 .9 1 .3; .9 .85 .7 .1 0 .9], [2 2 3]), 377s reshape([1 .75 1 1.2 1.5 2], [1 2 3])}; 377s assert (im2double (imadjust (in_u8, args{:})), imadjust (in_u8_d, args{:}), lim_u8) 377s assert (im2double (imadjust (in_u16, args{:})), imadjust (in_u16_d, args{:}), lim_u16) 377s assert (im2double (imadjust (in_i16, args{:})), imadjust (in_i16_d, args{:}), lim_i16) 377s 377s ## test use of [] as limit and negative 377s args = {[], [.95; 0], 1.25}; 377s assert (im2double (imadjust (in_u8, args{:})), imadjust (in_u8_d, args{:}), lim_u8) 377s assert (im2double (imadjust (in_u16, args{:})), imadjust (in_u16_d, args{:}), lim_u16) 377s assert (im2double (imadjust (in_i16, args{:})), imadjust (in_i16_d, args{:}), lim_i16) 377s 36 tests, 36 passed, 0 known failure, 0 skipped 377s [inst/immse.m] 377s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/immse.m 377s ***** error immse (rand (10), rand (12)) 377s ***** error immse (uint8 ([0 1 2 3]), uint16 ([0 1 2 3])) 377s ***** error immse (double ([0 1 2 3]), single ([0 1 2 3])) 377s ***** assert (immse (magic (5), magic (5)), 0) 377s ***** assert (immse (single (magic (5)), single (magic (5))), single (0)) 377s ***** assert (immse (uint8 (magic (5)), uint8 (magic (5))), 0) 377s 6 tests, 6 passed, 0 known failure, 0 skipped 377s [inst/@strel/strel.m] 377s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/@strel/strel.m 377s ***** test 377s shape = logical ([0 0 0 1]); 377s assert (getnhood (strel (shape)), shape); 377s assert (getnhood (strel ("arbitrary", shape)), shape); 377s 377s height = [0 0 0 3]; 377s assert (getnhood (strel ("arbitrary", shape, height)), shape); 377s assert (getheight (strel ("arbitrary", shape, height)), height); 377s ***** test 377s shape = logical ([0 0 1]); 377s height = [-2 1 3]; ## this works for matlab compatibility 377s assert (getnhood (strel ("arbitrary", shape, height)), shape); 377s assert (getheight (strel ("arbitrary", shape, height)), height); 377s ***** test 377s shape = logical ([0 0 0 1 0 0 0 377s 0 1 1 1 1 1 0 377s 0 1 1 1 1 1 0 377s 1 1 1 1 1 1 1 377s 0 1 1 1 1 1 0 377s 0 1 1 1 1 1 0 377s 0 0 0 1 0 0 0]); 377s height = [ 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 377s 0.00000 0.33333 0.66667 0.74536 0.66667 0.33333 0.00000 377s 0.00000 0.66667 0.88192 0.94281 0.88192 0.66667 0.00000 377s 0.00000 0.74536 0.94281 1.00000 0.94281 0.74536 0.00000 377s 0.00000 0.66667 0.88192 0.94281 0.88192 0.66667 0.00000 377s 0.00000 0.33333 0.66667 0.74536 0.66667 0.33333 0.00000 377s 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000]; 377s assert (getnhood (strel ("ball", 3, 1)), shape); 377s assert (getheight (strel ("ball", 3, 1)), height, 0.0001); 377s ***** test 377s shape = logical ([0 0 0 1 0 0 0 377s 0 0 1 1 1 0 0 377s 0 1 1 1 1 1 0 377s 1 1 1 1 1 1 1 377s 0 1 1 1 1 1 0 377s 0 0 1 1 1 0 0 377s 0 0 0 1 0 0 0]); 377s assert (getnhood (strel ("diamond", 3)), shape); 377s ***** test 377s shape = logical ([0 0 0 1 0 0 0 377s 0 1 1 1 1 1 0 377s 0 1 1 1 1 1 0 377s 1 1 1 1 1 1 1 377s 0 1 1 1 1 1 0 377s 0 1 1 1 1 1 0 377s 0 0 0 1 0 0 0]); 377s assert (getnhood (strel ("disk", 3, 0)), shape); 377s ***** test 377s shape = logical ([1 1 1]); 377s assert (getnhood (strel ("line", 3.9, 20.17)), shape); 377s shape = logical ([0 0 1 377s 0 1 0 377s 1 0 0]); 377s assert (getnhood (strel ("line", 3.9, 20.18)), shape); 377s shape = logical ([1 0 0 0 0 0 0 0 0 377s 0 1 0 0 0 0 0 0 0 377s 0 0 1 0 0 0 0 0 0 377s 0 0 1 0 0 0 0 0 0 377s 0 0 0 1 0 0 0 0 0 377s 0 0 0 0 1 0 0 0 0 377s 0 0 0 0 0 1 0 0 0 377s 0 0 0 0 0 0 1 0 0 377s 0 0 0 0 0 0 1 0 0 377s 0 0 0 0 0 0 0 1 0 377s 0 0 0 0 0 0 0 0 1]); 377s assert (getnhood (strel ("line", 14, 130)), shape); 377s ***** test 377s se = strel ("octagon", 0); 377s seq = getsequence (se); 377s assert (getnhood (se), true (1)); 377s assert (getnhood (seq(1)), true (1)); 377s 377s se = strel ("octagon", 3); 377s seq = getsequence (se); 377s shape = logical ([0 0 1 1 1 0 0 377s 0 1 1 1 1 1 0 377s 1 1 1 1 1 1 1 377s 1 1 1 1 1 1 1 377s 1 1 1 1 1 1 1 377s 0 1 1 1 1 1 0 377s 0 0 1 1 1 0 0]); 377s assert (getnhood (se), shape); 377s assert (size (seq), [4 1]); 377s 377s templ1 = logical ([0 0 0; 1 1 1; 0 0 0]); 377s templ2 = logical ([0 1 0; 0 1 0; 0 1 0]); 377s templ3 = logical ([1 0 0; 0 1 0; 0 0 1]); 377s templ4 = logical ([0 0 1; 0 1 0; 1 0 0]); 377s assert ({getnhood(seq(1)) getnhood(seq(2)) getnhood(seq(3)) getnhood(seq(4))}, 377s {templ1 templ2 templ3 templ4}); 377s 377s seq = getsequence (strel ("octagon", 21)); 377s assert (size (seq), [28 1]); 377s assert (arrayfun (@(x) getnhood (seq(x)), 1:4:25, "UniformOutput", false), 377s repmat ({templ1}, 1, 7)); 377s assert (arrayfun (@(x) getnhood (seq(x)), 2:4:26, "UniformOutput", false), 377s repmat ({templ2}, 1, 7)); 377s assert (arrayfun (@(x) getnhood (seq(x)), 3:4:27, "UniformOutput", false), 377s repmat ({templ3}, 1, 7)); 377s assert (arrayfun (@(x) getnhood (seq(x)), 4:4:28, "UniformOutput", false), 377s repmat ({templ4}, 1, 7)); 378s ***** test 378s shape = logical ([1 1 0]'); 378s assert (getnhood (strel ("pair", [-1 0])), shape); 378s shape = logical ([1 0 0 0 0 0 0 378s 0 0 0 1 0 0 0 378s 0 0 0 0 0 0 0]); 378s assert (getnhood (strel ("pair", [-1 -3])), shape); 378s shape = logical ([0 0 0 0 0 0 0 378s 0 0 0 0 0 0 0 378s 0 0 0 1 0 0 0 378s 0 0 0 0 0 0 0 378s 0 0 0 0 0 0 1]); 378s assert (getnhood (strel ("pair", [2 3])), shape); 378s ***** test 378s assert (getnhood (strel ("rectangle", [10 5])), true (10, 5)); 378s assert (getnhood (strel ("square", 5)), true (5)); 378s ***** shared se, seq 378s se = strel ("square", 5); 378s seq = getsequence (se); 378s assert (class (se(1)), "strel") 378s assert (class (se(1,1)),"strel") 378s assert (class (seq), "strel") 378s assert (class (seq(1)), "strel") 378s assert (class (seq(2)), "strel") 378s assert (numel (se), 1) 378s assert (numel (seq), 2) 378s assert (getnhood (seq(1)), true (5, 1)) 378s assert (getnhood (seq(2)), true (1, 5)) 378s assert (size (se), [1 1]) 378s assert (size (seq), [2 1]) 378s assert (isscalar (se), true) 378s assert (isscalar (seq), false) 378s ***** error se(2); 378s ***** error seq(3); 378s ***** test 378s se = strel ("arbitrary", [1 0 0; 1 1 0; 0 1 0], [2 0 0; 3 1 0; 0 3 0]); 378s ref = reflect (se); 378s assert (getnhood (ref), logical([0 1 0; 0 1 1; 0 0 1])); 378s assert (getheight (ref), [0 3 0; 0 1 3; 0 0 2]); 378s ***** error strel() 378s ***** error strel("nonmethodthing", 2) 378s ***** error strel("arbitrary", "stuff") 378s ***** error strel("arbitrary", [0 0 1], [2 0 1; 4 5 1]) 378s ***** error strel("arbitrary", [0 0 1], "stuff") 378s ***** error strel("ball", -3, 1) 378s ***** error strel("diamond", -3) 378s ***** error strel("disk", -3) 378s ***** error strel("line", 0, 45) 378s ***** error strel("octagon", 3.5) 378s ***** error strel("octagon", 4) 378s ***** error strel("octagon", -1) 378s ***** error strel("pair", [45 67 90]) 378s ***** error strel("rectangle", 2) 378s ***** error strel("rectangle", [2 -5]) 378s ***** error strel("square", [34 1-2]) 378s 28 tests, 28 passed, 0 known failure, 0 skipped 378s [inst/imhmin.m] 378s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imhmin.m 378s ***** shared im0, im0_h2_out 378s im0 = uint8 ([5 5 5 5 5; 378s 5 4 3 4 5; 378s 5 3 0 3 5; 378s 5 4 3 4 5; 378s 5 5 5 5 5]); 378s im0_h2_out = uint8 ([5 5 5 5 5; 378s 5 4 3 4 5; 378s 5 3 2 3 5; 378s 5 4 3 4 5; 378s 5 5 5 5 5]); 378s ***** error imhmin () 378s ***** error imhmin (im0) 378s ***** error imhmin ("hello", 2) 378s ***** error imhmin (i.*im0, 2) 378s ***** error imhmin (sparse (im0), 2) 378s ***** error imhmin (im0, -2) 378s ***** error imhmin (im0, 'a') 378s ***** error imhmin (im0, ones (2)) 378s ***** error imhmin (im0, 2*i) 378s ***** assert (imhmin (im0, 2), im0_h2_out) 378s ***** assert (imhmin (double (im0), 2), double (im0_h2_out)) 378s ***** assert (imhmin (im0, 2, 8), im0_h2_out) 378s ***** assert (imhmin (im0, 2, 4), im0_h2_out) 378s ***** assert (imhmin (im0, 2, true (3)), im0_h2_out) 378s ***** test 378s out = imhmin (double (im0), 2); 378s assert (size (out), size (im0)) 378s assert (class (out), "double") 378s ***** test 378s out = imhmin (single (im0), 2); 378s assert (size (out), size (im0)) 378s assert (class (out), "single") 378s ***** test 378s out = imhmin (uint8 (im0), 2); 378s assert (size (out), size (im0)) 378s assert (class (out), "uint8") 378s ***** test 378s out = imhmin (uint16 (im0), 2); 378s assert (size (out), size (im0)) 378s assert (class (out), "uint16") 378s ***** test 378s im = cat (3, im0, im0, im0, im0); 378s out = imhmin (im, 2); 378s assert (size (out), size (im)) 378s ***** test 378s im = 10 .* ones (10); 378s im(2:4, 2:4) = 7; 378s im(6:8, 6:8) = 2; 378s expected_4 = 10 .* ones (10); 378s expected_4(6:8, 6:8) = 6; 378s expected_2 = 10 .* ones (10); 378s expected_2(6:8, 6:8) = 4; 378s expected_2(2:4, 2:4) = 9; 378s out = imhmin (im, 4); 378s assert (out, expected_4, eps) 378s out = imhmin (im, 2); 378s assert (out, expected_2, eps) 378s out = imhmin (0.1.*im, 0.4); 378s assert (out, 0.1 .* expected_4, eps) 378s ***** test 378s im2 = 10 .* ones (10); 378s im2(2:4, 2:4) = 7; 378s im2(6:9, 6:9)=2; 378s im2(5, 5)=2; 378s im2(6, 7)=10; 378s im2(7, 8)=10; 378s expected_4 = 10 .* ones (10); 378s expected_4(6:9, 6:9) = 6; 378s expected_4(5, 5) = 6; 378s expected_4(6, 7) = 10; 378s expected_4(7, 8) = 10; 378s expected_8 = expected_4; 378s expected_8(2:4, 2:4) = 7; 378s out2 = imhmin (im2, 4); 378s assert (out2, expected_8, eps) 378s out2 = imhmin (im2, 4, 4); 378s assert (out2, expected_4, eps) 378s out2 = imhmin (im2, 4, 8); 378s assert (out2, expected_8, eps) 378s 21 tests, 21 passed, 0 known failure, 0 skipped 378s [inst/imquantize.m] 378s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imquantize.m 378s ***** error 378s imquantize (rand (5), [3 4 2 5]) 378s ***** error 378s imquantize (rand (5), [1 2 3], "foo") 378s ***** error 378s imquantize (rand (5), [1 2 3 4], 1:6) 378s ***** error 378s imquantize (rand (5), [1 2 3 4], 1:2) 378s ***** test 378s img = [-inf 0 10000000; -100000 -3 1/1000000; 5 5 10]; 378s [q, q_idx] = imquantize (img, 5); 378s assert (q, [1 1 2; 1 1 1; 1 1 2]) 378s assert (q_idx, q) 378s ***** test 378s img = [1:10; 11:20; 21:30; 31:40; 41:50; 51:60; 61:70]; 378s 378s expected_q = [ 378s 0 0 0 0 0 1 1 1 1 1 378s 1 1 1 1 1 5 5 5 5 5 378s 5 5 5 5 5 10 10 10 10 10 378s 20 20 20 20 20 20 20 20 20 20 378s 30 30 30 30 30 30 30 30 30 30 378s 30 30 30 30 30 30 30 30 30 30 378s 15 15 15 15 15 15 15 15 15 15]; 378s 378s expected_q_idx = [ 378s 1 1 1 1 1 2 2 2 2 2 378s 2 2 2 2 2 3 3 3 3 3 378s 3 3 3 3 3 4 4 4 4 4 378s 5 5 5 5 5 5 5 5 5 5 378s 6 6 6 6 6 6 6 6 6 6 378s 6 6 6 6 6 6 6 6 6 6 378s 7 7 7 7 7 7 7 7 7 7]; 378s 378s [q, q_idx] = imquantize (img, [5 15 25 30 40 60], [0 1 5 10 20 30 15]); 378s assert (q, expected_q) 378s assert (q_idx, expected_q_idx) 378s 378s [q, q_idx] = imquantize (single (img), [5 15 25 30 40 60], 378s [0 1 5 10 20 30 15]); 378s assert (q, expected_q) 378s assert (q_idx, expected_q_idx) 378s 378s [q, q_idx] = imquantize (uint8 (img), [5 15 25 30 40 60], 378s [0 1 5 10 20 30 15]); 378s assert (q, expected_q) 378s assert (q_idx, expected_q_idx) 378s 378s [q, q_idx] = imquantize (uint8 (img), uint8 ([5 15 25 30 40 60]), 378s [0 1 5 10 20 30 15]); 378s assert (q, expected_q) 378s assert (q_idx, expected_q_idx) 378s 378s [q, q_idx] = imquantize (uint8 (img), uint8 ([5 15 25 30 40 60]), 378s uint8 ([0 1 5 10 20 30 15])); 378s assert (q, uint8 (expected_q)) 378s assert (q_idx, expected_q_idx) 378s ***** test 378s img = randi ([0 255], 10, "uint8"); 378s [q, q_idx] = imquantize (img, [50 100 150 200]); 378s assert (class (q), "double") 378s assert (class (q_idx), "double") 378s 378s [q, q_idx] = imquantize (img, [50 100 150 200], uint16 ([5 7 8 9 2])); 378s assert (class (q), "uint16") 378s assert (class (q_idx), "double") 378s 378s [q, q_idx] = imquantize (img, [50 100 150 200], uint8 ([5 7 8 9 2])); 378s assert (class (q), "uint8") 378s assert (class (q_idx), "double") 378s ***** test 378s img = [1:10; 11:20; 21:30; 31:40; 41:50; 51:60; 61:70].'; 378s r_idx = reshape (randperm (numel (img)), size (img)); 378s 378s [quant, quant_idx] = imquantize (img, [5 15 25 30 40 60]); 378s [quant_r, quant_r_idx] = imquantize (img(r_idx), [5 15 25 30 40 60]); 378s 378s assert (imquantize (img(r_idx), [5 15 25 30 40 60]), quant(r_idx)) 378s assert (quant_r, quant_r_idx) 378s 8 tests, 8 passed, 0 known failure, 0 skipped 378s [inst/impixel.m] 378s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/impixel.m 378s ***** shared img2d, img3d 378s img2d = uint8 (magic (10)); 378s img3d(:,:,1) = img2d; 378s img3d(:,:,2) = img2d + 1; 378s img3d(:,:,3) = img2d + 2; 378s img3d = uint8 (img3d); 378s 378s ***** assert (impixel (img2d, 2, 2), single ([80 80 80])); 378s ***** assert (impixel (img2d, -2, 2), single ([NA NA NA])); 378s 378s ***** assert (impixel (img2d, [1 10], [1 10]), single ([92 92 92; 59 59 59])); 378s ***** assert (impixel (img3d, [1 10], [1 10]), single ([92 93 94; 59 60 61])); 378s ***** assert (impixel (double (img2d), [1 10], [1 10]), [92 92 92; 59 59 59]); 378s 378s ***** assert (impixel ([1 10], [1 10], img2d, [1 10], [1 10]), single ([92 92 92; 59 59 59])); 378s ***** assert (impixel ([3 12], [-4 12], img2d, [1 10], [1 10]), single ([NA NA NA; 44 44 44])); 378s ***** assert (impixel ([3 5], [-4 3], img2d, [1 10], [1 10]), single ([NA NA NA; NA NA NA])); 378s 378s ## the following returns double because it's an indexed image 378s ***** assert (impixel ([3 12], [-4 12], img2d, gray (100), [1 10], [1 10]), [NA NA NA; 4/9 4/9 4/9]); 378s 9 tests, 9 passed, 0 known failure, 0 skipped 378s [inst/poly2mask.m] 378s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/poly2mask.m 378s ***** demo 378s s = [0:pi/4:2*pi]; 378s x = cos (s) * 90 + 101; 378s y = sin (s) * 90 + 101; 378s bw = poly2mask(x, y, 200, 200); 378s imshow (bw); 378s ***** demo 378s s = [0:2*pi/5:pi*4]; 378s s = s ([1, 3, 5, 2, 4, 6]); 378s x = cos (s) * 90 + 101; 378s y = sin (s) * 90 + 101; 378s bw = poly2mask (x, y, 200, 200); 378s imshow (bw); 378s ***** # Convex polygons 378s ***** shared xs, ys, Rs, xt, yt, Rt 378s xs=[3,3,10,10]; 378s ys=[4,12,12,4]; 378s Rs=zeros(16,14); 378s Rs(5:12,4:10)=1; 378s Rs=logical(Rs); 378s xt=[1,4,7]; 378s yt=[1,4,1]; 378s Rt=[0,0,0,0,0,0,0; 378s 0,0,1,1,1,1,0; 378s 0,0,0,1,1,0,0; 378s 0,0,0,1,0,0,0; 378s 0,0,0,0,0,0,0]; 378s Rt=logical(Rt); 378s ***** assert(poly2mask(xs,ys,16,14),Rs); # rectangle 378s ***** assert(poly2mask(xs,ys,8,7),Rs(1:8,1:7)); # clipped 378s ***** assert(poly2mask(xs-7,ys-8,8,7),Rs(9:16,8:14)); # more clipping 378s ***** assert(poly2mask(xt,yt,5,7),Rt); # triangle 378s ***** assert(poly2mask(xt,yt,3,3),Rt(1:3,1:3)); # clipped 378s ***** # Concave polygons 378s ***** test 378s x=[3,3,5,5,8,8,10,10]; 378s y=[4,12,12,8,8,11,11,4]; 378s R=zeros(16,14); 378s R(5:12,4:5)=1; 378s R(5:8,6:8)=1; 378s R(5:11,9:10)=1; 378s R=logical(R); 378s assert(poly2mask(x,y,16,14), R); 378s ***** # Complex polygons 378s ***** test 378s x=[1,5,1,5]; 378s y=[1,1,4,4]; 378s R=[0,0,0,0,0,0; 378s 0,0,1,1,0,0; 378s 0,0,1,1,0,0; 378s 0,1,1,1,1,0; 378s 0,0,0,0,0,0]; 378s R=logical(R); 378s assert(poly2mask(x,y,5,6), R); 378s 7 tests, 7 passed, 0 known failure, 0 skipped 378s [inst/mat2gray.m] 378s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/mat2gray.m 378s ***** assert(mat2gray([1 2 3]), [0 0.5 1]); # standard use 378s ***** assert(mat2gray(repmat ([1 2; 3 3], [1 1 3])), repmat ([0 0.5; 1 1], [1 1 3])); # setting min and max 378s ***** assert(mat2gray([1 2 3], [2 2]), [1 1 1]); # equal min and max 378s ***** assert(mat2gray([-1 0 0.5 3], [2 2]), [0 0 0.5 1]); # equal min and max 378s ***** test 378s ## SCALE is unset and all values in the input IMAGE are the same: 378s ## case 1: all values are in the [0 1] range] 378s assert (mat2gray ([.5 .5; .5 .5]), [.5 .5; .5 .5]) 378s ## case 2: all values are above the [0 1] range 378s assert (mat2gray ([3 3; 3 3]), [1 1; 1 1]) 378s ## case 2: all values are below the [0 1] range 378s assert (mat2gray ([-3 -3; -3 -3]), [0 0; 0 0]) 378s ***** assert(mat2gray([1 2 3], [3 1]), [1 0.5 0]); # max and min inverted 379s ***** assert (mat2gray ([-3 -2 -1]), [0 0.5 1]) 379s 7 tests, 7 passed, 0 known failure, 0 skipped 379s [inst/imsmooth.m] 379s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imsmooth.m 379s ***** test 379s ## checking Bilateral Filter 379s 379s ## constant image remain the same after Bilateral Filter 379s A = uint8(255*ones(128,128)); 379s B = uint8(imsmooth(A, 'Bilateral', 2, 10)); 379s assert (A,B); 379s 379s ## Bilateral Filter does not smear outlayers 379s A = zeros(256,256); 379s A(128,128) = 256; 379s ## bilateral filter does not smear outlayers 379s B = imsmooth(A, 'Bilateral', 2, 10); 379s assert (A,B,1.e-140); 379s 379s ## When sigma_r is large the filter behaves almost 379s ## like the isotropic Gaussian filter 379s 379s A0 = fspecial ('gaussian',100,100); 379s A = uint8(A0/max(max(A0))*255); 379s B1 = imsmooth(A, 'Bilateral', 2, 100); 379s B2 = imsmooth(A, 'Gaussian', 2); 379s assert (B1,B2); 380s 1 test, 1 passed, 0 known failure, 0 skipped 380s [inst/imfill.m] 380s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imfill.m 380s ***** test 380s I = uint8 (5.*[1 1 1; 1 0 1; 1 1 1]); 380s bw = logical ([1 1 1; 1 0 1; 1 1 1]); 380s I2 = uint8 (5.*ones (3)); 380s bw2 = logical (ones (3)); 380s 380s assert (imfill (int8 (I)), int8 (I2)) 380s assert (imfill (int16 (I)), int16 (I2)) 380s assert (imfill (int32 (I)), int32 (I2)) 380s assert (imfill (int64 (I)), int64 (I2)) 380s assert (imfill (uint8 (I)), uint8 (I2)) 380s assert (imfill (uint16 (I)), uint16 (I2)) 380s assert (imfill (uint32 (I)), uint32 (I2)) 380s assert (imfill (uint64 (I)), uint64 (I2)) 380s assert (imfill (single (I)), single (I2)) 380s assert (imfill (double (I)), double (I2)) 380s assert (imfill (bw, "holes"), bw2) 380s assert (imfill (uint8 (bw)), uint8 (bw2)) 380s ***** error 380s imfill (i + ones (3, 3)); # complex input 380s ***** error 380s imfill (sparse (double (I))); # sparse input 380s ***** error 380s imfill (); 380s ***** error 380s imfill (true (3), 4, "holes", 5) 380s ***** error 380s imfill (false (3), ones (2, 3)) 380s ***** error 380s imfill (false (3), ones (2, 3), 4) 380s ***** error 380s imfill (false (3)) 380s ***** error 380s imfill (false (3), 0, 4) 380s ***** warning 380s bw = logical ([1 1 1; 1 0 1; 1 1 1]); 380s assert (imfill (bw, [5 5]), bw) 380s assert (imfill (bw, 15), bw) 380s 380s bw = repmat (bw, [1 1 3]); 380s assert (imfill (bw, 30), bw) 380s assert (imfill (bw, [2 2 5]), bw) 380s ***** test 380s bw = logical ([1 0 0 0 0 0 0 0 380s 1 1 1 1 1 0 0 0 380s 1 0 0 0 1 0 1 0 380s 1 0 0 0 1 1 1 0 380s 1 1 1 1 0 1 1 1 380s 1 0 0 1 1 0 1 0 380s 1 0 0 0 1 0 1 0 380s 1 0 0 0 1 1 1 0]); 380s bw2 = logical ([1 0 0 0 0 0 0 0 380s 1 1 1 1 1 0 0 0 380s 1 1 1 1 1 0 1 0 380s 1 1 1 1 1 1 1 0 380s 1 1 1 1 1 1 1 1 380s 1 0 0 1 1 1 1 0 380s 1 0 0 0 1 1 1 0 380s 1 0 0 0 1 1 1 0]); 380s bw3 = logical ([1 0 0 0 0 0 0 0 380s 1 1 1 1 1 0 0 0 380s 1 1 1 1 1 0 1 0 380s 1 1 1 1 1 1 1 0 380s 1 1 1 1 0 1 1 1 380s 1 0 0 1 1 0 1 0 380s 1 0 0 0 1 0 1 0 380s 1 0 0 0 1 1 1 0]); 380s assert (imfill (bw, "holes"), bw2) 380s assert (imfill (bw, 8, "holes"), bw2) 380s assert (imfill (bw, 4, "holes"), bw2) 380s assert (imfill (bw, [3 3]), bw3) 380s assert (imfill (bw, 19), bw3) 380s assert (imfill (bw, [3 3], 4), bw3) 380s assert (imfill (bw, 19, 4), bw3) 380s assert (imfill (bw, [3 3], 8), bw2) 380s assert (imfill (bw, 19, 8), bw2) 380s assert (imfill (bw, [19; 20]), bw3) 380s assert (imfill (bw, [19; 20], 4), bw3) 380s assert (imfill (bw, [19; 20], 8), bw2) 380s ***** warning 380s bw = logical ([1 1 1 1 1 1 1 380s 1 0 0 0 0 0 1 380s 1 0 1 1 1 0 1 380s 1 0 1 0 1 0 1 380s 1 0 1 1 1 0 1 380s 1 0 0 0 0 0 1 380s 1 1 1 1 1 1 1]); 380s bw44 = logical ([1 1 1 1 1 1 1 380s 1 0 0 0 0 0 1 380s 1 0 1 1 1 0 1 380s 1 0 1 1 1 0 1 380s 1 0 1 1 1 0 1 380s 1 0 0 0 0 0 1 380s 1 1 1 1 1 1 1]); 380s bw9 = logical ([1 1 1 1 1 1 1 380s 1 1 1 1 1 1 1 380s 1 1 1 1 1 1 1 380s 1 1 1 0 1 1 1 380s 1 1 1 1 1 1 1 380s 1 1 1 1 1 1 1 380s 1 1 1 1 1 1 1]); 380s assert (imfill (bw, "holes"), logical (ones (7))) 380s assert (imfill (bw, [4 4]), bw44) 380s assert (imfill (bw, 9), bw9) 380s assert (imfill (bw, [4 4; 10 10]), bw44) 380s ***** test 380s bw = logical ([1 1 0 1 1]); 380s assert (imfill (bw, "holes"), bw) 380s bw = logical([1 1 0 1 1; 1 1 1 1 1]); 380s assert (imfill (bw, "holes"), bw) 380s ***** test 380s I = zeros (5); 380s I(:, [2 4]) = 1; 380s I2_expected = [0 1 1 1 0 380s 0 1 1 1 0 380s 0 1 1 1 0 380s 0 1 1 1 0 380s 0 1 1 1 0]; 380s I2 = imfill (I, [0 0 0; 1 1 1; 0 0 0], "holes"); 380s assert (I2, I2_expected) 380s ***** test 380s I = zeros (5); 380s I(:, [2 4]) = 1; 380s I2_expected = I; 380s I2 = imfill (I, [0 1 0; 0 1 0; 0 1 0], "holes"); 380s assert (I2, I2_expected) 380s ***** test # this test is Matlab compatible 380s I = zeros (5); 380s I(:, [2 4]) = 1; 380s I2_expected = inf .* ones (5); 380s I2 = imfill (I, [0 0 0; 0 1 0; 0 0 0], "holes"); 380s assert (I2, I2_expected) 380s ***** test 380s I = false (5); 380s I(:, [2 4]) = true; 380s I2_expected = true (5); 380s I2 = imfill (I, [0 0 0; 0 1 0; 0 0 0], "holes"); 380s assert (I2, I2_expected) 380s ***** test 380s I = uint8 ([10 20 80 85 20 380s 15 90 03 25 88 380s 05 85 02 50 83 380s 90 04 03 80 80 380s 10 81 83 85 30]); 380s I2 = uint8 ([10 20 80 85 20 380s 15 90 80 80 88 380s 05 85 80 80 83 380s 90 80 80 80 80 380s 10 81 83 85 30]); 380s I3 = uint8 ([10 20 80 85 20 380s 15 90 05 25 88 380s 05 85 05 50 83 380s 90 05 05 80 80 380s 10 81 83 85 30]); 380s assert (imfill (I), I2) 380s assert (imfill (I, 4), I2) 380s assert (imfill (I, 4, "holes"), I2) 380s assert (imfill (I, 8), I3) 380s assert (imfill (I, "holes"), I2) 380s ***** test 380s v_line = [0 1 0; 0 1 0; 0 1 0]; 380s h_line = [0 0 0; 1 1 1; 0 0 0]; 380s im = [0 1 0 0 1 0]; 380s 380s assert (imfill (im, h_line, "holes"), [0 1 1 1 1 0]) 380s assert (imfill (im, v_line, "holes"), [0 1 0 0 1 0]) 380s assert (imfill (im', h_line, "holes"), [0 1 0 0 1 0]') 380s assert (imfill (im', v_line, "holes"), [0 1 1 1 1 0]') 380s 380s im = repmat (im, [1 1 5]); 380s assert (imfill (im, h_line, "holes"), repmat ([0 1 1 1 1 0], [1 1 5])) 380s assert (imfill (im, v_line, "holes"), im) 380s 380s im = permute (im, [2 1 3]); 380s assert (imfill (im, h_line, "holes"), im) 380s assert (imfill (im, v_line, "holes"), repmat ([0 1 1 1 1 0]', [1 1 5])) 380s ***** test 380s im = logical ([0 0 0 0 0 0 380s 0 1 1 1 1 0 380s 0 1 0 0 1 0 380s 0 1 1 1 1 0 380s 0 0 0 0 0 0]); 380s fi = logical ([0 0 0 0 0 0 380s 0 1 1 1 1 0 380s 0 1 1 1 1 0 380s 0 1 1 1 1 0 380s 0 0 0 0 0 0]); 380s 380s assert (imfill (cat (3, im, im, im), 8, 'holes'), cat (3, fi, fi, fi)) 380s assert (imfill (cat (3, im, im, im), 'holes'), cat (3, im, im, im)) 380s assert (imfill (cat (3, fi, im, fi), 'holes'), cat (3, fi, fi, fi)) 380s ***** test 380s emp = false (5, 6); 380s im = logical ([0 0 0 0 0 0 380s 0 1 1 1 1 0 380s 0 1 0 1 0 1 380s 0 1 1 1 1 0 380s 0 0 0 0 0 0]); 380s fi = logical ([0 0 0 0 0 0 380s 0 1 1 1 1 0 380s 0 1 1 1 1 1 380s 0 1 1 1 1 0 380s 0 0 0 0 0 0]); 380s fi1 = logical ([0 0 0 0 0 0 380s 0 1 1 1 1 0 380s 0 1 1 1 0 1 380s 0 1 1 1 1 0 380s 0 0 0 0 0 0]); 380s fi2 = logical ([0 0 0 0 0 0 380s 0 1 1 1 1 0 380s 0 1 0 1 1 1 380s 0 1 1 1 1 0 380s 0 0 0 0 0 0]); 380s 380s assert (imfill (cat (3, im, im, im), [3 3 2]), cat (3, fi1, fi1, fi1)) 380s assert (imfill (cat (3, im, im, im), [3 5 2]), cat (3, fi2, fi2, fi2)) 380s assert (imfill (cat (3, im, im, im), [3 3 2; 3 5 2]), cat (3, fi, fi, fi)) 380s assert (imfill (cat (3, emp, im, emp), [3 3 2]), true (5, 6, 3)) 380s 21 tests, 21 passed, 0 known failure, 0 skipped 380s [inst/imcomplement.m] 380s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imcomplement.m 380s ***** assert (imcomplement (10), -9); 380s ***** assert (imcomplement (single (10)), single (-9)); 380s ***** assert (imcomplement (0.2), 0.8); 380s ***** assert (imcomplement (uint8 (0)), uint8 (255)); 380s ***** assert (imcomplement (uint8 (1)), uint8 (254)); 380s ***** assert (imcomplement (uint16 (0)), uint16 (65535)); 380s ***** assert (imcomplement (uint16 (1)), uint16 (65534)); 380s ***** assert (imcomplement (int8 (-128)), int8 ( 127)); 380s ***** assert (imcomplement (int8 ( 127)), int8 (-128)); 380s ***** assert (imcomplement (int16 (-1)), int16 ( 0)); 380s ***** assert (imcomplement (int16 ( 0)), int16 (-1)); 380s ***** assert (imcomplement (int16 ( 1)), int16 (-2)); 380s ***** assert (imcomplement ([true false true]), [false true false]) 380s ***** error imcomplement ("not an image") 380s 14 tests, 14 passed, 0 known failure, 0 skipped 380s [inst/imapplymatrix.m] 380s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imapplymatrix.m 380s ***** error id=Octave:invalid-fun-call imapplymatrix () 381s ***** error id=Octave:invalid-fun-call imapplymatrix (42) 381s ***** error id=Octave:invalid-input-arg imapplymatrix (ones (2, 2, 2), 42) 381s ***** error id=Octave:invalid-input-arg imapplymatrix ([], ones (2, 2)) 381s ***** error id=Octave:invalid-input-arg imapplymatrix (ones (0, 2), ones (2, 2)) 381s ***** error id=Octave:invalid-input-arg imapplymatrix (ones (2, 0), ones (2, 2)) 381s ***** error id=Octave:invalid-input-arg imapplymatrix (4, 2, [2, 2]) 381s ***** error id=Octave:invalid-input-arg imapplymatrix (4, 2, [2, 2], "uint8") 381s ***** error id=Octave:invalid-input-arg imapplymatrix (4, 2, 0, 666) 381s ***** assert (imapplymatrix ([], []), []) 381s ***** assert (imapplymatrix ([], [], "uint16"), uint16 ([])) 381s ***** assert (imapplymatrix (1, 10, []), 10) 381s ***** assert (imapplymatrix (1, 10, ones (0, 5)), 10) 381s ***** assert (imapplymatrix (1, 10, ones (5, 0)), 10) 381s ***** assert (imapplymatrix (ones (0), ones (0), 3), []) 381s ***** assert (imapplymatrix (ones (0), ones (4, 0), 3), zeros (4, 0)) 381s ***** assert (imapplymatrix (ones (0), ones (0, 4), 3), zeros (0, 4)) 381s ***** assert (imapplymatrix (ones (2, 0), ones (0, 4), 3), zeros (0, 4)) 381s ***** assert (imapplymatrix (ones (0, 2), ones (0, 4), 3), zeros (0, 4)) 381s ***** assert (imapplymatrix (ones (0, 2), ones (0, 4, 0), 3), zeros (0, 4, 0)) 381s ***** assert (imapplymatrix("a", ones(2, 2)), nan (2, 2)) 381s ***** assert (imapplymatrix("abc", ones(2, 2)), nan (2, 2)) 381s ***** assert (imapplymatrix (1, 10), 10) 381s ***** assert (imapplymatrix (1, 10, 3), 13) 381s ***** assert (imapplymatrix (ones (1), uint8 (10), 3), uint8 (13)) 381s ***** assert (imapplymatrix (uint8 (ones (1)), 10, 3), double (13)) 381s ***** assert (imapplymatrix (uint8 (ones (1)), uint8 (10), 3), uint8 (13)) 381s ***** assert (imapplymatrix (2.6 * ones (1), uint8 (10), 4.7), uint8 (31)) 381s ***** assert (imapplymatrix (42, ones (1, 2)), 42 * ones (1, 2)) 381s ***** assert (imapplymatrix (42, ones (2, 1)), 42 * ones (2, 1)) 381s ***** assert (imapplymatrix (42, ones (2, 2)), 42 * ones (2, 2)) 381s ***** assert (imapplymatrix (42, ones (2, 2), 0.5), 42.5 * ones (2, 2)) 381s ***** assert (imapplymatrix ([4, 2], ones (2, 2, 2), 0.5), 6.5 * ones (2, 2)) 381s ***** assert (imapplymatrix ([4, 2; 381s 4, 2], ones (2, 2, 2), [0.5, 0.5]), 6.5 * ones (2, 2, 2)) 381s ***** assert (imapplymatrix ([4, 2; 381s 4, 2], ones (2, 2, 2), [0.5; 0.5]), 6.5 * ones (2, 2, 2)) 381s ***** assert (imapplymatrix ([1, 2, 3], ones (2, 2, 3)), 6 * ones (2, 2, 1)) 381s ***** assert (imapplymatrix ([1, 2, 3], ones (2, 2, 3), 1), 7 * ones (2, 2, 1)) 381s ***** test 381s expected = zeros (2, 2, 2, "uint8"); 381s expected(:, :, 1) = 7 * ones (2, 2); 381s expected(:, :, 2) = 16 * ones (2, 2); 381s I = uint8 (ones (2, 2, 3)); 381s assert (imapplymatrix ([1, 2, 3 381s 4, 5, 6], I, [1, 1]), expected) 381s ***** test 381s expected = zeros (2, 2, 2, 2, "uint16"); 381s expected(:, :, 1, 1) = 7 * ones (2, 2); 381s expected(:, :, 2, 1) = 16 * ones (2, 2); 381s expected(:, :, 1, 2) = 13 * ones (2, 2); 381s expected(:, :, 2, 2) = 31 * ones (2, 2); 381s I(:, :, :, 1) = uint16 (ones (2, 2, 3)); 381s I(:, :, :, 2) = 2 * uint16 (ones (2, 2, 3)); 381s assert (imapplymatrix ([1, 2, 3; 381s 4, 5, 6], I, [1, 1]), expected) 381s 39 tests, 39 passed, 0 known failure, 0 skipped 381s [inst/checkerboard.m] 381s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/checkerboard.m 381s ***** demo 381s ## Simplest case, default checkerboard size: 381s ## 8 by 8 checkerboard, with squares 10 pixel wide 381s board = checkerboard (); 381s imshow (board) 381s ***** demo 381s ## Simplest case, default checkerboard size: 381s ## 8 by 16 checkerboard, with squares 5 pixel wide 381s board = checkerboard (5, 4, 8); 381s imshow (board) 381s ***** assert (checkerboard (0), zeros (0, 0)) 381s ***** assert (checkerboard (0, 3), zeros (0, 0)) 381s ***** assert (checkerboard (0, 2, 4), zeros (0, 0)) 381s ***** assert (checkerboard (0, 2, 4, 3), zeros (0, 0, 0)) 381s ***** assert (checkerboard (0, 2, 4, 3, 2), zeros (0, 0, 0, 0)) 381s ***** assert (checkerboard (1, 4, 2, 3, 0), zeros (8, 4, 6, 0)) 381s ***** assert (checkerboard (1, 4, 0, 3, 2), zeros (8, 0, 6, 4)) 381s ***** assert (checkerboard (2, 4, 0, 3, 2), zeros (16, 0, 12, 8)) 381s ***** test 381s out = zeros (80); 381s i1 = ((1:20:80) + (0:9)')(:); 381s i2 = ((11:20:80) + (0:9)')(:); 381s out(i1, i2) = 1; 381s out(i2, i1) = 1; 381s i1r = ((41:20:80) + (0:9)')(:); 381s i2r = ((51:20:80) + (0:9)')(:); 381s out(i2, i1r) = 0.7; 381s out(i1, i2r) = 0.7; 381s assert (checkerboard (), out) 381s assert (checkerboard (10, 4, 4), out) 381s assert (checkerboard (10, [4 4]), out) 381s assert (checkerboard (10, [4; 4]), out) 381s ***** test 381s out = zeros (8); 381s out(2:2:8, 1:2:8) = 1; 381s out(1:2:8, 2:2:8) = 1; 381s out(1:2:8, 6:2:8) = 0.7; 381s out(2:2:8, 5:2:8) = 0.7; 381s assert (checkerboard (1), out) 381s assert (checkerboard (1, 4), out) 381s assert (checkerboard (1, 4, 4), out) 381s assert (checkerboard (1, [4 4]), out) 381s ***** test 381s out = zeros (10); 381s out(2:2:10, 1:2:10) = 1; 381s out(1:2:10, 2:2:10) = 1; 381s out(1:2:10, 6:2:10) = 0.7; 381s out(2:2:10, 7:2:10) = 0.7; 381s assert (checkerboard (1, 5), out) 381s assert (checkerboard (1, 5, 5), out) 381s assert (checkerboard (1, [5 5]), out) 381s ***** test 381s out = zeros (20); 381s out([1:4:20 2:4:20], [3:4:20 4:4:20]) = 1; 381s out([3:4:20 4:4:20], [1:4:20 2:4:20]) = 1; 381s out([1:4:20 2:4:20], [11:4:20 12:4:20]) = 0.7; 381s out([3:4:20 4:4:20], [13:4:20 14:4:20]) = 0.7; 381s assert (checkerboard (2, 5), out) 381s assert (checkerboard (2, 5, 5), out) 381s assert (checkerboard (2, [5 5]), out) 381s ***** test 381s out = zeros (4, 4, 4); 381s out([1 3], 1, [1 3]) = 1; 381s out([2 4], 2, [1 3]) = 1; 381s out([1 3], 2, [2 4]) = 1; 381s out([2 4], 1, [2 4]) = 1; 381s out([1 3], 3, [1 3]) = 0.7; 381s out([2 4], 4, [1 3]) = 0.7; 381s out([1 3], 4, [2 4]) = 0.7; 381s out([2 4], 3, [2 4]) = 0.7; 381s assert (checkerboard (1, [2 2 2]), out) 381s assert (checkerboard (1, 2, 2, 2), out) 381s ***** test 381s out = zeros (8, 8, 8); 381s out([1 2 5 6], [1 2], [1 2 5 6]) = 1; 381s out([3 4 7 8], [3 4], [1 2 5 6]) = 1; 381s out([1 2 5 6], [3 4], [3 4 7 8]) = 1; 381s out([3 4 7 8], [1 2], [3 4 7 8]) = 1; 381s out([1 2 5 6], [5 6], [1 2 5 6]) = 0.7; 381s out([3 4 7 8], [7 8], [1 2 5 6]) = 0.7; 381s out([1 2 5 6], [7 8], [3 4 7 8]) = 0.7; 381s out([3 4 7 8], [5 6], [3 4 7 8]) = 0.7; 381s assert (checkerboard (2, [2 2 2]), out) 381s assert (checkerboard (2, 2, 2, 2), out) 381s 14 tests, 14 passed, 0 known failure, 0 skipped 381s [inst/nlfilter.m] 381s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/nlfilter.m 381s ***** demo 381s ## creates a "wide" diagonal (although it can be performed more 381s ## efficiently with "imdilate (A, true (3))") 381s nlfilter (eye (10), [3 3], @(x) any (x(:) > 0)) 381s ***** assert (nlfilter (eye (4), [2 3], @(x) sum (x(:))), 381s [2 2 1 0 381s 1 2 2 1 381s 0 1 2 2 381s 0 0 1 1]); 381s ***** assert (nlfilter (eye (4), "indexed", [2 3], @(x) sum (x(:))), 381s [4 2 1 2 381s 3 2 2 3 381s 2 1 2 4 381s 4 3 4 5]); 381s ***** assert (nlfilter (eye (4), "indexed", [2 3], @(x, y) sum (x(:)) == y, 2), 381s logical ([0 1 0 1 381s 0 1 1 0 381s 1 0 1 0 381s 0 0 0 0])); 381s ***** assert (nlfilter (uint8 (eye (4)), "indexed", [2 3], @(x) sum (x(:))), 381s [2 2 1 0 381s 1 2 2 1 381s 0 1 2 2 381s 0 0 1 1]); 381s ***** assert (nlfilter (int16 (eye (4)), "indexed", [2 3], @(x) sum (x(:))), 381s [4 2 1 2 381s 3 2 2 3 381s 2 1 2 4 381s 4 3 4 5]); 381s ***** assert (nlfilter (uint8 (eye (4)), "indexed", [2 3], @(x) int8 (sum (x(:)))), 381s int8 ([2 2 1 0 381s 1 2 2 1 381s 0 1 2 2 381s 0 0 1 1])); 381s ***** test 381s ## Effect of out of border elements. 381s expected = [ 381s 0.5 6.0 6.0 0.5 0 381s 5.5 10.5 13.5 10.5 4.0 381s 6.5 12.5 13.5 13.5 1.5 381s 10.5 12.5 15.5 11.0 1.0 381s 5.0 10.5 6.0 1.0 0 381s ]; 381s assert (nlfilter (magic (5), [3 4], @(x) median (x(:))), expected) 381s ***** test 381s ## The center pixel of a sliding window when its length is even 381s ## sized is ceil ((size (NHOOD) +1) /2) 381s expected = [ 381s 24 24 24 16 16 381s 24 24 24 22 22 381s 23 23 22 22 22 381s 25 25 25 25 22 381s 25 25 25 25 21 381s ]; 381s assert (nlfilter (magic (5), [3 4], @(x) max (x(:))), expected) 381s ***** function dilated = imdilate_like_nlfilter (im, nhood) 381s even_nhood_dims = find (mod (size (nhood), 2) == 0); 381s for i = 1:even_nhood_dims 381s im = flip (im, i); 381s endfor 381s dilated = imdilate (im, nhood); 381s for i = 1:even_nhood_dims 381s dilated = flip (dilated, i); 381s endfor 381s ***** endfunction 381s ***** test 381s a = randi (65535, 20, 20, 20, "uint16"); 381s ## extra dimensions on matrix only 381s assert (nlfilter (a, [5 5], @(x) max(x(:))), imdilate (a, ones (5))) 381s ## extra dimensions on both matrix and block 381s assert (nlfilter (a, [5 5 5], @(x) max(x(:))), imdilate (a, ones ([5 5 5]))) 381s ## extra dimensions and padding 381s assert (nlfilter (a, [3 7], @(x) max(x(:))), imdilate (a, ones ([3 7]))) 381s assert (nlfilter (a, [3 7 3], @(x) max(x(:))), imdilate (a, ones ([3 7 3]))) 382s ***** test 382s a = randi (65535, 15, 15, 4, 8, 3, "uint16"); 382s assert (nlfilter (a, [3 4 7 5], @(x) max(x(:))), 382s imdilate_like_nlfilter (a, ones ([3 4 7 5]))) 383s ***** test 383s a = randi (65535, 15, 15, 4, 3, 8, "uint16"); 383s ord = ordfiltn (a, 3, ones ([3 7 3 1 5])); 383s assert (nlfilter (a, [3 7 3 1 5], @(x) sort (x(:))(3)), ord) 383s assert (nlfilter (a, [3 7 3 1 5], @(x, y) sort (x(:))(y), 3), ord) 385s 11 tests, 11 passed, 0 known failure, 0 skipped 385s [inst/label2rgb.m] 385s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/label2rgb.m 385s ***** function map = test_colormap (unused) 385s map = [0 0 0; 0.5 0.5 0.5; 0.125 0.125 0.125]; 385s ***** endfunction 385s ***** shared in, out, cmap 385s in = [ 0 1 1 0 2 2 0 3 3 385s 0 1 1 0 2 2 0 3 3]; 385s 385s out = [255 0 0 255 128 128 255 32 32 385s 255 0 0 255 128 128 255 32 32]; 385s out(:,:,2) = out(:,:,3) = out(:,:,1); 385s out = uint8(out); 385s 385s cmap = [0 0 0; 0.5 0.5 0.5; 0.125 0.125 0.125]; 385s ***** assert (label2rgb (in, cmap), out); 385s ***** assert (label2rgb (uint8 (in), cmap), out); 385s ***** assert (label2rgb (in, "test_colormap"), out); 385s ***** assert (label2rgb (in, @test_colormap), out); 385s 385s out(find (in == 0)) = 0; 385s ***** assert (label2rgb (in, cmap, "cyan"), out); 385s ***** assert (label2rgb (in, cmap, [0 1 1]), out); 385s 385s in(1) = 10; 385s ***** error label2rgb (in, cmap); 385s ***** error label2rgb (in, cmap, 89); 385s ***** error label2rgb (in, cmap, "g", "wrong"); 385s 9 tests, 9 passed, 0 known failure, 0 skipped 385s [inst/imfilter.m] 385s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/imfilter.m 385s ***** test 385s img = [ 385s 8 2 6 7 4 3 7 8 4 1 385s 9 9 1 1 4 7 3 3 8 1 385s 2 9 8 3 7 6 5 8 6 5 385s 9 5 9 1 8 2 7 3 5 8 385s 6 8 7 1 2 2 9 9 9 9 385s 1 2 7 8 5 5 9 4 3 2 385s 3 4 7 7 5 9 5 2 7 6 385s 5 9 4 3 6 4 2 3 7 5 385s 9 8 6 9 7 6 2 6 4 1 385s 9 9 2 1 7 3 3 5 6 4]; 385s 385s expected_corr = [ 385s 46 53 30 34 44 42 40 51 42 19 385s 48 66 57 42 46 50 59 58 49 34 385s 48 67 55 54 44 58 50 50 64 39 385s 44 77 52 43 28 55 57 75 70 50 385s 29 51 65 51 42 50 60 62 55 42 385s 23 44 58 59 63 59 55 57 50 36 385s 36 50 52 56 56 47 48 45 47 39 385s 51 64 70 62 56 50 40 38 41 31 385s 58 72 50 49 58 45 41 42 49 28 385s 27 37 27 21 19 26 16 23 24 17]; 385s assert (imfilter (img, [0 1 0; 2 1 1; 1 2 2]), expected_corr) 385s 385s ## test order of options (and matching with defaults) 385s assert (imfilter (img, [0 1 0; 2 1 1; 1 2 2], 0), expected_corr) 385s assert (imfilter (img, [0 1 0; 2 1 1; 1 2 2], "corr"), expected_corr) 385s assert (imfilter (img, [0 1 0; 2 1 1; 1 2 2], "corr", 0), expected_corr) 385s assert (imfilter (img, [0 1 0; 2 1 1; 1 2 2], 0, "corr"), expected_corr) 385s 385s expected_conv = [ 385s 21 31 23 22 21 28 29 26 22 6 385s 47 55 43 43 51 44 49 64 44 24 385s 56 69 53 34 47 50 57 48 52 37 385s 38 70 60 56 41 57 54 61 66 44 385s 46 67 53 48 32 54 59 65 63 46 385s 28 56 63 50 36 54 58 66 63 47 385s 20 43 55 62 67 57 52 53 44 28 385s 42 51 54 61 57 53 44 46 48 39 385s 53 70 63 50 57 42 38 38 43 33 385s 53 62 50 54 52 44 38 40 40 20]; 385s assert (imfilter (img, [0 1 0; 2 1 1; 1 2 2], "conv"), expected_conv) 385s 385s ## alternative class 385s assert (imfilter (single (img), [0 1 0; 2 1 1; 1 2 2]), 385s single (expected_corr)) 385s assert (imfilter (int8 (img), [0 1 0; 2 1 1; 1 2 2]), 385s int8 (expected_corr)) 385s assert (imfilter (uint8 (img), [0 1 0; 2 1 1; 1 2 2]), 385s uint8 (expected_corr)) 385s 385s assert (imfilter (single (img), [0 1 0; 2 1 1; 1 2 2], "conv"), 385s single (expected_conv)) 385s assert (imfilter (int8 (img), [0 1 0; 2 1 1; 1 2 2], "conv"), 385s int8 (expected_conv)) 385s assert (imfilter (uint8 (img), [0 1 0; 2 1 1; 1 2 2], "conv"), 385s uint8 (expected_conv)) 385s 385s ***** test 385s I = zeros (6); 385s I(2:3,2:3) = 1; 385s F = zeros (4); 385s F(2,2:3) = 1; 385s result = [0 0 0 0 0 0 385s 1 2 1 0 0 0 385s 1 2 1 0 0 0 385s 0 0 0 0 0 0 385s 0 0 0 0 0 0 385s 0 0 0 0 0 0]; 385s assert (imfilter (I, F), result) 385s 2 tests, 2 passed, 0 known failure, 0 skipped 385s [inst/getrangefromclass.m] 385s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/getrangefromclass.m 385s ***** shared img 385s img = ones (5); 385s ***** assert (getrangefromclass (double (img)), [0 1]); # double returns [0 1] 385s ***** assert (getrangefromclass (single (img)), [0 1]); # single returns [0 1] 385s ***** assert (getrangefromclass (logical (img)), [0 1]); # logical returns [0 1] 385s ***** assert (getrangefromclass (int8 (img)), [-128 127]); # checks int 385s ***** assert (getrangefromclass (uint8 (img)), [0 255]); # checks unit 385s ***** fail ("getrangefromclass ('string')"); # fails with strings 385s ***** fail ("getrangefromclass ({3, 4})"); # fails with cells 385s 7 tests, 7 passed, 0 known failure, 0 skipped 385s [inst/wiener2.m] 385s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/wiener2.m 385s ***** shared im0, im0_out, im0_n 385s im0 = ones (5, 5); 385s im0_out = ones (5, 5); 385s im0_out(1:4:5, 1:4:5) = 0.67111; 385s im0_out(1:4:5, 2:4) = 0.78074; 385s im0_out(2:4, 1:4:5) = 0.78074; 385s im0_n = 0.1462; 385s ***** error wiener2 () 385s ***** assert (wiener2 (im0)) 385s ***** assert (wiener2 (im0, [2, 3])) 385s ***** assert (wiener2 (im0, 0.5)) 385s ***** assert (wiener2 (im0, [2, 3], 0.5)) 385s ***** error wiener2 (im0, [2, 3], 0.5, 2) 385s ***** test 385s [im_out, noise_out] = wiener2 (im0); 385s assert (size (im_out), size (im0)) 385s assert (class (noise_out), "double") 385s assert (numel (noise_out), 1) 385s ***** assert (wiener2 (im0), im0_out, 1e-5) 385s ***** assert (wiener2 (single (im0)), single (im0_out), 1e-5) 385s ***** assert (class (wiener2 (single (im0))), "single") 385s ***** assert (wiener2 (im2uint8 (im0)), im2uint8 (im0_out)) 385s ***** assert (class (wiener2 (im2uint8 (im0))), "uint8") 385s ***** assert (wiener2 (im2uint16 (im0)), im2uint16 (im0_out), 1) 385s ***** assert (class (wiener2 (im2uint16 (im0))), "uint16") 385s ***** assert (wiener2 (im2int16 (im0)), im2int16 (im0_out), 1) 385s ***** assert (class (wiener2 (im2int16 (im0))), "int16") 385s ***** test 385s im_out = wiener2 (im0); 385s assert (im_out, im0_out, 1e-4) 385s [out, n] = wiener2 (im0); 385s assert (out, im0_out, 1e-4) 385s assert (n, im0_n, 1e-4) 385s ***** test 385s im1 = zeros (5, 5); 385s im1(2:4, 2:4) = 1; 385s im1_out = [ 385s 0.1111 0.2222 0.2726 0.2222 0.1111; 385s 0.2222 0.5911 0.7274 0.5911 0.2222; 385s 0.2726 0.7274 1.0000 0.7274 0.2726; 385s 0.2222 0.5911 0.7274 0.5911 0.2222; 385s 0.1111 0.2222 0.2726 0.2222 0.1111]; 385s im1_n = 0.1817; 385s im1_out_55 = [ 385s 0.1600 0.2400 0.2400 0.2400 0.1600; 385s 0.2400 0.4667 0.4667 0.4667 0.2400; 385s 0.2400 0.4667 0.4667 0.4667 0.2400; 385s 0.2400 0.4667 0.4667 0.4667 0.2400; 385s 0.1600 0.2400 0.2400 0.2400 0.1600]; 385s im1_n_55 = 0.1920; 385s im1_out_05 = [ 385s 0.1111 0.2222 0.3333 0.2222 0.1111; 385s 0.2222 0.4444 0.6667 0.4444 0.2222; 385s 0.3333 0.6667 1.0000 0.6667 0.3333; 385s 0.2222 0.4444 0.6667 0.4444 0.2222; 385s 0.1111 0.2222 0.3333 0.2222 0.1111]; 385s im1_out_55_05 = [ 385s 0.1600 0.2400 0.2400 0.2400 0.1600; 385s 0.2400 0.3600 0.3600 0.3600 0.2400; 385s 0.2400 0.3600 0.3600 0.3600 0.2400; 385s 0.2400 0.3600 0.3600 0.3600 0.2400; 385s 0.1600 0.2400 0.2400 0.2400 0.1600]; 385s im1_out_35 = [ 385s 0.1333 0.2000 0.2000 0.2000 0.1333; 385s 0.2642 0.5156 0.5156 0.5156 0.2642; 385s 0.3230 0.6770 0.6770 0.6770 0.3230; 385s 0.2642 0.5156 0.5156 0.5156 0.2642; 385s 0.1333 0.2000 0.2000 0.2000 0.1333]; 385s im1_out_51 = [ 385s 0 0.2400 0.2400 0.2400 0 385s 0 0.7600 0.7600 0.7600 0 385s 0 0.7600 0.7600 0.7600 0 385s 0 0.7600 0.7600 0.7600 0 385s 0 0.2400 0.2400 0.2400 0]; 385s assert (wiener2 (im1), im1_out, 1e-4) 385s [out, n] = wiener2 (im1); 385s assert (out, im1_out, 1e-4) 385s assert (n, im1_n, 1e-4) 385s assert (wiener2 (im1, [5, 5]), im1_out_55, 1e-4) 385s [out, n] = wiener2 (im1, [5, 5]); 385s assert (out, im1_out_55, 1e-4) 385s assert (n, im1_n_55, 1e-4) 385s assert (wiener2 (im1, 0.5), im1_out_05, 1e-4) 385s assert (wiener2 (im1, [5, 5], 0.5), im1_out_55_05, 1e-4) 385s assert (wiener2 (im1, [3, 5]), im1_out_35, 1e-4) 385s assert (wiener2 (im1, [5, 1]), im1_out_51, 1e-4) 385s ***** test 385s ## Tests for even-sized neighbourhood 385s im1 = zeros (5, 5); 385s im1(2:4, 2:4) = 1; 385s 385s im1_out_23 = [ 385s 0.1667 0.2233 0.2978 0.2233 0.1667 385s 0.2233 0.7767 1.0000 0.7767 0.2233 385s 0.2233 0.7767 1.0000 0.7767 0.2233 385s 0.1667 0.5533 0.7022 0.5533 0.1667 385s 0 0 0 0 0]; 385s 385s im1_out_43 = [ 385s 0.1667 0.2813 0.3750 0.2813 0.1667 385s 0.2500 0.6250 0.7500 0.6250 0.2500 385s 0.2500 0.6250 0.7500 0.6250 0.2500 385s 0.1667 0.4375 0.6250 0.4375 0.1667 385s 0.0833 0.1667 0.2500 0.1667 0.0833]; 385s 385s im1_out_44 = [ 385s 0.2500 0.3018 0.3018 0.2500 0.1250 385s 0.3018 0.6647 0.6647 0.4971 0.1875 385s 0.3018 0.6647 0.6647 0.4971 0.1875 385s 0.2500 0.4971 0.4971 0.2500 0.1250 385s 0.1250 0.1875 0.1875 0.1250 0.0625]; 385s 385s assert (wiener2 (im1, [2, 3]), im1_out_23, 1e-4) 385s assert (wiener2 (im1, [4, 3]), im1_out_43, 1e-4) 385s assert (wiener2 (im1, [4, 4]), im1_out_44, 1e-4) 385s ***** test 385s im2 = zeros (5, 5); 385s im2(2:4, 2:4) = 70; 385s im2(3, 3) = 90; 385s im2 = uint8 (im2); 385s im2_out = uint8 ([ 385s 8 16 20 16 8 ; 385s 16 46 54 46 16; 385s 20 54 72 54 20; 385s 16 46 54 46 16; 385s 8 16 20 16 8 ]); 385s im2_n = 0.0146; 385s im2_out_55 = uint8 ([ 385s 12 18 18 18 12; 385s 18 32 32 32 18; 385s 18 32 35 32 18; 385s 18 32 32 32 18; 385s 12 18 18 18 12]); 385s im2_n_55 = 0.0160; 385s im2_out_03 = uint8 ([ 385s 8 16 23 16 8 ; 385s 16 33 49 33 16; 385s 23 49 72 49 23; 385s 16 33 49 33 16; 385s 8 16 23 16 8 ]); 385s im2_n_03 = 0.3000; 385s [out, n] = wiener2 (im2); 385s assert (out, im2_out) 385s assert (n, im2_n, 1e-4) 385s [out, n] = wiener2 (im2, [5, 5]); 385s assert (out, im2_out_55) 385s assert (n, im2_n_55, 1e-4) 385s [out, n] = wiener2 (im2, 0.3); 385s assert (out, im2_out_03) 385s assert (n, im2_n_03, 1e-4) 385s ***** test 385s im3 = zeros (5, 5); 385s im3(2:4, 2:4) = 70; 385s im3(3, 3) = 20; 385s im3 = uint8 (im3); 385s im3_out = uint8 ([ 385s 8 16 19 16 8 ; 385s 16 32 47 32 16; 385s 19 47 64 47 19; 385s 16 32 47 32 16; 385s 8 16 19 16 8 ]); 385s im3_n = 0.0134; 385s [out, n] = wiener2 (im3); 385s assert (out, im3_out) 385s assert (n, im3_n, 1e-4) 385s ***** test 385s im4 = 50 .* ones (5, 5); 385s im4(:, 1) = 200; 385s im4(:, 2) = 100; 385s im4 = uint8 (im4); 385s im4_out = uint8 ([ 385s 148 90 44 33 22; 385s 161 111 67 50 33; 385s 161 111 67 50 33; 385s 161 111 67 50 33; 385s 148 90 44 33 22]); 385s im4_n = 0.0398; 385s [out, n] = wiener2 (im4); 385s assert (out, im4_out) 385s assert (n, im4_n, 1e-4) 385s ***** test 385s im5 = zeros (100, 100); 385s im5(30, 30) = 1; 385s im5_out_center = [ 385s 0 0 0 0 0 0 0; 385s 0 0 0 0 0 0 0; 385s 0 0 0.0001 0.0001 0.0001 0 0; 385s 0 0 0.0001 0.9992 0.0001 0 0; 385s 0 0 0.0001 0.0001 0.0001 0 0; 385s 0 0 0 0 0 0 0; 385s 0 0 0 0 0 0 0]; 385s im5_n = 8.8889e-5; 385s [out, n] = wiener2 (im5); 385s out_center = out(27:33, 27:33); 385s assert (out_center, im5_out_center, 1e-4) 385s assert (n, im5_n, 1e-4) 385s ***** test 385s im = zeros (100, 10, 10); 385s im(5, 5, 5) = 1; 385s 385s [out, n] = wiener2 (im, [3 3]); 385s expected_out = im; 385s expected_out(4:6,4:6,5) = [ 385s 0.0001 0.0001 0.0001 385s 0.0001 0.9992 0.0001 385s 0.0001 0.0001 0.0001]; 385s assert (out, expected_out, eps) 385s 385s [out, n] = wiener2 (im, [3 3 3]); 385s expected_out = im; 385s expected_out(4:6,4:6,4:6) = 0.0001; 385s expected_out(5,5,5) = 0.9974; 385s assert (out, expected_out, eps) 385s 385s ## Default in ND, use nhood 3 even for singleton dimensions. 385s assert (wiener2 (im), wiener2 (im, [3 3 3])) 385s 385s im = reshape (im, [100 10 1 10]); 385s expected_out = im; 385s expected_out(4:6,4:6,1,4:6) = 0.0001/3; 385s expected_out(5,5,1,5) = 1-(80*(0.0001/3)); 385s assert (wiener2 (im), wiener2 (im, [3 3 3 3])) 385s assert (wiener2 (im), expected_out, eps) 385s 385s expected_out = im; 385s expected_out(4:6,4:6,1,4:6) = 0.0001; 385s expected_out(5,5,1,5) = 0.9974; 385s assert (wiener2 (im, [3 3 1 3]), expected_out, eps) 385s ***** test 385s expected = [0.2222 0.3926 0.3926 0.3926 0.2222]; 385s assert (wiener2 (ones (1, 5)), expected, .0001) 385s ***** assert (wiener2 ([]), []) 385s ***** assert (wiener2 (logical ([0 0; 1 1])), true (2, 2)) 385s ***** demo 385s I = phantom (); 385s J = imnoise (I, "gaussian", 0, 0.02); 385s figure, imshow (J); 385s title ("Image with added Gaussian noise"); 385s K = wiener2 (J, [5 5]); 385s figure, imshow (K); 385s title ("Image with noise reduced by wiener2 filtering"); 385s 27 tests, 27 passed, 0 known failure, 0 skipped 385s [inst/stretchlim.m] 385s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/stretchlim.m 385s ***** error (stretchlim ()); 386s ***** error (stretchlim ("bad parameter")); 386s ***** error (stretchlim (zeros (10, 10), "bad parameter")); 386s ***** error (stretchlim (zeros (10, 10), 0.01, 2)); 386s ***** assert (stretchlim (0.01:.01:1), [0.02; 0.99]) 386s ***** assert (stretchlim (0.01:.01:1), stretchlim (0.01:.01:1, [0.01 0.99])) 386s ***** assert (stretchlim (0.01:.01:1, 0.15), stretchlim (0.01:.01:1, [0.15 0.85])) 386s ***** assert (stretchlim (0.01:.01:1, [0.01,0.95]), [0.02; 0.95], eps) 386s ***** assert (stretchlim (0.01:.01:1, 0), [0.01; 1]) 386s ***** test 386s im = rand (5); 386s assert (stretchlim (im, 0), [min(im(:)); max(im(:))]) 386s ***** test 386s im = rand (5, 5, 3); 386s assert (stretchlim (im, 0), 386s [min(im(:,:,1)(:)) min(im(:,:,2)(:)) min(im(:,:,3)(:)); 386s max(im(:,:,1)(:)) max(im(:,:,2)(:)) max(im(:,:,3)(:))]) 386s ***** test 386s im = rand (5); 386s assert (stretchlim (im, 0.03), [min(im(:)); max(im(:))]) 386s assert (stretchlim (im, 0.0399), [min(im(:)); max(im(:))]) 386s ***** assert (stretchlim (uint8 (1:100)), im2double (uint8 ([2; 99]))) 386s ***** assert (stretchlim (uint8 (1:100), .25), im2double (uint8 ([26; 75]))) 386s ***** assert (stretchlim (uint16 (1:1000)), im2double (uint16 ([11; 990]))) 386s ***** assert (stretchlim (int16 (-100:100)), im2double (int16 ([-98; 98]))) 386s ***** assert (stretchlim (single (0.01:.01:1)), 386s double (single (0.01:.01:1)([2; 99])).') 386s ***** assert (stretchlim (uint8 ([1 repmat(2, [1, 90]) 92:100]), 0.05), 386s im2double (uint8 ([2; 95]))) 386s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 4]) 6:100]), 0.05), 386s im2double (uint8 ([6; 95]))) 386s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 5]) 7:100]), 0.05), 386s im2double (uint8 ([2; 95]))) 386s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 6]) 8:100]), 0.05), 386s im2double (uint8 ([2; 95]))) 386s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 7]) 9:100]), 0.05), 386s im2double (uint8 ([2; 95]))) 386s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 8]) 10:100]), 0.05), 386s im2double (uint8 ([2; 95]))) 386s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 5]) repmat(3, [1 5]) 9:100]), 0.04), 386s im2double (uint8 ([2; 96]))) 386s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 5]) repmat(3, [1 5]) 9:100]), 0.05), 386s im2double (uint8 ([2; 95]))) 386s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 5]) repmat(3, [1 5]) 9:100]), 0.06), 386s im2double (uint8 ([3; 94]))) 386s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 5]) repmat(3, [1 5]) 9:100]), 0.07), 386s im2double (uint8 ([3; 93]))) 386s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 5]) repmat(3, [1 5]) 9:100]), 0.08), 386s im2double (uint8 ([3; 92]))) 386s ***** test 386s RGB = zeros (100, 1, 3, "uint16"); 386s RGB(:,:,1) = [1:1:100]; 386s RGB(:,:,2) = [2:2:200]; 386s RGB(:,:,3) = [4:4:400]; 386s assert (stretchlim (RGB) , im2double (uint16 ([2 4 8; 99 198 396]))) 386s ***** test 386s im6c = zeros (100, 1, 6, "uint16"); 386s im6c(:,:,1) = [1:1:100]; 386s im6c(:,:,2) = [2:2:200]; 386s im6c(:,:,3) = [4:4:400]; 386s im6c(:,:,4) = [8:8:800]; 386s im6c(:,:,5) = [16:16:1600]; 386s im6c(:,:,6) = [32:32:3200]; 386s assert (stretchlim (im6c) , 386s im2double (uint16 ([2 4 8 16 32 64; 99 198 396 792 1584 3168]))) 386s ***** test 386s im = [0 0 .1 .1 .1 .1 .2 .2 .2 .4 .4 .6 .6 .7 .7 .9 .9 .9 1 1]; 386s 386s assert (stretchlim (im), [0; 1]) 386s 386s ## Consider the returned lower limit in this test. A lower limit 386s ## of 0.1 will saturate two elements (10%), while 0.2 will saturate 386s ## 6 elements (30%). Both have the same distance to 20% but returning 386s ## 0.1 is Matlab compatible. 386s ## Now looking at the higher limit. A limit of .9 will saturate 386s ## 2 elements (10%), while a limit of 0.7 will saturate 5 elements (25%). 386s ## However, for Matlab compatibility we must return .9 even though 386s ## 25% would be closer to 20%. 386s ## Basically, it's not just rounded. 386s assert (stretchlim (im, .2), [0.1; 0.9]) 386s 386s assert (stretchlim (im, .15), [0.1; 0.9]) 386s assert (stretchlim (im, .1), [0.1; 0.9]) 386s assert (stretchlim (im, .25), [0.1; 0.7]) 386s 386s ## Reorder the vector of values (real images don't have the values 386s ## already sorted), just to be sure it all works. 386s im([6 3 16 11 7 17 14 8 5 19 15 1 2 4 18 13 9 20 10 12]) = im; 386s assert (stretchlim (im, .2), [0.1; 0.9]) 386s assert (stretchlim (im, .15), [0.1; 0.9]) 386s assert (stretchlim (im, .1), [0.1; 0.9]) 386s assert (stretchlim (im, .25), [0.1; 0.7]) 386s ***** assert (stretchlim (0.01:.001:1), [0.019; 0.991], eps) 386s ***** assert (stretchlim (0.01:.001:1, [0.01,0.95]), [0.019; 0.951], eps) 386s ***** assert (stretchlim (0.01:.001:1, 0), [0.01; 1]) 386s ***** assert (stretchlim (single (0.01:.001:1)), 386s double (single (0.01:.001:1)([10; 982])).') 386s ***** xtest 386s assert (stretchlim ([(.05:.05:1) (2:4)], 0.2), [0.25; 0.95], eps) 386s assert (stretchlim ([(.05:.05:1) (2:5)], 0.2), [0.25; 1]) 386s assert (stretchlim ([(.05:.05:1) (2:6)], 0.2), [0.3; 1]) 386s assert (stretchlim ([(.05:.05:1) (2:7)], 0.2), [0.3; 1]) 386s ***** test 386s assert (stretchlim ([(-6:0) (.05:.05:1)], 0.2), [0; 0.75], eps) 386s assert (stretchlim ([(-5:0) (.05:.05:1)], 0.2), [0; 0.75], eps) 386s ***** test 386s im = rand (4, 4, 2, 3, 2); 386s rv = zeros (2, 2, 3, 2); 386s for p = 1:2 386s for q = 1:3 386s for r = 1:2 386s rv(:,p,q,r) = stretchlim (im(:,:,p,q,r), 0.25); 386s endfor 386s endfor 386s endfor 386s assert (stretchlim (im, 0.25), rv) 386s ***** test 386s im = rand (4, 4, 2, 3, 2); 386s rv = zeros (2, 2, 3, 2); 386s for p = 1:2 386s for q = 1:3 386s for r = 1:2 386s rv(:,p,q,r) = stretchlim (im(:,:,p,q,r), 0); 386s endfor 386s endfor 386s endfor 386s assert (stretchlim (im, 0), rv) 386s ***** assert (stretchlim (zeros (5)), [0; 1]) 386s ***** assert (stretchlim (ones (5)), [0; 1]) 386s ***** assert (stretchlim (.6 * ones (5)), [0; 1]) 386s ***** assert (stretchlim (zeros (3, 3, 3, 3)), repmat ([0; 1], [1 3 3])) 386s ***** assert (stretchlim ([0 .5 .5 .5 .5 1], .2), [0; 1]) 386s ***** test 386s im = repmat ((magic (5) -1) / 24, [1 1 3 3]); 386s im(:,:,1,1) = 0; 386s im(:,:,2,2) = .5; 386s im(:,:,3,3) = 1; 386s lims = stretchlim (im, 0.2); 386s assert (size (lims), [2 3 3]) 386s assert (lims(:, [2 3 4 6 7 8]), 386s repmat ([(1/24)*round(24*.2); 1-((1/24)*round(24*.2))], [1 6]), eps) 386s assert (lims(:, [1 5 9]), repmat ([0; 1], [1 3])) 386s 45 tests, 45 passed, 0 known failure, 0 skipped 386s [inst/xyz2rgb.m] 386s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/xyz2rgb.m 386s ***** assert (xyz2rgb ([0, 0, 0]), [0 0 0], 1e-3) 386s ***** assert (xyz2rgb ([0.4125, 0.2127, 0.0193]), [1 0 0], 1e-3) 386s ***** assert (xyz2rgb ([0.7700, 0.9278, 0.1385]), [1 1 0], 1e-3) 386s ***** assert (xyz2rgb ([0.3576, 0.7152, 0.1192]), [0 1 0], 1e-3) 386s ***** assert (xyz2rgb ([0.5380, 0.7873, 1.0694]), [0 1 1], 1e-3) 386s ***** assert (xyz2rgb ([0.1804, 0.07217, 0.9502]), [0 0 1], 1e-3) 386s ***** assert (xyz2rgb ([0.5929, 0.28484, 0.9696]), [1 0 1], 1e-3) 386s ***** assert (xyz2rgb ([0.9505, 1.0000, 1.0888]), [1 1 1], 1e-3) 386s ***** assert (xyz2rgb ([0.2034, 0.2140, 0.2330]), [0.5 0.5 0.5], 1e-3) 386s ***** assert (xyz2rgb ([0.2155, 0.1111, 0.0101]), [0.75 0 0], 1e-3) 386s ***** assert (xyz2rgb ([0.0883, 0.0455, 0.0041]), [0.5 0 0], 1e-3) 386s ***** assert (xyz2rgb ([0.0210, 0.0108, 0.0010]), [0.25 0 0], 1e-3) 386s ***** assert (xyz2rgb ([0.5276, 0.3812, 0.2482]), [1 0.5 0.5], 1e-3) 386s ***** assert (xyz2rgb ([1.5 1 1]), [1.5712, 0.7109 0.9717], 1e-3) 386s ***** test 386s xyz_map = rand (64, 3); 386s assert (rgb2xyz (xyz2rgb (xyz_map)), xyz_map, 3e-4); 386s ***** test 386s xyz_img = rand (64, 64, 3); 386s assert (rgb2xyz (xyz2rgb (xyz_img)), xyz_img, 3e-4); 386s ***** assert (xyz2rgb (sparse ([0 0 0])), [0 0 0], 1e-3) 386s ***** assert (class (xyz2rgb (single([0.5 0.5 0.5]))), 'single') 386s ***** error xyz2rgb () 386s ***** error xyz2rgb (1,2) 386s ***** error xyz2rgb ({1}) 386s ***** error xyz2rgb (ones (2,2)) 386s ***** test 386s xyz = rand (16, 16, 3, 5); 386s rgb = zeros (size (xyz)); 386s for i = 1:5 386s rgb(:,:,:,i) = xyz2rgb (xyz(:,:,:,i)); 386s endfor 386s assert (xyz2rgb (xyz), rgb) 386s 23 tests, 23 passed, 0 known failure, 0 skipped 386s [inst/cp2tform.m] 386s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/cp2tform.m 386s ***** function [crw, cap] = coords (npt = 1000, scale = 2, dtheta = pi/3, 386s dx = 2, dy = -6, sig2noise = 1e32) 386s theta = (rand(npt, 1)*2-1)*2*pi; 386s R = rand(npt,1); 386s y = R.*sin(theta); 386s x = R.*cos(theta); 386s crw = [y x]; 386s 386s thetap = theta + dtheta; 386s Rap = R * scale; 386s 386s yap = Rap.*sin(thetap); 386s yap = yap + dy; 386s yap = yap + rand (size (yap)) * norm (yap) / sig2noise; 386s 386s xap = Rap.*cos(thetap); 386s xap = xap + dx; 386s xap = xap + rand (size (xap)) * norm (xap) / sig2noise; 386s cap = [yap xap]; 386s ***** endfunction 386s ***** test 386s npt = 100000; 386s [crw, cap] = coords (npt); 386s ttype = 'projective'; 386s T = cp2tform (crw, cap, ttype); 386s crw2 = tforminv (T, cap); 386s finalerr = norm (crw - crw2)/npt; 386s assert (finalerr < 2*eps, "norm = %3.2e ( > 2*eps)", finalerr) 386s ***** test 386s npt = 100000; 386s [crw, cap] = coords (npt); 386s ttype = 'affine'; 386s T = cp2tform (crw, cap, ttype); 386s crw2 = tforminv (T, cap); 386s finalerr = norm (crw - crw2)/npt; 386s assert (finalerr < 2*eps, "norm = %3.2e ( > 2*eps)", finalerr) 386s ***** xtest 386s npt = 100000; 386s [crw, cap] = coords (npt); 386s ttype = 'nonreflective similarity'; 386s T = cp2tform (crw, cap, ttype); 386s crw2 = tforminv (T, cap); 386s finalerr = norm (crw - crw2)/npt; 386s assert (finalerr < 3*eps, "norm = %3.2e ( > 3*eps)", finalerr) 386s ***** test 386s npt = 100000; 386s [crw, cap] = coords (npt); 386s cap(:,2) *= -1; % reflection around y axis 386s ttype = 'similarity'; 386s T = cp2tform (crw, cap, ttype); 386s crw2 = tforminv (T, cap); 386s finalerr = norm (crw - crw2)/npt; 386s assert (finalerr < 3*eps, "norm = %3.2e ( > 3*eps)", finalerr) 386s ***** xtest 386s npt = 100000; 386s [crw, cap] = coords (npt); 386s ttype = 'polynomial'; 386s ord = 2; 386s T = cp2tform (crw, cap, ttype, ord); 386s crw2 = tforminv (T, cap); 386s finalerr = norm (crw - crw2)/npt; 386s assert (finalerr < eps, "norm = %3.2e ( > eps)", finalerr) 386s ***** xtest 386s npt = 100000; 386s [crw, cap] = coords (npt); 386s ttype = 'polynomial'; 386s ord = 3; 386s T = cp2tform (crw, cap, ttype, ord); 386s crw2 = tforminv (T, cap); 386s finalerr = norm (crw - crw2)/npt; 386s assert (finalerr < eps, "norm = %3.2e ( > eps)", finalerr) 386s ***** xtest 386s npt = 100000; 386s [crw, cap] = coords (npt); 386s ttype = 'polynomial'; 386s ord = 4; 386s T = cp2tform (crw, cap, ttype, ord); 386s crw2 = tforminv (T, cap); 386s finalerr = norm (crw - crw2)/npt; 386s assert (finalerr < 6*eps, "norm = %3.2e ( > 6*eps)", finalerr) 387s 7 tests, 7 passed, 0 known failure, 0 skipped 387s [inst/fftconvn.m] 387s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/fftconvn.m 387s ***** function test_shapes (a, b, precision) 387s shapes = {"valid", "same", "full"}; 387s for i = 1:3 387s shape = shapes{i}; 387s assert (fftconvn (a, b, shape), convn (a, b, shape), precision); 387s endfor 387s assert (fftconvn (a, b), fftconvn (a, b, "full")); 387s ***** endfunction 387s ***** test test_shapes (randi (255, 100), randi (255, 10), 0.1) 387s ***** test test_shapes (randi (255, 100, 100), randi (255, 10, 10), 0.1) 387s ***** test test_shapes (randi (255, 100, 100, 100), randi (255, 10, 10, 10), 0.1) 389s ***** test test_shapes (randi (255, 100, 50, 20), randi (255, 10, 7), 0.1) 389s ***** test test_shapes (randi (255, 100, 50, 20), randi (255, 10), 0.1) 389s ***** test 389s for s = [55 56 57 58] 389s test_shapes (randi (255, 200, 200), randi (255, s, s), 0.1) 389s endfor 390s ***** test 390s for s = [203 204 205 206] 390s test_shapes (randi (255, s, s), randi (255, 52, 52), 0.1) 390s endfor 391s ***** test test_shapes (randi (255, 100, 100, "uint8"), randi (255, 10, 10, "uint8"), 0.1) 391s ***** test test_shapes (randi (255, 100, 100, "uint8"), randi (255, 10, 10), 0.1) 391s ***** test test_shapes (randi (255, 100, 100, "single"), randi (255, 10, 10, "single"), 0.9) 391s ***** test test_shapes (randi (255, 100, 100, "single"), randi (255, 10, 10), 0.9) 391s 11 tests, 11 passed, 0 known failure, 0 skipped 391s [inst/lab2rgb.m] 391s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/lab2rgb.m 391s ***** assert (lab2rgb ([0 0 0]), [0, 0, 0], 1e-3) 391s ***** assert (lab2rgb ([53.24, 80.09, 67.20]), [1 0 0], 1e-3) 391s ***** assert (lab2rgb ([97.14, -21.55, 94.48]), [1 1 0], 1e-3) 391s ***** assert (lab2rgb ([87.74, -86.18, 83.18]), [0 1 0], 1e-3) 391s ***** assert (lab2rgb ([91.11, -48.09, -14.13]), [0 1 1], 1e-3) 391s ***** assert (lab2rgb ([32.30, 79.19, -107.86]), [0 0 1], 1e-3) 391s ***** assert (lab2rgb ([60.32, 98.24, -60.83]), [1 0 1], 1e-3) 391s ***** assert (lab2rgb ([100, 0.00, 0.00]), [1 1 1], 1e-3) 391s ***** assert (lab2rgb ([53.39, 0.00, 0.00]), [0.5 0.5 0.5], 1e-3) 391s ***** assert (lab2rgb ([39.77, 64.51, 54.13]), [0.75 0 0], 1e-3) 391s ***** assert (lab2rgb ([25.42, 47.91, 37.91]), [0.5 0 0], 1e-3) 391s ***** assert (lab2rgb ([9.66, 29.68, 15.24]), [0.25 0 0], 1e-3) 391s ***** assert (lab2rgb ([68.11, 48.39, 22.83]), [1 0.5 0.5], 1e-3) 391s ***** assert (lab2rgb ([150 130 130]), [2.714, 1.028, 0.492], 1e-3) 391s ***** test 391s lab_map = rand (64, 3); 391s lab_map(:,1) = lab_map(:,1) .* 100; 391s lab_map(:,2) = lab_map(:,2) .* 254 - 127; 391s lab_map(:,3) = lab_map(:,3) .* 254 - 127; 391s assert (rgb2lab (lab2rgb (lab_map)), lab_map, 5e-3); 391s ***** test 391s lab_img = rand (64, 64, 3); 391s lab_img(:,:,1) = lab_img(:,:,1) .* 100; 391s lab_img(:,:,2) = lab_img(:,:,2) .* 254 - 127; 391s lab_img(:,:,3) = lab_img(:,:,3) .* 254 - 127; 391s assert (rgb2lab (lab2rgb (lab_img)), lab_img, 5e-3); 391s ***** assert (lab2rgb (sparse ([0 0 0])), [0 0 0], 1e-3) 391s ***** assert (lab2rgb (sparse ([100, 0.00, 0.00])), [1 1 1], 1e-3) 391s ***** assert (class (lab2rgb (single([50 50 50]))), 'single') 391s ***** error lab2rgb () 391s ***** error lab2rgb (1,2) 391s ***** error lab2rgb ({1}) 391s ***** error lab2rgb (ones (2,2)) 391s ***** test 391s lab = rand (16, 16, 3, 5); 391s lab(:,:,1,:) = lab(:,:,1,:) .* 100; 391s lab(:,:,2,:) = lab(:,:,2,:) .* 254 - 127; 391s lab(:,:,3,:) = lab(:,:,3,:) .* 254 - 127; 391s rgb = zeros (size (lab)); 391s for i = 1:5 391s rgb(:,:,:,i) = lab2rgb (lab(:,:,:,i)); 391s endfor 391s assert (lab2rgb (lab), rgb) 391s 24 tests, 24 passed, 0 known failure, 0 skipped 391s [inst/ordfilt2.m] 391s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/inst/ordfilt2.m 391s ***** test 391s order = 3; 391s domain = ones (3); 391s A = zeros (3,3); 391s B = ones (3,3); 391s C = [1 1 1; 2 2 2; 3 3 3]; 391s D = C'; 391s E = ones (3,3); 391s E(2,2) = 2; 391s F = 3 .* ones (3,3); 391s F(2,2) = 1; 391s G = [-1 2 7; -5 2 8; -7 pi 9]; 391s H = [5 2 8; 1 -3 1; 5 1 0]; 391s A_out = [0 0 0; 0 0 0; 0 0 0]; 391s B_out = [0 0 0; 0 1 0; 0 0 0]; 391s C_out = [0 0 0; 0 1 0; 0 0 0]; 391s D_out = [0 0 0; 0 1 0; 0 0 0]; 391s E_out = [0 0 0; 0 1 0; 0 0 0]; 391s F_out = [0 0 0; 0 3 0; 0 0 0]; 391s G_out = [0 0 0; -1 -1 0; 0 0 0]; 391s H_out = [0 0 0; 0 1 0; 0 0 0]; 391s assert (ordfilt2 (A, order, domain), A_out); 391s assert (ordfilt2 (B, order, domain), B_out); 391s assert (ordfilt2 (C, order, domain), C_out); 391s assert (ordfilt2 (D, order, domain), D_out); 391s assert (ordfilt2 (E, order, domain), E_out); 391s assert (ordfilt2 (F, order, domain), F_out); 391s assert (ordfilt2 (G, order, domain), G_out); 391s assert (ordfilt2 (H, order, domain), H_out); 391s 1 test, 1 passed, 0 known failure, 0 skipped 391s Checking C++ files ... 391s [src/bwfill.cc] 391s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/src/bwfill.cc 391s ***** test 391s A = [0 1 0 0 1; 1 0 1 0 0; 1 0 1 1 0; 1 1 1 0 0; 1 0 0 1 0]; 391s R4 = logical(ones(5)); 391s R8 = logical([1 1 0 0 1; 1 0 1 0 0; 1 0 1 1 0; 1 1 1 0 0; 1 0 0 1 0]); 391s assert (bwfill (A,1,1,4), R4) 391s assert (bwfill (A,1,1,8), R8) 391s assert (bwfill (A,1,1), R8) 391s B = logical([0 1 0 0 1; 1 0 1 0 0; 1 0 1 1 0; 1 1 1 0 0; 1 0 0 1 0]); 391s assert (bwfill (A,3,3,4), B) 391s assert (bwfill (A,3,3,8), B) 391s assert (bwfill (A,3,3), B) 391s C = logical ([0 1 1 1 1; 1 0 1 1 1; 1 0 1 1 1; 1 1 1 1 1; 1 0 0 1 1]); 391s assert (bwfill (A,3,1,8), C) 391s assert (bwfill (A,3,1,4), R4) 391s assert (bwfill (A, [3 1], [1 3], 4), R4); 391s D = logical([0 1 1 1 1; 1 0 1 1 1; 1 0 1 1 1; 1 1 1 1 1; 1 0 0 1 1]); 391s assert (bwfill (A, [3 1], [1 3], 8), D); 391s assert (bwfill (A, [3 1], [1 3]), D); 391s E = logical ([0 1 0 0 1; 1 0 1 0 0; 1 0 1 1 0; 1 1 1 0 0; 1 0 0 1 0]); 391s assert (bwfill (A, "holes", 4), E); 391s F = logical ([1 1 0 0 1; 1 1 1 0 0; 1 1 1 1 0; 1 1 1 0 0; 1 0 0 1 0]); 391s assert (bwfill (A, "holes", 8), F); 391s assert (bwfill (A, "holes"), F); 391s ***** error id=Octave:invalid-fun-call bwfill () 391s ***** error id=Octave:invalid-fun-call bwfill ("aaa") 392s ***** error id=Octave:invalid-fun-call bwfill (rand (5) > 0.5) 392s ***** error id=Octave:invalid-fun-call bwfill (rand (5) > 0.5, 2) 392s ***** error bwfill (rand (5) > 0.5, "holes", 1) 392s ***** error bwfill (rand (5) > 0.5, 2, 2, 5) 392s ***** error id=Octave:invalid-fun-call bwfill (rand (5) > 0.5, "xxx") 392s ***** error id=Octave:invalid-fun-call bwfill (rand (5) > 0.5, 2, 2, 4, 5) 392s ***** error id=Octave:invalid-fun-call bwfill (rand (5) > 0.5, "holes", 4, 2) 392s 10 tests, 10 passed, 0 known failure, 0 skipped 392s [src/conndef.cc] 393s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/src/conndef.cc 393s ***** assert (conndef (1, "minimal"), [1; 1; 1]); 393s ***** assert (conndef (2, "minimal"), [0 1 0; 1 1 1; 0 1 0]); 393s ***** test 393s C = zeros (3, 3, 3); 393s C(:,2,2) = 1; 393s C(2,:,2) = 1; 393s C(2,2,:) = 1; 393s assert (conndef (3, "minimal"), C); 393s ***** test 393s C = zeros (3, 3, 3, 3); 393s C(:,:,2,1) = [0 0 0 393s 0 1 0 393s 0 0 0]; 393s C(:,:,1,2) = [0 0 0 393s 0 1 0 393s 0 0 0]; 393s C(:,:,2,2) = [0 1 0 393s 1 1 1 393s 0 1 0]; 393s C(:,:,3,2) = [0 0 0 393s 0 1 0 393s 0 0 0]; 393s C(:,:,2,3) = [0 0 0 393s 0 1 0 393s 0 0 0]; 393s assert (conndef (4, "minimal"), C); 393s ***** assert (conndef (1, "maximal"), ones (3, 1)); 393s ***** assert (conndef (2, "maximal"), ones (3, 3)); 393s ***** assert (conndef (3, "maximal"), ones (3, 3, 3)); 393s ***** assert (conndef (4, "maximal"), ones (3, 3, 3, 3)); 393s ***** assert (nnz (conndef (3, "minimal")), 7) 393s ***** assert (nnz (conndef (4, "minimal")), 9) 393s ***** assert (nnz (conndef (5, "minimal")), 11) 393s ***** assert (nnz (conndef (6, "minimal")), 13) 393s ***** assert (find (conndef (3, "minimal")), [5 11 13 14 15 17 23](:)) 393s ***** assert (find (conndef (4, "minimal")), [14 32 38 40 41 42 44 50 68](:)) 393s ***** assert (find (conndef (5, "minimal")), 393s [ 41 95 113 119 121 122 123 125 131 149 203](:)) 393s ***** assert (find (conndef (6, "minimal")), 393s [ 122 284 338 356 362 364 365 366 368 374 392 446 608](:)) 393s ***** error conndef () 393s ***** error conndef (-2, "minimal") 393s ***** error conndef (char (2), "minimal") 393s ***** error conndef ("minimal", 3) 393s ***** error conndef (3, "invalid") 393s ***** error conndef (10) 393s ***** assert (conndef (2, "minimal"), conndef (4)) 393s ***** assert (conndef (2, "maximal"), conndef (8)) 393s ***** assert (conndef (3, "minimal"), conndef (6)) 393s ***** assert (conndef (3, "maximal"), conndef (26)) 393s ***** assert (conndef (18), reshape ([0 1 0 1 1 1 0 1 0 393s 1 1 1 1 1 1 1 1 1 393s 0 1 0 1 1 1 0 1 0], [3 3 3])) 393s ***** test iptcheckconn ( 4, "func", "var") 393s ***** test iptcheckconn ( 6, "func", "var") 393s ***** test iptcheckconn ( 8, "func", "var") 393s ***** test iptcheckconn (18, "func", "var") 393s ***** test iptcheckconn (26, "func", "var") 393s ***** test iptcheckconn (1, "func", "var") 393s ***** test iptcheckconn (ones (3, 1), "func", "var") 393s ***** test iptcheckconn (ones (3, 3), "func", "var") 393s ***** test iptcheckconn (ones (3, 3, 3), "func", "var") 393s ***** test iptcheckconn (ones (3, 3, 3, 3), "func", "var") 393s ***** error 393s iptcheckconn (3, "func", "VAR"); 393s ***** error 393s iptcheckconn ([1 1 1; 1 0 1; 1 1 1], "func", "VAR"); 393s ***** error 393s iptcheckconn ([1 2 1; 1 1 1; 1 1 1], "func", "VAR"); 393s ***** error 393s iptcheckconn ([0 1 1; 1 1 1; 1 1 1], "func", "VAR"); 393s ***** error 393s iptcheckconn (ones (3, 3, 3, 4), "func", "VAR"); 393s 42 tests, 42 passed, 0 known failure, 0 skipped 393s [src/bwdist.cc] 393s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/src/bwdist.cc 393s ***** shared bw 393s 393s bw = [0 1 0 1 0 1 1 0 393s 0 0 0 1 1 0 0 0 393s 0 0 0 1 1 0 0 0 393s 0 0 0 1 1 0 0 0 393s 0 0 1 1 1 1 1 1 393s 1 1 1 1 0 0 0 1 393s 1 1 1 0 0 0 1 0 393s 0 0 1 0 0 0 1 1]; 393s ***** test 393s out = [ 1.00000 0.00000 1.00000 0.00000 1.00000 0.00000 0.00000 1.00000 393s 1.41421 1.00000 1.00000 0.00000 0.00000 1.00000 1.00000 1.41421 393s 2.23607 2.00000 1.00000 0.00000 0.00000 1.00000 2.00000 2.00000 393s 2.00000 1.41421 1.00000 0.00000 0.00000 1.00000 1.00000 1.00000 393s 1.00000 1.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 393s 0.00000 0.00000 0.00000 0.00000 1.00000 1.00000 1.00000 0.00000 393s 0.00000 0.00000 0.00000 1.00000 1.41421 1.00000 0.00000 1.00000 393s 1.00000 1.00000 0.00000 1.00000 2.00000 1.00000 0.00000 0.00000]; 393s out = single (out); 393s 393s assert (bwdist (bw), out, 0.0001); # default is euclidean 393s assert (bwdist (bw, "euclidean"), out, 0.0001); 393s assert (bwdist (logical (bw), "euclidean"), out, 0.0001); 393s ***** test 393s out = [ 1 0 1 0 1 0 0 1 393s 1 1 1 0 0 1 1 1 393s 2 2 1 0 0 1 2 2 393s 2 1 1 0 0 1 1 1 393s 1 1 0 0 0 0 0 0 393s 0 0 0 0 1 1 1 0 393s 0 0 0 1 1 1 0 1 393s 1 1 0 1 2 1 0 0]; 393s out = single (out); 393s 393s assert (bwdist (bw, "chessboard"), out); 393s ***** test 393s out = [ 1 0 1 0 1 0 0 1 393s 2 1 1 0 0 1 1 2 393s 3 2 1 0 0 1 2 2 393s 2 2 1 0 0 1 1 1 393s 1 1 0 0 0 0 0 0 393s 0 0 0 0 1 1 1 0 393s 0 0 0 1 2 1 0 1 393s 1 1 0 1 2 1 0 0]; 393s out = single (out); 393s 393s assert (bwdist (bw, "cityblock"), out); 393s ***** test 393s out = [ 1.00000 0.00000 1.00000 0.00000 1.00000 0.00000 0.00000 1.00000 393s 1.41421 1.00000 1.00000 0.00000 0.00000 1.00000 1.00000 1.41421 393s 2.41421 2.00000 1.00000 0.00000 0.00000 1.00000 2.00000 2.00000 393s 2.00000 1.41421 1.00000 0.00000 0.00000 1.00000 1.00000 1.00000 393s 1.00000 1.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 393s 0.00000 0.00000 0.00000 0.00000 1.00000 1.00000 1.00000 0.00000 393s 0.00000 0.00000 0.00000 1.00000 1.41421 1.00000 0.00000 1.00000 393s 1.00000 1.00000 0.00000 1.00000 2.00000 1.00000 0.00000 0.00000]; 393s out = single (out); 393s 393s assert (bwdist (bw, "quasi-euclidean"), out, 0.0001); 393s 393s bw(logical (bw)) = 3; # there is no actual check if matrix is binary or 0 and 1 393s assert (bwdist (bw, "quasi-euclidean"), out, 0.0001); 393s 393s bw(logical (bw)) = -2; # anything non-zero is considered object 393s assert (bwdist (bw, "quasi-euclidean"), out, 0.0001); 393s ***** test 393s bw = [ 1 1 1 1 0 1 1 1 1 393s 1 1 1 1 0 1 1 1 1 393s 1 1 0 1 1 1 1 1 1 393s 0 1 1 1 1 1 1 1 1]; 393s 393s dist = [ 0 0 0 0 1 0 0 0 0 393s 0 0 0 0 1 0 0 0 0 393s 0 0 1 0 0 0 0 0 0 393s 1 0 0 0 0 0 0 0 0]; 393s dist = single (dist); 393s 393s c = [ 1 5 9 13 13 21 25 29 33 393s 2 6 10 14 14 22 26 30 34 393s 3 7 10 15 19 23 27 31 35 393s 8 8 12 16 20 24 28 32 36]; 393s c = uint32 (c); 393s 393s [dout, cout] = bwdist (bw, "euclidean"); 393s assert (dout, dist) 393s assert (cout, c) 393s ***** test 393s bw = [ 0 1 1 0 0 0 1 0 393s 0 0 0 0 0 0 0 0 393s 1 1 0 0 0 0 0 0 393s 0 0 0 0 0 0 1 0 393s 0 0 0 0 1 0 0 1 393s 0 0 0 0 0 0 0 0 393s 1 0 0 0 0 0 0 0 393s 0 0 1 0 0 1 1 0]; 393s out = single ([ 393s 1.00000 0.00000 0.00000 1.00000 2.00000 1.00000 0.00000 1.00000 393s 1.00000 1.00000 1.00000 sqrt(2) sqrt(2)+1 sqrt(2) 1.00000 sqrt(2) 393s 0.00000 0.00000 1.00000 2.00000 2.00000 sqrt(2) 1.00000 sqrt(2) 393s 1.00000 1.00000 sqrt(2) sqrt(2) 1.00000 1.00000 0.00000 1.00000 393s 2.00000 2.00000 2.00000 1.00000 0.00000 1.00000 1.00000 0.00000 393s 1.00000 sqrt(2) 2.00000 sqrt(2) 1.00000 sqrt(2) sqrt(2) 1.00000 393s 0.00000 1.00000 1.00000 sqrt(2) sqrt(2) 1.00000 1.00000 sqrt(2) 393s 1.00000 1.00000 0.00000 1.00000 1.00000 0.00000 0.00000 1.00000 393s ]); 393s assert (bwdist (bw, "quasi-euclidean"), out); 393s ***** error bwdist (bw, "not a valid method"); 393s ***** test 393s ## Special case of there being no foreground element (bug #50874) 393s expected_dist = single (Inf (2, 2)); 393s expected_idx = uint32 ([0 0; 0 0]); 393s 393s [dist, idx] = bwdist (false (2, 2)); 393s assert (dist, expected_dist) 393s assert (idx, expected_idx) 393s 393s [dist, idx] = bwdist (zeros (2, 2)); 393s assert (dist, expected_dist) 393s assert (idx, expected_idx) 393s ***** test 393s ## Special case of 1D input (bug #50874) 393s assert (bwdist ([1 0]), single ([0 1])) 393s assert (bwdist ([1 0]'), single ([0 1]')) 393s assert (bwdist ([0 1 0 0 0 0 1 1]), single ([1 0 1 2 2 1 0 0])) 393s assert (bwdist ([1 1 0 0 0 0 1 1]'), single ([0 0 1 2 2 1 0 0])') 393s assert (bwdist ([1 0], "euclidean"), single ([0 1])) 393s assert (bwdist ([1 0], "chessboard"), single ([0 1])) 393s assert (bwdist ([1 0], "cityblock"), single ([0 1])) 393s assert (bwdist ([1 0], "quasi-euclidean"), single ([0 1])) 393s ***** test 393s ## test 1D input with 2nd output argument (indices) (bug #50874) 393s expected_dist = single ([1 0 1]); 393s expected_idx = uint32 ([2 2 2]); 393s 393s [dist, idx] = bwdist ([0 1 0]); 393s assert (dist, expected_dist) 393s assert (idx, expected_idx) 393s 393s [dist, idx] = bwdist ([0 1 0]'); 393s assert (dist, expected_dist') 393s assert (idx, expected_idx') 393s 393s expected_dist = single ([0 0 1 0 0]); 393s expected_idx = uint32 ([1 2 2 4 5]); 393s [dist, idx] = bwdist ([1 1 0 1 1]); 393s assert (dist, expected_dist) 393s assert (idx, expected_idx) 393s 393s expected_dist = single ([1 0 1 2 1 0 0 0 1 1 0 0 0 0 1 2 3 4]); 393s expected_idx = uint32 ([2 2 2 2 6 6 7 8 8 11 11 12 13 14 14 14 14 14]); 393s [dist, idx] = bwdist ([0 1 0 0 0 1 1 1 0 0 1 1 1 1 0 0 0 0]); 393s assert (dist, expected_dist) 393s assert (idx, expected_idx) 393s 393s expected_dist = single ([0 0 1 2 1 0 0 0 1 1 0 0 0 0 1 2 1 0]); 393s expected_idx = uint32 ([1 2 2 2 6 6 7 8 8 11 11 12 13 14 14 14 18 18]); 393s [dist, idx] = bwdist ([1 1 0 0 0 1 1 1 0 0 1 1 1 1 0 0 0 1]); 393s assert (dist, expected_dist) 393s assert (idx, expected_idx) 393s ***** test 393s assert (bwdist ([0 0]), single ([Inf, Inf])) 393s assert (bwdist ([0 0]'), single ([Inf, Inf]')) 393s ***** xtest 393s ## This is Matlab incompatible because the bottom right corners is 393s ## equally distant to the top right and bottom left corners. However, 393s ## both are correct answers, and the returned value is just 393s ## implementation dependent. 393s bw = logical ([ 393s 0 0 1 393s 0 0 0 393s 1 0 0 393s ]); 393s expected_dist = single ([ 393s 2.0 1.0 0.0 393s 1.0 sqrt(2) 1.0 393s 0.0 1.0 2.0 393s ]); 393s expected_idx = uint32 ([ 393s 3 7 7 393s 3 3 7 393s 3 3 3 393s ]); 393s [dist, idx] = bwdist (bw); 393s assert (dist, expected_dist) 393s assert (idx, expected_idx) 393s !!!!! known failure 393s ASSERT errors for: assert (idx,expected_idx) 393s 393s Location | Observed | Expected | Reason 393s (3,3) 7 3 Abs err 4 exceeds tol 0 by 4 393s 12 tests, 11 passed, 1 known failure, 0 skipped 393s [src/hough_line.cc] 393s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/src/hough_line.cc 393s ***** test 393s I = zeros(100, 100); 393s I(1,1) = 1; I(100,100) = 1; I(1,100) = 1; I(100, 1) = 1; I(50,50) = 1; 393s [J, R] = houghtf(I); J = J / max(J(:)); 393s assert(size(J) == [length(R) 181]); 393s 393s ***** demo 393s I = zeros(100, 150); 393s I(30,:) = 1; I(:, 65) = 1; I(35:45, 35:50) = 1; 393s for i = 1:90, I(i,i) = 1;endfor 393s I = imnoise(I, 'salt & pepper'); 393s imshow(I); 393s J = houghtf(I); J = J / max(J(:)); 393s imshow(J); 393s 1 test, 1 passed, 0 known failure, 0 skipped 393s [src/imerode.cc] 393s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/src/imerode.cc 393s ***** assert (imerode (eye (3), [1]), eye (3)); 393s ***** assert (imerode (eye (3), []), Inf (3, 3)); 393s ***** test 393s im = [0 1 0 393s 1 1 1 393s 0 1 0]; 393s se = [1 0 0 393s 0 1 0 393s 0 1 1]; 393s assert (imerode (im, se), [0 1 0; 0 0 0; 0 1 0]); 393s assert (imerode (logical(im), se), logical ([0 1 0; 0 0 0; 0 1 0])); 393s assert (imerode (im, se, "full"), 393s [ 0 0 0 0 Inf 393s 1 0 1 0 Inf 393s 0 0 0 0 0 393s Inf 0 1 0 1 393s Inf Inf 0 1 0]); 393s assert (imerode (logical(im), se, "full"), 393s logical([0 0 0 0 1 393s 1 0 1 0 1 393s 0 0 0 0 0 393s 1 0 1 0 1 393s 1 1 0 1 0])); 393s ***** xtest 393s a = rand ([10 40 15 6 8 5]) > 0.2; 393s se = ones ([5 3 7]); 393s 393s ## the image is not really indexed but this way it is padded with 1s 393s assert (imerode (a, se), colfilt (a, "indexed", size (se), "sliding", @all)) 393s 393s assert (imerode (a, se, "valid"), convn (a, se, "valid") == nnz (se)) 393s ## again, we need to pad it ourselves because convn pads with zeros 393s b = true (size (a) + [4 2 6 0 0 0]); 393s b(3:12, 2:41, 4:18,:,:,:) = a; 393s assert (imdilate (b, se, "same"), convn (b, se, "same") > 0) 393s b = true (size (a) + [8 4 12 0 0 0]); 393s b(5:14, 3:42, 7:21,:,:,:) = a; 393s assert (imdilate (b, se, "full"), convn (b, se, "full") > 0) 399s ***** test 399s im = [0 0 0 0 0 0 0 399s 0 0 1 0 1 0 0 399s 0 0 1 1 0 1 0 399s 0 0 1 1 1 0 0 399s 0 0 0 0 0 0 0]; 399s se = [0 0 0 399s 0 1 0 399s 0 1 1]; 399s out = [0 0 0 0 0 0 0 399s 0 0 1 0 0 0 0 399s 0 0 1 1 0 0 0 399s 0 0 0 0 0 0 0 399s 0 0 0 0 0 0 0]; 399s assert (imerode (im, se), out); 399s assert (imerode (logical (im), se), logical (out)); 399s assert (imerode (im, logical (se)), out); 399s assert (imerode (logical (im), logical (se)), logical (out)); 399s 399s # with an even-size SE 399s se = [0 0 0 1 399s 0 1 0 0 399s 0 1 1 1]; 399s out = [0 0 0 0 0 0 0 399s 0 0 0 0 0 0 0 399s 0 0 1 0 0 0 0 399s 0 0 0 0 0 0 0 399s 0 0 0 0 0 0 0]; 399s assert (imerode (im, se), out); 399s out = [ 0 0 0 0 1 0 1 399s 0 0 1 0 1 1 0 399s 0 0 1 1 1 1 1 399s 0 0 1 1 1 1 1 399s 0 0 1 1 1 1 1]; 399s assert (imdilate (im, se), out); 399s ***** test 399s a = [ 82 2 97 43 79 43 41 65 51 11 399s 60 65 21 56 94 77 36 38 75 39 399s 32 68 78 1 16 75 76 90 81 56 399s 43 90 82 41 36 1 87 19 18 63 399s 63 64 2 48 18 43 38 25 22 99 399s 12 46 90 79 3 92 39 79 10 22 399s 38 98 11 10 40 90 88 38 4 76 399s 54 37 9 4 33 98 36 47 53 57 399s 38 76 82 50 14 74 64 99 7 33 399s 88 96 41 62 84 89 97 23 41 3]; 399s 399s domain = ones (3); 399s out = [ 2 1 1 1 16 36 36 11 399s 21 1 1 1 1 1 18 18 399s 2 1 1 1 1 1 18 18 399s 2 2 2 1 1 1 10 10 399s 2 2 2 3 3 25 4 4 399s 9 4 3 3 3 36 4 4 399s 9 4 4 4 14 36 4 4 399s 9 4 4 4 14 23 7 3]; 399s assert (imerode (a, domain, "valid"), out); 399s assert (imerode (uint8 (a), domain, "valid"), uint8 (out)); 399s assert (imerode (uint8 (a), strel ("arbitrary", domain), "valid"), uint8 (out)); 399s assert (imerode (uint8 (a), strel ("square", 3), "valid"), uint8 (out)); 399s 399s ***** ## Test for non-flat strel 399s assert (imerode (a, strel ("arbitrary", domain, ones (3)), "valid"), out -1); 399s 399s out = [ 97 97 97 94 94 90 90 90 399s 90 90 94 94 94 90 90 90 399s 90 90 82 75 87 90 90 99 399s 90 90 90 92 92 92 87 99 399s 98 98 90 92 92 92 88 99 399s 98 98 90 98 98 98 88 79 399s 98 98 82 98 98 99 99 99 399s 96 96 84 98 98 99 99 99]; 399s assert (imdilate (a, domain, "valid"), out); 399s assert (imdilate (uint8 (a), domain, "valid"), uint8 (out)); 399s 399s ***** ## Test for non-flat strel 399s assert (imdilate (a, strel ("arbitrary", domain, ones (3)), "valid"), out +1); 399s 399s ## test while using SE that can be decomposed and an actual sequence 399s domain = ones (5); 399s out = [ 2 1 1 1 1 1 16 11 11 11 399s 2 1 1 1 1 1 1 1 11 11 399s 2 1 1 1 1 1 1 1 11 11 399s 2 1 1 1 1 1 1 1 10 10 399s 2 1 1 1 1 1 1 1 4 4 399s 2 2 2 1 1 1 1 1 4 4 399s 2 2 2 2 2 3 3 4 4 4 399s 9 4 3 3 3 3 3 3 3 3 399s 9 4 4 4 4 4 4 3 3 3 399s 9 4 4 4 4 4 7 3 3 3]; 399s assert (imerode (a, domain), out); 399s assert (imerode (a, strel ("square", 5)), out); 399s assert (imerode (a, getsequence (strel ("square", 5))), out); 399s 399s ## using a non-symmetric SE 399s domain = [ 1 1 0 399s 0 1 1 399s 0 1 0]; 399s 399s out = [ 2 2 1 16 36 36 38 39 399s 60 1 1 16 1 36 19 18 399s 32 2 1 1 1 19 18 18 399s 2 2 18 3 1 1 19 10 399s 46 2 2 3 18 38 10 4 399s 11 9 4 3 3 36 4 4 399s 9 4 4 10 36 36 38 4 399s 37 9 4 4 33 36 7 7]; 399s assert (imerode (a, domain, "valid"), out); 399s assert (imerode (a, strel ("arbitrary", domain, ones (3)), "valid"), out -1); 399s 399s out = [ 78 97 56 94 94 90 90 81 399s 90 82 78 94 87 87 90 90 399s 90 90 82 43 75 87 90 99 399s 90 90 79 92 92 87 79 25 399s 98 90 90 90 92 92 79 79 399s 98 98 79 98 98 90 88 57 399s 98 82 50 74 98 99 99 53 399s 96 82 84 89 98 97 99 99]; 399s assert (imdilate (a, domain, "valid"), out); 399s assert (imdilate (a, strel ("arbitrary", domain, ones (3)), "valid"), out +1); 399s ***** test 399s im = reshape (magic(16), [4 8 4 2]); 399s se = true (3, 3, 3); 399s out = zeros (4, 8, 4, 2); 399s out(:,:,1,1) = [ 399s 3 3 46 2 2 2 47 47 399s 3 3 30 2 2 2 31 31 399s 17 17 16 16 16 20 13 13 399s 33 33 16 16 16 36 13 13]; 399s out(:,:,2,1) = [ 399s 3 3 46 2 2 2 43 43 399s 3 3 30 2 2 2 27 27 399s 17 17 12 12 12 20 13 13 399s 33 33 12 12 12 36 13 13]; 399s out(:,:,3,1) = [ 399s 3 3 42 6 6 6 43 43 399s 3 3 26 6 6 6 27 27 399s 21 21 12 12 12 20 9 9 399s 37 37 12 12 12 36 9 9]; 399s out(:,:,4,1) = [ 399s 7 7 42 6 6 6 43 43 399s 7 7 26 6 6 6 27 27 399s 21 21 12 12 12 24 9 9 399s 37 37 12 12 12 40 9 9]; 399s out(:,:,1,2) = [ 399s 11 11 38 10 10 10 39 39 399s 11 11 22 10 10 10 23 23 399s 25 25 8 8 8 28 5 5 399s 41 41 8 8 8 44 5 5]; 399s out(:,:,2,2) = [ 399s 11 11 38 10 10 10 35 35 399s 11 11 22 10 10 10 19 19 399s 25 25 4 4 4 28 5 5 399s 41 41 4 4 4 44 5 5]; 399s out(:,:,3,2) = [ 399s 11 11 34 14 14 14 35 35 399s 11 11 18 14 14 14 19 19 399s 29 29 4 4 4 28 1 1 399s 45 45 4 4 4 44 1 1]; 399s out(:,:,4,2) = [ 399s 15 15 34 14 14 14 35 35 399s 15 15 18 14 14 14 19 19 399s 29 29 4 4 4 32 1 1 399s 45 45 4 4 4 48 1 1]; 399s assert (imerode (im, se), out); 399s assert (imerode (uint16 (im), se), uint16 (out)); 399s 399s ## trying a more weird SE 399s se(:,:,1) = [1 0 1; 0 1 1; 0 0 0]; 399s se(:,:,3) = [1 0 1; 0 1 1; 0 0 1]; 399s out(:,:,1,1) = [ 399s 3 17 46 2 2 2 47 47 399s 17 3 30 2 2 2 31 31 399s 17 17 16 16 16 20 13 31 399s 33 33 16 16 16 36 13 13]; 399s out(:,:,2,1) = [ 399s 3 3 46 2 2 20 43 61 399s 3 3 30 2 20 2 27 43 399s 33 17 12 20 20 20 13 13 399s 51 33 12 12 30 36 13 13]; 399s out(:,:,3,1) = [ 399s 3 21 42 6 6 6 43 43 399s 21 3 26 6 6 6 27 27 399s 21 21 12 12 12 20 9 27 399s 37 37 12 12 12 36 9 9]; 399s out(:,:,4,1) = [ 399s 7 7 42 6 6 24 57 57 399s 7 7 26 6 24 6 43 43 399s 37 21 26 24 24 24 9 9 399s 55 37 12 12 26 40 9 9]; 399s out(:,:,1,2) = [ 399s 11 25 38 10 10 10 39 39 399s 25 11 22 10 10 10 23 23 399s 25 25 8 8 8 28 5 23 399s 41 41 8 8 8 44 5 5]; 399s out(:,:,2,2) = [ 399s 11 11 38 10 10 28 35 53 399s 11 11 22 10 22 10 19 35 399s 41 25 4 22 22 28 5 5 399s 59 41 4 4 22 44 5 5]; 399s out(:,:,3,2) = [ 399s 11 29 34 14 14 14 35 35 399s 29 11 18 14 14 14 19 19 399s 29 29 4 4 4 28 1 19 399s 45 45 4 4 4 44 1 1]; 399s out(:,:,4,2) = [ 399s 15 15 34 14 14 32 49 49 399s 15 15 18 14 18 14 35 35 399s 45 29 18 18 18 32 1 1 399s 63 45 4 4 18 48 1 1]; 399s assert (imerode (im, se), out); 399s assert (imerode (uint16 (im), se), uint16 (out)); 399s ***** error imerode (ones (10), 45) 399s ***** error imerode (ones (10), "some text") 399s ***** error imerode (ones (10), {23, 45}) 399s ***** error imerode (rand (10) > 10 , strel ("arbitrary", true (3), ones (3))) 399s ***** xtest 399s a = rand ([10 40 15 6 8 5]) > 0.8; 399s se = ones ([5 3 7]); 399s assert (imdilate (a, se), convn (a, se, "same") > 0) 399s assert (imdilate (a, se, "full"), convn (a, se, "full") > 0) 399s assert (imdilate (a, se, "valid"), convn (a, se, "valid") > 0) 399s assert (imdilate (a, se), colfilt (a, size (se), "sliding", @any)) 403s ***** test 403s im = reshape (magic(16), [4 8 4 2]); 403s se = true (3, 3, 3); 403s out = zeros (4, 8, 4, 2); 403s 403s out(:,:,1,1) = [ 403s 256 256 209 253 253 253 212 212 403s 256 256 225 253 253 253 228 228 403s 238 238 243 243 243 239 242 242 403s 222 222 243 243 243 223 242 242]; 403s out(:,:,2,1) = [ 403s 256 256 213 253 253 253 212 212 403s 256 256 229 253 253 253 228 228 403s 238 238 243 243 243 239 246 246 403s 222 222 243 243 243 223 246 246]; 403s out(:,:,3,1) = [ 403s 252 252 213 253 253 253 216 216 403s 252 252 229 253 253 253 232 232 403s 238 238 247 247 247 235 246 246 403s 222 222 247 247 247 219 246 246]; 403s out(:,:,4,1) = [ 403s 252 252 213 249 249 249 216 216 403s 252 252 229 249 249 249 232 232 403s 234 234 247 247 247 235 246 246 403s 218 218 247 247 247 219 246 246]; 403s out(:,:,1,2) = [ 403s 248 248 217 245 245 245 220 220 403s 248 248 233 245 245 245 236 236 403s 230 230 251 251 251 231 250 250 403s 214 214 251 251 251 215 250 250]; 403s out(:,:,2,2) = [ 403s 248 248 221 245 245 245 220 220 403s 248 248 237 245 245 245 236 236 403s 230 230 251 251 251 231 254 254 403s 214 214 251 251 251 215 254 254]; 403s out(:,:,3,2) = [ 403s 244 244 221 245 245 245 224 224 403s 244 244 237 245 245 245 240 240 403s 230 230 255 255 255 227 254 254 403s 214 214 255 255 255 211 254 254]; 403s out(:,:,4,2) = [ 403s 244 244 221 241 241 241 224 224 403s 244 244 237 241 241 241 240 240 403s 226 226 255 255 255 227 254 254 403s 210 210 255 255 255 211 254 254]; 403s assert (imdilate (im, se), out); 403s assert (imdilate (uint16 (im), se), uint16 (out)); 403s 403s ## trying a more weird SE 403s se(:,:,1) = [1 0 1; 0 1 1; 0 0 0]; 403s se(:,:,3) = [1 0 1; 0 1 1; 0 0 1]; 403s out(:,:,1,1) = [ 403s 256 256 209 239 253 253 212 194 403s 256 256 225 239 239 239 228 212 403s 222 222 243 239 243 239 242 242 403s 208 208 225 243 243 223 242 242]; 403s out(:,:,2,1) = [ 403s 256 256 213 253 253 253 212 212 403s 238 256 229 253 253 253 228 228 403s 238 238 243 243 243 239 246 228 403s 222 222 243 243 243 223 228 246]; 403s out(:,:,3,1) = [ 403s 252 252 213 235 253 253 216 198 403s 252 252 229 235 235 253 232 216 403s 222 238 247 235 247 235 246 246 403s 204 222 229 247 247 219 246 246]; 403s out(:,:,4,1) = [ 403s 252 252 213 249 249 249 216 216 403s 234 252 229 249 249 249 232 232 403s 234 234 247 247 247 235 246 232 403s 218 218 247 247 247 219 232 246]; 403s out(:,:,1,2) = [ 403s 248 248 217 231 245 245 220 202 403s 248 248 233 233 233 231 236 220 403s 214 214 251 233 251 231 250 250 403s 200 200 233 251 251 215 250 250]; 403s out(:,:,2,2) = [ 403s 248 248 221 245 245 245 220 220 403s 230 248 237 245 245 245 236 236 403s 230 230 251 251 251 231 254 236 403s 214 214 251 251 251 215 236 254]; 403s out(:,:,3,2) = [ 403s 244 244 221 227 245 245 224 206 403s 244 244 237 237 237 245 240 224 403s 214 230 255 237 255 227 254 254 403s 196 214 237 255 255 211 254 254]; 403s out(:,:,4,2) = [ 403s 244 244 221 241 241 241 224 224 403s 226 244 237 241 241 241 240 240 403s 226 226 255 255 255 227 254 240 403s 210 210 255 255 255 211 240 254]; 403s assert (imdilate (im, se), out); 403s assert (imdilate (uint16 (im), se), uint16 (out)); 403s ***** test # scalar blank SE 403s se = 0; 403s assert (imerode (5, se), Inf) 403s assert (imerode (true, se), true) 403s assert (imerode (false, se), true) 403s assert (imerode (uint8 (3), se), uint8 (255)) 403s 403s assert (imdilate (5, se), -Inf) 403s assert (imdilate (true, se), false) 403s assert (imdilate (false, se), false) 403s assert (imdilate (uint8 (3), se), uint8 (0)) 403s ***** test # empty SE 403s se = []; 403s assert (imerode (5, se), Inf) 403s assert (imerode (true, se), true) 403s assert (imerode (false, se), true) 403s assert (imerode (uint8 (3), se), uint8 (255)) 403s 403s assert (imdilate (5, se), -Inf) 403s assert (imdilate (true, se), false) 403s assert (imdilate (false, se), false) 403s assert (imdilate (uint8 (3), se), uint8 (0)) 403s ***** test # non-scalar blank SE 403s se = zeros (3, 3); 403s assert (imerode (5, se), Inf) 403s assert (imerode (true, se), true) 403s assert (imerode (false, se), true) 403s assert (imerode (uint8 (3), se), uint8 (255)) 403s 403s assert (imdilate (5, se), -Inf) 403s assert (imdilate(true, se), false) 403s assert (imdilate (false, se), false) 403s assert (imdilate (uint8 (3), se), uint8 (0)) 403s ***** test # erode only with out-of-border elements 403s se = [1 1 1; 1 0 1; 1 1 1]; 403s assert (imerode (5, se), Inf) 403s assert (imerode (true, se), true) 403s 403s assert (imdilate (5, se), -Inf) 403s assert (imdilate (true, se), false) 403s ***** test # only true elements of SE are out-of-border 403s se = [0 0 0; 1 0 0; 1 1 0]; 403s assert (imerode (zeros (3), se), [0 0 0; 0 0 0; Inf 0 0]) 403s assert (imerode (false (3), se), logical ([0 0 0; 0 0 0; 1 0 0])) 403s assert (imdilate (zeros (3), se), [0 0 -Inf; 0 0 0; 0 0 0]) 403s assert (imdilate (false (3), se), false (3, 3)) 403s 403s se = [0 0 0; 0 0 0; 1 1 1]; 403s assert (imerode (zeros (3, 3), se), [0 0 0; 0 0 0; Inf Inf Inf]) 403s assert (imerode (false (3, 3), se), logical ([0 0 0; 0 0 0; 1 1 1])) 403s assert (imdilate (zeros (3, 3), se), [-Inf -Inf -Inf; 0 0 0; 0 0 0]) 403s assert (imdilate (false (3, 3), se), false (3, 3)) 403s ***** test # only true elements of even-sized SE are out-of-border 403s se = logical ([0 1; 1 1]); 403s assert (imerode (false (3, 3), se), logical ([0 0 0; 0 0 0; 0 0 1])) 403s assert (imerode (zeros (3, 3), se), [0 0 0; 0 0 0; 0 0 Inf]) 403s 403s assert (imdilate (false (3, 3), se), false (3, 3)) 403s assert (imdilate (zeros (3, 3), se), [-Inf 0 0; 0 0 0; 0 0 0]) 403s 19 tests, 19 passed, 0 known failure, 0 skipped 403s [src/imreconstruct.cc] 403s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/src/imreconstruct.cc 403s ***** function recon = parallel_reconstruction (marker, mask, 403s conn = conndef (ndims (marker), "maximal")) 403s do 403s previous = marker; 403s marker = imdilate (marker, conn); 403s ## FIXME https://savannah.gnu.org/bugs/index.php?43712 403s if (strcmp (class (marker), "logical")) 403s marker = marker & mask; 403s else 403s marker = min (marker, mask); 403s endif 403s until (all ((marker == previous)(:))) 403s recon = marker; 403s ***** endfunction 403s ***** test 403s for cl = {"int8", "uint8", "int16", "uint16", "int32", "uint32"} 403s cl = cl{1}; 403s a = randi ([intmin(cl) intmax(cl)-30], 100, 100, cl); 403s b = a + randi (20, 100, 100, cl); 403s assert (imreconstruct (a, b), parallel_reconstruction (a, b)) 403s endfor 403s for cl = {"double", "single"} 403s cl = cl{1}; 403s a = (rand (100, 100, cl) - 0.5) .* 1000; 403s b = a + rand (100, 100, cl) * 100; 403s assert (imreconstruct (a, b), parallel_reconstruction (a, b)) 403s endfor 403s ***** test 403s for cl = {"int8", "uint8", "int16", "uint16", "int32", "uint32"} 403s cl = cl{1}; 403s a = randi ([intmin(cl) intmax(cl)-30], 100, 100, cl); 403s b = a + randi (20, 100, 100, cl); 403s c = [0 1 0; 1 1 1; 0 1 0]; 403s assert (imreconstruct (a, b, c), parallel_reconstruction (a, b, c)) 403s endfor 403s ***** test 403s a = randi (210, 100, 100); 403s b = a + randi (20, 100, 100); 403s c = ones (3, 1); 403s assert (imreconstruct (a, b, c), parallel_reconstruction (a, b, c)) 403s ***** test 403s a = randi (210, 500, 500, 10, 4); 403s b = a + randi (20, 500, 500, 10, 4); 403s c = ones (3, 3, 3); 403s assert (imreconstruct (a, b, c), parallel_reconstruction (a, b, c)) 424s ***** test 424s a = randi (210, 500, 500, 10, 4); 424s b = a + randi (20, 500, 500, 10, 4); 424s c = conndef (4, "minimal"); 424s assert (imreconstruct (a, b, c), parallel_reconstruction (a, b, c)) 434s ***** test 434s a = [ 0 0 0 0 0 0 0 1 0 0 434s 0 0 0 0 0 0 0 1 0 0 434s 1 0 0 0 0 0 0 0 0 0 434s 0 0 0 0 0 0 0 0 0 0 434s 0 0 0 0 0 0 0 1 0 0 434s 0 0 0 0 0 0 1 0 0 0 434s 0 0 0 0 0 0 0 0 0 0 434s 0 0 0 0 0 0 0 0 0 0 434s 0 0 0 0 1 0 0 0 0 0 434s 0 0 0 0 0 0 0 1 0 0]; 434s 434s b = [ 0 1 0 0 0 0 0 1 1 0 434s 1 1 0 0 0 1 0 1 1 0 434s 1 1 0 0 1 0 0 0 0 0 434s 1 1 0 0 0 1 1 0 0 0 434s 1 0 0 0 0 0 1 1 0 0 434s 0 1 0 0 0 0 1 1 0 0 434s 0 0 0 1 0 0 0 0 0 0 434s 0 0 0 0 1 1 0 0 0 0 434s 0 0 0 1 1 0 0 0 0 0 434s 1 0 0 0 1 0 0 1 0 1]; 434s 434s c = [ 0 1 0 0 0 0 0 1 1 0 434s 1 1 0 0 0 1 0 1 1 0 434s 1 1 0 0 1 0 0 0 0 0 434s 1 1 0 0 0 1 1 0 0 0 434s 1 0 0 0 0 0 1 1 0 0 434s 0 1 0 0 0 0 1 1 0 0 434s 0 0 0 1 0 0 0 0 0 0 434s 0 0 0 0 1 1 0 0 0 0 434s 0 0 0 1 1 0 0 0 0 0 434s 0 0 0 0 1 0 0 1 0 0]; 434s assert (imreconstruct (logical (a), logical (b)), logical (c)); 434s 434s c = [ 0 1 0 0 0 0 0 1 1 0 434s 1 1 0 0 0 0 0 1 1 0 434s 1 1 0 0 0 0 0 0 0 0 434s 1 1 0 0 0 1 1 0 0 0 434s 1 0 0 0 0 0 1 1 0 0 434s 0 0 0 0 0 0 1 1 0 0 434s 0 0 0 0 0 0 0 0 0 0 434s 0 0 0 0 1 1 0 0 0 0 434s 0 0 0 1 1 0 0 0 0 0 434s 0 0 0 0 1 0 0 1 0 0]; 434s assert (imreconstruct (logical (a), logical (b), [0 1 0; 1 1 1; 0 1 0]), 434s logical (c)); 434s ***** test 434s do 434s b = rand (100, 100, 100) > 0.98; 434s until (nnz (b) > 4) 434s b = imdilate (b, ones (5, 5, 5)); 434s a = false (size (b)); 434s f = find (b); 434s a(f(randi (numel (f), 6, 1))) = true; 434s assert (imreconstruct (a, b), parallel_reconstruction (a, b)) 436s ***** test 436s a = randi (200, 100,100, 10, 10); 436s b = a + randi (20, 100,100, 10, 10); 436s c1 = ones (3, 3, 3); 436s c2 = zeros (3, 3, 3, 3); 436s c2(:,:,:,2) = c1; 436s assert (imreconstruct (a, b, c1), imreconstruct (a, b, c2)) 437s ***** test 437s ## Values in MARKER above MASK should be clipped (bug #48794) 437s ## (well, treated internally as if they were clipped) 437s mask = logical ([1 1 1; 1 0 1; 1 1 1]); 437s assert (imreconstruct (true (3, 3), mask), mask) 437s 437s mask = ones (5, 5); 437s mask(2:4,2:4) = 0; 437s assert (imreconstruct (ones (5, 5), mask), mask) 437s 437s mask = ones (5, 5); 437s mask(2:4,2:4) = 0; 437s assert (imreconstruct (repmat (2, [5, 5]), mask), mask) 437s 437s mask = ones (5, 5); 437s mask(2:4,2:4) = 0; 437s assert (imreconstruct (repmat (2, [5, 5]), mask), mask) 437s 437s marker = ones (3, 3, 3, 3); 437s mask = marker; 437s mask(2, 2, 2, 2) = 0; 437s assert (imreconstruct (marker, mask), mask) 437s 437s marker = randi (210, 100, 100); 437s assert (imreconstruct (marker +1, marker), marker) 437s assert (imreconstruct (marker +1, marker), imreconstruct (marker, marker)) 437s 9 tests, 9 passed, 0 known failure, 0 skipped 437s [src/bwconncomp.cc] 437s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/src/bwconncomp.cc 437s ***** test 437s a = rand (10) > 0.5; 437s cc = bwconncomp (a, 4); 437s assert (cc.Connectivity, 4) 437s assert (cc.ImageSize, [10 10]) 437s 437s b = false (10); 437s for i = 1:numel (cc.PixelIdxList) 437s b(cc.PixelIdxList{i}) = true; 437s endfor 437s assert (a, b) 437s ***** test 437s a = rand (10, 13) > 0.5; 437s cc = bwconncomp (a, 4); 437s assert (cc.ImageSize, [10 13]) 437s 437s b = false (10, 13); 437s for i = 1:numel (cc.PixelIdxList) 437s b(cc.PixelIdxList{i}) = true; 437s endfor 437s assert (a, b) 437s ***** test 437s a = rand (15) > 0.5; 437s conn_8 = bwconncomp (a, 8); 437s assert (conn_8, bwconncomp (a)) 437s assert (conn_8, bwconncomp (a, ones (3))) 437s assert (conn_8.Connectivity, 8) 437s assert (bwconncomp (a, ones (3)).Connectivity, 8) 437s assert (bwconncomp (a, [0 1 0; 1 1 1; 0 1 0]).Connectivity, 4) 437s ***** test 437s bw = logical ([ 437s 1 0 0 1 0 1 0 437s 1 0 0 1 0 1 0 437s 0 0 0 0 0 1 0 437s 0 0 0 0 1 0 0 437s 1 1 0 1 1 0 0 437s 0 1 0 0 0 0 0 437s 1 1 0 0 0 0 0 437s ]); 437s cc = bwconncomp (bw); 437s cc = struct (); 437s cc.Connectivity = 8; 437s cc.ImageSize = [7 7]; 437s cc.NumObjects = 4; 437s ## The commented line has the results from Matlab. We return the 437s ## same result but in a slightly different order. Since the order 437s ## is not defined, it is not required for compatibility. 437s #cc.PixelIdxList = {[1;2], [5;7;12;13;14], [22;23], [26;32;33;36;37;38]}; 437s cc.PixelIdxList = {[1;2], [5;12;13;7;14], [22;23], [26;32;33;38;37;36]}; 437s assert (bwconncomp (bw), cc) 437s ***** test 437s ## test that PixelIdxList is a row vector 437s a = rand (40, 40) > 0.2; 437s cc = bwconncomp (a, 4); 437s assert (rows (cc.PixelIdxList), 1) 437s assert (columns (cc.PixelIdxList), cc.NumObjects) 437s ***** assert (bwconncomp (false (5)), struct ("ImageSize", [5 5], "NumObjects", 0, 437s "PixelIdxList", {cell(1, 0)}, 437s "Connectivity", 8)) 437s ***** test 437s in = [ 0 0 1 0 0 1 0 1 0 0 437s 0 0 1 0 0 0 0 0 1 1 437s 1 0 0 0 0 1 1 0 0 0 437s 1 0 0 0 1 0 0 0 0 0 437s 1 1 1 1 0 0 0 0 0 1 437s 0 1 0 1 1 0 0 1 0 0 437s 1 0 0 0 1 0 0 0 0 0 437s 0 0 0 1 1 0 0 1 0 0 437s 0 1 0 1 1 0 0 1 1 0 437s 0 1 0 1 1 1 0 0 1 0]; 437s assert (bwareaopen (in, 1, 4), logical (in)) 437s 437s out = [0 0 0 0 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 1 0 0 0 0 0 0 0 0 0 437s 1 0 0 0 0 0 0 0 0 0 437s 1 1 1 1 0 0 0 0 0 0 437s 0 1 0 1 1 0 0 0 0 0 437s 0 0 0 0 1 0 0 0 0 0 437s 0 0 0 1 1 0 0 0 0 0 437s 0 0 0 1 1 0 0 0 0 0 437s 0 0 0 1 1 1 0 0 0 0]; 437s assert (bwareaopen (logical (in), 10, 4), logical (out)) 437s assert (bwareaopen (in, 10, 4), logical (out)) 437s assert (bwareaopen (in, 10, [0 1 0; 1 1 1; 0 1 0]), logical (out)) 437s 437s out = [0 0 0 0 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 1 0 0 0 0 1 1 0 0 0 437s 1 0 0 0 1 0 0 0 0 0 437s 1 1 1 1 0 0 0 0 0 0 437s 0 1 0 1 1 0 0 0 0 0 437s 1 0 0 0 1 0 0 0 0 0 437s 0 0 0 1 1 0 0 0 0 0 437s 0 0 0 1 1 0 0 0 0 0 437s 0 0 0 1 1 1 0 0 0 0]; 437s assert (bwareaopen (in, 10, 8), logical (out)) 437s assert (bwareaopen (in, 10, ones (3)), logical (out)) 437s assert (bwareaopen (in, 10), logical (out)) 437s 437s out = [0 0 0 0 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 1 0 0 0 0 0 0 0 0 0 437s 1 0 0 0 0 0 0 0 0 0 437s 1 1 1 1 0 0 0 0 0 0 437s 0 1 0 1 1 0 0 0 0 0 437s 0 0 0 0 1 0 0 0 0 0 437s 0 0 0 1 1 0 0 1 0 0 437s 0 0 0 1 1 0 0 1 1 0 437s 0 0 0 1 1 1 0 0 1 0]; 437s assert (bwareaopen (in, 4, [1 1 0; 1 1 1; 0 1 1]), logical (out)) 437s ***** error bwareaopen ("not an image", 78, 8) 437s ***** error bwareaopen (rand (10) > 0.5, 10, 100) 437s ***** error bwareaopen (rand (10) > 0.5, 10, "maximal") 437s ***** error bwareaopen (rand (10) > 0.5, 10, [1 1 1; 0 1 1; 0 1 0]) 437s 11 tests, 11 passed, 0 known failure, 0 skipped 437s [src/graycomatrix.cc] 437s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/src/graycomatrix.cc 437s ***** shared a 437s ***** test 437s a = [0 0 0 1 2; 437s 1 1 0 1 1; 437s 2 2 1 0 0; 437s 1 1 0 2 0; 437s 0 0 1 0 1]; 437s squeeze(graycomatrix(a, 3, 1, -pi/4)) == [4 2 0; 437s 2 3 2; 437s 1 2 0]; 437s 437s ***** assert(size(graycomatrix(a, 3, 1:5, [0:3]*-pi/4)), [3, 3, 5, 4]) 437s ***** demo 437s 437s # Pattern Recognition Engineering (Nadler & Smith) 437s # Digital Image Processing (Gonzales & Woods), p. 668 437s 437s a = [0 0 0 1 2; 437s 1 1 0 1 1; 437s 2 2 1 0 0; 437s 1 1 0 2 0; 437s 0 0 1 0 1]; 437s 437s graycomatrix(a, 3, 1, [0 1]*-pi/4) 437s 437s 2 tests, 2 passed, 0 known failure, 0 skipped 437s [src/intlut.cc] 437s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/src/intlut.cc 437s ***** assert (intlut (uint8 (1:4), uint8 ( 255:-1:0)), uint8 (254:-1:251)); 437s ***** assert (intlut (uint16 (1:4), uint16 (65535:-1:0)), uint16 (65534:-1:65531)); 437s ***** assert (intlut (int16 (1:4), int16 (32767:-1:-32768)), int16 (-2:-1:-5)); 437s ***** assert (intlut (uint8 (255), uint8 (0:255)), uint8 (255)); 437s ***** assert (intlut (uint16 (65535), uint16 (0:65535)), uint16 (65535)); 437s ***** assert (intlut (int16 (32767), int16 (-32768:32767)), int16 (32767)); 437s ***** error intlut () 437s ***** error intlut ("text") 437s ***** error intlut (1:20, uint8 (0:255)); 437s ***** error intlut (uint16 (1:20), uint8 (0:255)); 437s ***** error intlut (uint8 (1:20), uint8 (0:200)); 437s ***** error intlut (uint16 (1:20), uint16 (0:500)); 437s ***** error intlut (uint8 (56), uint8 (magic (16) -1)) 437s 13 tests, 13 passed, 0 known failure, 0 skipped 437s [src/watershed.cc] 437s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/src/watershed.cc 437s ***** test 437s ex = tril (ones (50), -1) + triu (repmat (2, [50 50]), 2); 437s ex(1, 1) = 1; 437s ex(end, end) = 1; 437s 437s in = ones (50); 437s in(end,1) = 0; 437s in(1,end) = 0; 437s assert (watershed (in), ex) 437s ***** test 437s ex = tril (ones (49), -1) + triu (repmat (2, [49 49]), 2); 437s ex(1, 1) = 1; 437s ex(end, end) = 1; 437s 437s in = ones (49); 437s in(end,1) = 0; 437s in(1,end) = 0; 437s assert (watershed (in), ex) 437s 437s c = (fspecial ('disk', 5) > 0) + 1; 437s in(20:30,20:30) = c; 437s c = (fspecial ('disk', 4) > 0) + 2; 437s in(21:29,21:29) = c; 437s assert (watershed (in), ex) 437s ***** test 437s ex = tril (ones (49), -1) + triu (repmat (2, [49 49]), 2); 437s ex(1:28,1:28) = (tril (ones (28) ,7) + triu (repmat (2, [28 28]), 10)); 437s ex(1,9) = 1; 437s ex(end,end) = 1; 437s ex(20:29, 29) = 0; 437s 437s in = ones (49); 437s in(end,1) = 0; 437s in(1,end) = 0; 437s c = (fspecial ("disk", 5) > 0) + 1; 437s in(1:11,38:48) = c; 437s 437s assert (watershed (in), ex) 437s ***** test 437s im = [ 437s 3 4 5 6 0 437s 2 3 4 5 6 437s 1 2 3 4 5 437s 0 1 2 3 4 437s 1 0 1 2 3]; 437s 437s labeled8 = [ 437s 1 1 1 0 2 437s 1 1 1 0 0 437s 1 1 1 1 1 437s 1 1 1 1 1 437s 1 1 1 1 1]; 437s labeled4 = [ 437s 1 1 1 0 3 437s 1 1 1 0 0 437s 1 1 0 2 2 437s 1 0 2 2 2 437s 0 2 2 2 2]; 437s labeled_weird = [ 437s 1 1 1 0 2 437s 1 1 1 1 0 437s 1 1 1 1 1 437s 1 1 1 1 1 437s 1 1 1 1 1]; 437s 437s assert (watershed (im), labeled8); 437s assert (watershed (im, 8), labeled8); 437s assert (watershed (im, 4), labeled4); 437s assert (watershed (im, [1 1 0; 1 1 1; 0 1 1]), labeled_weird); 437s ***** test 437s im = [ 437s 2 3 30 2 437s 3 30 3 30 437s 255 31 30 4 437s 2 255 31 30 437s 1 2 255 5]; 437s 437s labeled4 = [ 437s 1 1 0 4 437s 1 0 3 0 437s 0 2 0 5 437s 2 2 2 0 437s 2 2 0 6]; 437s labeled_weird = [ 437s 1 1 0 3 437s 1 1 1 0 437s 0 1 1 1 437s 2 0 0 0 437s 2 2 0 4]; 437s 437s assert (watershed (im, 4), labeled4); 437s assert (watershed (im, [1 1 0; 1 1 1; 0 1 1]), labeled_weird); 437s ***** xtest 437s ## The following test is required for Matlab compatibility. There must be 437s ## something specific about their implementation that causes it to return 437s ## this value. Even when solving it on paper, we get different results. 437s im = [ 437s 2 3 30 2 437s 3 30 3 30 437s 255 31 30 4 437s 2 255 31 30 437s 1 2 255 5]; 437s 437s labeled8 = [ 437s 1 1 0 3 437s 1 1 0 3 437s 0 0 0 0 437s 2 2 0 4 437s 2 2 0 4]; 437s assert (watershed (im), labeled8); 437s assert (watershed (im, 8), labeled8); 437s !!!!! known failure 437s ASSERT errors for: assert (watershed (im),labeled8) 437s 437s Location | Observed | Expected | Reason 437s (3,4) 3 0 Abs err 3 exceeds tol 0 by 3 437s (4,4) 0 4 Abs err 4 exceeds tol 0 by 4 437s ***** test 437s im = [ 437s 2 2 2 2 2 2 2 437s 2 2 30 30 30 2 2 437s 2 30 20 20 20 30 2 437s 40 40 20 20 20 40 40 437s 1 40 20 20 20 40 0 437s 1 1 40 20 40 0 0 437s 1 1 1 20 0 0 0]; 437s 437s labeled8 = [ 437s 1 1 1 1 1 1 1 437s 1 1 1 1 1 1 1 437s 1 1 1 1 1 1 1 437s 0 0 0 0 0 0 0 437s 2 2 2 0 3 3 3 437s 2 2 2 0 3 3 3 437s 2 2 2 0 3 3 3]; 437s labeled4 = [ 437s 1 1 1 1 1 1 1 437s 1 1 1 1 1 1 1 437s 1 1 1 1 1 1 1 437s 0 1 1 1 1 1 0 437s 2 0 1 1 1 0 3 437s 2 2 0 1 0 3 3 437s 2 2 2 0 3 3 3]; 437s labeled_weird = [ 437s 1 1 1 1 1 1 1 437s 1 1 1 1 1 1 1 437s 1 1 1 1 1 1 1 437s 0 1 1 0 0 0 0 437s 2 0 0 0 3 3 3 437s 2 2 0 3 3 3 3 437s 2 2 2 0 3 3 3]; 437s 437s assert (watershed (im), labeled8); 437s assert (watershed (im, 8), labeled8); 437s assert (watershed (im, 4), labeled4); 437s assert (watershed (im, [1 1 0; 1 1 1; 0 1 1]), labeled_weird); 437s ***** test 437s im = [ 437s 40 40 40 40 40 40 40 40 40 40 40 40 40 437s 40 3 3 5 5 5 10 10 10 10 15 20 40 437s 40 3 3 5 5 30 30 30 10 15 15 20 40 437s 40 3 3 5 30 20 20 20 30 15 15 20 40 437s 40 40 40 40 40 20 20 20 40 40 40 40 40 437s 40 10 10 10 40 20 20 20 40 10 10 10 40 437s 40 5 5 5 10 40 20 40 10 10 5 5 40 437s 40 1 3 5 10 15 20 15 10 5 1 0 40 437s 40 1 3 5 10 15 20 15 10 5 1 0 40 437s 40 40 40 40 40 40 40 40 40 40 40 40 40]; 437s 437s labeled8 = [ 437s 1 1 1 1 1 1 1 1 1 1 1 1 1 437s 1 1 1 1 1 1 1 1 1 1 1 1 1 437s 1 1 1 1 1 1 1 1 1 1 1 1 1 437s 1 1 1 1 1 1 1 1 1 1 1 1 1 437s 0 0 0 0 0 0 0 0 0 0 0 0 0 437s 2 2 2 2 2 2 0 3 3 3 3 3 3 437s 2 2 2 2 2 2 0 3 3 3 3 3 3 437s 2 2 2 2 2 2 0 3 3 3 3 3 3 437s 2 2 2 2 2 2 0 3 3 3 3 3 3 437s 2 2 2 2 2 2 0 3 3 3 3 3 3]; 437s labeled4 = [ 437s 1 1 1 1 1 1 1 1 1 1 1 1 1 437s 1 1 1 1 1 1 1 1 1 1 1 1 1 437s 1 1 1 1 1 1 1 1 1 1 1 1 1 437s 1 1 1 1 1 1 1 1 1 1 1 1 1 437s 0 0 0 0 1 1 1 1 1 0 0 0 0 437s 2 2 2 2 0 1 1 1 0 3 3 3 3 437s 2 2 2 2 2 0 1 0 3 3 3 3 3 437s 2 2 2 2 2 2 0 3 3 3 3 3 3 437s 2 2 2 2 2 2 0 3 3 3 3 3 3 437s 2 2 2 2 2 2 0 3 3 3 3 3 3]; 437s labeled_weird = [ 437s 1 1 1 1 1 1 1 1 1 1 1 1 1 437s 1 1 1 1 1 1 1 1 1 1 1 1 1 437s 1 1 1 1 1 1 1 1 1 1 1 1 1 437s 1 1 1 1 1 1 1 1 1 1 1 1 1 437s 0 0 0 0 1 1 0 0 0 0 0 0 0 437s 2 2 2 2 0 0 0 3 3 3 3 3 3 437s 2 2 2 2 2 0 3 3 3 3 3 3 3 437s 2 2 2 2 2 2 0 3 3 3 3 3 3 437s 2 2 2 2 2 2 0 3 3 3 3 3 3 437s 2 2 2 2 2 2 0 3 3 3 3 3 3]; 437s 437s assert (watershed (im), labeled8); 437s assert (watershed (im, 8), labeled8); 437s assert (watershed (im, 4), labeled4); 437s assert (watershed (im, [1 1 0; 1 1 1; 0 1 1]), labeled_weird); 437s ***** xtest 437s ## This test is failing for Matlab compatibility 437s im_full = [ 437s 1 2 10 3 8 7 5 437s 3 2 5 10 8 1 4 437s 1 8 2 3 8 3 6]; 437s 437s matlab_result_full = [ 437s 1 1 0 3 0 4 4 437s 0 0 0 0 0 4 4 437s 2 2 2 0 4 4 4]; 437s 437s assert (watershed (im_full), matlab_result_full); 437s 437s im_crop = [ 437s 2 10 3 8 7 5 437s 2 5 10 8 1 4 437s 8 2 3 8 3 6]; 437s 437s matlab_result_crop = [ 437s 1 0 2 0 3 3 437s 1 0 0 0 3 3 437s 1 1 1 0 3 3]; 437s 437s assert (watershed (im_crop), matlab_result_crop); 437s !!!!! known failure 437s ASSERT errors for: assert (watershed (im_full),matlab_result_full) 437s 437s Location | Observed | Expected | Reason 437s (3,4) 2 0 Abs err 2 exceeds tol 0 by 2 437s (3,5) 0 4 Abs err 4 exceeds tol 0 by 4 437s 9 tests, 7 passed, 2 known failures, 0 skipped 437s [src/bwlabeln.cc] 437s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/src/bwlabeln.cc 437s ***** shared a2d, a3d 437s a2d = [1 0 0 0 0 0 1 0 0 1 437s 1 0 0 1 0 1 0 1 0 1 437s 1 0 1 0 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 1 0 0 0 0 0 0 0 0 437s 1 1 0 1 1 1 0 0 0 0 437s 1 1 0 1 0 0 0 1 0 0 437s 1 1 0 0 0 0 1 0 1 0 437s 1 1 0 0 0 0 0 0 0 0 437s 1 1 0 0 0 1 1 0 0 1]; 437s 437s a3d = a2d; 437s a3d(:,:,2) = [ 437s 0 0 0 0 0 0 0 0 0 0 437s 1 0 0 1 1 0 0 1 0 0 437s 0 0 0 1 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 1 0 0 0 0 0 0 0 0 437s 1 1 0 0 1 1 0 0 0 0 437s 1 1 0 1 0 0 0 0 0 0 437s 1 0 0 0 0 0 1 0 0 0 437s 0 1 0 0 0 0 0 0 0 1 437s 1 1 0 0 0 0 1 0 0 0]; 437s 437s a3d(:,:,3) = [ 437s 1 0 0 0 0 0 0 0 0 0 437s 0 1 0 1 1 0 0 1 0 0 437s 0 0 0 1 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 0 0 1 1 1 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 1 0 0 0 0 0 0 0 0 0 437s 1 1 0 0 0 0 0 0 0 1 437s 1 1 0 0 0 0 0 0 0 0]; 437s ***** test 437s label2dc4 = [ 437s 1 0 0 0 0 0 8 0 0 13 437s 1 0 0 4 0 6 0 10 0 13 437s 1 0 3 0 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 2 0 0 0 0 0 0 0 0 437s 2 2 0 5 5 5 0 0 0 0 437s 2 2 0 5 0 0 0 11 0 0 437s 2 2 0 0 0 0 9 0 12 0 437s 2 2 0 0 0 0 0 0 0 0 437s 2 2 0 0 0 7 7 0 0 14]; 437s assert (bwlabeln (a2d, 4), label2dc4) 437s assert (bwlabeln (a2d, [0 1 0; 1 1 1; 0 1 0]), label2dc4) 437s assert (bwlabeln (a2d, conndef (2, "minimal")), label2dc4) 437s assert (bwlabeln (a2d, conndef (3, "minimal")), label2dc4) 437s ***** test 437s label2dc8 = [ 437s 1 0 0 0 0 0 5 0 0 8 437s 1 0 0 3 0 5 0 5 0 8 437s 1 0 3 0 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 2 0 0 0 0 0 0 0 0 437s 2 2 0 4 4 4 0 0 0 0 437s 2 2 0 4 0 0 0 7 0 0 437s 2 2 0 0 0 0 7 0 7 0 437s 2 2 0 0 0 0 0 0 0 0 437s 2 2 0 0 0 6 6 0 0 9]; 437s assert (bwlabeln (a2d, 8), label2dc8) 437s assert (bwlabeln (a2d, ones (3)), label2dc8) 437s assert (bwlabeln (a2d, conndef (2, "maximal")), label2dc8) 437s assert (bwlabeln (a2d, conndef (3, "maximal")), label2dc8) 437s ***** test 437s label3dc8 = [ 437s 1 0 0 0 0 0 5 0 0 8 437s 1 0 0 3 0 5 0 5 0 8 437s 1 0 3 0 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 2 0 0 0 0 0 0 0 0 437s 2 2 0 4 4 4 0 0 0 0 437s 2 2 0 4 0 0 0 7 0 0 437s 2 2 0 0 0 0 7 0 7 0 437s 2 2 0 0 0 0 0 0 0 0 437s 2 2 0 0 0 6 6 0 0 9]; 437s label3dc8(:,:,2) = [ 437s 0 0 0 0 0 0 0 0 0 0 437s 10 0 0 12 12 0 0 16 0 0 437s 0 0 0 12 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 11 0 0 0 0 0 0 0 0 437s 11 11 0 0 13 13 0 0 0 0 437s 11 11 0 13 0 0 0 0 0 0 437s 11 0 0 0 0 0 14 0 0 0 437s 0 11 0 0 0 0 0 0 0 17 437s 11 11 0 0 0 0 15 0 0 0]; 437s label3dc8(:,:,3) = [ 437s 18 0 0 0 0 0 0 0 0 0 437s 0 18 0 20 20 0 0 22 0 0 437s 0 0 0 20 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 0 0 21 21 21 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 19 0 0 0 0 0 0 0 0 0 437s 19 19 0 0 0 0 0 0 0 23 437s 19 19 0 0 0 0 0 0 0 0]; 437s assert (bwlabeln (a3d, 8), label3dc8) 437s assert (bwlabeln (a3d, ones (3, 3)), label3dc8) 437s assert (bwlabeln (a3d, conndef (2, "maximal")), label3dc8) 437s ***** test 437s label3dc26 = [ 437s 1 0 0 0 0 0 3 0 0 7 437s 1 0 0 3 0 3 0 3 0 7 437s 1 0 3 0 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 2 0 0 0 0 0 0 0 0 437s 2 2 0 4 4 4 0 0 0 0 437s 2 2 0 4 0 0 0 6 0 0 437s 2 2 0 0 0 0 6 0 6 0 437s 2 2 0 0 0 0 0 0 0 0 437s 2 2 0 0 0 5 5 0 0 6]; 437s label3dc26(:,:,2) = [ 437s 0 0 0 0 0 0 0 0 0 0 437s 1 0 0 3 3 0 0 3 0 0 437s 0 0 0 3 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 2 0 0 0 0 0 0 0 0 437s 2 2 0 0 4 4 0 0 0 0 437s 2 2 0 4 0 0 0 0 0 0 437s 2 0 0 0 0 0 6 0 0 0 437s 0 2 0 0 0 0 0 0 0 6 437s 2 2 0 0 0 0 5 0 0 0]; 437s label3dc26(:,:,3) = [ 437s 1 0 0 0 0 0 0 0 0 0 437s 0 1 0 3 3 0 0 3 0 0 437s 0 0 0 3 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 0 0 4 4 4 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 2 0 0 0 0 0 0 0 0 0 437s 2 2 0 0 0 0 0 0 0 6 437s 2 2 0 0 0 0 0 0 0 0]; 437s assert (bwlabeln (a3d, 26), label3dc26) 437s assert (bwlabeln (a3d, ones (3, 3, 3)), label3dc26) 437s assert (bwlabeln (a3d, conndef (3, "maximal")), label3dc26) 437s ***** test 437s label3dc18 = [ 437s 1 0 0 0 0 0 3 0 0 7 437s 1 0 0 3 0 3 0 3 0 7 437s 1 0 3 0 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 2 0 0 0 0 0 0 0 0 437s 2 2 0 4 4 4 0 0 0 0 437s 2 2 0 4 0 0 0 6 0 0 437s 2 2 0 0 0 0 6 0 6 0 437s 2 2 0 0 0 0 0 0 0 0 437s 2 2 0 0 0 5 5 0 0 8]; 437s label3dc18(:,:,2) = [ 437s 0 0 0 0 0 0 0 0 0 0 437s 1 0 0 3 3 0 0 3 0 0 437s 0 0 0 3 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 2 0 0 0 0 0 0 0 0 437s 2 2 0 0 4 4 0 0 0 0 437s 2 2 0 4 0 0 0 0 0 0 437s 2 0 0 0 0 0 6 0 0 0 437s 0 2 0 0 0 0 0 0 0 8 437s 2 2 0 0 0 0 5 0 0 0]; 437s label3dc18(:,:,3) = [ 437s 1 0 0 0 0 0 0 0 0 0 437s 0 1 0 3 3 0 0 3 0 0 437s 0 0 0 3 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 0 0 4 4 4 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 2 0 0 0 0 0 0 0 0 0 437s 2 2 0 0 0 0 0 0 0 8 437s 2 2 0 0 0 0 0 0 0 0]; 437s assert (bwlabeln (a3d, 18), label3dc18) 437s ***** test 437s label2dc3 = [ 437s 1 0 0 0 0 0 11 0 0 17 437s 1 0 0 5 0 8 0 14 0 17 437s 1 0 4 0 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 3 0 0 0 0 0 0 0 0 437s 2 3 0 6 7 9 0 0 0 0 437s 2 3 0 6 0 0 0 15 0 0 437s 2 3 0 0 0 0 12 0 16 0 437s 2 3 0 0 0 0 0 0 0 0 437s 2 3 0 0 0 10 13 0 0 18]; 437s assert (bwlabeln (a2d, [1 1 1]'), label2dc3) 437s 437s label3dc3 = label2dc3; 437s label3dc3(:,:,2) = [ 437s 0 0 0 0 0 0 0 0 0 0 437s 19 0 0 24 26 0 0 31 0 0 437s 0 0 0 24 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 22 0 0 0 0 0 0 0 0 437s 20 22 0 0 27 28 0 0 0 0 437s 20 22 0 25 0 0 0 0 0 0 437s 20 0 0 0 0 0 29 0 0 0 437s 0 23 0 0 0 0 0 0 0 32 437s 21 23 0 0 0 0 30 0 0 0]; 437s label3dc3(:,:,3) = [ 437s 33 0 0 0 0 0 0 0 0 0 437s 0 35 0 37 39 0 0 42 0 0 437s 0 0 0 37 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 0 0 38 40 41 0 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 34 0 0 0 0 0 0 0 0 0 437s 34 36 0 0 0 0 0 0 0 43 437s 34 36 0 0 0 0 0 0 0 0]; 437s assert (bwlabeln (a3d, [1 1 1]'), label3dc3) 437s ***** test 437s label2dc1 = zeros (size (a2d)); 437s label2dc1(a2d != 0) = 1:nnz (a2d); 437s assert (bwlabeln (a2d, [1]), label2dc1); 437s assert (bwlabeln (a2d, [0 1 0]'), label2dc1); 437s 437s label3dc1 = zeros (size (a3d)); 437s label3dc1(a3d != 0) = 1:nnz (a3d); 437s assert (bwlabeln (a3d, [1]), label3dc1); 437s assert (bwlabeln (a3d, [0 1 0]'), label3dc1); 437s ***** shared in 437s in = rand (10) > 0.8; 437s ***** assert (bwlabel (in, 4), bwlabeln (in, 4)); 437s ***** assert (bwlabel (in, 4), bwlabeln (in, [0 1 0; 1 1 1; 0 1 0])); 437s ***** assert (bwlabel (in, 8), bwlabeln (in, 8)); 437s ***** assert (bwlabel (in, 8), bwlabeln (in, [1 1 1; 1 1 1; 1 1 1])); 437s ***** assert (bwlabel (logical ([0 1 0; 0 0 0; 1 0 1])), [0 2 0; 0 0 0; 1 0 3]); 437s ***** assert (bwlabel ([0 1 0; 0 0 0; 1 0 1]), [0 2 0; 0 0 0; 1 0 3]); 437s ***** assert (bwlabel ([0 -1 0; 0 0 0; 5 0 0.2]), [0 2 0; 0 0 0; 1 0 3]); 437s ***** shared in, out 437s 437s in = [ 0 1 1 0 0 1 0 0 0 0 437s 0 0 0 1 0 0 0 0 0 1 437s 0 1 1 0 0 0 0 0 1 1 437s 1 0 0 0 0 0 0 1 0 0 437s 0 0 0 0 0 1 1 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 0 0 1 0 0 0 0 0 0 437s 0 0 0 0 1 1 0 1 0 0 437s 0 0 0 1 0 1 0 1 0 1 437s 1 1 0 0 0 0 0 1 1 0]; 437s 437s out = [ 0 3 3 0 0 9 0 0 0 0 437s 0 0 0 5 0 0 0 0 0 13 437s 0 4 4 0 0 0 0 0 13 13 437s 1 0 0 0 0 0 0 11 0 0 437s 0 0 0 0 0 10 10 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 0 0 6 0 0 0 0 0 0 437s 0 0 0 0 8 8 0 12 0 0 437s 0 0 0 7 0 8 0 12 0 14 437s 2 2 0 0 0 0 0 12 12 0]; 437s ***** assert (nthargout ([1 2], @bwlabel, in, 4), {out, 14}); 437s ***** assert (nthargout ([1 2], @bwlabel, logical (in), 4), {out, 14}); 437s 437s out = [ 0 3 3 0 0 7 0 0 0 0 437s 0 0 0 3 0 0 0 0 0 11 437s 0 4 4 0 0 0 0 0 11 11 437s 1 0 0 0 0 0 0 9 0 0 437s 0 0 0 0 0 8 8 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 0 0 5 0 0 0 0 0 0 437s 0 0 0 0 5 5 0 10 0 0 437s 0 0 0 6 0 5 0 10 0 12 437s 2 2 0 0 0 0 0 10 10 0]; 437s ***** assert (nthargout ([1 2], @bwlabel, in, 6), {out, 12}); 437s ***** assert (nthargout ([1 2], @bwlabel, logical (in), 6), {out, 12}); 437s 437s ## The labeled image is not the same as Matlab, but they are 437s ## labeled correctly. Do we really need to get them properly 437s ## ordered? (the algorithm in bwlabeln does it) 437s mout = [0 1 1 0 0 4 0 0 0 0 437s 0 0 0 1 0 0 0 0 0 5 437s 0 1 1 0 0 0 0 0 5 5 437s 1 0 0 0 0 0 0 5 0 0 437s 0 0 0 0 0 5 5 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 0 0 3 0 0 0 0 0 0 437s 0 0 0 0 3 3 0 6 0 0 437s 0 0 0 3 0 3 0 6 0 6 437s 2 2 0 0 0 0 0 6 6 0]; 437s 437s out = [ 0 2 2 0 0 4 0 0 0 0 437s 0 0 0 2 0 0 0 0 0 5 437s 0 2 2 0 0 0 0 0 5 5 437s 2 0 0 0 0 0 0 5 0 0 437s 0 0 0 0 0 5 5 0 0 0 437s 0 0 0 0 0 0 0 0 0 0 437s 0 0 0 3 0 0 0 0 0 0 437s 0 0 0 0 3 3 0 6 0 0 437s 0 0 0 3 0 3 0 6 0 6 437s 1 1 0 0 0 0 0 6 6 0]; 437s ***** assert (nthargout ([1 2], @bwlabel, in, 8), {out, 6}); 437s ***** assert (nthargout ([1 2], @bwlabel, logical (in), 8), {out, 6}); 437s 437s ***** error bwlabel (rand (10, 10, 10) > 0.8, 4) 437s ***** error bwlabel (rand (10) > 0.8, "text") 437s ***** error bwlabel ("text", 6) 437s 23 tests, 23 passed, 0 known failure, 0 skipped 437s [src/__spatial_filtering__.cc] 437s >>>>> /tmp/autopkgtest.CjRShg/build.Ly0/src/src/__spatial_filtering__.cc 437s ***** error 437s __spatial_filtering__ (ones (10), ones (3), "std", ones (10), 0) 437s ***** error 437s __spatial_filtering__ (ones (10), ones (3), "std", ones (3, 3, 3), 0) 437s ***** error 437s __spatial_filtering__ (ones (10), ones (3), "std", ones (1, 9), 0) 437s ***** shared a, domain, s, out 437s a = [ 82 2 97 43 79 43 41 65 51 11 437s 60 65 21 56 94 77 36 38 75 39 437s 32 68 78 1 16 75 76 90 81 56 437s 43 90 82 41 36 1 87 19 18 63 437s 63 64 2 48 18 43 38 25 22 99 437s 12 46 90 79 3 92 39 79 10 22 437s 38 98 11 10 40 90 88 38 4 76 437s 54 37 9 4 33 98 36 47 53 57 437s 38 76 82 50 14 74 64 99 7 33 437s 88 96 41 62 84 89 97 23 41 3]; 437s 437s domain = ones (3); 437s s = zeros (3); 437s 437s out = [ 2 1 1 1 16 36 36 11 437s 21 1 1 1 1 1 18 18 437s 2 1 1 1 1 1 18 18 437s 2 2 2 1 1 1 10 10 437s 2 2 2 3 3 25 4 4 437s 9 4 3 3 3 36 4 4 437s 9 4 4 4 14 36 4 4 437s 9 4 4 4 14 23 7 3]; 437s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, 1), out); 437s 437s out = [ 97 97 97 94 94 90 90 90 437s 90 90 94 94 94 90 90 90 437s 90 90 82 75 87 90 90 99 437s 90 90 90 92 92 92 87 99 437s 98 98 90 92 92 92 88 99 437s 98 98 90 98 98 98 88 79 437s 98 98 82 98 98 99 99 99 437s 96 96 84 98 98 99 99 99]; 437s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, nnz (domain)), out); 437s 437s out = [ 60 43 43 43 43 43 51 51 437s 60 56 36 36 36 38 38 39 437s 63 48 18 18 36 38 25 25 437s 46 48 36 36 36 38 22 22 437s 38 46 11 40 39 39 25 22 437s 37 11 10 33 39 47 38 38 437s 38 11 11 33 40 64 38 38 437s 41 41 33 50 64 64 41 33]; 437s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, 4), out); 437s 437s out = [ 31.223 33.788 35.561 31.011 26.096 20.630 20.403 24.712 437s 23.428 29.613 32.376 34.002 33.593 32.470 29.605 26.333 437s 27.834 32.890 29.903 24.207 30.083 32.497 31.898 32.600 437s 32.027 28.995 33.530 31.002 32.241 32.004 27.501 32.070 437s 34.682 36.030 33.046 33.745 32.509 27.352 28.607 34.180 437s 32.709 37.690 32.992 40.036 34.456 26.656 27.685 26.863 437s 30.971 36.227 25.775 34.873 29.917 25.269 32.292 30.410 437s 29.135 31.626 30.056 33.594 30.814 28.853 30.917 29.120]; 437s ***** assert (__spatial_filtering__ (a, domain, "std", s), out, 0.001); 437s 437s out = [ 95 96 96 93 78 54 54 79 437s 69 89 93 93 93 89 72 72 437s 88 89 81 74 86 89 72 81 437s 88 88 88 91 91 91 77 89 437s 96 96 88 89 89 67 84 95 437s 89 94 87 95 95 62 84 75 437s 89 94 78 94 84 63 95 95 437s 87 92 80 94 84 76 92 96]; 437s ***** assert (__spatial_filtering__ (a, domain, "range", s), out); 437s 437s domain = [ 1 1 0 437s 0 1 1 437s 0 1 0]; 437s 437s out = [ 2 2 1 16 36 36 38 39 437s 60 1 1 16 1 36 19 18 437s 32 2 1 1 1 19 18 18 437s 2 2 18 3 1 1 19 10 437s 46 2 2 3 18 38 10 4 437s 11 9 4 3 3 36 4 4 437s 9 4 4 10 36 36 38 4 437s 37 9 4 4 33 36 7 7]; 437s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, 1), out); 437s 437s out = [ 82 97 97 94 79 76 90 81 437s 90 82 56 94 94 90 90 81 437s 90 82 78 36 87 87 90 90 437s 90 90 82 43 92 87 87 99 437s 98 90 79 92 92 88 79 25 437s 98 90 90 90 98 92 79 79 437s 98 98 50 98 98 90 99 57 437s 96 82 62 84 98 99 99 53]; 437s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, nnz (domain)), out); 437s 437s out = [ 68 78 94 79 77 43 75 75 437s 78 78 41 75 77 87 81 75 437s 82 78 48 18 75 76 76 81 437s 64 90 79 41 43 39 79 22 437s 90 79 48 48 90 79 38 22 437s 46 46 79 79 92 88 47 76 437s 76 82 33 40 90 88 88 53 437s 82 50 50 74 89 98 47 47]; 437s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, 4), out); 437s 437s out = [ 34.2389 39.2772 39.6699 31.6812 20.7364 16.5439 22.2419 17.2395 437s 11.9248 36.3084 21.6217 30.8350 36.4047 21.6726 30.9144 26.1017 437s 22.2980 33.2746 27.5808 14.5017 36.8890 29.0259 34.6020 33.2521 437s 32.2490 37.9579 26.9685 17.1959 32.5346 31.3847 33.5976 36.8280 437s 21.3354 40.1833 34.0044 33.9882 32.9894 24.1102 25.6613 9.0995 437s 35.4641 35.3794 39.0871 35.4753 39.9775 28.7193 26.7451 35.6553 437s 35.2179 45.3398 19.3210 35.2987 28.4042 24.0832 26.8421 25.0539 437s 23.4307 26.2812 26.3287 35.6959 25.2646 28.1016 34.9829 17.9221]; 437s ***** assert (__spatial_filtering__ (a, domain, "std", s), out, 0.001); 437s 437s out = [ 80 95 96 78 43 40 52 42 437s 30 81 55 78 93 54 71 63 437s 58 80 77 35 86 68 72 72 437s 88 88 64 40 91 86 68 89 437s 52 88 77 89 74 50 69 21 437s 87 81 86 87 95 56 75 75 437s 89 94 46 88 62 54 61 53 437s 59 73 58 80 65 63 92 46]; 437s ***** assert (__spatial_filtering__ (a, domain, "range", s), out); 437s 437s s = [ 1 -3 4 437s 6 -7 2 437s -1 3 -5]; 437s 437s out = [ -1 3 4 19 38 29 31 41 437s 61 3 -6 9 4 33 22 21 437s 33 5 -2 2 -6 21 12 11 437s 4 -5 20 6 -2 2 16 13 437s 39 -1 3 -4 19 32 12 3 437s 13 4 3 0 4 36 6 -3 437s 11 2 -3 11 38 29 35 1 437s 34 6 1 5 34 33 9 0]; 437s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, 1), out); 437s 437s out = [ 83 94 98 87 80 79 93 84 437s 93 85 53 91 95 92 83 74 437s 84 75 79 29 89 80 87 91 437s 87 93 83 45 95 84 88 101 437s 101 83 72 94 93 91 72 26 437s 91 87 91 92 101 93 76 80 437s 95 99 53 100 91 91 102 59 437s 99 75 65 87 95 101 92 50]; 437s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, nnz (domain)), out); 437s 437s out = [ 71 81 96 79 78 44 77 68 437s 80 71 44 77 78 90 83 72 437s 83 75 51 21 72 76 77 78 437s 57 91 82 42 40 42 82 20 437s 92 81 45 49 85 81 41 24 437s 43 47 76 80 90 81 50 78 437s 79 85 35 37 87 85 89 46 437s 84 52 43 76 92 100 44 48]; 437s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, 4), out); 437s 437s out = [ 34.903 40.206 39.885 28.627 20.620 19.248 25.209 17.111 437s 14.536 35.865 23.221 32.230 34.903 23.923 28.879 22.621 437s 20.635 30.113 29.351 11.610 38.863 25.936 34.608 34.482 437s 29.811 40.998 28.279 17.897 34.666 29.978 36.150 38.213 437s 25.066 39.240 30.013 37.300 31.856 27.428 22.884 10.281 437s 31.890 34.761 39.645 37.526 39.336 27.031 25.648 39.285 437s 35.017 47.776 22.764 35.912 25.460 25.636 29.861 24.566 437s 25.213 25.000 26.391 38.451 24.631 31.305 31.118 20.611]; 437s ***** assert (__spatial_filtering__ (a, domain, "std", s), out, 0.001); 437s 437s out = [ 84 91 94 68 42 50 62 43 437s 32 82 59 82 91 59 61 53 437s 51 70 81 27 95 59 75 80 437s 83 98 63 39 97 82 72 88 437s 62 84 69 98 74 59 60 23 437s 78 83 88 92 97 57 70 83 437s 84 97 56 89 53 62 67 58 437s 65 69 64 82 61 68 83 50]; 437s ***** assert (__spatial_filtering__ (a, domain, "range", s), out); 437s 18 tests, 18 passed, 0 known failure, 0 skipped 437s Done running the unit tests. 437s Summary: 2033 tests, 1999 passed, 34 known failures, 0 skipped 438s autopkgtest [20:59:55]: test command1: -----------------------] 439s command1 PASS 439s autopkgtest [20:59:56]: test command1: - - - - - - - - - - results - - - - - - - - - - 439s autopkgtest [20:59:56]: @@@@@@@@@@@@@@@@@@@@ summary 439s command1 PASS 457s nova [W] Skipping flock for amd64 457s Creating nova instance adt-plucky-amd64-octave-image-20250315-205236-juju-7f2275-prod-proposed-migration-environment-2-9cb117a8-725a-46e4-a5e6-45f56237a484 from image adt/ubuntu-plucky-amd64-server-20250304.img (UUID 9c7d4da5-d95f-4c85-ac1f-51eb37e75c4c)... 457s nova [W] Timed out waiting for 91253bdc-87e8-406b-9948-080077128b80 to get deleted.