0s autopkgtest [23:23:55]: starting date and time: 2024-03-22 23:23:55+0000 0s autopkgtest [23:23:55]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [23:23:55]: host juju-7f2275-prod-proposed-migration-environment-4; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.t11l_1i8/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_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,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed --apt-upgrade octave-image --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=octave/8.4.0-1build4 -- lxd -r lxd-armhf-10.145.243.125 lxd-armhf-10.145.243.125:autopkgtest/ubuntu/noble/armhf 22s autopkgtest [23:24:17]: testbed dpkg architecture: armhf 24s autopkgtest [23:24:19]: testbed apt version: 2.7.12 24s autopkgtest [23:24:19]: @@@@@@@@@@@@@@@@@@@@ test bed setup 31s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 31s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [498 kB] 32s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 32s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3979 kB] 32s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [57.7 kB] 32s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf Packages [641 kB] 32s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main armhf c-n-f Metadata [2492 B] 32s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf Packages [1372 B] 32s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted armhf c-n-f Metadata [116 B] 32s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf Packages [4064 kB] 32s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf c-n-f Metadata [7776 B] 32s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf Packages [49.1 kB] 32s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse armhf c-n-f Metadata [116 B] 34s Fetched 9425 kB in 2s (5058 kB/s) 35s Reading package lists... 43s tee: /proc/self/fd/2: Permission denied 67s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 67s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 67s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 67s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 71s Reading package lists... 71s Reading package lists... 71s Building dependency tree... 71s Reading state information... 72s Calculating upgrade... 72s The following packages were automatically installed and are no longer required: 72s linux-headers-6.8.0-11 python3-lib2to3 72s Use 'apt autoremove' to remove them. 72s The following packages will be REMOVED: 72s libapt-pkg6.0 libarchive13 libatm1 libcurl3-gnutls libcurl4 libdb5.3 libelf1 72s libext2fs2 libgdbm-compat4 libgdbm6 libglib2.0-0 libgnutls30 libgpgme11 72s libhogweed6 libmagic1 libnetplan0 libnettle8 libnpth0 libnvme1 libparted2 72s libpcap0.8 libperl5.38 libpng16-16 libpsl5 libreadline8 libreiserfscore0 72s libssl3 libtirpc3 libuv1 linux-headers-6.8.0-11-generic python3-distutils 72s The following NEW packages will be installed: 72s libapt-pkg6.0t64 libarchive13t64 libatm1t64 libcurl3t64-gnutls libcurl4t64 72s libdb5.3t64 libelf1t64 libext2fs2t64 libgdbm-compat4t64 libgdbm6t64 72s libglib2.0-0t64 libgnutls30t64 libgpgme11t64 libhogweed6t64 libmagic1t64 72s libnetplan1 libnettle8t64 libnpth0t64 libnvme1t64 libparted2t64 72s libpcap0.8t64 libperl5.38t64 libpng16-16t64 libpsl5t64 libreadline8t64 72s libreiserfscore0t64 libssl3t64 libtirpc3t64 libuv1t64 linux-headers-6.8.0-20 72s linux-headers-6.8.0-20-generic xdg-user-dirs 72s The following packages have been kept back: 72s multipath-tools 72s The following packages will be upgraded: 72s apparmor apt apt-utils bind9-dnsutils bind9-host bind9-libs binutils 72s binutils-arm-linux-gnueabihf binutils-common bolt bsdextrautils bsdutils 72s btrfs-progs coreutils cryptsetup-bin curl dbus dbus-bin dbus-daemon 72s dbus-session-bus-common dbus-system-bus-common dbus-user-session dhcpcd-base 72s dirmngr dmsetup dpkg dpkg-dev e2fsprogs e2fsprogs-l10n eject fdisk file ftp 72s fwupd gawk gcc-13-base gcc-14-base gir1.2-girepository-2.0 gir1.2-glib-2.0 72s gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 72s groff-base ibverbs-providers inetutils-telnet info initramfs-tools 72s initramfs-tools-bin initramfs-tools-core install-info iproute2 jq keyboxd 72s kmod kpartx krb5-locales libapparmor1 libaudit-common libaudit1 libbinutils 72s libblkid1 libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 72s libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 72s libblockdev-utils3 libblockdev3 libbpf1 libbrotli1 libbsd0 libc-bin libc6 72s libcap-ng0 libcom-err2 libcryptsetup12 libctf-nobfd0 libctf0 libdbus-1-3 72s libdebconfclient0 libdevmapper1.02.1 libdpkg-perl libevent-core-2.1-7 72s libexpat1 libfdisk1 libfido2-1 libftdi1-2 libfwupd2 libgcc-s1 72s libgirepository-1.0-1 libglib2.0-data libgssapi-krb5-2 libgudev-1.0-0 72s libgusb2 libibverbs1 libjcat1 libjq1 libjson-glib-1.0-0 72s libjson-glib-1.0-common libk5crypto3 libkmod2 libkrb5-3 libkrb5support0 72s libldap-common libldap2 liblocale-gettext-perl liblzma5 libmagic-mgc 72s libmbim-glib4 libmbim-proxy libmm-glib0 libmount1 libnghttp2-14 libnsl2 72s libnss-systemd libpam-modules libpam-modules-bin libpam-runtime 72s libpam-systemd libpam0g libplymouth5 libpolkit-agent-1-0 72s libpolkit-gobject-1-0 libprotobuf-c1 libpython3-stdlib libpython3.11-minimal 72s libpython3.11-stdlib libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 72s libqmi-proxy libqrtr-glib0 librtmp1 libsasl2-2 libsasl2-modules 72s libsasl2-modules-db libseccomp2 libselinux1 libsemanage-common libsemanage2 72s libsframe1 libslang2 libsmartcols1 libsqlite3-0 libss2 libssh-4 libstdc++6 72s libsystemd-shared libsystemd0 libtext-charwidth-perl libtext-iconv-perl 72s libtirpc-common libudev1 libudisks2-0 libusb-1.0-0 libuuid1 libvolume-key1 72s libxml2 libxmlb2 libxmuu1 linux-headers-generic locales logsave lshw lsof 72s man-db mount mtr-tiny netplan-generator netplan.io openssh-client 72s openssh-server openssh-sftp-server openssl parted perl perl-base 72s perl-modules-5.38 pinentry-curses plymouth plymouth-theme-ubuntu-text psmisc 72s python-apt-common python3 python3-apt python3-cryptography python3-dbus 72s python3-gdbm python3-gi python3-lib2to3 python3-minimal python3-netplan 72s python3-pkg-resources python3-pyrsistent python3-setuptools 72s python3-typing-extensions python3-yaml python3.11 python3.11-minimal 72s python3.12 python3.12-minimal readline-common rsync shared-mime-info sudo 72s systemd systemd-dev systemd-resolved systemd-sysv systemd-timesyncd tcpdump 72s telnet tnftp ubuntu-pro-client ubuntu-pro-client-l10n udev udisks2 usb.ids 72s util-linux uuid-runtime vim-common vim-tiny wget xxd xz-utils zlib1g 73s 234 upgraded, 32 newly installed, 31 to remove and 1 not upgraded. 73s Need to get 106 MB of archives. 73s After this operation, 84.4 MB of additional disk space will be used. 73s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bsdutils armhf 1:2.39.3-9ubuntu2 [102 kB] 73s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gcc-14-base armhf 14-20240315-1ubuntu1 [47.0 kB] 73s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgcc-s1 armhf 14-20240315-1ubuntu1 [41.5 kB] 73s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libstdc++6 armhf 14-20240315-1ubuntu1 [714 kB] 73s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libc6 armhf 2.39-0ubuntu6 [2827 kB] 73s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libbrotli1 armhf 1.1.0-2build1 [319 kB] 73s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgssapi-krb5-2 armhf 1.20.1-5.1ubuntu1 [119 kB] 73s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libkrb5-3 armhf 1.20.1-5.1ubuntu1 [321 kB] 73s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libkrb5support0 armhf 1.20.1-5.1ubuntu1 [31.4 kB] 73s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libk5crypto3 armhf 1.20.1-5.1ubuntu1 [78.6 kB] 73s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcom-err2 armhf 1.47.0-2.4~exp1ubuntu2 [21.9 kB] 73s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main armhf zlib1g armhf 1:1.3.dfsg-3.1ubuntu1 [49.2 kB] 73s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main armhf librtmp1 armhf 2.4+20151223.gitfa8646d.1-2build6 [51.3 kB] 73s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main armhf udisks2 armhf 2.10.1-6 [276 kB] 73s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libudisks2-0 armhf 2.10.1-6 [143 kB] 73s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblkid1 armhf 2.39.3-9ubuntu2 [160 kB] 73s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main armhf liblzma5 armhf 5.6.0-0.2 [117 kB] 73s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main armhf kmod armhf 31+20240202-2ubuntu4 [91.8 kB] 73s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libkmod2 armhf 31+20240202-2ubuntu4 [44.9 kB] 73s Get:20 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-dev all 255.4-1ubuntu5 [103 kB] 73s Get:21 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-timesyncd armhf 255.4-1ubuntu5 [36.0 kB] 73s Get:22 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-session-bus-common all 1.14.10-4ubuntu2 [80.3 kB] 73s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libaudit-common all 1:3.1.2-2.1 [5674 B] 73s Get:24 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcap-ng0 armhf 0.8.4-2build1 [13.5 kB] 73s Get:25 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libaudit1 armhf 1:3.1.2-2.1 [44.3 kB] 73s Get:26 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam0g armhf 1.5.3-5ubuntu3 [62.0 kB] 73s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libselinux1 armhf 3.5-2ubuntu1 [70.9 kB] 73s Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcurl4t64 armhf 8.5.0-2ubuntu7 [296 kB] 73s Get:29 http://ftpmaster.internal/ubuntu noble-proposed/main armhf curl armhf 8.5.0-2ubuntu7 [219 kB] 73s Get:30 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpsl5t64 armhf 0.21.2-1.1 [55.7 kB] 73s Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main armhf wget armhf 1.21.4-1ubuntu2 [317 kB] 73s Get:32 http://ftpmaster.internal/ubuntu noble-proposed/main armhf tnftp armhf 20230507-2build1 [98.6 kB] 73s Get:33 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpcap0.8t64 armhf 1.10.4-4.1ubuntu1 [137 kB] 73s Get:34 http://ftpmaster.internal/ubuntu noble-proposed/main armhf tcpdump armhf 4.99.4-3ubuntu2 [425 kB] 74s Get:35 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsystemd-shared armhf 255.4-1ubuntu5 [2009 kB] 74s Get:36 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-resolved armhf 255.4-1ubuntu5 [289 kB] 74s Get:37 http://ftpmaster.internal/ubuntu noble-proposed/main armhf sudo armhf 1.9.15p5-3ubuntu3 [936 kB] 74s Get:38 http://ftpmaster.internal/ubuntu noble-proposed/main armhf rsync armhf 3.2.7-1build1 [413 kB] 74s Get:39 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-cryptography armhf 41.0.7-4build2 [788 kB] 74s Get:40 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssl armhf 3.0.13-0ubuntu2 [975 kB] 74s Get:41 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssh-sftp-server armhf 1:9.6p1-3ubuntu11 [35.5 kB] 74s Get:42 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssh-client armhf 1:9.6p1-3ubuntu11 [890 kB] 74s Get:43 http://ftpmaster.internal/ubuntu noble-proposed/main armhf openssh-server armhf 1:9.6p1-3ubuntu11 [503 kB] 74s Get:44 http://ftpmaster.internal/ubuntu noble-proposed/main armhf linux-headers-6.8.0-20 all 6.8.0-20.20 [13.6 MB] 74s Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main armhf linux-headers-6.8.0-20-generic armhf 6.8.0-20.20 [1287 kB] 74s Get:46 http://ftpmaster.internal/ubuntu noble-proposed/main armhf linux-headers-generic armhf 6.8.0-20.20+1 [9610 B] 74s Get:47 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libssl3t64 armhf 3.0.13-0ubuntu2 [1558 kB] 74s Get:48 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnss-systemd armhf 255.4-1ubuntu5 [148 kB] 74s Get:49 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libudev1 armhf 255.4-1ubuntu5 [166 kB] 74s Get:50 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd armhf 255.4-1ubuntu5 [3502 kB] 74s Get:51 http://ftpmaster.internal/ubuntu noble-proposed/main armhf udev armhf 255.4-1ubuntu5 [1852 kB] 74s Get:52 http://ftpmaster.internal/ubuntu noble-proposed/main armhf systemd-sysv armhf 255.4-1ubuntu5 [11.9 kB] 74s Get:53 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-systemd armhf 255.4-1ubuntu5 [216 kB] 74s Get:54 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsystemd0 armhf 255.4-1ubuntu5 [410 kB] 74s Get:55 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-modules-bin armhf 1.5.3-5ubuntu3 [47.0 kB] 74s Get:56 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-modules armhf 1.5.3-5ubuntu3 [261 kB] 74s Get:57 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpam-runtime all 1.5.3-5ubuntu3 [40.8 kB] 74s Get:58 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-user-session armhf 1.14.10-4ubuntu2 [9962 B] 74s Get:59 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libapparmor1 armhf 4.0.0-beta3-0ubuntu2 [45.0 kB] 74s Get:60 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libexpat1 armhf 2.6.1-2 [65.9 kB] 74s Get:61 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-system-bus-common all 1.14.10-4ubuntu2 [81.5 kB] 74s Get:62 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-bin armhf 1.14.10-4ubuntu2 [37.1 kB] 74s Get:63 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus armhf 1.14.10-4ubuntu2 [28.1 kB] 74s Get:64 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dbus-daemon armhf 1.14.10-4ubuntu2 [109 kB] 74s Get:65 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdbus-1-3 armhf 1.14.10-4ubuntu2 [190 kB] 74s Get:66 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmount1 armhf 2.39.3-9ubuntu2 [171 kB] 74s Get:67 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libseccomp2 armhf 2.5.5-1ubuntu2 [49.5 kB] 74s Get:68 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdevmapper1.02.1 armhf 2:1.02.185-3ubuntu2 [135 kB] 74s Get:69 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libuuid1 armhf 2.39.3-9ubuntu2 [34.4 kB] 74s Get:70 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcryptsetup12 armhf 2:2.7.0-1ubuntu2 [238 kB] 75s Get:71 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfdisk1 armhf 2.39.3-9ubuntu2 [196 kB] 75s Get:72 http://ftpmaster.internal/ubuntu noble-proposed/main armhf mount armhf 2.39.3-9ubuntu2 [134 kB] 75s Get:73 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-utils3 armhf 3.1.0-1build1 [16.9 kB] 75s Get:74 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libvolume-key1 armhf 0.3.12-7build1 [38.4 kB] 75s Get:75 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjcat1 armhf 0.2.0-2build2 [30.4 kB] 75s Get:76 http://ftpmaster.internal/ubuntu noble-proposed/main armhf parted armhf 3.6-3.1build2 [39.4 kB] 75s Get:77 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libparted2t64 armhf 3.6-3.1build2 [143 kB] 75s Get:78 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.12 armhf 3.12.2-4build3 [645 kB] 75s Get:79 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.12-minimal armhf 3.12.2-4build3 [1942 kB] 75s Get:80 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.12-stdlib armhf 3.12.2-4build3 [1906 kB] 75s Get:81 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.12-minimal armhf 3.12.2-4build3 [816 kB] 75s Get:82 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsasl2-modules-db armhf 2.1.28+dfsg1-5ubuntu1 [19.0 kB] 75s Get:83 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.11 armhf 3.11.8-1build4 [589 kB] 75s Get:84 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3.11-minimal armhf 3.11.8-1build4 [1795 kB] 75s Get:85 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.11-stdlib armhf 3.11.8-1build4 [1810 kB] 75s Get:86 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3.11-minimal armhf 3.11.8-1build4 [826 kB] 75s Get:87 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsqlite3-0 armhf 3.45.1-1ubuntu1 [599 kB] 75s Get:88 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtext-iconv-perl armhf 1.7-8build2 [12.7 kB] 75s Get:89 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtext-charwidth-perl armhf 0.04-11build2 [8962 B] 75s Get:90 http://ftpmaster.internal/ubuntu noble-proposed/main armhf perl-modules-5.38 all 5.38.2-3.2 [3110 kB] 75s Get:91 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdb5.3t64 armhf 5.3.28+dfsg2-6 [661 kB] 75s Get:92 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-gdbm armhf 3.12.2-3ubuntu2 [17.1 kB] 75s Get:93 http://ftpmaster.internal/ubuntu noble-proposed/main armhf man-db armhf 2.12.0-3build4 [1196 kB] 75s Get:94 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgdbm6t64 armhf 1.23-5.1 [30.3 kB] 75s Get:95 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgdbm-compat4t64 armhf 1.23-5.1 [6208 B] 75s Get:96 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libperl5.38t64 armhf 5.38.2-3.2 [4101 kB] 75s Get:97 http://ftpmaster.internal/ubuntu noble-proposed/main armhf perl armhf 5.38.2-3.2 [231 kB] 75s Get:98 http://ftpmaster.internal/ubuntu noble-proposed/main armhf perl-base armhf 5.38.2-3.2 [1671 kB] 75s Get:99 http://ftpmaster.internal/ubuntu noble-proposed/main armhf liblocale-gettext-perl armhf 1.07-6ubuntu4 [15.0 kB] 75s Get:100 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnettle8t64 armhf 3.9.1-2.2 [187 kB] 75s Get:101 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libhogweed6t64 armhf 3.9.1-2.2 [187 kB] 75s Get:102 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgnutls30t64 armhf 3.8.3-1.1ubuntu2 [1046 kB] 76s Get:103 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libldap2 armhf 2.6.7+dfsg-1~exp1ubuntu6 [172 kB] 76s Get:104 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcurl3t64-gnutls armhf 8.5.0-2ubuntu7 [290 kB] 76s Get:105 http://ftpmaster.internal/ubuntu noble-proposed/main armhf shared-mime-info armhf 2.4-1build1 [470 kB] 76s Get:106 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gir1.2-girepository-2.0 armhf 1.79.1-1ubuntu6 [24.8 kB] 76s Get:107 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gir1.2-glib-2.0 armhf 2.79.3-3ubuntu5 [182 kB] 76s Get:108 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgirepository-1.0-1 armhf 1.79.1-1ubuntu6 [106 kB] 76s Get:109 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-gi armhf 3.47.0-3build1 [219 kB] 76s Get:110 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-dbus armhf 1.3.2-5build2 [94.7 kB] 76s Get:111 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnetplan1 armhf 1.0-1 [113 kB] 76s Get:112 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-netplan armhf 1.0-1 [22.5 kB] 76s Get:113 http://ftpmaster.internal/ubuntu noble-proposed/main armhf netplan-generator armhf 1.0-1 [58.7 kB] 76s Get:114 http://ftpmaster.internal/ubuntu noble-proposed/main armhf initramfs-tools-bin armhf 0.142ubuntu23 [20.3 kB] 76s Get:115 http://ftpmaster.internal/ubuntu noble-proposed/main armhf initramfs-tools-core all 0.142ubuntu23 [50.1 kB] 76s Get:116 http://ftpmaster.internal/ubuntu noble-proposed/main armhf initramfs-tools all 0.142ubuntu23 [9058 B] 76s Get:117 http://ftpmaster.internal/ubuntu noble-proposed/main armhf netplan.io armhf 1.0-1 [64.3 kB] 76s Get:118 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxmlb2 armhf 0.3.15-1build1 [57.0 kB] 76s Get:119 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libqrtr-glib0 armhf 1.2.2-1ubuntu3 [15.4 kB] 76s Get:120 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libqmi-glib5 armhf 1.35.2-0ubuntu1 [908 kB] 76s Get:121 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libqmi-proxy armhf 1.35.2-0ubuntu1 [5732 B] 76s Get:122 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpolkit-agent-1-0 armhf 124-1ubuntu1 [15.3 kB] 76s Get:123 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpolkit-gobject-1-0 armhf 124-1ubuntu1 [44.1 kB] 76s Get:124 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglib2.0-0t64 armhf 2.79.3-3ubuntu5 [1414 kB] 76s Get:125 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfwupd2 armhf 1.9.15-1 [123 kB] 76s Get:126 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libarchive13t64 armhf 3.7.2-1.1ubuntu2 [330 kB] 76s Get:127 http://ftpmaster.internal/ubuntu noble-proposed/main armhf fwupd armhf 1.9.15-1 [4349 kB] 76s Get:128 http://ftpmaster.internal/ubuntu noble-proposed/main armhf apt-utils armhf 2.7.14 [210 kB] 76s Get:129 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libapt-pkg6.0t64 armhf 2.7.14 [986 kB] 76s Get:130 http://ftpmaster.internal/ubuntu noble-proposed/main armhf apt armhf 2.7.14 [1368 kB] 76s Get:131 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ubuntu-pro-client-l10n armhf 31.2.1 [19.4 kB] 76s Get:132 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ubuntu-pro-client armhf 31.2.1 [216 kB] 76s Get:133 http://ftpmaster.internal/ubuntu noble-proposed/main armhf keyboxd armhf 2.4.4-2ubuntu15 [111 kB] 76s Get:134 http://ftpmaster.internal/ubuntu noble/main armhf libnpth0t64 armhf 1.6-3.1 [6940 B] 76s Get:135 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpgv armhf 2.4.4-2ubuntu15 [224 kB] 76s Get:136 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpg armhf 2.4.4-2ubuntu15 [524 kB] 76s Get:137 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpg-wks-client armhf 2.4.4-2ubuntu15 [87.4 kB] 76s Get:138 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gnupg-utils armhf 2.4.4-2ubuntu15 [158 kB] 76s Get:139 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpg-agent armhf 2.4.4-2ubuntu15 [235 kB] 76s Get:140 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpgsm armhf 2.4.4-2ubuntu15 [241 kB] 76s Get:141 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libreadline8t64 armhf 8.2-3.1build1 [129 kB] 76s Get:142 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gawk armhf 1:5.2.1-2build2 [415 kB] 76s Get:143 http://ftpmaster.internal/ubuntu noble-proposed/main armhf fdisk armhf 2.39.3-9ubuntu2 [135 kB] 76s Get:144 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gpgconf armhf 2.4.4-2ubuntu15 [115 kB] 76s Get:145 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dirmngr armhf 2.4.4-2ubuntu15 [346 kB] 76s Get:146 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gnupg all 2.4.4-2ubuntu15 [359 kB] 76s Get:147 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-apt armhf 2.7.6build1 [162 kB] 76s Get:148 http://ftpmaster.internal/ubuntu noble-proposed/main armhf pinentry-curses armhf 1.2.1-3ubuntu4 [36.7 kB] 76s Get:149 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-yaml armhf 6.0.1-2build1 [117 kB] 76s Get:150 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python-apt-common all 2.7.6build1 [19.8 kB] 76s Get:151 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-setuptools all 68.1.2-2ubuntu1 [396 kB] 76s Get:152 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-pkg-resources all 68.1.2-2ubuntu1 [168 kB] 76s Get:153 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dpkg armhf 1.22.6ubuntu4 [1229 kB] 77s Get:154 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-minimal armhf 3.12.2-0ubuntu1 [27.1 kB] 77s Get:155 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3 armhf 3.12.2-0ubuntu1 [24.1 kB] 77s Get:156 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpython3-stdlib armhf 3.12.2-0ubuntu1 [9802 B] 77s Get:157 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsmartcols1 armhf 2.39.3-9ubuntu2 [117 kB] 77s Get:158 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bsdextrautils armhf 2.39.3-9ubuntu2 [78.7 kB] 77s Get:159 http://ftpmaster.internal/ubuntu noble-proposed/main armhf groff-base armhf 1.23.0-3build1 [946 kB] 77s Get:160 http://ftpmaster.internal/ubuntu noble-proposed/main armhf readline-common all 8.2-3.1build1 [56.5 kB] 77s Get:161 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgpgme11t64 armhf 1.18.0-4.1ubuntu3 [120 kB] 77s Get:162 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-crypto3 armhf 3.1.0-1build1 [20.3 kB] 77s Get:163 http://ftpmaster.internal/ubuntu noble-proposed/main armhf e2fsprogs-l10n all 1.47.0-2.4~exp1ubuntu2 [5996 B] 77s Get:164 http://ftpmaster.internal/ubuntu noble-proposed/main armhf logsave armhf 1.47.0-2.4~exp1ubuntu2 [21.9 kB] 77s Get:165 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dhcpcd-base armhf 1:10.0.6-1ubuntu2 [186 kB] 77s Get:166 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-fs3 armhf 3.1.0-1build1 [34.4 kB] 77s Get:167 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libreiserfscore0t64 armhf 1:3.6.27-7.1 [66.2 kB] 77s Get:168 http://ftpmaster.internal/ubuntu noble-proposed/main armhf btrfs-progs armhf 6.6.3-1.1build1 [852 kB] 77s Get:169 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libext2fs2t64 armhf 1.47.0-2.4~exp1ubuntu2 [201 kB] 77s Get:170 http://ftpmaster.internal/ubuntu noble-proposed/main armhf e2fsprogs armhf 1.47.0-2.4~exp1ubuntu2 [571 kB] 77s Get:171 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-loop3 armhf 3.1.0-1build1 [6502 B] 77s Get:172 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-mdraid3 armhf 3.1.0-1build1 [13.3 kB] 77s Get:173 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-nvme3 armhf 3.1.0-1build1 [17.5 kB] 77s Get:174 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnvme1t64 armhf 1.8-3 [67.5 kB] 77s Get:175 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-part3 armhf 3.1.0-1build1 [16.4 kB] 77s Get:176 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev-swap3 armhf 3.1.0-1build1 [8894 B] 77s Get:177 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libblockdev3 armhf 3.1.0-1build1 [42.9 kB] 77s Get:178 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgudev-1.0-0 armhf 1:238-3ubuntu2 [13.6 kB] 77s Get:179 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxml2 armhf 2.9.14+dfsg-1.3ubuntu2 [595 kB] 77s Get:180 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libbpf1 armhf 1:1.3.0-2build1 [146 kB] 77s Get:181 http://ftpmaster.internal/ubuntu noble-proposed/main armhf iproute2 armhf 6.1.0-1ubuntu5 [1060 kB] 77s Get:182 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libelf1t64 armhf 0.190-1.1build2 [49.9 kB] 77s Get:183 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtirpc-common all 1.3.4+ds-1.1 [8018 B] 77s Get:184 http://ftpmaster.internal/ubuntu noble-proposed/main armhf lsof armhf 4.95.0-1build2 [248 kB] 77s Get:185 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnsl2 armhf 1.3.0-3build2 [36.5 kB] 77s Get:186 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtirpc3t64 armhf 1.3.4+ds-1.1 [73.2 kB] 77s Get:187 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmbim-proxy armhf 1.31.2-0ubuntu2 [5748 B] 77s Get:188 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmbim-glib4 armhf 1.31.2-0ubuntu2 [216 kB] 77s Get:189 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjson-glib-1.0-common all 1.8.0-2build1 [4210 B] 77s Get:190 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjson-glib-1.0-0 armhf 1.8.0-2build1 [61.2 kB] 77s Get:191 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnghttp2-14 armhf 1.59.0-1build1 [68.1 kB] 77s Get:192 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libssh-4 armhf 0.10.6-2build1 [169 kB] 77s Get:193 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libusb-1.0-0 armhf 2:1.0.27-1 [48.7 kB] 77s Get:194 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgusb2 armhf 0.4.8-1build1 [34.6 kB] 77s Get:195 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmm-glib0 armhf 1.23.4-0ubuntu1 [214 kB] 77s Get:196 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libprotobuf-c1 armhf 1.4.1-1ubuntu3 [17.7 kB] 77s Get:197 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsasl2-2 armhf 2.1.28+dfsg1-5ubuntu1 [49.7 kB] 77s Get:198 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libibverbs1 armhf 50.0-2build1 [57.9 kB] 77s Get:199 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfido2-1 armhf 1.14.0-1build1 [75.8 kB] 77s Get:200 http://ftpmaster.internal/ubuntu noble-proposed/main armhf coreutils armhf 9.4-3ubuntu3 [1280 kB] 77s Get:201 http://ftpmaster.internal/ubuntu noble-proposed/main armhf util-linux armhf 2.39.3-9ubuntu2 [1216 kB] 77s Get:202 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libc-bin armhf 2.39-0ubuntu6 [530 kB] 77s Get:203 http://ftpmaster.internal/ubuntu noble-proposed/main armhf file armhf 1:5.45-3 [21.1 kB] 78s Get:204 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmagic-mgc armhf 1:5.45-3 [307 kB] 78s Get:205 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmagic1t64 armhf 1:5.45-3 [81.4 kB] 78s Get:206 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libplymouth5 armhf 24.004.60-1ubuntu6 [140 kB] 78s Get:207 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpng16-16t64 armhf 1.6.43-3 [166 kB] 78s Get:208 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bind9-host armhf 1:9.18.24-0ubuntu3 [47.4 kB] 78s Get:209 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bind9-dnsutils armhf 1:9.18.24-0ubuntu3 [149 kB] 78s Get:210 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bind9-libs armhf 1:9.18.24-0ubuntu3 [1148 kB] 78s Get:211 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libuv1t64 armhf 1.48.0-1.1 [82.9 kB] 78s Get:212 http://ftpmaster.internal/ubuntu noble-proposed/main armhf uuid-runtime armhf 2.39.3-9ubuntu2 [41.7 kB] 78s Get:213 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdebconfclient0 armhf 0.271ubuntu2 [10.8 kB] 78s Get:214 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsemanage-common all 3.5-1build4 [10.1 kB] 78s Get:215 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsemanage2 armhf 3.5-1build4 [84.5 kB] 78s Get:216 http://ftpmaster.internal/ubuntu noble-proposed/main armhf install-info armhf 7.1-3build1 [60.5 kB] 78s Get:217 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gcc-13-base armhf 13.2.0-19ubuntu1 [47.7 kB] 78s Get:218 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libss2 armhf 1.47.0-2.4~exp1ubuntu2 [14.7 kB] 78s Get:219 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dmsetup armhf 2:1.02.185-3ubuntu2 [81.1 kB] 78s Get:220 http://ftpmaster.internal/ubuntu noble-proposed/main armhf eject armhf 2.39.3-9ubuntu2 [43.2 kB] 78s Get:221 http://ftpmaster.internal/ubuntu noble-proposed/main armhf krb5-locales all 1.20.1-5.1ubuntu1 [13.9 kB] 78s Get:222 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libbsd0 armhf 0.12.1-1 [36.6 kB] 78s Get:223 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 78s Get:224 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libslang2 armhf 2.3.3-3build1 [478 kB] 78s Get:225 http://ftpmaster.internal/ubuntu noble-proposed/main armhf locales all 2.39-0ubuntu6 [4232 kB] 78s Get:226 http://ftpmaster.internal/ubuntu noble-proposed/main armhf vim-tiny armhf 2:9.1.0016-1ubuntu5 [665 kB] 78s Get:227 http://ftpmaster.internal/ubuntu noble-proposed/main armhf vim-common all 2:9.1.0016-1ubuntu5 [385 kB] 78s Get:228 http://ftpmaster.internal/ubuntu noble/main armhf xdg-user-dirs armhf 0.18-1 [17.3 kB] 78s Get:229 http://ftpmaster.internal/ubuntu noble-proposed/main armhf xxd armhf 2:9.1.0016-1ubuntu5 [62.4 kB] 78s Get:230 http://ftpmaster.internal/ubuntu noble-proposed/main armhf apparmor armhf 4.0.0-beta3-0ubuntu2 [562 kB] 78s Get:231 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ftp all 20230507-2build1 [4724 B] 78s Get:232 http://ftpmaster.internal/ubuntu noble-proposed/main armhf inetutils-telnet armhf 2:2.5-3ubuntu3 [90.7 kB] 78s Get:233 http://ftpmaster.internal/ubuntu noble-proposed/main armhf info armhf 7.1-3build1 [127 kB] 78s Get:234 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxmuu1 armhf 2:1.1.3-3build1 [8004 B] 78s Get:235 http://ftpmaster.internal/ubuntu noble-proposed/main armhf lshw armhf 02.19.git.2021.06.19.996aaad9c7-2build2 [310 kB] 78s Get:236 http://ftpmaster.internal/ubuntu noble-proposed/main armhf mtr-tiny armhf 0.95-1.1build1 [51.7 kB] 78s Get:237 http://ftpmaster.internal/ubuntu noble-proposed/main armhf plymouth-theme-ubuntu-text armhf 24.004.60-1ubuntu6 [9818 B] 78s Get:238 http://ftpmaster.internal/ubuntu noble-proposed/main armhf plymouth armhf 24.004.60-1ubuntu6 [142 kB] 78s Get:239 http://ftpmaster.internal/ubuntu noble-proposed/main armhf psmisc armhf 23.7-1 [176 kB] 78s Get:240 http://ftpmaster.internal/ubuntu noble-proposed/main armhf telnet all 0.17+2.5-3ubuntu3 [3682 B] 78s Get:241 http://ftpmaster.internal/ubuntu noble-proposed/main armhf usb.ids all 2024.03.18-1 [223 kB] 78s Get:242 http://ftpmaster.internal/ubuntu noble-proposed/main armhf xz-utils armhf 5.6.0-0.2 [271 kB] 78s Get:243 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libctf0 armhf 2.42-4ubuntu1 [87.7 kB] 78s Get:244 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libctf-nobfd0 armhf 2.42-4ubuntu1 [88.0 kB] 78s Get:245 http://ftpmaster.internal/ubuntu noble-proposed/main armhf binutils-arm-linux-gnueabihf armhf 2.42-4ubuntu1 [2925 kB] 78s Get:246 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libbinutils armhf 2.42-4ubuntu1 [464 kB] 78s Get:247 http://ftpmaster.internal/ubuntu noble-proposed/main armhf binutils armhf 2.42-4ubuntu1 [3078 B] 78s Get:248 http://ftpmaster.internal/ubuntu noble-proposed/main armhf binutils-common armhf 2.42-4ubuntu1 [217 kB] 78s Get:249 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsframe1 armhf 2.42-4ubuntu1 [13.1 kB] 78s Get:250 http://ftpmaster.internal/ubuntu noble-proposed/main armhf bolt armhf 0.9.6-2build1 [138 kB] 78s Get:251 http://ftpmaster.internal/ubuntu noble-proposed/main armhf cryptsetup-bin armhf 2:2.7.0-1ubuntu2 [214 kB] 78s Get:252 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dpkg-dev all 1.22.6ubuntu4 [1074 kB] 79s Get:253 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdpkg-perl all 1.22.6ubuntu4 [268 kB] 79s Get:254 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gnupg-l10n all 2.4.4-2ubuntu15 [65.8 kB] 79s Get:255 http://ftpmaster.internal/ubuntu noble-proposed/main armhf ibverbs-providers armhf 50.0-2build1 [27.4 kB] 79s Get:256 http://ftpmaster.internal/ubuntu noble-proposed/main armhf jq armhf 1.7.1-3 [65.2 kB] 79s Get:257 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjq1 armhf 1.7.1-3 [156 kB] 79s Get:258 http://ftpmaster.internal/ubuntu noble/main armhf libatm1t64 armhf 1:2.5.1-5.1 [20.0 kB] 79s Get:259 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libevent-core-2.1-7 armhf 2.1.12-stable-9build1 [82.3 kB] 79s Get:260 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libftdi1-2 armhf 1.5-6build4 [25.7 kB] 79s Get:261 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libldap-common all 2.6.7+dfsg-1~exp1ubuntu6 [31.3 kB] 79s Get:262 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsasl2-modules armhf 2.1.28+dfsg1-5ubuntu1 [61.3 kB] 79s Get:263 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-lib2to3 all 3.12.2-3ubuntu2 [79.3 kB] 79s Get:264 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-pyrsistent armhf 0.20.0-1build1 [53.0 kB] 79s Get:265 http://ftpmaster.internal/ubuntu noble-proposed/main armhf python3-typing-extensions all 4.10.0-1 [60.7 kB] 79s Get:266 http://ftpmaster.internal/ubuntu noble-proposed/main armhf kpartx armhf 0.9.4-5ubuntu6 [31.5 kB] 80s Preconfiguring packages ... 80s Fetched 106 MB in 6s (17.0 MB/s) 80s (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 ... 58619 files and directories currently installed.) 80s Preparing to unpack .../bsdutils_1%3a2.39.3-9ubuntu2_armhf.deb ... 80s Unpacking bsdutils (1:2.39.3-9ubuntu2) over (1:2.39.3-6ubuntu2) ... 80s Setting up bsdutils (1:2.39.3-9ubuntu2) ... 80s (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 ... 58619 files and directories currently installed.) 80s Preparing to unpack .../gcc-14-base_14-20240315-1ubuntu1_armhf.deb ... 80s Unpacking gcc-14-base:armhf (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 80s Setting up gcc-14-base:armhf (14-20240315-1ubuntu1) ... 80s (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 ... 58619 files and directories currently installed.) 80s Preparing to unpack .../libgcc-s1_14-20240315-1ubuntu1_armhf.deb ... 80s Unpacking libgcc-s1:armhf (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 80s Setting up libgcc-s1:armhf (14-20240315-1ubuntu1) ... 80s (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 ... 58619 files and directories currently installed.) 80s Preparing to unpack .../libstdc++6_14-20240315-1ubuntu1_armhf.deb ... 81s Unpacking libstdc++6:armhf (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 81s Setting up libstdc++6:armhf (14-20240315-1ubuntu1) ... 81s (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 ... 58619 files and directories currently installed.) 81s Preparing to unpack .../libc6_2.39-0ubuntu6_armhf.deb ... 81s Unpacking libc6:armhf (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 81s Setting up libc6:armhf (2.39-0ubuntu6) ... 81s (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 ... 58619 files and directories currently installed.) 81s Preparing to unpack .../0-libbrotli1_1.1.0-2build1_armhf.deb ... 81s Unpacking libbrotli1:armhf (1.1.0-2build1) over (1.1.0-2) ... 81s Preparing to unpack .../1-libgssapi-krb5-2_1.20.1-5.1ubuntu1_armhf.deb ... 81s Unpacking libgssapi-krb5-2:armhf (1.20.1-5.1ubuntu1) over (1.20.1-5build1) ... 82s Preparing to unpack .../2-libkrb5-3_1.20.1-5.1ubuntu1_armhf.deb ... 82s Unpacking libkrb5-3:armhf (1.20.1-5.1ubuntu1) over (1.20.1-5build1) ... 82s Preparing to unpack .../3-libkrb5support0_1.20.1-5.1ubuntu1_armhf.deb ... 82s Unpacking libkrb5support0:armhf (1.20.1-5.1ubuntu1) over (1.20.1-5build1) ... 82s Preparing to unpack .../4-libk5crypto3_1.20.1-5.1ubuntu1_armhf.deb ... 82s Unpacking libk5crypto3:armhf (1.20.1-5.1ubuntu1) over (1.20.1-5build1) ... 82s Preparing to unpack .../5-libcom-err2_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 82s Unpacking libcom-err2:armhf (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 82s Preparing to unpack .../6-zlib1g_1%3a1.3.dfsg-3.1ubuntu1_armhf.deb ... 82s Unpacking zlib1g:armhf (1:1.3.dfsg-3.1ubuntu1) over (1:1.3.dfsg-3ubuntu1) ... 82s Setting up zlib1g:armhf (1:1.3.dfsg-3.1ubuntu1) ... 82s (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 ... 58619 files and directories currently installed.) 82s Preparing to unpack .../librtmp1_2.4+20151223.gitfa8646d.1-2build6_armhf.deb ... 82s Unpacking librtmp1:armhf (2.4+20151223.gitfa8646d.1-2build6) over (2.4+20151223.gitfa8646d.1-2build4) ... 82s Preparing to unpack .../udisks2_2.10.1-6_armhf.deb ... 82s Unpacking udisks2 (2.10.1-6) over (2.10.1-1ubuntu2) ... 82s Preparing to unpack .../libudisks2-0_2.10.1-6_armhf.deb ... 82s Unpacking libudisks2-0:armhf (2.10.1-6) over (2.10.1-1ubuntu2) ... 82s Preparing to unpack .../libblkid1_2.39.3-9ubuntu2_armhf.deb ... 82s Unpacking libblkid1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 82s Setting up libblkid1:armhf (2.39.3-9ubuntu2) ... 82s (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 ... 58619 files and directories currently installed.) 82s Preparing to unpack .../liblzma5_5.6.0-0.2_armhf.deb ... 82s Unpacking liblzma5:armhf (5.6.0-0.2) over (5.4.5-0.3) ... 82s Setting up liblzma5:armhf (5.6.0-0.2) ... 82s (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 ... 58619 files and directories currently installed.) 82s Preparing to unpack .../0-kmod_31+20240202-2ubuntu4_armhf.deb ... 82s Unpacking kmod (31+20240202-2ubuntu4) over (30+20230601-2ubuntu1) ... 82s dpkg: warning: unable to delete old directory '/lib/modprobe.d': Directory not empty 82s Preparing to unpack .../1-libkmod2_31+20240202-2ubuntu4_armhf.deb ... 82s Unpacking libkmod2:armhf (31+20240202-2ubuntu4) over (30+20230601-2ubuntu1) ... 82s Preparing to unpack .../2-systemd-dev_255.4-1ubuntu5_all.deb ... 82s Unpacking systemd-dev (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 82s Preparing to unpack .../3-systemd-timesyncd_255.4-1ubuntu5_armhf.deb ... 82s Unpacking systemd-timesyncd (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 82s Preparing to unpack .../4-dbus-session-bus-common_1.14.10-4ubuntu2_all.deb ... 82s Unpacking dbus-session-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 82s Preparing to unpack .../5-libaudit-common_1%3a3.1.2-2.1_all.deb ... 82s Unpacking libaudit-common (1:3.1.2-2.1) over (1:3.1.2-2) ... 82s Setting up libaudit-common (1:3.1.2-2.1) ... 82s (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 ... 58618 files and directories currently installed.) 82s Preparing to unpack .../libcap-ng0_0.8.4-2build1_armhf.deb ... 82s Unpacking libcap-ng0:armhf (0.8.4-2build1) over (0.8.4-2) ... 82s Setting up libcap-ng0:armhf (0.8.4-2build1) ... 82s (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 ... 58618 files and directories currently installed.) 82s Preparing to unpack .../libaudit1_1%3a3.1.2-2.1_armhf.deb ... 82s Unpacking libaudit1:armhf (1:3.1.2-2.1) over (1:3.1.2-2) ... 82s Setting up libaudit1:armhf (1:3.1.2-2.1) ... 83s (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 ... 58618 files and directories currently installed.) 83s Preparing to unpack .../libpam0g_1.5.3-5ubuntu3_armhf.deb ... 83s Unpacking libpam0g:armhf (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 83s Setting up libpam0g:armhf (1.5.3-5ubuntu3) ... 83s (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 ... 58618 files and directories currently installed.) 83s Preparing to unpack .../libselinux1_3.5-2ubuntu1_armhf.deb ... 83s Unpacking libselinux1:armhf (3.5-2ubuntu1) over (3.5-2build1) ... 83s Setting up libselinux1:armhf (3.5-2ubuntu1) ... 83s dpkg: libcurl4:armhf: dependency problems, but removing anyway as you requested: 83s curl depends on libcurl4 (= 8.5.0-2ubuntu2). 83s 83s (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 ... 58618 files and directories currently installed.) 83s Removing libcurl4:armhf (8.5.0-2ubuntu2) ... 83s Selecting previously unselected package libcurl4t64:armhf. 83s (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 ... 58613 files and directories currently installed.) 83s Preparing to unpack .../libcurl4t64_8.5.0-2ubuntu7_armhf.deb ... 83s Unpacking libcurl4t64:armhf (8.5.0-2ubuntu7) ... 83s Preparing to unpack .../curl_8.5.0-2ubuntu7_armhf.deb ... 83s Unpacking curl (8.5.0-2ubuntu7) over (8.5.0-2ubuntu2) ... 83s dpkg: libpsl5:armhf: dependency problems, but removing anyway as you requested: 83s wget depends on libpsl5 (>= 0.16.0). 83s libcurl3-gnutls:armhf depends on libpsl5 (>= 0.16.0). 83s 83s (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 ... 58619 files and directories currently installed.) 83s Removing libpsl5:armhf (0.21.2-1build1) ... 83s Selecting previously unselected package libpsl5t64:armhf. 83s (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 ... 58614 files and directories currently installed.) 83s Preparing to unpack .../libpsl5t64_0.21.2-1.1_armhf.deb ... 83s Unpacking libpsl5t64:armhf (0.21.2-1.1) ... 83s Preparing to unpack .../wget_1.21.4-1ubuntu2_armhf.deb ... 83s Unpacking wget (1.21.4-1ubuntu2) over (1.21.4-1ubuntu1) ... 83s Preparing to unpack .../tnftp_20230507-2build1_armhf.deb ... 83s Unpacking tnftp (20230507-2build1) over (20230507-2) ... 83s dpkg: libpcap0.8:armhf: dependency problems, but removing anyway as you requested: 83s tcpdump depends on libpcap0.8 (>= 1.9.1). 83s 83s (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 ... 58620 files and directories currently installed.) 83s Removing libpcap0.8:armhf (1.10.4-4ubuntu3) ... 83s Selecting previously unselected package libpcap0.8t64:armhf. 83s (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 ... 58609 files and directories currently installed.) 83s Preparing to unpack .../00-libpcap0.8t64_1.10.4-4.1ubuntu1_armhf.deb ... 83s Unpacking libpcap0.8t64:armhf (1.10.4-4.1ubuntu1) ... 83s Preparing to unpack .../01-tcpdump_4.99.4-3ubuntu2_armhf.deb ... 83s Unpacking tcpdump (4.99.4-3ubuntu2) over (4.99.4-3ubuntu1) ... 83s Preparing to unpack .../02-libsystemd-shared_255.4-1ubuntu5_armhf.deb ... 83s Unpacking libsystemd-shared:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 84s Preparing to unpack .../03-systemd-resolved_255.4-1ubuntu5_armhf.deb ... 84s Unpacking systemd-resolved (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 84s Preparing to unpack .../04-sudo_1.9.15p5-3ubuntu3_armhf.deb ... 84s Unpacking sudo (1.9.15p5-3ubuntu3) over (1.9.15p5-3ubuntu1) ... 84s Preparing to unpack .../05-rsync_3.2.7-1build1_armhf.deb ... 84s Unpacking rsync (3.2.7-1build1) over (3.2.7-1) ... 84s Preparing to unpack .../06-python3-cryptography_41.0.7-4build2_armhf.deb ... 84s Unpacking python3-cryptography (41.0.7-4build2) over (41.0.7-3) ... 84s Preparing to unpack .../07-openssl_3.0.13-0ubuntu2_armhf.deb ... 84s Unpacking openssl (3.0.13-0ubuntu2) over (3.0.10-1ubuntu4) ... 84s Preparing to unpack .../08-openssh-sftp-server_1%3a9.6p1-3ubuntu11_armhf.deb ... 84s Unpacking openssh-sftp-server (1:9.6p1-3ubuntu11) over (1:9.6p1-3ubuntu2) ... 84s Preparing to unpack .../09-openssh-client_1%3a9.6p1-3ubuntu11_armhf.deb ... 84s Unpacking openssh-client (1:9.6p1-3ubuntu11) over (1:9.6p1-3ubuntu2) ... 84s Preparing to unpack .../10-openssh-server_1%3a9.6p1-3ubuntu11_armhf.deb ... 85s Unpacking openssh-server (1:9.6p1-3ubuntu11) over (1:9.6p1-3ubuntu2) ... 85s Selecting previously unselected package linux-headers-6.8.0-20. 85s Preparing to unpack .../11-linux-headers-6.8.0-20_6.8.0-20.20_all.deb ... 85s Unpacking linux-headers-6.8.0-20 (6.8.0-20.20) ... 87s Selecting previously unselected package linux-headers-6.8.0-20-generic. 87s Preparing to unpack .../12-linux-headers-6.8.0-20-generic_6.8.0-20.20_armhf.deb ... 87s Unpacking linux-headers-6.8.0-20-generic (6.8.0-20.20) ... 88s Preparing to unpack .../13-linux-headers-generic_6.8.0-20.20+1_armhf.deb ... 88s Unpacking linux-headers-generic (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 88s (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 ... 89772 files and directories currently installed.) 88s Removing linux-headers-6.8.0-11-generic (6.8.0-11.11) ... 89s dpkg: libssl3:armhf: dependency problems, but removing anyway as you requested: 89s systemd depends on libssl3 (>= 3.0.0). 89s libssh-4:armhf depends on libssl3 (>= 3.0.0). 89s libsasl2-modules:armhf depends on libssl3 (>= 3.0.0). 89s libsasl2-2:armhf depends on libssl3 (>= 3.0.0). 89s libpython3.12-minimal:armhf depends on libssl3 (>= 3.0.0). 89s libpython3.11-minimal:armhf depends on libssl3 (>= 3.0.0). 89s libnvme1 depends on libssl3 (>= 3.0.0). 89s libfido2-1:armhf depends on libssl3 (>= 3.0.0). 89s libcryptsetup12:armhf depends on libssl3 (>= 3.0.0). 89s dhcpcd-base depends on libssl3 (>= 3.0.0). 89s bind9-libs:armhf depends on libssl3 (>= 3.0.0). 89s 89s Removing libssl3:armhf (3.0.10-1ubuntu4) ... 89s Selecting previously unselected package libssl3t64:armhf. 89s (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 ... 78622 files and directories currently installed.) 89s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu2_armhf.deb ... 89s Unpacking libssl3t64:armhf (3.0.13-0ubuntu2) ... 89s Setting up libssl3t64:armhf (3.0.13-0ubuntu2) ... 89s (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 ... 78635 files and directories currently installed.) 89s Preparing to unpack .../libnss-systemd_255.4-1ubuntu5_armhf.deb ... 89s Unpacking libnss-systemd:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 89s Preparing to unpack .../libudev1_255.4-1ubuntu5_armhf.deb ... 89s Unpacking libudev1:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 89s Setting up libudev1:armhf (255.4-1ubuntu5) ... 89s (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 ... 78635 files and directories currently installed.) 89s Preparing to unpack .../systemd_255.4-1ubuntu5_armhf.deb ... 89s Unpacking systemd (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 89s Preparing to unpack .../udev_255.4-1ubuntu5_armhf.deb ... 89s Unpacking udev (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 90s Preparing to unpack .../libsystemd0_255.4-1ubuntu5_armhf.deb ... 90s Unpacking libsystemd0:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 90s Setting up libsystemd0:armhf (255.4-1ubuntu5) ... 90s Setting up libkmod2:armhf (31+20240202-2ubuntu4) ... 90s Setting up libsystemd-shared:armhf (255.4-1ubuntu5) ... 90s Setting up systemd-dev (255.4-1ubuntu5) ... 90s Setting up systemd (255.4-1ubuntu5) ... 90s (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 ... 78635 files and directories currently installed.) 90s Preparing to unpack .../systemd-sysv_255.4-1ubuntu5_armhf.deb ... 90s Unpacking systemd-sysv (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 90s Preparing to unpack .../libpam-systemd_255.4-1ubuntu5_armhf.deb ... 90s Unpacking libpam-systemd:armhf (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 91s Preparing to unpack .../libpam-modules-bin_1.5.3-5ubuntu3_armhf.deb ... 91s Unpacking libpam-modules-bin (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 91s Setting up libpam-modules-bin (1.5.3-5ubuntu3) ... 91s pam_namespace.service is a disabled or a static unit not running, not starting it. 91s (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 ... 78635 files and directories currently installed.) 91s Preparing to unpack .../libpam-modules_1.5.3-5ubuntu3_armhf.deb ... 91s Unpacking libpam-modules:armhf (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 91s Setting up libpam-modules:armhf (1.5.3-5ubuntu3) ... 91s Installing new version of config file /etc/security/namespace.init ... 91s (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 ... 78633 files and directories currently installed.) 91s Preparing to unpack .../libpam-runtime_1.5.3-5ubuntu3_all.deb ... 91s Unpacking libpam-runtime (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 91s Setting up libpam-runtime (1.5.3-5ubuntu3) ... 92s (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 ... 78633 files and directories currently installed.) 92s Preparing to unpack .../0-dbus-user-session_1.14.10-4ubuntu2_armhf.deb ... 92s Unpacking dbus-user-session (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 92s Preparing to unpack .../1-libapparmor1_4.0.0-beta3-0ubuntu2_armhf.deb ... 92s Unpacking libapparmor1:armhf (4.0.0-beta3-0ubuntu2) over (4.0.0~alpha4-0ubuntu1) ... 92s Preparing to unpack .../2-libexpat1_2.6.1-2_armhf.deb ... 92s Unpacking libexpat1:armhf (2.6.1-2) over (2.6.0-1) ... 92s Preparing to unpack .../3-dbus-system-bus-common_1.14.10-4ubuntu2_all.deb ... 92s Unpacking dbus-system-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 92s Preparing to unpack .../4-dbus-bin_1.14.10-4ubuntu2_armhf.deb ... 92s Unpacking dbus-bin (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 92s Preparing to unpack .../5-dbus_1.14.10-4ubuntu2_armhf.deb ... 92s Unpacking dbus (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 92s Preparing to unpack .../6-dbus-daemon_1.14.10-4ubuntu2_armhf.deb ... 92s Unpacking dbus-daemon (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 92s Preparing to unpack .../7-libdbus-1-3_1.14.10-4ubuntu2_armhf.deb ... 92s Unpacking libdbus-1-3:armhf (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 92s Preparing to unpack .../8-libmount1_2.39.3-9ubuntu2_armhf.deb ... 92s Unpacking libmount1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 92s Setting up libmount1:armhf (2.39.3-9ubuntu2) ... 92s (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 ... 78633 files and directories currently installed.) 92s Preparing to unpack .../libseccomp2_2.5.5-1ubuntu2_armhf.deb ... 92s Unpacking libseccomp2:armhf (2.5.5-1ubuntu2) over (2.5.5-1ubuntu1) ... 92s Setting up libseccomp2:armhf (2.5.5-1ubuntu2) ... 92s (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 ... 78633 files and directories currently installed.) 92s Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.185-3ubuntu2_armhf.deb ... 92s Unpacking libdevmapper1.02.1:armhf (2:1.02.185-3ubuntu2) over (2:1.02.185-3ubuntu1) ... 92s Preparing to unpack .../libuuid1_2.39.3-9ubuntu2_armhf.deb ... 92s Unpacking libuuid1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 92s Setting up libuuid1:armhf (2.39.3-9ubuntu2) ... 92s (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 ... 78633 files and directories currently installed.) 92s Preparing to unpack .../0-libcryptsetup12_2%3a2.7.0-1ubuntu2_armhf.deb ... 92s Unpacking libcryptsetup12:armhf (2:2.7.0-1ubuntu2) over (2:2.7.0-1ubuntu1) ... 92s Preparing to unpack .../1-libfdisk1_2.39.3-9ubuntu2_armhf.deb ... 92s Unpacking libfdisk1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 92s Preparing to unpack .../2-mount_2.39.3-9ubuntu2_armhf.deb ... 92s Unpacking mount (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 92s Preparing to unpack .../3-libblockdev-utils3_3.1.0-1build1_armhf.deb ... 92s Unpacking libblockdev-utils3:armhf (3.1.0-1build1) over (3.1.0-1) ... 92s Preparing to unpack .../4-libvolume-key1_0.3.12-7build1_armhf.deb ... 92s Unpacking libvolume-key1:armhf (0.3.12-7build1) over (0.3.12-5build2) ... 92s Preparing to unpack .../5-libjcat1_0.2.0-2build2_armhf.deb ... 92s Unpacking libjcat1:armhf (0.2.0-2build2) over (0.2.0-2) ... 92s (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 ... 78633 files and directories currently installed.) 92s Removing libgpgme11:armhf (1.18.0-4ubuntu1) ... 93s (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 ... 78627 files and directories currently installed.) 93s Preparing to unpack .../parted_3.6-3.1build2_armhf.deb ... 93s Unpacking parted (3.6-3.1build2) over (3.6-3) ... 93s (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 ... 78627 files and directories currently installed.) 93s Removing libparted2:armhf (3.6-3) ... 93s Selecting previously unselected package libparted2t64:armhf. 93s (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 ... 78621 files and directories currently installed.) 93s Preparing to unpack .../00-libparted2t64_3.6-3.1build2_armhf.deb ... 93s Unpacking libparted2t64:armhf (3.6-3.1build2) ... 93s Preparing to unpack .../01-python3.12_3.12.2-4build3_armhf.deb ... 93s Unpacking python3.12 (3.12.2-4build3) over (3.12.2-1) ... 93s Preparing to unpack .../02-python3.12-minimal_3.12.2-4build3_armhf.deb ... 93s Unpacking python3.12-minimal (3.12.2-4build3) over (3.12.2-1) ... 93s Preparing to unpack .../03-libpython3.12-stdlib_3.12.2-4build3_armhf.deb ... 93s Unpacking libpython3.12-stdlib:armhf (3.12.2-4build3) over (3.12.2-1) ... 93s Preparing to unpack .../04-libpython3.12-minimal_3.12.2-4build3_armhf.deb ... 93s Unpacking libpython3.12-minimal:armhf (3.12.2-4build3) over (3.12.2-1) ... 93s Preparing to unpack .../05-libsasl2-modules-db_2.1.28+dfsg1-5ubuntu1_armhf.deb ... 93s Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg1-5ubuntu1) over (2.1.28+dfsg1-4) ... 93s Preparing to unpack .../06-python3.11_3.11.8-1build4_armhf.deb ... 93s Unpacking python3.11 (3.11.8-1build4) over (3.11.8-1) ... 93s Preparing to unpack .../07-python3.11-minimal_3.11.8-1build4_armhf.deb ... 93s Unpacking python3.11-minimal (3.11.8-1build4) over (3.11.8-1) ... 93s Preparing to unpack .../08-libpython3.11-stdlib_3.11.8-1build4_armhf.deb ... 93s Unpacking libpython3.11-stdlib:armhf (3.11.8-1build4) over (3.11.8-1) ... 94s Preparing to unpack .../09-libpython3.11-minimal_3.11.8-1build4_armhf.deb ... 94s Unpacking libpython3.11-minimal:armhf (3.11.8-1build4) over (3.11.8-1) ... 94s Preparing to unpack .../10-libsqlite3-0_3.45.1-1ubuntu1_armhf.deb ... 94s Unpacking libsqlite3-0:armhf (3.45.1-1ubuntu1) over (3.45.1-1) ... 94s Preparing to unpack .../11-libtext-iconv-perl_1.7-8build2_armhf.deb ... 94s Unpacking libtext-iconv-perl:armhf (1.7-8build2) over (1.7-8build1) ... 94s Preparing to unpack .../12-libtext-charwidth-perl_0.04-11build2_armhf.deb ... 94s Unpacking libtext-charwidth-perl:armhf (0.04-11build2) over (0.04-11build1) ... 94s Preparing to unpack .../13-perl-modules-5.38_5.38.2-3.2_all.deb ... 94s Unpacking perl-modules-5.38 (5.38.2-3.2) over (5.38.2-3) ... 95s dpkg: libperl5.38:armhf: dependency problems, but removing anyway as you requested: 95s perl depends on libperl5.38 (= 5.38.2-3). 95s 95s (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 ... 78624 files and directories currently installed.) 95s Removing libperl5.38:armhf (5.38.2-3) ... 95s dpkg: libdb5.3:armhf: dependency problems, but removing anyway as you requested: 95s iproute2 depends on libdb5.3. 95s apt-utils depends on libdb5.3. 95s 95s Removing libdb5.3:armhf (5.3.28+dfsg2-4) ... 95s Selecting previously unselected package libdb5.3t64:armhf. 95s (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 ... 78099 files and directories currently installed.) 95s Preparing to unpack .../libdb5.3t64_5.3.28+dfsg2-6_armhf.deb ... 95s Unpacking libdb5.3t64:armhf (5.3.28+dfsg2-6) ... 95s Preparing to unpack .../python3-gdbm_3.12.2-3ubuntu2_armhf.deb ... 95s Unpacking python3-gdbm:armhf (3.12.2-3ubuntu2) over (3.11.5-1) ... 95s Preparing to unpack .../man-db_2.12.0-3build4_armhf.deb ... 95s Unpacking man-db (2.12.0-3build4) over (2.12.0-3) ... 95s (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 ... 78105 files and directories currently installed.) 95s Removing libgdbm-compat4:armhf (1.23-5) ... 95s Removing libgdbm6:armhf (1.23-5) ... 95s Selecting previously unselected package libgdbm6t64:armhf. 95s (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 ... 78095 files and directories currently installed.) 95s Preparing to unpack .../libgdbm6t64_1.23-5.1_armhf.deb ... 95s Unpacking libgdbm6t64:armhf (1.23-5.1) ... 95s Selecting previously unselected package libgdbm-compat4t64:armhf. 95s Preparing to unpack .../libgdbm-compat4t64_1.23-5.1_armhf.deb ... 95s Unpacking libgdbm-compat4t64:armhf (1.23-5.1) ... 95s Selecting previously unselected package libperl5.38t64:armhf. 96s Preparing to unpack .../libperl5.38t64_5.38.2-3.2_armhf.deb ... 96s Unpacking libperl5.38t64:armhf (5.38.2-3.2) ... 96s Preparing to unpack .../perl_5.38.2-3.2_armhf.deb ... 96s Unpacking perl (5.38.2-3.2) over (5.38.2-3) ... 96s Preparing to unpack .../perl-base_5.38.2-3.2_armhf.deb ... 96s Unpacking perl-base (5.38.2-3.2) over (5.38.2-3) ... 96s Setting up perl-base (5.38.2-3.2) ... 96s (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 ... 78626 files and directories currently installed.) 96s Preparing to unpack .../liblocale-gettext-perl_1.07-6ubuntu4_armhf.deb ... 96s Unpacking liblocale-gettext-perl (1.07-6ubuntu4) over (1.07-6build1) ... 96s dpkg: libnettle8:armhf: dependency problems, but removing anyway as you requested: 96s libhogweed6:armhf depends on libnettle8. 96s libgnutls30:armhf depends on libnettle8 (>= 3.9~). 96s libcurl3-gnutls:armhf depends on libnettle8. 96s libarchive13:armhf depends on libnettle8. 96s 96s (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 ... 78626 files and directories currently installed.) 96s Removing libnettle8:armhf (3.9.1-2) ... 96s Selecting previously unselected package libnettle8t64:armhf. 96s (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 ... 78619 files and directories currently installed.) 96s Preparing to unpack .../libnettle8t64_3.9.1-2.2_armhf.deb ... 96s Unpacking libnettle8t64:armhf (3.9.1-2.2) ... 97s Setting up libnettle8t64:armhf (3.9.1-2.2) ... 97s dpkg: libhogweed6:armhf: dependency problems, but removing anyway as you requested: 97s libgnutls30:armhf depends on libhogweed6 (>= 3.6). 97s 97s (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 ... 78627 files and directories currently installed.) 97s Removing libhogweed6:armhf (3.9.1-2) ... 97s Selecting previously unselected package libhogweed6t64:armhf. 97s (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 ... 78622 files and directories currently installed.) 97s Preparing to unpack .../libhogweed6t64_3.9.1-2.2_armhf.deb ... 97s Unpacking libhogweed6t64:armhf (3.9.1-2.2) ... 97s Setting up libhogweed6t64:armhf (3.9.1-2.2) ... 97s dpkg: libgnutls30:armhf: dependency problems, but removing anyway as you requested: 97s libldap2:armhf depends on libgnutls30 (>= 3.8.2). 97s libcurl3-gnutls:armhf depends on libgnutls30 (>= 3.8.2). 97s fwupd depends on libgnutls30 (>= 3.7.3). 97s dirmngr depends on libgnutls30 (>= 3.8.1). 97s apt depends on libgnutls30 (>= 3.8.1). 97s 97s (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 ... 78628 files and directories currently installed.) 97s Removing libgnutls30:armhf (3.8.3-1ubuntu1) ... 97s Selecting previously unselected package libgnutls30t64:armhf. 97s (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 ... 78619 files and directories currently installed.) 97s Preparing to unpack .../libgnutls30t64_3.8.3-1.1ubuntu2_armhf.deb ... 97s Unpacking libgnutls30t64:armhf (3.8.3-1.1ubuntu2) ... 97s Setting up libgnutls30t64:armhf (3.8.3-1.1ubuntu2) ... 97s (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 ... 78647 files and directories currently installed.) 97s Preparing to unpack .../libldap2_2.6.7+dfsg-1~exp1ubuntu6_armhf.deb ... 97s Unpacking libldap2:armhf (2.6.7+dfsg-1~exp1ubuntu6) over (2.6.7+dfsg-1~exp1ubuntu1) ... 97s dpkg: libcurl3-gnutls:armhf: dependency problems, but removing anyway as you requested: 97s libfwupd2:armhf depends on libcurl3-gnutls (>= 7.63.0). 97s fwupd depends on libcurl3-gnutls (>= 7.63.0). 97s 97s (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 ... 78647 files and directories currently installed.) 97s Removing libcurl3-gnutls:armhf (8.5.0-2ubuntu2) ... 97s Selecting previously unselected package libcurl3t64-gnutls:armhf. 97s (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 ... 78640 files and directories currently installed.) 97s Preparing to unpack .../00-libcurl3t64-gnutls_8.5.0-2ubuntu7_armhf.deb ... 97s Unpacking libcurl3t64-gnutls:armhf (8.5.0-2ubuntu7) ... 97s Preparing to unpack .../01-shared-mime-info_2.4-1build1_armhf.deb ... 97s Unpacking shared-mime-info (2.4-1build1) over (2.4-1) ... 97s Preparing to unpack .../02-gir1.2-girepository-2.0_1.79.1-1ubuntu6_armhf.deb ... 97s Unpacking gir1.2-girepository-2.0:armhf (1.79.1-1ubuntu6) over (1.79.1-1) ... 97s Preparing to unpack .../03-gir1.2-glib-2.0_2.79.3-3ubuntu5_armhf.deb ... 97s Unpacking gir1.2-glib-2.0:armhf (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 97s Preparing to unpack .../04-libgirepository-1.0-1_1.79.1-1ubuntu6_armhf.deb ... 97s Unpacking libgirepository-1.0-1:armhf (1.79.1-1ubuntu6) over (1.79.1-1) ... 97s Preparing to unpack .../05-python3-gi_3.47.0-3build1_armhf.deb ... 98s Unpacking python3-gi (3.47.0-3build1) over (3.47.0-3) ... 98s Preparing to unpack .../06-python3-dbus_1.3.2-5build2_armhf.deb ... 98s Unpacking python3-dbus (1.3.2-5build2) over (1.3.2-5build1) ... 98s Selecting previously unselected package libnetplan1:armhf. 98s Preparing to unpack .../07-libnetplan1_1.0-1_armhf.deb ... 98s Unpacking libnetplan1:armhf (1.0-1) ... 98s Preparing to unpack .../08-python3-netplan_1.0-1_armhf.deb ... 98s Unpacking python3-netplan (1.0-1) over (0.107.1-3) ... 98s Preparing to unpack .../09-netplan-generator_1.0-1_armhf.deb ... 98s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 98s Unpacking netplan-generator (1.0-1) over (0.107.1-3) ... 98s Preparing to unpack .../10-initramfs-tools-bin_0.142ubuntu23_armhf.deb ... 98s Unpacking initramfs-tools-bin (0.142ubuntu23) over (0.142ubuntu20) ... 98s Preparing to unpack .../11-initramfs-tools-core_0.142ubuntu23_all.deb ... 98s Unpacking initramfs-tools-core (0.142ubuntu23) over (0.142ubuntu20) ... 98s Preparing to unpack .../12-initramfs-tools_0.142ubuntu23_all.deb ... 98s Unpacking initramfs-tools (0.142ubuntu23) over (0.142ubuntu20) ... 98s Preparing to unpack .../13-netplan.io_1.0-1_armhf.deb ... 98s Unpacking netplan.io (1.0-1) over (0.107.1-3) ... 98s Preparing to unpack .../14-libxmlb2_0.3.15-1build1_armhf.deb ... 98s Unpacking libxmlb2:armhf (0.3.15-1build1) over (0.3.15-1) ... 98s Preparing to unpack .../15-libqrtr-glib0_1.2.2-1ubuntu3_armhf.deb ... 98s Unpacking libqrtr-glib0:armhf (1.2.2-1ubuntu3) over (1.2.2-1ubuntu2) ... 98s Preparing to unpack .../16-libqmi-glib5_1.35.2-0ubuntu1_armhf.deb ... 98s Unpacking libqmi-glib5:armhf (1.35.2-0ubuntu1) over (1.34.0-2) ... 98s Preparing to unpack .../17-libqmi-proxy_1.35.2-0ubuntu1_armhf.deb ... 98s Unpacking libqmi-proxy (1.35.2-0ubuntu1) over (1.34.0-2) ... 98s Preparing to unpack .../18-libpolkit-agent-1-0_124-1ubuntu1_armhf.deb ... 98s Unpacking libpolkit-agent-1-0:armhf (124-1ubuntu1) over (124-1) ... 99s Preparing to unpack .../19-libpolkit-gobject-1-0_124-1ubuntu1_armhf.deb ... 99s Unpacking libpolkit-gobject-1-0:armhf (124-1ubuntu1) over (124-1) ... 99s (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 ... 78651 files and directories currently installed.) 99s Removing libnetplan0:armhf (0.107.1-3) ... 99s dpkg: libglib2.0-0:armhf: dependency problems, but removing anyway as you requested: 99s libmm-glib0:armhf depends on libglib2.0-0 (>= 2.62.0). 99s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 99s libmbim-glib4:armhf depends on libglib2.0-0 (>= 2.56). 99s libjson-glib-1.0-0:armhf depends on libglib2.0-0 (>= 2.75.3). 99s libgusb2:armhf depends on libglib2.0-0 (>= 2.75.3). 99s libgudev-1.0-0:armhf depends on libglib2.0-0 (>= 2.38.0). 99s libfwupd2:armhf depends on libglib2.0-0 (>= 2.79.0). 99s libblockdev3:armhf depends on libglib2.0-0 (>= 2.42.2). 99s libblockdev-swap3:armhf depends on libglib2.0-0 (>= 2.42.2). 99s libblockdev-part3:armhf depends on libglib2.0-0 (>= 2.42.2). 99s libblockdev-nvme3:armhf depends on libglib2.0-0 (>= 2.42.2). 99s libblockdev-mdraid3:armhf depends on libglib2.0-0 (>= 2.42.2). 99s libblockdev-loop3:armhf depends on libglib2.0-0 (>= 2.42.2). 99s libblockdev-fs3:armhf depends on libglib2.0-0 (>= 2.42.2). 99s libblockdev-crypto3:armhf depends on libglib2.0-0 (>= 2.42.2). 99s fwupd depends on libglib2.0-0 (>= 2.79.0). 99s bolt depends on libglib2.0-0 (>= 2.56.0). 99s 99s Removing libglib2.0-0:armhf (2.79.2-1~ubuntu1) ... 99s Selecting previously unselected package libglib2.0-0t64:armhf. 99s (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 ... 78622 files and directories currently installed.) 99s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_armhf.deb ... 99s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:armhf.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 99s removed '/var/lib/dpkg/info/libglib2.0-0:armhf.postrm' 99s Unpacking libglib2.0-0t64:armhf (2.79.3-3ubuntu5) ... 99s Preparing to unpack .../libfwupd2_1.9.15-1_armhf.deb ... 99s Unpacking libfwupd2:armhf (1.9.15-1) over (1.9.14-1) ... 99s dpkg: libarchive13:armhf: dependency problems, but removing anyway as you requested: 99s fwupd depends on libarchive13 (>= 3.2.1). 99s 99s (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 ... 78647 files and directories currently installed.) 99s Removing libarchive13:armhf (3.7.2-1ubuntu2) ... 99s Selecting previously unselected package libarchive13t64:armhf. 99s (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 ... 78641 files and directories currently installed.) 99s Preparing to unpack .../libarchive13t64_3.7.2-1.1ubuntu2_armhf.deb ... 99s Unpacking libarchive13t64:armhf (3.7.2-1.1ubuntu2) ... 99s Preparing to unpack .../fwupd_1.9.15-1_armhf.deb ... 99s Unpacking fwupd (1.9.15-1) over (1.9.14-1) ... 99s Preparing to unpack .../apt-utils_2.7.14_armhf.deb ... 99s Unpacking apt-utils (2.7.14) over (2.7.12) ... 99s dpkg: libapt-pkg6.0:armhf: dependency problems, but removing anyway as you requested: 99s ubuntu-pro-client depends on libapt-pkg6.0 (>= 1.9~). 99s python3-apt depends on libapt-pkg6.0 (>= 2.7.11). 99s apt depends on libapt-pkg6.0 (>= 2.7.12). 99s 99s (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 ... 78648 files and directories currently installed.) 99s Removing libapt-pkg6.0:armhf (2.7.12) ... 99s Selecting previously unselected package libapt-pkg6.0t64:armhf. 99s (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 ... 78599 files and directories currently installed.) 99s Preparing to unpack .../libapt-pkg6.0t64_2.7.14_armhf.deb ... 99s Unpacking libapt-pkg6.0t64:armhf (2.7.14) ... 100s Setting up libapt-pkg6.0t64:armhf (2.7.14) ... 100s (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 ... 78649 files and directories currently installed.) 100s Preparing to unpack .../archives/apt_2.7.14_armhf.deb ... 102s Unpacking apt (2.7.14) over (2.7.12) ... 102s Setting up apt (2.7.14) ... 102s (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 ... 78649 files and directories currently installed.) 102s Preparing to unpack .../ubuntu-pro-client-l10n_31.2.1_armhf.deb ... 102s Unpacking ubuntu-pro-client-l10n (31.2.1) over (31.1) ... 102s Preparing to unpack .../ubuntu-pro-client_31.2.1_armhf.deb ... 102s Unpacking ubuntu-pro-client (31.2.1) over (31.1) ... 102s Preparing to unpack .../keyboxd_2.4.4-2ubuntu15_armhf.deb ... 102s Unpacking keyboxd (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 102s dpkg: libnpth0:armhf: dependency problems, but removing anyway as you requested: 102s gpgv depends on libnpth0 (>= 0.90). 102s gpgsm depends on libnpth0 (>= 0.90). 102s gpg-agent depends on libnpth0 (>= 0.90). 102s gpg depends on libnpth0 (>= 0.90). 102s dirmngr depends on libnpth0 (>= 0.90). 102s 102s (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 ... 78649 files and directories currently installed.) 102s Removing libnpth0:armhf (1.6-3build2) ... 102s Selecting previously unselected package libnpth0t64:armhf. 102s (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 ... 78644 files and directories currently installed.) 102s Preparing to unpack .../libnpth0t64_1.6-3.1_armhf.deb ... 102s Unpacking libnpth0t64:armhf (1.6-3.1) ... 102s Setting up libnpth0t64:armhf (1.6-3.1) ... 102s (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 ... 78650 files and directories currently installed.) 102s Preparing to unpack .../gpgv_2.4.4-2ubuntu15_armhf.deb ... 102s Unpacking gpgv (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 102s Setting up gpgv (2.4.4-2ubuntu15) ... 102s (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 ... 78650 files and directories currently installed.) 102s Preparing to unpack .../gpg_2.4.4-2ubuntu15_armhf.deb ... 102s Unpacking gpg (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 102s Preparing to unpack .../gpg-wks-client_2.4.4-2ubuntu15_armhf.deb ... 102s Unpacking gpg-wks-client (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 102s Preparing to unpack .../gnupg-utils_2.4.4-2ubuntu15_armhf.deb ... 102s Unpacking gnupg-utils (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 102s Preparing to unpack .../gpg-agent_2.4.4-2ubuntu15_armhf.deb ... 102s Unpacking gpg-agent (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 102s Preparing to unpack .../gpgsm_2.4.4-2ubuntu15_armhf.deb ... 102s Unpacking gpgsm (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 102s dpkg: libreadline8:armhf: dependency problems, but removing anyway as you requested: 102s gpgconf depends on libreadline8 (>= 6.0). 102s gawk depends on libreadline8 (>= 6.0). 102s fdisk depends on libreadline8 (>= 6.0). 102s 102s (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 ... 78650 files and directories currently installed.) 102s Removing libreadline8:armhf (8.2-3) ... 102s Selecting previously unselected package libreadline8t64:armhf. 102s (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 ... 78638 files and directories currently installed.) 102s Preparing to unpack .../libreadline8t64_8.2-3.1build1_armhf.deb ... 102s Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 102s Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 102s Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 102s Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 102s Unpacking libreadline8t64:armhf (8.2-3.1build1) ... 102s Setting up libreadline8t64:armhf (8.2-3.1build1) ... 102s (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 ... 78658 files and directories currently installed.) 102s Preparing to unpack .../00-gawk_1%3a5.2.1-2build2_armhf.deb ... 102s Unpacking gawk (1:5.2.1-2build2) over (1:5.2.1-2) ... 102s Preparing to unpack .../01-fdisk_2.39.3-9ubuntu2_armhf.deb ... 102s Unpacking fdisk (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 102s Preparing to unpack .../02-gpgconf_2.4.4-2ubuntu15_armhf.deb ... 102s Unpacking gpgconf (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 102s Preparing to unpack .../03-dirmngr_2.4.4-2ubuntu15_armhf.deb ... 102s Unpacking dirmngr (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 102s Preparing to unpack .../04-gnupg_2.4.4-2ubuntu15_all.deb ... 102s Unpacking gnupg (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 102s Preparing to unpack .../05-python3-apt_2.7.6build1_armhf.deb ... 102s Unpacking python3-apt (2.7.6build1) over (2.7.6) ... 102s Preparing to unpack .../06-pinentry-curses_1.2.1-3ubuntu4_armhf.deb ... 102s Unpacking pinentry-curses (1.2.1-3ubuntu4) over (1.2.1-3ubuntu1) ... 102s Preparing to unpack .../07-python3-yaml_6.0.1-2build1_armhf.deb ... 102s Unpacking python3-yaml (6.0.1-2build1) over (6.0.1-2) ... 102s Preparing to unpack .../08-python-apt-common_2.7.6build1_all.deb ... 102s Unpacking python-apt-common (2.7.6build1) over (2.7.6) ... 102s Preparing to unpack .../09-python3-setuptools_68.1.2-2ubuntu1_all.deb ... 103s Unpacking python3-setuptools (68.1.2-2ubuntu1) over (68.1.2-2) ... 103s Preparing to unpack .../10-python3-pkg-resources_68.1.2-2ubuntu1_all.deb ... 104s Unpacking python3-pkg-resources (68.1.2-2ubuntu1) over (68.1.2-2) ... 104s Preparing to unpack .../11-dpkg_1.22.6ubuntu4_armhf.deb ... 104s Unpacking dpkg (1.22.6ubuntu4) over (1.22.4ubuntu5) ... 104s Setting up dpkg (1.22.6ubuntu4) ... 104s Setting up libpython3.12-minimal:armhf (3.12.2-4build3) ... 104s Setting up libexpat1:armhf (2.6.1-2) ... 104s Setting up python3.12-minimal (3.12.2-4build3) ... 104s (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 ... 78655 files and directories currently installed.) 104s Preparing to unpack .../python3-minimal_3.12.2-0ubuntu1_armhf.deb ... 104s Unpacking python3-minimal (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 104s Setting up python3-minimal (3.12.2-0ubuntu1) ... 105s (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 ... 78655 files and directories currently installed.) 105s Preparing to unpack .../python3_3.12.2-0ubuntu1_armhf.deb ... 105s Unpacking python3 (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 105s Preparing to unpack .../libpython3-stdlib_3.12.2-0ubuntu1_armhf.deb ... 105s Unpacking libpython3-stdlib:armhf (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 105s Preparing to unpack .../libsmartcols1_2.39.3-9ubuntu2_armhf.deb ... 105s Unpacking libsmartcols1:armhf (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 105s Setting up libsmartcols1:armhf (2.39.3-9ubuntu2) ... 105s (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 ... 78655 files and directories currently installed.) 105s Preparing to unpack .../0-bsdextrautils_2.39.3-9ubuntu2_armhf.deb ... 105s Unpacking bsdextrautils (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 105s Preparing to unpack .../1-groff-base_1.23.0-3build1_armhf.deb ... 105s Unpacking groff-base (1.23.0-3build1) over (1.23.0-3) ... 108s Preparing to unpack .../2-readline-common_8.2-3.1build1_all.deb ... 108s Unpacking readline-common (8.2-3.1build1) over (8.2-3) ... 108s Selecting previously unselected package libgpgme11t64:armhf. 108s Preparing to unpack .../3-libgpgme11t64_1.18.0-4.1ubuntu3_armhf.deb ... 108s Unpacking libgpgme11t64:armhf (1.18.0-4.1ubuntu3) ... 108s Preparing to unpack .../4-libblockdev-crypto3_3.1.0-1build1_armhf.deb ... 108s Unpacking libblockdev-crypto3:armhf (3.1.0-1build1) over (3.1.0-1) ... 108s Preparing to unpack .../5-e2fsprogs-l10n_1.47.0-2.4~exp1ubuntu2_all.deb ... 108s Unpacking e2fsprogs-l10n (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 108s Preparing to unpack .../6-logsave_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 108s Unpacking logsave (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 108s Preparing to unpack .../7-dhcpcd-base_1%3a10.0.6-1ubuntu2_armhf.deb ... 108s Unpacking dhcpcd-base (1:10.0.6-1ubuntu2) over (1:10.0.6-1ubuntu1) ... 108s Preparing to unpack .../8-libblockdev-fs3_3.1.0-1build1_armhf.deb ... 108s Unpacking libblockdev-fs3:armhf (3.1.0-1build1) over (3.1.0-1) ... 108s dpkg: libreiserfscore0: dependency problems, but removing anyway as you requested: 108s btrfs-progs depends on libreiserfscore0 (>= 1:3.6.27). 108s 108s (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 ... 78662 files and directories currently installed.) 108s Removing libreiserfscore0 (1:3.6.27-7) ... 108s Selecting previously unselected package libreiserfscore0t64. 108s (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 ... 78657 files and directories currently installed.) 108s Preparing to unpack .../libreiserfscore0t64_1%3a3.6.27-7.1_armhf.deb ... 108s Unpacking libreiserfscore0t64 (1:3.6.27-7.1) ... 108s Preparing to unpack .../btrfs-progs_6.6.3-1.1build1_armhf.deb ... 108s Unpacking btrfs-progs (6.6.3-1.1build1) over (6.6.3-1.1) ... 108s dpkg: libext2fs2:armhf: dependency problems, but removing anyway as you requested: 108s e2fsprogs depends on libext2fs2 (= 1.47.0-2ubuntu1). 108s 108s (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 ... 78663 files and directories currently installed.) 108s Removing libext2fs2:armhf (1.47.0-2ubuntu1) ... 108s Selecting previously unselected package libext2fs2t64:armhf. 108s (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 ... 78656 files and directories currently installed.) 108s Preparing to unpack .../libext2fs2t64_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 108s Adding 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2 to /lib/arm-linux-gnueabihf/libe2p.so.2.usr-is-merged by libext2fs2t64' 108s Adding 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2.3 to /lib/arm-linux-gnueabihf/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 108s Adding 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2 to /lib/arm-linux-gnueabihf/libext2fs.so.2.usr-is-merged by libext2fs2t64' 108s Adding 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2.4 to /lib/arm-linux-gnueabihf/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 108s Unpacking libext2fs2t64:armhf (1.47.0-2.4~exp1ubuntu2) ... 108s Setting up libcom-err2:armhf (1.47.0-2.4~exp1ubuntu2) ... 108s Setting up libext2fs2t64:armhf (1.47.0-2.4~exp1ubuntu2) ... 108s (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 ... 78672 files and directories currently installed.) 108s Preparing to unpack .../e2fsprogs_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 108s Unpacking e2fsprogs (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 108s Preparing to unpack .../libblockdev-loop3_3.1.0-1build1_armhf.deb ... 108s Unpacking libblockdev-loop3:armhf (3.1.0-1build1) over (3.1.0-1) ... 108s Preparing to unpack .../libblockdev-mdraid3_3.1.0-1build1_armhf.deb ... 108s Unpacking libblockdev-mdraid3:armhf (3.1.0-1build1) over (3.1.0-1) ... 108s Preparing to unpack .../libblockdev-nvme3_3.1.0-1build1_armhf.deb ... 108s Unpacking libblockdev-nvme3:armhf (3.1.0-1build1) over (3.1.0-1) ... 108s (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 ... 78672 files and directories currently installed.) 108s Removing libnvme1 (1.8-2) ... 108s Selecting previously unselected package libnvme1t64. 108s (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 ... 78665 files and directories currently installed.) 108s Preparing to unpack .../0-libnvme1t64_1.8-3_armhf.deb ... 108s Unpacking libnvme1t64 (1.8-3) ... 108s Preparing to unpack .../1-libblockdev-part3_3.1.0-1build1_armhf.deb ... 108s Unpacking libblockdev-part3:armhf (3.1.0-1build1) over (3.1.0-1) ... 108s Preparing to unpack .../2-libblockdev-swap3_3.1.0-1build1_armhf.deb ... 108s Unpacking libblockdev-swap3:armhf (3.1.0-1build1) over (3.1.0-1) ... 108s Preparing to unpack .../3-libblockdev3_3.1.0-1build1_armhf.deb ... 108s Unpacking libblockdev3:armhf (3.1.0-1build1) over (3.1.0-1) ... 108s Preparing to unpack .../4-libgudev-1.0-0_1%3a238-3ubuntu2_armhf.deb ... 108s Unpacking libgudev-1.0-0:armhf (1:238-3ubuntu2) over (1:238-3) ... 108s Preparing to unpack .../5-libxml2_2.9.14+dfsg-1.3ubuntu2_armhf.deb ... 108s Unpacking libxml2:armhf (2.9.14+dfsg-1.3ubuntu2) over (2.9.14+dfsg-1.3ubuntu1) ... 108s Preparing to unpack .../6-libbpf1_1%3a1.3.0-2build1_armhf.deb ... 108s Unpacking libbpf1:armhf (1:1.3.0-2build1) over (1:1.3.0-2) ... 108s Preparing to unpack .../7-iproute2_6.1.0-1ubuntu5_armhf.deb ... 108s Unpacking iproute2 (6.1.0-1ubuntu5) over (6.1.0-1ubuntu2) ... 108s (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 ... 78673 files and directories currently installed.) 108s Removing libelf1:armhf (0.190-1) ... 108s Selecting previously unselected package libelf1t64:armhf. 108s (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 ... 78668 files and directories currently installed.) 108s Preparing to unpack .../libelf1t64_0.190-1.1build2_armhf.deb ... 108s Unpacking libelf1t64:armhf (0.190-1.1build2) ... 108s Preparing to unpack .../libtirpc-common_1.3.4+ds-1.1_all.deb ... 108s Unpacking libtirpc-common (1.3.4+ds-1.1) over (1.3.4+ds-1build1) ... 108s Preparing to unpack .../lsof_4.95.0-1build2_armhf.deb ... 108s Unpacking lsof (4.95.0-1build2) over (4.95.0-1build1) ... 108s Preparing to unpack .../libnsl2_1.3.0-3build2_armhf.deb ... 108s Unpacking libnsl2:armhf (1.3.0-3build2) over (1.3.0-3) ... 108s (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 ... 78673 files and directories currently installed.) 108s Removing libtirpc3:armhf (1.3.4+ds-1build1) ... 108s Selecting previously unselected package libtirpc3t64:armhf. 108s (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 ... 78667 files and directories currently installed.) 108s Preparing to unpack .../00-libtirpc3t64_1.3.4+ds-1.1_armhf.deb ... 108s Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3 to /lib/arm-linux-gnueabihf/libtirpc.so.3.usr-is-merged by libtirpc3t64' 108s Adding 'diversion of /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0 to /lib/arm-linux-gnueabihf/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' 108s Unpacking libtirpc3t64:armhf (1.3.4+ds-1.1) ... 108s Preparing to unpack .../01-libmbim-proxy_1.31.2-0ubuntu2_armhf.deb ... 108s Unpacking libmbim-proxy (1.31.2-0ubuntu2) over (1.30.0-1) ... 108s Preparing to unpack .../02-libmbim-glib4_1.31.2-0ubuntu2_armhf.deb ... 108s Unpacking libmbim-glib4:armhf (1.31.2-0ubuntu2) over (1.30.0-1) ... 108s Preparing to unpack .../03-libjson-glib-1.0-common_1.8.0-2build1_all.deb ... 108s Unpacking libjson-glib-1.0-common (1.8.0-2build1) over (1.8.0-2) ... 108s Preparing to unpack .../04-libjson-glib-1.0-0_1.8.0-2build1_armhf.deb ... 108s Unpacking libjson-glib-1.0-0:armhf (1.8.0-2build1) over (1.8.0-2) ... 108s Preparing to unpack .../05-libnghttp2-14_1.59.0-1build1_armhf.deb ... 108s Unpacking libnghttp2-14:armhf (1.59.0-1build1) over (1.59.0-1) ... 108s Preparing to unpack .../06-libssh-4_0.10.6-2build1_armhf.deb ... 108s Unpacking libssh-4:armhf (0.10.6-2build1) over (0.10.6-2) ... 108s Preparing to unpack .../07-libusb-1.0-0_2%3a1.0.27-1_armhf.deb ... 108s Unpacking libusb-1.0-0:armhf (2:1.0.27-1) over (2:1.0.26-1) ... 108s Preparing to unpack .../08-libgusb2_0.4.8-1build1_armhf.deb ... 108s Unpacking libgusb2:armhf (0.4.8-1build1) over (0.4.8-1) ... 108s Preparing to unpack .../09-libmm-glib0_1.23.4-0ubuntu1_armhf.deb ... 108s Unpacking libmm-glib0:armhf (1.23.4-0ubuntu1) over (1.22.0-3) ... 108s Preparing to unpack .../10-libprotobuf-c1_1.4.1-1ubuntu3_armhf.deb ... 108s Unpacking libprotobuf-c1:armhf (1.4.1-1ubuntu3) over (1.4.1-1ubuntu2) ... 108s Preparing to unpack .../11-libsasl2-2_2.1.28+dfsg1-5ubuntu1_armhf.deb ... 108s Unpacking libsasl2-2:armhf (2.1.28+dfsg1-5ubuntu1) over (2.1.28+dfsg1-4) ... 108s Preparing to unpack .../12-libibverbs1_50.0-2build1_armhf.deb ... 108s Unpacking libibverbs1:armhf (50.0-2build1) over (50.0-2) ... 108s Preparing to unpack .../13-libfido2-1_1.14.0-1build1_armhf.deb ... 108s Unpacking libfido2-1:armhf (1.14.0-1build1) over (1.14.0-1) ... 108s Preparing to unpack .../14-coreutils_9.4-3ubuntu3_armhf.deb ... 108s Unpacking coreutils (9.4-3ubuntu3) over (9.4-2ubuntu4) ... 108s Setting up coreutils (9.4-3ubuntu3) ... 108s (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 ... 78678 files and directories currently installed.) 108s Preparing to unpack .../util-linux_2.39.3-9ubuntu2_armhf.deb ... 108s Unpacking util-linux (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 108s Setting up util-linux (2.39.3-9ubuntu2) ... 109s fstrim.service is a disabled or a static unit not running, not starting it. 109s (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 ... 78678 files and directories currently installed.) 109s Preparing to unpack .../libc-bin_2.39-0ubuntu6_armhf.deb ... 109s Unpacking libc-bin (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 109s Setting up libc-bin (2.39-0ubuntu6) ... 109s (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 ... 78678 files and directories currently installed.) 109s Removing libatm1:armhf (1:2.5.1-5) ... 109s (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 ... 78673 files and directories currently installed.) 109s Preparing to unpack .../file_1%3a5.45-3_armhf.deb ... 109s Unpacking file (1:5.45-3) over (1:5.45-2) ... 109s (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 ... 78673 files and directories currently installed.) 109s Removing libmagic1:armhf (1:5.45-2) ... 109s (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 ... 78663 files and directories currently installed.) 109s Preparing to unpack .../libmagic-mgc_1%3a5.45-3_armhf.deb ... 109s Unpacking libmagic-mgc (1:5.45-3) over (1:5.45-2) ... 109s Selecting previously unselected package libmagic1t64:armhf. 109s Preparing to unpack .../libmagic1t64_1%3a5.45-3_armhf.deb ... 109s Unpacking libmagic1t64:armhf (1:5.45-3) ... 109s Preparing to unpack .../libplymouth5_24.004.60-1ubuntu6_armhf.deb ... 109s Unpacking libplymouth5:armhf (24.004.60-1ubuntu6) over (24.004.60-1ubuntu3) ... 110s (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 ... 78674 files and directories currently installed.) 110s Removing libpng16-16:armhf (1.6.43-1) ... 110s Selecting previously unselected package libpng16-16t64:armhf. 110s (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 ... 78664 files and directories currently installed.) 110s Preparing to unpack .../libpng16-16t64_1.6.43-3_armhf.deb ... 110s Unpacking libpng16-16t64:armhf (1.6.43-3) ... 110s Preparing to unpack .../bind9-host_1%3a9.18.24-0ubuntu3_armhf.deb ... 110s Unpacking bind9-host (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 110s Preparing to unpack .../bind9-dnsutils_1%3a9.18.24-0ubuntu3_armhf.deb ... 110s Unpacking bind9-dnsutils (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 110s Preparing to unpack .../bind9-libs_1%3a9.18.24-0ubuntu3_armhf.deb ... 110s Unpacking bind9-libs:armhf (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 110s (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 ... 78675 files and directories currently installed.) 110s Removing libuv1:armhf (1.48.0-1) ... 110s Selecting previously unselected package libuv1t64:armhf. 110s (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 ... 78670 files and directories currently installed.) 110s Preparing to unpack .../libuv1t64_1.48.0-1.1_armhf.deb ... 110s Unpacking libuv1t64:armhf (1.48.0-1.1) ... 110s (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 ... 78676 files and directories currently installed.) 110s Removing python3-distutils (3.11.5-1) ... 110s (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 ... 78621 files and directories currently installed.) 111s Preparing to unpack .../uuid-runtime_2.39.3-9ubuntu2_armhf.deb ... 111s Unpacking uuid-runtime (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 111s Preparing to unpack .../libdebconfclient0_0.271ubuntu2_armhf.deb ... 111s Unpacking libdebconfclient0:armhf (0.271ubuntu2) over (0.271ubuntu1) ... 111s Setting up libdebconfclient0:armhf (0.271ubuntu2) ... 111s (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 ... 78621 files and directories currently installed.) 111s Preparing to unpack .../libsemanage-common_3.5-1build4_all.deb ... 111s Unpacking libsemanage-common (3.5-1build4) over (3.5-1build2) ... 111s Setting up libsemanage-common (3.5-1build4) ... 111s (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 ... 78621 files and directories currently installed.) 111s Preparing to unpack .../libsemanage2_3.5-1build4_armhf.deb ... 111s Unpacking libsemanage2:armhf (3.5-1build4) over (3.5-1build2) ... 111s Setting up libsemanage2:armhf (3.5-1build4) ... 111s (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 ... 78621 files and directories currently installed.) 111s Preparing to unpack .../install-info_7.1-3build1_armhf.deb ... 111s Unpacking install-info (7.1-3build1) over (7.1-3) ... 111s Setting up install-info (7.1-3build1) ... 111s (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 ... 78621 files and directories currently installed.) 111s Preparing to unpack .../00-gcc-13-base_13.2.0-19ubuntu1_armhf.deb ... 111s Unpacking gcc-13-base:armhf (13.2.0-19ubuntu1) over (13.2.0-17ubuntu2) ... 111s Preparing to unpack .../01-libss2_1.47.0-2.4~exp1ubuntu2_armhf.deb ... 111s Unpacking libss2:armhf (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 111s Preparing to unpack .../02-dmsetup_2%3a1.02.185-3ubuntu2_armhf.deb ... 111s Unpacking dmsetup (2:1.02.185-3ubuntu2) over (2:1.02.185-3ubuntu1) ... 111s Preparing to unpack .../03-eject_2.39.3-9ubuntu2_armhf.deb ... 111s Unpacking eject (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 111s Preparing to unpack .../04-krb5-locales_1.20.1-5.1ubuntu1_all.deb ... 111s Unpacking krb5-locales (1.20.1-5.1ubuntu1) over (1.20.1-5build1) ... 111s Preparing to unpack .../05-libbsd0_0.12.1-1_armhf.deb ... 111s Unpacking libbsd0:armhf (0.12.1-1) over (0.11.8-1) ... 111s Preparing to unpack .../06-libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 111s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 111s Preparing to unpack .../07-libslang2_2.3.3-3build1_armhf.deb ... 111s Unpacking libslang2:armhf (2.3.3-3build1) over (2.3.3-3) ... 111s Preparing to unpack .../08-locales_2.39-0ubuntu6_all.deb ... 111s Unpacking locales (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 111s Preparing to unpack .../09-vim-tiny_2%3a9.1.0016-1ubuntu5_armhf.deb ... 111s Unpacking vim-tiny (2:9.1.0016-1ubuntu5) over (2:9.1.0016-1ubuntu2) ... 111s Preparing to unpack .../10-vim-common_2%3a9.1.0016-1ubuntu5_all.deb ... 111s Unpacking vim-common (2:9.1.0016-1ubuntu5) over (2:9.1.0016-1ubuntu2) ... 111s Selecting previously unselected package xdg-user-dirs. 111s Preparing to unpack .../11-xdg-user-dirs_0.18-1_armhf.deb ... 111s Unpacking xdg-user-dirs (0.18-1) ... 111s Preparing to unpack .../12-xxd_2%3a9.1.0016-1ubuntu5_armhf.deb ... 111s Unpacking xxd (2:9.1.0016-1ubuntu5) over (2:9.1.0016-1ubuntu2) ... 111s Preparing to unpack .../13-apparmor_4.0.0-beta3-0ubuntu2_armhf.deb ... 112s Unpacking apparmor (4.0.0-beta3-0ubuntu2) over (4.0.0~alpha4-0ubuntu1) ... 113s Preparing to unpack .../14-ftp_20230507-2build1_all.deb ... 113s Unpacking ftp (20230507-2build1) over (20230507-2) ... 113s Preparing to unpack .../15-inetutils-telnet_2%3a2.5-3ubuntu3_armhf.deb ... 113s Unpacking inetutils-telnet (2:2.5-3ubuntu3) over (2:2.5-3ubuntu1) ... 113s Preparing to unpack .../16-info_7.1-3build1_armhf.deb ... 113s Unpacking info (7.1-3build1) over (7.1-3) ... 113s Preparing to unpack .../17-libxmuu1_2%3a1.1.3-3build1_armhf.deb ... 113s Unpacking libxmuu1:armhf (2:1.1.3-3build1) over (2:1.1.3-3) ... 113s Preparing to unpack .../18-lshw_02.19.git.2021.06.19.996aaad9c7-2build2_armhf.deb ... 113s Unpacking lshw (02.19.git.2021.06.19.996aaad9c7-2build2) over (02.19.git.2021.06.19.996aaad9c7-2build1) ... 113s Preparing to unpack .../19-mtr-tiny_0.95-1.1build1_armhf.deb ... 113s Unpacking mtr-tiny (0.95-1.1build1) over (0.95-1.1) ... 113s Preparing to unpack .../20-plymouth-theme-ubuntu-text_24.004.60-1ubuntu6_armhf.deb ... 113s Unpacking plymouth-theme-ubuntu-text (24.004.60-1ubuntu6) over (24.004.60-1ubuntu3) ... 113s Preparing to unpack .../21-plymouth_24.004.60-1ubuntu6_armhf.deb ... 113s Unpacking plymouth (24.004.60-1ubuntu6) over (24.004.60-1ubuntu3) ... 113s Preparing to unpack .../22-psmisc_23.7-1_armhf.deb ... 113s Unpacking psmisc (23.7-1) over (23.6-2) ... 113s Preparing to unpack .../23-telnet_0.17+2.5-3ubuntu3_all.deb ... 113s Unpacking telnet (0.17+2.5-3ubuntu3) over (0.17+2.5-3ubuntu1) ... 114s Preparing to unpack .../24-usb.ids_2024.03.18-1_all.deb ... 114s Unpacking usb.ids (2024.03.18-1) over (2024.01.30-1) ... 114s Preparing to unpack .../25-xz-utils_5.6.0-0.2_armhf.deb ... 114s Unpacking xz-utils (5.6.0-0.2) over (5.4.5-0.3) ... 114s Preparing to unpack .../26-libctf0_2.42-4ubuntu1_armhf.deb ... 114s Unpacking libctf0:armhf (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 114s Preparing to unpack .../27-libctf-nobfd0_2.42-4ubuntu1_armhf.deb ... 114s Unpacking libctf-nobfd0:armhf (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 114s Preparing to unpack .../28-binutils-arm-linux-gnueabihf_2.42-4ubuntu1_armhf.deb ... 114s Unpacking binutils-arm-linux-gnueabihf (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 114s Preparing to unpack .../29-libbinutils_2.42-4ubuntu1_armhf.deb ... 114s Unpacking libbinutils:armhf (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 114s Preparing to unpack .../30-binutils_2.42-4ubuntu1_armhf.deb ... 114s Unpacking binutils (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 114s Preparing to unpack .../31-binutils-common_2.42-4ubuntu1_armhf.deb ... 114s Unpacking binutils-common:armhf (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 114s Preparing to unpack .../32-libsframe1_2.42-4ubuntu1_armhf.deb ... 114s Unpacking libsframe1:armhf (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 114s Preparing to unpack .../33-bolt_0.9.6-2build1_armhf.deb ... 114s Unpacking bolt (0.9.6-2build1) over (0.9.6-2) ... 114s Preparing to unpack .../34-cryptsetup-bin_2%3a2.7.0-1ubuntu2_armhf.deb ... 114s Unpacking cryptsetup-bin (2:2.7.0-1ubuntu2) over (2:2.7.0-1ubuntu1) ... 114s Preparing to unpack .../35-dpkg-dev_1.22.6ubuntu4_all.deb ... 114s Unpacking dpkg-dev (1.22.6ubuntu4) over (1.22.4ubuntu5) ... 114s Preparing to unpack .../36-libdpkg-perl_1.22.6ubuntu4_all.deb ... 114s Unpacking libdpkg-perl (1.22.6ubuntu4) over (1.22.4ubuntu5) ... 114s Preparing to unpack .../37-gnupg-l10n_2.4.4-2ubuntu15_all.deb ... 114s Unpacking gnupg-l10n (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 114s Preparing to unpack .../38-ibverbs-providers_50.0-2build1_armhf.deb ... 114s Unpacking ibverbs-providers:armhf (50.0-2build1) over (50.0-2) ... 114s Preparing to unpack .../39-jq_1.7.1-3_armhf.deb ... 114s Unpacking jq (1.7.1-3) over (1.7.1-2) ... 114s Preparing to unpack .../40-libjq1_1.7.1-3_armhf.deb ... 114s Unpacking libjq1:armhf (1.7.1-3) over (1.7.1-2) ... 115s Selecting previously unselected package libatm1t64:armhf. 115s Preparing to unpack .../41-libatm1t64_1%3a2.5.1-5.1_armhf.deb ... 115s Unpacking libatm1t64:armhf (1:2.5.1-5.1) ... 115s Preparing to unpack .../42-libevent-core-2.1-7_2.1.12-stable-9build1_armhf.deb ... 115s Unpacking libevent-core-2.1-7:armhf (2.1.12-stable-9build1) over (2.1.12-stable-9) ... 115s Preparing to unpack .../43-libftdi1-2_1.5-6build4_armhf.deb ... 115s Unpacking libftdi1-2:armhf (1.5-6build4) over (1.5-6build3) ... 115s Preparing to unpack .../44-libldap-common_2.6.7+dfsg-1~exp1ubuntu6_all.deb ... 115s Unpacking libldap-common (2.6.7+dfsg-1~exp1ubuntu6) over (2.6.7+dfsg-1~exp1ubuntu1) ... 115s Preparing to unpack .../45-libsasl2-modules_2.1.28+dfsg1-5ubuntu1_armhf.deb ... 115s Unpacking libsasl2-modules:armhf (2.1.28+dfsg1-5ubuntu1) over (2.1.28+dfsg1-4) ... 115s Preparing to unpack .../46-python3-lib2to3_3.12.2-3ubuntu2_all.deb ... 115s Unpacking python3-lib2to3 (3.12.2-3ubuntu2) over (3.11.5-1) ... 115s Preparing to unpack .../47-python3-pyrsistent_0.20.0-1build1_armhf.deb ... 115s Unpacking python3-pyrsistent:armhf (0.20.0-1build1) over (0.20.0-1) ... 115s Preparing to unpack .../48-python3-typing-extensions_4.10.0-1_all.deb ... 115s Unpacking python3-typing-extensions (4.10.0-1) over (4.9.0-1) ... 115s Preparing to unpack .../49-kpartx_0.9.4-5ubuntu6_armhf.deb ... 115s Unpacking kpartx (0.9.4-5ubuntu6) over (0.9.4-5ubuntu3) ... 115s Setting up pinentry-curses (1.2.1-3ubuntu4) ... 115s Setting up libtext-iconv-perl:armhf (1.7-8build2) ... 115s Setting up libtext-charwidth-perl:armhf (0.04-11build2) ... 115s Setting up libibverbs1:armhf (50.0-2build1) ... 115s Setting up systemd-sysv (255.4-1ubuntu5) ... 115s Setting up libapparmor1:armhf (4.0.0-beta3-0ubuntu2) ... 115s Setting up libatm1t64:armhf (1:2.5.1-5.1) ... 115s Setting up libgdbm6t64:armhf (1.23-5.1) ... 115s Setting up bsdextrautils (2.39.3-9ubuntu2) ... 115s Setting up libgdbm-compat4t64:armhf (1.23-5.1) ... 115s Setting up xdg-user-dirs (0.18-1) ... 115s Setting up ibverbs-providers:armhf (50.0-2build1) ... 115s Setting up linux-headers-6.8.0-20 (6.8.0-20.20) ... 115s Setting up libmagic-mgc (1:5.45-3) ... 115s Setting up gawk (1:5.2.1-2build2) ... 115s Setting up psmisc (23.7-1) ... 115s Setting up libjq1:armhf (1.7.1-3) ... 115s Setting up libtirpc-common (1.3.4+ds-1.1) ... 115s Setting up libbrotli1:armhf (1.1.0-2build1) ... 115s Setting up libsqlite3-0:armhf (3.45.1-1ubuntu1) ... 115s Setting up libsasl2-modules:armhf (2.1.28+dfsg1-5ubuntu1) ... 115s Setting up libuv1t64:armhf (1.48.0-1.1) ... 115s Setting up libmagic1t64:armhf (1:5.45-3) ... 115s Setting up binutils-common:armhf (2.42-4ubuntu1) ... 115s Setting up libpsl5t64:armhf (0.21.2-1.1) ... 115s Setting up libnghttp2-14:armhf (1.59.0-1build1) ... 115s Setting up libreiserfscore0t64 (1:3.6.27-7.1) ... 115s Setting up libctf-nobfd0:armhf (2.42-4ubuntu1) ... 115s Setting up libnss-systemd:armhf (255.4-1ubuntu5) ... 115s Setting up krb5-locales (1.20.1-5.1ubuntu1) ... 115s Setting up file (1:5.45-3) ... 115s Setting up kmod (31+20240202-2ubuntu4) ... 116s Setting up lshw (02.19.git.2021.06.19.996aaad9c7-2build2) ... 116s Setting up locales (2.39-0ubuntu6) ... 116s Generating locales (this might take a while)... 118s en_US.UTF-8... done 118s Generation complete. 118s Setting up libldap-common (2.6.7+dfsg-1~exp1ubuntu6) ... 118s Setting up libprotobuf-c1:armhf (1.4.1-1ubuntu3) ... 118s Setting up xxd (2:9.1.0016-1ubuntu5) ... 118s Setting up libsframe1:armhf (2.42-4ubuntu1) ... 118s Setting up libelf1t64:armhf (0.190-1.1build2) ... 118s Setting up libkrb5support0:armhf (1.20.1-5.1ubuntu1) ... 118s Setting up linux-headers-6.8.0-20-generic (6.8.0-20.20) ... 118s Setting up eject (2.39.3-9ubuntu2) ... 118s Setting up apparmor (4.0.0-beta3-0ubuntu2) ... 118s Installing new version of config file /etc/apparmor.d/abstractions/authentication ... 118s Installing new version of config file /etc/apparmor.d/abstractions/crypto ... 118s Installing new version of config file /etc/apparmor.d/abstractions/kde-open5 ... 118s Installing new version of config file /etc/apparmor.d/abstractions/openssl ... 118s Installing new version of config file /etc/apparmor.d/code ... 118s Installing new version of config file /etc/apparmor.d/firefox ... 118s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 118s 119s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s sysctl: cannot stat /proc/sys/kernel/apparmor_restrict_unprivileged_userns: No such file or directory 119s Reloading AppArmor profiles 119s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "busybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "geary". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Unable to replace "goldendict". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "kchmviewer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "loupe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "nautilus". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "notepadqq". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "pageedit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "privacybrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "qmapshack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "qutebrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "rssguard". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "scide". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "toybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "tuxedo-control-center". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "unix-chkpwd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 119s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 119s 120s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 120s 120s Error: At least one profile failed to load 120s Setting up libglib2.0-0t64:armhf (2.79.3-3ubuntu5) ... 120s No schema files found: doing nothing. 120s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 120s Setting up vim-common (2:9.1.0016-1ubuntu5) ... 120s Setting up gcc-13-base:armhf (13.2.0-19ubuntu1) ... 120s Setting up libqrtr-glib0:armhf (1.2.2-1ubuntu3) ... 120s Setting up libslang2:armhf (2.3.3-3build1) ... 120s Setting up libnvme1t64 (1.8-3) ... 120s Setting up mtr-tiny (0.95-1.1build1) ... 120s Setting up gnupg-l10n (2.4.4-2ubuntu15) ... 120s Setting up librtmp1:armhf (2.4+20151223.gitfa8646d.1-2build6) ... 120s Setting up libdbus-1-3:armhf (1.14.10-4ubuntu2) ... 120s Setting up xz-utils (5.6.0-0.2) ... 120s Setting up perl-modules-5.38 (5.38.2-3.2) ... 120s Setting up libblockdev-utils3:armhf (3.1.0-1build1) ... 120s Setting up libpng16-16t64:armhf (1.6.43-3) ... 120s Setting up systemd-timesyncd (255.4-1ubuntu5) ... 120s Setting up libevent-core-2.1-7:armhf (2.1.12-stable-9build1) ... 120s Setting up udev (255.4-1ubuntu5) ... 121s Setting up libss2:armhf (1.47.0-2.4~exp1ubuntu2) ... 121s Setting up usb.ids (2024.03.18-1) ... 121s Setting up sudo (1.9.15p5-3ubuntu3) ... 121s Setting up dhcpcd-base (1:10.0.6-1ubuntu2) ... 121s Setting up gir1.2-glib-2.0:armhf (2.79.3-3ubuntu5) ... 121s Setting up libk5crypto3:armhf (1.20.1-5.1ubuntu1) ... 121s Setting up logsave (1.47.0-2.4~exp1ubuntu2) ... 121s Setting up libfdisk1:armhf (2.39.3-9ubuntu2) ... 121s Setting up libdb5.3t64:armhf (5.3.28+dfsg2-6) ... 121s Setting up libblockdev-nvme3:armhf (3.1.0-1build1) ... 121s Setting up libdevmapper1.02.1:armhf (2:1.02.185-3ubuntu2) ... 121s Setting up libblockdev-fs3:armhf (3.1.0-1build1) ... 121s Setting up python-apt-common (2.7.6build1) ... 121s Setting up mount (2.39.3-9ubuntu2) ... 121s Setting up dmsetup (2:1.02.185-3ubuntu2) ... 121s Setting up uuid-runtime (2.39.3-9ubuntu2) ... 122s uuidd.service is a disabled or a static unit not running, not starting it. 122s Setting up libmm-glib0:armhf (1.23.4-0ubuntu1) ... 122s Setting up groff-base (1.23.0-3build1) ... 122s Setting up libplymouth5:armhf (24.004.60-1ubuntu6) ... 122s Setting up dbus-session-bus-common (1.14.10-4ubuntu2) ... 122s Setting up kpartx (0.9.4-5ubuntu6) ... 122s Setting up jq (1.7.1-3) ... 122s Setting up gpgconf (2.4.4-2ubuntu15) ... 122s Setting up libpcap0.8t64:armhf (1.10.4-4.1ubuntu1) ... 122s Setting up libcryptsetup12:armhf (2:2.7.0-1ubuntu2) ... 122s Setting up libgirepository-1.0-1:armhf (1.79.1-1ubuntu6) ... 122s Setting up libjson-glib-1.0-common (1.8.0-2build1) ... 122s Setting up libkrb5-3:armhf (1.20.1-5.1ubuntu1) ... 122s Setting up libpython3.11-minimal:armhf (3.11.8-1build4) ... 122s Setting up libusb-1.0-0:armhf (2:1.0.27-1) ... 122s Setting up libperl5.38t64:armhf (5.38.2-3.2) ... 122s Setting up tnftp (20230507-2build1) ... 122s Setting up libbinutils:armhf (2.42-4ubuntu1) ... 122s Setting up dbus-system-bus-common (1.14.10-4ubuntu2) ... 122s Setting up libfido2-1:armhf (1.14.0-1build1) ... 122s Setting up openssl (3.0.13-0ubuntu2) ... 122s Setting up libbsd0:armhf (0.12.1-1) ... 122s Setting up readline-common (8.2-3.1build1) ... 122s Setting up libxml2:armhf (2.9.14+dfsg-1.3ubuntu2) ... 122s Setting up libxmuu1:armhf (2:1.1.3-3build1) ... 122s Setting up dbus-bin (1.14.10-4ubuntu2) ... 122s Setting up info (7.1-3build1) ... 122s Setting up liblocale-gettext-perl (1.07-6ubuntu4) ... 122s Setting up gpg (2.4.4-2ubuntu15) ... 122s Setting up libgudev-1.0-0:armhf (1:238-3ubuntu2) ... 122s Setting up libpolkit-gobject-1-0:armhf (124-1ubuntu1) ... 122s Setting up libbpf1:armhf (1:1.3.0-2build1) ... 122s Setting up libmbim-glib4:armhf (1.31.2-0ubuntu2) ... 122s Setting up rsync (3.2.7-1build1) ... 122s rsync.service is a disabled or a static unit not running, not starting it. 122s Setting up libudisks2-0:armhf (2.10.1-6) ... 123s Setting up bolt (0.9.6-2build1) ... 123s bolt.service is a disabled or a static unit not running, not starting it. 123s Setting up gnupg-utils (2.4.4-2ubuntu15) ... 123s Setting up initramfs-tools-bin (0.142ubuntu23) ... 123s Setting up libctf0:armhf (2.42-4ubuntu1) ... 123s Setting up cryptsetup-bin (2:2.7.0-1ubuntu2) ... 123s Setting up python3.11-minimal (3.11.8-1build4) ... 124s Setting up tcpdump (4.99.4-3ubuntu2) ... 124s apparmor_parser: Unable to replace "tcpdump". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 124s 124s Setting up apt-utils (2.7.14) ... 124s Setting up gpg-agent (2.4.4-2ubuntu15) ... 124s Setting up libpython3.12-stdlib:armhf (3.12.2-4build3) ... 124s Setting up libblockdev-mdraid3:armhf (3.1.0-1build1) ... 124s Setting up wget (1.21.4-1ubuntu2) ... 124s Setting up libblockdev-swap3:armhf (3.1.0-1build1) ... 124s Setting up plymouth (24.004.60-1ubuntu6) ... 125s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 125s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 125s Setting up libxmlb2:armhf (0.3.15-1build1) ... 125s Setting up btrfs-progs (6.6.3-1.1build1) ... 125s Setting up libpython3.11-stdlib:armhf (3.11.8-1build4) ... 125s Setting up python3.12 (3.12.2-4build3) ... 126s Setting up libblockdev-loop3:armhf (3.1.0-1build1) ... 126s Setting up gpgsm (2.4.4-2ubuntu15) ... 126s Setting up inetutils-telnet (2:2.5-3ubuntu3) ... 126s Setting up e2fsprogs (1.47.0-2.4~exp1ubuntu2) ... 126s update-initramfs: deferring update (trigger activated) 127s e2scrub_all.service is a disabled or a static unit not running, not starting it. 127s Setting up libparted2t64:armhf (3.6-3.1build2) ... 127s Setting up linux-headers-generic (6.8.0-20.20+1) ... 127s Setting up dbus-daemon (1.14.10-4ubuntu2) ... 127s Setting up libmbim-proxy (1.31.2-0ubuntu2) ... 127s Setting up vim-tiny (2:9.1.0016-1ubuntu5) ... 127s Setting up libnetplan1:armhf (1.0-1) ... 127s Setting up man-db (2.12.0-3build4) ... 127s Updating database of manual pages ... 128s apparmor_parser: Unable to replace "/usr/bin/man". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 128s 129s man-db.service is a disabled or a static unit not running, not starting it. 129s Setting up libblockdev3:armhf (3.1.0-1build1) ... 129s Setting up fdisk (2.39.3-9ubuntu2) ... 129s Setting up libjson-glib-1.0-0:armhf (1.8.0-2build1) ... 129s Setting up libblockdev-part3:armhf (3.1.0-1build1) ... 129s Setting up libsasl2-modules-db:armhf (2.1.28+dfsg1-5ubuntu1) ... 129s Setting up libftdi1-2:armhf (1.5-6build4) ... 129s Setting up perl (5.38.2-3.2) ... 129s Setting up plymouth-theme-ubuntu-text (24.004.60-1ubuntu6) ... 129s update-initramfs: deferring update (trigger activated) 129s Setting up gir1.2-girepository-2.0:armhf (1.79.1-1ubuntu6) ... 129s Setting up dbus (1.14.10-4ubuntu2) ... 129s A reboot is required to replace the running dbus-daemon. 129s Please reboot the system when convenient. 129s Setting up shared-mime-info (2.4-1build1) ... 130s Setting up libgssapi-krb5-2:armhf (1.20.1-5.1ubuntu1) ... 130s Setting up ftp (20230507-2build1) ... 130s Setting up keyboxd (2.4.4-2ubuntu15) ... 130s Setting up libdpkg-perl (1.22.6ubuntu4) ... 130s Setting up libsasl2-2:armhf (2.1.28+dfsg1-5ubuntu1) ... 130s Setting up libssh-4:armhf (0.10.6-2build1) ... 130s Setting up libpam-systemd:armhf (255.4-1ubuntu5) ... 130s Setting up libpolkit-agent-1-0:armhf (124-1ubuntu1) ... 130s Setting up libgpgme11t64:armhf (1.18.0-4.1ubuntu3) ... 130s Setting up netplan-generator (1.0-1) ... 130s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 130s Setting up initramfs-tools-core (0.142ubuntu23) ... 130s Setting up binutils-arm-linux-gnueabihf (2.42-4ubuntu1) ... 130s Setting up libarchive13t64:armhf (3.7.2-1.1ubuntu2) ... 130s Setting up libldap2:armhf (2.6.7+dfsg-1~exp1ubuntu6) ... 130s Setting up libpython3-stdlib:armhf (3.12.2-0ubuntu1) ... 130s Setting up systemd-resolved (255.4-1ubuntu5) ... 131s Setting up python3.11 (3.11.8-1build4) ... 132s Setting up telnet (0.17+2.5-3ubuntu3) ... 132s Setting up initramfs-tools (0.142ubuntu23) ... 132s update-initramfs: deferring update (trigger activated) 132s Setting up libcurl4t64:armhf (8.5.0-2ubuntu7) ... 132s Setting up bind9-libs:armhf (1:9.18.24-0ubuntu3) ... 132s Setting up libtirpc3t64:armhf (1.3.4+ds-1.1) ... 132s Setting up e2fsprogs-l10n (1.47.0-2.4~exp1ubuntu2) ... 132s Setting up iproute2 (6.1.0-1ubuntu5) ... 132s Setting up openssh-client (1:9.6p1-3ubuntu11) ... 132s Setting up libgusb2:armhf (0.4.8-1build1) ... 132s Setting up libcurl3t64-gnutls:armhf (8.5.0-2ubuntu7) ... 132s Setting up parted (3.6-3.1build2) ... 132s Setting up libqmi-glib5:armhf (1.35.2-0ubuntu1) ... 132s Setting up python3 (3.12.2-0ubuntu1) ... 133s Setting up binutils (2.42-4ubuntu1) ... 133s Setting up libjcat1:armhf (0.2.0-2build2) ... 133s Setting up dpkg-dev (1.22.6ubuntu4) ... 133s Setting up dirmngr (2.4.4-2ubuntu15) ... 133s Setting up dbus-user-session (1.14.10-4ubuntu2) ... 133s Setting up python3-cryptography (41.0.7-4build2) ... 133s Setting up python3-gi (3.47.0-3build1) ... 133s Setting up python3-typing-extensions (4.10.0-1) ... 133s Setting up lsof (4.95.0-1build2) ... 133s Setting up python3-pyrsistent:armhf (0.20.0-1build1) ... 134s Setting up libnsl2:armhf (1.3.0-3build2) ... 134s Setting up gnupg (2.4.4-2ubuntu15) ... 134s Setting up python3-netplan (1.0-1) ... 134s Setting up curl (8.5.0-2ubuntu7) ... 134s Setting up libvolume-key1:armhf (0.3.12-7build1) ... 134s Setting up bind9-host (1:9.18.24-0ubuntu3) ... 134s Setting up python3-lib2to3 (3.12.2-3ubuntu2) ... 134s Setting up python3-pkg-resources (68.1.2-2ubuntu1) ... 134s Setting up openssh-sftp-server (1:9.6p1-3ubuntu11) ... 134s Setting up python3-dbus (1.3.2-5build2) ... 135s Setting up python3-setuptools (68.1.2-2ubuntu1) ... 135s Setting up gpg-wks-client (2.4.4-2ubuntu15) ... 135s Setting up openssh-server (1:9.6p1-3ubuntu11) ... 135s Replacing config file /etc/ssh/sshd_config with new version 137s Created symlink /etc/systemd/system/ssh.service.requires/ssh.socket → /usr/lib/systemd/system/ssh.socket. 138s Setting up libblockdev-crypto3:armhf (3.1.0-1build1) ... 138s Setting up python3-gdbm:armhf (3.12.2-3ubuntu2) ... 138s Setting up python3-apt (2.7.6build1) ... 138s Setting up libfwupd2:armhf (1.9.15-1) ... 138s Setting up python3-yaml (6.0.1-2build1) ... 139s Setting up libqmi-proxy (1.35.2-0ubuntu1) ... 139s Setting up netplan.io (1.0-1) ... 139s Setting up bind9-dnsutils (1:9.18.24-0ubuntu3) ... 139s Setting up ubuntu-pro-client (31.2.1) ... 139s apparmor_parser: Unable to replace "ubuntu_pro_apt_news". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 139s 140s Setting up fwupd (1.9.15-1) ... 141s fwupd-offline-update.service is a disabled or a static unit not running, not starting it. 141s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 141s fwupd.service is a disabled or a static unit not running, not starting it. 141s Setting up ubuntu-pro-client-l10n (31.2.1) ... 141s Setting up udisks2 (2.10.1-6) ... 141s vda: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/uevent': Permission denied 141s vda1: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda1/uevent': Permission denied 141s vda15: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda15/uevent': Permission denied 141s vda2: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda2/uevent': Permission denied 141s loop0: Failed to write 'change' to '/sys/devices/virtual/block/loop0/uevent': Permission denied 141s loop1: Failed to write 'change' to '/sys/devices/virtual/block/loop1/uevent': Permission denied 141s loop2: Failed to write 'change' to '/sys/devices/virtual/block/loop2/uevent': Permission denied 141s loop3: Failed to write 'change' to '/sys/devices/virtual/block/loop3/uevent': Permission denied 141s loop4: Failed to write 'change' to '/sys/devices/virtual/block/loop4/uevent': Permission denied 141s loop5: Failed to write 'change' to '/sys/devices/virtual/block/loop5/uevent': Permission denied 141s loop6: Failed to write 'change' to '/sys/devices/virtual/block/loop6/uevent': Permission denied 141s loop7: Failed to write 'change' to '/sys/devices/virtual/block/loop7/uevent': Permission denied 141s Processing triggers for ufw (0.36.2-5) ... 141s Processing triggers for systemd (255.4-1ubuntu5) ... 141s Processing triggers for install-info (7.1-3build1) ... 141s Processing triggers for libc-bin (2.39-0ubuntu6) ... 141s Processing triggers for initramfs-tools (0.142ubuntu23) ... 143s Reading package lists... 143s Building dependency tree... 143s Reading state information... 144s The following packages will be REMOVED: 144s linux-headers-6.8.0-11* python3-lib2to3* 144s 0 upgraded, 0 newly installed, 2 to remove and 1 not upgraded. 144s After this operation, 85.8 MB disk space will be freed. 145s (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 ... 78592 files and directories currently installed.) 145s Removing linux-headers-6.8.0-11 (6.8.0-11.11) ... 145s Removing python3-lib2to3 (3.12.2-3ubuntu2) ... 147s autopkgtest [23:26:22]: rebooting testbed after setup commands that affected boot 184s autopkgtest [23:26:59]: testbed running kernel: Linux 5.15.0-101-generic #111-Ubuntu SMP Wed Mar 6 18:01:01 UTC 2024 209s autopkgtest [23:27:24]: @@@@@@@@@@@@@@@@@@@@ apt-source octave-image 218s Get:1 http://ftpmaster.internal/ubuntu noble/universe octave-image 2.14.0-5 (dsc) [2243 B] 218s Get:2 http://ftpmaster.internal/ubuntu noble/universe octave-image 2.14.0-5 (tar) [468 kB] 218s Get:3 http://ftpmaster.internal/ubuntu noble/universe octave-image 2.14.0-5 (diff) [11.7 kB] 218s gpgv: Signature made Sun Oct 8 16:40:13 2023 UTC 218s gpgv: using RSA key 3F464391498FE874BDB5D98F2124AA1983785C90 218s gpgv: issuer "rafael@debian.org" 218s gpgv: Can't check signature: No public key 218s dpkg-source: warning: cannot verify inline signature for ./octave-image_2.14.0-5.dsc: no acceptable signature found 218s autopkgtest [23:27:33]: testing package octave-image version 2.14.0-5 220s autopkgtest [23:27:35]: build not needed 222s autopkgtest [23:27:37]: test command1: preparing testbed 231s Reading package lists... 231s Building dependency tree... 231s Reading state information... 232s Starting pkgProblemResolver with broken count: 0 232s Starting 2 pkgProblemResolver with broken count: 0 232s Done 233s The following additional packages will be installed: 233s aglfn autoconf automake autopoint autotools-dev cme cpp cpp-13 233s cpp-13-arm-linux-gnueabihf cpp-arm-linux-gnueabihf debhelper debugedit 233s dh-autoreconf dh-octave dh-octave-autopkgtest dh-strip-nondeterminism 233s diffstat dwz fontconfig fontconfig-config fonts-dejavu-core 233s fonts-dejavu-mono fonts-freefont-otf g++ g++-13 g++-13-arm-linux-gnueabihf 233s g++-arm-linux-gnueabihf gcc gcc-13 gcc-13-arm-linux-gnueabihf 233s gcc-arm-linux-gnueabihf gettext gfortran gfortran-13 233s gfortran-13-arm-linux-gnueabihf gfortran-arm-linux-gnueabihf gnuplot-data 233s gnuplot-nox hdf5-helpers intltool-debian libaec-dev libaec0 233s libalgorithm-c3-perl libaliased-perl libamd3 libapp-cmd-perl libapt-pkg-perl 233s libarchive-zip-perl libarpack2t64 libarray-intspan-perl libasan8 233s libasound2-data libasound2t64 libatomic1 libavahi-client3 233s libavahi-common-data libavahi-common3 libb-hooks-endofscope-perl 233s libb-hooks-op-check-perl libberkeleydb-perl libblas-dev libblas3 233s libboolean-perl libbtf2 libc-dev-bin libc6-dev libcairo2 libcamd3 233s libcapture-tiny-perl libcarp-assert-more-perl libcc1-0 libccolamd3 233s libcgi-pm-perl libcholmod5 libclass-c3-perl libclass-data-inheritable-perl 233s libclass-load-perl libclass-method-modifiers-perl libclass-xsaccessor-perl 233s libclone-choose-perl libclone-perl libcolamd3 libcombblas2.0.0t64 233s libconfig-model-backend-yaml-perl libconfig-model-dpkg-perl 233s libconfig-model-perl libconfig-tiny-perl libconst-fast-perl 233s libconvert-binhex-perl libcpanel-json-xs-perl libcrypt-dev libcups2t64 233s libcurl4-openssl-dev libcxsparse4 libdata-dpath-perl 233s libdata-messagepack-perl libdata-optlist-perl libdata-section-perl 233s libdata-validate-domain-perl libdata-validate-ip-perl 233s libdata-validate-uri-perl libdatrie1 libdav1d7 libde265-0 libdebhelper-perl 233s libdeflate0 libdevel-callchecker-perl libdevel-size-perl 233s libdevel-stacktrace-perl libdouble-conversion3 libdrm-amdgpu1 233s libdrm-nouveau2 libdrm-radeon1 libdw1t64 libdynaloader-functions-perl 233s libegl-mesa0 libegl1 libemail-address-xs-perl libencode-locale-perl 233s liberror-perl libevent-pthreads-2.1-7 libexception-class-perl 233s libexporter-lite-perl libexporter-tiny-perl libfabric1 libfftw3-bin 233s libfftw3-dev libfftw3-double3 libfftw3-mpi3 libfftw3-single3 233s libfile-basedir-perl libfile-find-rule-perl libfile-homedir-perl 233s libfile-listing-perl libfile-stripnondeterminism-perl libfile-which-perl 233s libflac12t64 libfltk-gl1.3t64 libfltk1.3t64 libfont-ttf-perl libfontconfig1 233s libfontenc1 libfreetype6 libgbm1 libgcc-13-dev libgd3 233s libgetopt-long-descriptive-perl libgfortran-13-dev libgfortran5 libgl-dev 233s libgl1 libgl1-mesa-dri libgl2ps1.4 libglapi-mesa libgles2 libglpk40 233s libglu1-mesa libglvnd0 libglx-dev libglx-mesa0 libglx0 libgomp1 233s libgraphicsmagick++-q16-12t64 libgraphicsmagick-q16-3t64 libgraphite2-3 233s libharfbuzz0b libhash-merge-perl libhdf5-103-1t64 libhdf5-cpp-103-1t64 233s libhdf5-dev libhdf5-fortran-102t64 libhdf5-hl-100t64 libhdf5-hl-cpp-100t64 233s libhdf5-hl-fortran-100t64 libhdf5-openmpi-103-1t64 libheif-plugin-dav1d 233s libheif-plugin-libde265 libheif1 libhtml-form-perl 233s libhtml-html5-entities-perl libhtml-parser-perl libhtml-tagset-perl 233s libhtml-tokeparser-simple-perl libhtml-tree-perl libhttp-cookies-perl 233s libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl 233s libhwloc-plugins libhwloc15 libhwy1t64 libhypre-2.28.0 libice6 233s libimport-into-perl libindirect-perl libinput-bin libinput10 libio-html-perl 233s libio-interactive-perl libio-socket-ssl-perl libio-string-perl 233s libio-stringy-perl libio-tiecombine-perl libipc-run3-perl 233s libipc-system-simple-perl libisl23 libiterator-perl libiterator-util-perl 233s libjack-jackd2-0 libjbig0 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev 233s libjpeg8 libjpeg8-dev libjson-maybexs-perl libjson-perl libjxl0.7 libklu2 233s liblapack-dev liblapack3 liblcms2-2 liblerc4 liblist-compare-perl 233s liblist-moreutils-perl liblist-moreutils-xs-perl liblist-someutils-perl 233s liblist-utilsby-perl libllvm17t64 liblog-any-adapter-screen-perl 233s liblog-any-perl liblog-log4perl-perl libltdl7 liblua5.4-0 233s liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl 233s libmarkdown2 libmd4c0 libmetis5 libmime-tools-perl libmldbm-perl 233s libmodule-implementation-perl libmodule-pluggable-perl 233s libmodule-runtime-perl libmoo-perl libmoox-aliases-perl libmouse-perl 233s libmousex-nativetraits-perl libmousex-strictconstructor-perl libmp3lame0 233s libmpc3 libmpg123-0 libmro-compat-perl libmtdev1t64 libmumps-5.6t64 233s libmunge2 libnamespace-clean-perl libncurses-dev libnet-domain-tld-perl 233s libnet-http-perl libnet-ipv6addr-perl libnet-netmask-perl 233s libnet-smtp-ssl-perl libnet-ssleay-perl libnetaddr-ip-perl 233s libnumber-compare-perl libobject-pad-perl libogg0 libopengl0 libopenmpi3t64 233s libopus0 libpackage-stash-perl libpango-1.0-0 libpangocairo-1.0-0 233s libpangoft2-1.0-0 libparams-classify-perl libparams-util-perl 233s libparams-validate-perl libparse-debcontrol-perl libparse-recdescent-perl 233s libpath-iterator-rule-perl libpath-tiny-perl libpciaccess0 libpcre2-16-0 233s libperlio-gzip-perl libperlio-utf8-strict-perl libpetsc-real3.19t64 233s libpixman-1-0 libpmix2t64 libpod-constants-perl libpod-parser-perl 233s libpod-pom-perl libportaudio2 libproc-processtable-perl 233s libpthread-stubs0-dev libptscotch-7.0 libqhull-r8.0 libqrupdate1 233s libqscintilla2-qt5-15 libqscintilla2-qt5-l10n libqt5core5t64 libqt5dbus5t64 233s libqt5gui5t64 libqt5help5 libqt5network5t64 libqt5printsupport5t64 233s libqt5sql5t64 libqt5widgets5t64 libqt5xml5t64 librdmacm1t64 libreadline-dev 233s libregexp-common-perl libregexp-pattern-license-perl libregexp-pattern-perl 233s libregexp-wildcards-perl librole-tiny-perl libsamplerate0 233s libscalapack-openmpi2.2 libsereal-decoder-perl libsereal-encoder-perl 233s libset-intspan-perl libsharpyuv0 libsm6 libsndfile1 233s libsoftware-copyright-perl libsoftware-license-perl 233s libsoftware-licensemoreutils-perl libsort-versions-perl libspqr4 libssl-dev 233s libstdc++-13-dev libstrictures-perl libstring-copyright-perl 233s libstring-escape-perl libstring-license-perl libstring-rewriteprefix-perl 233s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 233s libsub-install-perl libsub-name-perl libsub-override-perl libsub-quote-perl 233s libsub-uplevel-perl libsuitesparseconfig7 libsundials-ida6 233s libsundials-nvecparallel-petsc6 libsundials-sunlinsol3 233s libsundials-sunmatrix4 libsuperlu-dist8 libsuperlu6 233s libsyntax-keyword-try-perl libsz2 libterm-readkey-perl 233s libtest-exception-perl libtext-autoformat-perl libtext-glob-perl 233s libtext-levenshtein-damerau-perl libtext-levenshteinxs-perl 233s libtext-markdown-discount-perl libtext-reform-perl libtext-template-perl 233s libtext-unidecode-perl libtext-xslate-perl libthai-data libthai0 libtiff6 233s libtime-duration-perl libtime-moment-perl libtimedate-perl libtoml-tiny-perl 233s libtool libtry-tiny-perl libubsan1 libumfpack6 libunicode-utf8-perl 233s libunwind8 liburi-perl libvariable-magic-perl libvorbis0a libvorbisenc2 233s libvulkan1 libwacom-common libwacom9 libwayland-client0 libwayland-server0 233s libwebp7 libwebpmux3 libwmflite-0.2-7 libwww-mechanize-perl libwww-perl 233s libwww-robotrules-perl libx11-dev libx11-xcb1 libxau-dev libxaw7 233s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-icccm4 libxcb-image0 233s libxcb-keysyms1 libxcb-present0 libxcb-randr0 libxcb-render-util0 233s libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 233s libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 libxcb1-dev 233s libxcursor1 libxdmcp-dev libxfixes3 libxfont2 libxft2 libxinerama1 233s libxkbcommon-x11-0 libxkbfile1 libxml-libxml-perl 233s libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxmu6 233s libxnvctrl0 libxpm4 libxrandr2 libxrender1 libxs-parse-keyword-perl 233s libxs-parse-sublike-perl libxshmfence1 libxt6t64 libxxf86vm1 233s libyaml-libyaml-perl libyaml-pp-perl libyaml-tiny-perl licensecheck lintian 233s linux-libc-dev lzip lzop m4 mpi-default-bin ocl-icd-libopencl1 octave 233s octave-common octave-dev octave-image openmpi-bin openmpi-common patchutils 233s perl-openssl-defaults po-debconf rpcsvc-proto t1utils tex-common texinfo 233s texinfo-lib unzip x11-common x11-xkb-utils x11proto-dev xorg-sgml-doctools 233s xserver-common xtrans-dev xvfb zlib1g-dev 233s Suggested packages: 233s autoconf-archive gnu-standards autoconf-doc libconfig-model-cursesui-perl 233s libconfig-model-itself-perl cpp-doc gcc-13-locales cpp-13-doc dh-make 233s gcc-13-doc gcc-multilib manpages-dev flex bison gdb gcc-doc 233s gdb-arm-linux-gnueabihf gettext-doc libasprintf-dev libgettextpo-dev 233s gfortran-doc gfortran-13-doc libcoarrays-dev gnuplot-doc alsa-utils 233s libasound2-plugins liblapack-doc glibc-doc libconfig-model-openssh-perl 233s libterm-readline-perl-perl | libterm-readline-gnu-perl cups-common 233s libcurl4-doc libidn-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev 233s pkg-config libfftw3-doc libfftw3-mpi-dev libxml-parser-perl libgd-tools 233s libiodbc2-dev default-libmysqlclient-dev graphicsmagick-dbg libhdf5-doc 233s libheif-plugin-ffmpegdec libheif-plugin-jpegdec libheif-plugin-jpegenc 233s libheif-plugin-j2kdec libheif-plugin-j2kenc libheif-plugin-rav1e 233s libheif-plugin-svtenc libdata-dump-perl libio-compress-brotli-perl jackd2 233s liblcms2-utils libdbd-csv-perl liblog-dispatch-filerotate-perl librrds-perl 233s libxml-dom-perl libcrypt-ssleay-perl ncurses-doc opus-tools 233s libscalar-number-perl libqscintilla2-doc qgnomeplatform-qt5 233s qt5-image-formats-plugins readline-doc scalapack-doc libssl-doc 233s libstdc++-13-doc libbareword-filehandles-perl libmultidimensional-perl 233s libxstring-perl libdatetime-format-rfc3339-perl libtool-doc gcj-jdk 233s libbusiness-isbn-perl libregexp-ipv6-perl libwacom-bin libauthen-ntlm-perl 233s libx11-doc libxcb-doc binutils-multiarch m4-doc opencl-icd libmail-box-perl 233s texlive-base texlive-latex-base texlive-plain-generic 233s texlive-fonts-recommended zip 233s Recommended packages: 233s libconfig-model-approx-perl libconfig-model-lcdproc-perl 233s libconfig-model-openssh-perl libconfig-model-systemd-perl 233s libconfig-model-tkui-perl fonts-liberation groff alsa-ucm-conf 233s alsa-topology-conf manpages manpages-dev libc-devtools libcgi-fast-perl 233s libclass-c3-xs-perl fuse libfuse-perl libarchive-cpio-perl libgl1-amber-dri 233s ghostscript fonts-urw-base35 libheif-plugin-aomenc libheif-plugin-x265 233s libhtml-format-perl libjson-xs-perl liblist-someutils-xs-perl 233s libipc-shareable-perl liblog-dispatch-perl libfreezethaw-perl 233s libmath-base85-perl libauthen-sasl-perl libsocket6-perl 233s libpackage-stash-xs-perl libtie-ixhash-perl qttranslations5-l10n libqt5svg5 233s qt5-gtk-platformtheme qtwayland5 libcups2 libqt5sql5-sqlite 233s | libqt5sql5-mysql | libqt5sql5-odbc | libqt5sql5-psql | libqt5sql5-tds 233s | libqt5sql5-ibase libre-engine-re2-perl libtypes-serialiser-perl 233s libltdl-dev mesa-vulkan-drivers | vulkan-icd libdata-dump-perl 233s libhttp-daemon-perl libxml-sax-expat-perl libopenblas0 | libblis4 pstoedit 233s epstool default-jre-headless octave-doc libmail-sendmail-perl xfonts-base 233s The following NEW packages will be installed: 233s aglfn autoconf automake autopkgtest-satdep autopoint autotools-dev cme cpp 233s cpp-13 cpp-13-arm-linux-gnueabihf cpp-arm-linux-gnueabihf debhelper 233s debugedit dh-autoreconf dh-octave dh-octave-autopkgtest 233s dh-strip-nondeterminism diffstat dwz fontconfig fontconfig-config 233s fonts-dejavu-core fonts-dejavu-mono fonts-freefont-otf g++ g++-13 233s g++-13-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc gcc-13 233s gcc-13-arm-linux-gnueabihf gcc-arm-linux-gnueabihf gettext gfortran 233s gfortran-13 gfortran-13-arm-linux-gnueabihf gfortran-arm-linux-gnueabihf 233s gnuplot-data gnuplot-nox hdf5-helpers intltool-debian libaec-dev libaec0 233s libalgorithm-c3-perl libaliased-perl libamd3 libapp-cmd-perl libapt-pkg-perl 233s libarchive-zip-perl libarpack2t64 libarray-intspan-perl libasan8 233s libasound2-data libasound2t64 libatomic1 libavahi-client3 233s libavahi-common-data libavahi-common3 libb-hooks-endofscope-perl 233s libb-hooks-op-check-perl libberkeleydb-perl libblas-dev libblas3 233s libboolean-perl libbtf2 libc-dev-bin libc6-dev libcairo2 libcamd3 233s libcapture-tiny-perl libcarp-assert-more-perl libcc1-0 libccolamd3 233s libcgi-pm-perl libcholmod5 libclass-c3-perl libclass-data-inheritable-perl 233s libclass-load-perl libclass-method-modifiers-perl libclass-xsaccessor-perl 233s libclone-choose-perl libclone-perl libcolamd3 libcombblas2.0.0t64 233s libconfig-model-backend-yaml-perl libconfig-model-dpkg-perl 233s libconfig-model-perl libconfig-tiny-perl libconst-fast-perl 233s libconvert-binhex-perl libcpanel-json-xs-perl libcrypt-dev libcups2t64 233s libcurl4-openssl-dev libcxsparse4 libdata-dpath-perl 233s libdata-messagepack-perl libdata-optlist-perl libdata-section-perl 233s libdata-validate-domain-perl libdata-validate-ip-perl 233s libdata-validate-uri-perl libdatrie1 libdav1d7 libde265-0 libdebhelper-perl 233s libdeflate0 libdevel-callchecker-perl libdevel-size-perl 233s libdevel-stacktrace-perl libdouble-conversion3 libdrm-amdgpu1 233s libdrm-nouveau2 libdrm-radeon1 libdw1t64 libdynaloader-functions-perl 233s libegl-mesa0 libegl1 libemail-address-xs-perl libencode-locale-perl 233s liberror-perl libevent-pthreads-2.1-7 libexception-class-perl 233s libexporter-lite-perl libexporter-tiny-perl libfabric1 libfftw3-bin 233s libfftw3-dev libfftw3-double3 libfftw3-mpi3 libfftw3-single3 233s libfile-basedir-perl libfile-find-rule-perl libfile-homedir-perl 233s libfile-listing-perl libfile-stripnondeterminism-perl libfile-which-perl 233s libflac12t64 libfltk-gl1.3t64 libfltk1.3t64 libfont-ttf-perl libfontconfig1 233s libfontenc1 libfreetype6 libgbm1 libgcc-13-dev libgd3 233s libgetopt-long-descriptive-perl libgfortran-13-dev libgfortran5 libgl-dev 233s libgl1 libgl1-mesa-dri libgl2ps1.4 libglapi-mesa libgles2 libglpk40 233s libglu1-mesa libglvnd0 libglx-dev libglx-mesa0 libglx0 libgomp1 233s libgraphicsmagick++-q16-12t64 libgraphicsmagick-q16-3t64 libgraphite2-3 233s libharfbuzz0b libhash-merge-perl libhdf5-103-1t64 libhdf5-cpp-103-1t64 233s libhdf5-dev libhdf5-fortran-102t64 libhdf5-hl-100t64 libhdf5-hl-cpp-100t64 233s libhdf5-hl-fortran-100t64 libhdf5-openmpi-103-1t64 libheif-plugin-dav1d 233s libheif-plugin-libde265 libheif1 libhtml-form-perl 233s libhtml-html5-entities-perl libhtml-parser-perl libhtml-tagset-perl 233s libhtml-tokeparser-simple-perl libhtml-tree-perl libhttp-cookies-perl 233s libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl 233s libhwloc-plugins libhwloc15 libhwy1t64 libhypre-2.28.0 libice6 233s libimport-into-perl libindirect-perl libinput-bin libinput10 libio-html-perl 233s libio-interactive-perl libio-socket-ssl-perl libio-string-perl 233s libio-stringy-perl libio-tiecombine-perl libipc-run3-perl 233s libipc-system-simple-perl libisl23 libiterator-perl libiterator-util-perl 233s libjack-jackd2-0 libjbig0 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev 233s libjpeg8 libjpeg8-dev libjson-maybexs-perl libjson-perl libjxl0.7 libklu2 233s liblapack-dev liblapack3 liblcms2-2 liblerc4 liblist-compare-perl 233s liblist-moreutils-perl liblist-moreutils-xs-perl liblist-someutils-perl 233s liblist-utilsby-perl libllvm17t64 liblog-any-adapter-screen-perl 233s liblog-any-perl liblog-log4perl-perl libltdl7 liblua5.4-0 233s liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl 233s libmarkdown2 libmd4c0 libmetis5 libmime-tools-perl libmldbm-perl 233s libmodule-implementation-perl libmodule-pluggable-perl 233s libmodule-runtime-perl libmoo-perl libmoox-aliases-perl libmouse-perl 233s libmousex-nativetraits-perl libmousex-strictconstructor-perl libmp3lame0 233s libmpc3 libmpg123-0 libmro-compat-perl libmtdev1t64 libmumps-5.6t64 233s libmunge2 libnamespace-clean-perl libncurses-dev libnet-domain-tld-perl 233s libnet-http-perl libnet-ipv6addr-perl libnet-netmask-perl 233s libnet-smtp-ssl-perl libnet-ssleay-perl libnetaddr-ip-perl 233s libnumber-compare-perl libobject-pad-perl libogg0 libopengl0 libopenmpi3t64 233s libopus0 libpackage-stash-perl libpango-1.0-0 libpangocairo-1.0-0 233s libpangoft2-1.0-0 libparams-classify-perl libparams-util-perl 233s libparams-validate-perl libparse-debcontrol-perl libparse-recdescent-perl 233s libpath-iterator-rule-perl libpath-tiny-perl libpciaccess0 libpcre2-16-0 233s libperlio-gzip-perl libperlio-utf8-strict-perl libpetsc-real3.19t64 233s libpixman-1-0 libpmix2t64 libpod-constants-perl libpod-parser-perl 233s libpod-pom-perl libportaudio2 libproc-processtable-perl 233s libpthread-stubs0-dev libptscotch-7.0 libqhull-r8.0 libqrupdate1 233s libqscintilla2-qt5-15 libqscintilla2-qt5-l10n libqt5core5t64 libqt5dbus5t64 233s libqt5gui5t64 libqt5help5 libqt5network5t64 libqt5printsupport5t64 233s libqt5sql5t64 libqt5widgets5t64 libqt5xml5t64 librdmacm1t64 libreadline-dev 233s libregexp-common-perl libregexp-pattern-license-perl libregexp-pattern-perl 233s libregexp-wildcards-perl librole-tiny-perl libsamplerate0 233s libscalapack-openmpi2.2 libsereal-decoder-perl libsereal-encoder-perl 233s libset-intspan-perl libsharpyuv0 libsm6 libsndfile1 233s libsoftware-copyright-perl libsoftware-license-perl 233s libsoftware-licensemoreutils-perl libsort-versions-perl libspqr4 libssl-dev 233s libstdc++-13-dev libstrictures-perl libstring-copyright-perl 233s libstring-escape-perl libstring-license-perl libstring-rewriteprefix-perl 233s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 233s libsub-install-perl libsub-name-perl libsub-override-perl libsub-quote-perl 233s libsub-uplevel-perl libsuitesparseconfig7 libsundials-ida6 233s libsundials-nvecparallel-petsc6 libsundials-sunlinsol3 233s libsundials-sunmatrix4 libsuperlu-dist8 libsuperlu6 233s libsyntax-keyword-try-perl libsz2 libterm-readkey-perl 233s libtest-exception-perl libtext-autoformat-perl libtext-glob-perl 233s libtext-levenshtein-damerau-perl libtext-levenshteinxs-perl 233s libtext-markdown-discount-perl libtext-reform-perl libtext-template-perl 233s libtext-unidecode-perl libtext-xslate-perl libthai-data libthai0 libtiff6 233s libtime-duration-perl libtime-moment-perl libtimedate-perl libtoml-tiny-perl 233s libtool libtry-tiny-perl libubsan1 libumfpack6 libunicode-utf8-perl 233s libunwind8 liburi-perl libvariable-magic-perl libvorbis0a libvorbisenc2 233s libvulkan1 libwacom-common libwacom9 libwayland-client0 libwayland-server0 233s libwebp7 libwebpmux3 libwmflite-0.2-7 libwww-mechanize-perl libwww-perl 233s libwww-robotrules-perl libx11-dev libx11-xcb1 libxau-dev libxaw7 233s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-icccm4 libxcb-image0 233s libxcb-keysyms1 libxcb-present0 libxcb-randr0 libxcb-render-util0 233s libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 233s libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 libxcb1-dev 233s libxcursor1 libxdmcp-dev libxfixes3 libxfont2 libxft2 libxinerama1 233s libxkbcommon-x11-0 libxkbfile1 libxml-libxml-perl 233s libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxmu6 233s libxnvctrl0 libxpm4 libxrandr2 libxrender1 libxs-parse-keyword-perl 233s libxs-parse-sublike-perl libxshmfence1 libxt6t64 libxxf86vm1 233s libyaml-libyaml-perl libyaml-pp-perl libyaml-tiny-perl licensecheck lintian 233s linux-libc-dev lzip lzop m4 mpi-default-bin ocl-icd-libopencl1 octave 233s octave-common octave-dev octave-image openmpi-bin openmpi-common patchutils 233s perl-openssl-defaults po-debconf rpcsvc-proto t1utils tex-common texinfo 233s texinfo-lib unzip x11-common x11-xkb-utils x11proto-dev xorg-sgml-doctools 233s xserver-common xtrans-dev xvfb zlib1g-dev 233s 0 upgraded, 473 newly installed, 0 to remove and 1 not upgraded. 233s Need to get 189 MB/189 MB of archives. 233s After this operation, 589 MB of additional disk space will be used. 233s Get:1 /tmp/autopkgtest.4IPbOI/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [756 B] 233s Get:2 http://ftpmaster.internal/ubuntu noble/main armhf m4 armhf 1.4.19-4 [235 kB] 234s Get:3 http://ftpmaster.internal/ubuntu noble/main armhf autoconf all 2.71-3 [339 kB] 234s Get:4 http://ftpmaster.internal/ubuntu noble/main armhf autotools-dev all 20220109.1 [44.9 kB] 234s Get:5 http://ftpmaster.internal/ubuntu noble/main armhf automake all 1:1.16.5-1.3ubuntu1 [558 kB] 234s Get:6 http://ftpmaster.internal/ubuntu noble/main armhf autopoint all 0.21-14ubuntu1 [422 kB] 234s Get:7 http://ftpmaster.internal/ubuntu noble/main armhf libcapture-tiny-perl all 0.48-2 [20.2 kB] 234s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libparams-util-perl armhf 1.102-2build2 [20.3 kB] 234s Get:9 http://ftpmaster.internal/ubuntu noble/main armhf libsub-install-perl all 0.929-1 [9764 B] 234s Get:10 http://ftpmaster.internal/ubuntu noble/main armhf libdata-optlist-perl all 0.114-1 [9708 B] 234s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libb-hooks-op-check-perl armhf 0.22-3 [9184 B] 234s Get:12 http://ftpmaster.internal/ubuntu noble/main armhf libdynaloader-functions-perl all 0.003-3 [12.1 kB] 234s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdevel-callchecker-perl armhf 0.008-2build2 [13.3 kB] 234s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libparams-classify-perl armhf 0.015-2build4 [18.7 kB] 234s Get:15 http://ftpmaster.internal/ubuntu noble/main armhf libmodule-runtime-perl all 0.016-2 [16.4 kB] 234s Get:16 http://ftpmaster.internal/ubuntu noble/main armhf libtry-tiny-perl all 0.31-2 [20.8 kB] 234s Get:17 http://ftpmaster.internal/ubuntu noble/main armhf libmodule-implementation-perl all 0.09-2 [12.0 kB] 234s Get:18 http://ftpmaster.internal/ubuntu noble/main armhf libpackage-stash-perl all 0.40-1 [19.5 kB] 234s Get:19 http://ftpmaster.internal/ubuntu noble/universe armhf libclass-load-perl all 0.25-2 [12.7 kB] 234s Get:20 http://ftpmaster.internal/ubuntu noble/main armhf libio-stringy-perl all 2.111-3 [55.8 kB] 234s Get:21 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libparams-validate-perl armhf 1.31-2build2 [52.9 kB] 234s Get:22 http://ftpmaster.internal/ubuntu noble/main armhf libsub-exporter-perl all 0.990-1 [49.0 kB] 234s Get:23 http://ftpmaster.internal/ubuntu noble/main armhf libgetopt-long-descriptive-perl all 0.111-1 [25.5 kB] 234s Get:24 http://ftpmaster.internal/ubuntu noble/universe armhf libio-tiecombine-perl all 1.005-3 [9464 B] 234s Get:25 http://ftpmaster.internal/ubuntu noble/universe armhf libmodule-pluggable-perl all 5.2-4 [20.0 kB] 234s Get:26 http://ftpmaster.internal/ubuntu noble/universe armhf libstring-rewriteprefix-perl all 0.009-1 [6310 B] 234s Get:27 http://ftpmaster.internal/ubuntu noble/universe armhf libapp-cmd-perl all 0.336-1 [62.1 kB] 234s Get:28 http://ftpmaster.internal/ubuntu noble/universe armhf libboolean-perl all 0.46-3 [8430 B] 234s Get:29 http://ftpmaster.internal/ubuntu noble/universe armhf libsub-uplevel-perl all 0.2800-3 [11.6 kB] 234s Get:30 http://ftpmaster.internal/ubuntu noble/universe armhf libtest-exception-perl all 0.43-3 [13.4 kB] 234s Get:31 http://ftpmaster.internal/ubuntu noble/universe armhf libcarp-assert-more-perl all 2.3.0-1 [17.6 kB] 234s Get:32 http://ftpmaster.internal/ubuntu noble/main armhf libfile-which-perl all 1.27-2 [12.5 kB] 234s Get:33 http://ftpmaster.internal/ubuntu noble/main armhf libfile-homedir-perl all 1.006-2 [37.0 kB] 234s Get:34 http://ftpmaster.internal/ubuntu noble/universe armhf libclone-choose-perl all 0.010-2 [7738 B] 234s Get:35 http://ftpmaster.internal/ubuntu noble/universe armhf libhash-merge-perl all 0.302-1 [13.0 kB] 234s Get:36 http://ftpmaster.internal/ubuntu noble/main armhf libjson-perl all 4.10000-1 [81.9 kB] 234s Get:37 http://ftpmaster.internal/ubuntu noble/main armhf libexporter-tiny-perl all 1.006002-1 [36.8 kB] 234s Get:38 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf liblist-moreutils-xs-perl armhf 0.430-3build4 [38.0 kB] 234s Get:39 http://ftpmaster.internal/ubuntu noble/universe armhf liblist-moreutils-perl all 0.430-2 [38.2 kB] 234s Get:40 http://ftpmaster.internal/ubuntu noble/universe armhf liblog-log4perl-perl all 1.57-1 [345 kB] 234s Get:41 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmouse-perl armhf 2.5.10-1build7 [129 kB] 234s Get:42 http://ftpmaster.internal/ubuntu noble/universe armhf libmousex-nativetraits-perl all 1.09-3 [53.2 kB] 234s Get:43 http://ftpmaster.internal/ubuntu noble/universe armhf libmousex-strictconstructor-perl all 0.02-3 [4582 B] 234s Get:44 http://ftpmaster.internal/ubuntu noble/universe armhf libparse-recdescent-perl all 1.967015+dfsg-4 [139 kB] 234s Get:45 http://ftpmaster.internal/ubuntu noble/main armhf libpath-tiny-perl all 0.144-1 [47.7 kB] 234s Get:46 http://ftpmaster.internal/ubuntu noble/universe armhf libpod-pom-perl all 2.01-4 [61.3 kB] 234s Get:47 http://ftpmaster.internal/ubuntu noble/universe armhf libregexp-common-perl all 2017060201-3 [171 kB] 234s Get:48 http://ftpmaster.internal/ubuntu noble/main armhf libyaml-tiny-perl all 1.74-1 [25.3 kB] 234s Get:49 http://ftpmaster.internal/ubuntu noble/universe armhf libconfig-model-perl all 2.153-3 [408 kB] 234s Get:50 http://ftpmaster.internal/ubuntu noble/universe armhf libyaml-pp-perl all 0.38.0-1 [105 kB] 234s Get:51 http://ftpmaster.internal/ubuntu noble/universe armhf cme all 1.040-1 [64.8 kB] 234s Get:52 http://ftpmaster.internal/ubuntu noble/main armhf libisl23 armhf 0.26-3 [595 kB] 234s Get:53 http://ftpmaster.internal/ubuntu noble/main armhf libmpc3 armhf 1.3.1-1 [46.4 kB] 234s Get:54 http://ftpmaster.internal/ubuntu noble-proposed/main armhf cpp-13-arm-linux-gnueabihf armhf 13.2.0-19ubuntu1 [8753 kB] 235s Get:55 http://ftpmaster.internal/ubuntu noble-proposed/main armhf cpp-13 armhf 13.2.0-19ubuntu1 [1036 B] 235s Get:56 http://ftpmaster.internal/ubuntu noble/main armhf cpp-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [5320 B] 235s Get:57 http://ftpmaster.internal/ubuntu noble/main armhf cpp armhf 4:13.2.0-7ubuntu1 [22.4 kB] 235s Get:58 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdebhelper-perl all 13.14.1ubuntu5 [89.8 kB] 235s Get:59 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcc1-0 armhf 14-20240315-1ubuntu1 [39.0 kB] 235s Get:60 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgomp1 armhf 14-20240315-1ubuntu1 [125 kB] 235s Get:61 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libatomic1 armhf 14-20240315-1ubuntu1 [7824 B] 235s Get:62 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libasan8 armhf 14-20240315-1ubuntu1 [2941 kB] 235s Get:63 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libubsan1 armhf 14-20240315-1ubuntu1 [1152 kB] 235s Get:64 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgcc-13-dev armhf 13.2.0-19ubuntu1 [900 kB] 235s Get:65 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gcc-13-arm-linux-gnueabihf armhf 13.2.0-19ubuntu1 [16.8 MB] 235s Get:66 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gcc-13 armhf 13.2.0-19ubuntu1 [448 kB] 235s Get:67 http://ftpmaster.internal/ubuntu noble/main armhf gcc-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [1220 B] 235s Get:68 http://ftpmaster.internal/ubuntu noble/main armhf gcc armhf 4:13.2.0-7ubuntu1 [5022 B] 235s Get:69 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libc-dev-bin armhf 2.39-0ubuntu6 [19.1 kB] 235s Get:70 http://ftpmaster.internal/ubuntu noble-proposed/main armhf linux-libc-dev armhf 6.8.0-20.20 [1555 kB] 235s Get:71 http://ftpmaster.internal/ubuntu noble/main armhf libcrypt-dev armhf 1:4.4.36-4 [136 kB] 235s Get:72 http://ftpmaster.internal/ubuntu noble/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu6 [63.7 kB] 235s Get:73 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libc6-dev armhf 2.39-0ubuntu6 [1351 kB] 235s Get:74 http://ftpmaster.internal/ubuntu noble/main armhf libtool all 2.4.7-7 [166 kB] 235s Get:75 http://ftpmaster.internal/ubuntu noble/main armhf dh-autoreconf all 20 [16.1 kB] 235s Get:76 http://ftpmaster.internal/ubuntu noble/main armhf libarchive-zip-perl all 1.68-1 [90.2 kB] 235s Get:77 http://ftpmaster.internal/ubuntu noble/main armhf libsub-override-perl all 0.10-1 [10.0 kB] 235s Get:78 http://ftpmaster.internal/ubuntu noble/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [18.1 kB] 235s Get:79 http://ftpmaster.internal/ubuntu noble/main armhf dh-strip-nondeterminism all 1.13.1-1 [5362 B] 235s Get:80 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdw1t64 armhf 0.190-1.1build2 [235 kB] 235s Get:81 http://ftpmaster.internal/ubuntu noble-proposed/main armhf debugedit armhf 1:5.0-5build1 [42.2 kB] 235s Get:82 http://ftpmaster.internal/ubuntu noble-proposed/main armhf dwz armhf 0.15-1build5 [116 kB] 235s Get:83 http://ftpmaster.internal/ubuntu noble/main armhf gettext armhf 0.21-14ubuntu1 [800 kB] 235s Get:84 http://ftpmaster.internal/ubuntu noble/main armhf intltool-debian all 0.35.0+20060710.6 [23.2 kB] 235s Get:85 http://ftpmaster.internal/ubuntu noble/main armhf po-debconf all 1.0.21+nmu1 [233 kB] 235s Get:86 http://ftpmaster.internal/ubuntu noble-proposed/main armhf debhelper all 13.14.1ubuntu5 [869 kB] 235s Get:87 http://ftpmaster.internal/ubuntu noble/universe armhf aglfn all 1.7+git20191031.4036a9c-2 [30.6 kB] 235s Get:88 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf gnuplot-data all 6.0.0+dfsg1-1ubuntu2 [75.3 kB] 235s Get:89 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfreetype6 armhf 2.13.2+dfsg-1build2 [331 kB] 235s Get:90 http://ftpmaster.internal/ubuntu noble/main armhf fonts-dejavu-mono all 2.37-8 [502 kB] 235s Get:91 http://ftpmaster.internal/ubuntu noble/main armhf fonts-dejavu-core all 2.37-8 [835 kB] 235s Get:92 http://ftpmaster.internal/ubuntu noble/universe armhf fonts-freefont-otf all 20211204+svn4273-2 [4596 kB] 236s Get:93 http://ftpmaster.internal/ubuntu noble-proposed/main armhf fontconfig-config armhf 2.15.0-1.1ubuntu1 [37.4 kB] 236s Get:94 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfontconfig1 armhf 2.15.0-1.1ubuntu1 [113 kB] 236s Get:95 http://ftpmaster.internal/ubuntu noble/main armhf libpixman-1-0 armhf 0.42.2-1 [184 kB] 236s Get:96 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-render0 armhf 1.15-1 [15.2 kB] 236s Get:97 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-shm0 armhf 1.15-1 [5852 B] 236s Get:98 http://ftpmaster.internal/ubuntu noble/main armhf libxrender1 armhf 1:0.9.10-1.1 [16.5 kB] 236s Get:99 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcairo2 armhf 1.18.0-1ubuntu1 [482 kB] 236s Get:100 http://ftpmaster.internal/ubuntu noble/main armhf libjpeg-turbo8 armhf 2.1.5-2ubuntu1 [123 kB] 236s Get:101 http://ftpmaster.internal/ubuntu noble/main armhf libjpeg8 armhf 8c-2ubuntu11 [2148 B] 236s Get:102 http://ftpmaster.internal/ubuntu noble/main armhf libdeflate0 armhf 1.19-1 [41.3 kB] 236s Get:103 http://ftpmaster.internal/ubuntu noble/main armhf libjbig0 armhf 2.1-6.1ubuntu1 [24.9 kB] 236s Get:104 http://ftpmaster.internal/ubuntu noble/main armhf liblerc4 armhf 4.0.0+ds-4ubuntu1 [152 kB] 236s Get:105 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsharpyuv0 armhf 1.3.2-0.4build2 [13.6 kB] 236s Get:106 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libwebp7 armhf 1.3.2-0.4build2 [183 kB] 236s Get:107 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtiff6 armhf 4.5.1+git230720-4ubuntu1 [178 kB] 236s Get:108 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxpm4 armhf 1:3.5.17-1build1 [30.4 kB] 236s Get:109 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgd3 armhf 2.3.3-9ubuntu3 [105 kB] 236s Get:110 http://ftpmaster.internal/ubuntu noble-proposed/main armhf liblua5.4-0 armhf 5.4.6-3build1 [133 kB] 236s Get:111 http://ftpmaster.internal/ubuntu noble-proposed/main armhf fontconfig armhf 2.15.0-1.1ubuntu1 [189 kB] 236s Get:112 http://ftpmaster.internal/ubuntu noble/main armhf libgraphite2-3 armhf 1.3.14-2 [72.7 kB] 236s Get:113 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libharfbuzz0b armhf 8.3.0-2build1 [446 kB] 236s Get:114 http://ftpmaster.internal/ubuntu noble/main armhf libthai-data all 0.1.29-2 [158 kB] 236s Get:115 http://ftpmaster.internal/ubuntu noble/main armhf libdatrie1 armhf 0.2.13-3 [16.9 kB] 236s Get:116 http://ftpmaster.internal/ubuntu noble/main armhf libthai0 armhf 0.1.29-2 [15.1 kB] 236s Get:117 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpango-1.0-0 armhf 1.52.1+ds-1 [206 kB] 236s Get:118 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpangoft2-1.0-0 armhf 1.52.1+ds-1 [36.4 kB] 236s Get:119 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libpangocairo-1.0-0 armhf 1.52.1+ds-1 [24.9 kB] 236s Get:120 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libwebpmux3 armhf 1.3.2-0.4build2 [22.4 kB] 236s Get:121 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf gnuplot-nox armhf 6.0.0+dfsg1-1ubuntu2 [903 kB] 236s Get:122 http://ftpmaster.internal/ubuntu noble/universe armhf dh-octave-autopkgtest all 1.8.0 [10.1 kB] 236s Get:123 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libapt-pkg-perl armhf 0.1.40build5 [65.8 kB] 236s Get:124 http://ftpmaster.internal/ubuntu noble/main armhf libarray-intspan-perl all 2.004-2 [25.0 kB] 236s Get:125 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libyaml-libyaml-perl armhf 0.89+ds-1build1 [28.6 kB] 236s Get:126 http://ftpmaster.internal/ubuntu noble/universe armhf libconfig-model-backend-yaml-perl all 2.134-2 [10.5 kB] 236s Get:127 http://ftpmaster.internal/ubuntu noble/universe armhf libexporter-lite-perl all 0.09-2 [9748 B] 236s Get:128 http://ftpmaster.internal/ubuntu noble/main armhf libencode-locale-perl all 1.05-3 [11.6 kB] 236s Get:129 http://ftpmaster.internal/ubuntu noble/main armhf libtimedate-perl all 2.3300-2 [34.0 kB] 236s Get:130 http://ftpmaster.internal/ubuntu noble/main armhf libhttp-date-perl all 6.06-1 [10.2 kB] 236s Get:131 http://ftpmaster.internal/ubuntu noble/main armhf libfile-listing-perl all 6.16-1 [11.3 kB] 236s Get:132 http://ftpmaster.internal/ubuntu noble/main armhf libhtml-tagset-perl all 3.20-6 [11.3 kB] 236s Get:133 http://ftpmaster.internal/ubuntu noble/main armhf liburi-perl all 5.27-1 [88.0 kB] 237s Get:134 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libhtml-parser-perl armhf 3.81-1build2 [82.5 kB] 237s Get:135 http://ftpmaster.internal/ubuntu noble/main armhf libhtml-tree-perl all 5.07-3 [200 kB] 237s Get:136 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libclone-perl armhf 0.46-1build2 [9980 B] 237s Get:137 http://ftpmaster.internal/ubuntu noble/main armhf libio-html-perl all 1.004-3 [15.9 kB] 237s Get:138 http://ftpmaster.internal/ubuntu noble/main armhf liblwp-mediatypes-perl all 6.04-2 [20.1 kB] 237s Get:139 http://ftpmaster.internal/ubuntu noble/main armhf libhttp-message-perl all 6.45-1ubuntu1 [78.2 kB] 237s Get:140 http://ftpmaster.internal/ubuntu noble/main armhf libhttp-cookies-perl all 6.11-1 [18.2 kB] 237s Get:141 http://ftpmaster.internal/ubuntu noble/main armhf libhttp-negotiate-perl all 6.01-2 [12.4 kB] 237s Get:142 http://ftpmaster.internal/ubuntu noble-proposed/main armhf perl-openssl-defaults armhf 7build1 [6542 B] 237s Get:143 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnet-ssleay-perl armhf 1.94-1build2 [298 kB] 237s Get:144 http://ftpmaster.internal/ubuntu noble/main armhf libio-socket-ssl-perl all 2.085-1 [195 kB] 237s Get:145 http://ftpmaster.internal/ubuntu noble/main armhf libnet-http-perl all 6.23-1 [22.3 kB] 237s Get:146 http://ftpmaster.internal/ubuntu noble/main armhf liblwp-protocol-https-perl all 6.13-1 [9006 B] 237s Get:147 http://ftpmaster.internal/ubuntu noble/main armhf libwww-robotrules-perl all 6.02-1 [12.6 kB] 237s Get:148 http://ftpmaster.internal/ubuntu noble/main armhf libwww-perl all 6.76-1 [138 kB] 237s Get:149 http://ftpmaster.internal/ubuntu noble/main armhf liberror-perl all 0.17029-2 [25.6 kB] 237s Get:150 http://ftpmaster.internal/ubuntu noble/universe armhf libparse-debcontrol-perl all 2.005-6 [20.4 kB] 237s Get:151 http://ftpmaster.internal/ubuntu noble/universe armhf libsoftware-copyright-perl all 0.012-2 [17.4 kB] 237s Get:152 http://ftpmaster.internal/ubuntu noble/universe armhf libalgorithm-c3-perl all 0.11-2 [10.2 kB] 237s Get:153 http://ftpmaster.internal/ubuntu noble/universe armhf libclass-c3-perl all 0.35-2 [18.4 kB] 237s Get:154 http://ftpmaster.internal/ubuntu noble/universe armhf libmro-compat-perl all 0.15-2 [10.1 kB] 237s Get:155 http://ftpmaster.internal/ubuntu noble/universe armhf libdata-section-perl all 0.200008-1 [11.6 kB] 237s Get:156 http://ftpmaster.internal/ubuntu noble/universe armhf libtext-template-perl all 1.61-1 [48.5 kB] 237s Get:157 http://ftpmaster.internal/ubuntu noble/universe armhf libsoftware-license-perl all 0.104006-1 [117 kB] 237s Get:158 http://ftpmaster.internal/ubuntu noble/universe armhf libsoftware-licensemoreutils-perl all 1.009-1 [21.5 kB] 237s Get:159 http://ftpmaster.internal/ubuntu noble/main armhf libsort-versions-perl all 1.62-3 [7378 B] 237s Get:160 http://ftpmaster.internal/ubuntu noble/universe armhf libtext-reform-perl all 1.20-5 [35.4 kB] 237s Get:161 http://ftpmaster.internal/ubuntu noble/universe armhf libtext-autoformat-perl all 1.750000-2 [29.8 kB] 237s Get:162 http://ftpmaster.internal/ubuntu noble/universe armhf libtext-levenshtein-damerau-perl all 0.41-3 [10.8 kB] 237s Get:163 http://ftpmaster.internal/ubuntu noble/universe armhf libtoml-tiny-perl all 0.16-1 [22.0 kB] 237s Get:164 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libindirect-perl armhf 0.39-2build3 [20.4 kB] 237s Get:165 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxs-parse-keyword-perl armhf 0.39-1build2 [51.9 kB] 237s Get:166 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxs-parse-sublike-perl armhf 0.21-2build2 [37.5 kB] 237s Get:167 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libobject-pad-perl armhf 0.808-1build2 [102 kB] 237s Get:168 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsyntax-keyword-try-perl armhf 0.29-1build2 [23.8 kB] 237s Get:169 http://ftpmaster.internal/ubuntu noble/main armhf libio-interactive-perl all 1.025-1 [10.4 kB] 237s Get:170 http://ftpmaster.internal/ubuntu noble/main armhf liblog-any-perl all 1.717-1 [73.2 kB] 237s Get:171 http://ftpmaster.internal/ubuntu noble/main armhf liblog-any-adapter-screen-perl all 0.140-2 [12.4 kB] 237s Get:172 http://ftpmaster.internal/ubuntu noble/main armhf libsub-exporter-progressive-perl all 0.001013-3 [6718 B] 237s Get:173 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libvariable-magic-perl armhf 0.63-1build2 [32.2 kB] 237s Get:174 http://ftpmaster.internal/ubuntu noble/main armhf libb-hooks-endofscope-perl all 0.28-1 [15.8 kB] 237s Get:175 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsub-identify-perl armhf 0.14-3build2 [9250 B] 237s Get:176 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsub-name-perl armhf 0.27-1build2 [10.1 kB] 237s Get:177 http://ftpmaster.internal/ubuntu noble/main armhf libnamespace-clean-perl all 0.27-2 [14.0 kB] 237s Get:178 http://ftpmaster.internal/ubuntu noble/main armhf libnumber-compare-perl all 0.03-3 [5974 B] 237s Get:179 http://ftpmaster.internal/ubuntu noble/main armhf libtext-glob-perl all 0.11-3 [6780 B] 237s Get:180 http://ftpmaster.internal/ubuntu noble/main armhf libpath-iterator-rule-perl all 1.015-2 [39.9 kB] 237s Get:181 http://ftpmaster.internal/ubuntu noble/main armhf libpod-parser-perl all 1.67-1 [80.6 kB] 237s Get:182 http://ftpmaster.internal/ubuntu noble/main armhf libpod-constants-perl all 0.19-2 [16.3 kB] 237s Get:183 http://ftpmaster.internal/ubuntu noble/main armhf libset-intspan-perl all 1.19-3 [24.8 kB] 237s Get:184 http://ftpmaster.internal/ubuntu noble/main armhf libstring-copyright-perl all 0.003014-1 [20.5 kB] 237s Get:185 http://ftpmaster.internal/ubuntu noble/main armhf libstring-escape-perl all 2010.002-3 [16.1 kB] 237s Get:186 http://ftpmaster.internal/ubuntu noble/main armhf libregexp-pattern-license-perl all 3.11.0-1 [85.8 kB] 237s Get:187 http://ftpmaster.internal/ubuntu noble/main armhf libregexp-pattern-perl all 0.2.14-2 [17.6 kB] 237s Get:188 http://ftpmaster.internal/ubuntu noble/main armhf libstring-license-perl all 0.0.9-2ubuntu1 [35.0 kB] 237s Get:189 http://ftpmaster.internal/ubuntu noble/main armhf licensecheck all 3.3.9-1ubuntu1 [37.7 kB] 237s Get:190 http://ftpmaster.internal/ubuntu noble/main armhf diffstat armhf 1.66-1 [27.6 kB] 237s Get:191 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libberkeleydb-perl armhf 0.64-2build2 [109 kB] 237s Get:192 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libclass-xsaccessor-perl armhf 1.19-4build3 [32.4 kB] 237s Get:193 http://ftpmaster.internal/ubuntu noble/main armhf libconfig-tiny-perl all 2.30-1 [14.7 kB] 237s Get:194 http://ftpmaster.internal/ubuntu noble/main armhf libconst-fast-perl all 0.014-2 [8034 B] 237s Get:195 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcpanel-json-xs-perl armhf 4.37-1build2 [112 kB] 237s Get:196 http://ftpmaster.internal/ubuntu noble/main armhf libaliased-perl all 0.34-3 [12.8 kB] 237s Get:197 http://ftpmaster.internal/ubuntu noble/main armhf libclass-data-inheritable-perl all 0.08-3 [8084 B] 237s Get:198 http://ftpmaster.internal/ubuntu noble/main armhf libdevel-stacktrace-perl all 2.0500-1 [22.1 kB] 237s Get:199 http://ftpmaster.internal/ubuntu noble/main armhf libexception-class-perl all 1.45-1 [28.6 kB] 237s Get:200 http://ftpmaster.internal/ubuntu noble/main armhf libiterator-perl all 0.03+ds1-2 [18.8 kB] 237s Get:201 http://ftpmaster.internal/ubuntu noble/main armhf libiterator-util-perl all 0.02+ds1-2 [14.1 kB] 237s Get:202 http://ftpmaster.internal/ubuntu noble/main armhf libdata-dpath-perl all 0.59-1 [39.2 kB] 237s Get:203 http://ftpmaster.internal/ubuntu noble/main armhf libnet-domain-tld-perl all 1.75-3 [29.4 kB] 238s Get:204 http://ftpmaster.internal/ubuntu noble/main armhf libdata-validate-domain-perl all 0.10-1.1 [9992 B] 238s Get:205 http://ftpmaster.internal/ubuntu noble/main armhf libnet-ipv6addr-perl all 1.02-1 [21.0 kB] 238s Get:206 http://ftpmaster.internal/ubuntu noble/main armhf libnet-netmask-perl all 2.0002-2 [24.8 kB] 238s Get:207 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libnetaddr-ip-perl armhf 4.079+dfsg-2build3 [78.9 kB] 238s Get:208 http://ftpmaster.internal/ubuntu noble/main armhf libdata-validate-ip-perl all 0.31-1 [17.2 kB] 238s Get:209 http://ftpmaster.internal/ubuntu noble/main armhf libdata-validate-uri-perl all 0.07-3 [10.8 kB] 238s Get:210 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdevel-size-perl armhf 0.83-2build3 [18.8 kB] 238s Get:211 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libemail-address-xs-perl armhf 1.05-1build3 [26.2 kB] 238s Get:212 http://ftpmaster.internal/ubuntu noble/main armhf libipc-system-simple-perl all 1.30-2 [22.3 kB] 238s Get:213 http://ftpmaster.internal/ubuntu noble/main armhf libfile-basedir-perl all 0.09-2 [14.4 kB] 238s Get:214 http://ftpmaster.internal/ubuntu noble/main armhf libfile-find-rule-perl all 0.34-3 [24.4 kB] 238s Get:215 http://ftpmaster.internal/ubuntu noble/main armhf libio-string-perl all 1.08-4 [11.1 kB] 238s Get:216 http://ftpmaster.internal/ubuntu noble/main armhf libfont-ttf-perl all 1.06-2 [323 kB] 238s Get:217 http://ftpmaster.internal/ubuntu noble/main armhf libhtml-html5-entities-perl all 0.004-3 [21.6 kB] 238s Get:218 http://ftpmaster.internal/ubuntu noble/main armhf libhtml-tokeparser-simple-perl all 3.16-4 [38.0 kB] 238s Get:219 http://ftpmaster.internal/ubuntu noble/main armhf libipc-run3-perl all 0.049-1 [28.8 kB] 238s Get:220 http://ftpmaster.internal/ubuntu noble/main armhf libjson-maybexs-perl all 1.004005-1 [11.3 kB] 238s Get:221 http://ftpmaster.internal/ubuntu noble/main armhf liblist-compare-perl all 0.55-2 [62.9 kB] 238s Get:222 http://ftpmaster.internal/ubuntu noble/main armhf liblist-someutils-perl all 0.59-1 [30.4 kB] 238s Get:223 http://ftpmaster.internal/ubuntu noble/main armhf liblist-utilsby-perl all 0.12-2 [14.9 kB] 238s Get:224 http://ftpmaster.internal/ubuntu noble/main armhf libmldbm-perl all 2.05-4 [16.0 kB] 238s Get:225 http://ftpmaster.internal/ubuntu noble/main armhf libclass-method-modifiers-perl all 2.15-1 [16.1 kB] 238s Get:226 http://ftpmaster.internal/ubuntu noble/main armhf libimport-into-perl all 1.002005-2 [10.7 kB] 238s Get:227 http://ftpmaster.internal/ubuntu noble/main armhf librole-tiny-perl all 2.002004-1 [16.3 kB] 238s Get:228 http://ftpmaster.internal/ubuntu noble/main armhf libsub-quote-perl all 2.006008-1ubuntu1 [20.7 kB] 238s Get:229 http://ftpmaster.internal/ubuntu noble/main armhf libmoo-perl all 2.005005-1 [47.4 kB] 238s Get:230 http://ftpmaster.internal/ubuntu noble/main armhf libstrictures-perl all 2.000006-1 [16.3 kB] 238s Get:231 http://ftpmaster.internal/ubuntu noble/main armhf libmoox-aliases-perl all 0.001006-2 [6796 B] 238s Get:232 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libperlio-gzip-perl armhf 0.20-1build3 [13.3 kB] 238s Get:233 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libperlio-utf8-strict-perl armhf 0.010-1build2 [10.3 kB] 238s Get:234 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libproc-processtable-perl armhf 0.636-1build2 [35.4 kB] 238s Get:235 http://ftpmaster.internal/ubuntu noble/main armhf libregexp-wildcards-perl all 1.05-3 [12.9 kB] 238s Get:236 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsereal-decoder-perl armhf 5.004+ds-1build2 [92.6 kB] 238s Get:237 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsereal-encoder-perl armhf 5.004+ds-1build2 [94.3 kB] 238s Get:238 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libterm-readkey-perl armhf 2.38-2build3 [22.4 kB] 238s Get:239 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtext-levenshteinxs-perl armhf 0.03-5build3 [7300 B] 238s Get:240 http://ftpmaster.internal/ubuntu noble/main armhf libmarkdown2 armhf 2.2.7-2 [31.3 kB] 238s Get:241 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtext-markdown-discount-perl armhf 0.16-1build2 [11.7 kB] 238s Get:242 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libdata-messagepack-perl armhf 1.02-1build3 [29.1 kB] 238s Get:243 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtext-xslate-perl armhf 3.5.9-1build4 [158 kB] 238s Get:244 http://ftpmaster.internal/ubuntu noble/main armhf libtime-duration-perl all 1.21-2 [12.3 kB] 238s Get:245 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libtime-moment-perl armhf 0.44-2build3 [70.4 kB] 238s Get:246 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libunicode-utf8-perl armhf 0.62-2build2 [17.3 kB] 238s Get:247 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcgi-pm-perl all 4.63-1 [185 kB] 238s Get:248 http://ftpmaster.internal/ubuntu noble/main armhf libhtml-form-perl all 6.11-1 [32.1 kB] 238s Get:249 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libwww-mechanize-perl all 2.18-1ubuntu1 [93.1 kB] 238s Get:250 http://ftpmaster.internal/ubuntu noble/main armhf libxml-namespacesupport-perl all 1.12-2 [13.5 kB] 238s Get:251 http://ftpmaster.internal/ubuntu noble/main armhf libxml-sax-base-perl all 1.09-3 [18.9 kB] 238s Get:252 http://ftpmaster.internal/ubuntu noble/main armhf libxml-sax-perl all 1.02+dfsg-3 [57.0 kB] 238s Get:253 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxml-libxml-perl armhf 2.0207+dfsg+really+2.0134-1build3 [291 kB] 238s Get:254 http://ftpmaster.internal/ubuntu noble/main armhf lzip armhf 1.24.1-1 [79.8 kB] 238s Get:255 http://ftpmaster.internal/ubuntu noble/main armhf lzop armhf 1.04-2build2 [84.5 kB] 238s Get:256 http://ftpmaster.internal/ubuntu noble/main armhf patchutils armhf 0.4.2-1build2 [74.5 kB] 238s Get:257 http://ftpmaster.internal/ubuntu noble/main armhf t1utils armhf 1.41-4build2 [53.1 kB] 238s Get:258 http://ftpmaster.internal/ubuntu noble/main armhf unzip armhf 6.0-28ubuntu3 [163 kB] 238s Get:259 http://ftpmaster.internal/ubuntu noble/main armhf lintian all 2.117.0ubuntu1 [1065 kB] 238s Get:260 http://ftpmaster.internal/ubuntu noble/universe armhf libconfig-model-dpkg-perl all 3.004 [174 kB] 238s Get:261 http://ftpmaster.internal/ubuntu noble/main armhf libconvert-binhex-perl all 1.125-3 [27.1 kB] 238s Get:262 http://ftpmaster.internal/ubuntu noble/main armhf libnet-smtp-ssl-perl all 1.04-2 [6218 B] 238s Get:263 http://ftpmaster.internal/ubuntu noble/main armhf libmailtools-perl all 2.21-2 [80.4 kB] 238s Get:264 http://ftpmaster.internal/ubuntu noble/main armhf libmime-tools-perl all 5.514-1 [187 kB] 238s Get:265 http://ftpmaster.internal/ubuntu noble/main armhf libsuitesparseconfig7 armhf 1:7.6.1+dfsg-1 [12.0 kB] 239s Get:266 http://ftpmaster.internal/ubuntu noble/universe armhf libamd3 armhf 1:7.6.1+dfsg-1 [28.1 kB] 239s Get:267 http://ftpmaster.internal/ubuntu noble/main armhf libblas3 armhf 3.12.0-3 [123 kB] 239s Get:268 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgfortran5 armhf 14-20240315-1ubuntu1 [312 kB] 239s Get:269 http://ftpmaster.internal/ubuntu noble/main armhf liblapack3 armhf 3.12.0-3 [2085 kB] 239s Get:270 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libarpack2t64 armhf 3.9.1-1.1build1 [88.3 kB] 239s Get:271 http://ftpmaster.internal/ubuntu noble/universe armhf libccolamd3 armhf 1:7.6.1+dfsg-1 [28.3 kB] 239s Get:272 http://ftpmaster.internal/ubuntu noble/universe armhf libcamd3 armhf 1:7.6.1+dfsg-1 [26.1 kB] 239s Get:273 http://ftpmaster.internal/ubuntu noble/main armhf libcolamd3 armhf 1:7.6.1+dfsg-1 [20.1 kB] 239s Get:274 http://ftpmaster.internal/ubuntu noble/universe armhf libcholmod5 armhf 1:7.6.1+dfsg-1 [665 kB] 239s Get:275 http://ftpmaster.internal/ubuntu noble/universe armhf libcxsparse4 armhf 1:7.6.1+dfsg-1 [73.2 kB] 239s Get:276 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfftw3-double3 armhf 3.3.10-1ubuntu2 [366 kB] 239s Get:277 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfftw3-single3 armhf 3.3.10-1ubuntu2 [374 kB] 239s Get:278 http://ftpmaster.internal/ubuntu noble/main armhf libxfixes3 armhf 1:6.0.0-2 [8966 B] 239s Get:279 http://ftpmaster.internal/ubuntu noble/main armhf libxcursor1 armhf 1:1.2.1-1 [18.2 kB] 239s Get:280 http://ftpmaster.internal/ubuntu noble/main armhf libxft2 armhf 2.3.6-1 [36.8 kB] 239s Get:281 http://ftpmaster.internal/ubuntu noble/main armhf libxinerama1 armhf 2:1.1.4-3 [6686 B] 239s Get:282 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libfltk1.3t64 armhf 1.3.8-6.1 [553 kB] 239s Get:283 http://ftpmaster.internal/ubuntu noble/main armhf libglvnd0 armhf 1.7.0-1 [83.7 kB] 239s Get:284 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglapi-mesa armhf 24.0.3-1ubuntu3 [47.6 kB] 239s Get:285 http://ftpmaster.internal/ubuntu noble/main armhf libx11-xcb1 armhf 2:1.8.7-1 [7744 B] 239s Get:286 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-dri2-0 armhf 1.15-1 [6872 B] 239s Get:287 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-dri3-0 armhf 1.15-1 [6778 B] 239s Get:288 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-glx0 armhf 1.15-1 [22.6 kB] 239s Get:289 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-present0 armhf 1.15-1 [5526 B] 239s Get:290 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-randr0 armhf 1.15-1 [16.8 kB] 239s Get:291 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-sync1 armhf 1.15-1 [8794 B] 239s Get:292 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-xfixes0 armhf 1.15-1 [10.0 kB] 239s Get:293 http://ftpmaster.internal/ubuntu noble/main armhf libxshmfence1 armhf 1.3-1build4 [5080 B] 239s Get:294 http://ftpmaster.internal/ubuntu noble/main armhf libxxf86vm1 armhf 1:1.1.4-1build3 [9068 B] 239s Get:295 http://ftpmaster.internal/ubuntu noble/main armhf libvulkan1 armhf 1.3.275.0-1 [122 kB] 239s Get:296 http://ftpmaster.internal/ubuntu noble/main armhf libdrm-amdgpu1 armhf 2.4.120-2 [18.6 kB] 239s Get:297 http://ftpmaster.internal/ubuntu noble/main armhf libdrm-nouveau2 armhf 2.4.120-2 [15.2 kB] 239s Get:298 http://ftpmaster.internal/ubuntu noble/main armhf libdrm-radeon1 armhf 2.4.120-2 [18.2 kB] 239s Get:299 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libllvm17t64 armhf 1:17.0.6-9build1 [25.3 MB] 240s Get:300 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgl1-mesa-dri armhf 24.0.3-1ubuntu3 [7202 kB] 240s Get:301 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libglx-mesa0 armhf 24.0.3-1ubuntu3 [132 kB] 240s Get:302 http://ftpmaster.internal/ubuntu noble/main armhf libglx0 armhf 1.7.0-1 [37.0 kB] 240s Get:303 http://ftpmaster.internal/ubuntu noble/main armhf libgl1 armhf 1.7.0-1 [104 kB] 240s Get:304 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libfltk-gl1.3t64 armhf 1.3.8-6.1 [36.6 kB] 240s Get:305 http://ftpmaster.internal/ubuntu noble/universe armhf libgl2ps1.4 armhf 1.4.2+dfsg1-2 [38.9 kB] 240s Get:306 http://ftpmaster.internal/ubuntu noble/main armhf libltdl7 armhf 2.4.7-7 [37.9 kB] 240s Get:307 http://ftpmaster.internal/ubuntu noble/universe armhf libglpk40 armhf 5.0-1build1 [326 kB] 240s Get:308 http://ftpmaster.internal/ubuntu noble/main armhf libopengl0 armhf 1.7.0-1 [36.2 kB] 240s Get:309 http://ftpmaster.internal/ubuntu noble/main armhf libglu1-mesa armhf 9.0.2-1.1 [152 kB] 240s Get:310 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libdav1d7 armhf 1.4.1-1 [294 kB] 241s Get:311 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libheif-plugin-dav1d armhf 1.17.6-1ubuntu2 [10.0 kB] 241s Get:312 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libde265-0 armhf 1.0.15-1build1 [157 kB] 241s Get:313 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libheif-plugin-libde265 armhf 1.17.6-1ubuntu2 [10.3 kB] 241s Get:314 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libheif1 armhf 1.17.6-1ubuntu2 [266 kB] 241s Get:315 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libhwy1t64 armhf 1.0.7-8.1 [245 kB] 241s Get:316 http://ftpmaster.internal/ubuntu noble/main armhf liblcms2-2 armhf 2.14-2 [134 kB] 241s Get:317 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libjxl0.7 armhf 0.7.0-10.2ubuntu3 [698 kB] 241s Get:318 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libwmflite-0.2-7 armhf 0.2.13-1.1build2 [63.3 kB] 241s Get:319 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libgraphicsmagick-q16-3t64 armhf 1.4+really1.3.42-1.1build1 [1211 kB] 241s Get:320 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libgraphicsmagick++-q16-12t64 armhf 1.4+really1.3.42-1.1build1 [98.7 kB] 241s Get:321 http://ftpmaster.internal/ubuntu noble/universe armhf libaec0 armhf 1.1.2-1 [20.7 kB] 241s Get:322 http://ftpmaster.internal/ubuntu noble/universe armhf libsz2 armhf 1.1.2-1 [5262 B] 241s Get:323 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libhdf5-103-1t64 armhf 1.10.10+repack-3.1ubuntu3 [1337 kB] 241s Get:324 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libasound2-data all 1.2.11-1build1 [21.0 kB] 241s Get:325 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libasound2t64 armhf 1.2.11-1build1 [346 kB] 241s Get:326 http://ftpmaster.internal/ubuntu noble/main armhf libopus0 armhf 1.4-1 [187 kB] 241s Get:327 http://ftpmaster.internal/ubuntu noble/main armhf libsamplerate0 armhf 0.2.2-4 [1341 kB] 241s Get:328 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libjack-jackd2-0 armhf 1.9.21~dfsg-3ubuntu1 [245 kB] 241s Get:329 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libportaudio2 armhf 19.6.0-1.2build1 [61.1 kB] 241s Get:330 http://ftpmaster.internal/ubuntu noble/universe armhf libqhull-r8.0 armhf 2020.2-6 [173 kB] 241s Get:331 http://ftpmaster.internal/ubuntu noble/universe armhf libqrupdate1 armhf 1.1.2-4 [28.1 kB] 241s Get:332 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libqscintilla2-qt5-l10n all 2.14.1+dfsg-1build2 [56.4 kB] 241s Get:333 http://ftpmaster.internal/ubuntu noble/universe armhf libdouble-conversion3 armhf 3.3.0-1 [38.3 kB] 241s Get:334 http://ftpmaster.internal/ubuntu noble/main armhf libpcre2-16-0 armhf 10.42-4ubuntu1 [180 kB] 241s Get:335 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libqt5core5t64 armhf 5.15.12+dfsg-3ubuntu6 [1753 kB] 241s Get:336 http://ftpmaster.internal/ubuntu noble/main armhf libwayland-server0 armhf 1.22.0-2.1 [28.9 kB] 241s Get:337 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgbm1 armhf 24.0.3-1ubuntu3 [38.7 kB] 241s Get:338 http://ftpmaster.internal/ubuntu noble/main armhf libwayland-client0 armhf 1.22.0-2.1 [22.2 kB] 241s Get:339 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libegl-mesa0 armhf 24.0.3-1ubuntu3 [95.2 kB] 241s Get:340 http://ftpmaster.internal/ubuntu noble/main armhf libegl1 armhf 1.7.0-1 [29.7 kB] 241s Get:341 http://ftpmaster.internal/ubuntu noble/main armhf libgles2 armhf 1.7.0-1 [18.0 kB] 241s Get:342 http://ftpmaster.internal/ubuntu noble/main armhf x11-common all 1:7.7+23ubuntu2 [23.4 kB] 241s Get:343 http://ftpmaster.internal/ubuntu noble/main armhf libice6 armhf 2:1.0.10-1build2 [36.4 kB] 241s Get:344 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libmtdev1t64 armhf 1.1.6-1.1 [13.1 kB] 241s Get:345 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libwacom-common all 2.10.0-1build1 [63.5 kB] 241s Get:346 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libwacom9 armhf 2.10.0-1build1 [20.9 kB] 241s Get:347 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libinput-bin armhf 1.25.0-1build1 [24.4 kB] 241s Get:348 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libinput10 armhf 1.25.0-1build1 [117 kB] 241s Get:349 http://ftpmaster.internal/ubuntu noble/universe armhf libmd4c0 armhf 0.4.8-1 [37.9 kB] 241s Get:350 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libqt5dbus5t64 armhf 5.15.12+dfsg-3ubuntu6 [196 kB] 241s Get:351 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libqt5network5t64 armhf 5.15.12+dfsg-3ubuntu6 [649 kB] 241s Get:352 http://ftpmaster.internal/ubuntu noble/main armhf libsm6 armhf 2:1.2.3-1build2 [15.1 kB] 241s Get:353 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-icccm4 armhf 0.4.1-1.1build2 [10.1 kB] 241s Get:354 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-util1 armhf 0.4.0-1build2 [9986 B] 241s Get:355 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-image0 armhf 0.4.0-2 [10.1 kB] 241s Get:356 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-keysyms1 armhf 0.4.0-1build3 [7958 B] 241s Get:357 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-render-util0 armhf 0.3.9-1build3 [9258 B] 241s Get:358 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-shape0 armhf 1.15-1 [6024 B] 241s Get:359 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-xinerama0 armhf 1.15-1 [5200 B] 241s Get:360 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-xinput0 armhf 1.15-1 [29.6 kB] 241s Get:361 http://ftpmaster.internal/ubuntu noble/main armhf libxcb-xkb1 armhf 1.15-1 [28.8 kB] 241s Get:362 http://ftpmaster.internal/ubuntu noble/main armhf libxkbcommon-x11-0 armhf 1.6.0-1 [13.8 kB] 241s Get:363 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libqt5gui5t64 armhf 5.15.12+dfsg-3ubuntu6 [2934 kB] 241s Get:364 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libavahi-common-data armhf 0.8-13ubuntu4 [29.6 kB] 241s Get:365 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libavahi-common3 armhf 0.8-13ubuntu4 [20.2 kB] 241s Get:366 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libavahi-client3 armhf 0.8-13ubuntu4 [24.3 kB] 241s Get:367 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcups2t64 armhf 2.4.7-1.2ubuntu1 [239 kB] 241s Get:368 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libqt5widgets5t64 armhf 5.15.12+dfsg-3ubuntu6 [2247 kB] 241s Get:369 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libqt5printsupport5t64 armhf 5.15.12+dfsg-3ubuntu6 [190 kB] 241s Get:370 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libqscintilla2-qt5-15 armhf 2.14.1+dfsg-1build2 [1020 kB] 241s Get:371 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libqt5sql5t64 armhf 5.15.12+dfsg-3ubuntu6 [107 kB] 241s Get:372 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libqt5help5 armhf 5.15.12-2build2 [142 kB] 241s Get:373 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libqt5xml5t64 armhf 5.15.12+dfsg-3ubuntu6 [108 kB] 241s Get:374 http://ftpmaster.internal/ubuntu noble/main armhf libogg0 armhf 1.3.5-3 [20.1 kB] 241s Get:375 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libflac12t64 armhf 1.4.3+ds-2.1ubuntu1 [144 kB] 241s Get:376 http://ftpmaster.internal/ubuntu noble/main armhf libmp3lame0 armhf 3.100-6 [128 kB] 241s Get:377 http://ftpmaster.internal/ubuntu noble/main armhf libmpg123-0 armhf 1.32.5-1 [149 kB] 242s Get:378 http://ftpmaster.internal/ubuntu noble/main armhf libvorbis0a armhf 1.3.7-1build2 [89.1 kB] 242s Get:379 http://ftpmaster.internal/ubuntu noble/main armhf libvorbisenc2 armhf 1.3.7-1build2 [77.1 kB] 242s Get:380 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libsndfile1 armhf 1.2.2-1ubuntu3 [200 kB] 242s Get:381 http://ftpmaster.internal/ubuntu noble/universe armhf libspqr4 armhf 1:7.6.1+dfsg-1 [127 kB] 242s Get:382 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libsundials-ida6 armhf 6.4.1+dfsg1-3build3 [113 kB] 242s Get:383 http://ftpmaster.internal/ubuntu noble/universe armhf libbtf2 armhf 1:7.6.1+dfsg-1 [14.5 kB] 242s Get:384 http://ftpmaster.internal/ubuntu noble/universe armhf libklu2 armhf 1:7.6.1+dfsg-1 [75.0 kB] 242s Get:385 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libevent-pthreads-2.1-7 armhf 2.1.12-stable-9build1 [7370 B] 242s Get:386 http://ftpmaster.internal/ubuntu noble-proposed/main armhf librdmacm1t64 armhf 50.0-2build1 [63.0 kB] 242s Get:387 http://ftpmaster.internal/ubuntu noble/universe armhf libfabric1 armhf 1.17.0-3build1 [419 kB] 242s Get:388 http://ftpmaster.internal/ubuntu noble/universe armhf libhwloc15 armhf 2.10.0-1 [145 kB] 242s Get:389 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libmunge2 armhf 0.5.15-4 [17.1 kB] 242s Get:390 http://ftpmaster.internal/ubuntu noble/main armhf libpciaccess0 armhf 0.17-3 [16.3 kB] 242s Get:391 http://ftpmaster.internal/ubuntu noble/main armhf libxnvctrl0 armhf 510.47.03-0ubuntu1 [10.4 kB] 242s Get:392 http://ftpmaster.internal/ubuntu noble/universe armhf ocl-icd-libopencl1 armhf 2.3.2-1 [34.4 kB] 242s Get:393 http://ftpmaster.internal/ubuntu noble/universe armhf libhwloc-plugins armhf 2.10.0-1 [13.7 kB] 242s Get:394 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libpmix2t64 armhf 5.0.1-4.1 [616 kB] 242s Get:395 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libopenmpi3t64 armhf 4.1.6-7ubuntu1 [2041 kB] 242s Get:396 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libfftw3-mpi3 armhf 3.3.10-1ubuntu2 [34.2 kB] 242s Get:397 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libhdf5-openmpi-103-1t64 armhf 1.10.10+repack-3.1ubuntu3 [1393 kB] 242s Get:398 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libcombblas2.0.0t64 armhf 2.0.0-3.1build1 [247 kB] 242s Get:399 http://ftpmaster.internal/ubuntu noble/universe armhf libmetis5 armhf 5.1.0.dfsg-7build2 [146 kB] 242s Get:400 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libptscotch-7.0 armhf 7.0.4-1ubuntu1 [750 kB] 242s Get:401 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libsuperlu-dist8 armhf 8.2.1+dfsg1-1build1 [551 kB] 242s Get:402 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libhypre-2.28.0 armhf 2.28.0-8build1 [1314 kB] 242s Get:403 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf openmpi-common all 4.1.6-7ubuntu1 [170 kB] 242s Get:404 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf openmpi-bin armhf 4.1.6-7ubuntu1 [83.2 kB] 242s Get:405 http://ftpmaster.internal/ubuntu noble/universe armhf mpi-default-bin armhf 1.15 [2336 B] 242s Get:406 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libscalapack-openmpi2.2 armhf 2.2.1-3build1 [1448 kB] 243s Get:407 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libmumps-5.6t64 armhf 5.6.2-2.1build1 [1923 kB] 243s Get:408 http://ftpmaster.internal/ubuntu noble/universe armhf libsuperlu6 armhf 6.0.1+dfsg1-1 [154 kB] 243s Get:409 http://ftpmaster.internal/ubuntu noble/universe armhf libumfpack6 armhf 1:7.6.1+dfsg-1 [284 kB] 243s Get:410 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libpetsc-real3.19t64 armhf 3.19.6+dfsg1-2.2ubuntu1 [6791 kB] 243s Get:411 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libsundials-nvecparallel-petsc6 armhf 6.4.1+dfsg1-3build3 [34.1 kB] 243s Get:412 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libsundials-sunmatrix4 armhf 6.4.1+dfsg1-3build3 [68.6 kB] 243s Get:413 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libsundials-sunlinsol3 armhf 6.4.1+dfsg1-3build3 [136 kB] 243s Get:414 http://ftpmaster.internal/ubuntu noble/universe armhf libtext-unidecode-perl all 1.30-3 [105 kB] 243s Get:415 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf texinfo-lib armhf 7.1-3build1 [115 kB] 243s Get:416 http://ftpmaster.internal/ubuntu noble/universe armhf tex-common all 6.18 [32.8 kB] 243s Get:417 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf texinfo all 7.1-3build1 [1273 kB] 243s Get:418 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf octave-common all 8.4.0-1build4 [5925 kB] 243s Get:419 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf octave armhf 8.4.0-1build4 [9083 kB] 243s Get:420 http://ftpmaster.internal/ubuntu noble/main armhf libncurses-dev armhf 6.4+20240113-1ubuntu1 [501 kB] 243s Get:421 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libreadline-dev armhf 8.2-3.1build1 [153 kB] 243s Get:422 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libhdf5-fortran-102t64 armhf 1.10.10+repack-3.1ubuntu3 [74.2 kB] 243s Get:423 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libhdf5-hl-100t64 armhf 1.10.10+repack-3.1ubuntu3 [54.8 kB] 243s Get:424 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libhdf5-hl-fortran-100t64 armhf 1.10.10+repack-3.1ubuntu3 [25.7 kB] 243s Get:425 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libhdf5-cpp-103-1t64 armhf 1.10.10+repack-3.1ubuntu3 [125 kB] 243s Get:426 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libhdf5-hl-cpp-100t64 armhf 1.10.10+repack-3.1ubuntu3 [10.6 kB] 243s Get:427 http://ftpmaster.internal/ubuntu noble-proposed/main armhf zlib1g-dev armhf 1:1.3.dfsg-3.1ubuntu1 [880 kB] 243s Get:428 http://ftpmaster.internal/ubuntu noble/main armhf libjpeg-turbo8-dev armhf 2.1.5-2ubuntu1 [263 kB] 243s Get:429 http://ftpmaster.internal/ubuntu noble/main armhf libjpeg8-dev armhf 8c-2ubuntu11 [1484 B] 243s Get:430 http://ftpmaster.internal/ubuntu noble/main armhf libjpeg-dev armhf 8c-2ubuntu11 [1482 B] 243s Get:431 http://ftpmaster.internal/ubuntu noble/universe armhf libaec-dev armhf 1.1.2-1 [17.1 kB] 243s Get:432 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libcurl4-openssl-dev armhf 8.5.0-2ubuntu7 [415 kB] 243s Get:433 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libssl-dev armhf 3.0.13-0ubuntu2 [2084 kB] 244s Get:434 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf hdf5-helpers armhf 1.10.10+repack-3.1ubuntu3 [15.8 kB] 244s Get:435 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf libhdf5-dev armhf 1.10.10+repack-3.1ubuntu3 [2844 kB] 244s Get:436 http://ftpmaster.internal/ubuntu noble/main armhf xorg-sgml-doctools all 1:1.11-1.1 [10.9 kB] 244s Get:437 http://ftpmaster.internal/ubuntu noble/main armhf x11proto-dev all 2023.2-1 [602 kB] 244s Get:438 http://ftpmaster.internal/ubuntu noble/main armhf libxau-dev armhf 1:1.0.9-1build5 [8928 B] 244s Get:439 http://ftpmaster.internal/ubuntu noble/main armhf libxdmcp-dev armhf 1:1.1.3-0ubuntu5 [25.0 kB] 244s Get:440 http://ftpmaster.internal/ubuntu noble/main armhf xtrans-dev all 1.4.0-1 [68.9 kB] 244s Get:441 http://ftpmaster.internal/ubuntu noble/main armhf libpthread-stubs0-dev armhf 0.4-1build2 [5504 B] 244s Get:442 http://ftpmaster.internal/ubuntu noble/main armhf libxcb1-dev armhf 1.15-1 [84.6 kB] 244s Get:443 http://ftpmaster.internal/ubuntu noble/main armhf libx11-dev armhf 2:1.8.7-1 [669 kB] 244s Get:444 http://ftpmaster.internal/ubuntu noble/main armhf libglx-dev armhf 1.7.0-1 [14.2 kB] 244s Get:445 http://ftpmaster.internal/ubuntu noble/main armhf libgl-dev armhf 1.7.0-1 [102 kB] 244s Get:446 http://ftpmaster.internal/ubuntu noble/main armhf libblas-dev armhf 3.12.0-3 [132 kB] 244s Get:447 http://ftpmaster.internal/ubuntu noble/main armhf liblapack-dev armhf 3.12.0-3 [2177 kB] 244s Get:448 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfftw3-bin armhf 3.3.10-1ubuntu2 [29.6 kB] 244s Get:449 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libfftw3-dev armhf 3.3.10-1ubuntu2 [706 kB] 244s Get:450 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libgfortran-13-dev armhf 13.2.0-19ubuntu1 [359 kB] 244s Get:451 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gfortran-13-arm-linux-gnueabihf armhf 13.2.0-19ubuntu1 [9176 kB] 244s Get:452 http://ftpmaster.internal/ubuntu noble-proposed/main armhf gfortran-13 armhf 13.2.0-19ubuntu1 [10.4 kB] 244s Get:453 http://ftpmaster.internal/ubuntu noble/main armhf gfortran-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [1024 B] 244s Get:454 http://ftpmaster.internal/ubuntu noble/main armhf gfortran armhf 4:13.2.0-7ubuntu1 [1166 B] 244s Get:455 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libstdc++-13-dev armhf 13.2.0-19ubuntu1 [2403 kB] 244s Get:456 http://ftpmaster.internal/ubuntu noble-proposed/main armhf g++-13-arm-linux-gnueabihf armhf 13.2.0-19ubuntu1 [9935 kB] 244s Get:457 http://ftpmaster.internal/ubuntu noble-proposed/main armhf g++-13 armhf 13.2.0-19ubuntu1 [14.5 kB] 244s Get:458 http://ftpmaster.internal/ubuntu noble/main armhf g++-arm-linux-gnueabihf armhf 4:13.2.0-7ubuntu1 [966 B] 244s Get:459 http://ftpmaster.internal/ubuntu noble/main armhf g++ armhf 4:13.2.0-7ubuntu1 [1090 B] 244s Get:460 http://ftpmaster.internal/ubuntu noble-proposed/universe armhf octave-dev armhf 8.4.0-1build4 [468 kB] 244s Get:461 http://ftpmaster.internal/ubuntu noble/universe armhf dh-octave all 1.8.0 [19.7 kB] 244s Get:462 http://ftpmaster.internal/ubuntu noble/main armhf libfontenc1 armhf 1:1.1.8-1 [11.5 kB] 244s Get:463 http://ftpmaster.internal/ubuntu noble/main armhf libunwind8 armhf 1.6.2-3 [49.2 kB] 244s Get:464 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxt6t64 armhf 1:1.2.1-1.2 [145 kB] 244s Get:465 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxmu6 armhf 2:1.1.3-3build1 [40.3 kB] 244s Get:466 http://ftpmaster.internal/ubuntu noble-proposed/main armhf libxaw7 armhf 2:1.0.14-1build1 [153 kB] 244s Get:467 http://ftpmaster.internal/ubuntu noble/main armhf libxfont2 armhf 1:2.0.6-1 [80.5 kB] 244s Get:468 http://ftpmaster.internal/ubuntu noble/main armhf libxkbfile1 armhf 1:1.1.0-1build3 [64.2 kB] 244s Get:469 http://ftpmaster.internal/ubuntu noble/main armhf libxrandr2 armhf 2:1.5.2-2 [16.4 kB] 244s Get:470 http://ftpmaster.internal/ubuntu noble/universe armhf octave-image armhf 2.14.0-5 [593 kB] 244s Get:471 http://ftpmaster.internal/ubuntu noble-proposed/main armhf x11-xkb-utils armhf 7.7+8build1 [159 kB] 244s Get:472 http://ftpmaster.internal/ubuntu noble/main armhf xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 244s Get:473 http://ftpmaster.internal/ubuntu noble/universe armhf xvfb armhf 2:21.1.11-2ubuntu1 [738 kB] 246s Fetched 189 MB in 11s (16.7 MB/s) 246s Selecting previously unselected package m4. 246s (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 ... 58435 files and directories currently installed.) 246s Preparing to unpack .../000-m4_1.4.19-4_armhf.deb ... 246s Unpacking m4 (1.4.19-4) ... 246s Selecting previously unselected package autoconf. 246s Preparing to unpack .../001-autoconf_2.71-3_all.deb ... 246s Unpacking autoconf (2.71-3) ... 246s Selecting previously unselected package autotools-dev. 246s Preparing to unpack .../002-autotools-dev_20220109.1_all.deb ... 246s Unpacking autotools-dev (20220109.1) ... 246s Selecting previously unselected package automake. 246s Preparing to unpack .../003-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 246s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 246s Selecting previously unselected package autopoint. 246s Preparing to unpack .../004-autopoint_0.21-14ubuntu1_all.deb ... 246s Unpacking autopoint (0.21-14ubuntu1) ... 246s Selecting previously unselected package libcapture-tiny-perl. 246s Preparing to unpack .../005-libcapture-tiny-perl_0.48-2_all.deb ... 246s Unpacking libcapture-tiny-perl (0.48-2) ... 246s Selecting previously unselected package libparams-util-perl. 246s Preparing to unpack .../006-libparams-util-perl_1.102-2build2_armhf.deb ... 246s Unpacking libparams-util-perl (1.102-2build2) ... 246s Selecting previously unselected package libsub-install-perl. 246s Preparing to unpack .../007-libsub-install-perl_0.929-1_all.deb ... 246s Unpacking libsub-install-perl (0.929-1) ... 246s Selecting previously unselected package libdata-optlist-perl. 246s Preparing to unpack .../008-libdata-optlist-perl_0.114-1_all.deb ... 246s Unpacking libdata-optlist-perl (0.114-1) ... 246s Selecting previously unselected package libb-hooks-op-check-perl:armhf. 246s Preparing to unpack .../009-libb-hooks-op-check-perl_0.22-3_armhf.deb ... 246s Unpacking libb-hooks-op-check-perl:armhf (0.22-3) ... 246s Selecting previously unselected package libdynaloader-functions-perl. 246s Preparing to unpack .../010-libdynaloader-functions-perl_0.003-3_all.deb ... 246s Unpacking libdynaloader-functions-perl (0.003-3) ... 246s Selecting previously unselected package libdevel-callchecker-perl:armhf. 246s Preparing to unpack .../011-libdevel-callchecker-perl_0.008-2build2_armhf.deb ... 246s Unpacking libdevel-callchecker-perl:armhf (0.008-2build2) ... 246s Selecting previously unselected package libparams-classify-perl:armhf. 246s Preparing to unpack .../012-libparams-classify-perl_0.015-2build4_armhf.deb ... 246s Unpacking libparams-classify-perl:armhf (0.015-2build4) ... 246s Selecting previously unselected package libmodule-runtime-perl. 246s Preparing to unpack .../013-libmodule-runtime-perl_0.016-2_all.deb ... 246s Unpacking libmodule-runtime-perl (0.016-2) ... 246s Selecting previously unselected package libtry-tiny-perl. 246s Preparing to unpack .../014-libtry-tiny-perl_0.31-2_all.deb ... 246s Unpacking libtry-tiny-perl (0.31-2) ... 246s Selecting previously unselected package libmodule-implementation-perl. 246s Preparing to unpack .../015-libmodule-implementation-perl_0.09-2_all.deb ... 246s Unpacking libmodule-implementation-perl (0.09-2) ... 246s Selecting previously unselected package libpackage-stash-perl. 246s Preparing to unpack .../016-libpackage-stash-perl_0.40-1_all.deb ... 246s Unpacking libpackage-stash-perl (0.40-1) ... 246s Selecting previously unselected package libclass-load-perl. 247s Preparing to unpack .../017-libclass-load-perl_0.25-2_all.deb ... 247s Unpacking libclass-load-perl (0.25-2) ... 247s Selecting previously unselected package libio-stringy-perl. 247s Preparing to unpack .../018-libio-stringy-perl_2.111-3_all.deb ... 247s Unpacking libio-stringy-perl (2.111-3) ... 247s Selecting previously unselected package libparams-validate-perl:armhf. 247s Preparing to unpack .../019-libparams-validate-perl_1.31-2build2_armhf.deb ... 247s Unpacking libparams-validate-perl:armhf (1.31-2build2) ... 247s Selecting previously unselected package libsub-exporter-perl. 247s Preparing to unpack .../020-libsub-exporter-perl_0.990-1_all.deb ... 247s Unpacking libsub-exporter-perl (0.990-1) ... 247s Selecting previously unselected package libgetopt-long-descriptive-perl. 247s Preparing to unpack .../021-libgetopt-long-descriptive-perl_0.111-1_all.deb ... 247s Unpacking libgetopt-long-descriptive-perl (0.111-1) ... 247s Selecting previously unselected package libio-tiecombine-perl. 247s Preparing to unpack .../022-libio-tiecombine-perl_1.005-3_all.deb ... 247s Unpacking libio-tiecombine-perl (1.005-3) ... 247s Selecting previously unselected package libmodule-pluggable-perl. 247s Preparing to unpack .../023-libmodule-pluggable-perl_5.2-4_all.deb ... 247s Unpacking libmodule-pluggable-perl (5.2-4) ... 247s Selecting previously unselected package libstring-rewriteprefix-perl. 247s Preparing to unpack .../024-libstring-rewriteprefix-perl_0.009-1_all.deb ... 247s Unpacking libstring-rewriteprefix-perl (0.009-1) ... 247s Selecting previously unselected package libapp-cmd-perl. 247s Preparing to unpack .../025-libapp-cmd-perl_0.336-1_all.deb ... 247s Unpacking libapp-cmd-perl (0.336-1) ... 247s Selecting previously unselected package libboolean-perl. 247s Preparing to unpack .../026-libboolean-perl_0.46-3_all.deb ... 247s Unpacking libboolean-perl (0.46-3) ... 247s Selecting previously unselected package libsub-uplevel-perl. 247s Preparing to unpack .../027-libsub-uplevel-perl_0.2800-3_all.deb ... 247s Unpacking libsub-uplevel-perl (0.2800-3) ... 247s Selecting previously unselected package libtest-exception-perl. 247s Preparing to unpack .../028-libtest-exception-perl_0.43-3_all.deb ... 247s Unpacking libtest-exception-perl (0.43-3) ... 247s Selecting previously unselected package libcarp-assert-more-perl. 247s Preparing to unpack .../029-libcarp-assert-more-perl_2.3.0-1_all.deb ... 247s Unpacking libcarp-assert-more-perl (2.3.0-1) ... 247s Selecting previously unselected package libfile-which-perl. 247s Preparing to unpack .../030-libfile-which-perl_1.27-2_all.deb ... 247s Unpacking libfile-which-perl (1.27-2) ... 247s Selecting previously unselected package libfile-homedir-perl. 247s Preparing to unpack .../031-libfile-homedir-perl_1.006-2_all.deb ... 247s Unpacking libfile-homedir-perl (1.006-2) ... 247s Selecting previously unselected package libclone-choose-perl. 247s Preparing to unpack .../032-libclone-choose-perl_0.010-2_all.deb ... 247s Unpacking libclone-choose-perl (0.010-2) ... 247s Selecting previously unselected package libhash-merge-perl. 247s Preparing to unpack .../033-libhash-merge-perl_0.302-1_all.deb ... 247s Unpacking libhash-merge-perl (0.302-1) ... 247s Selecting previously unselected package libjson-perl. 247s Preparing to unpack .../034-libjson-perl_4.10000-1_all.deb ... 247s Unpacking libjson-perl (4.10000-1) ... 247s Selecting previously unselected package libexporter-tiny-perl. 247s Preparing to unpack .../035-libexporter-tiny-perl_1.006002-1_all.deb ... 247s Unpacking libexporter-tiny-perl (1.006002-1) ... 247s Selecting previously unselected package liblist-moreutils-xs-perl. 247s Preparing to unpack .../036-liblist-moreutils-xs-perl_0.430-3build4_armhf.deb ... 247s Unpacking liblist-moreutils-xs-perl (0.430-3build4) ... 247s Selecting previously unselected package liblist-moreutils-perl. 247s Preparing to unpack .../037-liblist-moreutils-perl_0.430-2_all.deb ... 247s Unpacking liblist-moreutils-perl (0.430-2) ... 247s Selecting previously unselected package liblog-log4perl-perl. 247s Preparing to unpack .../038-liblog-log4perl-perl_1.57-1_all.deb ... 247s Unpacking liblog-log4perl-perl (1.57-1) ... 247s Selecting previously unselected package libmouse-perl. 247s Preparing to unpack .../039-libmouse-perl_2.5.10-1build7_armhf.deb ... 247s Unpacking libmouse-perl (2.5.10-1build7) ... 247s Selecting previously unselected package libmousex-nativetraits-perl. 248s Preparing to unpack .../040-libmousex-nativetraits-perl_1.09-3_all.deb ... 248s Unpacking libmousex-nativetraits-perl (1.09-3) ... 248s Selecting previously unselected package libmousex-strictconstructor-perl. 248s Preparing to unpack .../041-libmousex-strictconstructor-perl_0.02-3_all.deb ... 248s Unpacking libmousex-strictconstructor-perl (0.02-3) ... 248s Selecting previously unselected package libparse-recdescent-perl. 248s Preparing to unpack .../042-libparse-recdescent-perl_1.967015+dfsg-4_all.deb ... 248s Unpacking libparse-recdescent-perl (1.967015+dfsg-4) ... 248s Selecting previously unselected package libpath-tiny-perl. 248s Preparing to unpack .../043-libpath-tiny-perl_0.144-1_all.deb ... 248s Unpacking libpath-tiny-perl (0.144-1) ... 248s Selecting previously unselected package libpod-pom-perl. 248s Preparing to unpack .../044-libpod-pom-perl_2.01-4_all.deb ... 248s Unpacking libpod-pom-perl (2.01-4) ... 248s Selecting previously unselected package libregexp-common-perl. 248s Preparing to unpack .../045-libregexp-common-perl_2017060201-3_all.deb ... 248s Unpacking libregexp-common-perl (2017060201-3) ... 248s Selecting previously unselected package libyaml-tiny-perl. 248s Preparing to unpack .../046-libyaml-tiny-perl_1.74-1_all.deb ... 248s Unpacking libyaml-tiny-perl (1.74-1) ... 248s Selecting previously unselected package libconfig-model-perl. 248s Preparing to unpack .../047-libconfig-model-perl_2.153-3_all.deb ... 248s Unpacking libconfig-model-perl (2.153-3) ... 248s Selecting previously unselected package libyaml-pp-perl. 248s Preparing to unpack .../048-libyaml-pp-perl_0.38.0-1_all.deb ... 248s Unpacking libyaml-pp-perl (0.38.0-1) ... 248s Selecting previously unselected package cme. 248s Preparing to unpack .../049-cme_1.040-1_all.deb ... 248s Unpacking cme (1.040-1) ... 248s Selecting previously unselected package libisl23:armhf. 248s Preparing to unpack .../050-libisl23_0.26-3_armhf.deb ... 248s Unpacking libisl23:armhf (0.26-3) ... 248s Selecting previously unselected package libmpc3:armhf. 248s Preparing to unpack .../051-libmpc3_1.3.1-1_armhf.deb ... 248s Unpacking libmpc3:armhf (1.3.1-1) ... 248s Selecting previously unselected package cpp-13-arm-linux-gnueabihf. 248s Preparing to unpack .../052-cpp-13-arm-linux-gnueabihf_13.2.0-19ubuntu1_armhf.deb ... 248s Unpacking cpp-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 248s Selecting previously unselected package cpp-13. 248s Preparing to unpack .../053-cpp-13_13.2.0-19ubuntu1_armhf.deb ... 248s Unpacking cpp-13 (13.2.0-19ubuntu1) ... 248s Selecting previously unselected package cpp-arm-linux-gnueabihf. 248s Preparing to unpack .../054-cpp-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 248s Unpacking cpp-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 248s Selecting previously unselected package cpp. 248s Preparing to unpack .../055-cpp_4%3a13.2.0-7ubuntu1_armhf.deb ... 248s Unpacking cpp (4:13.2.0-7ubuntu1) ... 248s Selecting previously unselected package libdebhelper-perl. 248s Preparing to unpack .../056-libdebhelper-perl_13.14.1ubuntu5_all.deb ... 248s Unpacking libdebhelper-perl (13.14.1ubuntu5) ... 248s Selecting previously unselected package libcc1-0:armhf. 248s Preparing to unpack .../057-libcc1-0_14-20240315-1ubuntu1_armhf.deb ... 248s Unpacking libcc1-0:armhf (14-20240315-1ubuntu1) ... 249s Selecting previously unselected package libgomp1:armhf. 249s Preparing to unpack .../058-libgomp1_14-20240315-1ubuntu1_armhf.deb ... 249s Unpacking libgomp1:armhf (14-20240315-1ubuntu1) ... 249s Selecting previously unselected package libatomic1:armhf. 249s Preparing to unpack .../059-libatomic1_14-20240315-1ubuntu1_armhf.deb ... 249s Unpacking libatomic1:armhf (14-20240315-1ubuntu1) ... 249s Selecting previously unselected package libasan8:armhf. 249s Preparing to unpack .../060-libasan8_14-20240315-1ubuntu1_armhf.deb ... 249s Unpacking libasan8:armhf (14-20240315-1ubuntu1) ... 249s Selecting previously unselected package libubsan1:armhf. 249s Preparing to unpack .../061-libubsan1_14-20240315-1ubuntu1_armhf.deb ... 249s Unpacking libubsan1:armhf (14-20240315-1ubuntu1) ... 249s Selecting previously unselected package libgcc-13-dev:armhf. 249s Preparing to unpack .../062-libgcc-13-dev_13.2.0-19ubuntu1_armhf.deb ... 249s Unpacking libgcc-13-dev:armhf (13.2.0-19ubuntu1) ... 249s Selecting previously unselected package gcc-13-arm-linux-gnueabihf. 249s Preparing to unpack .../063-gcc-13-arm-linux-gnueabihf_13.2.0-19ubuntu1_armhf.deb ... 249s Unpacking gcc-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 249s Selecting previously unselected package gcc-13. 249s Preparing to unpack .../064-gcc-13_13.2.0-19ubuntu1_armhf.deb ... 249s Unpacking gcc-13 (13.2.0-19ubuntu1) ... 249s Selecting previously unselected package gcc-arm-linux-gnueabihf. 249s Preparing to unpack .../065-gcc-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 249s Unpacking gcc-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 249s Selecting previously unselected package gcc. 249s Preparing to unpack .../066-gcc_4%3a13.2.0-7ubuntu1_armhf.deb ... 249s Unpacking gcc (4:13.2.0-7ubuntu1) ... 249s Selecting previously unselected package libc-dev-bin. 250s Preparing to unpack .../067-libc-dev-bin_2.39-0ubuntu6_armhf.deb ... 250s Unpacking libc-dev-bin (2.39-0ubuntu6) ... 250s Selecting previously unselected package linux-libc-dev:armhf. 250s Preparing to unpack .../068-linux-libc-dev_6.8.0-20.20_armhf.deb ... 250s Unpacking linux-libc-dev:armhf (6.8.0-20.20) ... 250s Selecting previously unselected package libcrypt-dev:armhf. 250s Preparing to unpack .../069-libcrypt-dev_1%3a4.4.36-4_armhf.deb ... 250s Unpacking libcrypt-dev:armhf (1:4.4.36-4) ... 250s Selecting previously unselected package rpcsvc-proto. 250s Preparing to unpack .../070-rpcsvc-proto_1.4.2-0ubuntu6_armhf.deb ... 250s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 250s Selecting previously unselected package libc6-dev:armhf. 250s Preparing to unpack .../071-libc6-dev_2.39-0ubuntu6_armhf.deb ... 250s Unpacking libc6-dev:armhf (2.39-0ubuntu6) ... 250s Selecting previously unselected package libtool. 250s Preparing to unpack .../072-libtool_2.4.7-7_all.deb ... 250s Unpacking libtool (2.4.7-7) ... 250s Selecting previously unselected package dh-autoreconf. 250s Preparing to unpack .../073-dh-autoreconf_20_all.deb ... 250s Unpacking dh-autoreconf (20) ... 250s Selecting previously unselected package libarchive-zip-perl. 250s Preparing to unpack .../074-libarchive-zip-perl_1.68-1_all.deb ... 250s Unpacking libarchive-zip-perl (1.68-1) ... 250s Selecting previously unselected package libsub-override-perl. 250s Preparing to unpack .../075-libsub-override-perl_0.10-1_all.deb ... 250s Unpacking libsub-override-perl (0.10-1) ... 250s Selecting previously unselected package libfile-stripnondeterminism-perl. 250s Preparing to unpack .../076-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... 250s Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... 250s Selecting previously unselected package dh-strip-nondeterminism. 250s Preparing to unpack .../077-dh-strip-nondeterminism_1.13.1-1_all.deb ... 250s Unpacking dh-strip-nondeterminism (1.13.1-1) ... 250s Selecting previously unselected package libdw1t64:armhf. 250s Preparing to unpack .../078-libdw1t64_0.190-1.1build2_armhf.deb ... 250s Unpacking libdw1t64:armhf (0.190-1.1build2) ... 250s Selecting previously unselected package debugedit. 250s Preparing to unpack .../079-debugedit_1%3a5.0-5build1_armhf.deb ... 250s Unpacking debugedit (1:5.0-5build1) ... 250s Selecting previously unselected package dwz. 250s Preparing to unpack .../080-dwz_0.15-1build5_armhf.deb ... 250s Unpacking dwz (0.15-1build5) ... 250s Selecting previously unselected package gettext. 250s Preparing to unpack .../081-gettext_0.21-14ubuntu1_armhf.deb ... 250s Unpacking gettext (0.21-14ubuntu1) ... 251s Selecting previously unselected package intltool-debian. 251s Preparing to unpack .../082-intltool-debian_0.35.0+20060710.6_all.deb ... 251s Unpacking intltool-debian (0.35.0+20060710.6) ... 251s Selecting previously unselected package po-debconf. 251s Preparing to unpack .../083-po-debconf_1.0.21+nmu1_all.deb ... 251s Unpacking po-debconf (1.0.21+nmu1) ... 251s Selecting previously unselected package debhelper. 251s Preparing to unpack .../084-debhelper_13.14.1ubuntu5_all.deb ... 251s Unpacking debhelper (13.14.1ubuntu5) ... 251s Selecting previously unselected package aglfn. 251s Preparing to unpack .../085-aglfn_1.7+git20191031.4036a9c-2_all.deb ... 251s Unpacking aglfn (1.7+git20191031.4036a9c-2) ... 251s Selecting previously unselected package gnuplot-data. 251s Preparing to unpack .../086-gnuplot-data_6.0.0+dfsg1-1ubuntu2_all.deb ... 251s Unpacking gnuplot-data (6.0.0+dfsg1-1ubuntu2) ... 251s Selecting previously unselected package libfreetype6:armhf. 251s Preparing to unpack .../087-libfreetype6_2.13.2+dfsg-1build2_armhf.deb ... 251s Unpacking libfreetype6:armhf (2.13.2+dfsg-1build2) ... 251s Selecting previously unselected package fonts-dejavu-mono. 251s Preparing to unpack .../088-fonts-dejavu-mono_2.37-8_all.deb ... 251s Unpacking fonts-dejavu-mono (2.37-8) ... 251s Selecting previously unselected package fonts-dejavu-core. 251s Preparing to unpack .../089-fonts-dejavu-core_2.37-8_all.deb ... 251s Unpacking fonts-dejavu-core (2.37-8) ... 251s Selecting previously unselected package fonts-freefont-otf. 251s Preparing to unpack .../090-fonts-freefont-otf_20211204+svn4273-2_all.deb ... 251s Unpacking fonts-freefont-otf (20211204+svn4273-2) ... 251s Selecting previously unselected package fontconfig-config. 251s Preparing to unpack .../091-fontconfig-config_2.15.0-1.1ubuntu1_armhf.deb ... 251s Unpacking fontconfig-config (2.15.0-1.1ubuntu1) ... 251s Selecting previously unselected package libfontconfig1:armhf. 251s Preparing to unpack .../092-libfontconfig1_2.15.0-1.1ubuntu1_armhf.deb ... 251s Unpacking libfontconfig1:armhf (2.15.0-1.1ubuntu1) ... 251s Selecting previously unselected package libpixman-1-0:armhf. 251s Preparing to unpack .../093-libpixman-1-0_0.42.2-1_armhf.deb ... 251s Unpacking libpixman-1-0:armhf (0.42.2-1) ... 251s Selecting previously unselected package libxcb-render0:armhf. 251s Preparing to unpack .../094-libxcb-render0_1.15-1_armhf.deb ... 251s Unpacking libxcb-render0:armhf (1.15-1) ... 251s Selecting previously unselected package libxcb-shm0:armhf. 251s Preparing to unpack .../095-libxcb-shm0_1.15-1_armhf.deb ... 251s Unpacking libxcb-shm0:armhf (1.15-1) ... 252s Selecting previously unselected package libxrender1:armhf. 252s Preparing to unpack .../096-libxrender1_1%3a0.9.10-1.1_armhf.deb ... 252s Unpacking libxrender1:armhf (1:0.9.10-1.1) ... 252s Selecting previously unselected package libcairo2:armhf. 252s Preparing to unpack .../097-libcairo2_1.18.0-1ubuntu1_armhf.deb ... 252s Unpacking libcairo2:armhf (1.18.0-1ubuntu1) ... 252s Selecting previously unselected package libjpeg-turbo8:armhf. 252s Preparing to unpack .../098-libjpeg-turbo8_2.1.5-2ubuntu1_armhf.deb ... 252s Unpacking libjpeg-turbo8:armhf (2.1.5-2ubuntu1) ... 252s Selecting previously unselected package libjpeg8:armhf. 252s Preparing to unpack .../099-libjpeg8_8c-2ubuntu11_armhf.deb ... 252s Unpacking libjpeg8:armhf (8c-2ubuntu11) ... 252s Selecting previously unselected package libdeflate0:armhf. 252s Preparing to unpack .../100-libdeflate0_1.19-1_armhf.deb ... 252s Unpacking libdeflate0:armhf (1.19-1) ... 252s Selecting previously unselected package libjbig0:armhf. 252s Preparing to unpack .../101-libjbig0_2.1-6.1ubuntu1_armhf.deb ... 252s Unpacking libjbig0:armhf (2.1-6.1ubuntu1) ... 252s Selecting previously unselected package liblerc4:armhf. 252s Preparing to unpack .../102-liblerc4_4.0.0+ds-4ubuntu1_armhf.deb ... 252s Unpacking liblerc4:armhf (4.0.0+ds-4ubuntu1) ... 252s Selecting previously unselected package libsharpyuv0:armhf. 252s Preparing to unpack .../103-libsharpyuv0_1.3.2-0.4build2_armhf.deb ... 252s Unpacking libsharpyuv0:armhf (1.3.2-0.4build2) ... 252s Selecting previously unselected package libwebp7:armhf. 252s Preparing to unpack .../104-libwebp7_1.3.2-0.4build2_armhf.deb ... 252s Unpacking libwebp7:armhf (1.3.2-0.4build2) ... 252s Selecting previously unselected package libtiff6:armhf. 252s Preparing to unpack .../105-libtiff6_4.5.1+git230720-4ubuntu1_armhf.deb ... 252s Unpacking libtiff6:armhf (4.5.1+git230720-4ubuntu1) ... 252s Selecting previously unselected package libxpm4:armhf. 252s Preparing to unpack .../106-libxpm4_1%3a3.5.17-1build1_armhf.deb ... 252s Unpacking libxpm4:armhf (1:3.5.17-1build1) ... 252s Selecting previously unselected package libgd3:armhf. 252s Preparing to unpack .../107-libgd3_2.3.3-9ubuntu3_armhf.deb ... 252s Unpacking libgd3:armhf (2.3.3-9ubuntu3) ... 252s Selecting previously unselected package liblua5.4-0:armhf. 252s Preparing to unpack .../108-liblua5.4-0_5.4.6-3build1_armhf.deb ... 252s Unpacking liblua5.4-0:armhf (5.4.6-3build1) ... 252s Selecting previously unselected package fontconfig. 252s Preparing to unpack .../109-fontconfig_2.15.0-1.1ubuntu1_armhf.deb ... 252s Unpacking fontconfig (2.15.0-1.1ubuntu1) ... 252s Selecting previously unselected package libgraphite2-3:armhf. 252s Preparing to unpack .../110-libgraphite2-3_1.3.14-2_armhf.deb ... 252s Unpacking libgraphite2-3:armhf (1.3.14-2) ... 252s Selecting previously unselected package libharfbuzz0b:armhf. 252s Preparing to unpack .../111-libharfbuzz0b_8.3.0-2build1_armhf.deb ... 252s Unpacking libharfbuzz0b:armhf (8.3.0-2build1) ... 252s Selecting previously unselected package libthai-data. 252s Preparing to unpack .../112-libthai-data_0.1.29-2_all.deb ... 252s Unpacking libthai-data (0.1.29-2) ... 252s Selecting previously unselected package libdatrie1:armhf. 252s Preparing to unpack .../113-libdatrie1_0.2.13-3_armhf.deb ... 252s Unpacking libdatrie1:armhf (0.2.13-3) ... 252s Selecting previously unselected package libthai0:armhf. 252s Preparing to unpack .../114-libthai0_0.1.29-2_armhf.deb ... 252s Unpacking libthai0:armhf (0.1.29-2) ... 252s Selecting previously unselected package libpango-1.0-0:armhf. 252s Preparing to unpack .../115-libpango-1.0-0_1.52.1+ds-1_armhf.deb ... 252s Unpacking libpango-1.0-0:armhf (1.52.1+ds-1) ... 252s Selecting previously unselected package libpangoft2-1.0-0:armhf. 252s Preparing to unpack .../116-libpangoft2-1.0-0_1.52.1+ds-1_armhf.deb ... 252s Unpacking libpangoft2-1.0-0:armhf (1.52.1+ds-1) ... 252s Selecting previously unselected package libpangocairo-1.0-0:armhf. 252s Preparing to unpack .../117-libpangocairo-1.0-0_1.52.1+ds-1_armhf.deb ... 252s Unpacking libpangocairo-1.0-0:armhf (1.52.1+ds-1) ... 252s Selecting previously unselected package libwebpmux3:armhf. 252s Preparing to unpack .../118-libwebpmux3_1.3.2-0.4build2_armhf.deb ... 252s Unpacking libwebpmux3:armhf (1.3.2-0.4build2) ... 252s Selecting previously unselected package gnuplot-nox. 253s Preparing to unpack .../119-gnuplot-nox_6.0.0+dfsg1-1ubuntu2_armhf.deb ... 253s Unpacking gnuplot-nox (6.0.0+dfsg1-1ubuntu2) ... 253s Selecting previously unselected package dh-octave-autopkgtest. 253s Preparing to unpack .../120-dh-octave-autopkgtest_1.8.0_all.deb ... 253s Unpacking dh-octave-autopkgtest (1.8.0) ... 253s Selecting previously unselected package libapt-pkg-perl. 253s Preparing to unpack .../121-libapt-pkg-perl_0.1.40build5_armhf.deb ... 253s Unpacking libapt-pkg-perl (0.1.40build5) ... 253s Selecting previously unselected package libarray-intspan-perl. 253s Preparing to unpack .../122-libarray-intspan-perl_2.004-2_all.deb ... 253s Unpacking libarray-intspan-perl (2.004-2) ... 253s Selecting previously unselected package libyaml-libyaml-perl. 253s Preparing to unpack .../123-libyaml-libyaml-perl_0.89+ds-1build1_armhf.deb ... 253s Unpacking libyaml-libyaml-perl (0.89+ds-1build1) ... 253s Selecting previously unselected package libconfig-model-backend-yaml-perl. 253s Preparing to unpack .../124-libconfig-model-backend-yaml-perl_2.134-2_all.deb ... 253s Unpacking libconfig-model-backend-yaml-perl (2.134-2) ... 253s Selecting previously unselected package libexporter-lite-perl. 253s Preparing to unpack .../125-libexporter-lite-perl_0.09-2_all.deb ... 253s Unpacking libexporter-lite-perl (0.09-2) ... 253s Selecting previously unselected package libencode-locale-perl. 253s Preparing to unpack .../126-libencode-locale-perl_1.05-3_all.deb ... 253s Unpacking libencode-locale-perl (1.05-3) ... 253s Selecting previously unselected package libtimedate-perl. 253s Preparing to unpack .../127-libtimedate-perl_2.3300-2_all.deb ... 253s Unpacking libtimedate-perl (2.3300-2) ... 253s Selecting previously unselected package libhttp-date-perl. 253s Preparing to unpack .../128-libhttp-date-perl_6.06-1_all.deb ... 253s Unpacking libhttp-date-perl (6.06-1) ... 253s Selecting previously unselected package libfile-listing-perl. 253s Preparing to unpack .../129-libfile-listing-perl_6.16-1_all.deb ... 253s Unpacking libfile-listing-perl (6.16-1) ... 253s Selecting previously unselected package libhtml-tagset-perl. 253s Preparing to unpack .../130-libhtml-tagset-perl_3.20-6_all.deb ... 253s Unpacking libhtml-tagset-perl (3.20-6) ... 253s Selecting previously unselected package liburi-perl. 253s Preparing to unpack .../131-liburi-perl_5.27-1_all.deb ... 253s Unpacking liburi-perl (5.27-1) ... 253s Selecting previously unselected package libhtml-parser-perl:armhf. 253s Preparing to unpack .../132-libhtml-parser-perl_3.81-1build2_armhf.deb ... 253s Unpacking libhtml-parser-perl:armhf (3.81-1build2) ... 253s Selecting previously unselected package libhtml-tree-perl. 253s Preparing to unpack .../133-libhtml-tree-perl_5.07-3_all.deb ... 253s Unpacking libhtml-tree-perl (5.07-3) ... 253s Selecting previously unselected package libclone-perl:armhf. 253s Preparing to unpack .../134-libclone-perl_0.46-1build2_armhf.deb ... 253s Unpacking libclone-perl:armhf (0.46-1build2) ... 253s Selecting previously unselected package libio-html-perl. 253s Preparing to unpack .../135-libio-html-perl_1.004-3_all.deb ... 253s Unpacking libio-html-perl (1.004-3) ... 253s Selecting previously unselected package liblwp-mediatypes-perl. 253s Preparing to unpack .../136-liblwp-mediatypes-perl_6.04-2_all.deb ... 253s Unpacking liblwp-mediatypes-perl (6.04-2) ... 253s Selecting previously unselected package libhttp-message-perl. 253s Preparing to unpack .../137-libhttp-message-perl_6.45-1ubuntu1_all.deb ... 253s Unpacking libhttp-message-perl (6.45-1ubuntu1) ... 253s Selecting previously unselected package libhttp-cookies-perl. 253s Preparing to unpack .../138-libhttp-cookies-perl_6.11-1_all.deb ... 253s Unpacking libhttp-cookies-perl (6.11-1) ... 253s Selecting previously unselected package libhttp-negotiate-perl. 253s Preparing to unpack .../139-libhttp-negotiate-perl_6.01-2_all.deb ... 253s Unpacking libhttp-negotiate-perl (6.01-2) ... 253s Selecting previously unselected package perl-openssl-defaults:armhf. 253s Preparing to unpack .../140-perl-openssl-defaults_7build1_armhf.deb ... 253s Unpacking perl-openssl-defaults:armhf (7build1) ... 253s Selecting previously unselected package libnet-ssleay-perl:armhf. 253s Preparing to unpack .../141-libnet-ssleay-perl_1.94-1build2_armhf.deb ... 253s Unpacking libnet-ssleay-perl:armhf (1.94-1build2) ... 253s Selecting previously unselected package libio-socket-ssl-perl. 253s Preparing to unpack .../142-libio-socket-ssl-perl_2.085-1_all.deb ... 253s Unpacking libio-socket-ssl-perl (2.085-1) ... 253s Selecting previously unselected package libnet-http-perl. 253s Preparing to unpack .../143-libnet-http-perl_6.23-1_all.deb ... 253s Unpacking libnet-http-perl (6.23-1) ... 253s Selecting previously unselected package liblwp-protocol-https-perl. 253s Preparing to unpack .../144-liblwp-protocol-https-perl_6.13-1_all.deb ... 253s Unpacking liblwp-protocol-https-perl (6.13-1) ... 253s Selecting previously unselected package libwww-robotrules-perl. 253s Preparing to unpack .../145-libwww-robotrules-perl_6.02-1_all.deb ... 253s Unpacking libwww-robotrules-perl (6.02-1) ... 254s Selecting previously unselected package libwww-perl. 254s Preparing to unpack .../146-libwww-perl_6.76-1_all.deb ... 254s Unpacking libwww-perl (6.76-1) ... 254s Selecting previously unselected package liberror-perl. 254s Preparing to unpack .../147-liberror-perl_0.17029-2_all.deb ... 254s Unpacking liberror-perl (0.17029-2) ... 254s Selecting previously unselected package libparse-debcontrol-perl. 254s Preparing to unpack .../148-libparse-debcontrol-perl_2.005-6_all.deb ... 254s Unpacking libparse-debcontrol-perl (2.005-6) ... 254s Selecting previously unselected package libsoftware-copyright-perl. 254s Preparing to unpack .../149-libsoftware-copyright-perl_0.012-2_all.deb ... 254s Unpacking libsoftware-copyright-perl (0.012-2) ... 254s Selecting previously unselected package libalgorithm-c3-perl. 254s Preparing to unpack .../150-libalgorithm-c3-perl_0.11-2_all.deb ... 254s Unpacking libalgorithm-c3-perl (0.11-2) ... 254s Selecting previously unselected package libclass-c3-perl. 254s Preparing to unpack .../151-libclass-c3-perl_0.35-2_all.deb ... 254s Unpacking libclass-c3-perl (0.35-2) ... 254s Selecting previously unselected package libmro-compat-perl. 254s Preparing to unpack .../152-libmro-compat-perl_0.15-2_all.deb ... 254s Unpacking libmro-compat-perl (0.15-2) ... 254s Selecting previously unselected package libdata-section-perl. 254s Preparing to unpack .../153-libdata-section-perl_0.200008-1_all.deb ... 254s Unpacking libdata-section-perl (0.200008-1) ... 254s Selecting previously unselected package libtext-template-perl. 254s Preparing to unpack .../154-libtext-template-perl_1.61-1_all.deb ... 254s Unpacking libtext-template-perl (1.61-1) ... 254s Selecting previously unselected package libsoftware-license-perl. 254s Preparing to unpack .../155-libsoftware-license-perl_0.104006-1_all.deb ... 254s Unpacking libsoftware-license-perl (0.104006-1) ... 254s Selecting previously unselected package libsoftware-licensemoreutils-perl. 254s Preparing to unpack .../156-libsoftware-licensemoreutils-perl_1.009-1_all.deb ... 254s Unpacking libsoftware-licensemoreutils-perl (1.009-1) ... 254s Selecting previously unselected package libsort-versions-perl. 254s Preparing to unpack .../157-libsort-versions-perl_1.62-3_all.deb ... 254s Unpacking libsort-versions-perl (1.62-3) ... 254s Selecting previously unselected package libtext-reform-perl. 254s Preparing to unpack .../158-libtext-reform-perl_1.20-5_all.deb ... 254s Unpacking libtext-reform-perl (1.20-5) ... 254s Selecting previously unselected package libtext-autoformat-perl. 254s Preparing to unpack .../159-libtext-autoformat-perl_1.750000-2_all.deb ... 254s Unpacking libtext-autoformat-perl (1.750000-2) ... 254s Selecting previously unselected package libtext-levenshtein-damerau-perl. 254s Preparing to unpack .../160-libtext-levenshtein-damerau-perl_0.41-3_all.deb ... 254s Unpacking libtext-levenshtein-damerau-perl (0.41-3) ... 254s Selecting previously unselected package libtoml-tiny-perl. 254s Preparing to unpack .../161-libtoml-tiny-perl_0.16-1_all.deb ... 254s Unpacking libtoml-tiny-perl (0.16-1) ... 254s Selecting previously unselected package libindirect-perl. 254s Preparing to unpack .../162-libindirect-perl_0.39-2build3_armhf.deb ... 254s Unpacking libindirect-perl (0.39-2build3) ... 254s Selecting previously unselected package libxs-parse-keyword-perl. 254s Preparing to unpack .../163-libxs-parse-keyword-perl_0.39-1build2_armhf.deb ... 254s Unpacking libxs-parse-keyword-perl (0.39-1build2) ... 254s Selecting previously unselected package libxs-parse-sublike-perl:armhf. 254s Preparing to unpack .../164-libxs-parse-sublike-perl_0.21-2build2_armhf.deb ... 254s Unpacking libxs-parse-sublike-perl:armhf (0.21-2build2) ... 254s Selecting previously unselected package libobject-pad-perl. 254s Preparing to unpack .../165-libobject-pad-perl_0.808-1build2_armhf.deb ... 254s Unpacking libobject-pad-perl (0.808-1build2) ... 254s Selecting previously unselected package libsyntax-keyword-try-perl. 254s Preparing to unpack .../166-libsyntax-keyword-try-perl_0.29-1build2_armhf.deb ... 254s Unpacking libsyntax-keyword-try-perl (0.29-1build2) ... 254s Selecting previously unselected package libio-interactive-perl. 254s Preparing to unpack .../167-libio-interactive-perl_1.025-1_all.deb ... 254s Unpacking libio-interactive-perl (1.025-1) ... 254s Selecting previously unselected package liblog-any-perl. 254s Preparing to unpack .../168-liblog-any-perl_1.717-1_all.deb ... 254s Unpacking liblog-any-perl (1.717-1) ... 254s Selecting previously unselected package liblog-any-adapter-screen-perl. 254s Preparing to unpack .../169-liblog-any-adapter-screen-perl_0.140-2_all.deb ... 254s Unpacking liblog-any-adapter-screen-perl (0.140-2) ... 254s Selecting previously unselected package libsub-exporter-progressive-perl. 255s Preparing to unpack .../170-libsub-exporter-progressive-perl_0.001013-3_all.deb ... 255s Unpacking libsub-exporter-progressive-perl (0.001013-3) ... 255s Selecting previously unselected package libvariable-magic-perl. 255s Preparing to unpack .../171-libvariable-magic-perl_0.63-1build2_armhf.deb ... 255s Unpacking libvariable-magic-perl (0.63-1build2) ... 255s Selecting previously unselected package libb-hooks-endofscope-perl. 255s Preparing to unpack .../172-libb-hooks-endofscope-perl_0.28-1_all.deb ... 255s Unpacking libb-hooks-endofscope-perl (0.28-1) ... 255s Selecting previously unselected package libsub-identify-perl. 255s Preparing to unpack .../173-libsub-identify-perl_0.14-3build2_armhf.deb ... 255s Unpacking libsub-identify-perl (0.14-3build2) ... 255s Selecting previously unselected package libsub-name-perl:armhf. 255s Preparing to unpack .../174-libsub-name-perl_0.27-1build2_armhf.deb ... 255s Unpacking libsub-name-perl:armhf (0.27-1build2) ... 255s Selecting previously unselected package libnamespace-clean-perl. 255s Preparing to unpack .../175-libnamespace-clean-perl_0.27-2_all.deb ... 255s Unpacking libnamespace-clean-perl (0.27-2) ... 255s Selecting previously unselected package libnumber-compare-perl. 255s Preparing to unpack .../176-libnumber-compare-perl_0.03-3_all.deb ... 255s Unpacking libnumber-compare-perl (0.03-3) ... 255s Selecting previously unselected package libtext-glob-perl. 255s Preparing to unpack .../177-libtext-glob-perl_0.11-3_all.deb ... 255s Unpacking libtext-glob-perl (0.11-3) ... 255s Selecting previously unselected package libpath-iterator-rule-perl. 255s Preparing to unpack .../178-libpath-iterator-rule-perl_1.015-2_all.deb ... 255s Unpacking libpath-iterator-rule-perl (1.015-2) ... 255s Selecting previously unselected package libpod-parser-perl. 255s Preparing to unpack .../179-libpod-parser-perl_1.67-1_all.deb ... 255s Adding 'diversion of /usr/bin/podselect to /usr/bin/podselect.bundled by libpod-parser-perl' 255s Adding 'diversion of /usr/share/man/man1/podselect.1.gz to /usr/share/man/man1/podselect.bundled.1.gz by libpod-parser-perl' 255s Unpacking libpod-parser-perl (1.67-1) ... 255s Selecting previously unselected package libpod-constants-perl. 255s Preparing to unpack .../180-libpod-constants-perl_0.19-2_all.deb ... 255s Unpacking libpod-constants-perl (0.19-2) ... 255s Selecting previously unselected package libset-intspan-perl. 255s Preparing to unpack .../181-libset-intspan-perl_1.19-3_all.deb ... 255s Unpacking libset-intspan-perl (1.19-3) ... 255s Selecting previously unselected package libstring-copyright-perl. 255s Preparing to unpack .../182-libstring-copyright-perl_0.003014-1_all.deb ... 255s Unpacking libstring-copyright-perl (0.003014-1) ... 255s Selecting previously unselected package libstring-escape-perl. 255s Preparing to unpack .../183-libstring-escape-perl_2010.002-3_all.deb ... 255s Unpacking libstring-escape-perl (2010.002-3) ... 255s Selecting previously unselected package libregexp-pattern-license-perl. 255s Preparing to unpack .../184-libregexp-pattern-license-perl_3.11.0-1_all.deb ... 255s Unpacking libregexp-pattern-license-perl (3.11.0-1) ... 255s Selecting previously unselected package libregexp-pattern-perl. 255s Preparing to unpack .../185-libregexp-pattern-perl_0.2.14-2_all.deb ... 255s Unpacking libregexp-pattern-perl (0.2.14-2) ... 255s Selecting previously unselected package libstring-license-perl. 255s Preparing to unpack .../186-libstring-license-perl_0.0.9-2ubuntu1_all.deb ... 255s Unpacking libstring-license-perl (0.0.9-2ubuntu1) ... 255s Selecting previously unselected package licensecheck. 255s Preparing to unpack .../187-licensecheck_3.3.9-1ubuntu1_all.deb ... 255s Unpacking licensecheck (3.3.9-1ubuntu1) ... 255s Selecting previously unselected package diffstat. 255s Preparing to unpack .../188-diffstat_1.66-1_armhf.deb ... 255s Unpacking diffstat (1.66-1) ... 255s Selecting previously unselected package libberkeleydb-perl:armhf. 255s Preparing to unpack .../189-libberkeleydb-perl_0.64-2build2_armhf.deb ... 255s Unpacking libberkeleydb-perl:armhf (0.64-2build2) ... 255s Selecting previously unselected package libclass-xsaccessor-perl. 255s Preparing to unpack .../190-libclass-xsaccessor-perl_1.19-4build3_armhf.deb ... 255s Unpacking libclass-xsaccessor-perl (1.19-4build3) ... 255s Selecting previously unselected package libconfig-tiny-perl. 255s Preparing to unpack .../191-libconfig-tiny-perl_2.30-1_all.deb ... 255s Unpacking libconfig-tiny-perl (2.30-1) ... 256s Selecting previously unselected package libconst-fast-perl. 256s Preparing to unpack .../192-libconst-fast-perl_0.014-2_all.deb ... 256s Unpacking libconst-fast-perl (0.014-2) ... 256s Selecting previously unselected package libcpanel-json-xs-perl:armhf. 256s Preparing to unpack .../193-libcpanel-json-xs-perl_4.37-1build2_armhf.deb ... 256s Unpacking libcpanel-json-xs-perl:armhf (4.37-1build2) ... 256s Selecting previously unselected package libaliased-perl. 256s Preparing to unpack .../194-libaliased-perl_0.34-3_all.deb ... 256s Unpacking libaliased-perl (0.34-3) ... 256s Selecting previously unselected package libclass-data-inheritable-perl. 256s Preparing to unpack .../195-libclass-data-inheritable-perl_0.08-3_all.deb ... 256s Unpacking libclass-data-inheritable-perl (0.08-3) ... 256s Selecting previously unselected package libdevel-stacktrace-perl. 256s Preparing to unpack .../196-libdevel-stacktrace-perl_2.0500-1_all.deb ... 256s Unpacking libdevel-stacktrace-perl (2.0500-1) ... 256s Selecting previously unselected package libexception-class-perl. 256s Preparing to unpack .../197-libexception-class-perl_1.45-1_all.deb ... 256s Unpacking libexception-class-perl (1.45-1) ... 256s Selecting previously unselected package libiterator-perl. 256s Preparing to unpack .../198-libiterator-perl_0.03+ds1-2_all.deb ... 256s Unpacking libiterator-perl (0.03+ds1-2) ... 256s Selecting previously unselected package libiterator-util-perl. 256s Preparing to unpack .../199-libiterator-util-perl_0.02+ds1-2_all.deb ... 256s Unpacking libiterator-util-perl (0.02+ds1-2) ... 256s Selecting previously unselected package libdata-dpath-perl. 256s Preparing to unpack .../200-libdata-dpath-perl_0.59-1_all.deb ... 256s Unpacking libdata-dpath-perl (0.59-1) ... 256s Selecting previously unselected package libnet-domain-tld-perl. 256s Preparing to unpack .../201-libnet-domain-tld-perl_1.75-3_all.deb ... 256s Unpacking libnet-domain-tld-perl (1.75-3) ... 256s Selecting previously unselected package libdata-validate-domain-perl. 256s Preparing to unpack .../202-libdata-validate-domain-perl_0.10-1.1_all.deb ... 256s Unpacking libdata-validate-domain-perl (0.10-1.1) ... 256s Selecting previously unselected package libnet-ipv6addr-perl. 256s Preparing to unpack .../203-libnet-ipv6addr-perl_1.02-1_all.deb ... 256s Unpacking libnet-ipv6addr-perl (1.02-1) ... 256s Selecting previously unselected package libnet-netmask-perl. 256s Preparing to unpack .../204-libnet-netmask-perl_2.0002-2_all.deb ... 256s Unpacking libnet-netmask-perl (2.0002-2) ... 256s Selecting previously unselected package libnetaddr-ip-perl. 256s Preparing to unpack .../205-libnetaddr-ip-perl_4.079+dfsg-2build3_armhf.deb ... 256s Unpacking libnetaddr-ip-perl (4.079+dfsg-2build3) ... 256s Selecting previously unselected package libdata-validate-ip-perl. 256s Preparing to unpack .../206-libdata-validate-ip-perl_0.31-1_all.deb ... 256s Unpacking libdata-validate-ip-perl (0.31-1) ... 256s Selecting previously unselected package libdata-validate-uri-perl. 256s Preparing to unpack .../207-libdata-validate-uri-perl_0.07-3_all.deb ... 256s Unpacking libdata-validate-uri-perl (0.07-3) ... 256s Selecting previously unselected package libdevel-size-perl. 256s Preparing to unpack .../208-libdevel-size-perl_0.83-2build3_armhf.deb ... 256s Unpacking libdevel-size-perl (0.83-2build3) ... 256s Selecting previously unselected package libemail-address-xs-perl. 256s Preparing to unpack .../209-libemail-address-xs-perl_1.05-1build3_armhf.deb ... 256s Unpacking libemail-address-xs-perl (1.05-1build3) ... 256s Selecting previously unselected package libipc-system-simple-perl. 256s Preparing to unpack .../210-libipc-system-simple-perl_1.30-2_all.deb ... 256s Unpacking libipc-system-simple-perl (1.30-2) ... 256s Selecting previously unselected package libfile-basedir-perl. 256s Preparing to unpack .../211-libfile-basedir-perl_0.09-2_all.deb ... 256s Unpacking libfile-basedir-perl (0.09-2) ... 256s Selecting previously unselected package libfile-find-rule-perl. 256s Preparing to unpack .../212-libfile-find-rule-perl_0.34-3_all.deb ... 256s Unpacking libfile-find-rule-perl (0.34-3) ... 256s Selecting previously unselected package libio-string-perl. 256s Preparing to unpack .../213-libio-string-perl_1.08-4_all.deb ... 256s Unpacking libio-string-perl (1.08-4) ... 256s Selecting previously unselected package libfont-ttf-perl. 256s Preparing to unpack .../214-libfont-ttf-perl_1.06-2_all.deb ... 256s Unpacking libfont-ttf-perl (1.06-2) ... 256s Selecting previously unselected package libhtml-html5-entities-perl. 256s Preparing to unpack .../215-libhtml-html5-entities-perl_0.004-3_all.deb ... 256s Unpacking libhtml-html5-entities-perl (0.004-3) ... 256s Selecting previously unselected package libhtml-tokeparser-simple-perl. 257s Preparing to unpack .../216-libhtml-tokeparser-simple-perl_3.16-4_all.deb ... 257s Unpacking libhtml-tokeparser-simple-perl (3.16-4) ... 257s Selecting previously unselected package libipc-run3-perl. 257s Preparing to unpack .../217-libipc-run3-perl_0.049-1_all.deb ... 257s Unpacking libipc-run3-perl (0.049-1) ... 257s Selecting previously unselected package libjson-maybexs-perl. 257s Preparing to unpack .../218-libjson-maybexs-perl_1.004005-1_all.deb ... 257s Unpacking libjson-maybexs-perl (1.004005-1) ... 257s Selecting previously unselected package liblist-compare-perl. 257s Preparing to unpack .../219-liblist-compare-perl_0.55-2_all.deb ... 257s Unpacking liblist-compare-perl (0.55-2) ... 257s Selecting previously unselected package liblist-someutils-perl. 257s Preparing to unpack .../220-liblist-someutils-perl_0.59-1_all.deb ... 257s Unpacking liblist-someutils-perl (0.59-1) ... 257s Selecting previously unselected package liblist-utilsby-perl. 257s Preparing to unpack .../221-liblist-utilsby-perl_0.12-2_all.deb ... 257s Unpacking liblist-utilsby-perl (0.12-2) ... 257s Selecting previously unselected package libmldbm-perl. 257s Preparing to unpack .../222-libmldbm-perl_2.05-4_all.deb ... 257s Unpacking libmldbm-perl (2.05-4) ... 257s Selecting previously unselected package libclass-method-modifiers-perl. 257s Preparing to unpack .../223-libclass-method-modifiers-perl_2.15-1_all.deb ... 257s Unpacking libclass-method-modifiers-perl (2.15-1) ... 257s Selecting previously unselected package libimport-into-perl. 257s Preparing to unpack .../224-libimport-into-perl_1.002005-2_all.deb ... 257s Unpacking libimport-into-perl (1.002005-2) ... 257s Selecting previously unselected package librole-tiny-perl. 257s Preparing to unpack .../225-librole-tiny-perl_2.002004-1_all.deb ... 257s Unpacking librole-tiny-perl (2.002004-1) ... 257s Selecting previously unselected package libsub-quote-perl. 257s Preparing to unpack .../226-libsub-quote-perl_2.006008-1ubuntu1_all.deb ... 257s Unpacking libsub-quote-perl (2.006008-1ubuntu1) ... 257s Selecting previously unselected package libmoo-perl. 257s Preparing to unpack .../227-libmoo-perl_2.005005-1_all.deb ... 257s Unpacking libmoo-perl (2.005005-1) ... 257s Selecting previously unselected package libstrictures-perl. 257s Preparing to unpack .../228-libstrictures-perl_2.000006-1_all.deb ... 257s Unpacking libstrictures-perl (2.000006-1) ... 257s Selecting previously unselected package libmoox-aliases-perl. 257s Preparing to unpack .../229-libmoox-aliases-perl_0.001006-2_all.deb ... 257s Unpacking libmoox-aliases-perl (0.001006-2) ... 257s Selecting previously unselected package libperlio-gzip-perl. 257s Preparing to unpack .../230-libperlio-gzip-perl_0.20-1build3_armhf.deb ... 257s Unpacking libperlio-gzip-perl (0.20-1build3) ... 257s Selecting previously unselected package libperlio-utf8-strict-perl. 257s Preparing to unpack .../231-libperlio-utf8-strict-perl_0.010-1build2_armhf.deb ... 257s Unpacking libperlio-utf8-strict-perl (0.010-1build2) ... 257s Selecting previously unselected package libproc-processtable-perl:armhf. 257s Preparing to unpack .../232-libproc-processtable-perl_0.636-1build2_armhf.deb ... 257s Unpacking libproc-processtable-perl:armhf (0.636-1build2) ... 257s Selecting previously unselected package libregexp-wildcards-perl. 257s Preparing to unpack .../233-libregexp-wildcards-perl_1.05-3_all.deb ... 257s Unpacking libregexp-wildcards-perl (1.05-3) ... 257s Selecting previously unselected package libsereal-decoder-perl. 257s Preparing to unpack .../234-libsereal-decoder-perl_5.004+ds-1build2_armhf.deb ... 257s Unpacking libsereal-decoder-perl (5.004+ds-1build2) ... 257s Selecting previously unselected package libsereal-encoder-perl. 257s Preparing to unpack .../235-libsereal-encoder-perl_5.004+ds-1build2_armhf.deb ... 257s Unpacking libsereal-encoder-perl (5.004+ds-1build2) ... 257s Selecting previously unselected package libterm-readkey-perl. 257s Preparing to unpack .../236-libterm-readkey-perl_2.38-2build3_armhf.deb ... 257s Unpacking libterm-readkey-perl (2.38-2build3) ... 257s Selecting previously unselected package libtext-levenshteinxs-perl. 257s Preparing to unpack .../237-libtext-levenshteinxs-perl_0.03-5build3_armhf.deb ... 257s Unpacking libtext-levenshteinxs-perl (0.03-5build3) ... 257s Selecting previously unselected package libmarkdown2:armhf. 257s Preparing to unpack .../238-libmarkdown2_2.2.7-2_armhf.deb ... 257s Unpacking libmarkdown2:armhf (2.2.7-2) ... 257s Selecting previously unselected package libtext-markdown-discount-perl. 257s Preparing to unpack .../239-libtext-markdown-discount-perl_0.16-1build2_armhf.deb ... 257s Unpacking libtext-markdown-discount-perl (0.16-1build2) ... 257s Selecting previously unselected package libdata-messagepack-perl. 257s Preparing to unpack .../240-libdata-messagepack-perl_1.02-1build3_armhf.deb ... 257s Unpacking libdata-messagepack-perl (1.02-1build3) ... 257s Selecting previously unselected package libtext-xslate-perl:armhf. 257s Preparing to unpack .../241-libtext-xslate-perl_3.5.9-1build4_armhf.deb ... 257s Unpacking libtext-xslate-perl:armhf (3.5.9-1build4) ... 258s Selecting previously unselected package libtime-duration-perl. 258s Preparing to unpack .../242-libtime-duration-perl_1.21-2_all.deb ... 258s Unpacking libtime-duration-perl (1.21-2) ... 258s Selecting previously unselected package libtime-moment-perl. 258s Preparing to unpack .../243-libtime-moment-perl_0.44-2build3_armhf.deb ... 258s Unpacking libtime-moment-perl (0.44-2build3) ... 258s Selecting previously unselected package libunicode-utf8-perl. 258s Preparing to unpack .../244-libunicode-utf8-perl_0.62-2build2_armhf.deb ... 258s Unpacking libunicode-utf8-perl (0.62-2build2) ... 258s Selecting previously unselected package libcgi-pm-perl. 258s Preparing to unpack .../245-libcgi-pm-perl_4.63-1_all.deb ... 258s Unpacking libcgi-pm-perl (4.63-1) ... 258s Selecting previously unselected package libhtml-form-perl. 258s Preparing to unpack .../246-libhtml-form-perl_6.11-1_all.deb ... 258s Unpacking libhtml-form-perl (6.11-1) ... 258s Selecting previously unselected package libwww-mechanize-perl. 258s Preparing to unpack .../247-libwww-mechanize-perl_2.18-1ubuntu1_all.deb ... 258s Unpacking libwww-mechanize-perl (2.18-1ubuntu1) ... 258s Selecting previously unselected package libxml-namespacesupport-perl. 258s Preparing to unpack .../248-libxml-namespacesupport-perl_1.12-2_all.deb ... 258s Unpacking libxml-namespacesupport-perl (1.12-2) ... 258s Selecting previously unselected package libxml-sax-base-perl. 258s Preparing to unpack .../249-libxml-sax-base-perl_1.09-3_all.deb ... 258s Unpacking libxml-sax-base-perl (1.09-3) ... 258s Selecting previously unselected package libxml-sax-perl. 258s Preparing to unpack .../250-libxml-sax-perl_1.02+dfsg-3_all.deb ... 258s Unpacking libxml-sax-perl (1.02+dfsg-3) ... 258s Selecting previously unselected package libxml-libxml-perl. 258s Preparing to unpack .../251-libxml-libxml-perl_2.0207+dfsg+really+2.0134-1build3_armhf.deb ... 258s Unpacking libxml-libxml-perl (2.0207+dfsg+really+2.0134-1build3) ... 258s Selecting previously unselected package lzip. 258s Preparing to unpack .../252-lzip_1.24.1-1_armhf.deb ... 258s Unpacking lzip (1.24.1-1) ... 258s Selecting previously unselected package lzop. 258s Preparing to unpack .../253-lzop_1.04-2build2_armhf.deb ... 258s Unpacking lzop (1.04-2build2) ... 258s Selecting previously unselected package patchutils. 258s Preparing to unpack .../254-patchutils_0.4.2-1build2_armhf.deb ... 258s Unpacking patchutils (0.4.2-1build2) ... 258s Selecting previously unselected package t1utils. 258s Preparing to unpack .../255-t1utils_1.41-4build2_armhf.deb ... 258s Unpacking t1utils (1.41-4build2) ... 258s Selecting previously unselected package unzip. 258s Preparing to unpack .../256-unzip_6.0-28ubuntu3_armhf.deb ... 258s Unpacking unzip (6.0-28ubuntu3) ... 258s Selecting previously unselected package lintian. 258s Preparing to unpack .../257-lintian_2.117.0ubuntu1_all.deb ... 258s Unpacking lintian (2.117.0ubuntu1) ... 259s Selecting previously unselected package libconfig-model-dpkg-perl. 259s Preparing to unpack .../258-libconfig-model-dpkg-perl_3.004_all.deb ... 259s Unpacking libconfig-model-dpkg-perl (3.004) ... 259s Selecting previously unselected package libconvert-binhex-perl. 259s Preparing to unpack .../259-libconvert-binhex-perl_1.125-3_all.deb ... 259s Unpacking libconvert-binhex-perl (1.125-3) ... 259s Selecting previously unselected package libnet-smtp-ssl-perl. 259s Preparing to unpack .../260-libnet-smtp-ssl-perl_1.04-2_all.deb ... 259s Unpacking libnet-smtp-ssl-perl (1.04-2) ... 259s Selecting previously unselected package libmailtools-perl. 259s Preparing to unpack .../261-libmailtools-perl_2.21-2_all.deb ... 259s Unpacking libmailtools-perl (2.21-2) ... 259s Selecting previously unselected package libmime-tools-perl. 259s Preparing to unpack .../262-libmime-tools-perl_5.514-1_all.deb ... 259s Unpacking libmime-tools-perl (5.514-1) ... 259s Selecting previously unselected package libsuitesparseconfig7:armhf. 259s Preparing to unpack .../263-libsuitesparseconfig7_1%3a7.6.1+dfsg-1_armhf.deb ... 259s Unpacking libsuitesparseconfig7:armhf (1:7.6.1+dfsg-1) ... 259s Selecting previously unselected package libamd3:armhf. 259s Preparing to unpack .../264-libamd3_1%3a7.6.1+dfsg-1_armhf.deb ... 259s Unpacking libamd3:armhf (1:7.6.1+dfsg-1) ... 259s Selecting previously unselected package libblas3:armhf. 259s Preparing to unpack .../265-libblas3_3.12.0-3_armhf.deb ... 259s Unpacking libblas3:armhf (3.12.0-3) ... 259s Selecting previously unselected package libgfortran5:armhf. 259s Preparing to unpack .../266-libgfortran5_14-20240315-1ubuntu1_armhf.deb ... 259s Unpacking libgfortran5:armhf (14-20240315-1ubuntu1) ... 259s Selecting previously unselected package liblapack3:armhf. 259s Preparing to unpack .../267-liblapack3_3.12.0-3_armhf.deb ... 259s Unpacking liblapack3:armhf (3.12.0-3) ... 259s Selecting previously unselected package libarpack2t64:armhf. 259s Preparing to unpack .../268-libarpack2t64_3.9.1-1.1build1_armhf.deb ... 259s Unpacking libarpack2t64:armhf (3.9.1-1.1build1) ... 259s Selecting previously unselected package libccolamd3:armhf. 259s Preparing to unpack .../269-libccolamd3_1%3a7.6.1+dfsg-1_armhf.deb ... 259s Unpacking libccolamd3:armhf (1:7.6.1+dfsg-1) ... 259s Selecting previously unselected package libcamd3:armhf. 259s Preparing to unpack .../270-libcamd3_1%3a7.6.1+dfsg-1_armhf.deb ... 259s Unpacking libcamd3:armhf (1:7.6.1+dfsg-1) ... 259s Selecting previously unselected package libcolamd3:armhf. 259s Preparing to unpack .../271-libcolamd3_1%3a7.6.1+dfsg-1_armhf.deb ... 259s Unpacking libcolamd3:armhf (1:7.6.1+dfsg-1) ... 259s Selecting previously unselected package libcholmod5:armhf. 259s Preparing to unpack .../272-libcholmod5_1%3a7.6.1+dfsg-1_armhf.deb ... 259s Unpacking libcholmod5:armhf (1:7.6.1+dfsg-1) ... 259s Selecting previously unselected package libcxsparse4:armhf. 259s Preparing to unpack .../273-libcxsparse4_1%3a7.6.1+dfsg-1_armhf.deb ... 259s Unpacking libcxsparse4:armhf (1:7.6.1+dfsg-1) ... 259s Selecting previously unselected package libfftw3-double3:armhf. 259s Preparing to unpack .../274-libfftw3-double3_3.3.10-1ubuntu2_armhf.deb ... 259s Unpacking libfftw3-double3:armhf (3.3.10-1ubuntu2) ... 259s Selecting previously unselected package libfftw3-single3:armhf. 259s Preparing to unpack .../275-libfftw3-single3_3.3.10-1ubuntu2_armhf.deb ... 259s Unpacking libfftw3-single3:armhf (3.3.10-1ubuntu2) ... 259s Selecting previously unselected package libxfixes3:armhf. 259s Preparing to unpack .../276-libxfixes3_1%3a6.0.0-2_armhf.deb ... 259s Unpacking libxfixes3:armhf (1:6.0.0-2) ... 259s Selecting previously unselected package libxcursor1:armhf. 259s Preparing to unpack .../277-libxcursor1_1%3a1.2.1-1_armhf.deb ... 259s Unpacking libxcursor1:armhf (1:1.2.1-1) ... 259s Selecting previously unselected package libxft2:armhf. 259s Preparing to unpack .../278-libxft2_2.3.6-1_armhf.deb ... 259s Unpacking libxft2:armhf (2.3.6-1) ... 259s Selecting previously unselected package libxinerama1:armhf. 259s Preparing to unpack .../279-libxinerama1_2%3a1.1.4-3_armhf.deb ... 259s Unpacking libxinerama1:armhf (2:1.1.4-3) ... 260s Selecting previously unselected package libfltk1.3t64:armhf. 260s Preparing to unpack .../280-libfltk1.3t64_1.3.8-6.1_armhf.deb ... 260s Unpacking libfltk1.3t64:armhf (1.3.8-6.1) ... 260s Selecting previously unselected package libglvnd0:armhf. 260s Preparing to unpack .../281-libglvnd0_1.7.0-1_armhf.deb ... 260s Unpacking libglvnd0:armhf (1.7.0-1) ... 260s Selecting previously unselected package libglapi-mesa:armhf. 260s Preparing to unpack .../282-libglapi-mesa_24.0.3-1ubuntu3_armhf.deb ... 260s Unpacking libglapi-mesa:armhf (24.0.3-1ubuntu3) ... 260s Selecting previously unselected package libx11-xcb1:armhf. 260s Preparing to unpack .../283-libx11-xcb1_2%3a1.8.7-1_armhf.deb ... 260s Unpacking libx11-xcb1:armhf (2:1.8.7-1) ... 260s Selecting previously unselected package libxcb-dri2-0:armhf. 260s Preparing to unpack .../284-libxcb-dri2-0_1.15-1_armhf.deb ... 260s Unpacking libxcb-dri2-0:armhf (1.15-1) ... 260s Selecting previously unselected package libxcb-dri3-0:armhf. 260s Preparing to unpack .../285-libxcb-dri3-0_1.15-1_armhf.deb ... 260s Unpacking libxcb-dri3-0:armhf (1.15-1) ... 260s Selecting previously unselected package libxcb-glx0:armhf. 260s Preparing to unpack .../286-libxcb-glx0_1.15-1_armhf.deb ... 260s Unpacking libxcb-glx0:armhf (1.15-1) ... 260s Selecting previously unselected package libxcb-present0:armhf. 260s Preparing to unpack .../287-libxcb-present0_1.15-1_armhf.deb ... 260s Unpacking libxcb-present0:armhf (1.15-1) ... 260s Selecting previously unselected package libxcb-randr0:armhf. 260s Preparing to unpack .../288-libxcb-randr0_1.15-1_armhf.deb ... 260s Unpacking libxcb-randr0:armhf (1.15-1) ... 260s Selecting previously unselected package libxcb-sync1:armhf. 260s Preparing to unpack .../289-libxcb-sync1_1.15-1_armhf.deb ... 260s Unpacking libxcb-sync1:armhf (1.15-1) ... 260s Selecting previously unselected package libxcb-xfixes0:armhf. 260s Preparing to unpack .../290-libxcb-xfixes0_1.15-1_armhf.deb ... 260s Unpacking libxcb-xfixes0:armhf (1.15-1) ... 260s Selecting previously unselected package libxshmfence1:armhf. 260s Preparing to unpack .../291-libxshmfence1_1.3-1build4_armhf.deb ... 260s Unpacking libxshmfence1:armhf (1.3-1build4) ... 260s Selecting previously unselected package libxxf86vm1:armhf. 260s Preparing to unpack .../292-libxxf86vm1_1%3a1.1.4-1build3_armhf.deb ... 260s Unpacking libxxf86vm1:armhf (1:1.1.4-1build3) ... 260s Selecting previously unselected package libvulkan1:armhf. 260s Preparing to unpack .../293-libvulkan1_1.3.275.0-1_armhf.deb ... 260s Unpacking libvulkan1:armhf (1.3.275.0-1) ... 260s Selecting previously unselected package libdrm-amdgpu1:armhf. 260s Preparing to unpack .../294-libdrm-amdgpu1_2.4.120-2_armhf.deb ... 260s Unpacking libdrm-amdgpu1:armhf (2.4.120-2) ... 260s Selecting previously unselected package libdrm-nouveau2:armhf. 260s Preparing to unpack .../295-libdrm-nouveau2_2.4.120-2_armhf.deb ... 260s Unpacking libdrm-nouveau2:armhf (2.4.120-2) ... 260s Selecting previously unselected package libdrm-radeon1:armhf. 260s Preparing to unpack .../296-libdrm-radeon1_2.4.120-2_armhf.deb ... 260s Unpacking libdrm-radeon1:armhf (2.4.120-2) ... 260s Selecting previously unselected package libllvm17t64:armhf. 260s Preparing to unpack .../297-libllvm17t64_1%3a17.0.6-9build1_armhf.deb ... 260s Unpacking libllvm17t64:armhf (1:17.0.6-9build1) ... 261s Selecting previously unselected package libgl1-mesa-dri:armhf. 261s Preparing to unpack .../298-libgl1-mesa-dri_24.0.3-1ubuntu3_armhf.deb ... 261s Unpacking libgl1-mesa-dri:armhf (24.0.3-1ubuntu3) ... 261s Selecting previously unselected package libglx-mesa0:armhf. 261s Preparing to unpack .../299-libglx-mesa0_24.0.3-1ubuntu3_armhf.deb ... 261s Unpacking libglx-mesa0:armhf (24.0.3-1ubuntu3) ... 261s Selecting previously unselected package libglx0:armhf. 261s Preparing to unpack .../300-libglx0_1.7.0-1_armhf.deb ... 261s Unpacking libglx0:armhf (1.7.0-1) ... 261s Selecting previously unselected package libgl1:armhf. 261s Preparing to unpack .../301-libgl1_1.7.0-1_armhf.deb ... 261s Unpacking libgl1:armhf (1.7.0-1) ... 261s Selecting previously unselected package libfltk-gl1.3t64:armhf. 261s Preparing to unpack .../302-libfltk-gl1.3t64_1.3.8-6.1_armhf.deb ... 261s Unpacking libfltk-gl1.3t64:armhf (1.3.8-6.1) ... 261s Selecting previously unselected package libgl2ps1.4. 261s Preparing to unpack .../303-libgl2ps1.4_1.4.2+dfsg1-2_armhf.deb ... 261s Unpacking libgl2ps1.4 (1.4.2+dfsg1-2) ... 261s Selecting previously unselected package libltdl7:armhf. 261s Preparing to unpack .../304-libltdl7_2.4.7-7_armhf.deb ... 261s Unpacking libltdl7:armhf (2.4.7-7) ... 261s Selecting previously unselected package libglpk40:armhf. 261s Preparing to unpack .../305-libglpk40_5.0-1build1_armhf.deb ... 261s Unpacking libglpk40:armhf (5.0-1build1) ... 261s Selecting previously unselected package libopengl0:armhf. 261s Preparing to unpack .../306-libopengl0_1.7.0-1_armhf.deb ... 261s Unpacking libopengl0:armhf (1.7.0-1) ... 261s Selecting previously unselected package libglu1-mesa:armhf. 261s Preparing to unpack .../307-libglu1-mesa_9.0.2-1.1_armhf.deb ... 261s Unpacking libglu1-mesa:armhf (9.0.2-1.1) ... 262s Selecting previously unselected package libdav1d7:armhf. 262s Preparing to unpack .../308-libdav1d7_1.4.1-1_armhf.deb ... 262s Unpacking libdav1d7:armhf (1.4.1-1) ... 262s Selecting previously unselected package libheif-plugin-dav1d:armhf. 262s Preparing to unpack .../309-libheif-plugin-dav1d_1.17.6-1ubuntu2_armhf.deb ... 262s Unpacking libheif-plugin-dav1d:armhf (1.17.6-1ubuntu2) ... 262s Selecting previously unselected package libde265-0:armhf. 262s Preparing to unpack .../310-libde265-0_1.0.15-1build1_armhf.deb ... 262s Unpacking libde265-0:armhf (1.0.15-1build1) ... 262s Selecting previously unselected package libheif-plugin-libde265:armhf. 262s Preparing to unpack .../311-libheif-plugin-libde265_1.17.6-1ubuntu2_armhf.deb ... 262s Unpacking libheif-plugin-libde265:armhf (1.17.6-1ubuntu2) ... 262s Selecting previously unselected package libheif1:armhf. 262s Preparing to unpack .../312-libheif1_1.17.6-1ubuntu2_armhf.deb ... 262s Unpacking libheif1:armhf (1.17.6-1ubuntu2) ... 262s Selecting previously unselected package libhwy1t64:armhf. 262s Preparing to unpack .../313-libhwy1t64_1.0.7-8.1_armhf.deb ... 262s Unpacking libhwy1t64:armhf (1.0.7-8.1) ... 262s Selecting previously unselected package liblcms2-2:armhf. 262s Preparing to unpack .../314-liblcms2-2_2.14-2_armhf.deb ... 262s Unpacking liblcms2-2:armhf (2.14-2) ... 262s Selecting previously unselected package libjxl0.7:armhf. 262s Preparing to unpack .../315-libjxl0.7_0.7.0-10.2ubuntu3_armhf.deb ... 262s Unpacking libjxl0.7:armhf (0.7.0-10.2ubuntu3) ... 262s Selecting previously unselected package libwmflite-0.2-7:armhf. 262s Preparing to unpack .../316-libwmflite-0.2-7_0.2.13-1.1build2_armhf.deb ... 262s Unpacking libwmflite-0.2-7:armhf (0.2.13-1.1build2) ... 262s Selecting previously unselected package libgraphicsmagick-q16-3t64. 262s Preparing to unpack .../317-libgraphicsmagick-q16-3t64_1.4+really1.3.42-1.1build1_armhf.deb ... 262s Unpacking libgraphicsmagick-q16-3t64 (1.4+really1.3.42-1.1build1) ... 262s Selecting previously unselected package libgraphicsmagick++-q16-12t64. 262s Preparing to unpack .../318-libgraphicsmagick++-q16-12t64_1.4+really1.3.42-1.1build1_armhf.deb ... 262s Unpacking libgraphicsmagick++-q16-12t64 (1.4+really1.3.42-1.1build1) ... 262s Selecting previously unselected package libaec0:armhf. 262s Preparing to unpack .../319-libaec0_1.1.2-1_armhf.deb ... 262s Unpacking libaec0:armhf (1.1.2-1) ... 262s Selecting previously unselected package libsz2:armhf. 262s Preparing to unpack .../320-libsz2_1.1.2-1_armhf.deb ... 262s Unpacking libsz2:armhf (1.1.2-1) ... 262s Selecting previously unselected package libhdf5-103-1t64:armhf. 262s Preparing to unpack .../321-libhdf5-103-1t64_1.10.10+repack-3.1ubuntu3_armhf.deb ... 262s Unpacking libhdf5-103-1t64:armhf (1.10.10+repack-3.1ubuntu3) ... 262s Selecting previously unselected package libasound2-data. 262s Preparing to unpack .../322-libasound2-data_1.2.11-1build1_all.deb ... 262s Unpacking libasound2-data (1.2.11-1build1) ... 262s Selecting previously unselected package libasound2t64:armhf. 262s Preparing to unpack .../323-libasound2t64_1.2.11-1build1_armhf.deb ... 262s Unpacking libasound2t64:armhf (1.2.11-1build1) ... 262s Selecting previously unselected package libopus0:armhf. 262s Preparing to unpack .../324-libopus0_1.4-1_armhf.deb ... 262s Unpacking libopus0:armhf (1.4-1) ... 262s Selecting previously unselected package libsamplerate0:armhf. 262s Preparing to unpack .../325-libsamplerate0_0.2.2-4_armhf.deb ... 262s Unpacking libsamplerate0:armhf (0.2.2-4) ... 262s Selecting previously unselected package libjack-jackd2-0:armhf. 262s Preparing to unpack .../326-libjack-jackd2-0_1.9.21~dfsg-3ubuntu1_armhf.deb ... 262s Unpacking libjack-jackd2-0:armhf (1.9.21~dfsg-3ubuntu1) ... 263s Selecting previously unselected package libportaudio2:armhf. 263s Preparing to unpack .../327-libportaudio2_19.6.0-1.2build1_armhf.deb ... 263s Unpacking libportaudio2:armhf (19.6.0-1.2build1) ... 263s Selecting previously unselected package libqhull-r8.0:armhf. 263s Preparing to unpack .../328-libqhull-r8.0_2020.2-6_armhf.deb ... 263s Unpacking libqhull-r8.0:armhf (2020.2-6) ... 263s Selecting previously unselected package libqrupdate1:armhf. 263s Preparing to unpack .../329-libqrupdate1_1.1.2-4_armhf.deb ... 263s Unpacking libqrupdate1:armhf (1.1.2-4) ... 263s Selecting previously unselected package libqscintilla2-qt5-l10n. 263s Preparing to unpack .../330-libqscintilla2-qt5-l10n_2.14.1+dfsg-1build2_all.deb ... 263s Unpacking libqscintilla2-qt5-l10n (2.14.1+dfsg-1build2) ... 263s Selecting previously unselected package libdouble-conversion3:armhf. 263s Preparing to unpack .../331-libdouble-conversion3_3.3.0-1_armhf.deb ... 263s Unpacking libdouble-conversion3:armhf (3.3.0-1) ... 263s Selecting previously unselected package libpcre2-16-0:armhf. 263s Preparing to unpack .../332-libpcre2-16-0_10.42-4ubuntu1_armhf.deb ... 263s Unpacking libpcre2-16-0:armhf (10.42-4ubuntu1) ... 264s Selecting previously unselected package libqt5core5t64:armhf. 264s Preparing to unpack .../333-libqt5core5t64_5.15.12+dfsg-3ubuntu6_armhf.deb ... 264s Unpacking libqt5core5t64:armhf (5.15.12+dfsg-3ubuntu6) ... 264s Selecting previously unselected package libwayland-server0:armhf. 264s Preparing to unpack .../334-libwayland-server0_1.22.0-2.1_armhf.deb ... 264s Unpacking libwayland-server0:armhf (1.22.0-2.1) ... 264s Selecting previously unselected package libgbm1:armhf. 264s Preparing to unpack .../335-libgbm1_24.0.3-1ubuntu3_armhf.deb ... 264s Unpacking libgbm1:armhf (24.0.3-1ubuntu3) ... 264s Selecting previously unselected package libwayland-client0:armhf. 264s Preparing to unpack .../336-libwayland-client0_1.22.0-2.1_armhf.deb ... 264s Unpacking libwayland-client0:armhf (1.22.0-2.1) ... 264s Selecting previously unselected package libegl-mesa0:armhf. 265s Preparing to unpack .../337-libegl-mesa0_24.0.3-1ubuntu3_armhf.deb ... 265s Unpacking libegl-mesa0:armhf (24.0.3-1ubuntu3) ... 265s Selecting previously unselected package libegl1:armhf. 265s Preparing to unpack .../338-libegl1_1.7.0-1_armhf.deb ... 265s Unpacking libegl1:armhf (1.7.0-1) ... 265s Selecting previously unselected package libgles2:armhf. 265s Preparing to unpack .../339-libgles2_1.7.0-1_armhf.deb ... 265s Unpacking libgles2:armhf (1.7.0-1) ... 265s Selecting previously unselected package x11-common. 265s Preparing to unpack .../340-x11-common_1%3a7.7+23ubuntu2_all.deb ... 265s Unpacking x11-common (1:7.7+23ubuntu2) ... 265s Selecting previously unselected package libice6:armhf. 265s Preparing to unpack .../341-libice6_2%3a1.0.10-1build2_armhf.deb ... 265s Unpacking libice6:armhf (2:1.0.10-1build2) ... 265s Selecting previously unselected package libmtdev1t64:armhf. 265s Preparing to unpack .../342-libmtdev1t64_1.1.6-1.1_armhf.deb ... 265s Unpacking libmtdev1t64:armhf (1.1.6-1.1) ... 265s Selecting previously unselected package libwacom-common. 265s Preparing to unpack .../343-libwacom-common_2.10.0-1build1_all.deb ... 265s Unpacking libwacom-common (2.10.0-1build1) ... 266s Selecting previously unselected package libwacom9:armhf. 266s Preparing to unpack .../344-libwacom9_2.10.0-1build1_armhf.deb ... 266s Unpacking libwacom9:armhf (2.10.0-1build1) ... 266s Selecting previously unselected package libinput-bin. 266s Preparing to unpack .../345-libinput-bin_1.25.0-1build1_armhf.deb ... 266s Unpacking libinput-bin (1.25.0-1build1) ... 266s Selecting previously unselected package libinput10:armhf. 266s Preparing to unpack .../346-libinput10_1.25.0-1build1_armhf.deb ... 266s Unpacking libinput10:armhf (1.25.0-1build1) ... 266s Selecting previously unselected package libmd4c0:armhf. 266s Preparing to unpack .../347-libmd4c0_0.4.8-1_armhf.deb ... 266s Unpacking libmd4c0:armhf (0.4.8-1) ... 266s Selecting previously unselected package libqt5dbus5t64:armhf. 266s Preparing to unpack .../348-libqt5dbus5t64_5.15.12+dfsg-3ubuntu6_armhf.deb ... 266s Unpacking libqt5dbus5t64:armhf (5.15.12+dfsg-3ubuntu6) ... 266s Selecting previously unselected package libqt5network5t64:armhf. 266s Preparing to unpack .../349-libqt5network5t64_5.15.12+dfsg-3ubuntu6_armhf.deb ... 266s Unpacking libqt5network5t64:armhf (5.15.12+dfsg-3ubuntu6) ... 266s Selecting previously unselected package libsm6:armhf. 266s Preparing to unpack .../350-libsm6_2%3a1.2.3-1build2_armhf.deb ... 266s Unpacking libsm6:armhf (2:1.2.3-1build2) ... 266s Selecting previously unselected package libxcb-icccm4:armhf. 266s Preparing to unpack .../351-libxcb-icccm4_0.4.1-1.1build2_armhf.deb ... 266s Unpacking libxcb-icccm4:armhf (0.4.1-1.1build2) ... 266s Selecting previously unselected package libxcb-util1:armhf. 266s Preparing to unpack .../352-libxcb-util1_0.4.0-1build2_armhf.deb ... 266s Unpacking libxcb-util1:armhf (0.4.0-1build2) ... 266s Selecting previously unselected package libxcb-image0:armhf. 266s Preparing to unpack .../353-libxcb-image0_0.4.0-2_armhf.deb ... 266s Unpacking libxcb-image0:armhf (0.4.0-2) ... 266s Selecting previously unselected package libxcb-keysyms1:armhf. 266s Preparing to unpack .../354-libxcb-keysyms1_0.4.0-1build3_armhf.deb ... 266s Unpacking libxcb-keysyms1:armhf (0.4.0-1build3) ... 266s Selecting previously unselected package libxcb-render-util0:armhf. 266s Preparing to unpack .../355-libxcb-render-util0_0.3.9-1build3_armhf.deb ... 266s Unpacking libxcb-render-util0:armhf (0.3.9-1build3) ... 266s Selecting previously unselected package libxcb-shape0:armhf. 266s Preparing to unpack .../356-libxcb-shape0_1.15-1_armhf.deb ... 266s Unpacking libxcb-shape0:armhf (1.15-1) ... 266s Selecting previously unselected package libxcb-xinerama0:armhf. 266s Preparing to unpack .../357-libxcb-xinerama0_1.15-1_armhf.deb ... 266s Unpacking libxcb-xinerama0:armhf (1.15-1) ... 266s Selecting previously unselected package libxcb-xinput0:armhf. 266s Preparing to unpack .../358-libxcb-xinput0_1.15-1_armhf.deb ... 266s Unpacking libxcb-xinput0:armhf (1.15-1) ... 267s Selecting previously unselected package libxcb-xkb1:armhf. 267s Preparing to unpack .../359-libxcb-xkb1_1.15-1_armhf.deb ... 267s Unpacking libxcb-xkb1:armhf (1.15-1) ... 267s Selecting previously unselected package libxkbcommon-x11-0:armhf. 267s Preparing to unpack .../360-libxkbcommon-x11-0_1.6.0-1_armhf.deb ... 267s Unpacking libxkbcommon-x11-0:armhf (1.6.0-1) ... 267s Selecting previously unselected package libqt5gui5t64:armhf. 267s Preparing to unpack .../361-libqt5gui5t64_5.15.12+dfsg-3ubuntu6_armhf.deb ... 267s Unpacking libqt5gui5t64:armhf (5.15.12+dfsg-3ubuntu6) ... 267s Selecting previously unselected package libavahi-common-data:armhf. 267s Preparing to unpack .../362-libavahi-common-data_0.8-13ubuntu4_armhf.deb ... 267s Unpacking libavahi-common-data:armhf (0.8-13ubuntu4) ... 267s Selecting previously unselected package libavahi-common3:armhf. 267s Preparing to unpack .../363-libavahi-common3_0.8-13ubuntu4_armhf.deb ... 267s Unpacking libavahi-common3:armhf (0.8-13ubuntu4) ... 267s Selecting previously unselected package libavahi-client3:armhf. 267s Preparing to unpack .../364-libavahi-client3_0.8-13ubuntu4_armhf.deb ... 267s Unpacking libavahi-client3:armhf (0.8-13ubuntu4) ... 267s Selecting previously unselected package libcups2t64:armhf. 267s Preparing to unpack .../365-libcups2t64_2.4.7-1.2ubuntu1_armhf.deb ... 267s Unpacking libcups2t64:armhf (2.4.7-1.2ubuntu1) ... 267s Selecting previously unselected package libqt5widgets5t64:armhf. 267s Preparing to unpack .../366-libqt5widgets5t64_5.15.12+dfsg-3ubuntu6_armhf.deb ... 267s Unpacking libqt5widgets5t64:armhf (5.15.12+dfsg-3ubuntu6) ... 267s Selecting previously unselected package libqt5printsupport5t64:armhf. 267s Preparing to unpack .../367-libqt5printsupport5t64_5.15.12+dfsg-3ubuntu6_armhf.deb ... 267s Unpacking libqt5printsupport5t64:armhf (5.15.12+dfsg-3ubuntu6) ... 267s Selecting previously unselected package libqscintilla2-qt5-15:armhf. 267s Preparing to unpack .../368-libqscintilla2-qt5-15_2.14.1+dfsg-1build2_armhf.deb ... 267s Unpacking libqscintilla2-qt5-15:armhf (2.14.1+dfsg-1build2) ... 267s Selecting previously unselected package libqt5sql5t64:armhf. 267s Preparing to unpack .../369-libqt5sql5t64_5.15.12+dfsg-3ubuntu6_armhf.deb ... 267s Unpacking libqt5sql5t64:armhf (5.15.12+dfsg-3ubuntu6) ... 267s Selecting previously unselected package libqt5help5:armhf. 267s Preparing to unpack .../370-libqt5help5_5.15.12-2build2_armhf.deb ... 267s Unpacking libqt5help5:armhf (5.15.12-2build2) ... 268s Selecting previously unselected package libqt5xml5t64:armhf. 268s Preparing to unpack .../371-libqt5xml5t64_5.15.12+dfsg-3ubuntu6_armhf.deb ... 268s Unpacking libqt5xml5t64:armhf (5.15.12+dfsg-3ubuntu6) ... 268s Selecting previously unselected package libogg0:armhf. 268s Preparing to unpack .../372-libogg0_1.3.5-3_armhf.deb ... 268s Unpacking libogg0:armhf (1.3.5-3) ... 268s Selecting previously unselected package libflac12t64:armhf. 268s Preparing to unpack .../373-libflac12t64_1.4.3+ds-2.1ubuntu1_armhf.deb ... 268s Unpacking libflac12t64:armhf (1.4.3+ds-2.1ubuntu1) ... 268s Selecting previously unselected package libmp3lame0:armhf. 268s Preparing to unpack .../374-libmp3lame0_3.100-6_armhf.deb ... 268s Unpacking libmp3lame0:armhf (3.100-6) ... 268s Selecting previously unselected package libmpg123-0:armhf. 268s Preparing to unpack .../375-libmpg123-0_1.32.5-1_armhf.deb ... 268s Unpacking libmpg123-0:armhf (1.32.5-1) ... 268s Selecting previously unselected package libvorbis0a:armhf. 268s Preparing to unpack .../376-libvorbis0a_1.3.7-1build2_armhf.deb ... 268s Unpacking libvorbis0a:armhf (1.3.7-1build2) ... 268s Selecting previously unselected package libvorbisenc2:armhf. 268s Preparing to unpack .../377-libvorbisenc2_1.3.7-1build2_armhf.deb ... 268s Unpacking libvorbisenc2:armhf (1.3.7-1build2) ... 268s Selecting previously unselected package libsndfile1:armhf. 268s Preparing to unpack .../378-libsndfile1_1.2.2-1ubuntu3_armhf.deb ... 268s Unpacking libsndfile1:armhf (1.2.2-1ubuntu3) ... 268s Selecting previously unselected package libspqr4:armhf. 268s Preparing to unpack .../379-libspqr4_1%3a7.6.1+dfsg-1_armhf.deb ... 268s Unpacking libspqr4:armhf (1:7.6.1+dfsg-1) ... 268s Selecting previously unselected package libsundials-ida6:armhf. 268s Preparing to unpack .../380-libsundials-ida6_6.4.1+dfsg1-3build3_armhf.deb ... 268s Unpacking libsundials-ida6:armhf (6.4.1+dfsg1-3build3) ... 268s Selecting previously unselected package libbtf2:armhf. 268s Preparing to unpack .../381-libbtf2_1%3a7.6.1+dfsg-1_armhf.deb ... 268s Unpacking libbtf2:armhf (1:7.6.1+dfsg-1) ... 268s Selecting previously unselected package libklu2:armhf. 268s Preparing to unpack .../382-libklu2_1%3a7.6.1+dfsg-1_armhf.deb ... 268s Unpacking libklu2:armhf (1:7.6.1+dfsg-1) ... 268s Selecting previously unselected package libevent-pthreads-2.1-7:armhf. 268s Preparing to unpack .../383-libevent-pthreads-2.1-7_2.1.12-stable-9build1_armhf.deb ... 268s Unpacking libevent-pthreads-2.1-7:armhf (2.1.12-stable-9build1) ... 268s Selecting previously unselected package librdmacm1t64:armhf. 268s Preparing to unpack .../384-librdmacm1t64_50.0-2build1_armhf.deb ... 268s Unpacking librdmacm1t64:armhf (50.0-2build1) ... 268s Selecting previously unselected package libfabric1:armhf. 268s Preparing to unpack .../385-libfabric1_1.17.0-3build1_armhf.deb ... 268s Unpacking libfabric1:armhf (1.17.0-3build1) ... 268s Selecting previously unselected package libhwloc15:armhf. 268s Preparing to unpack .../386-libhwloc15_2.10.0-1_armhf.deb ... 268s Unpacking libhwloc15:armhf (2.10.0-1) ... 268s Selecting previously unselected package libmunge2:armhf. 268s Preparing to unpack .../387-libmunge2_0.5.15-4_armhf.deb ... 268s Unpacking libmunge2:armhf (0.5.15-4) ... 269s Selecting previously unselected package libpciaccess0:armhf. 269s Preparing to unpack .../388-libpciaccess0_0.17-3_armhf.deb ... 269s Unpacking libpciaccess0:armhf (0.17-3) ... 269s Selecting previously unselected package libxnvctrl0:armhf. 269s Preparing to unpack .../389-libxnvctrl0_510.47.03-0ubuntu1_armhf.deb ... 269s Unpacking libxnvctrl0:armhf (510.47.03-0ubuntu1) ... 269s Selecting previously unselected package ocl-icd-libopencl1:armhf. 269s Preparing to unpack .../390-ocl-icd-libopencl1_2.3.2-1_armhf.deb ... 269s Unpacking ocl-icd-libopencl1:armhf (2.3.2-1) ... 269s Selecting previously unselected package libhwloc-plugins:armhf. 269s Preparing to unpack .../391-libhwloc-plugins_2.10.0-1_armhf.deb ... 269s Unpacking libhwloc-plugins:armhf (2.10.0-1) ... 269s Selecting previously unselected package libpmix2t64:armhf. 269s Preparing to unpack .../392-libpmix2t64_5.0.1-4.1_armhf.deb ... 269s Unpacking libpmix2t64:armhf (5.0.1-4.1) ... 269s Selecting previously unselected package libopenmpi3t64:armhf. 269s Preparing to unpack .../393-libopenmpi3t64_4.1.6-7ubuntu1_armhf.deb ... 269s Unpacking libopenmpi3t64:armhf (4.1.6-7ubuntu1) ... 269s Selecting previously unselected package libfftw3-mpi3:armhf. 269s Preparing to unpack .../394-libfftw3-mpi3_3.3.10-1ubuntu2_armhf.deb ... 269s Unpacking libfftw3-mpi3:armhf (3.3.10-1ubuntu2) ... 269s Selecting previously unselected package libhdf5-openmpi-103-1t64:armhf. 269s Preparing to unpack .../395-libhdf5-openmpi-103-1t64_1.10.10+repack-3.1ubuntu3_armhf.deb ... 269s Unpacking libhdf5-openmpi-103-1t64:armhf (1.10.10+repack-3.1ubuntu3) ... 269s Selecting previously unselected package libcombblas2.0.0t64:armhf. 269s Preparing to unpack .../396-libcombblas2.0.0t64_2.0.0-3.1build1_armhf.deb ... 269s Unpacking libcombblas2.0.0t64:armhf (2.0.0-3.1build1) ... 269s Selecting previously unselected package libmetis5:armhf. 269s Preparing to unpack .../397-libmetis5_5.1.0.dfsg-7build2_armhf.deb ... 269s Unpacking libmetis5:armhf (5.1.0.dfsg-7build2) ... 269s Selecting previously unselected package libptscotch-7.0:armhf. 269s Preparing to unpack .../398-libptscotch-7.0_7.0.4-1ubuntu1_armhf.deb ... 269s Unpacking libptscotch-7.0:armhf (7.0.4-1ubuntu1) ... 269s Selecting previously unselected package libsuperlu-dist8:armhf. 269s Preparing to unpack .../399-libsuperlu-dist8_8.2.1+dfsg1-1build1_armhf.deb ... 269s Unpacking libsuperlu-dist8:armhf (8.2.1+dfsg1-1build1) ... 269s Selecting previously unselected package libhypre-2.28.0:armhf. 269s Preparing to unpack .../400-libhypre-2.28.0_2.28.0-8build1_armhf.deb ... 269s Unpacking libhypre-2.28.0:armhf (2.28.0-8build1) ... 269s Selecting previously unselected package openmpi-common. 269s Preparing to unpack .../401-openmpi-common_4.1.6-7ubuntu1_all.deb ... 269s Unpacking openmpi-common (4.1.6-7ubuntu1) ... 269s Selecting previously unselected package openmpi-bin. 269s Preparing to unpack .../402-openmpi-bin_4.1.6-7ubuntu1_armhf.deb ... 269s Unpacking openmpi-bin (4.1.6-7ubuntu1) ... 269s Selecting previously unselected package mpi-default-bin. 270s Preparing to unpack .../403-mpi-default-bin_1.15_armhf.deb ... 270s Unpacking mpi-default-bin (1.15) ... 270s Selecting previously unselected package libscalapack-openmpi2.2:armhf. 270s Preparing to unpack .../404-libscalapack-openmpi2.2_2.2.1-3build1_armhf.deb ... 270s Unpacking libscalapack-openmpi2.2:armhf (2.2.1-3build1) ... 270s Selecting previously unselected package libmumps-5.6t64:armhf. 270s Preparing to unpack .../405-libmumps-5.6t64_5.6.2-2.1build1_armhf.deb ... 270s Unpacking libmumps-5.6t64:armhf (5.6.2-2.1build1) ... 270s Selecting previously unselected package libsuperlu6:armhf. 270s Preparing to unpack .../406-libsuperlu6_6.0.1+dfsg1-1_armhf.deb ... 270s Unpacking libsuperlu6:armhf (6.0.1+dfsg1-1) ... 270s Selecting previously unselected package libumfpack6:armhf. 270s Preparing to unpack .../407-libumfpack6_1%3a7.6.1+dfsg-1_armhf.deb ... 270s Unpacking libumfpack6:armhf (1:7.6.1+dfsg-1) ... 270s Selecting previously unselected package libpetsc-real3.19t64:armhf. 270s Preparing to unpack .../408-libpetsc-real3.19t64_3.19.6+dfsg1-2.2ubuntu1_armhf.deb ... 270s Unpacking libpetsc-real3.19t64:armhf (3.19.6+dfsg1-2.2ubuntu1) ... 270s Selecting previously unselected package libsundials-nvecparallel-petsc6:armhf. 270s Preparing to unpack .../409-libsundials-nvecparallel-petsc6_6.4.1+dfsg1-3build3_armhf.deb ... 270s Unpacking libsundials-nvecparallel-petsc6:armhf (6.4.1+dfsg1-3build3) ... 270s Selecting previously unselected package libsundials-sunmatrix4:armhf. 270s Preparing to unpack .../410-libsundials-sunmatrix4_6.4.1+dfsg1-3build3_armhf.deb ... 270s Unpacking libsundials-sunmatrix4:armhf (6.4.1+dfsg1-3build3) ... 270s Selecting previously unselected package libsundials-sunlinsol3:armhf. 270s Preparing to unpack .../411-libsundials-sunlinsol3_6.4.1+dfsg1-3build3_armhf.deb ... 270s Unpacking libsundials-sunlinsol3:armhf (6.4.1+dfsg1-3build3) ... 270s Selecting previously unselected package libtext-unidecode-perl. 270s Preparing to unpack .../412-libtext-unidecode-perl_1.30-3_all.deb ... 270s Unpacking libtext-unidecode-perl (1.30-3) ... 270s Selecting previously unselected package texinfo-lib. 270s Preparing to unpack .../413-texinfo-lib_7.1-3build1_armhf.deb ... 270s Unpacking texinfo-lib (7.1-3build1) ... 270s Selecting previously unselected package tex-common. 270s Preparing to unpack .../414-tex-common_6.18_all.deb ... 270s Unpacking tex-common (6.18) ... 270s Selecting previously unselected package texinfo. 270s Preparing to unpack .../415-texinfo_7.1-3build1_all.deb ... 270s Unpacking texinfo (7.1-3build1) ... 271s Selecting previously unselected package octave-common. 271s Preparing to unpack .../416-octave-common_8.4.0-1build4_all.deb ... 271s Unpacking octave-common (8.4.0-1build4) ... 271s Selecting previously unselected package octave. 271s Preparing to unpack .../417-octave_8.4.0-1build4_armhf.deb ... 271s Unpacking octave (8.4.0-1build4) ... 271s Selecting previously unselected package libncurses-dev:armhf. 271s Preparing to unpack .../418-libncurses-dev_6.4+20240113-1ubuntu1_armhf.deb ... 271s Unpacking libncurses-dev:armhf (6.4+20240113-1ubuntu1) ... 271s Selecting previously unselected package libreadline-dev:armhf. 272s Preparing to unpack .../419-libreadline-dev_8.2-3.1build1_armhf.deb ... 272s Unpacking libreadline-dev:armhf (8.2-3.1build1) ... 272s Selecting previously unselected package libhdf5-fortran-102t64:armhf. 272s Preparing to unpack .../420-libhdf5-fortran-102t64_1.10.10+repack-3.1ubuntu3_armhf.deb ... 272s Unpacking libhdf5-fortran-102t64:armhf (1.10.10+repack-3.1ubuntu3) ... 272s Selecting previously unselected package libhdf5-hl-100t64:armhf. 272s Preparing to unpack .../421-libhdf5-hl-100t64_1.10.10+repack-3.1ubuntu3_armhf.deb ... 272s Unpacking libhdf5-hl-100t64:armhf (1.10.10+repack-3.1ubuntu3) ... 272s Selecting previously unselected package libhdf5-hl-fortran-100t64:armhf. 272s Preparing to unpack .../422-libhdf5-hl-fortran-100t64_1.10.10+repack-3.1ubuntu3_armhf.deb ... 272s Unpacking libhdf5-hl-fortran-100t64:armhf (1.10.10+repack-3.1ubuntu3) ... 272s Selecting previously unselected package libhdf5-cpp-103-1t64:armhf. 272s Preparing to unpack .../423-libhdf5-cpp-103-1t64_1.10.10+repack-3.1ubuntu3_armhf.deb ... 272s Unpacking libhdf5-cpp-103-1t64:armhf (1.10.10+repack-3.1ubuntu3) ... 272s Selecting previously unselected package libhdf5-hl-cpp-100t64:armhf. 272s Preparing to unpack .../424-libhdf5-hl-cpp-100t64_1.10.10+repack-3.1ubuntu3_armhf.deb ... 272s Unpacking libhdf5-hl-cpp-100t64:armhf (1.10.10+repack-3.1ubuntu3) ... 272s Selecting previously unselected package zlib1g-dev:armhf. 272s Preparing to unpack .../425-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu1_armhf.deb ... 272s Unpacking zlib1g-dev:armhf (1:1.3.dfsg-3.1ubuntu1) ... 272s Selecting previously unselected package libjpeg-turbo8-dev:armhf. 272s Preparing to unpack .../426-libjpeg-turbo8-dev_2.1.5-2ubuntu1_armhf.deb ... 272s Unpacking libjpeg-turbo8-dev:armhf (2.1.5-2ubuntu1) ... 272s Selecting previously unselected package libjpeg8-dev:armhf. 272s Preparing to unpack .../427-libjpeg8-dev_8c-2ubuntu11_armhf.deb ... 272s Unpacking libjpeg8-dev:armhf (8c-2ubuntu11) ... 272s Selecting previously unselected package libjpeg-dev:armhf. 272s Preparing to unpack .../428-libjpeg-dev_8c-2ubuntu11_armhf.deb ... 272s Unpacking libjpeg-dev:armhf (8c-2ubuntu11) ... 272s Selecting previously unselected package libaec-dev:armhf. 272s Preparing to unpack .../429-libaec-dev_1.1.2-1_armhf.deb ... 272s Unpacking libaec-dev:armhf (1.1.2-1) ... 272s Selecting previously unselected package libcurl4-openssl-dev:armhf. 272s Preparing to unpack .../430-libcurl4-openssl-dev_8.5.0-2ubuntu7_armhf.deb ... 272s Unpacking libcurl4-openssl-dev:armhf (8.5.0-2ubuntu7) ... 273s Selecting previously unselected package libssl-dev:armhf. 273s Preparing to unpack .../431-libssl-dev_3.0.13-0ubuntu2_armhf.deb ... 273s Unpacking libssl-dev:armhf (3.0.13-0ubuntu2) ... 273s Selecting previously unselected package hdf5-helpers. 273s Preparing to unpack .../432-hdf5-helpers_1.10.10+repack-3.1ubuntu3_armhf.deb ... 273s Unpacking hdf5-helpers (1.10.10+repack-3.1ubuntu3) ... 273s Selecting previously unselected package libhdf5-dev. 273s Preparing to unpack .../433-libhdf5-dev_1.10.10+repack-3.1ubuntu3_armhf.deb ... 273s Unpacking libhdf5-dev (1.10.10+repack-3.1ubuntu3) ... 273s Selecting previously unselected package xorg-sgml-doctools. 273s Preparing to unpack .../434-xorg-sgml-doctools_1%3a1.11-1.1_all.deb ... 273s Unpacking xorg-sgml-doctools (1:1.11-1.1) ... 273s Selecting previously unselected package x11proto-dev. 273s Preparing to unpack .../435-x11proto-dev_2023.2-1_all.deb ... 273s Unpacking x11proto-dev (2023.2-1) ... 273s Selecting previously unselected package libxau-dev:armhf. 273s Preparing to unpack .../436-libxau-dev_1%3a1.0.9-1build5_armhf.deb ... 273s Unpacking libxau-dev:armhf (1:1.0.9-1build5) ... 273s Selecting previously unselected package libxdmcp-dev:armhf. 273s Preparing to unpack .../437-libxdmcp-dev_1%3a1.1.3-0ubuntu5_armhf.deb ... 273s Unpacking libxdmcp-dev:armhf (1:1.1.3-0ubuntu5) ... 273s Selecting previously unselected package xtrans-dev. 273s Preparing to unpack .../438-xtrans-dev_1.4.0-1_all.deb ... 273s Unpacking xtrans-dev (1.4.0-1) ... 274s Selecting previously unselected package libpthread-stubs0-dev:armhf. 274s Preparing to unpack .../439-libpthread-stubs0-dev_0.4-1build2_armhf.deb ... 274s Unpacking libpthread-stubs0-dev:armhf (0.4-1build2) ... 274s Selecting previously unselected package libxcb1-dev:armhf. 274s Preparing to unpack .../440-libxcb1-dev_1.15-1_armhf.deb ... 274s Unpacking libxcb1-dev:armhf (1.15-1) ... 274s Selecting previously unselected package libx11-dev:armhf. 274s Preparing to unpack .../441-libx11-dev_2%3a1.8.7-1_armhf.deb ... 274s Unpacking libx11-dev:armhf (2:1.8.7-1) ... 274s Selecting previously unselected package libglx-dev:armhf. 274s Preparing to unpack .../442-libglx-dev_1.7.0-1_armhf.deb ... 274s Unpacking libglx-dev:armhf (1.7.0-1) ... 274s Selecting previously unselected package libgl-dev:armhf. 274s Preparing to unpack .../443-libgl-dev_1.7.0-1_armhf.deb ... 274s Unpacking libgl-dev:armhf (1.7.0-1) ... 274s Selecting previously unselected package libblas-dev:armhf. 274s Preparing to unpack .../444-libblas-dev_3.12.0-3_armhf.deb ... 274s Unpacking libblas-dev:armhf (3.12.0-3) ... 274s Selecting previously unselected package liblapack-dev:armhf. 274s Preparing to unpack .../445-liblapack-dev_3.12.0-3_armhf.deb ... 274s Unpacking liblapack-dev:armhf (3.12.0-3) ... 274s Selecting previously unselected package libfftw3-bin. 274s Preparing to unpack .../446-libfftw3-bin_3.3.10-1ubuntu2_armhf.deb ... 274s Unpacking libfftw3-bin (3.3.10-1ubuntu2) ... 274s Selecting previously unselected package libfftw3-dev:armhf. 274s Preparing to unpack .../447-libfftw3-dev_3.3.10-1ubuntu2_armhf.deb ... 274s Unpacking libfftw3-dev:armhf (3.3.10-1ubuntu2) ... 274s Selecting previously unselected package libgfortran-13-dev:armhf. 275s Preparing to unpack .../448-libgfortran-13-dev_13.2.0-19ubuntu1_armhf.deb ... 275s Unpacking libgfortran-13-dev:armhf (13.2.0-19ubuntu1) ... 275s Selecting previously unselected package gfortran-13-arm-linux-gnueabihf. 275s Preparing to unpack .../449-gfortran-13-arm-linux-gnueabihf_13.2.0-19ubuntu1_armhf.deb ... 275s Unpacking gfortran-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 275s Selecting previously unselected package gfortran-13. 275s Preparing to unpack .../450-gfortran-13_13.2.0-19ubuntu1_armhf.deb ... 275s Unpacking gfortran-13 (13.2.0-19ubuntu1) ... 275s Selecting previously unselected package gfortran-arm-linux-gnueabihf. 275s Preparing to unpack .../451-gfortran-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 275s Unpacking gfortran-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 275s Selecting previously unselected package gfortran. 275s Preparing to unpack .../452-gfortran_4%3a13.2.0-7ubuntu1_armhf.deb ... 275s Unpacking gfortran (4:13.2.0-7ubuntu1) ... 275s Selecting previously unselected package libstdc++-13-dev:armhf. 275s Preparing to unpack .../453-libstdc++-13-dev_13.2.0-19ubuntu1_armhf.deb ... 275s Unpacking libstdc++-13-dev:armhf (13.2.0-19ubuntu1) ... 275s Selecting previously unselected package g++-13-arm-linux-gnueabihf. 275s Preparing to unpack .../454-g++-13-arm-linux-gnueabihf_13.2.0-19ubuntu1_armhf.deb ... 275s Unpacking g++-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 276s Selecting previously unselected package g++-13. 276s Preparing to unpack .../455-g++-13_13.2.0-19ubuntu1_armhf.deb ... 276s Unpacking g++-13 (13.2.0-19ubuntu1) ... 276s Selecting previously unselected package g++-arm-linux-gnueabihf. 276s Preparing to unpack .../456-g++-arm-linux-gnueabihf_4%3a13.2.0-7ubuntu1_armhf.deb ... 276s Unpacking g++-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 276s Selecting previously unselected package g++. 276s Preparing to unpack .../457-g++_4%3a13.2.0-7ubuntu1_armhf.deb ... 276s Unpacking g++ (4:13.2.0-7ubuntu1) ... 276s Selecting previously unselected package octave-dev. 276s Preparing to unpack .../458-octave-dev_8.4.0-1build4_armhf.deb ... 276s Unpacking octave-dev (8.4.0-1build4) ... 276s Selecting previously unselected package dh-octave. 276s Preparing to unpack .../459-dh-octave_1.8.0_all.deb ... 276s Unpacking dh-octave (1.8.0) ... 276s Selecting previously unselected package libfontenc1:armhf. 276s Preparing to unpack .../460-libfontenc1_1%3a1.1.8-1_armhf.deb ... 276s Unpacking libfontenc1:armhf (1:1.1.8-1) ... 276s Selecting previously unselected package libunwind8:armhf. 276s Preparing to unpack .../461-libunwind8_1.6.2-3_armhf.deb ... 276s Unpacking libunwind8:armhf (1.6.2-3) ... 276s Selecting previously unselected package libxt6t64:armhf. 276s Preparing to unpack .../462-libxt6t64_1%3a1.2.1-1.2_armhf.deb ... 276s Unpacking libxt6t64:armhf (1:1.2.1-1.2) ... 276s Selecting previously unselected package libxmu6:armhf. 276s Preparing to unpack .../463-libxmu6_2%3a1.1.3-3build1_armhf.deb ... 276s Unpacking libxmu6:armhf (2:1.1.3-3build1) ... 276s Selecting previously unselected package libxaw7:armhf. 276s Preparing to unpack .../464-libxaw7_2%3a1.0.14-1build1_armhf.deb ... 276s Unpacking libxaw7:armhf (2:1.0.14-1build1) ... 276s Selecting previously unselected package libxfont2:armhf. 276s Preparing to unpack .../465-libxfont2_1%3a2.0.6-1_armhf.deb ... 276s Unpacking libxfont2:armhf (1:2.0.6-1) ... 276s Selecting previously unselected package libxkbfile1:armhf. 276s Preparing to unpack .../466-libxkbfile1_1%3a1.1.0-1build3_armhf.deb ... 276s Unpacking libxkbfile1:armhf (1:1.1.0-1build3) ... 276s Selecting previously unselected package libxrandr2:armhf. 276s Preparing to unpack .../467-libxrandr2_2%3a1.5.2-2_armhf.deb ... 276s Unpacking libxrandr2:armhf (2:1.5.2-2) ... 276s Selecting previously unselected package octave-image:armhf. 276s Preparing to unpack .../468-octave-image_2.14.0-5_armhf.deb ... 276s Unpacking octave-image:armhf (2.14.0-5) ... 276s Selecting previously unselected package x11-xkb-utils. 276s Preparing to unpack .../469-x11-xkb-utils_7.7+8build1_armhf.deb ... 276s Unpacking x11-xkb-utils (7.7+8build1) ... 276s Selecting previously unselected package xserver-common. 276s Preparing to unpack .../470-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 276s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 277s Selecting previously unselected package xvfb. 277s Preparing to unpack .../471-xvfb_2%3a21.1.11-2ubuntu1_armhf.deb ... 277s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 277s Selecting previously unselected package autopkgtest-satdep. 277s Preparing to unpack .../472-1-autopkgtest-satdep.deb ... 277s Unpacking autopkgtest-satdep (0) ... 277s Setting up libapt-pkg-perl (0.1.40build5) ... 277s Setting up libhwy1t64:armhf (1.0.7-8.1) ... 277s Setting up libmodule-pluggable-perl (5.2-4) ... 277s Setting up libgraphite2-3:armhf (1.3.14-2) ... 277s Setting up libstring-escape-perl (2010.002-3) ... 277s Setting up libxcb-dri3-0:armhf (1.15-1) ... 277s Setting up liblcms2-2:armhf (2.14-2) ... 277s Setting up libberkeleydb-perl:armhf (0.64-2build2) ... 277s Setting up libpixman-1-0:armhf (0.42.2-1) ... 277s Setting up libsharpyuv0:armhf (1.3.2-0.4build2) ... 277s Setting up libwayland-server0:armhf (1.22.0-2.1) ... 277s Setting up libx11-xcb1:armhf (2:1.8.7-1) ... 277s Setting up libpciaccess0:armhf (0.17-3) ... 277s Setting up libfile-which-perl (1.27-2) ... 277s Setting up libdouble-conversion3:armhf (3.3.0-1) ... 277s Setting up libdrm-nouveau2:armhf (2.4.120-2) ... 277s Setting up libunicode-utf8-perl (0.62-2build2) ... 277s Setting up libset-intspan-perl (1.19-3) ... 277s Setting up libmpg123-0:armhf (1.32.5-1) ... 277s Setting up libxcb-xfixes0:armhf (1.15-1) ... 277s Setting up libogg0:armhf (1.3.5-3) ... 277s Setting up libmouse-perl (2.5.10-1build7) ... 277s Setting up liblerc4:armhf (4.0.0+ds-4ubuntu1) ... 277s Setting up libpod-pom-perl (2.01-4) ... 277s Setting up libxpm4:armhf (1:3.5.17-1build1) ... 277s Setting up hdf5-helpers (1.10.10+repack-3.1ubuntu3) ... 277s Setting up libwmflite-0.2-7:armhf (0.2.13-1.1build2) ... 277s Setting up libregexp-pattern-perl (0.2.14-2) ... 277s Setting up libdata-messagepack-perl (1.02-1build3) ... 277s Setting up libxcb-xinput0:armhf (1.15-1) ... 277s Setting up libxrender1:armhf (1:0.9.10-1.1) ... 277s Setting up libdynaloader-functions-perl (0.003-3) ... 277s Setting up libdatrie1:armhf (0.2.13-3) ... 277s Setting up libtext-glob-perl (0.11-3) ... 277s Setting up libclass-method-modifiers-perl (2.15-1) ... 277s Setting up liblist-compare-perl (0.55-2) ... 277s Setting up libxcb-render0:armhf (1.15-1) ... 277s Setting up libclone-perl:armhf (0.46-1build2) ... 277s Setting up libarchive-zip-perl (1.68-1) ... 277s Setting up libsub-identify-perl (0.14-3build2) ... 277s Setting up libdrm-radeon1:armhf (2.4.120-2) ... 277s Setting up libcpanel-json-xs-perl:armhf (4.37-1build2) ... 277s Setting up libglvnd0:armhf (1.7.0-1) ... 277s Setting up libio-stringy-perl (2.111-3) ... 277s Setting up libhtml-tagset-perl (3.20-6) ... 277s Setting up liblog-any-perl (1.717-1) ... 277s Setting up libqscintilla2-qt5-l10n (2.14.1+dfsg-1build2) ... 277s Setting up libyaml-pp-perl (0.38.0-1) ... 277s Setting up libxcb-glx0:armhf (1.15-1) ... 277s Setting up libdevel-size-perl (0.83-2build3) ... 277s Setting up unzip (6.0-28ubuntu3) ... 277s Setting up libdebhelper-perl (13.14.1ubuntu5) ... 277s Setting up libregexp-pattern-license-perl (3.11.0-1) ... 277s Setting up libconvert-binhex-perl (1.125-3) ... 277s Setting up liblwp-mediatypes-perl (6.04-2) ... 277s Setting up libyaml-libyaml-perl (0.89+ds-1build1) ... 277s Setting up fonts-freefont-otf (20211204+svn4273-2) ... 277s Setting up libio-interactive-perl (1.025-1) ... 277s Setting up libxcb-keysyms1:armhf (0.4.0-1build3) ... 277s Setting up libxcb-shape0:armhf (1.15-1) ... 277s Setting up x11-common (1:7.7+23ubuntu2) ... 277s Setting up libtry-tiny-perl (0.31-2) ... 277s Setting up libcxsparse4:armhf (1:7.6.1+dfsg-1) ... 277s Setting up libdeflate0:armhf (1.19-1) ... 277s Setting up perl-openssl-defaults:armhf (7build1) ... 277s Setting up libmldbm-perl (2.05-4) ... 277s Setting up linux-libc-dev:armhf (6.8.0-20.20) ... 277s Setting up libxml-namespacesupport-perl (1.12-2) ... 277s Setting up m4 (1.4.19-4) ... 277s Setting up libclone-choose-perl (0.010-2) ... 277s Setting up libqhull-r8.0:armhf (2020.2-6) ... 277s Setting up libxcb-render-util0:armhf (0.3.9-1build3) ... 277s Setting up libtime-moment-perl (0.44-2build3) ... 277s Setting up libencode-locale-perl (1.05-3) ... 277s Setting up libmetis5:armhf (5.1.0.dfsg-7build2) ... 277s Setting up libxcb-shm0:armhf (1.15-1) ... 277s Setting up libxcb-icccm4:armhf (0.4.1-1.1build2) ... 277s Setting up texinfo-lib (7.1-3build1) ... 277s Setting up libgomp1:armhf (14-20240315-1ubuntu1) ... 277s Setting up libconfig-tiny-perl (2.30-1) ... 277s Setting up libsereal-encoder-perl (5.004+ds-1build2) ... 277s Setting up libunwind8:armhf (1.6.2-3) ... 277s Setting up liblist-utilsby-perl (0.12-2) ... 277s Setting up libyaml-tiny-perl (1.74-1) ... 277s Setting up libpthread-stubs0-dev:armhf (0.4-1build2) ... 277s Setting up libjbig0:armhf (2.1-6.1ubuntu1) ... 277s Setting up octave-common (8.4.0-1build4) ... 277s Setting up libregexp-common-perl (2017060201-3) ... 277s Setting up libpcre2-16-0:armhf (10.42-4ubuntu1) ... 277s Setting up libaec0:armhf (1.1.2-1) ... 277s Setting up libnet-netmask-perl (2.0002-2) ... 277s Setting up libopengl0:armhf (1.7.0-1) ... 277s Setting up libsub-install-perl (0.929-1) ... 277s Setting up libxcb-util1:armhf (0.4.0-1build2) ... 277s Setting up libxxf86vm1:armhf (1:1.1.4-1build3) ... 277s Setting up libindirect-perl (0.39-2build3) ... 277s Setting up libxcb-xkb1:armhf (1.15-1) ... 277s Setting up libxcb-image0:armhf (0.4.0-2) ... 277s Setting up libxs-parse-sublike-perl:armhf (0.21-2build2) ... 277s Setting up libnumber-compare-perl (0.03-3) ... 277s Setting up libdw1t64:armhf (0.190-1.1build2) ... 277s Setting up libxnvctrl0:armhf (510.47.03-0ubuntu1) ... 277s Setting up libxcb-present0:armhf (1.15-1) ... 277s Setting up liberror-perl (0.17029-2) ... 277s Setting up libasound2-data (1.2.11-1build1) ... 277s Setting up patchutils (0.4.2-1build2) ... 277s Setting up tex-common (6.18) ... 277s update-language: texlive-base not installed and configured, doing nothing! 278s Setting up libbtf2:armhf (1:7.6.1+dfsg-1) ... 278s Setting up libjson-maybexs-perl (1.004005-1) ... 278s Setting up libxml-sax-base-perl (1.09-3) ... 278s Setting up libio-string-perl (1.08-4) ... 278s Setting up libboolean-perl (0.46-3) ... 278s Setting up libnetaddr-ip-perl (4.079+dfsg-2build3) ... 278s Setting up xtrans-dev (1.4.0-1) ... 278s Setting up libqt5core5t64:armhf (5.15.12+dfsg-3ubuntu6) ... 278s Setting up libfontenc1:armhf (1:1.1.8-1) ... 278s Setting up autotools-dev (20220109.1) ... 278s Setting up libblas3:armhf (3.12.0-3) ... 278s update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3 to provide /usr/lib/arm-linux-gnueabihf/libblas.so.3 (libblas.so.3-arm-linux-gnueabihf) in auto mode 278s Setting up libclass-data-inheritable-perl (0.08-3) ... 278s Setting up libxs-parse-keyword-perl (0.39-1build2) ... 278s Setting up libxcb-xinerama0:armhf (1.15-1) ... 278s Setting up libalgorithm-c3-perl (0.11-2) ... 278s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 278s Setting up libgles2:armhf (1.7.0-1) ... 278s Setting up libasound2t64:armhf (1.2.11-1build1) ... 278s Setting up libmunge2:armhf (0.5.15-4) ... 278s Setting up liblog-log4perl-perl (1.57-1) ... 278s Setting up libllvm17t64:armhf (1:17.0.6-9build1) ... 278s Setting up libtext-reform-perl (1.20-5) ... 278s Setting up libfreetype6:armhf (2.13.2+dfsg-1build2) ... 278s Setting up libfile-find-rule-perl (0.34-3) ... 278s Setting up libxfixes3:armhf (1:6.0.0-2) ... 278s Setting up libcurl4-openssl-dev:armhf (8.5.0-2ubuntu7) ... 278s Setting up libxcb-sync1:armhf (1.15-1) ... 278s Setting up libipc-system-simple-perl (1.30-2) ... 278s Setting up libio-tiecombine-perl (1.005-3) ... 278s Setting up libnet-domain-tld-perl (1.75-3) ... 278s Setting up libperlio-utf8-strict-perl (0.010-1build2) ... 278s Setting up aglfn (1.7+git20191031.4036a9c-2) ... 278s Setting up lzip (1.24.1-1) ... 278s update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip (lzip) in auto mode 278s update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip-compressor (lzip-compressor) in auto mode 278s update-alternatives: using /usr/bin/lzip.lzip to provide /usr/bin/lzip-decompressor (lzip-decompressor) in auto mode 278s Setting up libavahi-common-data:armhf (0.8-13ubuntu4) ... 278s Setting up libopus0:armhf (1.4-1) ... 278s Setting up t1utils (1.41-4build2) ... 278s Setting up libxinerama1:armhf (2:1.1.4-3) ... 278s Setting up diffstat (1.66-1) ... 278s Setting up libxkbcommon-x11-0:armhf (1.6.0-1) ... 278s Setting up fonts-dejavu-mono (2.37-8) ... 278s Setting up libssl-dev:armhf (3.0.13-0ubuntu2) ... 278s Setting up libhwloc15:armhf (2.10.0-1) ... 278s Setting up libmpc3:armhf (1.3.1-1) ... 278s Setting up libatomic1:armhf (14-20240315-1ubuntu1) ... 278s Setting up libvorbis0a:armhf (1.3.7-1build2) ... 278s Setting up libvariable-magic-perl (0.63-1build2) ... 278s Setting up libio-html-perl (1.004-3) ... 278s Setting up libxrandr2:armhf (2:1.5.2-2) ... 278s Setting up libtext-template-perl (1.61-1) ... 278s Setting up libpod-parser-perl (1.67-1) ... 278s Setting up autopoint (0.21-14ubuntu1) ... 278s Setting up libb-hooks-op-check-perl:armhf (0.22-3) ... 278s Setting up fonts-dejavu-core (2.37-8) ... 278s Setting up liblist-moreutils-xs-perl (0.430-3build4) ... 278s Setting up libjxl0.7:armhf (0.7.0-10.2ubuntu3) ... 278s Setting up libjpeg-turbo8:armhf (2.1.5-2ubuntu1) ... 278s Setting up libltdl7:armhf (2.4.7-7) ... 278s Setting up libfftw3-double3:armhf (3.3.10-1ubuntu2) ... 278s Setting up libglapi-mesa:armhf (24.0.3-1ubuntu3) ... 278s Setting up libparams-util-perl (1.102-2build2) ... 278s Setting up libgfortran5:armhf (14-20240315-1ubuntu1) ... 278s Setting up libvulkan1:armhf (1.3.275.0-1) ... 278s Setting up libtime-duration-perl (1.21-2) ... 278s Setting up autoconf (2.71-3) ... 278s Setting up libtext-xslate-perl:armhf (3.5.9-1build4) ... 278s Setting up libsub-exporter-progressive-perl (0.001013-3) ... 278s Setting up libwebp7:armhf (1.3.2-0.4build2) ... 278s Setting up libarray-intspan-perl (2.004-2) ... 278s Setting up libcapture-tiny-perl (0.48-2) ... 278s Setting up libtimedate-perl (2.3300-2) ... 278s Setting up libexporter-lite-perl (0.09-2) ... 278s Setting up libubsan1:armhf (14-20240315-1ubuntu1) ... 278s Setting up libxcb-dri2-0:armhf (1.15-1) ... 278s Setting up libsub-name-perl:armhf (0.27-1build2) ... 278s Setting up libsyntax-keyword-try-perl (0.29-1build2) ... 278s Setting up dwz (0.15-1build5) ... 278s Setting up libdata-validate-domain-perl (0.10-1.1) ... 278s Setting up libproc-processtable-perl:armhf (0.636-1build2) ... 278s Setting up libparse-recdescent-perl (1.967015+dfsg-4) ... 278s Setting up libdav1d7:armhf (1.4.1-1) ... 278s Setting up libmtdev1t64:armhf (1.1.6-1.1) ... 278s Setting up ocl-icd-libopencl1:armhf (2.3.2-1) ... 278s Setting up libxshmfence1:armhf (1.3-1build4) ... 278s Setting up libcrypt-dev:armhf (1:4.4.36-4) ... 278s Setting up libxcb-randr0:armhf (1.15-1) ... 278s Setting up libpath-tiny-perl (0.144-1) ... 278s Setting up libasan8:armhf (14-20240315-1ubuntu1) ... 278s Setting up lzop (1.04-2build2) ... 278s Setting up libjson-perl (4.10000-1) ... 278s Setting up liblog-any-adapter-screen-perl (0.140-2) ... 278s Setting up librole-tiny-perl (2.002004-1) ... 278s Setting up openmpi-common (4.1.6-7ubuntu1) ... 278s Setting up libqt5sql5t64:armhf (5.15.12+dfsg-3ubuntu6) ... 278s Setting up debugedit (1:5.0-5build1) ... 278s Setting up libipc-run3-perl (0.049-1) ... 278s Setting up libmd4c0:armhf (0.4.8-1) ... 278s Setting up libregexp-wildcards-perl (1.05-3) ... 278s Setting up libmousex-strictconstructor-perl (0.02-3) ... 278s Setting up libsub-uplevel-perl (0.2800-3) ... 278s Setting up libsuitesparseconfig7:armhf (1:7.6.1+dfsg-1) ... 278s Setting up librdmacm1t64:armhf (50.0-2build1) ... 278s Setting up liblua5.4-0:armhf (5.4.6-3build1) ... 278s Setting up libsub-override-perl (0.10-1) ... 278s Setting up libaliased-perl (0.34-3) ... 278s Setting up libharfbuzz0b:armhf (8.3.0-2build1) ... 278s Setting up libthai-data (0.1.29-2) ... 278s Setting up xorg-sgml-doctools (1:1.11-1.1) ... 278s Setting up libstrictures-perl (2.000006-1) ... 278s Setting up libsub-quote-perl (2.006008-1ubuntu1) ... 278s Setting up libdevel-stacktrace-perl (2.0500-1) ... 278s Setting up libclass-xsaccessor-perl (1.19-4build3) ... 278s Setting up libtext-autoformat-perl (1.750000-2) ... 278s Setting up libglu1-mesa:armhf (9.0.2-1.1) ... 278s Setting up libflac12t64:armhf (1.4.3+ds-2.1ubuntu1) ... 278s Setting up libtoml-tiny-perl (0.16-1) ... 278s Setting up libxkbfile1:armhf (1:1.1.0-1build3) ... 278s Setting up libsort-versions-perl (1.62-3) ... 278s Setting up libexporter-tiny-perl (1.006002-1) ... 278s Setting up libterm-readkey-perl (2.38-2build3) ... 278s Setting up libisl23:armhf (0.26-3) ... 278s Setting up libtext-unidecode-perl (1.30-3) ... 278s Setting up libde265-0:armhf (1.0.15-1build1) ... 278s Setting up libc-dev-bin (2.39-0ubuntu6) ... 278s Setting up libfont-ttf-perl (1.06-2) ... 278s Setting up libfile-homedir-perl (1.006-2) ... 278s Setting up libsamplerate0:armhf (0.2.2-4) ... 278s Setting up libwebpmux3:armhf (1.3.2-0.4build2) ... 278s Setting up libtext-levenshteinxs-perl (0.03-5build3) ... 278s Setting up libperlio-gzip-perl (0.20-1build3) ... 278s Setting up libxfont2:armhf (1:2.0.6-1) ... 278s Setting up libhtml-html5-entities-perl (0.004-3) ... 278s Setting up libtext-levenshtein-damerau-perl (0.41-3) ... 278s Setting up libsereal-decoder-perl (5.004+ds-1build2) ... 278s Setting up libmarkdown2:armhf (2.2.7-2) ... 278s Setting up libcc1-0:armhf (14-20240315-1ubuntu1) ... 278s Setting up liburi-perl (5.27-1) ... 278s Setting up libnet-ipv6addr-perl (1.02-1) ... 278s Setting up libmp3lame0:armhf (3.100-6) ... 278s Setting up libblas-dev:armhf (3.12.0-3) ... 278s update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so to provide /usr/lib/arm-linux-gnueabihf/libblas.so (libblas.so-arm-linux-gnueabihf) in auto mode 278s Setting up libsz2:armhf (1.1.2-1) ... 278s Setting up libvorbisenc2:armhf (1.3.7-1build2) ... 278s Setting up libevent-pthreads-2.1-7:armhf (2.1.12-stable-9build1) ... 278s Setting up libdata-validate-ip-perl (0.31-1) ... 278s Setting up libdrm-amdgpu1:armhf (2.4.120-2) ... 278s Setting up libwacom-common (2.10.0-1build1) ... 278s Setting up libmousex-nativetraits-perl (1.09-3) ... 278s Setting up libemail-address-xs-perl (1.05-1build3) ... 278s Setting up libwayland-client0:armhf (1.22.0-2.1) ... 278s Setting up libnet-ssleay-perl:armhf (1.94-1build2) ... 278s Setting up libjpeg8:armhf (8c-2ubuntu11) ... 278s Setting up automake (1:1.16.5-1.3ubuntu1) ... 278s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 278s Setting up x11proto-dev (2023.2-1) ... 278s Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... 278s Setting up libfabric1:armhf (1.17.0-3build1) ... 278s Setting up gnuplot-data (6.0.0+dfsg1-1ubuntu2) ... 278s Setting up libice6:armhf (2:1.0.10-1build2) ... 278s Setting up libhttp-date-perl (6.06-1) ... 278s Setting up liblapack3:armhf (3.12.0-3) ... 278s update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3 to provide /usr/lib/arm-linux-gnueabihf/liblapack.so.3 (liblapack.so.3-arm-linux-gnueabihf) in auto mode 278s Setting up libqt5dbus5t64:armhf (5.15.12+dfsg-3ubuntu6) ... 278s Setting up libfile-basedir-perl (0.09-2) ... 278s Setting up gettext (0.21-14ubuntu1) ... 278s Setting up libarpack2t64:armhf (3.9.1-1.1build1) ... 278s Setting up libfftw3-single3:armhf (3.3.10-1ubuntu2) ... 278s Setting up libamd3:armhf (1:7.6.1+dfsg-1) ... 278s Setting up libfile-listing-perl (6.16-1) ... 278s Setting up libxau-dev:armhf (1:1.0.9-1build5) ... 278s Setting up cpp-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 278s Setting up libgbm1:armhf (24.0.3-1ubuntu3) ... 278s Setting up libcolamd3:armhf (1:7.6.1+dfsg-1) ... 278s Setting up libfftw3-bin (3.3.10-1ubuntu2) ... 278s Setting up libwacom9:armhf (2.10.0-1build1) ... 278s Setting up fontconfig-config (2.15.0-1.1ubuntu1) ... 278s Setting up liblist-moreutils-perl (0.430-2) ... 278s Setting up libxcursor1:armhf (1:1.2.1-1) ... 278s Setting up libpod-constants-perl (0.19-2) ... 278s Setting up libgl1-mesa-dri:armhf (24.0.3-1ubuntu3) ... 278s Setting up libqt5network5t64:armhf (5.15.12+dfsg-3ubuntu6) ... 278s Setting up libhash-merge-perl (0.302-1) ... 278s Setting up libsoftware-copyright-perl (0.012-2) ... 278s Setting up libaec-dev:armhf (1.1.2-1) ... 278s Setting up libavahi-common3:armhf (0.8-13ubuntu4) ... 278s Setting up libnet-http-perl (6.23-1) ... 278s Setting up libpath-iterator-rule-perl (1.015-2) ... 278s Setting up libtext-markdown-discount-perl (0.16-1build2) ... 278s Setting up libqt5xml5t64:armhf (5.15.12+dfsg-3ubuntu6) ... 278s Setting up libexception-class-perl (1.45-1) ... 278s Setting up libsundials-sunmatrix4:armhf (6.4.1+dfsg1-3build3) ... 278s Setting up libclass-c3-perl (0.35-2) ... 278s Setting up libsuperlu6:armhf (6.0.1+dfsg1-1) ... 278s Setting up libhwloc-plugins:armhf (2.10.0-1) ... 278s Setting up libqrupdate1:armhf (1.1.2-4) ... 278s Setting up libdevel-callchecker-perl:armhf (0.008-2build2) ... 278s Setting up libxml-sax-perl (1.02+dfsg-3) ... 278s update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... 278s update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... 278s 278s Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version 278s Setting up libsundials-ida6:armhf (6.4.1+dfsg1-3build3) ... 278s Setting up libcamd3:armhf (1:7.6.1+dfsg-1) ... 278s Setting up libinput-bin (1.25.0-1build1) ... 278s Setting up intltool-debian (0.35.0+20060710.6) ... 278s Setting up libobject-pad-perl (0.808-1build2) ... 278s Setting up libthai0:armhf (0.1.29-2) ... 278s Setting up libxdmcp-dev:armhf (1:1.1.3-0ubuntu5) ... 278s Setting up libegl-mesa0:armhf (24.0.3-1ubuntu3) ... 278s Setting up libdata-validate-uri-perl (0.07-3) ... 278s Setting up libtest-exception-perl (0.43-3) ... 278s Setting up libglpk40:armhf (5.0-1build1) ... 278s Setting up libstring-copyright-perl (0.003014-1) ... 278s Setting up liblapack-dev:armhf (3.12.0-3) ... 278s update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so to provide /usr/lib/arm-linux-gnueabihf/liblapack.so (liblapack.so-arm-linux-gnueabihf) in auto mode 278s Setting up libdata-optlist-perl (0.114-1) ... 278s Setting up libpmix2t64:armhf (5.0.1-4.1) ... 278s Setting up libopenmpi3t64:armhf (4.1.6-7ubuntu1) ... 278s Setting up libccolamd3:armhf (1:7.6.1+dfsg-1) ... 278s Setting up libxml-libxml-perl (2.0207+dfsg+really+2.0134-1build3) ... 279s update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... 279s update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... 279s update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... 279s Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version 279s Setting up dh-strip-nondeterminism (1.13.1-1) ... 279s Setting up libwww-robotrules-perl (6.02-1) ... 279s Setting up libjack-jackd2-0:armhf (1.9.21~dfsg-3ubuntu1) ... 279s Setting up libgcc-13-dev:armhf (13.2.0-19ubuntu1) ... 279s Setting up libtiff6:armhf (4.5.1+git230720-4ubuntu1) ... 279s Setting up libhtml-parser-perl:armhf (3.81-1build2) ... 279s Setting up libegl1:armhf (1.7.0-1) ... 279s Setting up libc6-dev:armhf (2.39-0ubuntu6) ... 279s Setting up libfontconfig1:armhf (2.15.0-1.1ubuntu1) ... 279s Setting up libsndfile1:armhf (1.2.2-1ubuntu3) ... 279s Setting up libmro-compat-perl (0.15-2) ... 279s Setting up libhdf5-103-1t64:armhf (1.10.10+repack-3.1ubuntu3) ... 279s Setting up libgfortran-13-dev:armhf (13.2.0-19ubuntu1) ... 279s Setting up libsm6:armhf (2:1.2.3-1build2) ... 279s Setting up libfftw3-dev:armhf (3.3.10-1ubuntu2) ... 279s Setting up libavahi-client3:armhf (0.8-13ubuntu4) ... 279s Setting up libio-socket-ssl-perl (2.085-1) ... 279s Setting up openmpi-bin (4.1.6-7ubuntu1) ... 279s update-alternatives: using /usr/bin/mpirun.openmpi to provide /usr/bin/mpirun (mpirun) in auto mode 279s update-alternatives: using /usr/bin/mpicc.openmpi to provide /usr/bin/mpicc (mpi) in auto mode 279s Setting up cpp-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 279s Setting up libstdc++-13-dev:armhf (13.2.0-19ubuntu1) ... 279s Setting up libsub-exporter-perl (0.990-1) ... 279s Setting up libhttp-message-perl (6.45-1ubuntu1) ... 279s Setting up libhtml-form-perl (6.11-1) ... 279s Setting up libiterator-perl (0.03+ds1-2) ... 279s Setting up libinput10:armhf (1.25.0-1build1) ... 279s Setting up libhdf5-hl-100t64:armhf (1.10.10+repack-3.1ubuntu3) ... 279s Setting up libportaudio2:armhf (19.6.0-1.2build1) ... 279s Setting up libhttp-negotiate-perl (6.01-2) ... 279s Setting up fontconfig (2.15.0-1.1ubuntu1) ... 281s Regenerating fonts cache... done. 281s Setting up libjpeg-turbo8-dev:armhf (2.1.5-2ubuntu1) ... 281s Setting up libcarp-assert-more-perl (2.3.0-1) ... 281s Setting up libcholmod5:armhf (1:7.6.1+dfsg-1) ... 281s Setting up libptscotch-7.0:armhf (7.0.4-1ubuntu1) ... 281s Setting up libxft2:armhf (2.3.6-1) ... 281s Setting up libncurses-dev:armhf (6.4+20240113-1ubuntu1) ... 281s Setting up libglx-mesa0:armhf (24.0.3-1ubuntu3) ... 281s Setting up libxcb1-dev:armhf (1.15-1) ... 281s Setting up libiterator-util-perl (0.02+ds1-2) ... 281s Setting up libglx0:armhf (1.7.0-1) ... 281s Setting up cpp-13 (13.2.0-19ubuntu1) ... 281s Setting up libhttp-cookies-perl (6.11-1) ... 281s Setting up libspqr4:armhf (1:7.6.1+dfsg-1) ... 281s Setting up po-debconf (1.0.21+nmu1) ... 281s Setting up libhtml-tree-perl (5.07-3) ... 281s Setting up libparams-classify-perl:armhf (0.015-2build4) ... 281s Setting up libpango-1.0-0:armhf (1.52.1+ds-1) ... 281s Setting up libhdf5-cpp-103-1t64:armhf (1.10.10+repack-3.1ubuntu3) ... 281s Setting up libcgi-pm-perl (4.63-1) ... 281s Setting up mpi-default-bin (1.15) ... 281s Setting up libx11-dev:armhf (2:1.8.7-1) ... 281s Setting up libhdf5-fortran-102t64:armhf (1.10.10+repack-3.1ubuntu3) ... 281s Setting up libcombblas2.0.0t64:armhf (2.0.0-3.1build1) ... 281s Setting up libfftw3-mpi3:armhf (3.3.10-1ubuntu2) ... 281s Setting up libreadline-dev:armhf (8.2-3.1build1) ... 281s Setting up libcairo2:armhf (1.18.0-1ubuntu1) ... 281s Setting up gcc-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 281s Setting up libhdf5-openmpi-103-1t64:armhf (1.10.10+repack-3.1ubuntu3) ... 281s Setting up libqt5gui5t64:armhf (5.15.12+dfsg-3ubuntu6) ... 281s Setting up libgl1:armhf (1.7.0-1) ... 281s Setting up libnet-smtp-ssl-perl (1.04-2) ... 281s Setting up libmodule-runtime-perl (0.016-2) ... 281s Setting up libmailtools-perl (2.21-2) ... 281s Setting up libklu2:armhf (1:7.6.1+dfsg-1) ... 281s Setting up libconfig-model-perl (2.153-3) ... 281s Setting up libxt6t64:armhf (1:1.2.1-1.2) ... 281s Setting up libgd3:armhf (2.3.3-9ubuntu3) ... 281s Setting up gcc-13 (13.2.0-19ubuntu1) ... 281s Setting up texinfo (7.1-3build1) ... 281s Setting up zlib1g-dev:armhf (1:1.3.dfsg-3.1ubuntu1) ... 281s Setting up libumfpack6:armhf (1:7.6.1+dfsg-1) ... 281s Setting up libconst-fast-perl (0.014-2) ... 281s Setting up cpp (4:13.2.0-7ubuntu1) ... 281s Setting up libdata-section-perl (0.200008-1) ... 281s Setting up libglx-dev:armhf (1.7.0-1) ... 281s Setting up libpangoft2-1.0-0:armhf (1.52.1+ds-1) ... 281s Setting up libjpeg8-dev:armhf (8c-2ubuntu11) ... 281s Setting up libdata-dpath-perl (0.59-1) ... 281s Setting up libhdf5-hl-cpp-100t64:armhf (1.10.10+repack-3.1ubuntu3) ... 281s Setting up libfltk1.3t64:armhf (1.3.8-6.1) ... 281s Setting up libcups2t64:armhf (2.4.7-1.2ubuntu1) ... 281s Setting up libgl-dev:armhf (1.7.0-1) ... 281s Setting up libstring-rewriteprefix-perl (0.009-1) ... 281s Setting up libpangocairo-1.0-0:armhf (1.52.1+ds-1) ... 281s Setting up libscalapack-openmpi2.2:armhf (2.2.1-3build1) ... 281s Setting up gcc-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 281s Setting up g++-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 281s Setting up gfortran-13-arm-linux-gnueabihf (13.2.0-19ubuntu1) ... 281s Setting up g++-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 281s Setting up libconfig-model-backend-yaml-perl (2.134-2) ... 281s Setting up g++-13 (13.2.0-19ubuntu1) ... 281s Setting up libxmu6:armhf (2:1.1.3-3build1) ... 281s Setting up libtool (2.4.7-7) ... 281s Setting up libmodule-implementation-perl (0.09-2) ... 281s Setting up libqt5widgets5t64:armhf (5.15.12+dfsg-3ubuntu6) ... 281s Setting up libsuperlu-dist8:armhf (8.2.1+dfsg1-1build1) ... 281s Setting up libpackage-stash-perl (0.40-1) ... 281s Setting up libimport-into-perl (1.002005-2) ... 281s Setting up libmoo-perl (2.005005-1) ... 281s Setting up libjpeg-dev:armhf (8c-2ubuntu11) ... 281s Setting up libhdf5-hl-fortran-100t64:armhf (1.10.10+repack-3.1ubuntu3) ... 281s Setting up liblist-someutils-perl (0.59-1) ... 281s Setting up libxaw7:armhf (2:1.0.14-1build1) ... 281s Setting up libmime-tools-perl (5.514-1) ... 281s Setting up libqt5help5:armhf (5.15.12-2build2) ... 281s Setting up libsoftware-license-perl (0.104006-1) ... 281s Setting up libclass-load-perl (0.25-2) ... 281s Setting up gcc (4:13.2.0-7ubuntu1) ... 281s Setting up libgl2ps1.4 (1.4.2+dfsg1-2) ... 281s Setting up gfortran-arm-linux-gnueabihf (4:13.2.0-7ubuntu1) ... 281s Setting up dh-autoreconf (20) ... 281s Setting up libfltk-gl1.3t64:armhf (1.3.8-6.1) ... 281s Setting up gfortran-13 (13.2.0-19ubuntu1) ... 281s Setting up libmumps-5.6t64:armhf (5.6.2-2.1build1) ... 281s Setting up libhdf5-dev (1.10.10+repack-3.1ubuntu3) ... 281s update-alternatives: using /usr/lib/arm-linux-gnueabihf/pkgconfig/hdf5-serial.pc to provide /usr/lib/arm-linux-gnueabihf/pkgconfig/hdf5.pc (hdf5.pc) in auto mode 281s Setting up libhypre-2.28.0:armhf (2.28.0-8build1) ... 281s Setting up g++ (4:13.2.0-7ubuntu1) ... 281s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 281s Setting up libpetsc-real3.19t64:armhf (3.19.6+dfsg1-2.2ubuntu1) ... 281s update-alternatives: using /usr/lib/arm-linux-gnueabihf/libpetsc_real.so.3.19.6 to provide /usr/lib/arm-linux-gnueabihf/libpetsc.so.3.19 (libpetsc.so.3.19) in auto mode 281s Setting up gnuplot-nox (6.0.0+dfsg1-1ubuntu2) ... 281s update-alternatives: using /usr/bin/gnuplot-nox to provide /usr/bin/gnuplot (gnuplot) in auto mode 281s Setting up libmoox-aliases-perl (0.001006-2) ... 281s Setting up libparams-validate-perl:armhf (1.31-2build2) ... 281s Setting up libb-hooks-endofscope-perl (0.28-1) ... 281s Setting up libqt5printsupport5t64:armhf (5.15.12+dfsg-3ubuntu6) ... 281s Setting up libsoftware-licensemoreutils-perl (1.009-1) ... 281s Setting up x11-xkb-utils (7.7+8build1) ... 281s Setting up debhelper (13.14.1ubuntu5) ... 281s Setting up libqscintilla2-qt5-15:armhf (2.14.1+dfsg-1build2) ... 281s Setting up gfortran (4:13.2.0-7ubuntu1) ... 281s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode 281s 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 281s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode 281s 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 281s Setting up dh-octave-autopkgtest (1.8.0) ... 281s Setting up libnamespace-clean-perl (0.27-2) ... 281s Setting up libstring-license-perl (0.0.9-2ubuntu1) ... 281s Setting up libsundials-nvecparallel-petsc6:armhf (6.4.1+dfsg1-3build3) ... 281s Setting up libgetopt-long-descriptive-perl (0.111-1) ... 281s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 281s Setting up licensecheck (3.3.9-1ubuntu1) ... 281s Setting up libapp-cmd-perl (0.336-1) ... 281s Setting up xvfb (2:21.1.11-2ubuntu1) ... 281s Setting up libsundials-sunlinsol3:armhf (6.4.1+dfsg1-3build3) ... 281s Setting up cme (1.040-1) ... 281s Setting up libheif-plugin-dav1d:armhf (1.17.6-1ubuntu2) ... 281s Setting up libwww-perl (6.76-1) ... 281s Setting up libheif1:armhf (1.17.6-1ubuntu2) ... 281s Setting up libparse-debcontrol-perl (2.005-6) ... 281s Setting up libhtml-tokeparser-simple-perl (3.16-4) ... 281s Setting up libwww-mechanize-perl (2.18-1ubuntu1) ... 281s Setting up liblwp-protocol-https-perl (6.13-1) ... 281s Setting up libheif-plugin-libde265:armhf (1.17.6-1ubuntu2) ... 281s Setting up libgraphicsmagick-q16-3t64 (1.4+really1.3.42-1.1build1) ... 281s Setting up lintian (2.117.0ubuntu1) ... 281s Setting up libgraphicsmagick++-q16-12t64 (1.4+really1.3.42-1.1build1) ... 281s Setting up libconfig-model-dpkg-perl (3.004) ... 281s Setting up octave (8.4.0-1build4) ... 282s Setting up octave-dev (8.4.0-1build4) ... 282s Setting up octave-image:armhf (2.14.0-5) ... 282s Setting up dh-octave (1.8.0) ... 282s Setting up autopkgtest-satdep (0) ... 282s Processing triggers for libc-bin (2.39-0ubuntu6) ... 282s Processing triggers for man-db (2.12.0-3build4) ... 283s Processing triggers for udev (255.4-1ubuntu5) ... 284s Processing triggers for install-info (7.1-3build1) ... 354s (Reading database ... 75956 files and directories currently installed.) 354s Removing autopkgtest-satdep (0) ... 359s autopkgtest [23:29:54]: test command1: DH_OCTAVE_TEST_ENV="xvfb-run -a" /usr/bin/dh_octave_check --use-installed-package 359s autopkgtest [23:29:54]: test command1: [----------------------- 361s Checking package... 362s Run the unit tests... 363s Checking m files ... 363s [inst/stdfilt.m] 363s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/stdfilt.m 363s ***** test 363s im = stdfilt (ones (5)); 363s assert (im, zeros (5)) 363s ***** test 363s A = zeros (3,3); 363s B = ones (3,3); 363s C = [1 1 1; 2 2 2; 3 3 3]; 363s D = C'; 363s E = ones (3,3); 363s E(2,2) = 2; 363s F = 3 .* ones (3,3); 363s F(2,2) = 1; 363s G = [-1 2 7; -5 2 8; -7 pi 9]; 363s H = [5 2 8; 1 -3 1; 5 1 0]; 363s A_out = [0 0 0; 0 0 0; 0 0 0]; 363s B_out = [0 0 0; 0 0 0; 0 0 0]; 363s C_out = repmat ([std([1 1 1 1 1 1 2 2 2]) 363s std([1 1 1 2 2 2 3 3 3]) 363s std([2 2 2 3 3 3 3 3 3])], [1 3]); 363s D_out = C_out'; 363s E_out = (1/3) .* ones (3,3); 363s F_out = (2/3) .* ones (3,3); 363s 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]); 363s 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]); 363s 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])]; 363s 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]); 363s 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]); 363s 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])]; 363s assert (stdfilt (A), A_out) 363s assert (stdfilt (B), B_out) 363s assert (stdfilt (C), C_out, 4*eps) 363s assert (stdfilt (D), D_out, 4*eps) 363s assert (stdfilt (E), E_out, 4*eps) 363s assert (stdfilt (F), F_out, 4*eps) 363s assert (stdfilt (G), G_out, 4*eps) 363s assert (stdfilt (H), H_out, 4*eps) 363s im = stdfilt (ones (5, 'logical')); 363s assert (im, zeros (5)) 363s im = stdfilt (ones (5, 'uint8')); 363s assert (im, zeros (5)) 363s assert (stdfilt (int8(H), H_out, 4*eps)) 363s assert (stdfilt (uint8(H), H_out, 4*eps)) 363s assert (stdfilt (int16(H), H_out, 4*eps)) 363s assert (stdfilt (uint16(H), H_out, 4*eps)) 363s assert (stdfilt (int32(H), H_out, 4*eps)) 363s assert (stdfilt (uint32(H), H_out, 4*eps)) 363s assert (stdfilt (int64(H), H_out, 4*eps)) 363s assert (stdfilt (uint64(H), H_out, 4*eps)) 363s assert (stdfilt (single(H), H_out, 4*eps)) 363s 2 tests, 2 passed, 0 known failure, 0 skipped 363s [inst/imimposemin.m] 363s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imimposemin.m 363s ***** shared im0, bw0, out0, out0_4 363s im0 = uint8 ([5 5 5 5 5; 363s 5 4 3 4 5; 363s 5 3 0 3 5; 363s 5 4 3 4 5; 363s 5 5 5 5 5]); 363s bw0 = false (5); 363s bw0(4, 4) = true; 363s out0 = im0 + 1; 363s out0(4, 4) = 0; 363s out0_4 = out0; 363s out0_4(3, 3) = 4; 363s ***** error imimposemin () 363s ***** error imimposemin (im0) 363s ***** error imimposemin ("hello", bw0) 363s ***** error imimposemin (i.*im0, bw0) 363s ***** error imimposemin (sparse (im0), bw0) 363s ***** error imimposemin (im0, ones (2)) 363s ***** error imimposemin (im0, 'hello') 363s ***** error imimposemin (im0, i .* double (bw0)) 363s ***** error imimposemin (im0, sparse (bw0)) 363s ***** error imimposemin (im0, bw0, 'hello') 363s ***** error imimposemin (im0, bw0, 3) 363s ***** assert (imimposemin (im0, bw0), out0) 363s ***** assert (imimposemin (im0, bw0, 8), out0) 363s ***** assert (imimposemin (im0, bw0, 4), out0_4) 363s ***** assert (imimposemin (im0, bw0, true (3)), out0) 363s ***** test 363s out = imimposemin (im0, bw0); 363s assert (size (out), size (im0)) 363s assert (class (out), "uint8") 363s ***** test 363s out = imimposemin (double (im0), bw0); 363s assert (size (out), size (im0)) 363s assert (class (out), "double") 363s ***** test 363s out = imimposemin (single (im0), bw0); 363s assert (size (out), size (im0)) 363s assert (class (out), "single") 363s ***** test 363s out = imimposemin (uint16 (im0), bw0); 363s assert (size (out), size (im0)) 363s assert (class (out), "uint16") 363s ***** test 363s im = cat (3, im0, im0, im0, im0); 363s bw = cat (3, bw0, bw0, bw0, bw0); 363s out = imimposemin (im, bw); 363s assert (size (out), size (im)) 363s ***** test 363s expected_double = double (im0); 363s expected_double += 0.005; 363s expected_double(4, 4) = -inf; 363s out = imimposemin (double (im0), bw0); 363s assert (out, expected_double, eps) 363s ***** test 363s im = uint8 (10 .* ones (10)); 363s im(6:8, 6:8) = 2; 363s im(2:4, 2:4) = 7; 363s im(3, 3) = 5; 363s im(2, 9) = 9; 363s im(3, 8) = 9; 363s im(9, 2) = 9; 363s im(8, 3) = 9; 363s bw = false (10); 363s bw(3, 3) = true; 363s bw(6:8, 6:8) = true; 363s expected = uint8 (11 .* ones(10)); 363s expected(2:4, 2:4) = 8; 363s expected(3, 3) = 0; 363s expected(6:8, 6:8) = 0; 363s expected_double = double (expected); 363s expected_double -= 0.992; 363s expected_double (expected_double < 0) = -inf; 363s out = imimposemin (im, bw); 363s assert (out, expected, eps) 363s out = imimposemin (double (im), bw); 363s assert (out, expected_double, eps) 363s 22 tests, 22 passed, 0 known failure, 0 skipped 363s [inst/bweuler.m] 363s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/bweuler.m 363s ***** demo 363s A=zeros(9,10); 363s A([2,5,8],2:9)=1; 363s A(2:8,[2,9])=1 363s bweuler(A) 363s # Euler number (objects minus holes) is 1-2=-1 in an 8-like object 363s ***** test 363s A=zeros(10,10); 363s A(2:9,3:8)=1; 363s A(4,4)=0; 363s A(8,8)=0; # not a hole 363s A(6,6)=0; 363s assert(bweuler(A),-1); 363s ***** test 363s A=zeros(10,10); 363s A(2:4,2:4)=1; 363s A(5:8,5:8)=1; 363s assert(bweuler(A,4),2); 363s assert(bweuler(A,8),1); 363s assert(bweuler(A),1); 363s ***** error <2 dimensions> bweuler (true (5, 5, 1, 5)) 363s 3 tests, 3 passed, 0 known failure, 0 skipped 363s [inst/mat2gray.m] 363s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/mat2gray.m 363s ***** assert(mat2gray([1 2 3]), [0 0.5 1]); # standard use 363s ***** assert(mat2gray(repmat ([1 2; 3 3], [1 1 3])), repmat ([0 0.5; 1 1], [1 1 3])); # setting min and max 363s ***** assert(mat2gray([1 2 3], [2 2]), [1 1 1]); # equal min and max 363s ***** assert(mat2gray([-1 0 0.5 3], [2 2]), [0 0 0.5 1]); # equal min and max 363s ***** test 363s ## SCALE is unset and all values in the input IMAGE are the same: 363s ## case 1: all values are in the [0 1] range] 363s assert (mat2gray ([.5 .5; .5 .5]), [.5 .5; .5 .5]) 363s ## case 2: all values are above the [0 1] range 363s assert (mat2gray ([3 3; 3 3]), [1 1; 1 1]) 363s ## case 2: all values are below the [0 1] range 363s assert (mat2gray ([-3 -3; -3 -3]), [0 0; 0 0]) 363s ***** assert(mat2gray([1 2 3], [3 1]), [1 0.5 0]); # max and min inverted 363s ***** assert (mat2gray ([-3 -2 -1]), [0 0.5 1]) 363s 7 tests, 7 passed, 0 known failure, 0 skipped 363s [inst/imdivide.m] 363s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imdivide.m 363s ***** assert (imdivide (uint8 ([23 250]), uint8 ([ 2 50])), uint8 ([ 12 5])); # default to first class 363s ***** assert (imdivide (uint8 ([56 255]), uint8 ([ 0 0])), uint8 ([255 255])); # dividing by zero works (tested in matlab) 363s ***** assert (imdivide (uint8 ([23 250]), 2), uint8 ([ 12 125])); # works subtracting a scalar 363s ***** assert (imdivide (uint8 ([23 250]), uint8 ([ 2 50]), "uint16"), uint16 ([ 12 5])); # defining output class works (not in matlab) 363s ***** assert (imdivide (logical ([1 1 0 0]), logical ([1 0 1 0])), double ([1 Inf 0 NaN])); # dividing logical matrix (tested in matlab) 363s ***** fail ("imdivide (uint8 ([23 250]), uint16 ([23 250]))"); # input needs to have same class 363s 6 tests, 6 passed, 0 known failure, 0 skipped 363s [inst/rgb2xyz.m] 363s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/rgb2xyz.m 363s ***** assert (rgb2xyz ([0 0 0]), [0, 0, 0], 1e-3) 363s ***** assert (rgb2xyz ([1 0 0]), [0.4125, 0.2127, 0.0193], 1e-3) 363s ***** assert (rgb2xyz ([1 1 0]), [0.7700, 0.9278, 0.1385], 1e-3) 363s ***** assert (rgb2xyz ([0 1 0]), [0.3576, 0.7152, 0.1192], 1e-3) 363s ***** assert (rgb2xyz ([0 1 1]), [0.5380, 0.7873, 1.0694], 1e-3) 363s ***** assert (rgb2xyz ([0 0 1]), [0.1804, 0.0722, 0.9502], 1e-3) 363s ***** assert (rgb2xyz ([1 0 1]), [0.5929, 0.2848, 0.9696], 1e-3) 363s ***** assert (rgb2xyz ([1 1 1]), [0.9505, 1.0000, 1.0888], 1e-3) 363s ***** assert (rgb2xyz ([0.5 0.5 0.5]), [0.2034, 0.2140, 0.2330], 1e-3) 363s ***** assert (rgb2xyz ([0.75 0 0]), [0.2155, 0.1111, 0.0101], 1e-3) 363s ***** assert (rgb2xyz ([0.5 0 0]), [0.0883, 0.0455, 0.0041], 1e-3) 363s ***** assert (rgb2xyz ([0.25 0 0]), [0.0210, 0.0108, 0.0010], 1e-3) 363s ***** assert (rgb2xyz ([1 0.5 0.5]), [0.5276, 0.3812, 0.2482], 1e-3) 363s ***** assert (rgb2xyz ([1.5 1 1]), [1.5845, 1.3269, 1.1185], 1e-3) 363s ***** test 363s rgb_map = rand (64, 3); 363s assert (xyz2rgb (rgb2xyz (rgb_map)), rgb_map, 2e-5); 363s ***** test 363s rgb_img = rand (64, 64, 3); 363s assert (xyz2rgb (rgb2xyz (rgb_img)), rgb_img, 2e-5); 363s ***** assert (rgb2xyz (sparse ([0 0 0])), [0 0 0], 1e-3) 363s ***** assert (rgb2xyz (sparse ([0 0 1])), [0.1804, 0.0722, 0.9502], 1e-3) 363s ***** assert (rgb2xyz (uint8([255 255 255])), [0.9505, 1.0000, 1.0888], 1e-3) 363s ***** assert (class (rgb2xyz (single([1 1 1]))), 'single') 363s ***** error rgb2xyz () 364s ***** error rgb2xyz (1,2) 364s ***** error rgb2xyz ({1}) 364s ***** error rgb2xyz (ones (2,2)) 364s ***** test 364s rgb = rand (16, 16, 3, 5); 364s xyz = zeros (size (rgb)); 364s for i = 1:5 364s xyz(:,:,:,i) = rgb2xyz (rgb(:,:,:,i)); 364s endfor 364s assert (rgb2xyz (rgb), xyz) 364s 25 tests, 25 passed, 0 known failure, 0 skipped 364s [inst/bwpack.m] 364s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/bwpack.m 364s ***** error id=Octave:invalid-fun-call bwpack () 364s ***** error id=Octave:invalid-input-arg bwpack ("text") 364s ***** xtest 364s ## bug #55521 364s assert (bwpack (eye (5)), uint32 ([1 2 4 8 16])) 364s ***** xtest 364s ## bug #55521 364s assert (bwpack (repmat (eye (4), 15, 1)), 364s uint32 ([286331153 572662306 1145324612 2290649224 364s 17895697 35791394 71582788 143165576])) 364s ***** xtest 364s ## bug #55521 364s assert (bwpack (ones (3, 3, 3, 3)), repmat (uint32 (7), 1, 3, 3, 3)) 364s ***** assert (bwpack (false (0, 10)), uint32 (zeros (0, 10))) 364s ***** assert (bwpack (false (0, 0)), uint32 (zeros (0, 0))) 364s ***** assert (bwpack (false (32, 0)), uint32 (zeros (1, 0))) 364s ***** assert (bwpack (false (33, 0)), uint32 (zeros (2, 0))) 364s ***** assert (bwpack (false (0, 10, 3)), uint32 (zeros (0, 10, 3))) 364s ***** assert (bwpack (false (33, 0, 3)), uint32 (zeros (2, 0, 3))) 364s ***** assert (bwpack (i), bwpack (logical (i))) 364s 12 tests, 12 passed, 0 known failure, 0 skipped 364s [inst/im2col.m] 364s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/im2col.m 364s ***** demo 364s ## Divide A using distinct blocks and then reverse the operation 364s A = [ 1:10 364s 11:20 364s 21:30 364s 31:40]; 364s B = im2col (A, [2 5], "distinct") 364s C = col2im (B, [2 5], [4 10], "distinct") 364s ***** test 364s a = rand (10); 364s assert (im2col (a, [5 5]), im2col (a, [5 5], "sliding")) 364s ***** test 364s a = rand (10); 364s assert (im2col (a, [5 5]), im2col (a, "indexed", [5 5])) 364s ***** error im2col (rand (20), [2 5], 10) 364s ***** error im2col (rand (20), [2 5], "wrong_block_type") 364s ***** error im2col (rand (10), [5 5], "sliding", 5) 364s ***** error im2col (rand (10), "indexed", [5 5], "sliding", 5) 364s ***** shared B, A, Bs, As, Ap, Bp0, Bp1, Bp0_3s 364s v = [1:10]'; 364s r = reshape (v, 2, 5); 364s B = [v v+20 v+40 v+10 v+30 v+50]; 364s A = [r r+10; r+20 r+30; r+40 r+50]; 364s As = [ 1 2 3 4 5 364s 6 7 8 9 10 364s 11 12 13 14 15]; 364s b1 = As(1:2, 1:4)(:); 364s b2 = As(2:3, 1:4)(:); 364s b3 = As(1:2, 2:5)(:); 364s b4 = As(2:3, 2:5)(:); 364s Bs = [b1, b2, b3, b4]; 364s Ap = A(:, 1:9); 364s Bp1 = Bp0 = B; 364s Bp0(9:10, 4:6) = 0; 364s Bp1(9:10, 4:6) = 1; 364s Bp0_3s = Bp0; 364s Bp0_3s(11:30, :) = 0; 364s ***** assert (im2col (A, [2 5], "distinct"), B); 364s ***** assert (im2col (Ap, [2 5], "distinct"), Bp0); 364s ***** assert (im2col (Ap, [2 5 3], "distinct"), Bp0_3s); 364s ***** assert (im2col (Ap, "indexed", [2 5], "distinct"), Bp1); 364s ***** assert (im2col (uint8 (Ap), "indexed", [2 5], "distinct"), uint8 (Bp0)); 364s ***** assert (im2col (uint16 (Ap), "indexed", [2 5], "distinct"), uint16 (Bp0)); 364s ***** assert (im2col (int16 (Ap), "indexed", [2 5], "distinct"), int16 (Bp1)); 364s ***** assert (im2col (uint32 (Ap), "indexed", [2 5], "distinct"), uint32 (Bp1)); 364s ***** assert (im2col (uint8 (A), [2 5], "distinct"), uint8 (B)); 364s ***** assert (im2col (single (A), [2 5], "distinct"), single (B)); 364s ***** assert (im2col (logical (A), [2 5], "distinct"), logical (B)); 364s ***** assert (im2col (uint8 (As), [2 4], "sliding"), uint8 (Bs)); 364s ***** assert (im2col (single (As), [2 4], "sliding"), single (Bs)); 364s ***** assert (im2col (logical (As), [2 4], "sliding"), logical (Bs)); 364s ***** assert (im2col (As, [2 4], "sliding"), Bs); 364s ***** assert (im2col (As, [3 5], "sliding"), As(:)); 364s ***** test 364s A = randi (9, 10, 9, 5); 364s ***** assert (convn (A, ones (3, 3, 3), "valid"), 364s reshape (sum (im2col (A, [3 3 3])), [8 7 3])); 364s 364s A = randi (9, 10, 9, 5, 7); 364s ***** assert (convn (A, ones (3, 3, 3), "valid"), 364s reshape (sum (im2col (A, [3 3 3])), [8 7 3 7])); 364s ***** assert (convn (A, ones (3, 4, 3), "valid"), 364s reshape (sum (im2col (A, [3 4 3])), [8 6 3 7])); 364s ***** assert (convn (A, ones (3, 5, 3, 2), "valid"), 364s reshape (sum (im2col (A, [3 5 3 2])), [8 5 3 6])); 364s ***** assert (im2col (1:8, [2 1]), zeros (2, 0)) 364s 28 tests, 28 passed, 0 known failure, 0 skipped 364s [inst/imextendedmin.m] 364s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imextendedmin.m 364s ***** shared im0, bw0_h2_out 364s im0 = uint8 ([5 5 5 5 5; 364s 5 4 3 4 5; 364s 5 3 0 3 5; 364s 5 4 3 4 5; 364s 5 5 5 5 5]); 364s bw0_h2_out = false (5); 364s bw0_h2_out(3,3) = true; 364s ***** error imextendedmin () 365s ***** error imextendedmin (im0) 365s ***** error imextendedmin ("hello", 2) 365s ***** error imextendedmin (i.*im0, 2) 365s ***** error imextendedmin (sparse (im0), 2) 365s ***** error imextendedmin (im0, -2) 365s ***** error imextendedmin (im0, 'a') 365s ***** error imextendedmin (im0, ones (2)) 365s ***** error imextendedmin (im0, 2*i) 365s ***** assert (imextendedmin (im0, 2), bw0_h2_out) 365s ***** assert (imextendedmin (double (im0), 2), bw0_h2_out) 365s ***** assert (imextendedmin (im0, 2, 8), bw0_h2_out) 365s ***** assert (imextendedmin (im0, 2, 4), bw0_h2_out) 365s ***** assert (imextendedmin (im0, 2, true (3)), bw0_h2_out) 365s ***** test 365s out = imextendedmin (im0, 2); 365s assert (size (out), size (im0)) 365s assert (class (out), "logical") 365s ***** test 365s out = imextendedmin (single (im0), 2); 365s assert (size (out), size (im0)) 365s assert (class (out), "logical") 365s ***** test 365s out = imextendedmin (uint8 (im0), 2); 365s assert (size (out), size (im0)) 365s assert (class (out), "logical") 365s ***** test 365s out = imextendedmin (uint16 (im0), 2); 365s assert (size (out), size (im0)) 365s assert (class (out), "logical") 365s ***** test 365s im = cat (3, im0, im0, im0, im0); 365s out = imextendedmin (im, 2); 365s assert (size (out), size (im)) 365s ***** test 365s im = 10 .* ones (10); 365s im(2:4, 2:4) = 7; 365s im(6:8, 6:8) = 2; 365s expected_4 = false (10); 365s expected_4(6:8, 6:8) = true; 365s expected_2 = expected_4; 365s expected_2(2:4, 2:4) = true; 365s out = imextendedmin (im, 4); 365s assert (out, expected_4, eps) 365s out = imextendedmin (0.1.*im, 0.4); 365s assert (out, expected_4, eps) 365s out = imextendedmin (im, 2); 365s assert (out, expected_2, eps) 365s ***** test 365s im2 = 10 .* ones (10); 365s im2(2:4, 2:4) = 7; 365s im2(6:9, 6:9)=2; 365s im2(5, 5)=2; 365s im2(6, 7)=10; 365s im2(7, 8)=10; 365s expected_8 = false (10); 365s expected_8(6:9, 6:9) = true; 365s expected_8(5, 5) = true; 365s expected_8(6, 7) = false; 365s expected_8(7, 8) = false; 365s expected_4 = expected_8; 365s expected_4(2:4, 2:4) = true; 365s out2 = imextendedmin (im2, 2); 365s assert (out2, expected_8, eps) 365s out2 = imextendedmin (im2, 2, 4); 365s assert (out2, expected_4, eps) 365s out2 = imextendedmin (im2, 2, 8); 365s assert (out2, expected_8, eps) 365s 21 tests, 21 passed, 0 known failure, 0 skipped 365s [inst/imquantize.m] 365s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imquantize.m 365s ***** error 365s imquantize (rand (5), [3 4 2 5]) 365s ***** error 365s imquantize (rand (5), [1 2 3], "foo") 365s ***** error 365s imquantize (rand (5), [1 2 3 4], 1:6) 365s ***** error 365s imquantize (rand (5), [1 2 3 4], 1:2) 365s ***** test 365s img = [-inf 0 10000000; -100000 -3 1/1000000; 5 5 10]; 365s [q, q_idx] = imquantize (img, 5); 365s assert (q, [1 1 2; 1 1 1; 1 1 2]) 365s assert (q_idx, q) 365s ***** test 365s img = [1:10; 11:20; 21:30; 31:40; 41:50; 51:60; 61:70]; 365s 365s expected_q = [ 365s 0 0 0 0 0 1 1 1 1 1 365s 1 1 1 1 1 5 5 5 5 5 365s 5 5 5 5 5 10 10 10 10 10 365s 20 20 20 20 20 20 20 20 20 20 365s 30 30 30 30 30 30 30 30 30 30 365s 30 30 30 30 30 30 30 30 30 30 365s 15 15 15 15 15 15 15 15 15 15]; 365s 365s expected_q_idx = [ 365s 1 1 1 1 1 2 2 2 2 2 365s 2 2 2 2 2 3 3 3 3 3 365s 3 3 3 3 3 4 4 4 4 4 365s 5 5 5 5 5 5 5 5 5 5 365s 6 6 6 6 6 6 6 6 6 6 365s 6 6 6 6 6 6 6 6 6 6 365s 7 7 7 7 7 7 7 7 7 7]; 365s 365s [q, q_idx] = imquantize (img, [5 15 25 30 40 60], [0 1 5 10 20 30 15]); 365s assert (q, expected_q) 365s assert (q_idx, expected_q_idx) 365s 365s [q, q_idx] = imquantize (single (img), [5 15 25 30 40 60], 365s [0 1 5 10 20 30 15]); 365s assert (q, expected_q) 365s assert (q_idx, expected_q_idx) 365s 365s [q, q_idx] = imquantize (uint8 (img), [5 15 25 30 40 60], 365s [0 1 5 10 20 30 15]); 365s assert (q, expected_q) 365s assert (q_idx, expected_q_idx) 365s 365s [q, q_idx] = imquantize (uint8 (img), uint8 ([5 15 25 30 40 60]), 365s [0 1 5 10 20 30 15]); 365s assert (q, expected_q) 365s assert (q_idx, expected_q_idx) 365s 365s [q, q_idx] = imquantize (uint8 (img), uint8 ([5 15 25 30 40 60]), 365s uint8 ([0 1 5 10 20 30 15])); 365s assert (q, uint8 (expected_q)) 365s assert (q_idx, expected_q_idx) 365s ***** test 365s img = randi ([0 255], 10, "uint8"); 365s [q, q_idx] = imquantize (img, [50 100 150 200]); 365s assert (class (q), "double") 365s assert (class (q_idx), "double") 365s 365s [q, q_idx] = imquantize (img, [50 100 150 200], uint16 ([5 7 8 9 2])); 365s assert (class (q), "uint16") 365s assert (class (q_idx), "double") 365s 365s [q, q_idx] = imquantize (img, [50 100 150 200], uint8 ([5 7 8 9 2])); 365s assert (class (q), "uint8") 365s assert (class (q_idx), "double") 365s ***** test 365s img = [1:10; 11:20; 21:30; 31:40; 41:50; 51:60; 61:70].'; 365s r_idx = reshape (randperm (numel (img)), size (img)); 365s 365s [quant, quant_idx] = imquantize (img, [5 15 25 30 40 60]); 365s [quant_r, quant_r_idx] = imquantize (img(r_idx), [5 15 25 30 40 60]); 365s 365s assert (imquantize (img(r_idx), [5 15 25 30 40 60]), quant(r_idx)) 365s assert (quant_r, quant_r_idx) 365s 8 tests, 8 passed, 0 known failure, 0 skipped 365s [inst/axes2pix.m] 365s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/axes2pix.m 365s ***** error id=Octave:invalid-fun-call axes2pix () 365s ***** error id=Octave:invalid-fun-call axes2pix (42) 365s ***** error id=Octave:invalid-fun-call axes2pix (42, [1, 2]) 366s ***** error id=Octave:invalid-input-arg axes2pix ([42, 43], [1, 2], [1, 2, 3]) 366s ***** error id=Octave:invalid-input-arg axes2pix (42, [1, 2; 3, 4], [1, 2, 3]) 366s ***** assert (axes2pix (42, [1 42], []), []) 366s ***** assert (axes2pix (240, [1, 240], 30), 30) 366s ***** assert (axes2pix (291, [1, 291], 30), 30) 366s ***** assert (axes2pix (240, [400.5, 520], 450), 100) 366s ***** assert (axes2pix (291, [-19, 271], 90), 110) 366s ***** assert (axes2pix (1, [1 1], [0, 1, 2, 3, 4]), [0, 1, 2, 3, 4]) 366s ***** assert (axes2pix (5, [1 1], [0, 1, 2, 3, 4]), [0, 1, 2, 3, 4]) 366s ***** assert (axes2pix (0, [1 1], [0, 1, 2, 3, 4]), [0, 1, 2, 3, 4]) 366s ***** assert (axes2pix (5, [5 1], [1, 2, 3, 4, 5]), [5, 4, 3, 2, 1]) 366s ***** assert (axes2pix (5, [3 -1], [1, 2, 3, 4, 5]), [3, 2, 1, 0, -1]) 366s ***** assert (axes2pix (25, [5 1], [1, 2, 3, 4, 5]), [25, 19, 13, 7, 1]) 366s ***** assert (axes2pix (1, [1 5], [1, 2, 3, 4, 5]), [1, 2, 3, 4, 5]) 366s ***** assert (axes2pix (1, [5 1], [-1, 0, 1, 2.5]), [-5, -4, -3, -1.5]) 366s ***** assert (axes2pix (1, [-10 -15], [-1, 0, 1.5]), [10, 11, 12.5]) 366s ***** assert (axes2pix (5, [5; 1], [1, 2, 3, 4, 5]), [5, 4, 3, 2, 1]) 366s ***** assert (axes2pix (5, [5; 1], [1; 2; 3; 4; 5]), [5; 4; 3; 2; 1]) 366s 21 tests, 21 passed, 0 known failure, 0 skipped 366s [inst/imclose.m] 366s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imclose.m 366s ***** shared in, out 366s in = [ 0 0 0 1 1 1 0 0 1 1 366s 0 1 0 1 1 1 0 0 0 1 366s 1 1 1 1 1 0 0 0 0 0 366s 0 1 1 1 1 0 0 0 0 0 366s 0 0 0 1 0 0 0 0 1 0 366s 0 0 0 0 0 0 0 1 1 1 366s 0 0 0 0 1 0 1 0 1 0 366s 0 0 0 1 1 1 1 1 0 0 366s 0 0 0 0 1 1 1 0 0 0 366s 0 0 0 1 1 1 0 0 0 0]; 366s 366s out = [ 1 1 1 1 1 1 1 1 1 1 366s 1 1 1 1 1 1 0 0 0 1 366s 1 1 1 1 1 0 0 0 0 1 366s 1 1 1 1 1 0 0 0 0 1 366s 0 0 0 1 1 0 0 0 1 1 366s 0 0 0 1 1 1 1 1 1 1 366s 0 0 0 1 1 1 1 1 1 1 366s 0 0 0 1 1 1 1 1 0 0 366s 0 0 0 1 1 1 1 0 0 0 366s 0 0 0 1 1 1 1 0 0 0]; 366s ***** assert (imclose (logical (in), ones (3)), logical (out)); 366s 366s out = [99 99 16 16 16 73 74 64 64 64 366s 98 88 16 16 16 73 71 64 64 64 366s 93 88 88 61 61 61 68 70 70 70 366s 93 88 88 61 61 61 68 71 71 71 366s 93 93 88 61 61 61 68 75 66 66 366s 79 79 82 90 90 49 49 49 49 66 366s 79 79 82 91 91 48 46 46 46 66 366s 79 79 82 95 97 48 46 46 46 72 366s 18 18 94 96 84 48 46 46 46 59 366s 18 18 100 96 84 50 50 50 50 59]; 366s ***** assert (imclose (magic (10), ones (3)), out); 366s ***** assert (imclose (uint8 (magic (10)), strel ("square", 3)), uint8 (out)); 366s 366s ## using a se that will be decomposed in 2 pieces 366s out =[ 99 99 88 74 74 74 74 70 70 70 366s 98 93 88 74 74 74 74 70 70 70 366s 93 93 88 74 74 74 74 70 70 70 366s 93 93 88 74 74 74 74 71 71 71 366s 93 93 88 75 75 75 75 75 75 75 366s 93 93 90 90 90 72 72 72 72 72 366s 93 93 91 91 91 72 72 72 72 72 366s 93 93 93 95 97 72 72 72 72 72 366s 94 94 94 96 97 72 72 72 72 72 366s 100 100 100 97 97 72 72 72 72 72]; 366s ***** assert (imclose (magic (10), ones(5)), out); 366s 366s ## using a weird non-symmetric and even-size se 366s out =[ 92 99 16 16 16 70 74 58 58 58 366s 98 88 60 73 16 73 69 70 64 58 366s 88 81 88 60 60 60 69 69 70 70 366s 87 87 61 68 61 60 68 69 71 69 366s 86 93 87 61 61 61 68 75 68 69 366s 23 82 89 89 90 45 68 45 68 66 366s 23 23 82 89 91 48 45 45 45 66 366s 79 23 82 95 97 46 48 46 45 72 366s 18 79 94 96 78 50 46 46 46 59 366s 18 18 100 94 94 78 50 50 46 59]; 366s ***** assert (imclose (magic (10), [1 0 0 0; 1 1 1 0; 0 1 0 1]), out); 366s 5 tests, 5 passed, 0 known failure, 0 skipped 366s [inst/deconvwnr.m] 366s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/deconvwnr.m 366s ***** shared im0, psf0, im0_out, psf1, im2, out2_0, out2_1, im3 366s im0 = ones (5, 5); 366s psf0 = ones (3, 3); 366s im0_out = 0.11111 .* ones (5, 5); 366s psf1 = [1 0 0; 0 1 0; 0 0 1]; 366s im2 = checkerboard (2, 2, 2); 366s out2_0 = [ 366s -0.4713 -0.2786 0.4229 0.5161 -0.2759 -0.4685 0.5131 0.4199; 366s -0.4713 -0.2786 0.4229 0.5161 -0.2759 -0.4685 0.5131 0.4199; 366s 0.5161 0.4229 -0.2786 -0.4713 0.4199 0.5131 -0.4685 -0.2759; 366s 0.5161 0.4229 -0.2786 -0.4713 0.4199 0.5131 -0.4685 -0.2759; 366s -0.4713 -0.2786 0.4229 0.5161 -0.2759 -0.4685 0.5131 0.4199; 366s -0.4713 -0.2786 0.4229 0.5161 -0.2759 -0.4685 0.5131 0.4199; 366s 0.5161 0.4229 -0.2786 -0.4713 0.4199 0.5131 -0.4685 -0.2759; 366s 0.5161 0.4229 -0.2786 -0.4713 0.4199 0.5131 -0.4685 -0.2759]; 366s out2_1 = [ 366s -0.0000 0.8481 0.4288 -0.4194 0.0000 0.2765 0.1373 -0.1392; 366s 0.5623 -0.0000 -0.4194 0.1429 0.5623 0.0000 -0.1392 0.4231; 366s 0.1429 -0.4194 0 0.5623 0.4231 -0.1392 0 0.5623; 366s -0.4194 0.4288 0.8481 0 -0.1392 0.1373 0.2765 0; 366s -0.0000 0.8481 0.4288 -0.4194 0.0000 0.2765 0.1373 -0.1392; 366s 0.5623 -0.0000 -0.4194 0.1429 0.5623 0.0000 -0.1392 0.4231; 366s 0.1429 -0.4194 0 0.5623 0.4231 -0.1392 0 0.5623; 366s -0.4194 0.4288 0.8481 0 -0.1392 0.1373 0.2765 0]; 366s im3 = rot90 (diag (0.5.*ones (1,8)) + diag (ones(1,7), 1)); 366s ***** error deconvwnr () 366s ***** error deconvwnr (ones (5)) 366s ***** assert (deconvwnr (ones (5), ones (3))) 366s ***** assert (deconvwnr (ones (5), ones (3), 0.7)) 366s ***** assert (deconvwnr (ones (5), ones (3), 0.5 .* ones (5))) 366s ***** assert (deconvwnr (ones (5, 5, 5), ones (3))) 366s ***** error deconvwnr (ones (5), ones (3), -0.7) 366s ***** error 366s deconvwnr (ones (5), ones (7)) 366s ***** error 366s deconvwnr (ones (5, 8, 2), ones (6, 5)) 366s ***** assert (deconvwnr (im0, psf0), im0_out, 1e-5) 366s ***** assert (deconvwnr (im0, single (psf0)), im0_out, 1e-5) 366s ***** assert (class (deconvwnr (im0, psf0)), "double") 366s ***** assert (deconvwnr (single (im0), psf0), single (im0_out), 1e-5) 366s ***** assert (class (deconvwnr (single (im0), psf0)), "single") 366s ***** assert (deconvwnr (im2uint8 (im0), psf0), im2uint8 (im0_out)) 366s ***** assert (class (deconvwnr (im2uint8 (im0), psf0)), "uint8") 366s ***** assert (deconvwnr (im2uint16 (im0), psf0), im2uint16 (im0_out)) 366s ***** assert (class (deconvwnr (im2uint16 (im0), psf0)), "uint16") 366s ***** assert (deconvwnr (im2int16 (im0), psf0), im2int16 (im0_out)) 366s ***** assert (class (deconvwnr (im2int16 (im0), psf0)), "int16") 366s ***** error deconvwnr (true (5), ones (3)) 366s ***** test 366s assert (deconvwnr (im0, psf0, 0.01), im0_out, 1e-4) 366s assert (deconvwnr (im0, psf1, 0.01), 0.333.*ones (5), 1e-4) 366s ***** test 366s im1 = magic (5)./25; 366s out1_0 = [ 366s -0.0820 0.5845 -0.4293 0.2372 -0.0214; 366s 0.6241 -0.5877 0.2768 0.0182 -0.0424; 366s -0.5481 0.3164 0.0578 -0.2009 0.6637; 366s 0.1580 0.0974 -0.1613 0.7033 -0.5085; 366s 0.1370 -0.1217 0.5449 -0.4689 0.1976]; 366s out1_1 = [ 366s -0.2959 -0.1363 0.4038 0.7595 0.1347; 366s -0.0191 0.3269 0.8768 0.0559 -0.3748; 366s 0.2481 0.7979 0.1731 -0.4517 0.0982; 366s 0.7210 0.2904 -0.5305 0.0194 0.3654; 366s 0.2116 -0.4132 -0.0575 0.4826 0.6422]; 366s assert (deconvwnr (im1, psf0, 0.01), out1_0, 1e-4) 366s assert (deconvwnr (im1, psf1, 0.01), out1_1, 1e-4) 366s ***** test 366s assert (deconvwnr (im2, psf0, 0.01), out2_0, 1e-4) 366s assert (deconvwnr (im2, psf1, 0.01), out2_1, 1e-4) 366s ***** test 366s out3_0_x = [ 366s -1.1111 1.0556 -0.4444 -0.1111 0.5556 -0.9444 0.8889 0.0556; 366s 1.0556 -0.7778 0.2222 0.5556 -1.2778 1.2222 0.0556 -0.7778; 366s -0.4444 0.2222 0.2222 -0.9444 1.2222 -0.2778 -0.4444 0.7222; 366s -0.1111 0.5556 -0.9444 0.8889 0.0556 -0.4444 0.3889 -0.4444; 366s 0.5556 -1.2778 1.2222 0.0556 -0.7778 0.7222 -0.4444 0.2222; 366s -0.9444 1.2222 -0.2778 -0.4444 0.7222 -0.7778 0.5556 0.2222; 366s 0.8889 0.0556 -0.4444 0.3889 -0.4444 0.5556 -0.1111 -0.9444; 366s 0.0556 -0.7778 0.7222 -0.4444 0.2222 0.2222 -0.9444 1.2222]; 366s out3_0_01 = [ 366s -0.5064 0.2140 0.1101 -0.0993 0.0297 -0.1942 0.3223 0.0772; 366s 0.2140 -0.0659 0.0375 0.0891 -0.4109 0.4783 0.2202 -0.2860; 366s 0.1101 0.0375 -0.0525 -0.3208 0.5721 0.0034 -0.1743 0.0939; 366s -0.0993 0.0891 -0.3208 0.4624 0.0936 -0.1150 -0.1395 -0.0135; 366s 0.0297 -0.4109 0.5721 0.0936 -0.2566 -0.0027 0.1101 0.1341; 366s -0.1942 0.4783 0.0034 -0.1150 -0.0027 -0.0659 0.2542 -0.0819; 366s 0.3223 0.2202 -0.1743 -0.1395 0.1101 0.2542 -0.3023 -0.3371; 366s 0.0772 -0.2860 0.0939 -0.0135 0.1341 -0.0819 -0.3371 0.6794]; 366s out3_0_00001 = [ 366s -1.1087 1.0520 -0.4419 -0.1112 0.5532 -0.9410 0.8864 0.0557; 366s 1.0520 -0.7746 0.2213 0.5537 -1.2742 1.2190 0.0565 -0.7759; 366s -0.4419 0.2213 0.2211 -0.9418 1.2196 -0.2767 -0.4433 0.7195; 366s -0.1112 0.5537 -0.9418 0.8870 0.0557 -0.4428 0.3864 -0.4425; 366s 0.5532 -1.2742 1.2196 0.0557 -0.7755 0.7188 -0.4419 0.2220; 366s -0.9410 1.2190 -0.2767 -0.4428 0.7188 -0.7746 0.5544 0.2206; 366s 0.8864 0.0565 -0.4433 0.3864 -0.4419 0.5544 -0.1121 -0.9418; 366s 0.0557 -0.7759 0.7195 -0.4425 0.2220 0.2206 -0.9418 1.2201]; 366s out3_0_3 = [ 366s -0.0893 -0.0089 0.0446 -0.0357 -0.0268 0.0268 0.0893 0.0446; 366s -0.0089 0.0223 -0.0089 -0.0357 -0.0089 0.1473 0.1161 0.0179; 366s 0.0446 -0.0089 -0.0357 -0.0089 0.1607 0.0804 -0.0089 -0.0357; 366s -0.0357 -0.0357 -0.0089 0.1652 0.0804 -0.0179 -0.0714 0.0045; 366s -0.0268 -0.0089 0.1607 0.0804 -0.0179 -0.0446 0.0446 -0.0000; 366s 0.0268 0.1473 0.0804 -0.0179 -0.0446 0.0223 0.0268 -0.0000; 366s 0.0893 0.1161 -0.0089 -0.0714 0.0446 0.0268 -0.1071 -0.0446; 366s 0.0446 0.0179 -0.0357 0.0045 0.0000 -0.0000 -0.0446 0.1652]; 366s out3_1_x = [ 366s -0.3333 0.1667 -0.6667 -0.3333 0.3333 0.1667 0.3333 0.1667; 366s 0.1667 -0.3333 -0.3333 0.3333 0.1667 0.3333 0.1667 0.3333; 366s -0.6667 -0.3333 0.6667 0.1667 0.3333 0.1667 0.3333 0.1667; 366s -0.3333 0.3333 0.1667 -0.3333 0.1667 0.3333 0.1667 -0.6667; 366s 0.3333 0.1667 0.3333 0.1667 0.6667 0.1667 -0.6667 -0.3333; 366s 0.1667 0.3333 0.1667 0.3333 0.1667 -0.3333 -0.3333 0.3333; 366s 0.3333 0.1667 0.3333 0.1667 -0.6667 -0.3333 -0.3333 0.1667; 366s 0.1667 0.3333 0.1667 -0.6667 -0.3333 0.3333 0.1667 0.6667]; 366s out3_1_01 = [ 366s -0.1868 0.1548 -0.5994 -0.2997 0.3097 0.1548 0.3097 0.1548; 366s 0.1548 -0.2997 -0.2997 0.3097 0.1548 0.3097 0.1548 0.3097; 366s -0.5994 -0.2997 0.4965 0.1548 0.3097 0.1548 0.3097 0.1548; 366s -0.2997 0.3097 0.1548 -0.1247 0.1548 0.3097 0.1548 -0.5994; 366s 0.3097 0.1548 0.3097 0.1548 0.4965 0.1548 -0.5994 -0.2997; 366s 0.1548 0.3097 0.1548 0.3097 0.1548 -0.2997 -0.2997 0.3097; 366s 0.3097 0.1548 0.3097 0.1548 -0.5994 -0.2997 -0.1868 0.1548; 366s 0.1548 0.3097 0.1548 -0.5994 -0.2997 0.3097 0.1548 0.4343]; 366s out3_1_00001 = [ 366s -0.3331 0.1667 -0.6666 -0.3333 0.3333 0.1667 0.3333 0.1667; 366s 0.1667 -0.3333 -0.3333 0.3333 0.1667 0.3333 0.1667 0.3333; 366s -0.6666 -0.3333 0.6664 0.1667 0.3333 0.1667 0.3333 0.1667; 366s -0.3333 0.3333 0.1667 -0.3330 0.1667 0.3333 0.1667 -0.6666; 366s 0.3333 0.1667 0.3333 0.1667 0.6664 0.1667 -0.6666 -0.3333; 366s 0.1667 0.3333 0.1667 0.3333 0.1667 -0.3333 -0.3333 0.3333; 366s 0.3333 0.1667 0.3333 0.1667 -0.6666 -0.3333 -0.3331 0.1667; 366s 0.1667 0.3333 0.1667 -0.6666 -0.3333 0.3333 0.1667 0.6663]; 366s out3_1_3 = [ 366s -0.0089 0.0625 -0.1250 -0.0625 0.1250 0.0625 0.1250 0.0625; 366s 0.0625 -0.0625 -0.0625 0.1250 0.0625 0.1250 0.0625 0.1250; 366s -0.1250 -0.0625 0.1339 0.0625 0.1250 0.0625 0.1250 0.0625; 366s -0.0625 0.1250 0.0625 0.0982 0.0625 0.1250 0.0625 -0.1250; 366s 0.1250 0.0625 0.1250 0.0625 0.1339 0.0625 -0.1250 -0.0625; 366s 0.0625 0.1250 0.0625 0.1250 0.0625 -0.0625 -0.0625 0.1250; 366s 0.1250 0.0625 0.1250 0.0625 -0.1250 -0.0625 -0.0089 0.0625; 366s 0.0625 0.1250 0.0625 -0.1250 -0.0625 0.1250 0.0625 0.0268]; 366s assert (deconvwnr (im3, psf0), out3_0_x, 1e-4) 366s assert (deconvwnr (im3, psf0, 0.1), out3_0_01, 1e-4) 366s assert (deconvwnr (im3, psf0, 0.0001), out3_0_00001, 1e-4) 366s assert (deconvwnr (im3, psf0, 3), out3_0_3, 1e-4) 366s assert (deconvwnr (im3, psf1), out3_1_x, 1e-4) 366s assert (deconvwnr (im3, psf1, 0.1), out3_1_01, 1e-4) 366s assert (deconvwnr (im3, psf1, 0.0001), out3_1_00001, 1e-4) 366s assert (deconvwnr (im3, psf1, 3), out3_1_3, 1e-4) 366s ***** test 366s im_rgb = cat (3, im2, im3, magic (8)./64); 366s out_rgb_0(:, :, 1) = out2_0; 366s out_rgb_0(:, :, 2) = [ 366s -0.9255 0.7869 -0.2553 -0.1154 0.3801 -0.6906 0.7000 0.0651; 366s 0.7869 -0.5407 0.1534 0.4141 -1.0064 0.9816 0.1222 -0.6335; 366s -0.2553 0.1534 0.1343 -0.7453 1.0211 -0.1936 -0.3586 0.5209; 366s -0.1154 0.4141 -0.7453 0.7468 0.0675 -0.3247 0.2023 -0.2996; 366s 0.3801 -1.0064 1.0211 0.0675 -0.6045 0.4711 -0.2553 0.2032; 366s -0.6906 0.9816 -0.1936 -0.3247 0.4711 -0.5407 0.4692 0.1052; 366s 0.7000 0.1222 -0.3586 0.2023 -0.2553 0.4692 -0.1868 -0.7477; 366s 0.0651 -0.6335 0.5209 -0.2996 0.2032 0.1052 -0.7477 1.0630]; 366s out_rgb_0(:, :, 3) = [ 366s -0.8118 0.8805 0.8341 -0.7963 -0.6343 0.8222 0.7757 -0.6188; 366s 0.5720 -0.4151 -0.3687 0.5565 0.3945 -0.3567 -0.3103 0.3791; 366s 0.2007 -0.0438 0.0026 0.1852 0.0232 0.0146 0.0610 0.0078; 366s -0.6880 0.7568 0.7104 -0.6725 -0.5105 0.6984 0.6520 -0.4951; 366s 0.6079 -0.5392 -0.5856 0.6234 0.7854 -0.5975 -0.6439 0.8008; 366s 0.1051 0.0519 0.0983 0.0896 -0.0724 0.1102 0.1566 -0.0879; 366s -0.2662 0.4231 0.4696 -0.2817 -0.4437 0.4815 0.5279 -0.4592; 366s 0.7317 -0.6629 -0.7093 0.7471 0.9091 -0.7213 -0.7677 0.9246]; 366s out_rgb_1(:, :, 1) = out2_1; 366s out_rgb_1(:, :, 2) = [ 366s -0.3110 0.1654 -0.6593 -0.3297 0.3308 0.1654 0.3308 0.1654; 366s 0.1654 -0.3297 -0.3297 0.3308 0.1654 0.3308 0.1654 0.3308; 366s -0.6593 -0.3297 0.6418 0.1654 0.3308 0.1654 0.3308 0.1654; 366s -0.3297 0.3308 0.1654 -0.3016 0.1654 0.3308 0.1654 -0.6593; 366s 0.3308 0.1654 0.3308 0.1654 0.6418 0.1654 -0.6593 -0.3297; 366s 0.1654 0.3308 0.1654 0.3308 0.1654 -0.3297 -0.3297 0.3308; 366s 0.3308 0.1654 0.3308 0.1654 -0.6593 -0.3297 -0.3110 0.1654; 366s 0.1654 0.3308 0.1654 -0.6593 -0.3297 0.3308 0.1654 0.6323]; 366s out_rgb_1(:, :, 3) = [ 366s -0.0240 0.3338 0.3335 0.0329 0.0344 0.1564 0.3942 0.0913; 366s 0.7871 0.6512 -0.5394 -0.2225 0.7287 0.5905 -0.3619 -0.2809; 366s 0.1333 -0.7196 0.2335 1.0291 0.0749 -0.5421 0.1728 0.9708; 366s -0.2201 0.4109 0.6487 -0.1632 -0.1617 0.4716 0.4713 -0.1048; 366s 0.4430 -0.1331 -0.1334 0.4999 0.5014 -0.3106 -0.0727 0.5582; 366s -0.6326 0.1654 0.8803 0.2633 -0.6910 0.1047 1.0577 0.2049; 366s 0.6191 0.7001 -0.2523 -0.3905 0.5607 0.8776 -0.3130 -0.4489; 366s 0.2469 -0.0561 0.1818 0.3038 0.3052 0.0047 0.0043 0.3621]; 366s assert (deconvwnr (im_rgb, psf0, 0.01), out_rgb_0, 1e-4) 366s assert (deconvwnr (im_rgb, psf1, 0.01), out_rgb_1, 1e-4) 366s ***** test 366s ## Test that psf and nsr can be of class single, but are usually 366s ## internally as doubles. Matlab requires everything all to be 366s ## double so this is Matlab incompatible behaviour by design. 366s nsr = 0.1; 366s psf1_recast = double (single (psf1)); 366s nsr_recast = double (single (0.1)); 366s deconvolved = deconvwnr (im2, psf1_recast, nsr_recast); 366s assert (deconvwnr (im2, single (psf1), single (nsr)), deconvolved) 366s assert (deconvwnr (im2, single (psf1), nsr_recast), deconvolved) 366s assert (deconvwnr (im2, psf1_recast, single (nsr)), deconvolved) 366s ***** demo 366s I = phantom (); 366s figure, imshow (I); 366s title ("Original image"); 366s psf = fspecial ("motion", 30, 15); 366s blurred = imfilter (I, psf, "conv"); 366s figure, imshow (blurred); 366s title ("Image with added motion blur"); 366s var_noise = 0.00005; 366s blurred_noisy = imnoise (blurred, "gaussian", 0, var_noise); 366s figure, imshow (blurred_noisy); 366s title ("Image with motion blur and added Gaussian noise"); 366s estimated_nsr = var_noise / (var(blurred_noisy(:)) - var_noise); 366s J = deconvwnr (blurred_noisy, psf, estimated_nsr); 366s figure, imshow (J) 366s title ({"restored image after Wiener deconvolution", 366s "with known PSF and estimated NSR"}); 366s 27 tests, 27 passed, 0 known failure, 0 skipped 366s [inst/grayslice.m] 366s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/grayslice.m 366s ***** test 366s expected = uint8 ([0 4 5 5 9]); 366s im = [0 0.45 0.5 0.55 1]; 366s assert (grayslice (im), expected) 366s assert (grayslice (im, 10), expected) 366s assert (grayslice (im, uint8 (10)), expected) 366s assert (grayslice (im, [.1 .2 .3 .4 .5 .6 .7 .8 .9]), expected) 366s ***** test 366s im = [0 0.45 0.5 0.55 1]; 366s assert (grayslice (im, 2), uint8 ([0 0 1 1 1])) 366s assert (grayslice (im, 3), uint8 ([0 1 1 1 2])) 366s assert (grayslice (im, 4), uint8 ([0 1 2 2 3])) 366s assert (grayslice (im, [0 0.5 1]), uint8 ([1 1 2 2 3])) 366s assert (grayslice (im, [0.5 1]), uint8 ([0 0 1 1 2])) 366s assert (grayslice (im, [0.6 1]), uint8 ([0 0 0 0 2])) 366s ***** test 366s im = [0 .55 1]; 366s assert (grayslice (im, 9), uint8 ([0 4 8])) 366s assert (grayslice (im, 9.1), uint8 ([0 5 8])) 366s assert (grayslice (im, 10), uint8 ([0 5 9])) 366s ***** assert (grayslice ([0 .5 1], [0 1 .5]), uint8 ([1 2 3])) 366s ***** test 366s ## 0 > N > 1 values are treated as if they are V and N=2 366s im = [0 .5 .55 .7 1]; 366s assert (grayslice (im, .5), uint8 ([0 1 1 1 1])) 366s assert (grayslice (im, .51), uint8 ([0 0 1 1 1])) 366s assert (grayslice (im, .7), uint8 ([0 0 0 1 1])) 366s assert (grayslice (im, 1), uint8 ([0 0 0 0 0])) 366s assert (grayslice (im, 1.2), uint8 ([0 0 0 0 0])) 366s ***** assert (grayslice ([0 .5 .7 1], [0 .5 1 2]), uint8 ([1 2 2 4])) 366s ***** assert (grayslice ([0 .45 .5 .65 .7 1], [.4 .5 .5 .7 .7 1]), 366s uint8 ([0 1 3 3 5 6])) 366s ***** assert (grayslice ([-.5 .1 .8 1.2], [-1 -.4 .05 .6 .9 1.1 2]), 366s uint8 ([1 3 4 7])) 366s ***** assert (grayslice ([0 .5 1], [-1 .5 1 2]), uint8 ([1 2 4])) 366s ***** assert (grayslice ([-2 -1 .5 1], [-1 .5 1]), uint8 ([0 1 2 3])) 366s ***** test 366s sliced = [ 366s repmat(0, [26 1]) 366s repmat(1, [25 1]) 366s repmat(2, [26 1]) 366s repmat(3, [25 1]) 366s repmat(4, [26 1]) 366s repmat(5, [25 1]) 366s repmat(6, [26 1]) 366s repmat(7, [25 1]) 366s repmat(8, [26 1]) 366s repmat(9, [26 1]) 366s ]; 366s sliced = uint8 (sliced(:).'); 366s assert (grayslice (uint8 (0:255)), sliced) 366s ***** assert (grayslice (uint8 (0:255), 255), uint8 ([0:254 254])) 366s ***** assert (class (grayslice (uint8 (0:255), 256)), "double") 366s ***** xtest 366s assert (grayslice (uint8 (0:255), 256), [1:256]) 366s 366s ## While the above fails, this passes and should continue to do so 366s ## since it's the actual formula in the documentation. 366s assert (grayslice (uint8 (0:255), 256), 366s grayslice (uint8 (0:255), (1:255)./256)) 366s !!!!! known failure 366s ASSERT errors for: assert (grayslice (uint8 (0:255), 256),[1:256]) 366s 366s Location | Observed | Expected | Reason 366s (129) 130 129 Abs err 1 exceeds tol 0 by 1 366s (130) 131 130 Abs err 1 exceeds tol 0 by 1 366s (131) 132 131 Abs err 1 exceeds tol 0 by 1 366s (132) 133 132 Abs err 1 exceeds tol 0 by 1 366s (133) 134 133 Abs err 1 exceeds tol 0 by 1 366s (134) 135 134 Abs err 1 exceeds tol 0 by 1 366s (135) 136 135 Abs err 1 exceeds tol 0 by 1 366s (136) 137 136 Abs err 1 exceeds tol 0 by 1 366s (137) 138 137 Abs err 1 exceeds tol 0 by 1 366s (138) 139 138 Abs err 1 exceeds tol 0 by 1 366s (139) 140 139 Abs err 1 exceeds tol 0 by 1 366s (140) 141 140 Abs err 1 exceeds tol 0 by 1 366s (141) 142 141 Abs err 1 exceeds tol 0 by 1 366s (142) 143 142 Abs err 1 exceeds tol 0 by 1 366s (143) 144 143 Abs err 1 exceeds tol 0 by 1 366s (144) 145 144 Abs err 1 exceeds tol 0 by 1 366s (145) 146 145 Abs err 1 exceeds tol 0 by 1 366s (146) 147 146 Abs err 1 exceeds tol 0 by 1 366s (147) 148 147 Abs err 1 exceeds tol 0 by 1 366s (148) 149 148 Abs err 1 exceeds tol 0 by 1 366s (149) 150 149 Abs err 1 exceeds tol 0 by 1 366s (150) 151 150 Abs err 1 exceeds tol 0 by 1 366s (151) 152 151 Abs err 1 exceeds tol 0 by 1 366s (152) 153 152 Abs err 1 exceeds tol 0 by 1 366s (153) 154 153 Abs err 1 exceeds tol 0 by 1 366s (154) 155 154 Abs err 1 exceeds tol 0 by 1 366s (155) 156 155 Abs err 1 exceeds tol 0 by 1 366s (156) 157 156 Abs err 1 exceeds tol 0 by 1 366s (157) 158 157 Abs err 1 exceeds tol 0 by 1 366s (158) 159 158 Abs err 1 exceeds tol 0 by 1 366s (159) 160 159 Abs err 1 exceeds tol 0 by 1 366s (160) 161 160 Abs err 1 exceeds tol 0 by 1 366s (161) 162 161 Abs err 1 exceeds tol 0 by 1 366s (162) 163 162 Abs err 1 exceeds tol 0 by 1 366s (163) 164 163 Abs err 1 exceeds tol 0 by 1 366s (164) 165 164 Abs err 1 exceeds tol 0 by 1 366s (165) 166 165 Abs err 1 exceeds tol 0 by 1 366s (166) 167 166 Abs err 1 exceeds tol 0 by 1 366s (167) 168 167 Abs err 1 exceeds tol 0 by 1 366s (168) 169 168 Abs err 1 exceeds tol 0 by 1 366s (169) 170 169 Abs err 1 exceeds tol 0 by 1 366s (170) 171 170 Abs err 1 exceeds tol 0 by 1 366s (171) 172 171 Abs err 1 exceeds tol 0 by 1 366s (172) 173 172 Abs err 1 exceeds tol 0 by 1 366s (173) 174 173 Abs err 1 exceeds tol 0 by 1 366s (174) 175 174 Abs err 1 exceeds tol 0 by 1 366s (175) 176 175 Abs err 1 exceeds tol 0 by 1 366s (176) 177 176 Abs err 1 exceeds tol 0 by 1 366s (177) 178 177 Abs err 1 exceeds tol 0 by 1 366s (178) 179 178 Abs err 1 exceeds tol 0 by 1 366s (179) 180 179 Abs err 1 exceeds tol 0 by 1 366s (180) 181 180 Abs err 1 exceeds tol 0 by 1 366s (181) 182 181 Abs err 1 exceeds tol 0 by 1 366s (182) 183 182 Abs err 1 exceeds tol 0 by 1 366s (183) 184 183 Abs err 1 exceeds tol 0 by 1 366s (184) 185 184 Abs err 1 exceeds tol 0 by 1 366s (185) 186 185 Abs err 1 exceeds tol 0 by 1 366s (186) 187 186 Abs err 1 exceeds tol 0 by 1 366s (187) 188 187 Abs err 1 exceeds tol 0 by 1 366s (188) 189 188 Abs err 1 exceeds tol 0 by 1 366s (189) 190 189 Abs err 1 exceeds tol 0 by 1 366s (190) 191 190 Abs err 1 exceeds tol 0 by 1 366s (191) 192 191 Abs err 1 exceeds tol 0 by 1 366s (192) 193 192 Abs err 1 exceeds tol 0 by 1 366s (193) 194 193 Abs err 1 exceeds tol 0 by 1 366s (194) 195 194 Abs err 1 exceeds tol 0 by 1 366s (195) 196 195 Abs err 1 exceeds tol 0 by 1 366s (196) 197 196 Abs err 1 exceeds tol 0 by 1 366s (197) 198 197 Abs err 1 exceeds tol 0 by 1 366s (198) 199 198 Abs err 1 exceeds tol 0 by 1 366s (199) 200 199 Abs err 1 exceeds tol 0 by 1 366s (200) 201 200 Abs err 1 exceeds tol 0 by 1 366s (201) 202 201 Abs err 1 exceeds tol 0 by 1 366s (202) 203 202 Abs err 1 exceeds tol 0 by 1 366s (203) 204 203 Abs err 1 exceeds tol 0 by 1 366s (204) 205 204 Abs err 1 exceeds tol 0 by 1 366s (205) 206 205 Abs err 1 exceeds tol 0 by 1 366s (206) 207 206 Abs err 1 exceeds tol 0 by 1 366s (207) 208 207 Abs err 1 exceeds tol 0 by 1 366s (208) 209 208 Abs err 1 exceeds tol 0 by 1 366s (209) 210 209 Abs err 1 exceeds tol 0 by 1 366s (210) 211 210 Abs err 1 exceeds tol 0 by 1 366s (211) 212 211 Abs err 1 exceeds tol 0 by 1 366s (212) 213 212 Abs err 1 exceeds tol 0 by 1 366s (213) 214 213 Abs err 1 exceeds tol 0 by 1 366s (214) 215 214 Abs err 1 exceeds tol 0 by 1 366s (215) 216 215 Abs err 1 exceeds tol 0 by 1 366s (216) 217 216 Abs err 1 exceeds tol 0 by 1 366s (217) 218 217 Abs err 1 exceeds tol 0 by 1 366s (218) 219 218 Abs err 1 exceeds tol 0 by 1 366s (219) 220 219 Abs err 1 exceeds tol 0 by 1 366s (220) 221 220 Abs err 1 exceeds tol 0 by 1 366s (221) 222 221 Abs err 1 exceeds tol 0 by 1 366s (222) 223 222 Abs err 1 exceeds tol 0 by 1 366s (223) 224 223 Abs err 1 exceeds tol 0 by 1 366s (224) 225 224 Abs err 1 exceeds tol 0 by 1 366s (225) 226 225 Abs err 1 exceeds tol 0 by 1 366s (226) 227 226 Abs err 1 exceeds tol 0 by 1 366s (227) 228 227 Abs err 1 exceeds tol 0 by 1 366s (228) 229 228 Abs err 1 exceeds tol 0 by 1 366s (229) 230 229 Abs err 1 exceeds tol 0 by 1 366s (230) 231 230 Abs err 1 exceeds tol 0 by 1 366s (231) 232 231 Abs err 1 exceeds tol 0 by 1 366s (232) 233 232 Abs err 1 exceeds tol 0 by 1 366s (233) 234 233 Abs err 1 exceeds tol 0 by 1 366s (234) 235 234 Abs err 1 exceeds tol 0 by 1 366s (235) 236 235 Abs err 1 exceeds tol 0 by 1 366s (236) 237 236 Abs err 1 exceeds tol 0 by 1 366s (237) 238 237 Abs err 1 exceeds tol 0 by 1 366s (238) 239 238 Abs err 1 exceeds tol 0 by 1 366s (239) 240 239 Abs err 1 exceeds tol 0 by 1 366s (240) 241 240 Abs err 1 exceeds tol 0 by 1 366s (241) 242 241 Abs err 1 exceeds tol 0 by 1 366s (242) 243 242 Abs err 1 exceeds tol 0 by 1 366s (243) 244 243 Abs err 1 exceeds tol 0 by 1 366s (244) 245 244 Abs err 1 exceeds tol 0 by 1 366s (245) 246 245 Abs err 1 exceeds tol 0 by 1 366s (246) 247 246 Abs err 1 exceeds tol 0 by 1 366s (247) 248 247 Abs err 1 exceeds tol 0 by 1 366s (248) 249 248 Abs err 1 exceeds tol 0 by 1 366s (249) 250 249 Abs err 1 exceeds tol 0 by 1 366s (250) 251 250 Abs err 1 exceeds tol 0 by 1 366s (251) 252 251 Abs err 1 exceeds tol 0 by 1 366s (252) 253 252 Abs err 1 exceeds tol 0 by 1 366s (253) 254 253 Abs err 1 exceeds tol 0 by 1 366s (254) 255 254 Abs err 1 exceeds tol 0 by 1 366s (255) 256 255 Abs err 1 exceeds tol 0 by 1 366s ***** test 366s ## Use of threshold in the [0 1] range for images of integer type does 366s ## not really work despite the Matlab documentation. It's Matlab 366s ## documentation that is wrong, see bug #55059 366s 366s assert (grayslice (uint8([0 100 200 255]), [.1 .4 .5]), 366s uint8 ([0 3 3 3])) 366s assert (grayslice (uint8([0 100 200 255]), [100 199 200 210]), 366s uint8 ([0 1 3 4])) 366s 366s ## P (penny) is a 2d image of class double in [1 255] range 366s q = warning ("query", "Octave:data-file-in-path"); 366s warning ("off", "Octave:data-file-in-path"); 366s load ("penny.mat"); 366s warning (q.state, "Octave:data-file-in-path"); 366s assert (grayslice (P), repmat (uint8 (9), size (P))) 366s ***** function gs = test_grayslice_v (I, v) 366s ## This is effectively what grayslice does but slower with a for 366s ## loop internally. 366s gs = zeros (size (I)); 366s for idx = 1:numel (v) 366s gs(I >= v(idx)) = idx; 366s endfor 366s if (numel (v) >= 256) 366s gs = gs +1; 366s else 366s gs = uint8 (gs); 366s endif 366s ***** endfunction 366s ***** test 366s q = warning ("query", "Octave:data-file-in-path"); 366s warning ("off", "Octave:data-file-in-path"); 366s load ("penny.mat"); 366s warning (q.state, "Octave:data-file-in-path"); 366s 366s ## The loaded P in penny.mat is of size 128x128, class double, and 366s ## with values in the [1 255] range 366s penny_uint8 = uint8 (P); 366s penny_double = im2double (penny_uint8); # rescales to [0 1] range] 366s 366s ## default of N = 10 366s expected = test_grayslice_v (penny_uint8, 366s [26 51 77 102 128 153 179 204 230]); 366s assert (grayslice (penny_uint8, 10), expected) 366s assert (grayslice (penny_uint8), expected) 366s 366s expected = test_grayslice_v (penny_double, 366s [.1 .2 .3 .4 .5 .6 .7 .8 .9]); 366s assert (grayslice (penny_double, 10), expected) 366s assert (grayslice (penny_double), expected) 366s ***** test 366s ## For images with more than 2d 366s q = warning ("query", "Octave:data-file-in-path"); 366s warning ("off", "Octave:data-file-in-path"); 366s load ("penny.mat"); 366s warning (q.state, "Octave:data-file-in-path"); 366s penny_double = im2double (uint8 (P)); 366s P_3d = repmat (penny_double, [1 1 3]); 366s P_5d = repmat (penny_double, [1 1 3 2 3]); 366s 366s v = [.3 .5 .7]; 366s expected_2d = test_grayslice_v (penny_double, v); 366s assert (grayslice (P_3d, v), repmat (expected_2d, [1 1 3])) 366s assert (grayslice (P_5d, v), repmat (expected_2d, [1 1 3 2 3])) 367s ***** test 367s q = warning ("query", "Octave:data-file-in-path"); 367s warning ("off", "Octave:data-file-in-path"); 367s load ("penny.mat"); 367s warning (q.state, "Octave:data-file-in-path"); 367s penny_double = uint8 (P); 367s 367s ## Test that change from uint8 to double happens at 256 exactly 367s assert (class (grayslice (penny_double, 255)), "uint8") 367s assert (class (grayslice (penny_double, 256)), "double") 367s 367s ## If returns in class double, it's +1. 367s v = [10 150 200]; 367s v_long = [v 256:600]; 367s assert (double (grayslice (penny_double, v)) +1, 367s grayslice (penny_double, v_long)) 367s ***** test 367s ## If there's a vector for floating point and goes outside the 367s ## range, it uses the last index of the vector. 367s q = warning ("query", "Octave:data-file-in-path"); 367s warning ("off", "Octave:data-file-in-path"); 367s load ("penny.mat"); 367s warning (q.state, "Octave:data-file-in-path"); 367s penny_double = im2double (uint8 (P)); 367s v = [.3 .5 .7 2:10]; 367s idx_1 = find (penny_double == 1); 367s assert (grayslice (penny_double, v)(idx_1), uint8 ([12; 12])) 367s ***** error x = grayslice ([1 2; 3 4], 0) 367s ***** error x = grayslice ([1 2; 3 4], -1) 367s ***** error x = grayslice ([1 2; 3 4], "foo") 367s ***** test 367s ## test output values for all input classes 367s 367s klasse = "uint8"; 367s im = cast ([intmin(klasse): intmax(klasse)], klasse); 367s erg05 = grayslice (im, 0.5); 367s first1_erg05 = im(find (erg05)(1)); 367s assert (first1_erg05, cast (1, klasse)); 367s erg5 = grayslice (im, 5); 367s first1_erg5 = im(find (erg5)(1)); 367s assert (first1_erg5, cast (51, klasse)); 367s ergint5 = grayslice (im, uint8 (5)); 367s first1_ergint5 = im(find (ergint5)(1)); 367s assert (first1_ergint5, cast (51, klasse)); 367s 367s klasse = "uint16"; 367s im = cast ([intmin(klasse): intmax(klasse)], klasse); 367s erg05 = grayslice (im, 0.5); 367s first1_erg05 = im(find (erg05)(1)); 367s assert (first1_erg05, cast (1, klasse)); 367s erg5 = grayslice (im, 5); 367s first1_erg5 = im(find (erg5)(1)); 367s assert (first1_erg5, cast (13107, klasse)); 367s ergint5 = grayslice (im, uint8 (5)); 367s first1_ergint5 = im(find (ergint5)(1)); 367s assert (first1_ergint5, cast (13107, klasse)); 367s 367s klasse = "int16"; 367s im = cast ([intmin(klasse): intmax(klasse)], klasse); 367s erg05 = grayslice (im, 0.5); 367s first1_erg05 = im(find (erg05)(1)); 367s assert (first1_erg05, cast (-32767, klasse)); 367s erg5 = grayslice (im, 5); 367s first1_erg5 = im(find (erg5)(1)); 367s assert (first1_erg5, cast (-19661, klasse)); 367s ergint5 = grayslice (im, uint8 (5)); 367s first1_ergint5 = im(find (ergint5)(1)); 367s assert (first1_ergint5, cast (-19661, klasse)); 367s 367s klasse = "single"; 367s im = cast ([0:0.001:1], klasse); 367s erg05 = grayslice (im, 0.5); 367s first1_erg05 = im(find (erg05)(1)); 367s assert (first1_erg05, cast (0.5, klasse)); 367s erg5 = grayslice (im, 5); 367s first1_erg5 = im(find (erg5)(1)); 367s assert (first1_erg5, cast (0.2, klasse)); 367s ergint5 = grayslice (im, uint8 (5)); 367s first1_ergint5 = im(find (ergint5)(1)); 367s assert (first1_ergint5, cast (0.2, klasse)); 367s 367s klasse = "double"; 367s im = cast ([0:0.001:1], klasse); 367s erg05 = grayslice (im, 0.5); 367s first1_erg05 = im(find (erg05)(1)); 367s assert (first1_erg05, cast (0.5, klasse)); 367s erg5 = grayslice (im, 5); 367s first1_erg5 = im(find (erg5)(1)); 367s assert (first1_erg5, cast (0.2, klasse)); 367s ergint5 = grayslice (im, uint8 (5)); 367s first1_ergint5 = im(find (ergint5)(1)); 367s assert (first1_ergint5, cast (0.2, klasse)); 367s 23 tests, 22 passed, 1 known failure, 0 skipped 367s [inst/xyz2lab.m] 367s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/xyz2lab.m 367s ***** assert (xyz2lab ([0, 0, 0]), [0 0 0], 5e-2) 367s ***** assert (xyz2lab ([0.4125, 0.2127, 0.0193]), [53.24, 80.09, 67.20], 5e-2) 367s ***** assert (xyz2lab ([0.7700, 0.9278, 0.1385]), [97.14, -21.55, 94.48], 5e-2) 367s ***** assert (xyz2lab ([0.3576, 0.7152, 0.1192]), [87.74, -86.18, 83.18], 5e-2) 367s ***** assert (xyz2lab ([0.5380, 0.7873, 1.0694]), [91.11, -48.09, -14.13], 5e-2) 367s ***** assert (xyz2lab ([0.1804, 0.07217, 0.9502]), [32.30, 79.19, -107.86], 5e-2) 367s ***** assert (xyz2lab ([0.5929, 0.28484, 0.9696]), [60.32, 98.24, -60.83], 5e-2) 367s ***** assert (xyz2lab ([0.9505, 1.0000, 1.0888]), [100, 0.00, 0.00], 5e-2) 367s ***** assert (xyz2lab ([0.2034, 0.2140, 0.2330]), [53.39, 0.00, 0.00], 5e-2) 367s ***** assert (xyz2lab ([0.2155, 0.1111, 0.0101]), [39.77, 64.51, 54.13], 5e-2) 367s ***** assert (xyz2lab ([0.0883, 0.0455, 0.0041]), [25.42, 47.91, 37.91], 5e-2) 367s ***** assert (xyz2lab ([0.02094, 0.0108, 0.00098]), [9.66, 29.68, 15.24], 5e-2) 367s ***** assert (xyz2lab ([0.5276, 0.3812, 0.2482]), [68.11, 48.39, 22.83], 5e-2) 367s ***** assert (xyz2lab ([1.5 1 1]), [100, 82.15, 5.60], 5e-2) 367s xyz_map = rand (64, 3); 367s assert (lab2xyz (xyz2lab (xyz_map)), xyz_map, 1e-5); 367s ***** test 367s xyz_img = rand (64, 64, 3); 367s assert (lab2xyz (xyz2lab (xyz_img)), xyz_img, 1e-5); 367s ***** assert (xyz2lab (sparse ([0 0 0])), [0 0 0], 5e-2) 367s ***** assert (class (xyz2lab (single([0.5 0.5 0.5]))), 'single') 367s ***** error xyz2lab () 367s ***** error xyz2lab (1,2) 367s ***** error xyz2lab ({1}) 367s ***** error xyz2lab (ones (2,2)) 367s ***** test 367s xyz = rand (16, 16, 3, 5); 367s lab = zeros (size (xyz)); 367s for i = 1:5 367s lab(:,:,:,i) = xyz2lab (xyz(:,:,:,i)); 367s endfor 367s assert (xyz2lab (xyz), lab) 367s 22 tests, 22 passed, 0 known failure, 0 skipped 367s [inst/iradon.m] 367s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/iradon.m 367s ***** assert (iradon (single ([0; 1; 1; 0]), 90)); 367s ***** assert (iradon (double ([0; 1; 1; 0]), 90)); 367s ***** assert (iradon (int8 ([0; 1; 1; 0]), 90)); 367s ***** assert (iradon (int16 ([0; 1; 1; 0]), 90)); 367s ***** assert (iradon (int32 ([0; 1; 1; 0]), 90)); 367s ***** assert (iradon (int64 ([0; 1; 1; 0]), 90)); 367s ***** assert (iradon (uint8 ([0; 1; 1; 0]), 90)); 367s ***** assert (iradon (uint16 ([0; 1; 1; 0]), 90)); 367s ***** assert (iradon (uint32 ([0; 1; 1; 0]), 90)); 367s ***** assert (iradon (uint64 ([0; 1; 1; 0]), 90)); 367s ***** assert (iradon (logical ([0; 1; 1; 0]), 90)); 367s ***** assert (iradon (ones (5), 1:5)); 367s ***** assert (iradon (ones (5), 1:5, 'nearest')); 367s ***** assert (iradon (ones (5), 1:5, 'linear')); 367s ***** assert (iradon (ones (5), 1:5, 'spline')); 367s ***** assert (iradon (ones (5), 1:5, 'pchip')); 367s ***** assert (iradon (ones (5), 1:5, 'linear', 'None')); 367s ***** assert (iradon (ones (5), 1:5, 'linear', 'Ram-Lak')); 367s ***** assert (iradon (ones (5), 1:5, 'linear', 'Shepp-Logan')); 367s ***** assert (iradon (ones (5), 1:5, 'linear', 'Cosine')); 367s ***** assert (iradon (ones (5), 1:5, 'linear', 'Hamming')); 367s ***** assert (iradon (ones (5), 1:5, 'linear', 'Hann')); 367s ***** assert (iradon (ones (5), 1:5, 'linear', 'None', 0.45)); 367s ***** assert (iradon (ones (5), 1:5, 'linear', 'None', 0.45, 5)); 367s ***** test 367s [R, F] = iradon (ones (5), 1:5); 367s assert(isvector(F)); 367s assert(ismatrix(R)); 367s ***** error iradon (); 367s ***** error iradon ('xxx'); 367s ***** error iradon (ones (2), 'xxx'); 367s ***** error iradon (ones (5), 1:5, 'foo'); 367s ***** error iradon (ones (5), 1:5, 'linear', 'foo'); 367s ***** error iradon (ones (5), 1:5, 'linear', 'none', 'foo'); 367s ***** error iradon (ones (5), 1:5, 'linear', 'none', 0.65, 'foo'); 367s ***** test 367s A = iradon([0; 1; 1; 0], 90); 367s A_matlab = 0.4671 .* ones (2); 367s assert (A, A_matlab, 0.02); # as Matlab compatible as iradon outputs currently get 367s ***** test 367s A = iradon (radon (ones (2, 2), 0:5), 0:5, "nearest", "none"); 367s A_matlab = [1, 1, 1, 1]' * [0.4264, 2.7859, 2.7152, 0.3557]; 367s assert (A, A_matlab, 0.0001); 367s ***** test 367s P = phantom (128); 367s R = radon (P, 0:179); 367s 367s IR = iradon (R, 0:179, [], [], [], 128); # (errors in Matlab because of []s) 367s D = P - IR; 367s maxdiff = max (abs (D(:))); 367s maxdiff_matlab = 0.3601; 367s assert (maxdiff, maxdiff_matlab, 0.002); 367s meandiff = mean (abs (D(:))); 367s meandiff_matlab = 0.0218; 367s assert (meandiff, meandiff_matlab, 0.001); 367s 367s filtername = "None"; 367s IR = iradon (R, 0:179, [], filtername, [], 128); 367s D = P - IR; 367s maxdiff = max (abs (D(:))); 367s maxdiff_matlab = 36.5671; 367s assert (maxdiff, maxdiff_matlab, 0.0001); 367s meandiff = mean (abs (D(:))); 367s meandiff_matlab = 24.6302; 367s assert (meandiff, meandiff_matlab, 0.0001); 367s 367s filtername = "Ram-Lak"; # is same as default 367s IR = iradon (R, 0:179, [], filtername, [], 128); 367s D = P - IR; 367s maxdiff = max (abs (D(:))); 367s maxdiff_matlab = 0.3601; 367s assert (maxdiff, maxdiff_matlab, 0.002); 367s meandiff = mean (abs (D(:))); 367s meandiff_matlab = 0.0218; 367s assert (meandiff, meandiff_matlab, 0.001); 367s 367s filtername = "Hamming"; 367s IR = iradon (R, 0:179, [], filtername, [], 128); 367s D = P - IR; 367s maxdiff = max (abs (D(:))); 367s maxdiff_matlab = 0.5171; 367s assert (maxdiff, maxdiff_matlab, 0.005); 367s meandiff = mean (abs (D(:))); 367s meandiff_matlab = 0.0278; 367s assert (meandiff, meandiff_matlab, 0.003); 367s 367s filtername = "Shepp-Logan"; 367s IR = iradon (R, 0:179, [], filtername, [], 128); 367s D = P - IR; 367s maxdiff = max (abs (D(:))); 367s maxdiff_matlab = 0.3941; 367s assert (maxdiff, maxdiff_matlab, 0.005); 367s meandiff = mean (abs (D(:))); 367s meandiff_matlab = 0.0226; 367s assert (meandiff, meandiff_matlab, 0.0015); 367s 367s filtername = "Cosine"; 367s IR = iradon (R, 0:179, [], filtername, [], 128); 367s D = P - IR; 367s maxdiff = max (abs (D(:))); 367s maxdiff_matlab = 0.4681; 367s assert (maxdiff, maxdiff_matlab, 0.005); 367s meandiff = mean (abs (D(:))); 367s meandiff_matlab = 0.0249; 367s assert (meandiff, meandiff_matlab, 0.002); 367s 367s filtername = "Hann"; 367s IR = iradon (R, 0:179, [], filtername, [], 128); 367s D = P - IR; 367s maxdiff = max (abs (D(:))); 367s maxdiff_matlab = 0.5334; 367s assert (maxdiff, maxdiff_matlab, 0.005); 367s meandiff = mean (abs (D(:))); 367s meandiff_matlab = 0.0285; 367s assert (meandiff, meandiff_matlab, 0.0025); 372s ***** demo 372s P = phantom (); 372s figure, imshow (P, []), title ("Original image") 372s projections = radon (P, 0:179); 372s reconstruction = iradon (projections, 0:179, 'Spline', 'Hann'); 372s figure, imshow (reconstruction, []), title ("Reconstructed image") 372s 35 tests, 35 passed, 0 known failure, 0 skipped 372s [inst/imgradientxy.m] 372s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imgradientxy.m 372s ***** test 372s A = [0 1 0 372s 1 1 1 372s 0 1 0]; 372s 372s [gxSobel, gySobel] = imgradientxy (A); 372s [gxSobel2, gySobel2] = imgradientxy (A, "Sobel"); 372s assert (gxSobel, 372s [ 3 0 -3 372s 4 0 -4 372s 3 0 -3]); 372s assert (gySobel, 372s [ 3 4 3 372s 0 0 0 372s -3 -4 -3]); 372s 372s ## test default method 372s assert(gxSobel, gxSobel2); 372s assert(gySobel, gySobel2); 372s 372s [gxPrewitt, gyPrewitt] = imgradientxy (A, "Prewitt"); 372s assert (gxPrewitt, 372s [ 2 0 -2 372s 3 0 -3 372s 2 0 -2]); 372s assert (gyPrewitt, 372s [ 2 3 2 372s 0 0 0 372s -2 -3 -2]); 372s 372s [gxCd, gyCd] = imgradientxy (A, "CentralDifference"); 372s assert (gxCd, 372s [ 0.5 0.0 -0.5 372s 0.5 0.0 -0.5 372s 0.5 0.0 -0.5]); 372s assert (gyCd, 372s [ 0.5 0.5 0.5 372s 0 0 0 372s -0.5 -0.5 -0.5]); 372s 372s [gxCd, gyCd] = imgradientxy (A, "Central"); 372s assert (gxCd, 372s [ 0.5 0.0 -0.5 372s 0.5 0.0 -0.5 372s 0.5 0.0 -0.5]); 372s assert (gyCd, 372s [ 0.5 0.5 0.5 372s 0 0 0 372s -0.5 -0.5 -0.5]); 372s 372s [gxId, gyId] = imgradientxy(A, "IntermediateDifference"); 372s assert (gxId, 372s [ 1 -1 0 372s 0 0 -1 372s 1 -1 0]); 372s assert (gyId, 372s [ 1 0 1 372s -1 0 -1 372s 0 -1 0]); 372s 372s [gxId, gyId] = imgradientxy(A, "Intermediate"); 372s assert (gxId, 372s [ 1 -1 0 372s 0 0 -1 372s 1 -1 0]); 372s assert (gyId, 372s [ 1 0 1 372s -1 0 -1 372s 0 -1 0]); 372s 1 test, 1 passed, 0 known failure, 0 skipped 372s [inst/imresize.m] 372s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imresize.m 372s ***** test 372s 372s in = [116 227 153 69 146 194 59 130 139 106 372s 2 47 137 249 90 75 16 24 158 44 372s 155 68 46 84 166 156 69 204 32 152 372s 71 221 137 230 210 153 192 115 30 118 372s 107 143 108 52 51 73 101 21 175 90 372s 54 158 143 77 26 168 113 229 165 225 372s 9 47 133 135 130 207 236 43 19 73]; 372s assert (imresize (uint8 (in), 1, "nearest"), uint8 (in)) 372s assert (imresize (uint8 (in), 1, "bicubic"), uint8 (in)) 372s 372s out = [116 116 227 227 153 153 69 69 146 146 194 194 59 59 130 130 139 139 106 106 372s 116 116 227 227 153 153 69 69 146 146 194 194 59 59 130 130 139 139 106 106 372s 2 2 47 47 137 137 249 249 90 90 75 75 16 16 24 24 158 158 44 44 372s 2 2 47 47 137 137 249 249 90 90 75 75 16 16 24 24 158 158 44 44 372s 155 155 68 68 46 46 84 84 166 166 156 156 69 69 204 204 32 32 152 152 372s 155 155 68 68 46 46 84 84 166 166 156 156 69 69 204 204 32 32 152 152 372s 71 71 221 221 137 137 230 230 210 210 153 153 192 192 115 115 30 30 118 118 372s 71 71 221 221 137 137 230 230 210 210 153 153 192 192 115 115 30 30 118 118 372s 107 107 143 143 108 108 52 52 51 51 73 73 101 101 21 21 175 175 90 90 372s 107 107 143 143 108 108 52 52 51 51 73 73 101 101 21 21 175 175 90 90 372s 54 54 158 158 143 143 77 77 26 26 168 168 113 113 229 229 165 165 225 225 372s 54 54 158 158 143 143 77 77 26 26 168 168 113 113 229 229 165 165 225 225 372s 9 9 47 47 133 133 135 135 130 130 207 207 236 236 43 43 19 19 73 73 372s 9 9 47 47 133 133 135 135 130 130 207 207 236 236 43 43 19 19 73 73]; 372s assert (imresize (uint8 (in), 2, "nearest"), uint8 (out)) 372s assert (imresize (uint8 (in), 2, "neAreST"), uint8 (out)) 372s assert (imresize (uint8 (in), [14 NaN], "nearest"), uint8 (out)) 372s assert (imresize (uint8 (in), [NaN 20], "nearest"), uint8 (out)) 372s 372s out = [116 116 227 227 153 153 69 69 146 146 194 194 59 59 130 130 139 139 106 106 372s 2 2 47 47 137 137 249 249 90 90 75 75 16 16 24 24 158 158 44 44 372s 155 155 68 68 46 46 84 84 166 166 156 156 69 69 204 204 32 32 152 152 372s 71 71 221 221 137 137 230 230 210 210 153 153 192 192 115 115 30 30 118 118 372s 107 107 143 143 108 108 52 52 51 51 73 73 101 101 21 21 175 175 90 90 372s 54 54 158 158 143 143 77 77 26 26 168 168 113 113 229 229 165 165 225 225 372s 9 9 47 47 133 133 135 135 130 130 207 207 236 236 43 43 19 19 73 73]; 372s assert (imresize (uint8 (in), [7 20], "nearest"), uint8 (out)) 372s 372s out = [116 227 153 69 146 194 59 130 139 106 372s 116 227 153 69 146 194 59 130 139 106 372s 2 47 137 249 90 75 16 24 158 44 372s 2 47 137 249 90 75 16 24 158 44 372s 155 68 46 84 166 156 69 204 32 152 372s 155 68 46 84 166 156 69 204 32 152 372s 71 221 137 230 210 153 192 115 30 118 372s 71 221 137 230 210 153 192 115 30 118 372s 107 143 108 52 51 73 101 21 175 90 372s 107 143 108 52 51 73 101 21 175 90 372s 54 158 143 77 26 168 113 229 165 225 372s 54 158 143 77 26 168 113 229 165 225 372s 9 47 133 135 130 207 236 43 19 73 372s 9 47 133 135 130 207 236 43 19 73]; 372s assert (imresize (uint8 (in), [14 10], "nearest"), uint8 (out)) 372s 372s assert (imresize (uint8 (in), 1.5, "box"), imresize (uint8 (in), 1.5, "MeTHoD", "nearest")) 372s assert (imresize (uint8 (in), "Scale", 1.5, "Method", "box"), imresize (uint8 (in), 1.5, {@(h) -0.5 < h & h <= 0.5, 1})) 372s assert (imresize (uint8 (in), 1.5, "bicubic"), imresize (uint8 (in), 1.5, "cubic")) 372s assert (imresize (uint8 (in), [NaN, size(in,2)*1.5], "bicubic"), imresize (uint8 (in), 1.5, "cubic")) 372s assert (imresize (uint8 (in), [size(in,1)*1.5, NaN], "bicubic"), imresize (uint8 (in), 1.5, "cubic")) 372s assert (imresize (uint8 (in), "outputsize", [size(in,1)*1.5, NaN], "method", "bicubic"), imresize (uint8 (in), 1.5, "cubic")) 372s assert (imresize (uint8 (in), 1.5, "linear"), imresize (uint8 (in), 1.5, "LIneAR")) 372s assert (imresize (uint8 (in), 1.5, "linear"), imresize (uint8 (in), 1.5, "triangle")) 372s ***** test 372s in = [116 227 153 69 146 194 59 130 139 106 372s 2 47 137 249 90 75 16 24 158 44 372s 155 68 46 84 166 156 69 204 32 152 372s 71 221 137 230 210 153 192 115 30 118 372s 107 143 108 52 51 73 101 21 175 90 372s 54 158 143 77 26 168 113 229 165 225 372s 9 47 133 135 130 207 236 43 19 73 372s 129 60 59 243 64 181 249 56 32 86]; 372s 372s out = imresize (in, 0.5, "nearest", "Antialiasing", false); 372s for x = 1:columns (out) 372s for y = 1:rows (out) 372s x_in = 2 * (x-1) + 1; 372s y_in = 2 * (y-1) + 1; 372s sub = in(y_in:y_in+1, x_in:x_in+1); 372s assert (any (any (sub == out(y, x)))) 372s endfor 372s endfor 372s 372s out = imresize (in, 0.5, "nearest", "Antialiasing", true); 372s for x = 1:columns (out) 372s for y = 1:rows (out) 372s x_in = 2 * (x-1) + 1; 372s y_in = 2 * (y-1) + 1; 372s val = mean (mean (in(y_in:y_in+1, x_in:x_in+1))); 372s assert (val, out(y, x)) 372s endfor 372s endfor 372s 372s out = imresize (in, "Scale", [0.5, 2], "Method", "nearest", "Antialiasing", true); 372s for x = 1:columns (out) 372s for y = 1:rows (out) 372s x_in = floor (0.5 * (x-1) + 1); 372s y_in = 2 * (y-1) + 1; 372s val = mean (in(y_in:y_in+1, x_in)); 372s assert (val, out(y, x)) 372s endfor 372s endfor 372s 372s out = imresize (in, "Scale", [2, 0.5], "Method", "nearest", "Antialiasing", true); 372s for x = 1:columns (out) 372s for y = 1:rows (out) 372s x_in = 2 * (x-1) + 1; 372s y_in = floor (0.5 * (y-1) + 1); 372s val = mean (in(y_in, x_in:x_in+1)); 372s assert (val, out(y, x)) 372s endfor 372s endfor 372s ***** test 372s 372s assert (imresize (repmat (5, [3 3]), 2), repmat (5, [6 6]), eps*100) 372s 372s assert (imresize (repmat (5, [3 3 2]), 2), repmat (5, [6 6 2]), eps*100) 372s ***** test 372s 372s for channels = 1:3 372s in = rand (5, 4, channels); 372s for method = {"nearest", "bilinear", "bicubic"} 372s out = imresize (in, 2, method{1}); 372s for i = 1:size (in, 3) 372s assert (out(:, :, i), imresize (in(:, :, i), 2, method{1})) 372s endfor 372s endfor 372s endfor 373s ***** test 373s 373s for channels = 1:3 373s in = rand (5, 4, channels); 373s out = imresize (in, [1, columns(in)], "nearest", "Antialiasing", true); 373s for i = 1:columns (in) 373s assert (out(1, i, :), mean (in(:, i, :), 1), 10*eps) 373s endfor 373s endfor 373s ***** test 373s 373s for channels = 1:3 373s in = rand (5, 4, channels); 373s out = imresize (in, [rows(in), 1], "nearest", "Antialiasing", true); 373s for i = 1:rows (in) 373s assert (out(i, 1, :), mean (in(i, :, :), 2), 10*eps) 373s endfor 373s endfor 373s ***** test 373s 373s for channels = 1:3 373s in = rand (5, 4, channels); 373s out = imresize (in, [1, 1], "nearest", "Antialiasing", true); 373s assert (out(1, 1, :), mean (mean (in(:, :, :))), 10*eps) 373s endfor 373s ***** test 373s 373s in = [116 227 153 69 146 194 59 130 139 106 373s 2 47 137 249 90 75 16 24 158 44 373s 155 68 46 84 166 156 69 204 32 152 373s 71 221 137 230 210 153 192 115 30 118 373s 107 143 108 52 51 73 101 21 175 90 373s 54 158 143 77 26 168 113 229 165 225 373s 9 47 133 135 130 207 236 43 19 73 373s 129 60 59 243 64 181 249 56 32 86]; 373s 373s out = [115 208 134 100 163 117 101 136 109 103 373s 26 61 149 182 95 53 41 116 73 60 373s 133 101 82 140 167 125 152 71 126 144 373s 88 184 137 164 142 145 110 81 104 108 373s 86 146 109 55 73 110 111 156 153 150 373s 33 104 131 100 130 184 147 97 133 142 373s 84 59 114 164 133 219 120 33 72 81 373s 126 60 104 181 116 218 125 38 77 86]; 373s assert (imresize (uint8 (in), 0.91, "bilinear", "Antialiasing", false), uint8 (out), 1) 373s 373s out = [116 172 215 165 111 82 133 170 171 81 95 132 138 123 106 373s 59 98 138 144 152 152 125 127 119 54 58 89 137 112 75 373s 27 39 62 110 172 202 123 96 78 36 40 68 123 100 62 373s 129 97 64 62 87 119 146 148 128 74 117 154 73 94 134 373s 113 129 136 101 125 162 183 172 151 135 146 139 53 83 135 373s 77 143 195 145 166 197 186 162 146 171 138 92 62 84 113 373s 101 129 149 120 98 81 78 82 91 111 77 56 132 123 95 373s 81 116 147 130 96 61 43 80 119 109 116 132 162 164 158 373s 46 93 139 141 114 80 50 109 168 141 166 189 151 171 200 373s 16 41 77 123 130 123 115 157 204 214 145 69 48 71 98 373s 69 62 61 89 143 174 112 146 202 235 147 46 30 53 80 373s 129 95 60 59 151 213 94 123 192 238 153 52 36 59 86]; 373s assert (imresize (uint8 (in), 1.5, "bilinear"), uint8 (out), 1) 373s 373s out = [ 98 152 126 58 112 373s 129 125 172 146 83 373s 116 96 80 116 164 373s 62 143 146 147 53]; 373s assert (imresize (uint8 (in), 0.5, "bilinear", "Antialiasing", false), uint8 (out), 1) 373s 373s out = [108 136 125 89 107 373s 111 132 143 114 99 373s 106 110 106 127 136 373s 75 124 154 142 75]; 373s assert (imresize (uint8 (in), 0.5, "bilinear", "Antialiasing", true), uint8 (out), 1) 373s 373s out = [116 185 199 143 80 117 164 177 76 103 133 135 110 106 373s 45 89 126 148 177 138 114 109 43 52 97 141 78 67 373s 59 57 73 114 177 145 114 96 45 71 99 108 88 85 373s 145 109 76 63 96 146 166 147 93 152 133 47 134 148 373s 82 157 174 137 201 208 186 156 174 145 90 42 111 122 373s 94 143 152 119 119 114 108 107 131 86 80 119 104 101 373s 87 126 139 114 69 49 67 109 106 102 126 167 145 141 373s 48 108 143 135 91 56 89 167 134 177 184 154 199 206 373s 15 44 88 133 129 121 149 204 219 124 55 44 85 92 373s 84 66 67 102 189 132 127 198 237 123 42 34 74 81 373s 129 86 60 82 220 131 108 190 241 128 47 39 79 86]; 373s assert (imresize (uint8 (in), 4/3, "bilinear"), uint8 (out), 1) 373s 373s lin = @(x) (1 - abs(x)) .* (abs(x) < 1); 373s 373s out = [ 47 90 24 44 373s 143 51 21 90 373s 60 64 56 86]; 373s assert (imresize (uint8 (in), 1/3, "bilinear", "Antialiasing", false), uint8 (out), 1) 373s assert (imresize (uint8 (in), 1/3, {lin, 2}, "Antialiasing", false), uint8 (out), 1) 373s 373s out = [115 131 101 102 373s 114 117 120 121 373s 91 147 116 76]; 373s assert (imresize (uint8 (in), 1/3, "bilinear", "Antialiasing", true), uint8 (out), 1) 373s assert (imresize (uint8 (in), 1/3, {lin, 2}, "Antialiasing", true), uint8 (out), 1) 373s ***** test 373s in = [116 227 153 69 146 194 59 130 139 106 373s 2 47 137 249 90 75 16 24 158 44 373s 155 68 46 84 166 156 69 204 32 152 373s 71 221 137 230 210 153 192 115 30 118 373s 107 143 108 52 51 73 101 21 175 90 373s 54 158 143 77 26 168 113 229 165 225 373s 9 47 133 135 130 207 236 43 19 73 373s 129 60 59 243 64 181 249 56 32 86]; 373s 373s out = [116 187 237 171 94 61 135 191 187 75 91 142 140 124 108 373s 43 92 143 149 164 163 119 123 118 44 38 80 151 118 62 373s 13 21 47 107 195 228 115 81 70 24 19 56 137 105 48 373s 146 98 49 49 71 107 148 159 132 58 124 176 61 85 146 373s 118 139 144 92 116 168 201 188 159 140 167 158 27 69 153 373s 61 151 218 145 174 219 201 164 146 187 148 84 48 76 115 373s 102 132 151 119 90 72 72 72 83 114 60 31 144 130 80 373s 81 121 154 133 87 41 19 67 116 95 108 140 183 180 163 373s 37 95 152 150 117 73 35 108 179 130 174 214 153 176 219 373s 3 29 73 131 136 120 116 162 214 229 147 54 35 62 96 373s 67 54 51 83 153 187 111 141 210 255 149 22 13 42 74 373s 142 99 53 43 164 237 77 103 197 254 159 42 31 59 91]; 373s assert (imresize (uint8 (in), 1.5, "bicubic"), uint8 (out), 1) 373s 373s out = [ 92 164 123 38 118 373s 139 116 188 167 69 373s 121 87 67 108 180 373s 54 153 141 149 42]; 373s assert (imresize (uint8 (in), 0.5, "bicubic", "Antialiasing", false), uint8 (out), 1) 373s 373s out = [105 140 126 81 109 373s 110 134 153 114 93 373s 108 108 94 127 146 373s 67 126 162 149 62]; 373s assert (imresize (uint8 (in), 0.5, "bicubic", "Antialiasing", true), uint8 (out), 1) 373s 373s out = [116 203 221 141 62 110 180 191 70 104 143 136 111 106 373s 26 78 126 156 200 139 103 103 33 28 92 158 67 46 373s 51 35 51 112 195 146 101 87 29 57 100 114 81 74 373s 159 110 63 50 82 148 179 152 83 173 147 27 143 170 373s 70 171 189 134 217 226 193 158 186 157 83 25 114 135 373s 91 152 162 116 118 114 102 98 138 65 60 127 92 84 373s 90 130 144 111 52 24 50 101 94 86 129 190 146 135 373s 41 114 157 139 89 37 82 178 125 192 203 154 213 227 373s 4 33 89 141 127 118 151 213 232 119 35 34 81 92 373s 88 61 54 97 203 129 115 203 255 119 18 24 70 81 373s 147 91 43 68 247 125 80 191 255 130 33 37 83 94]; 373s assert (imresize (uint8 (in), 4/3, "bicubic"), uint8 (out), 1) 373s 373s out = [ 47 90 24 44 373s 143 51 21 90 373s 60 64 56 86]; 373s assert (imresize (uint8 (in), 1/3, "bicubic", "Antialiasing", false), uint8 (out), 1) 373s 373s out = [115 135 97 101 373s 113 119 124 125 373s 81 157 118 64]; 373s assert (imresize (uint8 (in), 1/3, "bicubic", "Antialiasing", true), uint8 (out), 1) 373s ***** test 373s 373s in = checkerboard (1, [2 2]); 373s out = [0.5 0.35 373s 0.5 0.35]; 373s assert ( imresize (in, 0.5, "bilinear", "Antialiasing", false), out) 373s ***** test 373s 373s in = ones (2) + 1i; 373s out_nearest = imresize (in, 1.5, "nearest"); 373s assert (out_nearest, ones (3) + 1i); 373s out_linear = imresize (in, 1.5, "linear"); 373s assert (out_linear, ones (3) + 1i); 373s out_cubic = imresize (in, 1.5, "cubic"); 373s assert (out_cubic, ones (3) + 1i, 1e-14); 373s ***** test 373s 373s in = cat (3, 10, 10, 10); 373s expected = 10 * ones (2, 2, 3); # consistent with MATLAB behaviour 373s 373s out_nearest = imresize (in, [2, 2], "nearest"); 373s assert (out_nearest, expected); 373s out_linear = imresize (in, [2, 2], "linear"); 373s assert (out_linear, expected); 373s out_cubic = imresize (in, [2, 2], "cubic"); 373s assert (out_cubic, expected); 373s ***** test 373s 373s in_row = cat(3, [10,6], [10,6], [10,6]); 373s 373s plane_expected_nearest = [1; 1; 1] * [10, 10, 6, 6]; 373s out_expected = cat (3, plane_expected_nearest, plane_expected_nearest, plane_expected_nearest); 373s out_nearest = imresize (in_row, [3, 4], "nearest"); 373s assert (out_nearest, out_expected); 373s 373s plane_expected_linear = [1; 1; 1] * [10, 8, 6]; 373s out_expected = cat (3, plane_expected_linear, plane_expected_linear, plane_expected_linear); 373s out_linear = imresize (in_row, [3, 3], "linear"); 373s assert (out_linear, out_expected); 373s 373s plane_expected_cubic = [1; 1; 1] * [10.27777777777777, 8, 5.72222222222222]; # values from MATLAB 373s out_expected = cat (3, plane_expected_cubic, plane_expected_cubic, plane_expected_cubic); 373s out_cubic = imresize (in_row, [3, 3], "cubic"); 373s assert (out_cubic, out_expected, 1e-13); 373s 373s in_col = cat(3, [10;6], [10;6], [10;6]); 373s 373s plane_expected_nearest = [10; 10; 6; 6] * [1, 1, 1]; 373s out_expected = cat (3, plane_expected_nearest, plane_expected_nearest, plane_expected_nearest); 373s out_nearest = imresize (in_col, [4, 3], "nearest"); 373s assert (out_nearest, out_expected); 373s 373s plane_expected_linear = [10; 8; 6] * [1, 1, 1]; 373s out_expected = cat (3, plane_expected_linear, plane_expected_linear, plane_expected_linear); 373s out_linear = imresize (in_col, [3, 3], "linear"); 373s assert (out_linear, out_expected); 373s 373s plane_expected_cubic = [10.27777777777777; 8; 5.72222222222222] * [1, 1, 1]; # values from MATLAB 373s out_expected = cat (3, plane_expected_cubic, plane_expected_cubic, plane_expected_cubic); 373s out_cubic = imresize (in_col, [3, 3], "cubic"); 373s assert (out_cubic, out_expected, 1e-13); 373s ***** #test 373s r_big_int16 = randi(16000, 8000, 8000, "int16"); 373s r_big_double = randi(16000, 8000, 8000); 373s tic; imresize (r_big_int16, 100/8000); toc; 373s tic; imresize (r_big_double, 100/8000); toc; 373s 373s r_small_int16 = randi(16000, 100, 100, "int16"); 373s r_small_double = randi(16000, 100, 100); 373s tic; imresize (r_small_int16, 8000/100); toc; 373s tic; imresize (r_small_double, 8000/100); toc; 373s 13 tests, 13 passed, 0 known failure, 0 skipped 373s [inst/imrotate.m] 373s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imrotate.m 373s ***** test 373s ## Verify minimal loss across six rotations that add up to 360 +/- 1 deg.: 373s methods = { "nearest", "bilinear", "bicubic", "Fourier" }; 373s angles = [ 59 60 61 ]; 373s tolerances = [ 7.4 8.5 8.6 # nearest 373s 3.5 3.1 3.5 # bilinear 373s 2.7 2.0 2.7 # bicubic 373s 2.7 1.6 2.8 ]/8; # Fourier 373s 373s # This is peaks(50) without the dependency on the plot package 373s x = y = linspace(-3,3,50); 373s [X,Y] = meshgrid(x,y); 373s x = 3*(1-X).^2.*exp(-X.^2 - (Y+1).^2) ... 373s - 10*(X/5 - X.^3 - Y.^5).*exp(-X.^2-Y.^2) ... 373s - 1/3*exp(-(X+1).^2 - Y.^2); 373s 373s x -= min(x(:)); # Fourier does not handle neg. values well 373s x = x./max(x(:)); 373s for m = 1:(length(methods)) 373s y = x; 373s for i = 1:5 373s y = imrotate(y, 60, methods{m}, "crop", 0); 373s end 373s for a = 1:(length(angles)) 373s assert(norm((x - imrotate(y, angles(a), methods{m}, "crop", 0)) 373s (10:40, 10:40)) < tolerances(m,a)); 373s endfor 373s endfor 373s ***** xtest 373s ## Verify exactness of near-90 and 90-degree rotations: 373s X = rand(99); 373s for angle = [90 180 270] 373s for da = [-0.1 0.1] 373s Y = imrotate(X, angle + da , "nearest", :, 0); 373s Z = imrotate(Y, -(angle + da), "nearest", :, 0); 373s assert(norm(X - Z) == 0); # exact zero-sum rotation 373s assert(norm(Y - imrotate(X, angle, "nearest", :, 0)) == 0); # near zero-sum 373s endfor 373s endfor 373s !!!!! known failure 373s assert (norm (X - Z) == 0) failed 373s ***** test 373s ## Verify preserved pixel density: 373s methods = { "nearest", "bilinear", "bicubic", "Fourier" }; 373s ## This test does not seem to do justice to the Fourier method...: 373s tolerances = [ 4 2.2 2.0 209 ]; 373s range = 3:9:100; 373s for m = 1:(length(methods)) 373s t = []; 373s for n = range 373s t(end + 1) = sum(imrotate(eye(n), 20, methods{m}, :, 0)(:)); 373s endfor 373s assert(t, range, tolerances(m)); 373s endfor 373s ***** test 373s a = reshape (1:18, [2 3 3]); 373s 373s a90(:,:,1) = [5 6; 3 4; 1 2]; 373s a90(:,:,2) = a90(:,:,1) + 6; 373s a90(:,:,3) = a90(:,:,2) + 6; 373s 373s a180(:,:,1) = [6 4 2; 5 3 1]; 373s a180(:,:,2) = a180(:,:,1) + 6; 373s a180(:,:,3) = a180(:,:,2) + 6; 373s 373s am90(:,:,1) = [2 1; 4 3; 6 5]; 373s am90(:,:,2) = am90(:,:,1) + 6; 373s am90(:,:,3) = am90(:,:,2) + 6; 373s 373s assert (imrotate (a, 0), a); 373s assert (imrotate (a, 90), a90); 373s assert (imrotate (a, -90), am90); 373s assert (imrotate (a, 180), a180); 373s assert (imrotate (a, -180), a180); 373s assert (imrotate (a, 270), am90); 373s assert (imrotate (a, -270), a90); 373s assert (imrotate (a, 360), a); 373s ***** test 373s # bug #53309 373s in = ones (2, 4); 373s out = [0 1 1 0; 0 1 1 0]; 373s assert (imrotate (in, 90, "nearest", "crop"), out) 373s assert (imrotate (repmat (in, [1 1 3]), 90, "nearest", "crop"), 373s repmat (out, [1 1 3])) 373s ***** test 373s ## bug #53309 373s rgbs = { 373s rand(5, 4, 3), # normal path, does interpolation 373s rand(4, 4, 3), # rows and columns, same number, simple rotdim 373s rand(4, 6, 3), # rows and columns differents, but of length even 373s }; 373s for rgb_i = 1:numel(rgbs) 373s rgb = rgbs{rgb_i}; 373s rot = imrotate (rgb, 90, "nearest", "crop"); 373s for i = 1:3 373s assert (rot(:,:,i), imrotate (rgb(:,:,i), 90, "nearest", "crop")) 373s endfor 373s ## same check but with an integer class 373s rgb = im2uint8 (rgb); 373s rot = imrotate (rgb, 90, "nearest", "crop"); 373s assert (class (rgb), class (rot)) 373s for i = 1:3 373s assert (rot(:,:,i), imrotate (rgb(:,:,i), 90, "nearest", "crop")) 373s endfor 373s endfor 373s 6 tests, 5 passed, 1 known failure, 0 skipped 373s [inst/imtransform.m] 373s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imtransform.m 373s ***** demo 373s ## Various linear transforms 373s figure (); 373s im = [checkerboard(20, 2, 4); checkerboard(40, 1, 2)]; 373s %input space corners 373s incp = [1 1; 160 1; 160 160; 1 160]; 373s udata = [min(incp(:,1)) max(incp(:,1))]; 373s vdata = [min(incp(:,2)) max(incp(:,2))]; 373s subplot (2,3,1); 373s imshow (im) 373s hold on 373s plot (incp(:,1), incp(:,2), 'ob') 373s axis on 373s xlabel ('Original') 373s 373s % Translation and scaling 373s outcp = incp * 2; 373s outcp(:,1) += 200; 373s outcp(:,2) += 500; 373s T = maketform ('affine', incp(1:3,:), outcp(1:3,:)); 373s subplot (2,3,2); 373s [im2 xdata ydata] = imtransform (im, T, 'udata', udata, 373s 'vdata', vdata, 'fillvalues', 1); 373s imh = imshow (im2); set (imh, 'xdata', xdata, 'ydata', ydata) 373s set (gca, 'xlim', xdata, 'ylim', ydata) 373s axis on, hold on, xlabel ('Translation / Scaling'); 373s plot (outcp(:,1), outcp(:,2), 'or') 373s 373s % Shear 373s outcp = [1 1; 160 1; 140 160; -19 160]; % affine only needs 3 control points 373s T = maketform ('affine', incp(1:3,:), outcp(1:3,:)); 373s subplot (2,3,3); 373s [im2 xdata ydata] = imtransform (im, T, 'udata', udata, 373s 'vdata', vdata, 'fillvalues', 1); 373s imh = imshow (im2); set (imh, 'xdata', xdata, 'ydata', ydata) 373s set (gca, 'xlim', xdata, 'ylim', ydata) 373s axis on, hold on, xlabel ('Shear'); 373s plot (outcp(:,1), outcp(:,2), 'or') 373s 373s % Rotation 373s theta = pi/4; 373s T = maketform ('affine', [cos(theta) -sin(theta); ... 373s sin(theta) cos(theta); 0 0]); 373s outcp = tformfwd (T, incp); 373s subplot (2,3,4); 373s [im2 xdata ydata] = imtransform (im, T, 'udata', udata, 373s 'vdata', vdata, 'fillvalues', 1 ); 373s imh = imshow (im2); set (imh, 'xdata', xdata, 'ydata', ydata) 373s set (gca, 'xlim', xdata, 'ylim', ydata) 373s axis on, hold on, xlabel ('Rotation'); 373s plot (outcp(:,1), outcp(:,2), 'or') 373s 373s % Reflection around x axis 373s outcp = incp; 373s outcp(:,2) *= -1; 373s T = cp2tform (incp, outcp, 'similarity'); 373s subplot (2,3,5); 373s [im2 xdata ydata] = imtransform (im, T, 'udata', udata, 373s 'vdata', vdata, 'fillvalues', 1 ); 373s imh = imshow (im2); set (imh, 'xdata', xdata, 'ydata', ydata) 373s set (gca, 'xlim', xdata, 'ylim', ydata) 373s axis on, hold on, xlabel ('Reflection'); 373s plot (outcp(:,1), outcp(:,2), 'or') 373s 373s % Projection 373s outcp = [1 1; 160 -40; 220 220; 12 140]; 373s T = maketform ('projective', incp, outcp); 373s subplot (2,3,6); 373s [im2 xdata ydata] = imtransform (im, T, 'udata', udata, 373s 'vdata', vdata, 'fillvalues', 1 ); 373s imh = imshow (im2); set (imh, 'xdata', xdata, 'ydata', ydata) 373s set (gca, 'xlim', xdata, 'ylim', ydata) 373s axis on, hold on, xlabel ('Projection'); 373s plot (outcp(:,1), outcp(:,2), 'or') 373s ***** demo 373s ## Streched image 373s rad = 2; % minimum value: 4/pi 373s [uu vv] = meshgrid ((-2:2)/rad, (-2:2)/rad); 373s rescfactor = sin ((uu.^2 + vv.^2).^.5); 373s inpts = [(reshape (uu, numel (uu), 1)), (reshape (vv, numel (uu), 1))]; 373s xx = rescfactor .* sign(uu); 373s yy = rescfactor .* sign(vv); 373s outpts = [reshape(xx, numel (xx), 1) reshape(yy, numel (yy), 1)]; 373s 373s T = cp2tform (inpts, outpts, "polynomial", 4); 373s figure; 373s subplot (1,2,1) 373s im = zeros (800, 800, 3); 373s im(:,:,1) = checkerboard (100) > 0.2; 373s im(:,:,3) = checkerboard (100) < 0.2; 373s [im2 xdata ydata] = imtransform (im, T, 'udata', [-2 2], 373s 'vdata', [-2 2], 'fillvalues', 373s [0 1 0]); 373s imh = imshow (im2); 373s set (imh, 'xdata', xdata, 'ydata', ydata) 373s set (gca, 'xlim', xdata, 'ylim', ydata) 373s [im cmap] = imread ('default.img'); 373s subplot (1,2,2) 373s [im2 xdata ydata] = imtransform (im, T, 'udata', [-1 1], 373s 'vdata', [-1 1], 'fillvalues', 373s round (length (cmap) / 2)); 373s imh = imshow (im2, cmap); 373s ***** test 373s im = checkerboard (); 373s incp = [0 0; 0 1; 1 1]; 373s scl = 10; 373s outcp = scl * incp; 373s T = maketform ('affine', incp, outcp); 373s [im2 xdata ydata] = imtransform (im, T, 'udata', [0 1], 373s 'vdata', [0 1], 'size', [500 500]); 373s assert (xdata, scl * ([0 1])) 373s assert (ydata, scl * ([0 1])) 373s assert (size (im2), [500 500]) 374s ***** test 374s im = checkerboard (); 374s incp = [0 0; 0 1; 1 1]; 374s scl = 10; 374s outcp = scl * incp; 374s xyscale = scl; 374s T = maketform ('affine', incp, outcp); 374s [im2 xdata ydata] = imtransform (im, T, 'xyscale', xyscale); 374s assert (size (im2), size (im), 1) 374s ***** test 374s im = checkerboard (100, 10, 4); 374s theta = 2 * pi; 374s T = maketform ("affine", [cos(theta) -sin(theta); ... 374s sin(theta) cos(theta); 0 0]); 374s im2 = imtransform (im, T, "nearest", "xdata", [1 800], "ydata", [1 2000]); 374s im = im(2:end-1, 2:end-1); %avoid boundaries 374s im2 = im2(2:end-1, 2:end-1); 374s assert (im, im2) 374s ***** test 374s im = checkerboard (20, 10, 4); 374s theta = pi/6; 374s T = maketform ('affine', [cos(theta) -sin(theta); ... 374s sin(theta) cos(theta); 0 0]); 374s [im2, xdata] = imtransform (im, T); 374s nu = columns(im); 374s nv = rows(im); 374s nx = xdata(2); 374s diag = sqrt (nu^2 + nv^2); 374s ang = atan (nv / nu); 374s assert (nx, diag * abs (cos (theta - ang)), 374s diag * 1 / size (im2, 2)) 374s ***** test 374s im = rand (2); 374s tmat = [eye(2); 0 0]; 374s T = maketform ("affine", tmat); 374s im2 = imtransform (im, T, "xdata", [1 3]); 374s assert (im2(:,3), zeros (2,1)) 374s ***** test 374s im = rand (2); 374s tmat = [eye(2); 0 0]; 374s T = maketform ('affine', tmat); 374s im2 = imtransform (im, T, "xdata", [1 3]); 374s assert (size (im2), [2 3]) 374s ***** test 374s im = rand (2); 374s tmat = [eye(2); 0 0]; 374s T = maketform ('affine', tmat); 374s im2 = imtransform (im, T, "xyscale", [0.5 0.5]); 374s assert (size (im2), [3 3]) 374s ***** test 374s im = [1,2,3,4; 5,6,7,8; 9,10,11,12; 13,14,15,16]; 374s tmat = [eye(2); 0 0]; 374s T = maketform ('affine', tmat); 374s im2 = imtransform (im, T, 'xdata', [1 4], 'ydata', [4 1]); 374s assert (im2, [13,14,15,16; 9,10,11,12; 5,6,7,8; 1,2,3,4]) 374s 374s im2 = imtransform (im, T, 'xdata', [4 1], 'ydata', [1 4]); 374s assert (im2, [4,3,2,1; 8,7,6,5; 12,11,10,9; 16,15,14,13]) 374s 374s [im2, xd, yd] = imtransform (im, T, 'xdata', [4 1], 'ydata', [4 1]); 374s assert (im2, [16,15,14,13; 12,11,10,9; 8,7,6,5; 4,3,2,1]) 374s assert (xd, [4 1]) 374s assert (yd, [4 1]) 374s 374s ***** error imtransform () 374s ***** error imtransform (rand(2)) 375s ***** error ... 375s imtransform (rand(2), maketform ('affine', [eye(2); 0 0]), ... 375s 'udata', [1 2], 'vdata', [2 1]); 375s ***** error ... 375s imtransform (rand(2), maketform ('affine', [eye(2); 0 0]), ... 375s 'udata', [2 1], 'vdata', [1 2]); 375s 12 tests, 12 passed, 0 known failure, 0 skipped 375s [inst/iptnum2ordinal.m] 375s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/iptnum2ordinal.m 375s ***** assert (strcmp (iptnum2ordinal (1), 'first')); # simple works 375s ***** assert (strcmp (iptnum2ordinal (21), '21st')); # after 20, goes stupid 375s ***** assert (strcmp (iptnum2ordinal (100), '100th')); # use th correctly 375s ***** fail ("iptnum2ordinal (inf)"); # must be real 375s ***** fail ("iptnum2ordinal (0)"); # must be positive 375s ***** fail ("iptnum2ordinal (-1)"); # must be positive 375s ***** fail ("iptnum2ordinal (3.4)"); # must be integer 375s 7 tests, 7 passed, 0 known failure, 0 skipped 375s [inst/regionprops.m] 375s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/regionprops.m 375s ***** shared bw2d, gray2d, bw2d_over_bb, bw2d_insides 375s bw2d = logical ([ 375s 0 1 0 1 1 0 375s 0 1 1 0 1 1 375s 0 1 0 0 0 0 375s 0 0 0 1 1 1 375s 0 0 1 1 0 1]); 375s 375s gray2d = [ 375s 2 4 0 7 5 2 375s 3 0 4 9 3 7 375s 0 5 3 4 8 1 375s 9 2 0 5 8 6 375s 8 9 7 2 2 5]; 375s 375s ## For testing overlapping bounding boxes 375s bw2d_over_bb = logical ([ 375s 0 1 1 1 0 1 1 375s 1 1 0 0 0 0 1 375s 1 0 0 1 1 0 1 375s 1 0 0 1 1 0 0 375s 0 0 0 1 1 1 1]); 375s 375s ## For testing when there's regions inside regions 375s bw2d_insides = logical ([ 375s 0 0 0 0 0 0 0 0 375s 0 1 1 1 1 1 1 0 375s 0 1 0 0 0 0 1 0 375s 0 1 0 1 1 0 1 0 375s 0 1 0 1 1 0 1 0 375s 0 1 0 0 0 0 1 0 375s 0 1 1 1 1 1 1 0 375s 0 0 0 0 0 0 0 0]); 375s ***** function c = get_2d_centroid_for (idx) 375s subs = ind2sub ([5 6], idx); 375s m = false ([5 6]); 375s m(idx) = true; 375s y = sum ((1:5)' .* sum (m, 2) /sum (m(:))); 375s x = sum ((1:6) .* sum (m, 1) /sum (m(:))); 375s c = [x y]; 375s ***** endfunction 375s ***** assert (regionprops (bw2d, "Area"), struct ("Area", {8; 6})) 375s ***** assert (regionprops (double (bw2d), "Area"), struct ("Area", {14})) 375s ***** assert (regionprops (bwlabel (bw2d, 4), "Area"), struct ("Area", {4; 6; 4})) 375s ***** assert (regionprops (bw2d, "PixelIdxList"), 375s struct ("PixelIdxList", {[6; 7; 12; 8; 16; 21; 22; 27] 375s [15; 19; 20; 24; 29; 30]})) 375s ***** assert (regionprops (bwlabel (bw2d, 4), "PixelIdxList"), 375s struct ("PixelIdxList", {[6; 7; 8; 12] 375s [15; 19; 20; 24; 29; 30] 375s [16; 21; 22; 27]})) 375s ***** assert (regionprops (bw2d, "PixelList"), 375s struct ("PixelList", {[2 1; 2 2; 3 2; 2 3; 4 1; 5 1; 5 2; 6 2] 375s [3 5; 4 4; 4 5; 5 4; 6 4; 6 5]})) 375s ***** assert (regionprops (bwlabel (bw2d, 4), "PixelList"), 375s struct ("PixelList", {[2 1; 2 2; 2 3; 3 2] 375s [3 5; 4 4; 4 5; 5 4; 6 4; 6 5] 375s [4 1; 5 1; 5 2; 6 2]})) 375s ***** assert (regionprops (bw2d, gray2d, "PixelValues"), 375s struct ("PixelValues", {[4; 0; 4; 5; 7; 5; 3; 7] 375s [7; 5; 2; 8; 6; 5]})) 375s ***** assert (regionprops (bw2d, gray2d, "MaxIntensity"), 375s struct ("MaxIntensity", {7; 8})) 375s ***** assert (regionprops (bw2d, gray2d, "MinIntensity"), 375s struct ("MinIntensity", {0; 2})) 375s ***** assert (regionprops (bw2d, "BoundingBox"), 375s struct ("BoundingBox", {[1.5 0.5 5 3]; [2.5 3.5 4 2]})) 375s ***** assert (regionprops (bw2d, "Centroid"), 375s struct ("Centroid", {get_2d_centroid_for([6 7 8 12 16 21 22 27]) 375s get_2d_centroid_for([15 19 20 24 29 30])}), 375s 5 * eps) 375s ***** test 375s props = struct ("Area", {8; 6}, 375s "Centroid", {get_2d_centroid_for([6 7 8 12 16 21 22 27]) 375s get_2d_centroid_for([15 19 20 24 29 30])}, 375s "BoundingBox", {[1.5 0.5 5 3]; [2.5 3.5 4 2]}); 375s assert (regionprops (bw2d, "basic"), props, 5 * eps) 375s assert (regionprops (bwconncomp (bw2d, 8), "basic"), props, 5 * eps) 375s assert (regionprops (bwlabeln (bw2d, 8), "basic"), props, 5 * eps) 375s ***** test 375s props = struct ("Area", {4; 6; 4}, 375s "Centroid", {get_2d_centroid_for([6 7 8 12]) 375s get_2d_centroid_for([15 19 20 24 29 30]) 375s get_2d_centroid_for([16 21 22 27])}, 375s "BoundingBox", {[1.5 0.5 2 3]; [2.5 3.5 4 2]; [3.5 0.5 3 2]}); 375s assert (regionprops (bwconncomp (bw2d, 4), "basic"), props, 5 * eps) 375s assert (regionprops (bwlabeln (bw2d, 4), "basic"), props, 5 * eps) 375s ***** assert (regionprops (double (bw2d), "basic"), 375s struct ("Area", 14, 375s "Centroid", get_2d_centroid_for (find (bw2d)), 375s "BoundingBox", [1.5 0.5 5 5]), eps*1000) 375s ***** assert (regionprops ([0 0 1], "Centroid").Centroid, [3 1]) 375s ***** assert (regionprops ([0 0 1; 0 0 0], "Centroid").Centroid, [3 1]) 375s ***** assert (regionprops ([0 1 1], "Centroid").Centroid, [2.5 1]) 375s ***** assert (regionprops ([0 1 1; 0 0 0], "Centroid").Centroid, [2.5 1]) 375s ***** test 375s a = zeros (2, 3, 3); 375s a(:, :, 1) = [0 1 0; 0 0 0]; 375s a(:, :, 3) = a(:, :, 1); 375s c = regionprops (a, "centroid"); 375s assert (c.Centroid, [2 1 2]) 375s ***** test 375s d1=2; d2=4; d3=6; 375s a = ones (d1, d2, d3); 375s c = regionprops (a, "centroid"); 375s assert (c.Centroid, [mean(1:d2), mean(1:d1), mean(1:d3)], eps*1000) 375s ***** test 375s a = [0 0 2 2; 3 3 0 0; 0 1 0 1]; 375s c = regionprops (a, "centroid"); 375s assert (c(1).Centroid, [3 3]) 375s assert (c(2).Centroid, [3.5 1]) 375s assert (c(3).Centroid, [1.5 2]) 375s ***** test 375s ***** assert (regionprops (bw2d, gray2d, "WeightedCentroid"), 375s struct ("WeightedCentroid", 375s {sum([2 1; 2 2; 3 2; 2 3; 4 1; 5 1; 5 2; 6 2] 375s .* ([4; 0; 4; 5; 7; 5; 3; 7] / 35)) 375s sum([3 5; 4 4; 4 5; 5 4; 6 4; 6 5] 375s .* ([7; 5; 2; 8; 6; 5] / 33))}), 5 * eps) 375s ***** test 375s img = zeros (3, 9); 375s img(2, 1:9) = 0:0.1:0.8; 375s bw = im2bw (img, 0.5); 375s props = regionprops (bw, img, "WeightedCentroid"); 375s ix = 7:9; 375s x = sum (img(2,ix) .* (ix)) / sum (img(2,ix)); 375s assert (props(1).WeightedCentroid(1), x, 10*eps) 375s assert (props(1).WeightedCentroid(2), 2, 10*eps) 375s ***** assert (regionprops (bw2d, gray2d, "MeanIntensity"), 375s struct ("MeanIntensity", {mean([4 0 5 4 7 5 3 7]) 375s mean([7 5 2 8 6 5])})) 375s ***** assert (regionprops (bwlabel (bw2d, 4), gray2d, "MeanIntensity"), 375s struct ("MeanIntensity", {mean([4 0 5 4]) 375s mean([7 5 2 8 6 5]) 375s mean([7 5 3 7])})) 375s ***** assert (regionprops (bw2d, "SubarrayIdx"), 375s struct ("SubarrayIdx", {{[1 2 3], [2 3 4 5 6]} 375s {[4 5], [3 4 5 6]}})) 375s ***** assert (regionprops (bwlabel (bw2d, 4), "SubarrayIdx"), 375s struct ("SubarrayIdx", {{[1 2 3], [2 3]} 375s {[4 5], [3 4 5 6]} 375s {[1 2], [4 5 6]}})) 375s ***** test 375s out = struct ("Image", {logical([1 0 1 1 0; 1 1 0 1 1; 1 0 0 0 0]) 375s logical([0 1 1 1; 1 1 0 1])}); 375s assert (regionprops (bw2d, "Image"), out) 375s assert (regionprops (bw2d, gray2d, "Image"), out) 375s assert (regionprops (bwlabel (bw2d), "Image"), out) 375s ***** assert (regionprops (bwlabel (bw2d, 4), "Image"), 375s struct ("Image", {logical([1 0; 1 1; 1 0]) 375s logical([0 1 1 1; 1 1 0 1]) 375s logical([1 1 0; 0 1 1])})) 375s ***** test 375s out = struct ("Image", {logical([0 1 1 1; 1 1 0 0; 1 0 0 0; 1 0 0 0]) 375s logical([1 1 0 0; 1 1 0 0; 1 1 1 1]) 375s logical([1 1; 0 1; 0 1])}); 375s assert (regionprops (bw2d_over_bb, "Image"), out) 375s assert (regionprops (bwlabel (bw2d_over_bb), "Image"), out) 375s ***** test 375s out = struct ("Image", {logical([1 1 1 1 1 1 375s 1 0 0 0 0 1 375s 1 0 0 0 0 1 375s 1 0 0 0 0 1 375s 1 0 0 0 0 1 375s 1 1 1 1 1 1]) 375s logical([1 1; 1 1])}); 375s assert (regionprops (bw2d_insides, "Image"), out) 375s assert (regionprops (bwlabel (bw2d_insides), "Image"), out) 375s ***** test 375s l = uint8 ([ 375s 0 0 0 0 0 0 375s 0 1 1 1 1 0 375s 0 1 2 2 1 0 375s 0 1 2 2 1 0 375s 0 1 1 1 1 0 375s 0 0 0 0 0 0 375s ]); 375s assert (regionprops (l, "EulerNumber"), 375s struct ("EulerNumber", {0; 1})) 375s 375s l = uint8 ([ 375s 0 0 0 0 0 0 0 375s 0 1 1 1 1 1 0 375s 0 1 2 2 2 1 0 375s 0 1 2 3 2 1 0 375s 0 1 2 2 2 1 0 375s 0 1 1 1 1 1 0 375s 0 0 0 0 0 0 0 375s ]); 375s assert (regionprops (l, "EulerNumber"), 375s struct ("EulerNumber", {0; 0; 1})) 375s ***** test 375s l = uint8 ([ 375s 0 0 0 0 0 0 0 375s 0 1 1 1 1 1 0 375s 0 1 0 0 0 1 0 375s 0 1 0 1 0 1 0 375s 0 1 0 0 0 1 0 375s 0 1 1 1 1 1 0 375s 0 0 0 0 0 0 0 375s ]); 375s assert (regionprops (l, "EulerNumber"), 375s struct ("EulerNumber", 1)) 375s ***** test 375s l = uint8 ([ 375s 1 1 1 1 1 1 1 375s 1 1 2 1 2 2 1 375s 1 2 1 2 1 2 1 375s 1 1 2 1 2 1 1 375s 1 2 1 2 1 2 1 375s 1 2 2 1 2 1 1 375s 1 1 1 1 1 1 1 375s ]); 375s assert (regionprops (l, "EulerNumber"), 375s struct ("EulerNumber", {-9; -4})) 375s ***** test 375s l = uint8 ([ 375s 1 1 1 1 1 1 1 375s 1 1 4 1 5 5 1 375s 1 3 1 4 1 5 1 375s 1 1 3 1 4 1 1 375s 1 2 1 3 1 4 1 375s 1 2 2 1 3 1 1 375s 1 1 1 1 1 1 1 375s ]); 375s assert (regionprops (l, "EulerNumber"), 375s struct ("EulerNumber", {-9; 1; 1; 1; 1})) 375s ***** test 375s l = uint8 ([ 375s 1 1 1 1 1 1 1 375s 0 1 2 1 2 2 1 375s 1 2 1 2 1 2 1 375s 1 1 2 1 2 1 1 375s 1 2 1 2 1 2 1 375s 1 2 2 1 2 1 1 375s 1 1 1 1 1 1 1 375s ]); 375s filled = { 375s logical([ 375s 1 1 1 1 1 1 1 375s 0 1 1 1 1 1 1 375s 1 1 1 1 1 1 1 375s 1 1 1 1 1 1 1 375s 1 1 1 1 1 1 1 375s 1 1 1 1 1 1 1 375s 1 1 1 1 1 1 1 375s ]); 375s logical([ 375s 0 1 0 1 1 375s 1 1 1 1 1 375s 0 1 1 1 0 375s 1 1 1 1 1 375s 1 1 0 1 0 375s ]); 375s }; 375s assert (regionprops (l, {"FilledImage", "FilledArea"}), 375s struct ("FilledImage", filled, "FilledArea", {48; 19})) 375s ***** test 375s l = uint8 ([ 375s 0 0 0 0 0 0 0 375s 0 1 0 1 0 1 0 375s 0 1 0 1 0 1 0 375s 0 0 0 0 0 0 0 375s ]); 375s filled = logical ([ 375s 1 0 1 0 1 375s 1 0 1 0 1 375s ]); 375s assert (regionprops (l, {"FilledImage", "FilledArea"}), 375s struct ("FilledImage", filled, "FilledArea", 6)) 375s 375s l = uint8 ([ 375s 2 2 2 2 2 2 2 375s 2 1 2 1 2 1 2 375s 2 1 2 1 2 1 2 375s 2 2 2 2 2 2 2 375s ]); 375s filled = { 375s logical([ 375s 1 0 1 0 1 375s 1 0 1 0 1 375s ]); 375s true(4, 7) 375s }; 375s assert (regionprops (l, {"FilledImage", "FilledArea"}), 375s struct ("FilledImage", filled, "FilledArea", {6; 28})) 375s ***** test 375s l = uint8 ([ 375s 0 0 0 0 0 0 0 375s 0 1 1 1 1 1 0 375s 0 1 2 2 2 1 0 375s 0 1 2 3 2 1 0 375s 0 1 2 2 2 1 0 375s 0 1 1 1 1 1 0 375s 0 0 0 0 0 0 0 375s ]); 375s filled = {true(5, 5); true(3, 3); true}; 375s assert (regionprops (l, {"FilledImage", "FilledArea"}), 375s struct ("FilledImage", filled, "FilledArea", {25; 9; 1})) 375s ***** test 375s l = uint8 ([ 375s 1 1 1 2 0 0 375s 1 0 2 1 2 0 375s 1 2 0 1 0 2 375s 1 2 1 1 0 2 375s 0 1 2 2 2 2 375s ]); 375s filled = { 375s logical([ 375s 1 1 1 0 375s 1 1 1 1 375s 1 1 1 1 375s 1 1 1 1 375s 0 1 0 0 375s ]); 375s logical([ 375s 0 0 1 0 0 375s 0 1 1 1 0 375s 1 1 1 1 1 375s 1 1 1 1 1 375s 0 1 1 1 1 375s ]) 375s }; 375s assert (regionprops (l, {"FilledImage", "FilledArea"}), 375s struct ("FilledImage", filled, "FilledArea", {16; 18})) 375s ***** test 375s bw = false (5, 5, 5); 375s bw(2:4, 2:4, [1 5]) = true; 375s bw(2:4, [1 5], 2:4) = true; 375s bw([1 5], 2:4, 2:4) = true; 375s filled = bw; 375s filled(2:4, 2:4, 2:4) = true; 375s assert (regionprops (bw, {"FilledImage", "FilledArea"}), 375s struct ("FilledImage", filled, "FilledArea", 81)) 375s ***** test 375s l = uint8 ([ 375s 1 1 1 2 0 0 375s 1 0 2 1 2 0 375s 1 2 0 1 0 2 375s 1 2 1 1 0 2 375s 0 1 2 2 2 2 375s ]); 375s assert (regionprops (l, {"Extent"}), struct ("Extent", {0.55; 0.44})) 375s ***** test 375s bw = logical ([0 0 0; 0 1 0; 0 0 0]); 375s assert (regionprops (bw, {"MinorAxisLength", "MajorAxisLength", ... 375s "Eccentricity", "Orientation"}), 375s struct ("MajorAxisLength", 4 .* sqrt (1/12), 375s "MinorAxisLength", 4 .* sqrt (1/12), 375s "Eccentricity", 0, 375s "Orientation", 0)) 375s ***** test 375s a = eye (4); 375s t = regionprops (a, "majoraxislength"); 375s assert (t.MajorAxisLength, 6.4291, 1e-3); 375s t = regionprops (a, "minoraxislength"); 375s assert(t.MinorAxisLength, 1.1547 , 1e-3); 375s t = regionprops (a, "eccentricity"); 375s assert (t.Eccentricity, 0.98374 , 1e-3); 375s t = regionprops (a, "orientation"); 375s assert (t.Orientation, -45); 375s t = regionprops (a, "equivdiameter"); 375s assert (t.EquivDiameter, 2.2568, 1e-3); 375s ***** test 375s b = ones (5); 375s t = regionprops (b, "majoraxislength"); 375s assert (t.MajorAxisLength, 5.7735 , 1e-3); 375s t = regionprops (b, "minoraxislength"); 375s assert (t.MinorAxisLength, 5.7735 , 1e-3); 375s t = regionprops (b, "eccentricity"); 375s assert (t.Eccentricity, 0); 375s t = regionprops (b, "orientation"); 375s assert (t.Orientation, 0); 375s t = regionprops (b, "equivdiameter"); 375s assert (t.EquivDiameter, 5.6419, 1e-3); 375s ***** test 375s c = [0 0 1; 0 1 1; 1 1 0]; 375s t = regionprops (c, "minoraxislength"); 375s assert (t.MinorAxisLength, 1.8037 , 1e-3); 375s t = regionprops (c, "majoraxislength"); 375s assert (t.MajorAxisLength, 4.1633 , 1e-3); 375s t = regionprops (c, "eccentricity"); 375s assert (t.Eccentricity, 0.90128 , 1e-3); 375s t = regionprops (c, "orientation"); 375s assert (t.Orientation, 45); 375s t = regionprops (c, "equivdiameter"); 375s assert (t.EquivDiameter, 2.5231, 1e-3); 375s ***** test 375s bw = logical ([0 0 0 0; 0 1 1 0; 0 0 0 0]); 375s props = regionprops (bw, "Orientation"); 375s assert ([props.Orientation], 0, 0) 375s 375s props = regionprops (bw', "Orientation"); 375s assert ([props.Orientation], 90, 0) 375s 375s bw = logical ([0 0 0 0; 0 1 1 0; 0 1 1 0; 0 0 0 0]); 375s props = regionprops (bw, "Orientation"); 375s assert ([props.Orientation], 0, 0) 375s 375s bw = logical ([1 1 0 0 0 ; 0 0 1 1 0 ; 0 0 0 0 0; 0 0 0 0 0]); 375s props = regionprops (bw, "Orientation"); 375s assert ([props.Orientation], -22.5, eps (22.5)) 375s 375s bw = logical ([ 375s 1 1 0 0 1 375s 0 0 0 0 1 375s 0 0 0 0 0 375s 0 0 1 1 0 375s 1 0 1 1 0 375s 1 0 0 0 0 375s 0 1 0 0 0 375s 0 1 0 0 0]); 375s props = regionprops (bw, "Orientation"); 375s assert ([props.Orientation], [0 -67.5 0 90]) 375s ***** test 375s f = [0 0 0 0; 1 1 1 1; 0 1 1 1; 0 0 0 0]; 375s t = regionprops (f, "Extrema"); 375s 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]; 375s assert (t.Extrema, shouldbe, eps); 375s ***** test 375s bw = false (5); 375s bw([8 12 13 14 18]) = true; 375s extrema = [2 1; 3 1; 4 2; 4 3; 3 4; 2 4; 1 3; 1 2] + 0.5; 375s assert (regionprops (bw, "extrema"), struct ("Extrema", extrema)) 375s ***** test 375s ext1 = [1 0; 5 0; 6 1; 6 2; 2 3; 1 3; 1 3; 1 0] + 0.5; 375s ext2 = [3 3; 6 3; 6 3; 6 5; 6 5; 2 5; 2 5; 2 4] + 0.5; 375s assert (regionprops (bw2d, "extrema"), struct ("Extrema", {ext1; ext2})) 375s ***** assert (regionprops (bw2d, "equivDiameter"), 375s struct ("EquivDiameter", {sqrt(4*8/pi); sqrt(4*6/pi)})) 375s ***** assert (regionprops (bw2d_over_bb, "equivDiameter"), 375s struct ("EquivDiameter", {sqrt(4*7/pi); sqrt(4*8/pi); sqrt(4*4/pi)})) 375s ***** assert (regionprops (bw2d_insides, "equivDiameter"), 375s struct ("EquivDiameter", {sqrt(4*20/pi); sqrt(4*4/pi)})) 375s ***** test 375s I = zeros (40); 375s disk = fspecial ("disk",10); 375s disk = disk ./ max (disk(:)); 375s I(10:30, 10:30) = disk; 375s bw = im2bw (I, 0.5); 375s props = regionprops (bw, "PerimeterOld"); 375s assert (props.PerimeterOld, 10*4 + (sqrt (2) * 4)*4, eps*100) 375s props = regionprops (bw, "Perimeter"); 375s assert (props.Perimeter, 59.876) 375s 375s props = regionprops (bwconncomp (bw), "PerimeterOld"); 375s assert (props.PerimeterOld, 10*4 + (sqrt (2) * 4)*4, eps*100) 375s props = regionprops (bwconncomp (bw), "Perimeter"); 375s assert (props.Perimeter, 59.876) 375s ***** assert (regionprops (bw2d, "PerimeterOld"), 375s struct ("PerimeterOld", {(sqrt (2)*6 + 4); (sqrt (2)*3 + 4)}), eps*10) 375s ***** assert (regionprops (bw2d, "Perimeter"), 375s struct ("Perimeter", {11.81; 7.683})) 375s ***** assert (regionprops (bw2d_insides, "PerimeterOld"), 375s struct ("PerimeterOld", {20; 4})) 375s ***** assert (regionprops (bw2d_insides, "Perimeter"), 375s struct ("Perimeter", {19.236; 3.556})) 375s ***** assert (regionprops (bwconncomp (bw2d_insides), "PerimeterOld"), 375s struct ("PerimeterOld", {20; 4})) 375s ***** assert (regionprops (bwconncomp (bw2d_insides), "Perimeter"), 375s struct ("Perimeter", {19.236; 3.556})) 375s ***** test 375s BW = false (5); 375s BW(2:4, 2:4) = true; # region with simple shape 375s 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]; 375s cimage_test = true(3); 375s carea_test = 9; 375s csolid_test = 1; 375s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 375s hull = props.ConvexHull; 375s # test only for existence of the correct corner points 375s # because Matlab returns more points (than necessary) 375s # (The correct shape of the ConvexHull results will only 375s # be tested indirectly via the tests of ConvexArea.) 375s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 375s assert (all (hull(1,:) == hull(end,:))) 375s cimage = props.ConvexImage; 375s assert (cimage, cimage_test); 375s carea = props.ConvexArea; 375s assert (carea, carea_test); 375s csolid = props.Solidity; 375s assert (csolid, csolid_test); 375s ***** test 375s BW = logical ([... # region with non-trivial shape 375s 0 0 0 0 0 0 0 0 0 0 0 0 0 0 375s 0 0 0 1 1 1 1 0 0 0 0 0 0 0 375s 0 0 1 1 1 1 1 0 0 0 0 0 0 0 375s 0 1 1 1 1 1 1 0 0 0 0 0 0 0 375s 0 0 1 1 1 1 1 1 1 1 1 0 0 0 375s 0 0 0 1 1 1 1 1 1 1 1 1 0 0 375s 0 0 0 0 1 1 1 1 1 1 1 1 1 0 375s 0 0 0 0 0 1 1 1 0 1 1 1 1 0 375s 0 0 0 0 0 0 1 0 0 0 1 1 1 0 375s 0 0 0 0 0 0 0 0 0 0 0 0 0 0]); 375s 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]; 375s cimage_test = logical ([... 375s 0 0 1 1 1 1 0 0 0 0 0 0 375s 0 1 1 1 1 1 1 1 0 0 0 0 375s 1 1 1 1 1 1 1 1 1 0 0 0 375s 0 1 1 1 1 1 1 1 1 1 0 0 375s 0 0 1 1 1 1 1 1 1 1 1 0 375s 0 0 0 1 1 1 1 1 1 1 1 1 375s 0 0 0 0 1 1 1 1 1 1 1 1 375s 0 0 0 0 0 1 1 1 1 1 1 1]); 375s carea_test = 62; 375s csolid_test = 0.8548; 375s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 375s hull = props.ConvexHull; 375s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 375s assert (all (hull(1,:) == hull(end,:))) 375s cimage = props.ConvexImage; 375s assert (cimage, cimage_test); 375s carea = props.ConvexArea; 375s assert (carea, carea_test); 375s csolid = props.Solidity; 375s assert (csolid, csolid_test, 1e-4); 375s ***** test 375s BW = false (7); 375s BW(2:6, 2:6) = true; 375s BW(4,4) = false; # region with hole 375s 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]; 375s cimage_test = true(5); 375s carea_test = 25; 375s csolid_test = 0.96; 375s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 375s hull = props.ConvexHull; 375s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 375s assert (all (hull(1,:) == hull(end,:))) 375s cimage = props.ConvexImage; 375s assert (cimage, cimage_test); 375s carea = props.ConvexArea; 375s assert (carea, carea_test); 375s csolid = props.Solidity; 375s assert (csolid, csolid_test, 1e-4); 376s ***** test 376s BW = false (5); 376s BW(3, 3) = true; # region with single pixel 376s hull_test = [3.5 3; 3 2.5; 2.5 3]; 376s cimage_test = true; 376s carea_test = 1; 376s csolid_test = 1; 376s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 376s hull = props.ConvexHull; 376s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 376s assert (all (hull(1,:) == hull(end,:))) 376s cimage = props.ConvexImage; 376s assert (cimage, cimage_test); 376s carea = props.ConvexArea; 376s assert (carea, carea_test); 376s csolid = props.Solidity; 376s assert (csolid, csolid_test); 376s ***** test 376s BW = false (5); 376s BW(3, 2:4) = true; # regions with pixel line 376s BW2 = BW'; 376s hull_test = [2 2.5; 1.5 3; 2 3.5; 4 3.5; 4.5 3; 4 2.5]; 376s hull_test2 = fliplr (hull_test); 376s cimage_test = true(1,3); 376s cimage_test2 = cimage_test'; 376s carea_test = 3; 376s csolid_test = 1; 376s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 376s hull = props.ConvexHull; 376s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 376s assert (all (hull(1,:) == hull(end,:))) 376s cimage = props.ConvexImage; 376s assert (cimage, cimage_test); 376s carea = props.ConvexArea; 376s assert (carea, carea_test); 376s csolid = props.Solidity; 376s assert (csolid, csolid_test); 376s props2 = regionprops (BW2, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 376s hull2 = props2.ConvexHull; 376s assert (sum (ismember (hull_test2, hull2, "rows")), rows (hull_test2)) 376s assert (all (hull2(1,:) == hull2(end,:))) 376s cimage2 = props2.ConvexImage; 376s assert (cimage2, cimage_test2); 376s carea2 = props2.ConvexArea; 376s assert (carea2, carea_test); 376s csolid2 = props2.Solidity; 376s assert (csolid2, csolid_test); 376s ***** test 376s BW = logical ([ ... 376s 1 0 1 0 376s 1 0 1 0 376s 1 0 1 0 376s 1 0 1 0]); # two seperate regions 376s hull_test_1 = [1.5 1; 1 0.5; 0.5 1; 0.5 4; 1 4.5; 1.5 4]; 376s hull_test_2 = [3.5 1; 3 0.5; 2.5 1; 2.5 4; 3 4.5; 3.5 4]; 376s cimage_test_1 = true(4,1); 376s cimage_test_2 = true(4,1); 376s carea_test1 = 4; 376s carea_test2 = 4; 376s csolid_test1 = 1; 376s csolid_test2 = 1; 376s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 376s hull1 = {props.ConvexHull}{1}; 376s assert (sum (ismember (hull_test_1, hull1, "rows")), rows (hull_test_1)) 376s assert (all (hull1(1,:) == hull1(end,:))) 376s hull2 = {props.ConvexHull}{2}; 376s assert (sum (ismember (hull_test_2, hull2, "rows")), rows (hull_test_2)) 376s assert (all (hull2(1,:) == hull2(end,:))) 376s cimage1 = {props.ConvexImage}{1}; 376s assert (cimage1, cimage_test_1); 376s cimage2 = {props.ConvexImage}{2}; 376s assert (cimage2, cimage_test_2); 376s carea1 = {props.ConvexArea}{1}; 376s assert (carea1, carea_test1); 376s carea2 = {props.ConvexArea}{2}; 376s assert (carea2, carea_test2); 376s csolid1 = {props.Solidity}{1}; 376s assert (csolid1, csolid_test1); 376s csolid2 = {props.Solidity}{2}; 376s assert (csolid2, csolid_test2); 376s ***** test 376s L = zeros (5); 376s L(1:2:5, :) = 1; # labelled region with 3 disconnected parts 376s 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]; 376s cimage_test = true(5); 376s carea_test = 25; 376s csolid_test = 0.6; 376s props = regionprops (L, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 376s hull = props.ConvexHull; 376s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 376s assert (all (hull(1,:) == hull(end,:))) 376s cimage = props.ConvexImage; 376s assert (cimage, cimage_test); 376s carea = props.ConvexArea; 376s assert (carea, carea_test); 376s csolid = props.Solidity; 376s assert (csolid, csolid_test); 376s ***** xtest 376s ## Matlab compatible, currently fails because of bug #50188 376s BW = false(4,16); 376s BW(2,2) = true; 376s BW(3,2:end-1) = true; # L-shaped region (small angle) 376s hull_test = [2 1.5; 1.5 2; 1.5 3; 2 3.5; 15 3.5; 15.5 3; 15 2.5]; 376s cimage_test = true (2,14); 376s cimage_test(1, 8:end) = false; # this is the Matlab result 376s carea_test = 21; 376s csolid_test = 0.7143; 376s props = regionprops (BW, {'ConvexHull', 'ConvexImage', 'ConvexArea', 'Solidity'}); 376s hull = props.ConvexHull; 376s assert (sum (ismember (hull_test, hull, "rows")), rows (hull_test)) 376s assert (all (hull(1,:) == hull(end,:))) 376s cimage = props.ConvexImage; 376s assert (cimage, cimage_test); 376s carea = props.ConvexArea; 376s assert (carea, carea_test); 376s csolid = props.Solidity; 376s assert (csolid, csolid_test, 1e-4); 376s !!!!! known failure 376s ASSERT errors for: assert (cimage,cimage_test) 376s 376s Location | Observed | Expected | Reason 376s (1,8) 1 0 Abs err 1 exceeds tol 0 by 1 376s ***** assert (regionprops ([1 0 1; 1 0 1], "Area"), struct ("Area", 4)) 376s ***** assert (regionprops ([1 0 2; 1 1 2], "Area"), struct ("Area", {3; 2})) 376s ***** assert (regionprops ([1 0 3; 1 1 3], "Area"), struct ("Area", {3; 0; 2})) 376s ***** assert (size (regionprops ([1 0 0; 0 0 2], "Area")), [2, 1]) 376s ***** error regionprops ([1 -2 0 3]) 376s ***** error regionprops ([1 1.5 0 3]) 376s ***** test 376s im = rand (5); 376s 376s ## First do this so we get a list of all supported properties and don't 376s ## have to update the list each time. 376s bw = false (5); 376s bw(13) = true; 376s props = regionprops (bw, im, "all"); 376s all_props = fieldnames (props); 376s 376s bw = false (5); 376s props = regionprops (bw, im, "all"); 376s assert (size (props), [0 1]) 376s assert (sort (all_props), sort (fieldnames (props))) 376s ***** test 376s im = rand (5); 376s 376s ## First do this so we get a list of all supported properties and don't 376s ## have to update the list each time. 376s labeled = zeros (5); 376s labeled(13) = 1; 376s props = regionprops (labeled, im, "all"); 376s all_props = fieldnames (props); 376s 376s labeled = zeros (5); 376s props = regionprops (labeled, im, "all"); 376s assert (size (props), [0 1]) 376s assert (sort (all_props), sort (fieldnames (props))) 376s ***** test 376s im = rand (5); 376s 376s ## First do this so we get a list of all supported properties and don't 376s ## have to update the list each time. 376s bw = false (5); 376s bw(13) = true; 376s props = regionprops (bwconncomp (bw), im, "all"); 376s all_props = fieldnames (props); 376s 376s bw = false (5); 376s props = regionprops (bwconncomp (bw), im, "all"); 376s assert (size (props), [0 1]) 376s assert (sort (all_props), sort (fieldnames (props))) 376s ***** test 376s bw = logical ([ 376s 0 1 1 1 1 376s 0 1 1 0 0 376s 0 0 0 0 0 376s 0 0 0 1 0 376s 0 1 1 1 0]); 376s props = regionprops (bw, "MajorAxisLength", "MinorAxisLength", 376s "Orientation"); 376s assert ([props.MajorAxisLength] ,[4.51354115 3.65148372], 1.e-8) 376s assert ([props.MinorAxisLength], [2.01801654 1.82574186], 1.e-8) 376s assert ([props.Orientation], [12.93317840 18.43494882], 1.e-8) 376s ***** warning 376s regionprops (rand (5, 5, 5) > 0.5, {"perimeter", "extrema"}); 376s ***** warning 376s regionprops (rand (5, 5) > 0.5, {"minintensity", "weightedcentroid"}); 376s ***** error 376s regionprops ([0 -1 3 4; 0 -1 3 4]) 376s ***** error 376s regionprops ([0 1.5 3 4; 0 1.5 3 4]) 376s ***** error 376s regionprops (int8 ([0 -1 3 4; 0 -1 3 4])) 376s ***** test # bug #52926 376s ## Perimeter of objects that would be connected with connectivity 8 376s ## but have been labeled with connectivity 4. 376s BW = logical ([1 1 1 0 0 0 0 0 376s 1 1 1 0 1 1 0 0 376s 1 1 1 0 1 1 0 0 376s 1 1 1 0 0 0 1 0 376s 1 1 1 0 0 0 1 0 376s 1 1 1 0 0 0 1 0 376s 1 1 1 0 0 1 1 0 376s 1 1 1 0 0 0 0 0]); 376s 376s L = bwlabel (BW, 4); 376s props = regionprops(L, "PerimeterOld"); 376s assert ([props.PerimeterOld], [18 4 6+sqrt(2)]) 376s props = regionprops(L, "Perimeter"); 376s assert ([props.Perimeter], [17.276 3.556 7.013]) 376s L = bwlabel (BW, 8); 376s props = regionprops(L, "PerimeterOld"); 376s assert ([props.PerimeterOld], [18 10+3*sqrt(2)]) 376s props = regionprops(L, "Perimeter"); 376s assert ([props.Perimeter], [17.276 13.108]) 376s ***** test 376s I = zeros(5); 376s I(3,3) = 1; 376s props = regionprops(I, "Perimeter"); 376s assert ([props.Perimeter], [0]) 376s I = zeros(5); 376s I(3,3:4) = 1; 376s props = regionprops (I, "Perimeter"); 376s assert ([props.Perimeter], [1.96]) 376s I = zeros(5); 376s I(3:4,3) = 1; 376s props = regionprops (I, "Perimeter"); 376s assert ([props.Perimeter], [1.96]) 376s I = zeros(5); 376s I(3,3) = 1; 376s I(4,4) = 1; 376s props = regionprops (I, "Perimeter"); 376s assert ([props.Perimeter], [2.812]) 376s I = zeros(5); 376s I(3,4) = 1; 376s I(4,3) = 1; 376s props = regionprops (I, "Perimeter"); 376s assert ([props.Perimeter], [2.812]) 376s I = zeros(5); 376s I(3:4,3:4) = 1; 376s props = regionprops (I, "Perimeter"); 376s assert ([props.Perimeter], [3.556]) 376s I = zeros(5); 376s I(3:4,3:4) = 1; 376s I(4,5) = 1; 376s props=regionprops (I, "Perimeter"); 376s assert ([props.Perimeter], [4.962]) 376s I = zeros(5); 376s I(3:4,3:4) = 1; 376s I(5,5) = 1; 376s props = regionprops (I, "Perimeter"); 376s assert ([props.Perimeter], [6.277], 4*eps) 376s I = zeros(5); 376s I(2,3) = 1; 376s I(3,2:4) = 1; 376s I(4,3) = 1; 376s props = regionprops (I, "Perimeter"); 376s assert ([props.Perimeter], [5.624]) 376s I = zeros(5); 376s I(2,3) = 1; 376s I(3,2:4) = 1; 376s I(4,3) = 1; 376s I(5,3) = 1; 376s props = regionprops (I, "Perimeter"); 376s assert ([props.Perimeter], [7.402], 4*eps) 376s I = zeros(5); 376s I(2,3) = 1; 376s I(3,2:4) = 1; 376s I(4,3) = 1; 376s I(5,4) = 1; 376s props = regionprops (I, "Perimeter"); 376s assert ([props.Perimeter], [8.436]) 376s I = zeros(5); 376s I(2,1:4) = 1; 376s I(3,4) = 1; 376s props = regionprops (I, "Perimeter"); 376s assert ([props.Perimeter], [7.013]) 376s ***** test # bug #61827 376s L = uint8 (checkerboard); 376s props = regionprops (L, "Centroid"); 376s assert ([props.Centroid], [40.5, 40.5], 1e-10) 376s 87 tests, 86 passed, 1 known failure, 0 skipped 376s [inst/isrgb.m] 376s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/isrgb.m 376s ***** assert (isrgb ("this is not a RGB image"), false); 376s ***** assert (isrgb (rand (5, 5)), false); 376s ***** assert (isrgb (rand (5, 5, 1, 5)), false); 376s ***** assert (isrgb (rand (5, 5, 3, 5)), true); 376s ***** assert (isrgb (rand (5, 5, 3)), true); 376s ***** assert (isrgb (ones (5, 5, 3)), true); 376s ***** assert (isrgb (ones (5, 5, 3) + eps), false); 376s ***** assert (isrgb (zeros (5, 5, 3) - eps), false); 376s ***** assert (isrgb (rand (5, 5, 3) > 0.5), false); 376s ***** assert (isrgb (randi ([-100 100], 5, 5, 3, "int16")), true) 376s 10 tests, 10 passed, 0 known failure, 0 skipped 376s [inst/@imref3d/imref3d.m] 376s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/@imref3d/imref3d.m 376s ***** error id=Octave:invalid-fun-call imref3d (1, 2, 3, 4, 5) 376s ***** error id=Octave:incorrect-size imref3d (42) 376s ***** error id=Octave:incorrect-size imref3d ([42]) 376s ***** error id=Octave:incorrect-size imref3d ([4, 2]) 376s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3, 3]) 376s ***** error id=Octave:expected-integer imref3d ([4.2, 42]) 376s ***** error id=Octave:expected-positive imref3d ([0, 0]) 376s ***** error id=Octave:expected-positive imref3d ([-4, 2]) 376s ***** error id=Octave:expected-positive imref3d ([4, 2, 3], 0, 1, 2) 376s ***** error id=Octave:expected-positive imref3d ([4, 2, 3], 1, 0, 2) 376s ***** error id=Octave:expected-positive imref3d ([4, 2, 3], 1, 2, 0) 376s ***** error id=Octave:expected-real imref3d ([4, 2, 3], j, 1, 2) 376s ***** error id=Octave:expected-real imref3d ([4, 2, 3], 1, j, 2) 376s ***** error id=Octave:expected-real imref3d ([4, 2, 3], 1, 2, j) 376s ***** error id=Octave:expected-real imref3d ([4, 2, 3], [j, 2], [3, 4], [5, 6]) 376s ***** error id=Octave:expected-real imref3d ([4, 2, 3], [1, 2], [j, 4], [5, 6]) 376s ***** error id=Octave:expected-real imref3d ([4, 2, 3], [1, 2], [3, 4], [5, j]) 376s ***** error id=Octave:expected-vector imref3d ([4, 2, 3], [], [], []) 376s ***** error id=Octave:expected-vector imref3d ([4, 2, 3], [], [1], [2]) 376s ***** error id=Octave:expected-scalar imref3d ([4, 2, 3], [1], [], []) 376s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3], [1, 2], [3, 4], [0]) 376s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3], [1, 2], [3, 4, 5], [6, 7]) 376s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3], [1, 2], [3, 4], [5, 6, 7]) 376s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3], [1; 2], [3, 4], [5, 6]) 376s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3], [1, 2], [3; 4], [5, 6]) 376s ***** error id=Octave:incorrect-size imref3d ([4, 2, 3], [1, 2], [3, 4], [5; 6]) 376s ***** error id=Octave:invalid-indexing imref3d().InvalidProperty 376s ***** error id=Octave:expected-increasing imref3d ([100, 200, 3], [1.5 0.5], [2.5, 3.5], [0.5, 1.5]) 376s ***** error id=Octave:expected-increasing imref3d ([100, 200, 3], [1.5 2.5], [2.5, 1.5], [0.5, 1.5]) 376s ***** error id=Octave:expected-increasing imref3d ([100, 200, 3], [1.5 2.5], [2.5, 3.5], [1.5, 0.5]) 376s ***** assert (imref3d ([4, 2, 3]).ImageSize, [4, 2, 3]) 376s ***** test 376s r = imref3d; 376s assert (r.XWorldLimits, [0.5, 2.5]) 376s assert (r.YWorldLimits, [0.5, 2.5]) 376s assert (r.ZWorldLimits, [0.5, 2.5]) 376s assert (r.ImageSize, [2, 2, 2]) 376s assert (r.PixelExtentInWorldX, 1) 376s assert (r.PixelExtentInWorldY, 1) 376s assert (r.PixelExtentInWorldZ, 1) 376s assert (r.ImageExtentInWorldX, 2) 376s assert (r.ImageExtentInWorldY, 2) 376s assert (r.ImageExtentInWorldZ, 2) 376s assert (r.XIntrinsicLimits, [0.5, 2.5]) 376s assert (r.YIntrinsicLimits, [0.5, 2.5]) 376s assert (r.ZIntrinsicLimits, [0.5, 2.5]) 376s ***** test 376s r = imref3d ([128, 128, 27]); 376s assert (r.XWorldLimits, [0.5, 128.5]) 376s assert (r.YWorldLimits, [0.5, 128.5]) 376s assert (r.ZWorldLimits, [0.5, 27.5]) 376s assert (r.ImageSize, [128, 128, 27]) 376s assert (r.PixelExtentInWorldX, 1) 376s assert (r.PixelExtentInWorldY, 1) 376s assert (r.PixelExtentInWorldZ, 1) 376s assert (r.ImageExtentInWorldX, 128) 376s assert (r.ImageExtentInWorldY, 128) 376s assert (r.ImageExtentInWorldZ, 27) 376s assert (r.XIntrinsicLimits, [0.5, 128.5]) 376s assert (r.YIntrinsicLimits, [0.5, 128.5]) 376s assert (r.ZIntrinsicLimits, [0.5, 27.5]) 376s ***** test 376s r = imref3d ([128, 128, 27], 2, 2, 4); 376s assert (r.XWorldLimits, [1, 257]) 376s assert (r.YWorldLimits, [1, 257]) 376s assert (r.ZWorldLimits, [2, 110]) 376s assert (r.ImageSize, [128, 128, 27]) 376s assert (r.PixelExtentInWorldX, 2) 376s assert (r.PixelExtentInWorldY, 2) 376s assert (r.PixelExtentInWorldZ, 4) 376s assert (r.ImageExtentInWorldX, 256) 376s assert (r.ImageExtentInWorldY, 256) 376s assert (r.ImageExtentInWorldZ, 108) 376s assert (r.XIntrinsicLimits, [0.5, 128.5]) 376s assert (r.YIntrinsicLimits, [0.5, 128.5]) 376s assert (r.ZIntrinsicLimits, [0.5, 27.5]) 376s ***** test 376s r = imref3d; 376s assert (r.XWorldLimits, [0.5, 2.5]) 376s assert (r.YWorldLimits, [0.5, 2.5]) 376s assert (r.ZWorldLimits, [0.5, 2.5]) 376s assert (r.ImageSize, [2, 2, 2]) 376s assert (r.PixelExtentInWorldX, 1) 376s assert (r.PixelExtentInWorldY, 1) 376s assert (r.PixelExtentInWorldZ, 1) 376s assert (r.ImageExtentInWorldX, 2) 376s assert (r.ImageExtentInWorldY, 2) 376s assert (r.ImageExtentInWorldZ, 2) 376s assert (r.XIntrinsicLimits, [0.5, 2.5]) 376s assert (r.YIntrinsicLimits, [0.5, 2.5]) 376s assert (r.ZIntrinsicLimits, [0.5, 2.5]) 376s r.ImageSize = [128, 128, 27]; 376s assert (r.XWorldLimits, [0.5, 2.5]) 376s assert (r.YWorldLimits, [0.5, 2.5]) 376s assert (r.ZWorldLimits, [0.5, 2.5]) 376s assert (r.ImageSize, [128, 128, 27]) 376s assert (r.PixelExtentInWorldX, 0.015625, 1e-6) 376s assert (r.PixelExtentInWorldY, 0.015625, 1e-6) 376s assert (r.PixelExtentInWorldZ, 0.074074, 1e-6) 376s assert (r.ImageExtentInWorldX, 2) 376s assert (r.ImageExtentInWorldY, 2) 376s assert (r.ImageExtentInWorldZ, 2) 376s assert (r.XIntrinsicLimits, [0.5, 128.5]) 376s assert (r.YIntrinsicLimits, [0.5, 128.5]) 376s assert (r.ZIntrinsicLimits, [0.5, 27.5]) 376s ***** test 376s r = imref3d; 376s assert (r.XWorldLimits, [0.5, 2.5]) 376s assert (r.YWorldLimits, [0.5, 2.5]) 376s assert (r.ZWorldLimits, [0.5, 2.5]) 376s assert (r.ImageSize, [2, 2, 2]) 376s assert (r.PixelExtentInWorldX, 1) 376s assert (r.PixelExtentInWorldY, 1) 376s assert (r.PixelExtentInWorldZ, 1) 376s assert (r.ImageExtentInWorldX, 2) 376s assert (r.ImageExtentInWorldY, 2) 376s assert (r.ImageExtentInWorldZ, 2) 376s assert (r.XIntrinsicLimits, [0.5, 2.5]) 376s assert (r.YIntrinsicLimits, [0.5, 2.5]) 376s assert (r.ZIntrinsicLimits, [0.5, 2.5]) 376s r.XWorldLimits = [-60, 13.33]; 376s r.YWorldLimits = [-900.8, -560.26]; 376s r.ZWorldLimits = [-302.48, 1500.333]; 376s assert (r.XWorldLimits, [-60, 13.33]) 376s assert (r.YWorldLimits, [-900.8, -560.26]) 376s assert (r.ZWorldLimits, [-302.48, 1500.333]) 376s assert (r.ImageSize, [2, 2, 2]) 376s assert (r.PixelExtentInWorldX, 36.6650) 376s assert (r.PixelExtentInWorldY, 170.27, 1e-5) 376s assert (r.PixelExtentInWorldZ, 901.4065) 376s assert (r.ImageExtentInWorldX, 73.33, 1e-5) 376s assert (r.ImageExtentInWorldY, 340.54, 1e-5) 376s assert (r.ImageExtentInWorldZ, 1802.813, 1e-5) 376s assert (r.XIntrinsicLimits, [0.5, 2.5]) 376s assert (r.YIntrinsicLimits, [0.5, 2.5]) 376s assert (r.ZIntrinsicLimits, [0.5, 2.5]) 376s ***** test 376s r = imref3d; 376s fail ("r.XWorldLimits = []", "") 376s fail ("r.XWorldLimits = [1]", "") 376s fail ("r.XWorldLimits = [j]", "") 376s fail ("r.XWorldLimits = [1; 2]", "") 376s fail ("r.YWorldLimits = []", "") 376s fail ("r.YWorldLimits = [1]", "") 376s fail ("r.YWorldLimits = [j]", "") 376s fail ("r.YWorldLimits = [1; 2]", "") 376s fail ("r.ZWorldLimits = []", "") 376s fail ("r.ZWorldLimits = [1]", "") 376s fail ("r.ZWorldLimits = [j]", "") 376s fail ("r.ZWorldLimits = [1; 2]", "") 376s 37 tests, 37 passed, 0 known failure, 0 skipped 376s [inst/@imref3d/contains.m] 376s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/@imref3d/contains.m 376s ***** error id=Octave:invalid-fun-call contains (imref3d) 377s ***** error id=Octave:invalid-fun-call contains (imref3d, 1) 377s ***** error id=Octave:invalid-fun-call contains (imref3d, 1, 2) 377s ***** error id=Octave:invalid-fun-call contains (imref3d, 1, 2, 3, 4) 377s ***** error id=Octave:invalid-input-arg contains (imref3d, [1, 2], 3, 4) 377s ***** error id=Octave:invalid-input-arg contains (imref3d, 1, [2, 3], 4) 377s ***** error id=Octave:invalid-input-arg contains (imref3d, 1, 2, [3, 4]) 377s ***** error id=Octave:expected-real contains (imref3d, 1j, 2, 3) 377s ***** error id=Octave:expected-real contains (imref3d, 1, 2j, 3) 377s ***** error id=Octave:expected-real contains (imref3d, 1, 2, 3j) 377s ***** test 377s r = imref3d ([128, 128, 27]); 377s assert (contains (r, [5, 6, 6, 8], [5, 10, 10, 257], [1, 27.5, 28, 1]), logical ([1, 1, 0, 0])) 377s 11 tests, 11 passed, 0 known failure, 0 skipped 377s [inst/@imref3d/intrinsicToWorld.m] 377s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/@imref3d/intrinsicToWorld.m 377s ***** error id=Octave:invalid-fun-call intrinsicToWorld (imref3d) 377s ***** error id=Octave:invalid-fun-call intrinsicToWorld (imref3d, 1) 378s ***** error id=Octave:invalid-fun-call intrinsicToWorld (imref3d, 1, 2) 378s ***** error id=Octave:invalid-fun-call intrinsicToWorld (imref3d, 1, 2, 3, 4) 378s ***** error id=Octave:expected-real intrinsicToWorld (imref3d, 1j, 2, 3) 378s ***** error id=Octave:expected-real intrinsicToWorld (imref3d, 1, 2j, 3) 378s ***** error id=Octave:expected-real intrinsicToWorld (imref3d, 1, j, 3j) 378s ***** error id=Octave:invalid-input-arg intrinsicToWorld (imref3d, [1, 2], 3, 4) 378s ***** error id=Octave:invalid-input-arg intrinsicToWorld (imref3d, 1, [2, 3], 4) 378s ***** error id=Octave:invalid-input-arg intrinsicToWorld (imref3d, 1, 2, [3, 4]) 378s ***** test 378s r = imref3d ([128, 128, 27], 2, 2, 4); 378s xI = [54, 71, 57, 70]; 378s yI = [46, 48, 79, 80]; 378s zI = [13, 13, 13, 13]; 378s [xW, yW, zW] = intrinsicToWorld (r, xI, yI, zI); 378s assert (xW, [108, 142, 114, 140]) 378s assert (yW, [92, 96, 158, 160]) 378s assert (zW, [52, 52, 52, 52]) 378s ***** test 378s [xW, yW, zW] = intrinsicToWorld (imref3d, -5.3, -2.8, -15.88); 378s assert (xW, -5.3) 378s assert (yW, -2.8) 378s assert (zW, -15.88, 1e-6) 378s ***** test 378s [xW, yW, zW] = intrinsicToWorld (imref3d, [1, 2; 3, 4], 378s [2, 3; 5, 9], 378s [-5, 8; 19, 42.8]); 378s assert (xW, [1, 2; 3, 4]) 378s assert (yW, [2, 3; 5, 9]) 378s assert (zW, [-5, 8; 19, 42.8]) 378s 13 tests, 13 passed, 0 known failure, 0 skipped 378s [inst/@imref3d/worldToIntrinsic.m] 378s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/@imref3d/worldToIntrinsic.m 378s ***** error id=Octave:invalid-fun-call worldToIntrinsic (imref3d) 378s ***** error id=Octave:invalid-fun-call worldToIntrinsic (imref3d, 1, 2) 378s ***** error id=Octave:invalid-fun-call worldToIntrinsic (imref3d, 1, 2, 3, 4) 378s ***** error id=Octave:expected-real worldToIntrinsic (imref3d, 1j, 2, 3) 378s ***** error id=Octave:expected-real worldToIntrinsic (imref3d, 1, 2j, 3) 378s ***** error id=Octave:expected-real worldToIntrinsic (imref3d, 1, 2, 3j) 378s ***** error id=Octave:invalid-input-arg worldToIntrinsic (imref3d, [1, 2], 3, 4) 378s ***** error id=Octave:invalid-input-arg worldToIntrinsic (imref3d, 1, [2, 3], 4) 378s ***** error id=Octave:invalid-input-arg worldToIntrinsic (imref3d, 1, 2, [3, 4]) 378s ***** test 378s r = imref3d ([128, 128, 27], 2, 2, 4); 378s xW = [108, 108, 108.2, 2]; 378s yW = [92, 92, 92, -1]; 378s zW = [52, 55, 52, 0.33]; 378s [xI, yI, zI] = worldToIntrinsic (r, xW, yW, zW); 378s assert (xI, [54, 54, 54.1, 1], 1e-6) 378s assert (yI, [46, 46, 46, -0.5], 1e-6) 378s assert (zI, [13, 13.75, 13, 0.0825], 1e-6) 378s 10 tests, 10 passed, 0 known failure, 0 skipped 378s [inst/@imref3d/worldToSubscript.m] 378s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/@imref3d/worldToSubscript.m 378s ***** error id=Octave:invalid-fun-call worldToSubscript (imref3d) 378s ***** error id=Octave:invalid-fun-call worldToSubscript (imref3d, 1) 379s ***** error id=Octave:invalid-fun-call worldToSubscript (imref3d, 1, 2) 379s ***** error id=Octave:invalid-fun-call worldToSubscript (imref3d, 1, 2, 3, 4) 379s ***** error id=Octave:expected-real worldToSubscript (imref3d, 1j, 2, 3) 379s ***** error id=Octave:expected-real worldToSubscript (imref3d, 1, 2j, 3) 379s ***** error id=Octave:expected-real worldToSubscript (imref3d, 1, 2, 3j) 379s ***** error id=Octave:invalid-input-arg worldToSubscript (imref3d, [1, 2], 3, 4) 379s ***** error id=Octave:invalid-input-arg worldToSubscript (imref3d, 1, [2, 3], 4) 379s ***** error id=Octave:invalid-input-arg worldToSubscript (imref3d, 1, 2, [3, 4]) 379s ***** test 379s r = imref3d ([128, 128, 27], 2, 2, 4); 379s xW = [108, 108, 113.2, 2]; 379s yW = [92, 92, 92, -1]; 379s zW = [52, 55, 52, 0.33]; 379s [rS, cS, pS] = worldToSubscript (r, xW, yW, zW); 379s assert (rS, [46, 46, 46, NaN]) 379s assert (cS, [54, 54, 57, NaN]) 379s assert (pS, [13, 14, 13, NaN]) 379s 11 tests, 11 passed, 0 known failure, 0 skipped 379s [inst/lab2uint16.m] 379s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/lab2uint16.m 379s ***** test 379s cm_uint16 = uint16 ([0 127 128 383 384 65151 65152 65279 65280 65281 65534 65535]); 379s cm_uint16 = repmat (cm_uint16(:), [1 3]); 379s im2d_uint16 = reshape (cm_uint16, [4 3 3]); 379s imnd_uint16 = permute (im2d_uint16, [1 4 3 2]); 379s 379s cm_uint8 = uint8 ([0 0 1 1 2 254 255 255 255 255 255 255]); 379s cm_uint8 = repmat (cm_uint8(:), [1 3]); 379s assert (lab2uint8 (cm_uint16), cm_uint8) 379s im2d_uint8 = reshape (cm_uint8, [4 3 3]); 379s assert (lab2uint8 (im2d_uint16), im2d_uint8) 379s assert (lab2uint8 (imnd_uint16), permute (im2d_uint8, [1 4 3 2])) 379s 379s l1 = 100/65280; 379s ab1 = 255/65280; 379s cm = [ 379s 0 -128 379s 127*l1 -128+(ab1*127) 379s 128*l1 -128+(ab1*128) 379s 383*l1 -128+(ab1*383) 379s 384*l1 -128+(ab1*384) 379s 65151*l1 -128+(ab1*65151) 379s 65152*l1 -128+(ab1*65152) 379s 65279*l1 -128+(ab1*65279) 379s 100 127 379s 65281*l1 -128+(ab1*65281) 379s 65534*l1 -128+(ab1*65534) 379s 65535*l1 -128+(ab1*65535)]; 379s cm(:,3) = cm(:,2); 379s im2d = reshape (cm, [4 3 3]); 379s imnd = permute (im2d, [1 4 3 2]); 379s 379s assert (lab2double (cm_uint16), cm) 379s assert (lab2double (im2d_uint16), im2d) 379s assert (lab2double (imnd_uint16), imnd) 379s 379s assert (lab2single (cm_uint16), single (cm)) 379s assert (lab2single (im2d_uint16), single (im2d)) 379s assert (lab2single (imnd_uint16), single (imnd)) 379s 1 test, 1 passed, 0 known failure, 0 skipped 379s [inst/im2int16.m] 379s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/im2int16.m 379s ***** assert (im2int16 (int16 ([-2 2 3])), int16 ([-2 2 3])); 379s ***** assert (im2int16 (uint16 ([0 65535])), int16 ([-32768 32767])); 379s ***** assert (im2int16 ([false true]), int16 ([-32768 32767])); 379s ***** assert (im2int16 ([true false]), int16 ([32767 -32768])); 379s ***** assert (im2int16 (uint8 ([0 127 128 255])), int16 ([-32768 -129 128 32767])); 379s ***** assert (im2int16 ([0 1.4/65535 1.5/65535 2/65535 1]), int16 ([-32768 -32767 -32766 -32766 32767])); 379s ***** assert (im2int16 ([0 0.5 1]), int16 ([-32768 0 32767])); 379s ***** assert (im2int16 ([-1 0 1 2]), int16 ([-32768 -32768 32767 32767])); 379s ***** error im2int16 ([1 2], "indexed"); 379s 9 tests, 9 passed, 0 known failure, 0 skipped 379s [inst/imhist.m] 379s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imhist.m 379s ***** shared nn, bb, enn, ebb 379s [nn, bb] = imhist(logical([0 1 0 0 1])); 379s ***** assert({nn, bb}, {[3 2]', [0 1]'}) 379s [nn, bb] = imhist([0 0.2 0.4 0.9 1], 5); 379s ***** assert({nn, bb}, {[1 1 1 0 2]', [0 0.25 0.5 0.75 1]'}) 379s [nn, bb] = imhist([-2 0 0.2 0.4 0.9 1 5], 5); 379s ***** assert({nn, bb}, {[2 1 1 0 3]', [0 0.25 0.5 0.75 1]'}) 379s [nn, bb] = imhist(uint8([0 32 255]), 256); 379s enn = zeros(256, 1); enn([1, 33, 256]) = 1; 379s ebb = 0:255; 379s ***** assert({nn, bb}, {enn, ebb'}) 379s [nn, bb] = imhist(int8([-50 0 100]), 31); 379s enn = zeros(31, 1); enn([10, 16, 28]) = 1; 379s ebb = -128:8.5:127; 379s ***** assert({nn, bb}, {enn, ebb'}) 379s 5 tests, 5 passed, 0 known failure, 0 skipped 379s [inst/imfilter.m] 379s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imfilter.m 379s ***** test 379s img = [ 379s 8 2 6 7 4 3 7 8 4 1 379s 9 9 1 1 4 7 3 3 8 1 379s 2 9 8 3 7 6 5 8 6 5 379s 9 5 9 1 8 2 7 3 5 8 379s 6 8 7 1 2 2 9 9 9 9 379s 1 2 7 8 5 5 9 4 3 2 379s 3 4 7 7 5 9 5 2 7 6 379s 5 9 4 3 6 4 2 3 7 5 379s 9 8 6 9 7 6 2 6 4 1 379s 9 9 2 1 7 3 3 5 6 4]; 379s 379s expected_corr = [ 379s 46 53 30 34 44 42 40 51 42 19 379s 48 66 57 42 46 50 59 58 49 34 379s 48 67 55 54 44 58 50 50 64 39 379s 44 77 52 43 28 55 57 75 70 50 379s 29 51 65 51 42 50 60 62 55 42 379s 23 44 58 59 63 59 55 57 50 36 379s 36 50 52 56 56 47 48 45 47 39 379s 51 64 70 62 56 50 40 38 41 31 379s 58 72 50 49 58 45 41 42 49 28 379s 27 37 27 21 19 26 16 23 24 17]; 379s assert (imfilter (img, [0 1 0; 2 1 1; 1 2 2]), expected_corr) 379s 379s ## test order of options (and matching with defaults) 379s assert (imfilter (img, [0 1 0; 2 1 1; 1 2 2], 0), expected_corr) 379s assert (imfilter (img, [0 1 0; 2 1 1; 1 2 2], "corr"), expected_corr) 379s assert (imfilter (img, [0 1 0; 2 1 1; 1 2 2], "corr", 0), expected_corr) 379s assert (imfilter (img, [0 1 0; 2 1 1; 1 2 2], 0, "corr"), expected_corr) 379s 379s expected_conv = [ 379s 21 31 23 22 21 28 29 26 22 6 379s 47 55 43 43 51 44 49 64 44 24 379s 56 69 53 34 47 50 57 48 52 37 379s 38 70 60 56 41 57 54 61 66 44 379s 46 67 53 48 32 54 59 65 63 46 379s 28 56 63 50 36 54 58 66 63 47 379s 20 43 55 62 67 57 52 53 44 28 379s 42 51 54 61 57 53 44 46 48 39 379s 53 70 63 50 57 42 38 38 43 33 379s 53 62 50 54 52 44 38 40 40 20]; 379s assert (imfilter (img, [0 1 0; 2 1 1; 1 2 2], "conv"), expected_conv) 379s 379s ## alternative class 379s assert (imfilter (single (img), [0 1 0; 2 1 1; 1 2 2]), 379s single (expected_corr)) 379s assert (imfilter (int8 (img), [0 1 0; 2 1 1; 1 2 2]), 379s int8 (expected_corr)) 379s assert (imfilter (uint8 (img), [0 1 0; 2 1 1; 1 2 2]), 379s uint8 (expected_corr)) 379s 379s assert (imfilter (single (img), [0 1 0; 2 1 1; 1 2 2], "conv"), 379s single (expected_conv)) 379s assert (imfilter (int8 (img), [0 1 0; 2 1 1; 1 2 2], "conv"), 379s int8 (expected_conv)) 379s assert (imfilter (uint8 (img), [0 1 0; 2 1 1; 1 2 2], "conv"), 379s uint8 (expected_conv)) 379s 379s ***** test 379s I = zeros (6); 379s I(2:3,2:3) = 1; 379s F = zeros (4); 379s F(2,2:3) = 1; 379s result = [0 0 0 0 0 0 379s 1 2 1 0 0 0 379s 1 2 1 0 0 0 379s 0 0 0 0 0 0 379s 0 0 0 0 0 0 379s 0 0 0 0 0 0]; 379s assert (imfilter (I, F), result) 379s 2 tests, 2 passed, 0 known failure, 0 skipped 379s [inst/applylut.m] 379s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/applylut.m 379s ***** demo 379s lut = makelut (@(x) sum (x (:)) >= 3, 3); 379s S = applylut (eye (5), lut); 379s disp (S) 379s ## Everything should be 0 despite a diagonal which doesn't reach borders. 379s ***** assert (prod (applylut (eye (3), makelut (@(x) x(1) == 1, 2)) == eye (3)), [1 1 1]); 379s ***** assert (prod (applylut (eye (3), makelut (@(x) x(2,2) == 1, 3)) == eye (3)), [1 1 1]); 379s ***** assert (prod (applylut (eye (3), makelut (@(x) x(3,3) == 1, 3)) == 379s applylut (eye (3), makelut (@(x) x(2,2) == 1, 2))), 379s [1 1 1]); 379s 3 tests, 3 passed, 0 known failure, 0 skipped 379s [inst/xyz2rgb.m] 379s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/xyz2rgb.m 379s ***** assert (xyz2rgb ([0, 0, 0]), [0 0 0], 1e-3) 379s ***** assert (xyz2rgb ([0.4125, 0.2127, 0.0193]), [1 0 0], 1e-3) 379s ***** assert (xyz2rgb ([0.7700, 0.9278, 0.1385]), [1 1 0], 1e-3) 379s ***** assert (xyz2rgb ([0.3576, 0.7152, 0.1192]), [0 1 0], 1e-3) 379s ***** assert (xyz2rgb ([0.5380, 0.7873, 1.0694]), [0 1 1], 1e-3) 379s ***** assert (xyz2rgb ([0.1804, 0.07217, 0.9502]), [0 0 1], 1e-3) 379s ***** assert (xyz2rgb ([0.5929, 0.28484, 0.9696]), [1 0 1], 1e-3) 379s ***** assert (xyz2rgb ([0.9505, 1.0000, 1.0888]), [1 1 1], 1e-3) 379s ***** assert (xyz2rgb ([0.2034, 0.2140, 0.2330]), [0.5 0.5 0.5], 1e-3) 379s ***** assert (xyz2rgb ([0.2155, 0.1111, 0.0101]), [0.75 0 0], 1e-3) 379s ***** assert (xyz2rgb ([0.0883, 0.0455, 0.0041]), [0.5 0 0], 1e-3) 379s ***** assert (xyz2rgb ([0.0210, 0.0108, 0.0010]), [0.25 0 0], 1e-3) 379s ***** assert (xyz2rgb ([0.5276, 0.3812, 0.2482]), [1 0.5 0.5], 1e-3) 379s ***** assert (xyz2rgb ([1.5 1 1]), [1.5712, 0.7109 0.9717], 1e-3) 379s ***** test 379s xyz_map = rand (64, 3); 379s assert (rgb2xyz (xyz2rgb (xyz_map)), xyz_map, 3e-4); 379s ***** test 379s xyz_img = rand (64, 64, 3); 379s assert (rgb2xyz (xyz2rgb (xyz_img)), xyz_img, 3e-4); 379s ***** assert (xyz2rgb (sparse ([0 0 0])), [0 0 0], 1e-3) 379s ***** assert (class (xyz2rgb (single([0.5 0.5 0.5]))), 'single') 379s ***** error xyz2rgb () 379s ***** error xyz2rgb (1,2) 379s ***** error xyz2rgb ({1}) 379s ***** error xyz2rgb (ones (2,2)) 379s ***** test 379s xyz = rand (16, 16, 3, 5); 379s rgb = zeros (size (xyz)); 379s for i = 1:5 379s rgb(:,:,:,i) = xyz2rgb (xyz(:,:,:,i)); 379s endfor 379s assert (xyz2rgb (xyz), rgb) 379s 23 tests, 23 passed, 0 known failure, 0 skipped 379s [inst/imapplymatrix.m] 379s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imapplymatrix.m 379s ***** error id=Octave:invalid-fun-call imapplymatrix () 379s ***** error id=Octave:invalid-fun-call imapplymatrix (42) 380s ***** error id=Octave:invalid-input-arg imapplymatrix (ones (2, 2, 2), 42) 380s ***** error id=Octave:invalid-input-arg imapplymatrix ([], ones (2, 2)) 380s ***** error id=Octave:invalid-input-arg imapplymatrix (ones (0, 2), ones (2, 2)) 380s ***** error id=Octave:invalid-input-arg imapplymatrix (ones (2, 0), ones (2, 2)) 380s ***** error id=Octave:invalid-input-arg imapplymatrix (4, 2, [2, 2]) 380s ***** error id=Octave:invalid-input-arg imapplymatrix (4, 2, [2, 2], "uint8") 380s ***** error id=Octave:invalid-input-arg imapplymatrix (4, 2, 0, 666) 380s ***** assert (imapplymatrix ([], []), []) 380s ***** assert (imapplymatrix ([], [], "uint16"), uint16 ([])) 380s ***** assert (imapplymatrix (1, 10, []), 10) 380s ***** assert (imapplymatrix (1, 10, ones (0, 5)), 10) 380s ***** assert (imapplymatrix (1, 10, ones (5, 0)), 10) 380s ***** assert (imapplymatrix (ones (0), ones (0), 3), []) 380s ***** assert (imapplymatrix (ones (0), ones (4, 0), 3), zeros (4, 0)) 380s ***** assert (imapplymatrix (ones (0), ones (0, 4), 3), zeros (0, 4)) 380s ***** assert (imapplymatrix (ones (2, 0), ones (0, 4), 3), zeros (0, 4)) 380s ***** assert (imapplymatrix (ones (0, 2), ones (0, 4), 3), zeros (0, 4)) 380s ***** assert (imapplymatrix (ones (0, 2), ones (0, 4, 0), 3), zeros (0, 4, 0)) 380s ***** assert (imapplymatrix("a", ones(2, 2)), nan (2, 2)) 380s ***** assert (imapplymatrix("abc", ones(2, 2)), nan (2, 2)) 380s ***** assert (imapplymatrix (1, 10), 10) 380s ***** assert (imapplymatrix (1, 10, 3), 13) 380s ***** assert (imapplymatrix (ones (1), uint8 (10), 3), uint8 (13)) 380s ***** assert (imapplymatrix (uint8 (ones (1)), 10, 3), double (13)) 380s ***** assert (imapplymatrix (uint8 (ones (1)), uint8 (10), 3), uint8 (13)) 380s ***** assert (imapplymatrix (2.6 * ones (1), uint8 (10), 4.7), uint8 (31)) 380s ***** assert (imapplymatrix (42, ones (1, 2)), 42 * ones (1, 2)) 380s ***** assert (imapplymatrix (42, ones (2, 1)), 42 * ones (2, 1)) 380s ***** assert (imapplymatrix (42, ones (2, 2)), 42 * ones (2, 2)) 380s ***** assert (imapplymatrix (42, ones (2, 2), 0.5), 42.5 * ones (2, 2)) 380s ***** assert (imapplymatrix ([4, 2], ones (2, 2, 2), 0.5), 6.5 * ones (2, 2)) 380s ***** assert (imapplymatrix ([4, 2; 380s 4, 2], ones (2, 2, 2), [0.5, 0.5]), 6.5 * ones (2, 2, 2)) 380s ***** assert (imapplymatrix ([4, 2; 380s 4, 2], ones (2, 2, 2), [0.5; 0.5]), 6.5 * ones (2, 2, 2)) 380s ***** assert (imapplymatrix ([1, 2, 3], ones (2, 2, 3)), 6 * ones (2, 2, 1)) 380s ***** assert (imapplymatrix ([1, 2, 3], ones (2, 2, 3), 1), 7 * ones (2, 2, 1)) 380s ***** test 380s expected = zeros (2, 2, 2, "uint8"); 380s expected(:, :, 1) = 7 * ones (2, 2); 380s expected(:, :, 2) = 16 * ones (2, 2); 380s I = uint8 (ones (2, 2, 3)); 380s assert (imapplymatrix ([1, 2, 3 380s 4, 5, 6], I, [1, 1]), expected) 380s ***** test 380s expected = zeros (2, 2, 2, 2, "uint16"); 380s expected(:, :, 1, 1) = 7 * ones (2, 2); 380s expected(:, :, 2, 1) = 16 * ones (2, 2); 380s expected(:, :, 1, 2) = 13 * ones (2, 2); 380s expected(:, :, 2, 2) = 31 * ones (2, 2); 380s I(:, :, :, 1) = uint16 (ones (2, 2, 3)); 380s I(:, :, :, 2) = 2 * uint16 (ones (2, 2, 3)); 380s assert (imapplymatrix ([1, 2, 3; 380s 4, 5, 6], I, [1, 1]), expected) 380s 39 tests, 39 passed, 0 known failure, 0 skipped 380s [inst/mean2.m] 380s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/mean2.m 380s ***** test 380s ## This throws a division by zero warning which Matlab does not, but 380s ## that's because Matlab does not throw such warnings in the first 380s ## place. Octave does, so we do not turn the warning off. 380s warning ("off", "Octave:divide-by-zero", "local"); 380s assert (mean2 ([]), NaN) 380s ***** assert (mean2 (logical ([1 1; 0 0])), 0.5) 380s ***** assert (mean2 (ones (3, 3, 3)), 1) 380s ***** assert (mean2 (i), i) 380s ***** assert (mean2 ([1 i]), [0.5+0.5i]) 380s ***** assert (mean2 (speye (3)), sparse (1/3)) 380s 6 tests, 6 passed, 0 known failure, 0 skipped 380s [inst/im2bw.m] 380s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/im2bw.m 380s ***** assert(im2bw ([0 0.4 0.5 0.6 1], 0.5), logical([0 0 0 1 1])); # basic usage 380s ***** assert(im2bw (uint8 ([0 100 255]), 0.5), logical([0 0 1])); # with a uint8 input 380s ***** warning bw = im2bw (logical ([0 1 0])); 380s ***** warning bw = im2bw (logical ([0 1 0]), 1); 380s ***** test 380s warning ("off", "all", "local"); 380s assert (im2bw (logical ([0 1 0])), logical ([0 1 0])) 380s assert (im2bw (logical ([0 1 0]), 0), logical ([0 1 0])) 380s assert (im2bw (logical ([0 1 0]), 1), logical ([0 1 0])) 380s ***** assert (nnz (im2bw (uint8 ([0:255]), 0.9)), 26) 380s ***** test 380s img = uint8 ([0:255]); 380s s = 0; 380s for i=0:.1:1 380s s += nnz (im2bw (img, i)); 380s endfor 380s assert (s, 1405) 380s ***** assert (nnz (im2bw (int16 ([-128:127]), 0.499)), 194) 380s ***** assert (nnz (im2bw (int16 ([-128:127]), 0.500)), 128) 380s ***** assert (nnz (im2bw (int16 ([-128:127]), 0.501)), 62) 380s ***** test 380s img = uint16 ([0:intmax("uint16")]); 380s s = 0; 380s for i=0:.1:1 380s s += nnz (im2bw (img, i)); 380s endfor 380s assert (s, 360445) 380s ***** test 380s img = int16 ([intmin("int16"):intmax("int16")]); 380s s = 0; 380s for i=0:.1:1 380s s += nnz (im2bw (img, i)); 380s endfor 380s assert (s, 360445) 380s ***** test 380s im = [((randn(10)/10)+.3) ((randn(10)/10)+.7)]; 380s assert (im2bw (im, "Otsu"), im2bw (im, graythresh (im, "Otsu"))) 380s assert (im2bw (im, "moments"), im2bw (im, graythresh (im, "moments"))) 380s ***** test 380s im = [((randn(10)/10)+.3) ((randn(10)/10)+.7)]; 380s im = reshape (im, [10 10 1 2]); 380s assert (im2bw (im, "Otsu"), im2bw (im, graythresh (im, "Otsu"))) 380s assert (im2bw (im, "moments"), im2bw (im, graythresh (im, "moments"))) 380s 14 tests, 14 passed, 0 known failure, 0 skipped 380s [inst/@strel/strel.m] 380s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/@strel/strel.m 380s ***** test 380s shape = logical ([0 0 0 1]); 380s assert (getnhood (strel (shape)), shape); 380s assert (getnhood (strel ("arbitrary", shape)), shape); 380s 380s height = [0 0 0 3]; 380s assert (getnhood (strel ("arbitrary", shape, height)), shape); 380s assert (getheight (strel ("arbitrary", shape, height)), height); 380s ***** test 380s shape = logical ([0 0 1]); 380s height = [-2 1 3]; ## this works for matlab compatibility 380s assert (getnhood (strel ("arbitrary", shape, height)), shape); 380s assert (getheight (strel ("arbitrary", shape, height)), height); 380s ***** test 380s shape = logical ([0 0 0 1 0 0 0 380s 0 1 1 1 1 1 0 380s 0 1 1 1 1 1 0 380s 1 1 1 1 1 1 1 380s 0 1 1 1 1 1 0 380s 0 1 1 1 1 1 0 380s 0 0 0 1 0 0 0]); 380s height = [ 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 380s 0.00000 0.33333 0.66667 0.74536 0.66667 0.33333 0.00000 380s 0.00000 0.66667 0.88192 0.94281 0.88192 0.66667 0.00000 380s 0.00000 0.74536 0.94281 1.00000 0.94281 0.74536 0.00000 380s 0.00000 0.66667 0.88192 0.94281 0.88192 0.66667 0.00000 380s 0.00000 0.33333 0.66667 0.74536 0.66667 0.33333 0.00000 380s 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000]; 380s assert (getnhood (strel ("ball", 3, 1)), shape); 380s assert (getheight (strel ("ball", 3, 1)), height, 0.0001); 380s ***** test 380s shape = logical ([0 0 0 1 0 0 0 380s 0 0 1 1 1 0 0 380s 0 1 1 1 1 1 0 380s 1 1 1 1 1 1 1 380s 0 1 1 1 1 1 0 380s 0 0 1 1 1 0 0 380s 0 0 0 1 0 0 0]); 380s assert (getnhood (strel ("diamond", 3)), shape); 380s ***** test 380s shape = logical ([0 0 0 1 0 0 0 380s 0 1 1 1 1 1 0 380s 0 1 1 1 1 1 0 380s 1 1 1 1 1 1 1 380s 0 1 1 1 1 1 0 380s 0 1 1 1 1 1 0 380s 0 0 0 1 0 0 0]); 380s assert (getnhood (strel ("disk", 3, 0)), shape); 380s ***** test 380s shape = logical ([1 1 1]); 380s assert (getnhood (strel ("line", 3.9, 20.17)), shape); 380s shape = logical ([0 0 1 380s 0 1 0 380s 1 0 0]); 380s assert (getnhood (strel ("line", 3.9, 20.18)), shape); 380s shape = logical ([1 0 0 0 0 0 0 0 0 380s 0 1 0 0 0 0 0 0 0 380s 0 0 1 0 0 0 0 0 0 380s 0 0 1 0 0 0 0 0 0 380s 0 0 0 1 0 0 0 0 0 380s 0 0 0 0 1 0 0 0 0 380s 0 0 0 0 0 1 0 0 0 380s 0 0 0 0 0 0 1 0 0 380s 0 0 0 0 0 0 1 0 0 380s 0 0 0 0 0 0 0 1 0 380s 0 0 0 0 0 0 0 0 1]); 380s assert (getnhood (strel ("line", 14, 130)), shape); 380s ***** test 380s se = strel ("octagon", 0); 380s seq = getsequence (se); 380s assert (getnhood (se), true (1)); 380s assert (getnhood (seq(1)), true (1)); 380s 380s se = strel ("octagon", 3); 380s seq = getsequence (se); 380s shape = logical ([0 0 1 1 1 0 0 380s 0 1 1 1 1 1 0 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 0 1 1 1 1 1 0 380s 0 0 1 1 1 0 0]); 380s assert (getnhood (se), shape); 380s assert (size (seq), [4 1]); 380s 380s templ1 = logical ([0 0 0; 1 1 1; 0 0 0]); 380s templ2 = logical ([0 1 0; 0 1 0; 0 1 0]); 380s templ3 = logical ([1 0 0; 0 1 0; 0 0 1]); 380s templ4 = logical ([0 0 1; 0 1 0; 1 0 0]); 380s assert ({getnhood(seq(1)) getnhood(seq(2)) getnhood(seq(3)) getnhood(seq(4))}, 380s {templ1 templ2 templ3 templ4}); 380s 380s seq = getsequence (strel ("octagon", 21)); 380s assert (size (seq), [28 1]); 380s assert (arrayfun (@(x) getnhood (seq(x)), 1:4:25, "UniformOutput", false), 380s repmat ({templ1}, 1, 7)); 380s assert (arrayfun (@(x) getnhood (seq(x)), 2:4:26, "UniformOutput", false), 380s repmat ({templ2}, 1, 7)); 380s assert (arrayfun (@(x) getnhood (seq(x)), 3:4:27, "UniformOutput", false), 380s repmat ({templ3}, 1, 7)); 380s assert (arrayfun (@(x) getnhood (seq(x)), 4:4:28, "UniformOutput", false), 380s repmat ({templ4}, 1, 7)); 380s ***** test 380s shape = logical ([1 1 0]'); 380s assert (getnhood (strel ("pair", [-1 0])), shape); 380s shape = logical ([1 0 0 0 0 0 0 380s 0 0 0 1 0 0 0 380s 0 0 0 0 0 0 0]); 380s assert (getnhood (strel ("pair", [-1 -3])), shape); 380s shape = logical ([0 0 0 0 0 0 0 380s 0 0 0 0 0 0 0 380s 0 0 0 1 0 0 0 380s 0 0 0 0 0 0 0 380s 0 0 0 0 0 0 1]); 380s assert (getnhood (strel ("pair", [2 3])), shape); 380s ***** test 380s assert (getnhood (strel ("rectangle", [10 5])), true (10, 5)); 380s assert (getnhood (strel ("square", 5)), true (5)); 380s ***** shared se, seq 380s se = strel ("square", 5); 380s seq = getsequence (se); 380s assert (class (se(1)), "strel") 380s assert (class (se(1,1)),"strel") 380s assert (class (seq), "strel") 380s assert (class (seq(1)), "strel") 380s assert (class (seq(2)), "strel") 380s assert (numel (se), 1) 380s assert (numel (seq), 2) 380s assert (getnhood (seq(1)), true (5, 1)) 380s assert (getnhood (seq(2)), true (1, 5)) 380s assert (size (se), [1 1]) 380s assert (size (seq), [2 1]) 380s assert (isscalar (se), true) 380s assert (isscalar (seq), false) 380s ***** error se(2); 380s ***** error seq(3); 380s ***** test 380s se = strel ("arbitrary", [1 0 0; 1 1 0; 0 1 0], [2 0 0; 3 1 0; 0 3 0]); 380s ref = reflect (se); 380s assert (getnhood (ref), logical([0 1 0; 0 1 1; 0 0 1])); 380s assert (getheight (ref), [0 3 0; 0 1 3; 0 0 2]); 380s ***** error strel() 380s ***** error strel("nonmethodthing", 2) 380s ***** error strel("arbitrary", "stuff") 380s ***** error strel("arbitrary", [0 0 1], [2 0 1; 4 5 1]) 380s ***** error strel("arbitrary", [0 0 1], "stuff") 380s ***** error strel("ball", -3, 1) 380s ***** error strel("diamond", -3) 380s ***** error strel("disk", -3) 380s ***** error strel("line", 0, 45) 380s ***** error strel("octagon", 3.5) 380s ***** error strel("octagon", 4) 380s ***** error strel("octagon", -1) 380s ***** error strel("pair", [45 67 90]) 380s ***** error strel("rectangle", 2) 380s ***** error strel("rectangle", [2 -5]) 380s ***** error strel("square", [34 1-2]) 380s 28 tests, 28 passed, 0 known failure, 0 skipped 380s [inst/imgradient.m] 380s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imgradient.m 380s ***** test 380s A = [0 1 0 380s 1 1 1 380s 0 1 0]; 380s 380s [gMag, gDir] = imgradient (A); 380s assert (gMag,[sqrt(18) 4 sqrt(18); 4 0 4; sqrt(18),4,sqrt(18)]); 380s assert (gDir,[-45 -90 -135; -0 -0 -180; 45 90 135]); 380s 380s ## the following just test if passing gx and gy separately gets 380s ## us the same as the image and method though imgradient 380s [gxSobel, gySobel] = imgradientxy (A, "Sobel"); 380s [gxPrewitt, gyPrewitt] = imgradientxy (A, "Prewitt"); 380s [gxCd, gyCd] = imgradientxy (A, "CentralDifference"); 380s [gxId, gyId] = imgradientxy (A, "IntermediateDifference"); 380s 380s assert (imgradient (A), 380s imgradient (gxSobel, gySobel)); 380s assert (imgradient (A, "Sobel"), 380s imgradient (gxSobel, gySobel)); 380s assert (imgradient (A, "Prewitt"), 380s imgradient(gxPrewitt, gyPrewitt)); 380s assert (imgradient (A, "CentralDifference"), 380s imgradient (gxCd, gyCd)); 380s assert (imgradient (A, "IntermediateDifference"), 380s imgradient (gxId, gyId)); 380s 1 test, 1 passed, 0 known failure, 0 skipped 380s [inst/wiener2.m] 380s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/wiener2.m 380s ***** shared im0, im0_out, im0_n 380s im0 = ones (5, 5); 380s im0_out = ones (5, 5); 380s im0_out(1:4:5, 1:4:5) = 0.67111; 380s im0_out(1:4:5, 2:4) = 0.78074; 380s im0_out(2:4, 1:4:5) = 0.78074; 380s im0_n = 0.1462; 380s ***** error wiener2 () 380s ***** assert (wiener2 (im0)) 380s ***** assert (wiener2 (im0, [2, 3])) 380s ***** assert (wiener2 (im0, 0.5)) 380s ***** assert (wiener2 (im0, [2, 3], 0.5)) 380s ***** error wiener2 (im0, [2, 3], 0.5, 2) 380s ***** test 380s [im_out, noise_out] = wiener2 (im0); 380s assert (size (im_out), size (im0)) 380s assert (class (noise_out), "double") 380s assert (numel (noise_out), 1) 380s ***** assert (wiener2 (im0), im0_out, 1e-5) 380s ***** assert (wiener2 (single (im0)), single (im0_out), 1e-5) 380s ***** assert (class (wiener2 (single (im0))), "single") 380s ***** assert (wiener2 (im2uint8 (im0)), im2uint8 (im0_out)) 380s ***** assert (class (wiener2 (im2uint8 (im0))), "uint8") 380s ***** assert (wiener2 (im2uint16 (im0)), im2uint16 (im0_out), 1) 380s ***** assert (class (wiener2 (im2uint16 (im0))), "uint16") 380s ***** assert (wiener2 (im2int16 (im0)), im2int16 (im0_out), 1) 380s ***** assert (class (wiener2 (im2int16 (im0))), "int16") 380s ***** test 380s im_out = wiener2 (im0); 380s assert (im_out, im0_out, 1e-4) 380s [out, n] = wiener2 (im0); 380s assert (out, im0_out, 1e-4) 380s assert (n, im0_n, 1e-4) 380s ***** test 380s im1 = zeros (5, 5); 380s im1(2:4, 2:4) = 1; 380s im1_out = [ 380s 0.1111 0.2222 0.2726 0.2222 0.1111; 380s 0.2222 0.5911 0.7274 0.5911 0.2222; 380s 0.2726 0.7274 1.0000 0.7274 0.2726; 380s 0.2222 0.5911 0.7274 0.5911 0.2222; 380s 0.1111 0.2222 0.2726 0.2222 0.1111]; 380s im1_n = 0.1817; 380s im1_out_55 = [ 380s 0.1600 0.2400 0.2400 0.2400 0.1600; 380s 0.2400 0.4667 0.4667 0.4667 0.2400; 380s 0.2400 0.4667 0.4667 0.4667 0.2400; 380s 0.2400 0.4667 0.4667 0.4667 0.2400; 380s 0.1600 0.2400 0.2400 0.2400 0.1600]; 380s im1_n_55 = 0.1920; 380s im1_out_05 = [ 380s 0.1111 0.2222 0.3333 0.2222 0.1111; 380s 0.2222 0.4444 0.6667 0.4444 0.2222; 380s 0.3333 0.6667 1.0000 0.6667 0.3333; 380s 0.2222 0.4444 0.6667 0.4444 0.2222; 380s 0.1111 0.2222 0.3333 0.2222 0.1111]; 380s im1_out_55_05 = [ 380s 0.1600 0.2400 0.2400 0.2400 0.1600; 380s 0.2400 0.3600 0.3600 0.3600 0.2400; 380s 0.2400 0.3600 0.3600 0.3600 0.2400; 380s 0.2400 0.3600 0.3600 0.3600 0.2400; 380s 0.1600 0.2400 0.2400 0.2400 0.1600]; 380s im1_out_35 = [ 380s 0.1333 0.2000 0.2000 0.2000 0.1333; 380s 0.2642 0.5156 0.5156 0.5156 0.2642; 380s 0.3230 0.6770 0.6770 0.6770 0.3230; 380s 0.2642 0.5156 0.5156 0.5156 0.2642; 380s 0.1333 0.2000 0.2000 0.2000 0.1333]; 380s im1_out_51 = [ 380s 0 0.2400 0.2400 0.2400 0 380s 0 0.7600 0.7600 0.7600 0 380s 0 0.7600 0.7600 0.7600 0 380s 0 0.7600 0.7600 0.7600 0 380s 0 0.2400 0.2400 0.2400 0]; 380s assert (wiener2 (im1), im1_out, 1e-4) 380s [out, n] = wiener2 (im1); 380s assert (out, im1_out, 1e-4) 380s assert (n, im1_n, 1e-4) 380s assert (wiener2 (im1, [5, 5]), im1_out_55, 1e-4) 380s [out, n] = wiener2 (im1, [5, 5]); 380s assert (out, im1_out_55, 1e-4) 380s assert (n, im1_n_55, 1e-4) 380s assert (wiener2 (im1, 0.5), im1_out_05, 1e-4) 380s assert (wiener2 (im1, [5, 5], 0.5), im1_out_55_05, 1e-4) 380s assert (wiener2 (im1, [3, 5]), im1_out_35, 1e-4) 380s assert (wiener2 (im1, [5, 1]), im1_out_51, 1e-4) 381s ***** test 381s ## Tests for even-sized neighbourhood 381s im1 = zeros (5, 5); 381s im1(2:4, 2:4) = 1; 381s 381s im1_out_23 = [ 381s 0.1667 0.2233 0.2978 0.2233 0.1667 381s 0.2233 0.7767 1.0000 0.7767 0.2233 381s 0.2233 0.7767 1.0000 0.7767 0.2233 381s 0.1667 0.5533 0.7022 0.5533 0.1667 381s 0 0 0 0 0]; 381s 381s im1_out_43 = [ 381s 0.1667 0.2813 0.3750 0.2813 0.1667 381s 0.2500 0.6250 0.7500 0.6250 0.2500 381s 0.2500 0.6250 0.7500 0.6250 0.2500 381s 0.1667 0.4375 0.6250 0.4375 0.1667 381s 0.0833 0.1667 0.2500 0.1667 0.0833]; 381s 381s im1_out_44 = [ 381s 0.2500 0.3018 0.3018 0.2500 0.1250 381s 0.3018 0.6647 0.6647 0.4971 0.1875 381s 0.3018 0.6647 0.6647 0.4971 0.1875 381s 0.2500 0.4971 0.4971 0.2500 0.1250 381s 0.1250 0.1875 0.1875 0.1250 0.0625]; 381s 381s assert (wiener2 (im1, [2, 3]), im1_out_23, 1e-4) 381s assert (wiener2 (im1, [4, 3]), im1_out_43, 1e-4) 381s assert (wiener2 (im1, [4, 4]), im1_out_44, 1e-4) 381s ***** test 381s im2 = zeros (5, 5); 381s im2(2:4, 2:4) = 70; 381s im2(3, 3) = 90; 381s im2 = uint8 (im2); 381s im2_out = uint8 ([ 381s 8 16 20 16 8 ; 381s 16 46 54 46 16; 381s 20 54 72 54 20; 381s 16 46 54 46 16; 381s 8 16 20 16 8 ]); 381s im2_n = 0.0146; 381s im2_out_55 = uint8 ([ 381s 12 18 18 18 12; 381s 18 32 32 32 18; 381s 18 32 35 32 18; 381s 18 32 32 32 18; 381s 12 18 18 18 12]); 381s im2_n_55 = 0.0160; 381s im2_out_03 = uint8 ([ 381s 8 16 23 16 8 ; 381s 16 33 49 33 16; 381s 23 49 72 49 23; 381s 16 33 49 33 16; 381s 8 16 23 16 8 ]); 381s im2_n_03 = 0.3000; 381s [out, n] = wiener2 (im2); 381s assert (out, im2_out) 381s assert (n, im2_n, 1e-4) 381s [out, n] = wiener2 (im2, [5, 5]); 381s assert (out, im2_out_55) 381s assert (n, im2_n_55, 1e-4) 381s [out, n] = wiener2 (im2, 0.3); 381s assert (out, im2_out_03) 381s assert (n, im2_n_03, 1e-4) 381s ***** test 381s im3 = zeros (5, 5); 381s im3(2:4, 2:4) = 70; 381s im3(3, 3) = 20; 381s im3 = uint8 (im3); 381s im3_out = uint8 ([ 381s 8 16 19 16 8 ; 381s 16 32 47 32 16; 381s 19 47 64 47 19; 381s 16 32 47 32 16; 381s 8 16 19 16 8 ]); 381s im3_n = 0.0134; 381s [out, n] = wiener2 (im3); 381s assert (out, im3_out) 381s assert (n, im3_n, 1e-4) 381s ***** test 381s im4 = 50 .* ones (5, 5); 381s im4(:, 1) = 200; 381s im4(:, 2) = 100; 381s im4 = uint8 (im4); 381s im4_out = uint8 ([ 381s 148 90 44 33 22; 381s 161 111 67 50 33; 381s 161 111 67 50 33; 381s 161 111 67 50 33; 381s 148 90 44 33 22]); 381s im4_n = 0.0398; 381s [out, n] = wiener2 (im4); 381s assert (out, im4_out) 381s assert (n, im4_n, 1e-4) 381s ***** test 381s im5 = zeros (100, 100); 381s im5(30, 30) = 1; 381s im5_out_center = [ 381s 0 0 0 0 0 0 0; 381s 0 0 0 0 0 0 0; 381s 0 0 0.0001 0.0001 0.0001 0 0; 381s 0 0 0.0001 0.9992 0.0001 0 0; 381s 0 0 0.0001 0.0001 0.0001 0 0; 381s 0 0 0 0 0 0 0; 381s 0 0 0 0 0 0 0]; 381s im5_n = 8.8889e-5; 381s [out, n] = wiener2 (im5); 381s out_center = out(27:33, 27:33); 381s assert (out_center, im5_out_center, 1e-4) 381s assert (n, im5_n, 1e-4) 381s ***** test 381s im = zeros (100, 10, 10); 381s im(5, 5, 5) = 1; 381s 381s [out, n] = wiener2 (im, [3 3]); 381s expected_out = im; 381s expected_out(4:6,4:6,5) = [ 381s 0.0001 0.0001 0.0001 381s 0.0001 0.9992 0.0001 381s 0.0001 0.0001 0.0001]; 381s assert (out, expected_out, eps) 381s 381s [out, n] = wiener2 (im, [3 3 3]); 381s expected_out = im; 381s expected_out(4:6,4:6,4:6) = 0.0001; 381s expected_out(5,5,5) = 0.9974; 381s assert (out, expected_out, eps) 381s 381s ## Default in ND, use nhood 3 even for singleton dimensions. 381s assert (wiener2 (im), wiener2 (im, [3 3 3])) 381s 381s im = reshape (im, [100 10 1 10]); 381s expected_out = im; 381s expected_out(4:6,4:6,1,4:6) = 0.0001/3; 381s expected_out(5,5,1,5) = 1-(80*(0.0001/3)); 381s assert (wiener2 (im), wiener2 (im, [3 3 3 3])) 381s assert (wiener2 (im), expected_out, eps) 381s 381s expected_out = im; 381s expected_out(4:6,4:6,1,4:6) = 0.0001; 381s expected_out(5,5,1,5) = 0.9974; 381s assert (wiener2 (im, [3 3 1 3]), expected_out, eps) 381s ***** test 381s expected = [0.2222 0.3926 0.3926 0.3926 0.2222]; 381s assert (wiener2 (ones (1, 5)), expected, .0001) 381s ***** assert (wiener2 ([]), []) 381s ***** assert (wiener2 (logical ([0 0; 1 1])), true (2, 2)) 381s ***** demo 381s I = phantom (); 381s J = imnoise (I, "gaussian", 0, 0.02); 381s figure, imshow (J); 381s title ("Image with added Gaussian noise"); 381s K = wiener2 (J, [5 5]); 381s figure, imshow (K); 381s title ("Image with noise reduced by wiener2 filtering"); 381s 27 tests, 27 passed, 0 known failure, 0 skipped 381s [inst/imopen.m] 381s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imopen.m 381s ***** shared in, out 381s in = [ 0 0 0 1 1 1 0 0 1 1 381s 0 1 0 1 1 1 0 0 0 1 381s 1 1 1 1 1 0 0 0 0 0 381s 0 1 1 1 1 0 0 0 0 0 381s 0 0 0 1 0 0 0 0 1 0 381s 0 0 0 0 0 0 0 1 1 1 381s 0 0 0 0 1 0 1 0 1 0 381s 0 0 0 1 1 1 1 1 0 0 381s 0 0 0 0 1 1 1 0 0 0 381s 0 0 0 1 1 1 0 0 0 0]; 381s 381s out = [ 0 0 0 1 1 1 0 0 0 0 381s 0 0 0 1 1 1 0 0 0 0 381s 0 0 0 0 0 0 0 0 0 0 381s 0 0 0 0 0 0 0 0 0 0 381s 0 0 0 0 0 0 0 0 0 0 381s 0 0 0 0 0 0 0 0 0 0 381s 0 0 0 0 0 0 0 0 0 0 381s 0 0 0 0 0 0 0 0 0 0 381s 0 0 0 0 0 0 0 0 0 0 381s 0 0 0 0 0 0 0 0 0 0]; 381s ***** assert (imopen (logical (in), ones (3)), logical (out)); 381s 381s out = [80 80 1 8 15 51 51 51 51 40 381s 80 80 7 8 15 54 55 55 55 40 381s 4 7 7 8 15 54 55 55 55 40 381s 17 17 17 7 3 54 55 55 55 28 381s 17 17 17 2 9 54 54 54 52 33 381s 17 17 17 29 29 29 29 26 33 33 381s 5 5 13 29 29 29 30 32 39 39 381s 6 6 13 29 29 29 30 32 39 39 381s 10 12 77 77 77 35 35 35 39 39 381s 10 12 77 77 77 35 35 35 27 27]; 381s ***** assert (imopen (magic (10), ones (3)), out); 381s ***** assert (imopen (uint8 (magic (10)), strel ("square", 3)), uint8 (out)); 381s 381s ## using a se that will be decomposed in 2 pieces 381s out =[ 1 1 1 8 15 40 40 40 40 40 381s 4 4 4 8 15 40 40 40 40 40 381s 4 4 4 8 15 40 40 40 40 40 381s 5 5 5 3 3 28 28 28 28 28 381s 5 5 5 2 9 28 28 28 28 28 381s 5 5 13 26 26 26 26 26 26 26 381s 5 5 13 29 29 29 29 29 27 27 381s 6 6 13 29 29 29 29 29 27 27 381s 6 6 13 29 29 29 29 29 27 27 381s 6 6 13 29 29 29 29 29 27 27]; 381s ***** assert (imopen (magic (10), ones(5)), out); 381s 381s ## using a weird non-symmetric and even-size se 381s out =[ 7 7 1 8 15 55 51 51 41 40 381s 7 7 7 8 16 55 55 55 51 41 381s 4 9 7 7 16 54 55 54 55 47 381s 25 25 9 9 3 52 54 52 54 28 381s 25 24 25 2 9 33 52 34 52 34 381s 17 24 29 31 29 30 33 26 33 34 381s 17 5 29 31 31 31 30 32 39 33 381s 10 6 13 35 35 29 31 32 45 39 381s 10 12 77 36 36 35 35 31 45 45 381s 11 12 77 77 77 36 36 35 27 45]; 381s ***** assert (imopen (magic (10), [1 0 0 0; 1 1 1 0; 0 1 0 1]), out); 381s 5 tests, 5 passed, 0 known failure, 0 skipped 381s [inst/colorangle.m] 381s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/colorangle.m 381s ***** error id=Octave:invalid-fun-call colorangle () 381s ***** error id=Octave:invalid-fun-call colorangle (1, 2, 3) 381s ***** error colorangle (2, 3) 381s ***** error colorangle ([1, 2], [3, 4]) 381s ***** error id=Octave:expected-real colorangle ([1, 2, 3j], [4, 5, 6]) 381s ***** error id=Octave:expected-real colorangle ([1, 2, 3], [4j, 5, 6]) 381s ***** error id=Octave:invalid-type colorangle ("abc", "def") 381s ***** test 381s assert (colorangle ([0 0 0], [0 1 0]), NaN) 381s assert (colorangle ([0 0 0], [0 1 1]), NaN) 381s assert (colorangle ([0 1 0], [0 0 0]), NaN) 381s assert (colorangle ([1 1 0], [0 0 0]), NaN) 381s assert (colorangle ([1 1 1], [1 1 1]), 0) 381s ***** assert (colorangle ([0 0 0], [0 0 0]), 0) 381s ***** assert (colorangle ([1 0 0], [-1 0 0]), 180) 381s ***** assert (colorangle ([0 0 1], [1 0 0]), 90) 381s ***** assert (colorangle ([0; 0; 1], [1 0 0]), 90) 381s ***** assert (colorangle ([0, 0, 1], [1; 0; 0]), 90) 381s ***** assert (colorangle ([0.5 0.61237 -0.61237], [0.86603 0.35355 -0.35355]), 30.000270917, 1e-4) 381s ***** assert (colorangle ([0.1582055390, 0.2722362096, 0.1620813305], [0.0717 0.1472 0.0975]), 5.09209927, 1e-6) 381s ***** assert (colorangle ([0.0659838500, 0.1261619536, 0.0690643667], [0.0717 0.1472 0.0975]), 5.10358588, 1e-6) 381s ***** assert (colorangle ([0.436871170, 0.7794672250, 0.4489702582], [0.0717 0.1472 0.0975]), 5.01339769, 1e-6) 381s ***** test 381s a = [1 0 0]; 381s b = [1 1 0]; 381s expected = colorangle (a, b); 381s assert (colorangle (a.', b.'), expected) 381s assert (colorangle (a, b.'), expected) 381s assert (colorangle (a.', b), expected) 381s assert (colorangle (vec (a, 3), b.'), expected) 381s ***** assert (colorangle ([1 0 0; 0 1 1], [1 1 1; 2 3 4]), 381s [colorangle([1 0 0], [1 1 1]); colorangle([0 1 1], [2 3 4])]) 381s ***** test 381s a = [1 0 0; 0.5 1 0; 0 1 1; 1 1 1]; 381s b = [0 1 0]; 381s expected = zeros (4, 1); 381s for i = 1:4 381s expected(i) = colorangle (a(i,:), b); 381s endfor 381s assert (colorangle (a, b), expected) 381s assert (colorangle (b, a), expected) 381s ***** xtest 381s a = [1 2 3]; 381s b = [2 3 4]; 381s c = [5 6 7]; 381s d = [3 1 1]; 381s 381s ac = colorangle (c, a); 381s bc = colorangle (b, c); 381s ad = colorangle (a, d); 381s bd = colorangle (b, d); 381s 381s assert (colorangle (a, cat (3, c, d)), 381s cat (3, [ac ad])) 381s 381s assert (colorangle (cat (3, a, b), cat (3, c, d)), 381s cat (3, [ac cd])) 381s 381s assert (colorangle (cat (1, a, b), cat (3, c, d)), 381s reshape ([ac bc ad bd], [2 2])) 381s !!!!! known failure 381s dot: sizes of X and Y must match 381s 21 tests, 20 passed, 1 known failure, 0 skipped 381s [inst/imregionalmin.m] 381s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imregionalmin.m 381s ***** test 381s a = [ 381s 7 3 9 3 10 3 381s 4 2 3 10 1 3 381s 1 4 6 9 4 10 381s 8 7 9 3 4 8 381s 5 9 3 3 8 9 381s 3 6 9 4 1 10]; 381s 381s a4 = logical ([ 381s 0 0 0 1 0 0 381s 0 1 0 0 1 0 381s 1 0 0 0 0 0 381s 0 0 0 1 0 0 381s 0 0 1 1 0 0 381s 1 0 0 0 1 0]); 381s assert (imregionalmin (a, 4), a4) 381s assert (imregionalmin (uint8 (a), 4), a4) 381s assert (imregionalmin (int8 (a), 4), a4) 381s 381s a8 = logical ([ 381s 0 0 0 0 0 0 381s 0 0 0 0 1 0 381s 1 0 0 0 0 0 381s 0 0 0 0 0 0 381s 0 0 0 0 0 0 381s 1 0 0 0 1 0]); 381s assert (imregionalmin (a), a8) 381s assert (imregionalmin (a, 8), a8) 381s assert (imregionalmin (uint8 (a), 8), a8) 381s assert (imregionalmin (int8 (a), 8), a8) 381s ***** test 381s a = [ 381s 4 8 5 -1 8 7 381s -1 4 0 7 1 1 381s 6 1 2 6 7 0 381s 6 1 5 -2 5 9 381s 1 4 -1 0 0 2 381s 4 6 1 0 7 1]; 381s 381s a4 = logical ([ 381s 0 0 0 1 0 0 381s 1 0 1 0 0 0 381s 0 1 0 0 0 1 381s 0 1 0 1 0 0 381s 1 0 1 0 0 0 381s 0 0 0 0 0 1]); 381s assert (imregionalmin (a, 4), a4) 381s assert (imregionalmin (int8 (a), 4), a4) 381s 381s a8 = logical ([ 381s 0 0 0 1 0 0 381s 1 0 0 0 0 0 381s 0 0 0 0 0 1 381s 0 0 0 1 0 0 381s 0 0 0 0 0 0 381s 0 0 0 0 0 0]); 381s assert (imregionalmin (a), a8) 381s assert (imregionalmin (a, 8), a8) 381s assert (imregionalmin (int8 (a), 8), a8) 381s ***** test 381s ## test float input images 381s im0 = peaks (); 381s im1 = im0 ./ 100; 381s max_pos_expected = [1; 49; 664; 1286; 1302; 2401]; 381s max0 = imregionalmin (im0); 381s max0_pos = find (max0); 381s max1 = imregionalmin (im1); 381s assert (max1, max0) 381s assert (max0_pos, max_pos_expected) 381s 3 tests, 3 passed, 0 known failure, 0 skipped 381s [inst/bwhitmiss.m] 381s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/bwhitmiss.m 381s ***** test 381s bw1 = repmat ([0 1 0 1 1], [3 1]); 381s bw2 = repmat ([0 1 0 0 0], [3 1]); 381s assert (bwhitmiss (bw1, [1; 0; 1], [1 0 1]), logical (bw2)) 381s assert (bwhitmiss (bw1, [0 1 0; -1 0 -1; 0 1 0]), logical (bw2)) 381s 1 test, 1 passed, 0 known failure, 0 skipped 381s [inst/isbw.m] 381s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/isbw.m 381s ***** shared img 381s img = round (rand (10)); 381s ***** assert (isbw (img, "non-logical"), true); 381s ***** assert (isbw (img, "logical"), false); 381s ***** assert (isbw (logical (img), "logical"), true); 381s ***** assert (isbw (logical (img), "non-logical"), true); 381s ***** test 381s img(1, 1) = 2; 381s assert (isbw (img, "non-logical"), false); 381s ***** test 381s a( 1, 1) = 1; 381s a(50, 50) = 2; 381s assert (isbw (a, "non-logical"), false); 381s ***** assert (isbw (rand (5, 5, 1, 4) > 0.5), true) 381s ***** assert (isbw (rand (5, 5, 3, 4) > 0.5), false) 381s ***** assert (isbw (rand (5, 5, 3) > 0.5), false) 381s ***** assert (isbw (rand (5, 5, 1, 3, 4) > 0.5), false) 381s ***** assert (isbw (randi ([0 1], 5, 5, 1, 4), "non-logical"), true) 381s ***** assert (isbw (randi ([0 1], 5, 5, 3, 4), "non-logical"), false) 381s ***** assert (isbw (randi ([0 1], 5, 5, 3), "non-logical"), false) 381s ***** assert (isbw (randi ([0 1], 5, 5, 1, 3, 4), "non-logical"), false) 381s ***** assert (isbw (single ([0 0 1]), "non-logical"), true) 381s ***** assert (isbw ([0 NaN 1], "non-logical"), false) 381s 16 tests, 16 passed, 0 known failure, 0 skipped 381s [inst/imbothat.m] 381s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imbothat.m 381s ***** assert (imbothat (ones (3), [1 1; 0 1]), zeros (3)); 381s ***** assert (imbothat (true (3), [1 1; 0 1]), false (3)); 381s ***** shared in, out, se 381s in = [ 0 0 0 1 1 1 0 0 1 1 381s 0 1 0 1 1 1 0 0 0 1 381s 1 1 1 1 1 0 0 0 0 0 381s 0 1 1 1 1 0 0 0 0 0 381s 0 0 0 1 0 0 0 0 1 0 381s 0 0 0 0 0 0 0 1 1 1 381s 0 0 0 0 1 0 1 0 1 0 381s 0 0 0 1 1 1 1 1 0 0 381s 0 0 0 0 1 1 1 0 0 0 381s 0 0 0 1 1 1 0 0 0 0]; 381s 381s out = [ 1 1 1 0 0 0 1 1 0 0 381s 1 0 1 0 0 0 0 0 0 0 381s 0 0 0 0 0 0 0 0 0 1 381s 1 0 0 0 0 0 0 0 0 1 381s 0 0 0 0 1 0 0 0 0 1 381s 0 0 0 1 1 1 1 0 0 0 381s 0 0 0 1 0 1 0 1 0 1 381s 0 0 0 0 0 0 0 0 0 0 381s 0 0 0 1 0 0 0 0 0 0 381s 0 0 0 0 0 0 1 0 0 0]; 381s ***** assert (imbothat (logical (in), ones (3)), logical (out)); 381s 381s out = [ 7 0 15 8 1 6 0 13 6 24 381s 0 8 9 2 0 0 16 7 0 23 381s 89 7 0 41 39 7 12 7 0 23 381s 8 1 69 40 58 1 6 2 0 43 381s 7 0 63 59 52 0 0 0 14 32 381s 62 55 6 7 0 7 0 23 16 1 381s 56 74 0 2 0 0 16 14 7 0 381s 0 73 69 0 0 19 15 8 1 0 381s 8 6 0 0 6 13 9 2 0 6 381s 7 0 0 19 0 14 7 0 23 0]; 381s ***** assert (imbothat (magic (10), ones (3)), out); 381s ***** assert (imbothat (uint8 (magic (10)), strel ("square", 3)), uint8 (out)); 381s 381s ## using a se that will be decomposed in 2 pieces 381s out =[ 7 0 87 66 59 7 0 19 12 30 381s 0 13 81 60 58 1 19 13 6 29 381s 89 12 0 54 52 20 18 7 0 23 381s 8 6 69 53 71 14 12 2 0 43 381s 7 0 63 73 66 14 7 0 23 41 381s 76 69 14 7 0 30 23 46 39 7 381s 70 88 9 2 0 24 42 40 33 6 381s 14 87 80 0 0 43 41 34 27 0 381s 84 82 0 0 19 37 35 28 26 19 381s 89 82 0 20 13 36 29 22 45 13]; 381s ***** assert (imbothat (magic (10), ones(5)), out); 381s 381s ## using a weird non-symmetric and even-size se 381s out =[ 0 0 15 8 1 3 0 7 0 18 381s 0 8 53 59 0 0 14 13 0 17 381s 84 0 0 40 38 6 13 6 0 23 381s 2 0 42 47 58 0 6 0 0 41 381s 0 0 62 59 52 0 0 0 16 35 381s 6 58 13 6 0 3 19 19 35 1 381s 0 18 0 0 0 0 15 13 6 0 381s 0 17 69 0 0 17 17 8 0 0 381s 8 67 0 0 0 15 9 2 0 6 381s 7 0 0 17 10 42 7 0 19 0]; 381s ***** assert (imbothat (magic (10), [1 0 0 0; 1 1 1 0; 0 1 0 1]), out); 381s 381s ## N dimensional and weird se 381s in = reshape (magic(16), [4 8 4 2]); 381s se = ones (3, 3, 3); 381s se(:,:,1) = [1 0 1; 0 1 1; 0 0 0]; 381s se(:,:,3) = [1 0 1; 0 1 1; 0 0 1]; 381s out = zeros (size (in)); 381s out(:,:,1,1) = [ 381s 0 17 81 145 237 146 64 0 381s 205 128 64 0 0 37 83 147 381s 175 111 47 0 0 64 117 181 381s 0 64 128 209 173 109 45 0]; 381s out(:,:,2,1) = [ 381s 235 142 78 18 0 23 69 133 381s 0 35 103 163 215 128 46 0 381s 0 64 128 195 183 123 48 0 381s 153 93 43 0 14 78 146 215]; 381s out(:,:,3,1) = [ 381s 0 25 89 153 229 142 64 0 381s 201 128 64 0 0 41 91 155 381s 167 103 57 0 0 64 125 189 381s 0 64 146 217 165 101 37 0]; 381s out(:,:,4,1) = [ 381s 227 142 78 14 0 31 77 141 381s 0 43 107 171 211 128 46 0 381s 0 64 128 203 179 115 48 0 381s 149 99 35 0 18 82 146 223]; 381s out(:,:,1,2) = [ 381s 0 33 97 161 221 146 64 0 381s 189 125 61 0 0 53 99 163 381s 159 95 31 0 0 64 128 197 381s 0 64 128 225 157 93 29 0]; 381s out(:,:,2,2) = [ 381s 219 142 78 18 0 39 85 149 381s 0 51 119 179 199 128 46 0 381s 0 64 128 211 167 107 43 0 381s 137 77 27 0 14 78 146 231]; 381s out(:,:,3,2) = [ 381s 0 41 105 169 213 142 64 0 381s 185 121 64 0 0 57 107 171 381s 151 87 41 0 0 64 128 205 381s 0 64 146 233 149 85 21 0]; 381s out(:,:,4,2) = [ 381s 211 142 78 14 0 47 93 157 381s 0 59 123 187 195 128 46 0 381s 0 64 128 219 163 99 35 0 381s 133 83 19 0 18 82 146 239]; 381s ***** assert (imbothat (in, se), out); 381s 8 tests, 8 passed, 0 known failure, 0 skipped 381s [inst/impyramid.m] 381s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/impyramid.m 381s ***** xtest 381s ## bug #51979 (results are not matlab compatible) 381s in = [116 227 153 69 146 194 59 130 139 106 381s 2 47 137 249 90 75 16 24 158 44 381s 155 68 46 84 166 156 69 204 32 152 381s 71 221 137 230 210 153 192 115 30 118 381s 107 143 108 52 51 73 101 21 175 90 381s 54 158 143 77 26 168 113 229 165 225 381s 9 47 133 135 130 207 236 43 19 73]; 381s 381s reduced = [ 381s 114 139 131 103 111 381s 97 122 141 111 100 381s 103 123 112 123 122 381s 47 107 134 153 94]; 381s 381s expanded = [ 381s 115 154 185 178 150 122 105 116 138 159 158 117 78 86 112 129 133 120 103 381s 69 98 128 141 146 152 152 139 125 127 121 87 55 58 81 113 131 112 84 381s 40 54 74 100 131 167 184 157 119 104 92 64 41 44 66 100 121 103 74 381s 76 69 65 75 97 130 153 148 131 122 108 80 61 79 103 105 98 97 98 381s 120 105 88 77 78 96 121 143 155 154 140 112 98 124 143 109 74 91 123 381s 117 129 134 119 107 125 153 173 180 172 156 143 138 146 140 96 60 83 122 381s 99 139 170 157 139 156 181 188 180 164 151 154 156 140 112 81 65 84 110 381s 101 136 163 153 133 132 138 136 130 122 120 130 133 108 82 86 99 104 104 381s 103 126 143 136 116 97 81 73 73 82 94 105 105 87 78 108 138 133 116 381s 90 116 139 139 122 96 69 52 53 80 109 114 111 116 128 148 163 164 160 381s 66 99 131 140 131 109 83 62 62 102 142 144 138 154 169 164 157 169 184 381s 41 68 99 121 130 122 107 92 95 133 173 182 172 156 135 114 105 121 142 381s 21 38 64 98 124 131 127 123 129 160 194 212 199 144 82 52 48 65 85]; 381s 381s assert (impyramid (uint8 (in), "reduce"), uint8 (reduced)) 381s assert (impyramid (uint8 (in), "expand"), uint8 (expanded)) 381s !!!!! known failure 381s ASSERT errors for: assert (impyramid (uint8 (in), "reduce"),uint8 (reduced)) 381s 381s Location | Observed | Expected | Reason 381s (2,4) 110 111 Abs err 0 exceeds tol 0 by 0 381s (2,5) 99 100 Abs err 0 exceeds tol 0 by 0 381s (3,5) 121 122 Abs err 0 exceeds tol 0 by 0 381s ***** test 381s in = randi ([0 255], [40 39 3 5], "uint8"); 381s red = impyramid (in, "reduce"); 381s for p = 1:3 381s for n = 1:5 381s assert (red(:,:,p,n), impyramid (in(:,:,p,n), "reduce")) 381s endfor 381s endfor 381s 381s exp = impyramid (in, "expand"); 381s for p = 1:3 381s for n = 1:5 381s assert (exp(:,:,p,n), impyramid (in(:,:,p,n), "expand")) 381s endfor 381s endfor 381s ***** xtest 381s ## bug #51979 (results are not matlab compatible) 381s in = repmat (uint8 (255), [10 10]); 381s assert (impyramid (in, "reduce"), repmat (uint8 (255), [5 5])) 381s assert (impyramid (in, "expand"), repmat (uint8 (255), [19 19])) 381s !!!!! known failure 381s ASSERT errors for: assert (impyramid (in, "expand"),repmat (uint8 (255), [19, 19])) 381s 381s Location | Observed | Expected | Reason 381s (1,1) 195 255 Abs err 0 exceeds tol 0 by 0 381s (2,1) 223 255 Abs err 0 exceeds tol 0 by 0 381s (3,1) 223 255 Abs err 0 exceeds tol 0 by 0 381s (4,1) 223 255 Abs err 0 exceeds tol 0 by 0 381s (5,1) 223 255 Abs err 0 exceeds tol 0 by 0 381s (6,1) 223 255 Abs err 0 exceeds tol 0 by 0 381s (7,1) 223 255 Abs err 0 exceeds tol 0 by 0 381s (8,1) 223 255 Abs err 0 exceeds tol 0 by 0 381s (9,1) 223 255 Abs err 0 exceeds tol 0 by 0 381s (10,1) 223 255 Abs err 0 exceeds tol 0 by 0 381s (11,1) 223 255 Abs err 0 exceeds tol 0 by 0 381s (12,1) 223 255 Abs err 0 exceeds tol 0 by 0 381s (13,1) 223 255 Abs err 0 exceeds tol 0 by 0 381s (14,1) 223 255 Abs err 0 exceeds tol 0 by 0 381s (15,1) 223 255 Abs err 0 exceeds tol 0 by 0 381s (16,1) 223 255 Abs err 0 exceeds tol 0 by 0 381s (17,1) 223 255 Abs err 0 exceeds tol 0 by 0 381s (18,1) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,1) 195 255 Abs err 0 exceeds tol 0 by 0 381s (1,2) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,2) 223 255 Abs err 0 exceeds tol 0 by 0 381s (1,3) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,3) 223 255 Abs err 0 exceeds tol 0 by 0 381s (1,4) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,4) 223 255 Abs err 0 exceeds tol 0 by 0 381s (1,5) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,5) 223 255 Abs err 0 exceeds tol 0 by 0 381s (1,6) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,6) 223 255 Abs err 0 exceeds tol 0 by 0 381s (1,7) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,7) 223 255 Abs err 0 exceeds tol 0 by 0 381s (1,8) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,8) 223 255 Abs err 0 exceeds tol 0 by 0 381s (1,9) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,9) 223 255 Abs err 0 exceeds tol 0 by 0 381s (1,10) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,10) 223 255 Abs err 0 exceeds tol 0 by 0 381s (1,11) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,11) 223 255 Abs err 0 exceeds tol 0 by 0 381s (1,12) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,12) 223 255 Abs err 0 exceeds tol 0 by 0 381s (1,13) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,13) 223 255 Abs err 0 exceeds tol 0 by 0 381s (1,14) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,14) 223 255 Abs err 0 exceeds tol 0 by 0 381s (1,15) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,15) 223 255 Abs err 0 exceeds tol 0 by 0 381s (1,16) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,16) 223 255 Abs err 0 exceeds tol 0 by 0 381s (1,17) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,17) 223 255 Abs err 0 exceeds tol 0 by 0 381s (1,18) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,18) 223 255 Abs err 0 exceeds tol 0 by 0 381s (1,19) 195 255 Abs err 0 exceeds tol 0 by 0 381s (2,19) 223 255 Abs err 0 exceeds tol 0 by 0 381s (3,19) 223 255 Abs err 0 exceeds tol 0 by 0 381s (4,19) 223 255 Abs err 0 exceeds tol 0 by 0 381s (5,19) 223 255 Abs err 0 exceeds tol 0 by 0 381s (6,19) 223 255 Abs err 0 exceeds tol 0 by 0 381s (7,19) 223 255 Abs err 0 exceeds tol 0 by 0 381s (8,19) 223 255 Abs err 0 exceeds tol 0 by 0 381s (9,19) 223 255 Abs err 0 exceeds tol 0 by 0 381s (10,19) 223 255 Abs err 0 exceeds tol 0 by 0 381s (11,19) 223 255 Abs err 0 exceeds tol 0 by 0 381s (12,19) 223 255 Abs err 0 exceeds tol 0 by 0 381s (13,19) 223 255 Abs err 0 exceeds tol 0 by 0 381s (14,19) 223 255 Abs err 0 exceeds tol 0 by 0 381s (15,19) 223 255 Abs err 0 exceeds tol 0 by 0 381s (16,19) 223 255 Abs err 0 exceeds tol 0 by 0 381s (17,19) 223 255 Abs err 0 exceeds tol 0 by 0 381s (18,19) 223 255 Abs err 0 exceeds tol 0 by 0 381s (19,19) 195 255 Abs err 0 exceeds tol 0 by 0 381s ***** xtest 381s ## bug #51979 (results are not matlab compatible) 381s in = logical ([ 381s 1 0 1 1 0 0 1 1 0 0 381s 1 1 0 0 0 1 0 0 1 0 381s 0 1 1 0 1 1 1 1 1 1 381s 1 0 1 0 1 0 1 0 1 1 381s 1 1 1 0 0 0 1 1 1 1 381s 0 0 1 1 0 0 1 0 0 0 381s 0 0 1 1 0 1 1 0 1 1 381s 1 1 0 0 1 0 0 0 1 0 381s 1 1 1 1 1 1 0 1 0 0 381s 1 1 0 0 1 0 0 0 1 0]); 381s 381s reduced = logical ([ 381s 1 1 0 1 0 381s 1 1 0 1 1 381s 1 1 0 1 1 381s 0 1 0 0 0 381s 1 1 1 0 0]); 381s 381s expanded = logical ([ 381s 1 1 0 0 1 1 1 0 0 0 0 0 1 1 1 0 0 0 0 381s 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 381s 1 1 1 1 0 0 0 0 0 0 1 1 0 0 0 1 1 0 0 381s 1 1 1 1 0 0 0 0 0 1 1 1 1 0 1 1 1 1 1 381s 0 1 1 1 1 0 0 0 1 1 1 1 1 1 1 1 1 1 1 381s 0 0 1 1 1 0 0 0 1 1 1 1 1 1 1 1 1 1 1 381s 1 1 0 1 1 0 0 0 1 0 0 1 1 1 0 1 1 1 1 381s 1 1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 1 1 1 381s 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 1 381s 0 0 1 1 1 1 0 0 0 0 0 0 1 1 1 0 0 0 0 381s 0 0 0 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 381s 0 0 0 0 1 1 1 0 0 0 0 1 1 0 0 0 0 0 0 381s 0 0 0 0 1 1 1 0 0 0 1 1 1 0 0 0 1 1 1 381s 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 381s 1 1 1 1 0 0 0 1 1 1 0 0 0 0 0 0 1 0 0 381s 1 1 1 1 1 0 1 1 1 1 0 0 0 0 0 0 0 0 0 381s 1 1 1 1 1 1 1 1 1 1 1 0 0 0 1 0 0 0 0 381s 1 1 1 1 1 0 1 1 1 1 0 0 0 0 0 0 0 0 0 381s 1 1 1 1 0 0 0 1 1 1 0 0 0 0 0 0 1 0 0]); 381s 381s assert (impyramid (in, "reduce"), reduced) 381s assert (impyramid (in, "expand"), expanded) 381s !!!!! known failure 381s ASSERT errors for: assert (impyramid (in, "reduce"),reduced) 381s 381s Location | Observed | Expected | Reason 381s (4,1) 1 0 Abs err 1 exceeds tol 0 by 1 381s (1,3) 1 0 Abs err 1 exceeds tol 0 by 1 381s (2,3) 1 0 Abs err 1 exceeds tol 0 by 1 381s (3,3) 1 0 Abs err 1 exceeds tol 0 by 1 381s (4,3) 1 0 Abs err 1 exceeds tol 0 by 1 381s (4,4) 1 0 Abs err 1 exceeds tol 0 by 1 381s (5,4) 1 0 Abs err 1 exceeds tol 0 by 1 381s (1,5) 1 0 Abs err 1 exceeds tol 0 by 1 381s (4,5) 1 0 Abs err 1 exceeds tol 0 by 1 381s (5,5) 1 0 Abs err 1 exceeds tol 0 by 1 381s 4 tests, 1 passed, 3 known failures, 0 skipped 381s [inst/colfilt.m] 381s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/colfilt.m 381s ***** demo 381s ## Perform moving average filter with a 4x4 window 381s A = magic (12) 381s colfilt (A, [4 4], "sliding", @mean) 381s ***** test 381s A = reshape (1:36, [6 6]); 381s assert (colfilt (A, [2 2], [3 3], "sliding", @sum), 381s conv2 (A, ones (2), "same")); 381s 1 test, 1 passed, 0 known failure, 0 skipped 381s [inst/impixel.m] 381s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/impixel.m 381s ***** shared img2d, img3d 381s img2d = uint8 (magic (10)); 381s img3d(:,:,1) = img2d; 381s img3d(:,:,2) = img2d + 1; 381s img3d(:,:,3) = img2d + 2; 381s img3d = uint8 (img3d); 381s 381s ***** assert (impixel (img2d, 2, 2), single ([80 80 80])); 381s ***** assert (impixel (img2d, -2, 2), single ([NA NA NA])); 381s 381s ***** assert (impixel (img2d, [1 10], [1 10]), single ([92 92 92; 59 59 59])); 381s ***** assert (impixel (img3d, [1 10], [1 10]), single ([92 93 94; 59 60 61])); 381s ***** assert (impixel (double (img2d), [1 10], [1 10]), [92 92 92; 59 59 59]); 381s 381s ***** assert (impixel ([1 10], [1 10], img2d, [1 10], [1 10]), single ([92 92 92; 59 59 59])); 381s ***** assert (impixel ([3 12], [-4 12], img2d, [1 10], [1 10]), single ([NA NA NA; 44 44 44])); 381s ***** assert (impixel ([3 5], [-4 3], img2d, [1 10], [1 10]), single ([NA NA NA; NA NA NA])); 381s 381s ## the following returns double because it's an indexed image 381s ***** assert (impixel ([3 12], [-4 12], img2d, gray (100), [1 10], [1 10]), [NA NA NA; 4/9 4/9 4/9]); 381s 9 tests, 9 passed, 0 known failure, 0 skipped 381s [inst/qtdecomp.m] 381s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/qtdecomp.m 381s ***** demo 381s full(qtdecomp(eye(8))) 381s %It finds 2 big blocks of 0 and it decomposes further where 0 and 1 are mixed. 381s ***** # Test if odd-sized limits split 381s ***** assert(full(qtdecomp(eye(5))), reshape([5,zeros(1,24)],5,5)); 381s ***** assert(full(qtdecomp(eye(6))), repmat(reshape([3,zeros(1,8)],3,3),2,2)); 381s ***** # Test 'equal' method 381s ***** test 381s a=ones(2,2); 381s b=[2,0;0,0]; 381s assert(full(qtdecomp(eye(4))), [a,b;b,a]); 381s ***** shared A, B2, B4 381s A=[ 1, 4, 2, 5,54,55,61,62; 381s 3, 6, 3, 1,58,53,67,65; 381s 3, 6, 3, 1,58,53,67,65; 381s 3, 6, 3, 1,58,53,67,65; 381s 23,42,42,42,99,99,99,99; 381s 27,42,42,42,99,99,99,99; 381s 23,22,26,25,99,99,99,99; 381s 22,22,24,22,99,99,99,99]; 381s B2=[2,0;0,0]; 381s B4=zeros(4); B4(1,1)=4; 381s ***** test 381s R=[ones(4,8); [ones(2),B2;ones(2,4)], B4]; 381s assert(full(qtdecomp(A)), R); 381s assert(full(qtdecomp(A,0)), R); 381s ***** # Test 'threshold' method 381s ***** test 381s R=[ones(4,8); [ones(2),B2;B2,ones(2)],B4]; 381s assert(full(qtdecomp(A,1)), R); 381s ***** test 381s R=[[B4,[B2,B2;B2,B2]]; [[ones(2),B2;B2,B2],B4]]; 381s assert(full(qtdecomp(A,10)), R); 381s ***** test 381s R=[[B4,[B2,B2;B2,B2]]; [[B2,B2;B2,B2],B4]]; 381s assert(full(qtdecomp(A,10,2)), R); 381s 381s assert(full(qtdecomp(A,100,[2, 4])), [B4,B4;B4,B4]); 381s ***** test 381s f = @(A, c1 = 54, c2 = 0, c3 = 0) (A (1, 1, :) != ((c1+c2+c3) * ones (1, 1, size (A, 3))))(:); 381s 381s assert(full(qtdecomp(A,f)),[ones(4),B4;ones(4,8)]); 381s assert(full(qtdecomp(A,f,54)),[ones(4),B4;ones(4,8)]); 381s assert(full(qtdecomp(A,f,4,40,10)),[ones(4),B4;ones(4,8)]); 381s ***** test 381s ***** # no params 381s first_eq=inline("(A(1,1,:)!=(54*ones(1,1,size(A,3))))(:)","A"); 381s assert(full(qtdecomp(A,first_eq)),[ones(4),B4;ones(4,8)]); 381s ***** test 381s ***** # 1 param 381s first_eq=inline("(A(1,1,:)!=(c*ones(1,1,size(A,3))))(:)","A","c"); 381s assert(full(qtdecomp(A,first_eq,54)),[ones(4),B4;ones(4,8)]); 381s ***** test 381s ***** # 3 params 381s first_eq=inline("(A(1,1,:)!=((c1+c2+c3)*ones(1,1,size(A,3))))(:)","A","c1","c2","c3"); 381s assert(full(qtdecomp(A,first_eq,4,40,10)),[ones(4),B4;ones(4,8)]); 381s 11 tests, 11 passed, 0 known failure, 0 skipped 381s [inst/im2single.m] 381s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/im2single.m 381s ***** assert (im2single (single ([1 2 3])), single ([1 2 3])); 381s ***** assert (im2single ([1 2 3]), single ([1 2 3])); 381s ***** assert (im2single (uint8 ([0 127 128 255])), single ([0 127/255 128/255 1])); 381s ***** assert (im2single (uint16 ([0 127 128 65535])), single ([0 127/65535 128/65535 1])); 381s ***** assert (im2single (int16 ([-32768 -32767 -32766 32767])), single ([0 1/65535 2/65535 1])); 381s ***** assert (im2single (uint8 ([0 1 255]), "indexed"), single ([1 2 256])); 381s ***** assert (im2single (uint16 ([0 1 2557]), "indexed"), single ([1 2 2558])); 381s ***** assert (im2single ([3 25], "indexed"), single ([3 25])); 381s ***** error im2single ([0 1 2], "indexed"); 381s ***** error im2single (int16 ([17 8]), "indexed"); 381s ***** error im2single (int16 ([-7 8]), "indexed"); 381s ***** error im2single ([false true], "indexed"); 381s 12 tests, 12 passed, 0 known failure, 0 skipped 381s [inst/qtsetblk.m] 382s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/qtsetblk.m 382s ***** demo 382s J=qtsetblk(eye(4),qtdecomp(eye(4)),2,ones(2,2,2)) 382s % Sets upper-right and lower-left blocks of 2*2 zeros to ones 382s ***** shared A, S 382s A=[ 1, 4, 2, 5,54,55,61,62; 382s 3, 6, 3, 1,58,53,67,65; 382s 3, 6, 3, 1,58,53,67,65; 382s 3, 6, 3, 1,58,53,67,65; 382s 23,42,42,42,99,99,99,99; 382s 27,42,42,42,99,99,99,99; 382s 23,22,26,25,99,99,99,99; 382s 22,22,24,22,99,99,99,99]; 382s S = qtdecomp (A, 10); 382s ***** test 382s R=A; 382s vals=zeros(4,4,2); 382s vals(:,:,1)=reshape([1:16],4,4); 382s vals(:,:,2)=reshape([21:36],4,4); 382s R(1:4,1:4)=reshape([1:16],4,4); 382s R(5:8,5:8)=reshape([21:36],4,4); 382s assert(qtsetblk(A,S,4,vals),R); 382s ***** test 382s R=A; 382s R(1:4,5:8)=1; 382s R(7:8,1:4)=1; 382s R(5:6,3:4)=1; 382s assert(qtsetblk(A,S,2,ones(2,2,7)),R); 382s ***** test 382s R=A; 382s R(5:6,1:2)=10; 382s assert(qtsetblk(A,S,1,ones(1,1,4)*10),R); 382s 3 tests, 3 passed, 0 known failure, 0 skipped 382s [inst/edge.m] 382s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/edge.m 382s ***** test 382s im = [ 382s 249 238 214 157 106 69 60 90 131 181 224 247 252 250 250 382s 250 242 221 165 112 73 62 91 133 183 225 248 252 250 251 382s 252 246 228 173 120 78 63 90 130 181 224 248 253 251 251 382s 253 248 232 185 132 87 62 80 116 170 217 244 253 251 252 382s 253 249 236 198 149 101 66 71 101 155 206 238 252 252 252 382s 254 250 240 210 164 115 73 69 92 143 196 232 252 253 252 382s 70 70 68 61 49 36 24 22 26 38 52 63 70 70 70 382s 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 382s 62 63 62 59 51 42 33 25 22 26 36 45 56 60 62 382s 252 253 252 246 221 190 157 114 90 90 118 157 203 235 248 382s 251 253 254 251 233 209 182 136 103 92 107 139 185 225 245 382s 251 253 254 253 243 227 206 163 128 108 110 133 175 217 242 382s 252 253 254 254 249 241 228 195 164 137 127 139 172 212 239 382s ] / 255; 382s 382s methods = {"kirsch", "prewitt", "sobel"}; 382s for m_i = 1:numel (methods) 382s method = methods{m_i}; 382s 382s bw = edge (im, method, 0.2, "both", "thinning"); 382s assert (edge (im, method, 0.2), bw) 382s 382s args = perms ({0.2, "both", "thinning"}); 382s for i = 1:rows (args) 382s assert (edge (im, method, args{i,:}), bw) 382s endfor 382s 382s bw = edge (im, method, 0.2, "vertical", "nothinning"); 382s args = perms ({0.2, "vertical", "nothinning"}); 382s for i = 1:rows (args) 382s assert (edge (im, method, args{i,:}), bw) 382s endfor 382s 382s bw = edge (im, method, 0.2, "vertical", "thinning"); 382s args = perms ({0.2, "vertical"}); 382s for i = 1:rows (args) 382s assert (edge (im, method, args{i,:}), bw) 382s endfor 382s 382s bw = edge (im, method, 0.2, "both", "nothinning"); 382s args = perms ({0.2, "nothinning"}); 382s for i = 1:rows (args) 382s assert (edge (im, method, args{i,:}), bw) 382s endfor 382s endfor 382s ***** error 382s bw = edge (rand (10), "sobel", 0.2, 0.4) 382s ***** error 382s bw = edge (rand (10), "sobel", "thinning", "nothinning") 382s ***** error 382s bw = edge (rand (10), "sobel", "both", "both") 382s ***** error 382s bw = edge (rand (10), "sobel", [0.2 0.7], "both", "thinning") 382s ***** error 382s bw = edge (rand (10), "kirsch", 0.2, 0.4) 382s ***** error 382s bw = edge (rand (10), "kirsch", "thinning", "nothinning") 382s ***** error 382s bw = edge (rand (10), "kirsch", "both", "both") 382s ***** error 382s bw = edge (rand (10), "kirsch", [0.2 0.7], "both", "thinning") 382s ***** error 382s bw = edge (rand (10), "prewitt", 0.2, 0.4) 382s ***** error 382s bw = edge (rand (10), "prewitt", "thinning", "nothinning") 382s ***** error 382s bw = edge (rand (10), "prewitt", "both", "both") 382s ***** error 382s bw = edge (rand (10), "prewitt", [0.2 0.7], "both", "thinning") 382s ***** test 382s im = [ 382s 249 238 214 157 106 69 60 90 131 181 224 247 252 250 250 382s 250 242 221 165 112 73 62 91 133 183 225 248 252 250 251 382s 252 246 228 173 120 78 63 90 130 181 224 248 253 251 251 382s 253 248 232 185 132 87 62 80 116 170 217 244 253 251 252 382s 253 249 236 198 149 101 66 71 101 155 206 238 252 252 252 382s 254 250 240 210 164 115 73 69 92 143 196 232 252 253 252 382s 70 70 68 61 49 36 24 22 26 38 52 63 70 70 70 382s 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 382s 62 63 62 59 51 42 33 25 22 26 36 45 56 60 62 382s 252 253 252 246 221 190 157 114 90 90 118 157 203 235 248 382s 251 253 254 251 233 209 182 136 103 92 107 139 185 225 245 382s 251 253 254 253 243 227 206 163 128 108 110 133 175 217 242 382s 252 253 254 254 249 241 228 195 164 137 127 139 172 212 239 382s ] / 255; 382s 382s bw = edge (im, "roberts", .2, "thinning"); 382s assert (edge (im, "roberts", 0.2), bw) 382s assert (edge (im, "roberts", "thinning", 0.2), bw) 382s 382s bw = edge (im, "roberts", .2, "nothinning"); 382s assert (edge (im, "roberts", "nothinning", 0.2), bw) 382s ***** error 382s bw = edge (rand (10), "roberts", 0.2, 0.4) 382s ***** error 382s bw = edge (rand (10), "roberts", "thinning", "nothinning") 382s ***** error 382s bw = edge (rand (10), "roberts", "both", "thinning") 382s ***** test 382s im = rand (10); 382s [~, thresh] = edge (im, "canny"); 382s assert (size (thresh), [1 2]) 382s [~, thresh] = edge (im, "canny", [.2 .6]); 382s assert (thresh, [.2 .6]) 382s [~, thresh] = edge (im, "canny", [.2; .6]); 382s assert (thresh, [.2 .6]) 382s ***** test 382s in = zeros (5); 382s in(3,3) = 1; 382s 382s E = logical ([ 382s 0 0 0 0 0 382s 0 0 1 0 0 382s 0 1 0 1 0 382s 0 0 1 0 0 382s 0 0 0 0 0]); 382s assert (edge (in), E) 382s assert (edge (uint8 (in.*100)), E) 382s assert (edge (in, "sobel"), E) 382s assert (edge (in, "sobel", 0), E) 382s assert (edge (in, "sobel", 1), false (5)) 382s 382s [E, auto_thresh] = edge (in); 382s assert (auto_thresh, 0.2449, 1e-4) 382s 382s V = logical([ 382s 0 0 0 0 0 382s 0 1 0 1 0 382s 0 1 0 1 0 382s 0 1 0 1 0 382s 0 0 0 0 0]); 382s assert (edge (in, "sobel", 0, "vertical"), V) 382s 382s H = logical ([ 382s 0 0 0 0 0 382s 0 1 1 1 0 382s 0 0 0 0 0 382s 0 1 1 1 0 382s 0 0 0 0 0]); 382s assert (edge (in, "sobel", 0, "horizontal"), H) 382s 382s V = false (5); 382s V(3,2) = true; 382s V(3,4) = true; 382s assert (edge (in, "sobel", [], "vertical"), V) 382s 382s H = false (5); 382s H(2,3) = true; 382s H(4,3) = true; 382s assert (edge (in, "sobel", [], "horizontal"), H) 382s ***** test 382s A = ones (5); 382s A(3, 3) = 0; 382s expected = logical ([ 382s 0 0 0 0 0 382s 0 0 1 0 0 382s 0 1 0 1 0 382s 0 0 1 0 0 382s 0 0 0 0 0]); 382s assert (edge (A), expected) 382s ***** test 382s in = zeros (5); 382s in(3, 3) = 1; 382s 382s E = logical ([ 382s 0 0 0 0 0 382s 0 1 0 1 0 382s 0 0 0 0 0 382s 0 1 0 1 0 382s 0 0 0 0 0]); 382s 382s assert (edge (in, "prewitt"), E) 382s 382s [~, auto_thresh] = edge (in, "prewitt"); 382s assert (auto_thresh, 0.2309, 1e-4) 382s 382s V = logical([ 382s 0 0 0 0 0 382s 0 1 0 1 0 382s 0 1 0 1 0 382s 0 1 0 1 0 382s 0 0 0 0 0]); 382s assert (edge (in, "prewitt", 0, "vertical"), V) 382s 382s H = logical ([ 382s 0 0 0 0 0 382s 0 1 1 1 0 382s 0 0 0 0 0 382s 0 1 1 1 0 382s 0 0 0 0 0]); 382s assert (edge (in, "prewitt", 0, "horizontal"), H) 382s ***** test 382s in = zeros (5); 382s in(3,3) = 1; 382s in(3,4) = 0.9; 382s 382s E = logical ([ 382s 0 0 0 0 0 382s 0 0 1 0 0 382s 0 0 1 0 0 382s 0 0 0 0 0 382s 0 0 0 0 0]); 382s 382s assert (edge (in, "roberts"), E) 382s 382s [~, auto_thresh] = edge (in, "roberts"); 382s assert (auto_thresh, 0.6591, 1e-4) 382s 382s E45 = [0 0 0 0 0 382s 0 -0.5 -0.45 0 0 382s 0 0 0.50 0.45 0 382s 0 0 0 0 0 382s 0 0 0 0 0]; 382s E135 = [0 0 0 0 0 382s 0 0 -0.50 -0.45 0 382s 0 0.5 0.45 0 0 382s 0 0 0 0 0 382s 0 0 0 0 0]; 382s 382s [~, ~, erg45, erg135] = edge (in, "roberts"); 382s assert (erg45, E45) 382s assert (erg135, E135) 382s ***** xtest 382s ## The edge image is correct and Matlab compatible so those should 382s ## pass. However, the threshold values used to generate the edge 382s ## image are not the same as Matlab. 382s 382s in_8 = fspecial ("gaussian", [8 8], 2); 382s in_8 /= in_8(4,4); 382s in_8_uint8 = im2uint8 (in_8); 382s 382s ## Matlab changed their implementation of the Canny method in 382s ## release 2011a. We are compatible with their new implementation 382s ## but for testing purposes, this is the expected result for the 382s ## old implementation. 382s out_8_old = logical ([ 382s 0 0 0 0 0 0 0 0 382s 0 0 0 1 1 0 0 0 382s 0 0 1 0 0 1 0 0 382s 0 1 0 0 0 0 1 0 382s 0 1 0 0 0 0 1 0 382s 0 0 1 0 0 1 0 0 382s 0 0 0 1 1 0 0 0 382s 0 0 0 0 0 0 0 0]); 382s 382s out_8 = logical ([ 382s 0 0 0 0 0 0 0 0 382s 0 1 1 1 1 1 0 0 382s 0 1 0 0 0 1 0 0 382s 0 1 0 0 0 1 0 0 382s 0 1 0 0 0 1 0 0 382s 0 1 1 1 1 1 0 0 382s 0 0 0 0 0 0 0 0 382s 0 0 0 0 0 0 0 0]); 382s out_thresh = [0.34375 0.859375]; 382s 382s [obs_edge, obs_thresh] = edge (in_8, "Canny"); 382s assert (obs_edge, out_8) 382s assert (obs_thresh, out_thresh) 382s 382s [obs_edge_givethresh, obs_thresh_givethresh] ... 382s = edge (in_8, "Canny", out_thresh); 382s assert (obs_edge_givethresh, out_8) 382s assert (obs_thresh_givethresh, out_thresh) 382s 382s [obs_edge_uint8, obs_thresh_uint8] = edge (in_8_uint8, "Canny"); 382s assert (obs_edge_uint8, out_8) 382s assert (obs_thresh_uint8, out_thresh) 382s !!!!! known failure 382s ASSERT errors for: assert (obs_thresh,out_thresh) 382s 382s Location | Observed | Expected | Reason 382s (1) 0.27112 0.34375 Abs err 0.072632 exceeds tol 0 by 0.07 382s (2) 0.67779 0.85938 Abs err 0.18158 exceeds tol 0 by 0.2 382s ***** xtest 382s ## The edge image is correct and Matlab compatible so those should 382s ## pass. However, the threshold values used to generate the edge 382s ## image are not the same as Matlab. 382s 382s in_9 = fspecial ("gaussian", [9 9], 2); 382s in_9 /= in_9(5,5); 382s 382s ## Matlab changed their implementation of the Canny method in 382s ## release 2011a. We are compatible with their new implementation 382s ## but for testing purposes, this is the expected result for the 382s ## old implementation. 382s out_9_old = logical ([ 382s 0 0 0 0 0 0 0 0 0 382s 0 0 0 0 0 0 0 0 0 382s 0 0 0 1 1 1 0 0 0 382s 0 0 1 0 0 0 1 0 0 382s 0 0 1 0 0 0 1 0 0 382s 0 0 1 0 0 0 1 0 0 382s 0 0 0 1 1 1 0 0 0 382s 0 0 0 0 0 0 0 0 0 382s 0 0 0 0 0 0 0 0 0]); 382s 382s out_9 = logical ([ 382s 0 0 0 0 0 0 0 0 0 382s 0 0 1 1 1 1 0 0 0 382s 0 1 1 0 0 1 1 0 0 382s 0 1 0 0 0 0 1 0 0 382s 0 1 0 0 0 0 1 0 0 382s 0 1 1 0 0 1 1 0 0 382s 0 0 1 1 1 1 0 0 0 382s 0 0 0 0 0 0 0 0 0 382s 0 0 0 0 0 0 0 0 0]); 382s out_thresh = [0.35 0.875]; 382s 382s [obs_edge, obs_thresh] = edge (in_9, "Canny"); 382s assert (obs_edge, out_9) 382s assert (obs_thresh, out_thresh) 382s 382s [obs_edge_givethresh, obs_thresh_givethresh] ... 382s = edge (in_9, "Canny", out_thresh); 382s assert (obs_edge_givethresh, out_9) 382s assert (obs_thresh_givethresh, out_thresh) 382s !!!!! known failure 382s ASSERT errors for: assert (obs_thresh,out_thresh) 382s 382s Location | Observed | Expected | Reason 382s (1) 0.261 0.35 Abs err 0.089001 exceeds tol 0 by 0.09 382s (2) 0.6525 0.875 Abs err 0.2225 exceeds tol 0 by 0.2 382s 24 tests, 22 passed, 2 known failures, 0 skipped 382s [inst/imcomplement.m] 382s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imcomplement.m 382s ***** assert (imcomplement (10), -9); 382s ***** assert (imcomplement (single (10)), single (-9)); 382s ***** assert (imcomplement (0.2), 0.8); 382s ***** assert (imcomplement (uint8 (0)), uint8 (255)); 382s ***** assert (imcomplement (uint8 (1)), uint8 (254)); 382s ***** assert (imcomplement (uint16 (0)), uint16 (65535)); 382s ***** assert (imcomplement (uint16 (1)), uint16 (65534)); 382s ***** assert (imcomplement (int8 (-128)), int8 ( 127)); 382s ***** assert (imcomplement (int8 ( 127)), int8 (-128)); 382s ***** assert (imcomplement (int16 (-1)), int16 ( 0)); 382s ***** assert (imcomplement (int16 ( 0)), int16 (-1)); 382s ***** assert (imcomplement (int16 ( 1)), int16 (-2)); 382s ***** assert (imcomplement ([true false true]), [false true false]) 382s ***** error imcomplement ("not an image") 382s 14 tests, 14 passed, 0 known failure, 0 skipped 382s [inst/imremap.m] 382s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imremap.m 382s ***** demo 382s ## Generate a synthetic image and show it 382s I = tril(ones(100)) + abs(rand(100)); I(I>1) = 1; 382s I(20:30, 20:30) = !I(20:30, 20:30); 382s I(70:80, 70:80) = !I(70:80, 70:80); 382s figure, imshow(I); 382s ## Resize the image to the double size and show it 382s [XI, YI] = meshgrid(linspace(1, 100, 200)); 382s warped = imremap(I, XI, YI); 382s figure, imshow(warped); 382s ***** demo 382s ## Generate a synthetic image and show it 382s I = tril(ones(100)) + abs(rand(100)); I(I>1) = 1; 382s I(20:30, 20:30) = !I(20:30, 20:30); 382s I(70:80, 70:80) = !I(70:80, 70:80); 382s figure, imshow(I); 382s ## Rotate the image around (0, 0) by -0.4 radians and show it 382s [XI, YI] = meshgrid(1:100); 382s R = [cos(-0.4) sin(-0.4); -sin(-0.4) cos(-0.4)]; 382s RXY = [XI(:), YI(:)] * R; 382s XI = reshape(RXY(:,1), [100, 100]); YI = reshape(RXY(:,2), [100, 100]); 382s warped = imremap(I, XI, YI); 382s figure, imshow(warped); 382s ***** test 382s 382s I = repmat([ 1 2 3 4 ], [4, 1]); 382s xi = [-6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11]; 382s exp_rep = [ 1 1 1 1 1 1 1 1 2 3 4 4 4 4 4 4 4 4]; 382s exp_sym = [ 2 3 4 4 3 2 1 1 2 3 4 4 3 2 1 1 2 3]; 382s exp_ref = [ 2 1 2 3 4 3 2 1 2 3 4 3 2 1 2 3 4 3]; 382s exp_cir = [ 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3]; 382s yi = 2.5; 382s 382s # rectilinear grid codepath 382s assert (imremap (I, xi, yi, "bicubic", "replicate"), exp_rep); 382s assert (imremap (I, xi, yi, "bicubic", "symmetric"), exp_sym); 382s assert (imremap (I, xi, yi, "bicubic", "reflect"), exp_ref); 382s assert (imremap (I, xi, yi, "bicubic", "circular"), exp_cir); 382s 382s # meshgrid codepath 382s XI = [xi/2; xi; xi/2]; % cannot be reduced to vector, we will assert only middle row 382s YI = repmat ([1.5; yi; 3.5], [1, length(xi)]); 382s assert (imremap (I, XI, YI, "bicubic", "replicate")(2,:), exp_rep); 382s assert (imremap (I, XI, YI, "bicubic", "symmetric")(2,:), exp_sym); 382s assert (imremap (I, XI, YI, "bicubic", "reflect")(2,:), exp_ref); 382s assert (imremap (I, XI, YI, "bicubic", "circular")(2,:), exp_cir); 382s 1 test, 1 passed, 0 known failure, 0 skipped 382s [inst/integralImage3.m] 382s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/integralImage3.m 382s ***** test 382s assert (integralImage3 (zeros (4)), zeros (5, 5, 2)); 382s ***** test 382s J_res = zeros (2, 2, 2); 382s J_res(2, 2, 2) = 10; 382s assert (integralImage3 (10), J_res); 382s ***** test 382s J = integralImage3 (10); 382s assert (class (J), "double"); 382s J = integralImage3 (uint8 (10)); 382s assert (class (J), "double"); 382s ***** test 382s I = [1, 2; 3, 4]; 382s J = integralImage3 (I); 382s J_res = zeros (3, 3, 2); 382s J_res(2:3, 2:3, 2) = [1 3; 4 10]; 382s assert (J, J_res) 382s ***** test 382s I1 = [1, 2; 3, 4]; 382s I2 = [5, 6; 7, 8]; 382s I3 = [9, 10; 11, 12]; 382s I = cat (3, I1, I2, I3); 382s J = integralImage3 (I); 382s J2 = [0 0 0; 0 1 3; 0 4 10]; 382s J3 = [0 0 0; 0 6 14; 0 16 36]; 382s J4 = [0 0 0; 0 15 33; 0 36 78]; 382s J_res = cat (3, zeros (3), J2, J3, J4); 382s assert (J, J_res) 382s ***** test 382s I = magic (5); 382s J = integralImage3 (I); 382s J_res = zeros (6, 6, 2); 382s J_res(:, :, 2) = [0 0 0 0 0 0; 382s 0 17 41 42 50 65; 382s 0 40 69 77 99 130; 382s 0 44 79 100 142 195; 382s 0 54 101 141 204 260; 382s 0 65 130 195 260 325]; 382s assert (J, J_res) 382s ***** # test of 3d input image: 382s ***** test 382s K = magic (8); 382s K = reshape (K, [4 4 4]); 382s L = integralImage3 (K); 382s L1_ML = zeros (5); 382s L2_ML = [0 0 0 0 0; 382s 0 64 96 98 132; 382s 0 73 146 203 260; 382s 0 90 212 316 388; 382s 0 130 260 390 520]; 382s L3_ML = [0 0 0 0 0; 382s 0 67 134 197 260; 382s 0 130 260 390 520; 382s 0 193 386 583 780; 382s 0 260 520 780 1040]; 382s L4_ML = [0 0 0 0 0; 382s 0 127 222 291 392; 382s 0 203 406 593 780; 382s 0 287 606 903 1168; 382s 0 390 780 1170 1560]; 382s L5_ML = [0 0 0 0 0; 382s 0 134 268 394 520; 382s 0 260 520 780 1040; 382s 0 386 772 1166 1560; 382s 0 520 1040 1560 2080]; 382s L_ML = cat (3, L1_ML, L2_ML, L3_ML, L4_ML, L5_ML); 382s assert (L, L_ML) 382s ***** # test of 2d input image: 382s ***** test 382s X = ones (3); 382s Y = integralImage3 (X); 382s Y_ML = zeros (4, 4, 2); 382s Y_ML(:, :, 2) = [0 0 0 0; 0 1 2 3; 0 2 4 6; 0 3 6 9]; 382s assert(Y, Y_ML); 382s ***** error id=Octave:invalid-fun-call 382s integralImage3 (); 383s ***** error id=Octave:invalid-fun-call 383s integralImage3 (zeros (3), zeros (3)); 383s ***** error 383s integralImage3 ("abcd"); 383s ***** error 383s integralImage3 (1+i); 383s ***** error 383s integralImage3 (reshape (1:81, 3, 3, 3, 3)); 383s 13 tests, 13 passed, 0 known failure, 0 skipped 383s [inst/imextendedmax.m] 383s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imextendedmax.m 383s ***** shared im0, bw0_h2_out 383s im0 = uint8 ([0 0 0 0 0; 383s 0 1 2 1 0; 383s 0 2 5 2 0; 383s 0 1 2 1 0; 383s 0 0 0 0 0]); 383s bw0_h2_out = false (5); 383s bw0_h2_out(3,3) = true; 383s ***** error imextendedmax () 383s ***** error imextendedmax (im0) 383s ***** error imextendedmax ("hello", 2) 383s ***** error imextendedmax (i.*im0, 2) 383s ***** error imextendedmax (sparse (im0), 2) 383s ***** error imextendedmax (im0, -2) 383s ***** error imextendedmax (im0, 'a') 383s ***** error imextendedmax (im0, ones (2)) 383s ***** error imextendedmax (im0, 2*i) 383s ***** assert (imextendedmax (im0, 2), bw0_h2_out) 383s ***** assert (imextendedmax (double (im0), 2), bw0_h2_out) 383s ***** assert (imextendedmax (im0, 2, 8), bw0_h2_out) 383s ***** assert (imextendedmax (im0, 2, 4), bw0_h2_out) 383s ***** assert (imextendedmax (im0, 2, true (3)), bw0_h2_out) 383s ***** test 383s out = imextendedmax (im0, 2); 383s assert (size (out), size (im0)) 383s assert (class (out), "logical") 383s ***** test 383s out = imextendedmax (single (im0), 2); 383s assert (size (out), size (im0)) 383s assert (class (out), "logical") 383s ***** test 383s out = imextendedmax (uint8 (im0), 2); 383s assert (size (out), size (im0)) 383s assert (class (out), "logical") 383s ***** test 383s out = imextendedmax (uint16 (im0), 2); 383s assert (size (out), size (im0)) 383s assert (class (out), "logical") 383s ***** test 383s im = cat (3, im0, im0, im0, im0); 383s out = imextendedmax (im, 2); 383s assert (size (out), size (im)) 383s ***** test 383s im = zeros (10); 383s im(2:4, 2:4) = 3; 383s im(6:8, 6:8) = 8; 383s expected_4 = false (10); 383s expected_4(6:8, 6:8) = true; 383s expected_2 = expected_4; 383s expected_2(2:4, 2:4) = true; 383s out = imextendedmax (im, 4); 383s assert (out, expected_4, eps) 383s out = imextendedmax (0.1.*im, 0.4); 383s assert (out, expected_4, eps) 383s out = imextendedmax (im, 2); 383s assert (out, expected_2, eps) 383s ***** test 383s im2 = zeros (10); 383s im2(2:4, 2:4) = 3; 383s im2(6:9, 6:9)=8; 383s im2(5, 5)=8; 383s im2(6, 7)=0; 383s im2(7, 8)=0; 383s expected_8 = false (10); 383s expected_8(6:9, 6:9) = true; 383s expected_8(5, 5) = true; 383s expected_8(6, 7) = false; 383s expected_8(7, 8) = false; 383s expected_4 = expected_8; 383s expected_4(2:4, 2:4) = true; 383s out2 = imextendedmax (im2, 2); 383s assert (out2, expected_8, eps) 383s out2 = imextendedmax (im2, 2, 4); 383s assert (out2, expected_4, eps) 383s out2 = imextendedmax (im2, 2, 8); 383s assert (out2, expected_8, eps) 383s 21 tests, 21 passed, 0 known failure, 0 skipped 383s [inst/fspecial.m] 383s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/fspecial.m 383s ***** test 383s for i = 1:9 383s n = 2^i; 383s assert (sum (fspecial ("disk", n)(:)), 1, eps*n*n); 383s endfor 384s ***** test 384s for r = [3 5 9 17] 384s f = fspecial ("disk", r); 384s [X, Y] = meshgrid (-r:r, -r:r); 384s rhi = (abs (X) + 0.5).^2 + (abs (Y) + 0.5).^2; 384s rlo = (abs (X) - 0.5).^2 + (abs (Y) - 0.5).^2; 384s fhi = (rhi <= (r^2)); 384s flo = (rlo >= (r^2)); 384s for i = 1:(2*r+1) 384s for j = 1:(2*r+1) 384s if (fhi(i,j)) 384s assert (f(i,j), 1/(pi*r^2), eps); 384s endif 384s if (flo(i,j)) 384s assert (f(i,j), 0); 384s endif 384s endfor 384s endfor 384s endfor 386s ***** error 386s fspecial ("gaussian", 0) 386s ***** error 386s fspecial ("gaussian", 3.9) 386s ***** assert (fspecial ("gaussian"), fspecial ("gaussian", 3, 0.5)) 386s ***** assert (fspecial ("gaussian"), fspecial ("gaussian", [3 3], 0.5)) 386s ***** test 386s c = ([-1:1].^2) + ([-1:1]'.^2); 386s gauss = exp (- (c / (2 * (0.5 ^ 2)))); 386s f = gauss / sum (gauss(:)); 386s assert (fspecial ("gaussian"), f) 386s 386s expected = [ 386s 0.01134373655849507 0.08381950580221061 0.01134373655849507 386s 0.08381950580221061 0.61934703055717721 0.08381950580221061 386s 0.01134373655849507 0.08381950580221061 0.01134373655849507]; 386s assert (f, expected, eps) 386s ***** function f = f_gaussian_2d (hsize, sigma) 386s c = ([(-hsize(1)):(hsize(1))]'.^2) + ([(-hsize(2)):(hsize(2))].^2); 386s gauss = exp (- (c ./ (2 * (sigma .^ 2)))); 386s f = gauss ./ sum (gauss(:)); 386s ***** endfunction 386s ***** test 386s f = fspecial ("gaussian"); 386s assert (f, f_gaussian_2d ([1 1], .5)) 386s expected = [ 386s 0.01134373655849507 0.08381950580221061 0.01134373655849507 386s 0.08381950580221061 0.61934703055717721 0.08381950580221061 386s 0.01134373655849507 0.08381950580221061 0.01134373655849507]; 386s assert (f, expected, eps) 386s ***** test 386s f = fspecial ("gaussian", 7, 2); 386s assert (f, f_gaussian_2d ([3 3], 2)) 386s expected = [ 386s 0.00492233115934352 386s 0.00919612528958620 386s 0.01338028334410124 386s 0.01516184737296414 386s 0.01338028334410124 386s 0.00919612528958620 386s 0.00492233115934352 386s 0.00919612528958620 386s 0.01718062389630964 386s 0.02499766026691484 386s 0.02832606006174462 386s 0.02499766026691484 386s 0.01718062389630964 386s 0.00919612528958620 386s 0.01338028334410124 386s 0.02499766026691484 386s 0.03637138107390363 386s 0.04121417419979795 386s 0.03637138107390363 386s 0.02499766026691484 386s 0.01338028334410124 386s 0.01516184737296414 386s 0.02832606006174462 386s 0.04121417419979795 386s 0.04670177773892775]; 386s expected = reshape ([expected; expected((end-1):-1:1)], [7 7]); 386s assert (f, expected, eps) 386s ***** test 386s f = fspecial ("gaussian", [7 5], 2); 386s assert (f, f_gaussian_2d ([3 2], 2)) 386s expected = [ 386s 0.01069713252648568 386s 0.01998487459872362 386s 0.02907782096336423 386s 0.03294948784319031 386s 0.02907782096336423 386s 0.01998487459872362 386s 0.01069713252648568 386s 0.01556423598706978 386s 0.02907782096336423 386s 0.04230797985750011 386s 0.04794122192790870 386s 0.04230797985750011 386s 0.02907782096336423 386s 0.01556423598706978 386s 0.01763658993191515 386s 0.03294948784319031 386s 0.04794122192790870 386s 0.05432452146574315]; 386s expected = reshape ([expected; expected((end-1):-1:1)], [7 5]); 386s assert (f, expected, eps) 386s ***** test 386s f = fspecial ("gaussian", [4 2], 2); 386s expected = [0.10945587477855045 0.14054412522144952]; 386s expected = expected([1 1; 2 2; 2 2; 1 1]); 386s assert (f, expected, eps) 386s ***** test 386s expected =[0.04792235409415088 0.06153352068439959 0.07901060453704994]; 386s expected = expected([1 2 2 1; 2 3 3 2; 2 3 3 2; 1 2 2 1]); 386s assert (fspecial ("gaussian", 4, 2), expected) 386s ***** function f = f_gaussian_3d (lengths, sigma) 386s [x, y, z] = ndgrid (-lengths(1):lengths(1), -lengths(2):lengths(2), 386s -lengths(3):lengths(3)); 386s sig_22 = 2 * (sigma.^2); 386s f = exp (-((x.^2)/sig_22 + (y.^2)/sig_22 + (z.^2)/sig_22)); 386s f = f / sum (f(:)); 386s ***** endfunction 386s ***** test 386s obs = fspecial ("gaussian", [5 5 5]); 386s assert (obs, f_gaussian_3d ([2 2 2], .5)) 386s 386s u_values = [ 386s 0.00000000001837155 386s 0.00000000741161178 386s 0.00000005476481523 386s 0.00000299005759843 386s 0.00002209370333384 386s 0.00016325161336690 386s 0.00120627532940896 386s 0.00891323607975882 386s 0.06586040141635063 386s 0.48664620076350640]; 386s expected = zeros (5, 5, 5); 386s expected([1 5 21 25 101 105 121 125]) = u_values(1); 386s 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); 386s expected([3 11 15 23 51 55 71 75 103 111 115 123]) = u_values(3); 386s 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); 386s 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); 386s expected([13 53 61 65 73 113]) = u_values(6); 386s expected([32 34 42 44 82 84 92 94]) = u_values(7); 386s expected([33 37 39 43 57 59 67 69 83 87 89 93]) = u_values(8); 386s expected([38 58 62 64 68 88]) = u_values(9); 386s expected([63]) = u_values(10); 386s assert (obs, expected, 4 * eps) 386s ***** test 386s obs = fspecial ("gaussian", [5 5 5], 1); 386s assert (obs, f_gaussian_3d ([2 2 2], 1)) 386s 386s u_values = [ 386s 0.00016177781678373 386s 0.00072503787330278 386s 0.00119538536377748 386s 0.00324939431236223 386s 0.00535734551968363 386s 0.00883276951279243 386s 0.01456277497493249 386s 0.02400995686159072 386s 0.03958572658629712 386s 0.06526582943894763]; 386s expected = zeros (5, 5, 5); 386s expected([1 5 21 25 101 105 121 125]) = u_values(1); 386s 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); 386s expected([3 11 15 23 51 55 71 75 103 111 115 123]) = u_values(3); 386s 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); 386s 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); 386s expected([13 53 61 65 73 113]) = u_values(6); 386s expected([32 34 42 44 82 84 92 94]) = u_values(7); 386s expected([33 37 39 43 57 59 67 69 83 87 89 93]) = u_values(8); 386s expected([38 58 62 64 68 88]) = u_values(9); 386s expected([63]) = u_values(10); 386s assert (obs, expected, eps) 386s ***** test 386s obs = fspecial ("gaussian", [3 4 1 5], 3); 386s assert (find (obs == max (obs(:))), [29; 32]) 386s assert (size (obs), [3 4 1 5]) 386s assert (obs(:)(1:30), obs(:)(end:-1:31)) 386s ***** test 386s f = repmat (1/9, [3 3]); 386s assert (fspecial ("average", [3 3]), f) 386s 386s ## Test default 386s assert (fspecial ("average"), fspecial ("average", [3 3])) 386s assert (fspecial ("average"), fspecial ("average", [3])) 386s 386s f = repmat (1/21, [3 7]); 386s assert (fspecial ("average", [3 7]), f) 386s 386s f = repmat (1/40, [4 5 1 2]); 386s assert (fspecial ("average", [4 5 1 2]), f) 386s ## Behave even if it's a column vector 386s assert (fspecial ("average", [4 5 1 2]'), f) 386s 16 tests, 16 passed, 0 known failure, 0 skipped 386s [inst/isind.m] 386s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/isind.m 386s ***** assert (isind ([]), false); 386s ***** assert (isind (1:10), true); 386s ***** assert (isind (0:10), false); 386s ***** assert (isind (1), true); 386s ***** assert (isind (0), false); 386s ***** assert (isind ([1.3 2.4]), false); 386s ***** assert (isind ([1 2; 3 4]), true); 386s ***** assert (isind (randi (100, 10, 10, 1, 4)), true); 386s ***** assert (isind (randi (100, 10, 10, 3, 4)), false); 386s ***** assert (isind (randi (100, 10, 10, 1, 4, 2)), false); 386s 10 tests, 10 passed, 0 known failure, 0 skipped 386s [inst/col2im.m] 386s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/col2im.m 386s ***** demo 386s ## Divide A using distinct blocks and then reverse the operation 386s A = [ 1:10 386s 11:20 386s 21:30 386s 31:40]; 386s B = im2col (A, [2 5], "distinct") 386s C = col2im (B, [2 5], [4 10], "distinct") 386s ***** demo 386s ## Get sliding blocks of size from A into columns, calculate the 386s ## mean of each block (mean of each column), and reconstruct A 386s ## after a median filter. 386s A = reshape (1:24, [4 6]) 386s B = im2col (A, [2 3], "sliding") 386s C = mean (B); 386s col2im (C, [1 1], [3 4], "sliding") 386s ***** error col2im (ones (10), [5 5], [10 10], "wrong_block_type"); 386s ***** error col2im (ones (10), [1 1], [ 7 7], "sliding"); 386s ***** error col2im (ones (10), [3 3], [10 10], "distinct") 386s ***** error col2im (ones (10), [5 5], [10 11], "distinct"); 386s ***** assert (col2im (sum (im2col (magic (10), [3 3], "sliding")), [1 1], [8 8]), 386s convn (magic (10), ones (3, 3), "valid")); 386s ***** test 386s B = ones (1, (10-2+1)*(7-3+1)); 386s A = ones ((10-2+1), (7-3+1)); 386s assert (col2im (B, [2 3], [10 7]), A); 386s 386s ## same but different classes 386s assert (col2im (int16 (B), [2 3], [10 7]), int16 (A)); 386s assert (col2im (single (B), [2 3], [10 7]), single (A)); 386s assert (col2im (logical (B), [2 3], [10 7]), logical (A)); 386s ***** test 386s a = rand (10)(:); 386s assert (col2im (a, [1 1], [10 10]), col2im (a, [1 1], [10 10], "sliding")) 386s ***** shared A, B 386s v = [1:10]'; 386s r = reshape (1:10, [2 5]); 386s B = [v v+10 v+20 v+30 v+40 v+50]; 386s A = [r r+30 386s r+10 r+40 386s r+20 r+50]; 386s assert (col2im (B, [2 5], [6 10], "distinct"), A); 386s ***** assert (col2im (int16 (B), [2 5], [6 10], "distinct"), int16 (A)); 386s ***** assert (col2im (logical (B), [2 5], [6 10], "distinct"), logical (A)); 386s ***** assert (col2im (single (B), [2 5], [6 10], "distinct"), single (A)); 386s ***** test 386s a = rand (10, 8); 386s b = im2col (a, [5 5], "distinct"); 386s assert (col2im (b, [5 5], [10 8], "distinct"), a); 386s 386s a = rand (8); 386s b = im2col (a, [5 5], "distinct"); 386s assert (col2im (b, [5 5], [8 8], "distinct"), a); 386s ***** shared a, b 386s ## Same number of multiple dimensions 386s a = rand (10, 10, 10); 386s b = im2col (a, [5 5 5], "distinct"); 386s ***** assert (col2im (b, [5 5 5], [10 10 10], "distinct"), a); 386s 386s ## Different number of dimensions 386s a = rand (10, 10, 10); 386s b = im2col (a, [5 5], "distinct"); 386s ***** assert (col2im (b, [5 5], [10 10 10], "distinct"), a); 386s 386s ## Removing padding from multiple dimensions 386s a = rand (10, 10, 7); 386s b = im2col (a, [5 5 3], "distinct"); 386s ***** assert (col2im (b, [5 5 3], [10 10 7], "distinct"), a); 386s 386s a = rand (10, 10, 7); 386s b = im2col (a, [5 5 5 2], "distinct"); 386s ***** assert (col2im (b, [5 5 5 2], [10 10 7], "distinct"), a); 386s 15 tests, 15 passed, 0 known failure, 0 skipped 386s [inst/imregionalmax.m] 386s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imregionalmax.m 386s ***** test 386s a = [ 386s 7 3 9 3 10 3 386s 4 2 3 10 1 3 386s 1 4 6 9 4 10 386s 8 7 9 3 4 8 386s 5 9 3 3 8 9 386s 3 6 9 4 1 10]; 386s 386s a4 = [ 386s 1 0 1 0 1 0 386s 0 0 0 1 0 0 386s 0 0 0 0 0 1 386s 1 0 1 0 0 0 386s 0 1 0 0 0 0 386s 0 0 1 0 0 1]; 386s assert (imregionalmax (a, 4), logical (a4)) 386s a8 = [ 386s 1 0 0 0 1 0 386s 0 0 0 1 0 0 386s 0 0 0 0 0 1 386s 0 0 0 0 0 0 386s 0 0 0 0 0 0 386s 0 0 0 0 0 1]; 386s assert (imregionalmax (a, 8), logical (a8)) 386s assert (imregionalmax (a), logical (a8)) 386s ***** test 386s ## test float input images 386s im0 = peaks (); 386s im1 = im0 ./ 100; 386s max_pos_expected = [1000; 1214; 1691; 2353]; 386s max0 = imregionalmax (im0); 386s max0_pos = find (max0); 386s max1 = imregionalmax (im1); 386s assert (max1, max0) 386s assert (max0_pos, max_pos_expected) 386s 2 tests, 2 passed, 0 known failure, 0 skipped 386s [inst/findbounds.m] 386s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/findbounds.m 386s ***** test 386s im = checkerboard (); 386s theta = pi/6; 386s T = maketform ('affine', [cos(theta) -sin(theta); ... 386s sin(theta) cos(theta); 0 0]); 386s inbnd = [0 0; 1 1]; 386s outbnd = findbounds (T, inbnd); 386s diag = 2^.5; 386s ang = pi/4; 386s assert (diff (outbnd(:,1)), diag * abs (cos (theta - ang)), eps) 386s assert (diff (outbnd(:,2)), diag * abs (cos (theta - ang)), eps) 386s 1 test, 1 passed, 0 known failure, 0 skipped 386s [inst/rgb2lab.m] 386s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/rgb2lab.m 386s ***** assert (rgb2lab ([0 0 0]), [0, 0, 0], 1e-2) 386s ***** assert (rgb2lab ([1 0 0]), [53.24, 80.09, 67.20], 1e-2) 386s ***** assert (rgb2lab ([1 1 0]), [97.14, -21.55, 94.48], 1e-2) 386s ***** assert (rgb2lab ([0 1 0]), [87.74, -86.18, 83.18], 1e-2) 386s ***** assert (rgb2lab ([0 1 1]), [91.11, -48.09, -14.13], 1e-2) 386s ***** assert (rgb2lab ([0 0 1]), [32.30, 79.19, -107.86], 1e-2) 386s ***** assert (rgb2lab ([1 0 1]), [60.32, 98.24, -60.83], 1e-2) 386s ***** assert (rgb2lab ([1 1 1]), [100, 0.00, 0.00], 1e-2) 386s ***** assert (rgb2lab ([0.5 0.5 0.5]), [53.39, 0.00, 0.00], 1e-2) 386s ***** assert (rgb2lab ([0.75 0 0]), [39.77, 64.51, 54.13], 1e-2) 386s ***** assert (rgb2lab ([0.5 0 0]), [25.42, 47.91, 37.91], 1e-2) 386s ***** assert (rgb2lab ([0.25 0 0]), [9.66, 29.68, 15.24], 1e-2) 386s ***** assert (rgb2lab ([1 0.5 0.5]), [68.11, 48.39, 22.83], 1e-2) 386s ***** assert (rgb2lab ([1.5 1 1]), [111.47, 43.42, 17.98], 1e-2) 386s ***** test 386s rgb_map = rand (64, 3); 386s assert (lab2rgb (rgb2lab (rgb_map)), rgb_map, 2e-5); 386s ***** test 386s rgb_img = rand (64, 64, 3); 386s assert (lab2rgb (rgb2lab (rgb_img)), rgb_img, 2e-5); 386s ***** assert (rgb2lab (sparse ([0 0 1])), sparse ([32.30, 79.19, -107.86]), 1e-2) 386s ***** assert (rgb2lab (sparse ([0 1 1])), sparse ([91.11, -48.09, -14.13]), 1e-2) 386s ***** assert (rgb2lab (sparse ([1 1 1])), sparse ([100, 0.00, 0.00]), 1e-2) 386s ***** assert (rgb2lab (uint8([255 255 255])), [100, 0.00, 0.00], 1e-2) 386s ***** assert (class (rgb2lab (single([1 1 1]))), 'single') 386s ***** error rgb2lab () 386s ***** error rgb2lab (1,2) 386s ***** error rgb2lab ({1}) 386s ***** error rgb2lab (ones (2,2)) 386s ***** test 386s rgb = rand (16, 16, 3, 5); 386s lab = zeros (size (rgb)); 386s for i = 1:5 386s lab(:,:,:,i) = rgb2lab (rgb(:,:,:,i)); 386s endfor 386s assert (rgb2lab (rgb), lab) 386s 26 tests, 26 passed, 0 known failure, 0 skipped 386s [inst/lab2uint8.m] 386s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/lab2uint8.m 386s ***** test 386s cm_uint8 = uint8 ([0 1 2 3 4 127 128 200 254 255]); 386s cm_uint8 = repmat (cm_uint8(:), [1 3]); 386s im2d_uint8 = reshape (cm_uint8, [5 2 3]); 386s imnd_uint8 = permute (im2d_uint8, [1 4 3 2]); 386s 386s cm_uint16 = uint16 ([0 256 512 768 1024 32512 32768 51200 65024 65280]); 386s cm_uint16 = repmat (cm_uint16(:), [1 3]); 386s assert (lab2uint16 (cm_uint8), cm_uint16) 386s im2d_uint16 = reshape (cm_uint16, [5 2 3]); 386s assert (lab2uint16 (im2d_uint8), im2d_uint16) 386s assert (lab2uint16 (imnd_uint8), permute (im2d_uint16, [1 4 3 2])) 386s 386s l1 = 100/255; 386s cm = [ 386s 0 -128 -128 386s l1 -127 -127 386s 2*l1 -126 -126 386s 3*l1 -125 -125 386s 4*l1 -124 -124 386s 127*l1 -1 -1 386s 128*l1 0 0 386s 200*l1 72 72 386s 254*l1 126 126 386s 100 127 127]; 386s im2d = reshape (cm, [5 2 3]); 386s imnd = permute (im2d, [1 4 3 2]); 386s 386s assert (lab2double (cm_uint8), cm) 386s assert (lab2double (im2d_uint8), im2d) 386s assert (lab2double (imnd_uint8), imnd) 386s 386s assert (lab2single (cm_uint8), single (cm)) 386s assert (lab2single (im2d_uint8), single (im2d)) 386s assert (lab2single (imnd_uint8), single (imnd)) 387s 1 test, 1 passed, 0 known failure, 0 skipped 387s [inst/imfuse.m] 387s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imfuse.m 387s ***** error id=Octave:invalid-fun-call imfuse () 387s ***** error id=Octave:invalid-input-arg imfuse (1, 1, "xxx") 387s ***** error id=Octave:invalid-input-arg imfuse (1, 1, "interpolation") 387s ***** error id=Octave:invalid-input-arg imfuse (1, 1, "ColorChannels", [0 0 0]) 387s ***** error id=Octave:invalid-input-arg imfuse (1, 1, "ColorChannels", [1 1 1]) 387s ***** error id=Octave:invalid-input-arg imfuse (1, 1, "ColorChannels", [2 2 2]) 387s ***** error id=Octave:expected-less-equal imfuse (1, 1, "ColorChannels", [42 0 0]) 387s ***** error id=Octave:expected-greater-equal imfuse (1, 1, "ColorChannels", [-1 2 0]) 387s ***** error id=Octave:invalid-input-arg imfuse (1, 1, "ColorChannels", "deep-purple") 387s ***** assert (imfuse (1, 2, "blend"), uint8 (0)) 387s ***** assert (imfuse (1, 2, "blend", "Scaling", "independent"), uint8 (0)) 387s ***** assert (imfuse (1, 2, "blend", "Scaling", "joint"), uint8 (128)) 387s ***** assert (imfuse (1, 2, "blend", "Scaling", "none"), uint8 (255)) 387s ***** assert (imfuse (1, 2, "falsecolor"), uint8 (zeros (1, 1, 3))) 387s ***** test 387s a = [0 1 2]; 387s b = [0 10 20]; 387s expected = uint8 (repmat ([0 128 255], [1 1 3])); 387s assert (imfuse (a, b), expected); 387s ***** test 387s a = uint8 ([0 1 2]); 387s b = uint8 ([0 10 20]); 387s expected = uint8 (repmat ([0 128 255], [1 1 3])); 387s assert (imfuse (a, b), expected); 387s ***** test 387s a = uint8 ([0 1 2]); 387s b = uint8 ([0 10 20]); 387s expected = uint8 (repmat ([0 128 255], [1 1 3])); 387s assert (imfuse (a, b, "falsecolor"), expected); 387s ***** test 387s a = logical([0 1 1]); 387s b = logical([0 1 1]); 387s expected = uint8 (repmat ([0 255 255], [1 1 3])); 387s assert (imfuse (a, b), expected); 387s ***** test 387s a = logical([0 1 1]); 387s b = logical([0 1 1]); 387s expected = uint8 (repmat ([0 255 255], [1 1 3])); 387s assert (imfuse (a, b, "falsecolor"), expected); 387s ***** test 387s a = [0 1 2]; 387s b = [0 10 20]; 387s expected = uint8 (repmat ([0 255 255], [1 1 3])); 387s assert (imfuse (a, b, "Scaling", "none"), expected); 387s ***** test 387s a = uint8 ([0 1 2]); 387s b = uint8 ([0 10 20]); 387s expected = uint8 (zeros ([1, 3, 3])); 387s expected(:, :, 1) = [0 10 20]; 387s expected(:, :, 2) = [0 1 2]; 387s expected(:, :, 3) = [0 10 20]; 387s assert (imfuse (a, b, "Scaling", "none"), expected); 387s ***** test 387s a = [0 1 2]; 387s b = uint8 ([0 10 20]); 387s expected = uint8 (zeros ([1, 3, 3])); 387s expected(:, :, 1) = [0 10 20]; 387s expected(:, :, 2) = [0 255 255]; 387s expected(:, :, 3) = [0 10 20]; 387s assert (imfuse (a, b, "Scaling", "none"), expected); 387s ***** test 387s a = uint8 ([0 1 2]); 387s b = [0 10 20]; 387s expected = uint8 (zeros ([1, 3, 3])); 387s expected(:, :, 1) = [0 255 255]; 387s expected(:, :, 2) = [0 1 2]; 387s expected(:, :, 3) = [0 255 255]; 387s assert (imfuse (a, b, "Scaling", "none"), expected); 387s ***** test 387s a = [0 .1 2]; 387s b = [0 .01 .02]; 387s expected = uint8 (zeros ([1, 3, 3])); 387s expected(:, :, 1) = [0 3 5]; 387s expected(:, :, 2) = [0 26 255]; 387s expected(:, :, 3) = [0 3 5]; 387s assert (imfuse (a, b, "Scaling", "none"), expected); 387s ***** test 387s a = [0 1 2]; 387s b = [0 10 20]; 387s expected = uint8 (zeros ([1, 3, 3])); 387s expected(:, :, 1) = [0 128 255]; 387s expected(:, :, 2) = [0 13 26]; 387s expected(:, :, 3) = [0 128 255]; 387s assert (imfuse (a, b, "Scaling", "joint"), expected); 387s ***** test 387s a = uint8 ([0 1 2]); 387s b = [0 10 20]; 387s expected = uint8 (zeros ([1, 3, 3])); 387s expected(:, :, 1) = [0 128 255]; 387s expected(:, :, 2) = [0 13 26]; 387s expected(:, :, 3) = [0 128 255]; 387s assert (imfuse (a, b, "Scaling", "joint"), expected); 387s ***** test 387s a = [0 150 300]; 387s b = uint8 ([0 10 20]); 387s expected = uint8 (zeros ([1, 3, 3])); 387s expected(:, :, 1) = [0 9 17]; 387s expected(:, :, 2) = [0 128 255]; 387s expected(:, :, 3) = [0 9 17]; 387s assert (imfuse (a, b, "Scaling", "joint"), expected); 387s ***** test 387s a = uint8 ([0 1 2]); 387s b = uint8 ([0 10 20]); 387s expected = uint8 (zeros ([1, 3, 3])); 387s expected(:, :, 1) = [0 128 255]; 387s expected(:, :, 2) = [0 13 26]; 387s expected(:, :, 3) = [0 128 255]; 387s assert (imfuse (a, b, "Scaling", "joint"), expected); 387s ***** test 387s a = [0 1 2]; 387s b = [0 10 20]; 387s expected = uint8 (zeros ([1, 3, 3])); 387s expected(:, :, 1) = [0 0 0]; 387s expected(:, :, 2) = [0 128 255]; 387s expected(:, :, 3) = [0 13 26]; 387s assert (imfuse (a, b, "Scaling", "joint", "ColorChannels", [0 2 1]), expected); 387s ***** test 387s a = [0 1 2]; 387s b = [0 10 15]; 387s c = imfuse (a, b, "ColorChannels", "red-cyan"); 387s expected = uint8 (zeros (1, 3, 3)); 387s expected(:, :, 1) = [0 128 255]; 387s expected(:, :, 2) = [0 170 255]; 387s expected(:, :, 3) = [0 170 255]; 387s assert (c, expected); 387s ***** test 387s a = [0 1 2]; 387s b = [0 10 15]; 387s c = imfuse (a, b, "ColorChannels", "green-magenta"); 387s expected = uint8 (zeros (1, 3, 3)); 387s expected(:, :, 1) = [0 170 255]; 387s expected(:, :, 2) = [0 128 255]; 387s expected(:, :, 3) = [0 170 255]; 387s assert (c, expected); 387s ***** test 387s a = [0 5 2]; 387s b = [0 10 20]; 387s assert (imfuse (a, b, "diff"), uint8 ([0 213 255])); 387s ***** test 387s a = [0 5 2]; 387s b = [0 10 20]; 387s assert (imfuse (a, b, "diff", "Scaling", "joint"), uint8 ([0 71 255])); 387s ***** test 387s a = [0 5 2]; 387s b = [0 10 20]; 387s assert (imfuse (a, b, "blend"), uint8 ([0 192 179])); 387s ***** test 387s a = magic (5); 387s b = a'; 387s c = imfuse (a, b, "falsecolor"); 387s expected = zeros (5, 5, 3); 387s expected(:, :, 1) = [ 387s 170 234 32 96 106 387s 244 43 53 117 181 387s 0 64 128 191 255 387s 74 138 202 213 11 387s 149 159 223 21 85]; 387s expected(:, :, 2) = [ 387s 170 244 0 74 149 387s 234 43 64 138 159 387s 32 53 128 202 223 387s 96 117 191 213 21 387s 106 181 255 11 85]; 387s expected(:, :, 3) = [ 387s 170 234 32 96 106 387s 244 43 53 117 181 387s 0 64 128 191 255 387s 74 138 202 213 11 387s 149 159 223 21 85]; 387s assert (c, uint8 (expected)); 387s ***** test 387s a = magic (5); 387s b = a'; 387s assert (imfuse (uint8 (a), uint8 (b), "blend", "Scaling", "none"), 387s uint8 ([17 24 3 9 13 387s 24 5 7 13 17 387s 3 7 13 20 24 387s 9 13 20 21 3 387s 13 17 24 3 9])); 387s ***** test 387s a = magic (5); 387s b = 2 * a'; 387s assert (imfuse (a, b, "blend", "Scaling", "independent"), 387s uint8 ([170 239 16 85 128 387s 239 43 59 128 170 387s 16 59 128 197 239 387s 85 128 197 213 16 387s 128 170 239 16 85])); 387s ***** test 387s a = magic (5); 387s b = 2 * a'; 387s assert (imfuse (a, b, "blend", "Scaling", "joint"), 387s uint8 ([128 177 18 68 91 387s 180 34 44 94 130 387s 11 47 96 146 182 387s 63 99 149 159 13 387s 102 125 175 16 65])); 387s ***** test 387s a = [0 1.2 5]; 387s b = [5 6.13 12]; 387s assert (imfuse (a, b, "blend"), uint8 ([0 51 255])); 387s ***** test 387s a = [0 5 2]; 387s b = [0 10 20]; 387s assert (imfuse (a, b, "blend", "Scaling", "joint"), uint8 ([0 96 141])); 387s ***** test 387s a = [0 5 2]; 387s b = [0 10 20]; 387s assert (imfuse (a, b, "montage"), uint8 ([0 255 102 0 128 255])); 387s ***** test 387s a = zeros (1, 100); 387s b = 2 * ones (1, 100); 387s assert (imfuse (a, b, "montage"), uint8 ([zeros(1, 200)])); 387s assert (imfuse (a, b, "montage", "Scaling", "none"), 387s uint8 ([zeros(1, 100), 255 * ones(1, 100)])); 387s ***** test 387s a = zeros (1, 100, 3); 387s b = 2 * ones (1, 100); 387s assert (imfuse (a, b, "montage"), uint8 ([zeros(1, 200, 3)])); 387s ***** test 387s a = 0.1 * ones (50, 50); 387s b = 0.2 * ones (50, 50); 387s c = imfuse (a, b, "checkerboard", "Scaling", "none"); 387s d = imresize (repmat([26, 51; 51, 26], [8, 8]), [50, 50], "nearest"); 387s assert (all (c(:) == d(:))); 387s ***** test 387s a = zeros (2, 2); 387s b = zeros (2, 2); 387s ra = imref2d (size (a), [0, 2], [0, 2]); 387s rb = imref2d (size (b), [0, 2], [2, 4]); 387s [c, rc] = imfuse (a, ra, b, rb, "falsecolor"); 387s assert (rc.ImageSize, [4, 2]); 387s assert (rc.XWorldLimits, [0, 2]); 387s assert (rc.YWorldLimits, [0, 4]); 387s assert (rc.PixelExtentInWorldX, 1); 387s assert (rc.PixelExtentInWorldY, 1); 387s assert (rc.ImageExtentInWorldX, 2); 387s assert (rc.ImageExtentInWorldY, 4); 387s assert (rc.XIntrinsicLimits, [0.5, 2.5]); 387s assert (rc.YIntrinsicLimits, [0.5, 4.5]); 387s assert (c, uint8 (zeros (4, 2, 3))); 387s ***** xtest 387s a = zeros (5, 3); 387s b = ones (6, 5); 387s ra = imref2d (size (a), [15, 30], [2, 4]); 387s rb = imref2d (size (b), [10, 50], [5.5, 6.7]); 387s [c, rc] = imfuse (a, ra, b, rb, "falsecolor"); 387s assert (rc.ImageSize, [24, 8]); 387s assert (rc.XWorldLimits, [10, 50]); 387s assert (rc.YWorldLimits, [2, 6.7]); 387s assert (rc.PixelExtentInWorldX, 5); 387s assert (rc.PixelExtentInWorldY, 0.19583333, 10e-9); 387s assert (rc.ImageExtentInWorldX, 40); 387s assert (rc.ImageExtentInWorldY, 4.7); 387s assert (rc.XIntrinsicLimits, [0.5, 8.5]); 387s assert (rc.YIntrinsicLimits, [0.5, 24.5]); 387s expected = uint8 (zeros (24, 8, 3)); 387s expected(19:23, 2:7, 1) = 255 * ones (5, 6); 387s expected(19:23, 2:7, 3) = 255 * ones (5, 6); 387s assert (c, expected); 387s !!!!! known failure 387s ASSERT errors for: assert (c,expected) 387s 387s Location | Observed | Expected | Reason 387s (19,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (20,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (21,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (22,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (23,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (19,3,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (20,3,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (21,3,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (22,3,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (23,3,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (19,4,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (20,4,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (21,4,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (22,4,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (23,4,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (19,5,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (20,5,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (21,5,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (22,5,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (23,5,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (19,6,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (20,6,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (21,6,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (22,6,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (23,6,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (19,7,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (20,7,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (21,7,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (22,7,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (23,7,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (19,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (20,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (21,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (22,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (23,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (19,3,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (20,3,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (21,3,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (22,3,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (23,3,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (19,4,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (20,4,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (21,4,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (22,4,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (23,4,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (19,5,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (20,5,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (21,5,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (22,5,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (23,5,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (19,6,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (20,6,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (21,6,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (22,6,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (23,6,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (19,7,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (20,7,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (21,7,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (22,7,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (23,7,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s ***** test 387s a = uint8 (reshape (1:1:9, [1 3 3])); 387s b = uint8 (reshape (10:2:26, [1 3 3])); 387s c = imfuse (a, b); 387s expected = uint8 (zeros (1, 3, 3)); 387s expected(:, :, 1) = [0 128 255]; 387s expected(:, :, 2) = [0 128 255]; 387s expected(:, :, 3) = [0 128 255]; 387s assert (c, expected); 387s ***** test 387s a = uint8 (reshape (1:1:9, [1 3 3])); 387s b = uint8 (reshape (10:2:26, [1 3 3])); 387s c = imfuse (a, b, "Scaling", "independent"); 387s expected = uint8 (zeros (1, 3, 3)); 387s expected(:, :, 1) = [0 128 255]; 387s expected(:, :, 2) = [0 128 255]; 387s expected(:, :, 3) = [0 128 255]; 387s assert (c, expected); 387s ***** test 387s a = uint8 (reshape (1:1:9, [1 3 3])); 387s b = uint8 (reshape (10:2:26, [1 3 3])); 387s c = imfuse (a, b, "Scaling", "joint"); 387s expected = uint8 (zeros (1, 3, 3)); 387s expected(:, :, 1) = [191 223 255]; 387s expected(:, :, 2) = [0 16 32]; 387s expected(:, :, 3) = [191 223 255]; 387s assert (c, expected); 387s ***** test 387s a = uint8 (reshape (1:1:9, [1 3 3])); 387s b = uint8 (reshape (10:2:26, [1 3 3])); 387s c = imfuse (a, b, "Scaling", "none"); 387s expected = uint8 (zeros (1, 3, 3)); 387s expected(:, :, 1) = [15 17 19]; 387s expected(:, :, 2) = [3 4 5]; 387s expected(:, :, 3) = [15 17 19]; 387s assert (c, expected); 387s ***** xtest 387s a = zeros (5, 3); 387s b = ones (5, 3); 387s ra = imref2d (size (a), [10, 20], [30, 40]); 387s rb = imref2d (size (b), [10, 20], [30, 40]); 387s [c, rc] = imfuse (a, ra, b, rb, "falsecolor"); 387s expected = uint8 (zeros (5, 3, 3)); 387s expected(:, 1:2, 1) = 255 * ones (5, 2); 387s expected(:, 1:2, 3) = 255 * ones (5, 2); 387s assert (rc.ImageSize, [5, 3]); 387s assert (rc.XWorldLimits, [10, 20]); 387s assert (rc.YWorldLimits, [30, 40]); 387s assert (rc.PixelExtentInWorldX, 3.33333333, 10e-9); 387s assert (rc.PixelExtentInWorldY, 2); 387s assert (rc.ImageExtentInWorldX, 10); 387s assert (rc.ImageExtentInWorldY, 10); 387s assert (rc.XIntrinsicLimits, [0.5, 3.5]); 387s assert (rc.YIntrinsicLimits, [0.5, 5.5]); 387s assert (c, expected); 387s !!!!! known failure 387s ASSERT errors for: assert (c,expected) 387s 387s Location | Observed | Expected | Reason 387s (1,1,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (2,1,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (3,1,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (4,1,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (5,1,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (1,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (2,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (3,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (4,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (5,2,1) 0 255 Abs err 0 exceeds tol 0 by 0 387s (1,1,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (2,1,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (3,1,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (4,1,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (5,1,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (1,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (2,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (3,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (4,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s (5,2,3) 0 255 Abs err 0 exceeds tol 0 by 0 387s ***** test 387s a = zeros (5, 5); 387s b = ones (5, 5); 387s ra = imref2d (size (a), [10, 20], [30, 40]); 387s rb = imref2d (size (b), [10, 20], [30, 40]); 387s [c, rc] = imfuse (a, ra, b, rb, "falsecolor"); 387s expected = uint8 (zeros (5, 5, 3)); 387s assert (rc.ImageSize, [5, 5]); 387s assert (rc.XWorldLimits, [10, 20]); 387s assert (rc.YWorldLimits, [30, 40]); 387s assert (rc.PixelExtentInWorldX, 2); 387s assert (rc.PixelExtentInWorldY, 2); 387s assert (rc.ImageExtentInWorldX, 10); 387s assert (rc.ImageExtentInWorldY, 10); 387s assert (rc.XIntrinsicLimits, [0.5, 5.5]); 387s assert (rc.YIntrinsicLimits, [0.5, 5.5]); 387s assert (c, expected); 387s ***** test 387s a = magic (5); 387s b = ones (5, 5); 387s ra = imref2d (size (a), [10, 20], [30, 40]); 387s rb = imref2d (size (b), [10, 20], [30, 40]); 387s [c, rc] = imfuse (a, ra, b, rb, "falsecolor", "Scaling", "independent"); 387s expected = uint8 (zeros (5, 5, 3)); 387s expected(:, :, 2) = [ 387s 170 244 0 74 149 387s 234 43 64 138 159 387s 32 53 128 202 223 387s 96 117 191 213 21 387s 106 181 255 11 85]; 387s assert (rc.ImageSize, [5, 5]); 387s assert (rc.XWorldLimits, [10, 20]); 387s assert (rc.YWorldLimits, [30, 40]); 387s assert (rc.PixelExtentInWorldX, 2); 387s assert (rc.PixelExtentInWorldY, 2); 387s assert (rc.ImageExtentInWorldX, 10); 387s assert (rc.ImageExtentInWorldY, 10); 387s assert (rc.XIntrinsicLimits, [0.5, 5.5]); 387s assert (rc.YIntrinsicLimits, [0.5, 5.5]); 387s assert (c, expected); 387s 53 tests, 51 passed, 2 known failures, 0 skipped 387s [inst/affine3d.m] 387s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/affine3d.m 387s ***** test 387s Sx = 1.2; 387s Sy = 1.6; 387s Sz = 2.4; 387s A = [Sx 0 0 0; 0 Sy 0 0; 0 0 Sz 0; 0 0 0 1]; 387s tform = affine3d (A); 387s [X, Y, Z] = transformPointsForward (tform, 5, 10, 3); 387s assert ([X Y Z], [6 16 7.2], 5*eps) 387s [U, V, W] = transformPointsInverse (tform, X, Y, Z); 387s assert ([U V W], [5 10 3], eps) 387s assert (! isRigid (tform)) 387s assert (! isTranslation (tform)) 387s assert (! isSimilarity (tform)) 387s ***** test 387s A = [3 1 2 0; 4 5 8 0; 6 2 1 0; 0 0 0 1]; 387s tform = affine3d (A); 387s [X, Y, Z] = transformPointsForward (tform, 2, 3, 5); 387s assert (X, 48, eps) 387s assert (Y, 27, eps) 387s assert (Z, 33, eps) 387s [U, V, W] = transformPointsInverse (tform, X, Y, Z); 387s assert (U, 2, 50*eps) 387s assert (V, 3, 50*eps) 387s assert (W, 5, 50*eps) 387s assert (! isRigid (tform)) 387s assert (! isTranslation (tform)) 387s assert (! isSimilarity (tform)) 387s ***** test 387s A = [1 0 0 0; 0 1 0 0; 0 0 1 0; 5 10 1 1]; 387s tform = affine3d (A); 387s X = transformPointsForward (tform, [1 2 3; 4 5 6; 7 8 9]); 387s assert (round (X), [6, 12, 4; 9, 15, 7; 12, 18, 10]) 387s U = transformPointsInverse (tform, X); 387s assert (round (U), [1 2 3; 4 5 6; 7 8 9]) 387s assert (isRigid (tform)) 387s assert (isTranslation (tform)) 387s assert (isSimilarity (tform)) 387s ***** test 387s Sx = 1.2; 387s Sy = 1.6; 387s Sz = 2.4; 387s A = [Sx 0 0 0; 0 Sy 0 0; 0 0 Sz 0; 0 0 0 1]; 387s tform = affine3d (A); 387s [xlim, ylim, zlim] = outputLimits (tform, [1 128], [1 128], [1 27]); 387s assert (xlim, [ 1.2000 153.6000],1e-8) 387s assert (ylim, [1.6000 204.8000], 1e-8) 387s assert (zlim, [2.4000 64.8000], 1e-8) 387s ***** error affine3d (1, 2) 387s ***** error outputLimits (affine2d()) 387s ***** test 387s a = 23; 387s M = [cosd(a) 0 sind(a) 0; 387s 0 1 0 0; 387s -sind(a) 0 cosd(a) 0; 387s 0 0 0 1]; 387s tform = affine3d (M); 387s tform2 = invert (tform); 387s assert (tform.T * tform2.T, diag([1 1 1 1]), eps); 387s ***** test 387s tform = affine3d; 387s assert (tform.T, eye (4)) 387s assert (tform.Dimensionality, 3) 387s 8 tests, 8 passed, 0 known failure, 0 skipped 387s [inst/isgray.m] 387s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/isgray.m 387s ***** assert (isgray ([0 0 1; 1 0 1]), true) 387s ***** assert (isgray (zeros (3)), true) 387s ***** assert (isgray (ones (3)), true) 387s ***** test 387s a = rand (10); 387s assert (isgray (a), true); 387s a(5, 5) = 2; 387s assert (isgray (a), false); 387s ***** test 387s a = uint8 (randi (255, 10)); 387s assert (isgray (a), true); 387s a = int8 (a); 387s assert (isgray (a), false); 387s ***** test 387s a = rand (10); 387s a(50) = NaN; 387s assert (isgray (a), true); 387s ***** assert (isgray (rand (5, 5, 1, 4)), true); 387s ***** assert (isgray (rand (5, 5, 3, 4)), false); 387s ***** assert (isgray (rand (5, 5, 3)), false); 387s ***** assert (isgray (rand (5, 5, 1, 3, 4)), false); 387s ***** assert (isgray (rand (5, "single")), true) 387s ***** assert (isgray ([.1 .2 .3; .4 NaN .6; .7 .8 .9]), true) 387s ***** assert (isgray ([.1 .2 .3; NA NaN .6; .7 .8 .9]), true) 387s ***** assert (isgray ([.1 .2 .3; NA .5 .6; .7 .8 .9]), true) 387s ***** assert (isgray (NaN (5)), false) 387s ***** assert (isgray (NA (5)), false) 387s 16 tests, 16 passed, 0 known failure, 0 skipped 387s [inst/imsubtract.m] 387s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imsubtract.m 387s ***** assert (imsubtract (uint8 ([23 250]), uint8 ([24 50])), uint8 ([ 0 200])); # default to first class and truncate 387s ***** assert (imsubtract (uint8 ([23 250]), 10), uint8 ([13 240])); # works subtracting a scalar 387s ***** assert (imsubtract (uint8 ([23 250]), uint8 ([24 50]), "uint16"), uint16 ([ 0 200])); # defining output class works (not in matlab) 387s ***** assert (imsubtract (logical ([ 1 0]), logical ([ 1 1])), double ([ 0 -1])); # return double for two logical images 387s ***** assert (imsubtract (logical ([ 1 0]), logical ([ 1 1]), "logical"), logical ([ 0 0])); # this is matlab incompatible on purpose 387s ***** error imsubtract (uint8 ([23 250]), uint16 ([23 250])); 387s ***** warning imsubtract (uint8 ([23 250]), uint8 ([24 255]), "int8"); 387s ***** test 387s warning ("off", "all"); 387s assert (imsubtract (uint8 ([23 250]), uint8 ([24 255]), "int8"), 387s int8 ([-1 0])) 387s 8 tests, 8 passed, 0 known failure, 0 skipped 387s [inst/imclearborder.m] 387s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imclearborder.m 387s ***** test 387s a = logical ([ 387s 0 1 0 0 1 0 0 0 0 1 387s 1 0 0 0 0 1 0 0 0 0 387s 0 1 0 0 0 0 0 0 0 0 387s 1 0 1 0 1 0 1 0 0 1 387s 0 0 0 0 0 0 0 1 1 0 387s 0 0 1 0 0 1 0 1 0 0 387s 0 1 0 1 0 1 1 0 0 0 387s 0 0 0 1 0 0 0 0 0 0 387s 0 0 0 1 0 1 1 0 0 0 387s 0 0 0 1 1 0 0 0 1 0]); 387s 387s a4 = logical ([ 387s 0 0 0 0 0 0 0 0 0 0 387s 0 0 0 0 0 1 0 0 0 0 387s 0 1 0 0 0 0 0 0 0 0 387s 0 0 1 0 1 0 1 0 0 0 387s 0 0 0 0 0 0 0 1 1 0 387s 0 0 1 0 0 1 0 1 0 0 387s 0 1 0 0 0 1 1 0 0 0 387s 0 0 0 0 0 0 0 0 0 0 387s 0 0 0 0 0 1 1 0 0 0 387s 0 0 0 0 0 0 0 0 0 0]); 387s 387s a8 = logical ([ 387s 0 0 0 0 0 0 0 0 0 0 387s 0 0 0 0 0 0 0 0 0 0 387s 0 0 0 0 0 0 0 0 0 0 387s 0 0 0 0 1 0 0 0 0 0 387s 0 0 0 0 0 0 0 0 0 0 387s 0 0 0 0 0 0 0 0 0 0 387s 0 0 0 0 0 0 0 0 0 0 387s 0 0 0 0 0 0 0 0 0 0 387s 0 0 0 0 0 0 0 0 0 0 387s 0 0 0 0 0 0 0 0 0 0]); 387s 387s assert (imclearborder (a, 4), a4) 387s assert (imclearborder (a, [0 1 0; 1 1 1; 0 1 0]), a4) 387s assert (imclearborder (a), a8) 387s assert (imclearborder (a, 8), a8) 387s assert (imclearborder (a, ones (3)), a8) 387s ***** test 387s a = false (5, 5, 3); 387s a(2:4,2:4,:) = true; 387s assert (imclearborder (a, 4), a) 387s 387s a(1,2) = true; 387s a4 = a; 387s a4(:,:,1) = false; 387s assert (imclearborder (a, 4), a4) 387s 2 tests, 2 passed, 0 known failure, 0 skipped 387s [inst/entropyfilt.m] 387s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/entropyfilt.m 387s ***** test 387s a = log2 (9) * ones (5, 5); 387s b = -(2*log2 (2/9) + log2 (1/9))/3; 387s a(1,2:4) = b; 387s a(5,2:4) = b; 387s a(2:4,1) = b; 387s a(2:4,5) = b; 387s c = -(4*log2 (4/9) + 4*log2 (2/9) + log2 (1/9))/9; 387s a(1,1) = c; 387s a(5,1) = c; 387s a(1,5) = c; 387s a(5,5) = c; 387s assert (entropyfilt (uint8 (magic (5)), ones (3, 3)), a, 2*eps); 387s ***** test 387s assert (entropyfilt (uint8 (ones (10, 10))), zeros (10, 10)); 387s ***** test 387s A = zeros (3,3); 387s B = ones (3,3); 387s C = [1 1 1; 2 2 2; 3 3 3]; 387s D = C'; 387s E = ones (3,3); 387s E(2,2) = 2; 387s F = 3 .* ones (3,3); 387s F(2,2) = 1; 387s G = [-1 2 7; -5 2 8; -7 pi 9]; 387s H = [5 2 8; 1 -3 1; 5 1 0]; 387s Hf = mat2gray(H); 387s X = uint8(abs(H)); 387s P = [0.2 0.201 0.204; 0.202 0.203 0.205; 0.205 0.206 0.202]; 387s Q = uint16([100 101 103; 100 105 102; 100 102 103]); 387s 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]); 387s Aout = zeros (3); 387s Bout = zeros (3); 387s Cout = zeros (3); 387s Dout = zeros (3); 387s Eout = zeros (3); 387s Fout = zeros (3); 387s Gout_1 = -sum([2 7]./9.*log2([2 7]./9)); 387s Gout_2 = -sum([3 6]./9.*log2([3 6]./9)); 387s Gout_3 = -sum([4 5]./9.*log2([4 5]./9)); 387s Gout = [Gout_1 Gout_2 Gout_3; Gout_1 Gout_2 Gout_3; Gout_1 Gout_2 Gout_3]; 387s Hout_5 = -sum([2 7]./9.*log2([2 7]./9)) ; 387s Hout = [0.8916 0.8256 0.7412; 0.8256 Hout_5 0.6913; 0.7412 0.6913 0.6355]; 387s Hfout_5 = -sum([3 2 1 1 1 1]./9.*log2([3 2 1 1 1 1]./9)); 387s Hfout = [2.3613 2.3296 2.2252; 2.4571 Hfout_5 2.3090; 2.4805 2.4488 2.3445]; 387s Xout_5 = -sum([1 1 1 1 2 3]./9.*log2([1 1 1 1 2 3]./9)); 387s Xout = [2.3613 2.3296 2.2252; 2.4571 Xout_5 2.3090; 2.4805 2.4488 2.3445]; 387s Pout_5 = -sum([1 2 6]./9.*log2([1 2 6]./9)); 387s Pout = [1.1137 1.1730 1.2251; 1.1595 Pout_5 1.2774; 1.1556 1.2183 1.2635]; 387s Qout = zeros(3); 387s Rout = [3.5143 3.5700 3.4871 3.4957 3.4825; 387s 3.4705 3.5330 3.4341 3.4246 3.3890; 387s 3.3694 3.4063 3.3279 3.3386 3.3030; 387s 3.3717 3.4209 3.3396 3.3482 3.3044; 387s 3.4361 3.5047 3.3999 3.4236 3.3879]; 387s assert (entropyfilt (A), Aout); 387s assert (entropyfilt (B), Bout); 387s assert (entropyfilt (C), Cout); 387s assert (entropyfilt (D), Dout); 387s assert (entropyfilt (E), Eout); 387s assert (entropyfilt (F), Fout); 387s assert (entropyfilt (G), Gout, 1e-4); 387s assert (entropyfilt (H), Hout, 1e-4); 387s assert (entropyfilt (Hf), Hfout, 1e-4); 387s assert (entropyfilt (X), Xout, 1e-4); 387s assert (entropyfilt (P), Pout, 1e-4); 387s assert (entropyfilt (Q), Qout); 387s assert (entropyfilt (R), Rout, 1e-4); 387s 3 tests, 3 passed, 0 known failure, 0 skipped 387s [inst/imsharpen.m] 387s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imsharpen.m 387s ***** test 387s A = zeros (7, 7); 387s A(4,4) = 1; 387s B = [ 387s 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 387s 0.00000 -0.00238 -0.01064 -0.01755 -0.01064 -0.00238 0.00000 387s 0.00000 -0.01064 -0.04771 -0.07866 -0.04771 -0.01064 0.00000 387s 0.00000 -0.01755 -0.07866 1.67032 -0.07866 -0.01755 0.00000 387s 0.00000 -0.01064 -0.04771 -0.07866 -0.04771 -0.01064 0.00000 387s 0.00000 -0.00238 -0.01064 -0.01755 -0.01064 -0.00238 0.00000 387s 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000]; 387s assert (imsharpen (A), B, 5e-6) 387s ***** test 387s A = zeros (7, 7); 387s A(4,4) = 1; 387s B = [ 387s -0.0035147 -0.0065663 -0.0095539 -0.0108259 -0.0095539 -0.0065663 -0.0035147 387s -0.0065663 -0.0122674 -0.0178490 -0.0202255 -0.0178490 -0.0122674 -0.0065663 387s -0.0095539 -0.0178490 -0.0259701 -0.0294280 -0.0259701 -0.0178490 -0.0095539 387s -0.0108259 -0.0202255 -0.0294280 1.7666538 -0.0294280 -0.0202255 -0.0108259 387s -0.0095539 -0.0178490 -0.0259701 -0.0294280 -0.0259701 -0.0178490 -0.0095539 387s -0.0065663 -0.0122674 -0.0178490 -0.0202255 -0.0178490 -0.0122674 -0.0065663 387s -0.0035147 -0.0065663 -0.0095539 -0.0108259 -0.0095539 -0.0065663 -0.0035147]; 387s assert (imsharpen (A, "radius", 2), B, 5e-8) 388s ***** test 388s A = zeros (7, 7); 388s A(4,4) = 1; 388s assert (imsharpen (A, "radius", 0.01), A) 388s ***** test 388s A = zeros (7, 7); 388s A(4,4) = 1; 388s B = A; 388s B(3:5,3:5) = -0.000000000011110; 388s B(3:5,4) = -0.000002981278097; 388s B(4,3:5) = -0.000002981278097; 388s B(4,4) = 1.000011925156828; 388s assert (imsharpen (A, "radius", 0.2), B, eps*10) 388s ***** test 388s A = zeros (7, 7); 388s A(4,4) = 1; 388s B = [ 388s 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 388s 0.00000 -0.00297 -0.01331 -0.02194 -0.01331 -0.00297 0.00000 388s 0.00000 -0.01331 -0.05963 -0.09832 -0.05963 -0.01331 0.00000 388s 0.00000 -0.02194 -0.09832 1.83790 -0.09832 -0.02194 0.00000 388s 0.00000 -0.01331 -0.05963 -0.09832 -0.05963 -0.01331 0.00000 388s 0.00000 -0.00297 -0.01331 -0.02194 -0.01331 -0.00297 0.00000 388s 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000]; 388s assert (imsharpen (A, "amount", 1), B, 5e-6) 388s ***** test 388s A = zeros (7, 7); 388s A(4,4) = 1; 388s B = zeros (7, 7); 388s B(4,4) = 1.670317742690299; 388s B(4,3) = -0.078656265079077; 388s B(3,4) = -0.078656265079077; 388s B(4,5) = -0.078656265079077; 388s B(5,4) = -0.078656265079077; 388s assert (imsharpen (A, "Threshold", 0.117341762), B, eps*10) 388s ***** test 388s A = zeros (7, 7); 388s A(4,4) = 1; 388s B = zeros (7, 7); 388s B(4,4) = 1.670317742690299; 388s assert (imsharpen (A, "Threshold", 0.117341763), B, eps*10) 388s ***** test 388s A = zeros (7, 7, "uint8"); 388s A(3:5,3:5) = 150; 388s B = zeros (7, 7, "uint8"); 388s B(3:5,3:5) = 211; 388s B(4,3:5) = 195; 388s B(3:5,4) = 195; 388s B(4,4) = 175; 388s assert (imsharpen (A), B) 388s ***** test 388s A = zeros (7, 7, "uint8"); 388s A(3:5,3:5) = 100; 388s B = zeros (7, 7, "uint8"); 388s B(3:5,3:5) = 173; 388s assert (imsharpen (A, "radius", 4), B) 388s ***** test 388s A = zeros (7, 7, 3, "uint8"); 388s A(4,4,:) = 255; 388s assert (imsharpen (A), A) 388s ***** xtest 388s A = zeros(7,7,3, "uint8"); 388s A(4,4,1) = 255; 388s B = A; 388s B(4,4,2) = 146; # Octave result is 145; 388s B(4,4,3) = 100; # Octave result is 99; 388s assert (imsharpen (A), B) 388s !!!!! known failure 388s ASSERT errors for: assert (imsharpen (A),B) 388s 388s Location | Observed | Expected | Reason 388s (4,4,2) 145 146 Abs err 0 exceeds tol 0 by 0 388s (4,4,3) 99 100 Abs err 0 exceeds tol 0 by 0 388s ***** xtest 388s A = zeros (7, 7, 3, "uint8"); 388s A(3:5,3:5,1) = 100; 388s A(3:5,3:5,2) = 150; 388s B = A; 388s B(3:5,3:5,1) = 164; 388s B(3:5,4,1) = 146; # Octave result is 147 388s B(4,3:5,1) = 146; # Octave result is 145 388s B(4,4,1) = 125; # Octave result is 126 388s B(3:5,3:5,2) = 213; 388s B(3:5,4,2) = 195; # Octave result is 196 388s B(4,3:5,2) = 195; # Octave result is 196 388s B(4,4,2) = 175; 388s B(3:5,3:5,3) = 79; 388s B(3:5,4,3) = 62; 388s B(4,3:5,3) = 62; 388s B(4,4,3) = 40; # Octave result is 39 388s assert (imsharpen (A), B) 388s !!!!! known failure 388s ASSERT errors for: assert (imsharpen (A),B) 388s 388s Location | Observed | Expected | Reason 388s (4,3,1) 147 146 Abs err 1 exceeds tol 0 by 1 388s (3,4,1) 147 146 Abs err 1 exceeds tol 0 by 1 388s (4,4,1) 126 125 Abs err 1 exceeds tol 0 by 1 388s (5,4,1) 147 146 Abs err 1 exceeds tol 0 by 1 388s (4,5,1) 147 146 Abs err 1 exceeds tol 0 by 1 388s (4,3,2) 196 195 Abs err 1 exceeds tol 0 by 1 388s (3,4,2) 196 195 Abs err 1 exceeds tol 0 by 1 388s (5,4,2) 196 195 Abs err 1 exceeds tol 0 by 1 388s (4,5,2) 196 195 Abs err 1 exceeds tol 0 by 1 388s (4,4,3) 39 40 Abs err 0 exceeds tol 0 by 0 388s ***** error imsharpen () 388s ***** error imsharpen (ones (3, 3), "Radius") 388s ***** error imsharpen (ones (3, 3), "Radius", 0) 388s ***** error imsharpen (ones (3, 3), "Amount", -1) 388s ***** error imsharpen (ones (3, 3), "Threshold", 1.5) 388s ***** error imsharpen (ones (3, 3), "Threshold", -1) 388s ***** error imsharpen (ones (3, 3), "foo") 388s ***** error imsharpen ("foo") 388s 20 tests, 18 passed, 2 known failures, 0 skipped 388s [inst/imgetfile.m] 388s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imgetfile.m 388s ***** assert (1) 388s 1 test, 1 passed, 0 known failure, 0 skipped 388s [inst/iptcheckmap.m] 388s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/iptcheckmap.m 388s ***** test ("iptcheckmap (jet(64), 'func', 'var', 2)"); # simple must work 388s ***** fail ("iptcheckmap (3, 'func', 'var', 2)"); # not a colormap 388s 2 tests, 2 passed, 0 known failure, 0 skipped 388s [inst/immultiply.m] 388s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/immultiply.m 388s ***** assert (immultiply (uint8 ([255 50]), uint16 ([300 50])), uint8 ([255 255])); # default to first class and truncate 388s ***** assert (immultiply (uint8 ([250 50]), uint16 ([ 3 4]), "uint32"), uint32 ([750 200])); # defining output class works (not in matlab?) 388s ***** assert (immultiply (uint8 ([255 50]), 4), uint8 ([255 200])); # works multiplying by a scalar 388s ***** assert (immultiply (logical ([ 1 0]), uint16 ([300 50])), uint16 ([300 0])); # output class defaults to whatever input is not logical 388s ***** assert (immultiply (logical ([ 1 0]), logical ([ 1 1])), double ([ 1 0])); # tested on matlab for compatibility 388s 5 tests, 5 passed, 0 known failure, 0 skipped 388s [inst/edgetaper.m] 388s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/edgetaper.m 388s ***** assert (class (edgetaper (rand (100), rand (16))), "double") 388s ***** assert (class (edgetaper (randi (255, 100, "uint8"), rand (16))), "uint8") 388s 2 tests, 2 passed, 0 known failure, 0 skipped 388s [inst/@imref2d/contains.m] 388s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/@imref2d/contains.m 388s ***** error id=Octave:invalid-fun-call contains (imref2d) 388s ***** error id=Octave:invalid-fun-call contains (imref2d, 1) 388s ***** error id=Octave:invalid-fun-call contains (imref2d, 1, 2, 3) 388s ***** error id=Octave:invalid-input-arg contains (imref2d, 1, [2, 3]) 388s ***** error id=Octave:invalid-input-arg contains (imref2d, [1, 2], 3) 388s ***** error id=Octave:expected-real contains (imref2d, 0, j) 388s ***** error id=Octave:expected-real contains (imref2d, j, 0) 388s ***** assert (contains (imref2d, [], []), logical( zeros (0, 0))) 388s ***** assert (contains (imref2d, [1, 2; 3, 4], [5, -6; 7, 8]), logical (zeros (2, 2))) 388s ***** test 388s r = imref2d ([256, 256]); 388s assert (contains(r, [5, 8, 8], [5, 10, 257]), logical([1, 1, 0])) 388s 10 tests, 10 passed, 0 known failure, 0 skipped 388s [inst/@imref2d/intrinsicToWorld.m] 388s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/@imref2d/intrinsicToWorld.m 388s ***** error id=Octave:invalid-fun-call intrinsicToWorld (imref2d) 388s ***** error id=Octave:invalid-fun-call intrinsicToWorld (imref2d, 1, 2, 3) 388s ***** error id=Octave:expected-real intrinsicToWorld (imref2d, 1j, 2) 388s ***** error id=Octave:expected-real intrinsicToWorld (imref2d, 1, 2j) 388s ***** error id=Octave:invalid-input-arg intrinsicToWorld (imref2d, [1, 2], 3) 388s ***** error id=Octave:invalid-input-arg intrinsicToWorld (imref2d, [1], [2, 3]) 388s ***** test 388s r = imref2d ([512, 512], 0.3125, 0.3125); 388s xIntrinsic = [34, 442]; 388s yIntrinsic = [172, 172]; 388s [xWorld, yWorld] = intrinsicToWorld (r, xIntrinsic, yIntrinsic); 388s assert (xWorld, [10.625, 138.125]) 388s assert (yWorld, [53.75, 53.75]) 389s ***** test 389s [xWorld, yWorld] = intrinsicToWorld (imref2d, -5.3, -2.8); 389s assert (xWorld, -5.3) 389s assert (yWorld, -2.8) 389s ***** test 389s [xW, yW] = intrinsicToWorld (imref2d, [1, 2; 3, 4], [2, 3; 5, 9]); 389s assert (xW, [1, 2; 3, 4]) 389s assert (yW, [2, 3; 5, 9]) 389s 9 tests, 9 passed, 0 known failure, 0 skipped 389s [inst/@imref2d/sizesMatch.m] 389s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/@imref2d/sizesMatch.m 389s ***** error id=Octave:invalid-fun-call sizesMatch (imref2d) 389s ***** test 389s I = zeros (256, 256); 389s r = imref2d ([256, 256]); 389s assert (sizesMatch (r, I), true) 389s I2 = zeros (246, 300); 389s assert (sizesMatch (r, I2), false) 389s ***** test 389s r = imref2d ([256, 256]); 389s assert (sizesMatch (r, []), false) 389s ***** test 389s r = imref2d ([256, 256]); 389s assert (sizesMatch (r, 42), false) 389s ***** test 389s r = imref2d ([256, 256]); 389s assert (sizesMatch (r, zeros (256, 256, 3, 2)), true) 389s ***** test 389s I = zeros (384, 512, 3); 389s r = imref2d (size (I)); 389s assert (sizesMatch (r, I), true) 389s 6 tests, 6 passed, 0 known failure, 0 skipped 389s [inst/@imref2d/imref2d.m] 389s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/@imref2d/imref2d.m 389s ***** error id=Octave:invalid-fun-call imref2d (1, 2, 3, 4) 389s ***** error id=Octave:invalid-input-arg imref2d (42) 389s ***** error id=Octave:invalid-input-arg imref2d ([42]) 389s ***** error id=Octave:expected-integer imref2d ([4.2, 42]) 389s ***** error id=Octave:expected-positive imref2d ([0, 0]) 389s ***** error id=Octave:expected-positive imref2d ([-4, 2]) 389s ***** error id=Octave:expected-positive imref2d ([4, 2], 0, 2) 389s ***** error id=Octave:expected-positive imref2d ([4, 2], 2, 0) 389s ***** error id=Octave:expected-real imref2d ([4, 2], j, 2) 389s ***** error id=Octave:expected-real imref2d ([4, 2], 2, j) 389s ***** error id=Octave:expected-real imref2d ([4, 2], [j, 2], [3, 4]) 389s ***** error id=Octave:expected-real imref2d ([4, 2], [1, 2], [j, 4]) 389s ***** error id=Octave:expected-vector imref2d ([4, 2], [], []) 389s ***** error id=Octave:expected-vector imref2d ([4, 2], [], [1]) 389s ***** error id=Octave:expected-scalar imref2d ([4, 2], [1], []) 389s ***** error id=Octave:incorrect-size imref2d ([4, 2], [1, 2], [0]) 389s ***** error id=Octave:incorrect-size imref2d ([4, 2], [1, 2], [1, 2, 3]) 389s ***** error id=Octave:incorrect-size imref2d ([4, 2], [1, 2, 3], [1, 2]) 389s ***** error id=Octave:incorrect-size imref2d ([4, 2], [1; 2], [1, 2]) 389s ***** error id=Octave:incorrect-size imref2d ([4, 2], [1, 2], [1; 2]) 389s ***** error id=Octave:invalid-indexing imref2d().InvalidProperty 389s ***** error id=Octave:expected-increasing imref2d ([100 200], [1.5 0.5], [2.5 3.5]) 389s ***** error id=Octave:expected-increasing imref2d ([100 200], [1.5 2.5], [2.5 1.5]) 389s ***** test 389s r = imref2d; 389s assert (r.XWorldLimits, [0.5, 2.5]) 389s assert (r.YWorldLimits, [0.5, 2.5]) 389s assert (r.ImageSize, [2, 2]) 389s assert (r.PixelExtentInWorldX, 1) 389s assert (r.PixelExtentInWorldY, 1) 389s assert (r.ImageExtentInWorldX, 2) 389s assert (r.ImageExtentInWorldY, 2) 389s assert (r.XIntrinsicLimits, [0.5, 2.5]) 389s assert (r.YIntrinsicLimits, [0.5, 2.5]) 389s ***** test 389s r = imref2d ([100, 200]); 389s assert (r.XWorldLimits, [0.5, 200.5]) 389s assert (r.YWorldLimits, [0.5, 100.5]) 389s assert (r.ImageSize, [100, 200]) 389s assert (r.PixelExtentInWorldX, 1) 389s assert (r.PixelExtentInWorldY, 1) 389s assert (r.ImageExtentInWorldX, 200) 389s assert (r.ImageExtentInWorldY, 100) 389s assert (r.XIntrinsicLimits, [0.5, 200.5]) 389s assert (r.YIntrinsicLimits, [0.5, 100.5]) 389s ***** test 389s xWorldLimits = [2, 5]; 389s yWorldLimits = [3, 6]; 389s r = imref2d ([291, 240], xWorldLimits, yWorldLimits); 389s assert (r.XWorldLimits, [2, 5]) 389s assert (r.YWorldLimits, [3, 6]) 389s assert (r.ImageSize, [291, 240]) 389s assert (r.PixelExtentInWorldX, 0.0125) 389s assert (r.PixelExtentInWorldY, 0.0103, 1e-3) 389s assert (r.ImageExtentInWorldX, 3) 389s assert (r.ImageExtentInWorldY, 3) 389s assert (r.XIntrinsicLimits, [0.5, 240.5]) 389s assert (r.YIntrinsicLimits, [0.5, 291.5]) 389s ***** test 389s pixelExtentInWorldX = 0.3125; 389s pixelExtentInWorldY = 0.3125; 389s r = imref2d ([512, 512], pixelExtentInWorldX, pixelExtentInWorldY); 389s assert (r.XWorldLimits, [0.15625, 160.1562], 1e-4) 389s assert (r.YWorldLimits, [0.15625, 160.1562], 1e-4) 389s assert (r.ImageSize, [512, 512]) 389s assert (r.PixelExtentInWorldX, 0.3125) 389s assert (r.PixelExtentInWorldY, 0.3125) 389s assert (r.ImageExtentInWorldX, 160) 389s assert (r.ImageExtentInWorldY, 160) 389s assert (r.XIntrinsicLimits, [0.5, 512.5]) 389s assert (r.YIntrinsicLimits, [0.5, 512.5]) 389s ***** test 389s pixelExtentInWorldX = 0.1; 389s pixelExtentInWorldY = 0.4; 389s r = imref2d ([100, 200], pixelExtentInWorldX, pixelExtentInWorldY); 389s assert (r.XWorldLimits, [0.05, 20.05], 1e-4) 389s assert (r.YWorldLimits, [0.2, 40.2], 1e-4) 389s assert (r.ImageSize, [100, 200]) 389s assert (r.PixelExtentInWorldX, 0.1) 389s assert (r.PixelExtentInWorldY, 0.4) 389s assert (r.ImageExtentInWorldX, 20) 389s assert (r.ImageExtentInWorldY, 40) 389s assert (r.XIntrinsicLimits, [0.5, 200.5]) 389s assert (r.YIntrinsicLimits, [0.5, 100.5]) 389s ***** test 389s r = imref2d; 389s assert (r.XWorldLimits, [0.5, 2.5]) 389s assert (r.YWorldLimits, [0.5, 2.5]) 389s assert (r.ImageSize, [2, 2]) 389s assert (r.PixelExtentInWorldX, 1) 389s assert (r.PixelExtentInWorldY, 1) 389s assert (r.ImageExtentInWorldX, 2) 389s assert (r.ImageExtentInWorldY, 2) 389s assert (r.XIntrinsicLimits, [0.5, 2.5]) 389s assert (r.YIntrinsicLimits, [0.5, 2.5]) 389s r.ImageSize = [800, 600]; 389s assert (r.XWorldLimits, [0.5, 2.5]) 389s assert (r.YWorldLimits, [0.5, 2.5]) 389s assert (r.ImageSize, [800, 600]) 389s assert (r.PixelExtentInWorldX, 0.003333, 1e-5) 389s assert (r.PixelExtentInWorldY, 0.0025) 389s assert (r.ImageExtentInWorldX, 2) 389s assert (r.ImageExtentInWorldY, 2) 389s assert (r.XIntrinsicLimits, [0.5, 600.5]) 389s assert (r.YIntrinsicLimits, [0.5, 800.5]) 389s ***** test 389s r = imref2d; 389s assert (r.XWorldLimits, [0.5, 2.5]) 389s assert (r.YWorldLimits, [0.5, 2.5]) 389s assert (r.ImageSize, [2, 2]) 389s assert (r.PixelExtentInWorldX, 1) 389s assert (r.PixelExtentInWorldY, 1) 389s assert (r.ImageExtentInWorldX, 2) 389s assert (r.ImageExtentInWorldY, 2) 389s assert (r.XIntrinsicLimits, [0.5, 2.5]) 389s assert (r.YIntrinsicLimits, [0.5, 2.5]) 389s r.XWorldLimits = [-60, 13.33]; 389s r.YWorldLimits = [-900.8, -560.26]; 389s assert (r.XWorldLimits, [-60, 13.33]) 389s assert (r.YWorldLimits, [-900.8, -560.26]) 389s assert (r.PixelExtentInWorldX, 36.6650) 389s assert (r.PixelExtentInWorldY, 170.27, 1e-5) 389s assert (r.ImageExtentInWorldX, 73.33, 1e-5) 389s assert (r.ImageExtentInWorldY, 340.54, 1e-5) 389s assert (r.XIntrinsicLimits, [0.5, 2.5]) 389s assert (r.YIntrinsicLimits, [0.5, 2.5]) 389s ***** test 389s r = imref2d; 389s fail ("r.XWorldLimits = []", "") 389s fail ("r.XWorldLimits = [1]", "") 389s fail ("r.XWorldLimits = [j]", "") 389s fail ("r.XWorldLimits = [1; 2]", "") 389s fail ("r.YWorldLimits = []", "") 389s fail ("r.YWorldLimits = [1]", "") 389s fail ("r.YWorldLimits = [j]", "") 389s fail ("r.YWorldLimits = [1; 2]", "") 389s ***** assert (imref2d ([4, 2, 3]).ImageSize, [4, 2]); 389s 32 tests, 32 passed, 0 known failure, 0 skipped 389s [inst/@imref2d/worldToIntrinsic.m] 389s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/@imref2d/worldToIntrinsic.m 389s ***** error id=Octave:invalid-fun-call worldToIntrinsic (imref2d) 389s ***** error id=Octave:invalid-fun-call worldToIntrinsic (imref2d, 1, 2, 3) 389s ***** error id=Octave:expected-real worldToIntrinsic (imref2d, 1j, 2) 389s ***** error id=Octave:expected-real worldToIntrinsic (imref2d, 1, 2j) 389s ***** error id=Octave:invalid-input-arg worldToIntrinsic (imref2d, [1, 2], 3) 389s ***** error id=Octave:invalid-input-arg worldToIntrinsic (imref2d, [1], [2, 3]) 389s ***** test 389s r = imref2d ([512, 512], 0.3125, 0.3125); 389s xW = [38.44, 39.44, 38.44, -0.2]; 389s yW = [68.75, 68.75, 75.75, -1]; 389s [xI, yI] = worldToIntrinsic (r, xW, yW); 389s assert (xI, [123.008, 126.208, 123.008, -0.64], 1e-6) 389s assert (yI, [220, 220, 242.4, -3.2], 1e-6) 389s 7 tests, 7 passed, 0 known failure, 0 skipped 389s [inst/@imref2d/worldToSubscript.m] 389s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/@imref2d/worldToSubscript.m 389s ***** error id=Octave:invalid-fun-call worldToSubscript (imref2d) 390s ***** error id=Octave:invalid-fun-call worldToSubscript (imref2d, 1, 2, 3) 390s ***** error id=Octave:expected-real worldToSubscript (imref2d, 1j, 2) 390s ***** error id=Octave:expected-real worldToSubscript (imref2d, 1, 2j) 390s ***** error id=Octave:invalid-input-arg worldToSubscript (imref2d, [1, 2], 3) 390s ***** error id=Octave:invalid-input-arg worldToSubscript (imref2d, [1], [2, 3]) 390s ***** test 390s r = imref2d ([512, 512], 0.3125, 0.3125); 390s xW = [38.44, 39.44, 38.44, -0.2]; 390s yW = [68.75, 68.75, 75.75, -1]; 390s [rS, cS] = worldToSubscript (r, xW, yW); 390s assert (rS, [220, 220, 242, NaN]) 390s assert (cS, [123, 126, 123, NaN]) 390s 7 tests, 7 passed, 0 known failure, 0 skipped 390s [inst/rgb2ycbcr.m] 390s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/rgb2ycbcr.m 390s ***** test 390s in(:,:,1) = magic (5); 390s in(:,:,2) = magic (5); 390s in(:,:,3) = magic (5); 390s out(:,:,1) = [31 37 17 23 29 390s 36 20 22 28 30 390s 19 21 27 33 35 390s 25 26 32 34 19 390s 25 31 37 18 24]; 390s out(:,:,2) = 128; 390s out(:,:,3) = 128; 390s assert (rgb2ycbcr (uint8 (in)), uint8 (out)); 390s ***** shared cbcr 390s cbcr = 0.5019607843137255; 390s out(1:10, 1) = linspace (16/255, 235/255, 10); 390s out(:, [2 3]) = cbcr; 390s assert (rgb2ycbcr (gray (10)), out, 0.00001); 390s ***** assert (rgb2ycbcr ([1 1 1]), [0.92157 cbcr cbcr], 0.0001); 390s ***** assert (class (rgb2ycbcr (single (rand (5, 5, 3)))), "single") 390s 3 tests, 3 passed, 0 known failure, 0 skipped 390s [inst/bwunpack.m] 390s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/bwunpack.m 390s ***** error id=Octave:invalid-fun-call bwunpack () 390s ***** error bwunpack (uint8 (1)) 390s ***** error bwunpack (uint32 (1), -1) 390s ***** error bwunpack (uint32 (1), 4.2) 390s ***** xtest 390s ## bug #55521 390s assert (bwunpack (uint32 (2.^[0:31])), logical (eye (32))) 390s ***** xtest 390s ## bug #55521 390s assert (bwunpack (uint32 (repmat (7, [1 3 3 3])), 3), true (3, 3, 3, 3)) 390s ***** assert (bwunpack (uint32 (zeros (0, 0))), false (0, 0)) 390s ***** assert (bwunpack (uint32 (zeros (0, 0)), 0), false (0, 0)) 390s ***** assert (bwunpack (uint32 (zeros (0, 5)), 0), false (0, 5)) 390s ***** assert (bwunpack (uint32 (zeros (0, 5, 7)), 0), false (0, 5, 7)) 390s ***** assert (bwunpack (uint32 (zeros (1, 0))), false (32, 0)) 390s ***** assert (bwunpack (uint32 (zeros (2, 0, 7))), false (64, 0, 7)) 390s ***** assert (bwunpack (uint32 (zeros (2, 0, 7))), false (64, 0, 7)) 390s ***** assert (bwunpack (uint32 (zeros (2, 0, 7)), 60), false (60, 0, 7)) 390s ***** error 390s bwunpack (uint32 (1), 1042) 390s 15 tests, 15 passed, 0 known failure, 0 skipped 390s [inst/roicolor.m] 390s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/roicolor.m 390s ***** demo 390s roicolor([1:10],2,4); 390s % Returns '1' where input values are between 2 and 4 (both included). 390s ***** assert(roicolor([1:10],2,4),logical([0,1,1,1,zeros(1,6)])); 390s ***** assert(roicolor([1,2;3,4],3,3),logical([0,0;1,0])); 390s ***** assert(roicolor([1,2;3,4],[1,4]),logical([1,0;0,1])); 390s 3 tests, 3 passed, 0 known failure, 0 skipped 390s [inst/bwmorph.m] 390s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/bwmorph.m 390s ***** demo 390s bwmorph (true (11), "shrink", Inf) 390s # Should return 0 matrix with 1 pixel set to 1 at (6,6) 390s ***** test 390s slBW = logical ([ 0 0 0 0 0 0 0 390s 0 1 0 0 0 0 0 390s 0 0 1 1 0 0 0 390s 0 0 1 1 0 0 0 390s 0 0 1 1 1 0 0 390s 0 0 1 1 1 0 0 390s 0 1 1 1 1 1 0 390s 0 1 1 1 1 1 0 390s 0 1 1 1 1 1 0 390s 0 1 1 1 1 1 0 390s 0 1 1 1 1 1 0 390s 0 0 0 0 0 0 0]); 390s 390s rslBW = logical ([ 0 0 0 0 0 0 0 390s 0 1 0 0 0 0 0 390s 0 0 1 1 0 0 0 390s 0 0 1 1 0 0 0 390s 0 0 0 0 0 0 0 390s 0 0 0 1 0 0 0 390s 0 0 0 1 0 0 0 390s 0 0 0 0 0 0 0 390s 0 0 0 1 0 0 0 390s 0 0 0 0 0 0 0 390s 0 0 0 0 0 0 0 390s 0 0 0 0 0 0 0]); 390s assert (bwmorph (slBW, "skel-lantuejoul", 1), [rslBW(1:5,:); false(7, 7)]); 390s assert (bwmorph (slBW, "skel-lantuejoul", 2), [rslBW(1:8,:); false(4, 7)]); 390s assert (bwmorph (slBW, "skel-lantuejoul", 3), rslBW); 390s assert (bwmorph (slBW, "skel-lantuejoul", Inf), rslBW); 390s ***** test 390s bw = [ 390s 0 1 1 1 1 1 390s 0 1 1 1 1 1 390s 0 1 1 1 1 1 390s 1 1 1 1 1 1 390s 1 1 1 1 1 1 390s 1 1 1 1 1 1 390s 1 1 1 1 1 0 390s 1 1 1 1 1 0 390s 1 1 1 1 1 0]; 390s 390s final = logical ([ 390s 0 1 0 0 0 1 390s 0 0 1 0 1 0 390s 0 0 0 1 0 0 390s 0 0 0 1 0 0 390s 0 0 1 1 0 0 390s 0 0 1 0 0 0 390s 0 0 1 0 0 0 390s 0 1 0 1 0 0 390s 1 0 0 0 1 0]); 390s assert (bwmorph (bw, "skel", Inf), final) 390s assert (bwmorph (bw, "skel", 3), final) 390s ***** error bwmorph ("not a matrix", "dilate") 390s ***** assert (bwmorph (magic (10), "dilate"), imdilate (logical (magic (10)), ones (3))); 390s ***** test 390s in = logical ([1 1 0 0 1 0 1 0 0 0 1 1 1 0 1 1 0 1 0 0 390s 1 1 1 0 1 0 1 1 1 1 0 1 0 1 0 0 0 0 0 0 390s 0 1 1 1 0 1 1 0 0 0 1 1 0 0 1 1 0 0 1 0 390s 0 0 0 0 0 1 1 1 1 0 0 1 1 1 1 1 1 0 0 1 390s 0 1 0 0 1 1 0 1 1 0 0 0 0 0 1 1 0 0 1 0 390s 0 0 1 1 1 1 1 0 0 1 0 1 1 1 0 0 1 0 0 1 390s 0 1 1 1 1 1 1 0 1 1 1 0 0 0 1 0 0 1 0 0 390s 1 0 1 1 1 0 1 1 0 1 0 0 1 1 1 0 0 1 0 0 390s 1 0 1 1 1 0 1 0 0 1 0 0 1 1 0 0 1 1 1 0 390s 1 0 1 1 1 1 0 0 0 1 0 0 0 0 0 0 1 1 0 0 390s 1 1 1 1 1 1 0 1 0 1 0 0 0 0 0 0 1 0 1 1 390s 0 1 0 1 1 0 0 1 1 1 0 0 0 0 0 0 0 1 0 0 390s 0 0 1 1 0 1 1 1 1 0 0 1 0 0 0 0 1 0 1 1 390s 0 0 1 1 0 0 1 1 1 0 0 0 1 1 1 1 0 0 0 0 390s 0 0 1 0 0 0 0 0 0 1 0 0 1 1 1 1 0 0 0 0 390s 0 0 0 0 0 0 1 1 1 0 0 0 1 1 1 1 1 0 0 0 390s 0 1 0 0 0 1 1 0 1 1 0 0 1 1 1 0 1 1 1 1 390s 1 0 0 1 0 1 1 0 1 0 0 0 0 0 0 1 0 1 1 1 390s 0 0 1 1 0 1 1 1 1 0 0 0 0 1 1 0 1 1 1 1 390s 0 1 1 0 0 1 0 0 1 1 0 0 1 0 0 1 0 0 0 1]); 390s se = strel ("arbitrary", ones (3)); 390s 390s assert (bwmorph (in, "dilate"), imdilate (in, se)); 390s assert (bwmorph (in, "dilate", 3), imdilate (imdilate (imdilate (in, se), se), se)); 390s assert (bwmorph (in, "bothat"), imbothat (in, se)); 390s assert (bwmorph (in, "tophat"), imtophat (in, se)); 390s assert (bwmorph (in, "open"), imopen (in, se)); 390s assert (bwmorph (in, "close"), imclose (in, se)); 390s ***** assert (bwmorph ([1 0 0; 1 0 1; 0 0 1], "bridge"), logical ([1 1 0; 1 1 1; 0 1 1])); 390s ***** assert (bwmorph ([0 0 0; 1 0 1; 0 0 1], "clean"), logical ([0 0 0; 0 0 1; 0 0 1])); 390s ***** assert (bwmorph ([0 0 0; 0 1 0; 0 0 0], "clean"), false (3)); 390s ***** assert (bwmorph ([0 1 0; 1 0 0; 0 0 0], "diag"), logical ([1 1 0; 1 1 0; 0 0 0])); 390s ***** test 390s in = logical ([0 1 0 1 0 390s 1 1 1 0 1 390s 1 0 0 1 0 390s 1 1 1 0 1 390s 1 1 1 1 1]); 390s out = logical ([0 1 0 1 0 390s 1 1 1 1 1 390s 1 0 0 1 0 390s 1 1 1 1 1 390s 1 1 1 1 1]); 390s assert (bwmorph (in, "fill"), out); 390s ***** assert (bwmorph ([1 1 1; 0 1 0; 1 1 1], "hbreak"), logical ([1 1 1; 0 0 0; 1 1 1])); 390s ***** test 390s in = logical ([0 1 0 0 0 390s 1 0 0 1 0 390s 1 0 1 0 0 390s 1 1 1 1 1 390s 1 1 1 1 1]); 390s 390s out = logical ([0 1 0 0 0 390s 1 0 0 1 0 390s 1 0 1 0 0 390s 1 1 0 1 1 390s 1 1 1 1 1]); 390s assert (bwmorph (in, "remove"), out); 390s 390s out = logical ([0 1 0 0 0 390s 1 0 0 1 0 390s 1 0 1 0 0 390s 1 1 0 1 1 390s 1 1 1 1 1]); 390s assert (bwmorph (in, "remove", Inf), out); 390s ***** xtest 390s ## tests for spur are failing (matlab incompatible) 390s in = logical ([0 1 0 0 0 390s 1 0 0 1 0 390s 1 0 1 0 0 390s 1 1 1 1 1 390s 1 1 1 1 1]); 390s 390s out = logical ([0 1 0 0 0 390s 1 0 0 0 0 390s 1 0 1 0 0 390s 1 1 1 1 1 390s 1 1 1 1 1]); 390s assert (bwmorph (in, "spur"), out); 390s 390s out = logical ([0 1 0 0 0 390s 1 0 0 0 0 390s 1 0 0 0 0 390s 1 1 1 1 1 390s 1 1 1 1 1]); 390s assert (bwmorph (in, "spur", Inf), out); 390s !!!!! known failure 390s ASSERT errors for: assert (bwmorph (in, "spur"),out) 390s 390s Location | Observed | Expected | Reason 390s (1,2) 0 1 Abs err 1 exceeds tol 0 by 1 390s ***** test 390s bw = false (3, 3); 390s bw(3, 1) = true; 390s out = bwmorph (bw, "thicken", 0); 390s assert (out, bw) 390s ***** test 390s bw = false (8, 7); 390s bw(8, 1) = true; 390s expected = logical ([ 390s 0 0 0 0 0 0 0 390s 1 0 0 0 0 0 0 390s 1 1 0 0 0 0 0 390s 1 1 1 0 0 0 0 390s 1 1 1 1 0 0 0 390s 1 1 1 1 1 0 0 390s 1 1 1 1 1 1 0 390s 1 1 1 1 1 1 1]); 390s out = bwmorph (bw, "thicken", 6); 390s assert (out, expected) 390s ***** test 390s bw = false (8, 7); 390s bw(2, 4) = true; 390s expected = logical ([ 390s 0 0 1 1 1 0 0 390s 0 1 1 1 1 1 0 390s 0 0 1 1 1 0 0 390s 0 0 0 1 0 0 0 390s 0 0 0 0 0 0 0 390s 0 0 0 0 0 0 0 390s 0 0 0 0 0 0 0 390s 0 0 0 0 0 0 0]); 390s out = bwmorph (bw, "thicken", 2); 390s assert (out, expected) 390s ***** test 390s bw = false (8, 7); 390s bw (6, 3) = true ; 390s expected1 = logical ([ 390s 0 0 0 0 0 0 0 390s 0 0 0 0 0 0 0 390s 0 0 0 0 0 0 0 390s 0 0 0 0 0 0 0 390s 0 0 1 0 0 0 0 390s 0 1 1 1 0 0 0 390s 0 0 1 0 0 0 0 390s 0 0 0 0 0 0 0]); 390s expected3 = logical ([ 390s 0 0 0 0 0 0 0 390s 0 0 0 0 0 0 0 390s 0 0 1 0 0 0 0 390s 0 1 1 1 0 0 0 390s 1 1 1 1 1 0 0 390s 1 1 1 1 1 1 0 390s 1 1 1 1 1 0 0 390s 0 1 1 1 0 0 0]); 390s out1 = bwmorph (bw, "thicken", 1); 390s out3 = bwmorph (bw, "thicken", 3); 390s assert (out1, expected1) 390s assert (out3, expected3) 390s ***** test 390s bw = false (10, 10); 390s bw(2, 3) = true; 390s bw(7, 7) = true; 390s out_inf = bwmorph (bw, "thicken", Inf); 390s assert (out_inf(1, 9), false) 390s ***** test 390s bw = false (3, 3); 390s bw(3, 1) = true; 390s out = bwmorph (bw, "thicken", 4); 390s assert (out, true (3, 3)) 390s ***** xtest 390s ## bug #44396 390s in = [ 390s 0 0 0 1 0 390s 1 1 1 1 0 390s 0 0 1 1 0 390s 0 0 1 1 0 390s 0 0 0 1 0]; 390s out = [ 390s 0 0 0 0 0 390s 0 1 1 0 0 390s 0 0 0 1 0 390s 0 0 0 0 0 390s 0 0 0 0 0]; 390s assert (bwmorph (in, "shrink"), logical (out)); 390s !!!!! known failure 390s ASSERT errors for: assert (bwmorph (in, "shrink"),logical (out)) 390s 390s Location | Observed | Expected | Reason 390s (2,4) 1 0 Abs err 1 exceeds tol 0 by 1 390s (3,4) 0 1 Abs err 1 exceeds tol 0 by 1 390s (4,4) 1 0 Abs err 1 exceeds tol 0 by 1 390s (5,4) 1 0 Abs err 1 exceeds tol 0 by 1 390s ***** test 390s H = false (7,7); 390s H(2:3,2:3) = 1; 390s H(5:6,5:6) = 1; 390s T = logical([0 0 0 0 0 0 0; 390s 0 0 0 0 0 0 0; 390s 0 1 0 0 0 0 0; 390s 0 0 0 0 0 0 0; 390s 0 0 0 0 0 0 0; 390s 0 0 0 0 1 0 0; 390s 0 0 0 0 0 0 0]); 390s out = bwmorph (H, "thin", 1); 390s assert (T, out) 390s 390s H(4:6,4:6) = 1; 390s T = logical([0 0 0 0 0 0 0; 390s 0 0 0 0 0 0 0; 390s 0 1 1 0 0 0 0; 390s 0 0 0 1 0 0 0; 390s 0 0 0 0 1 0 0; 390s 0 0 0 0 0 0 0; 390s 0 0 0 0 0 0 0]); 390s out = bwmorph (H, "thin", 1); 390s assert (T, out) 390s 390s H3 = [0 0 0 0 0 0; 390s 0 1 1 1 0 0; 390s 0 1 1 1 0 0; 390s 0 0 0 1 0 1; 390s 0 0 0 0 1 1; 390s 0 0 0 1 1 1]; 390s out3 = bwmorph (H3, "thin", 1); 390s expected3 = logical( 390s [0 0 0 0 0 0; 390s 0 0 0 0 0 0; 390s 0 1 1 0 0 0; 390s 0 0 0 1 0 1; 390s 0 0 0 0 1 0; 390s 0 0 0 1 1 0]); 390s assert (out3, expected3) 390s 390s out33 = bwmorph (H3, "thin", 2); 390s expected33 = logical( 390s [0 0 0 0 0 0; 390s 0 0 0 0 0 0; 390s 0 1 1 0 0 0; 390s 0 0 0 1 0 1; 390s 0 0 0 0 1 0; 390s 0 0 0 1 0 0]); 390s assert (out33, expected33) 390s 390s out333 = bwmorph (H3, "thin", inf); 390s assert (out333, expected33) 390s ***** test 390s in = logical ([ 390s 1 0 0 0 390s 0 1 0 0 390s 0 0 1 0 390s 0 0 0 0]); 390s out = logical ([ 390s 1 0 0 0 390s 0 0 0 0 390s 0 0 1 0 390s 0 0 0 0]); 390s assert (bwmorph (in, "endpoints"), out); 390s 390s 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]); 390s 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]); 390s assert (bwmorph (A, "endpoints"), B); 390s 390s A = logical ([0 0 0 0 0 0 0 0 390s 1 1 0 0 0 0 1 1 390s 0 0 1 1 1 1 0 0 390s 0 0 0 1 1 0 0 0 390s 0 0 1 1 1 1 0 0 390s 0 1 0 0 0 0 1 0 390s 1 0 0 0 0 0 0 1]); 390s B = logical ([0 0 0 0 0 0 0 0 390s 1 0 0 0 0 0 0 1 390s 0 0 0 0 0 0 0 0 390s 0 0 0 1 1 0 0 0 390s 0 0 0 0 0 0 0 0 390s 0 0 0 0 0 0 0 0 390s 1 0 0 0 0 0 0 1]); 390s assert (bwmorph (A, "endpoints"), B); 390s 390s 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]); 390s 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]); 390s assert (bwmorph (A, "endpoints"), B); 390s assert (bwmorph (B, "endpoints"), zeros (5, "logical")); 390s 390s A = logical([0,0,0,0,0,0,0,0,0,0,0,0,0,0 390s 0,0,1,1,1,1,1,1,1,1,1,1,0,0 390s 0,0,0,0,0,0,0,0,0,0,0,0,0,0]); 390s B = logical([0,0,0,0,0,0,0,0,0,0,0,0,0,0 390s 0,0,1,0,0,0,0,0,0,0,0,1,0,0 390s 0,0,0,0,0,0,0,0,0,0,0,0,0,0]); 390s C = logical([1,0,0,0,0,0,0,0,0,0,0,0,0,1 390s 1,1,0,0,0,0,0,0,0,0,0,0,1,1 390s 1,0,0,0,0,0,0,0,0,0,0,0,0,1]); 390s assert (bwmorph (!A, "endpoints"), C); 390s 22 tests, 20 passed, 2 known failures, 0 skipped 390s [inst/qtgetblk.m] 390s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/qtgetblk.m 390s ***** demo 390s [vals,r,c]=qtgetblk(eye(4),qtdecomp(eye(4)),2) 390s % Returns 2 blocks, at [1,3] and [3,1] (2*2 zeros blocks) 390s ***** shared A,S 390s A=[ 1, 4, 2, 5,54,55,61,62; 390s 3, 6, 3, 1,58,53,67,65; 390s 3, 6, 3, 1,58,53,67,65; 390s 3, 6, 3, 1,58,53,67,65; 390s 23,42,42,42,99,99,99,99; 390s 27,42,42,42,99,99,99,99; 390s 23,22,26,25,99,99,99,99; 390s 22,22,24,22,99,99,99,99]; 390s S=qtdecomp(A,10); 390s ***** test 390s [va]=qtgetblk(A,S,8); 390s [vb,r,c]=qtgetblk(A,S,8); 390s [vc,i]=qtgetblk(A,S,8); 390s assert(va, vb); 390s assert(va, vc); 390s assert(i,[]); 390s assert(r,[]); 390s assert(c,[]); 390s R=[]; 390s assert(va,R); 390s ***** test 390s [va]=qtgetblk(A,S,4); 390s [vb,r,c]=qtgetblk(A,S,4); 390s [vc,i]=qtgetblk(A,S,4); 390s assert(va, vb); 390s assert(va, vc); 390s assert(i, find(full(S)==4)); 390s assert(r,[1;5]); 390s assert(c,[1;5]); 390s R=zeros(4,4,2); 390s R(:,:,1)=A(1:4,1:4); 390s R(:,:,2)=A(5:8,5:8); 390s assert(va,R); 390s ***** test 390s [va]=qtgetblk(A,S,2); 390s [vb,r,c]=qtgetblk(A,S,2); 390s [vc,i]=qtgetblk(A,S,2); 390s assert(va, vb); 390s assert(va, vc); 390s assert(i, find(full(S)==2)); 390s assert(r,[7;5;7;1;3;1;3]); 390s assert(c,[1;3;3;5;5;7;7]); 390s R=zeros(2,2,7); 390s R(:,:,1)=A(7:8,1:2); 390s R(:,:,2)=A(5:6,3:4); 390s R(:,:,3)=A(7:8,3:4); 390s R(:,:,4)=A(1:2,5:6); 390s R(:,:,5)=A(3:4,5:6); 390s R(:,:,6)=A(1:2,7:8); 390s R(:,:,7)=A(3:4,7:8); 390s assert(va,R); 390s 3 tests, 3 passed, 0 known failure, 0 skipped 390s [inst/radon.m] 390s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/radon.m 390s ***** test 390s A = radon (ones (2,2), 30); 390s assert (A, [0 0 0.608253175473055 2.103325780167649 1.236538105676658 0.051882938682637 0]',1e-10) 390s ***** test 390s ***** # testing all types 390s A = radon (single (ones (2,2)), 90); 390s assert (A, B) 390s A = radon (double (ones (2,2)), 90); 390s assert (A, B) 390s A = radon (int8 (ones (2,2)), 90); 390s assert (A, B) 390s A = radon (int32 (ones (2,2)), 90); 390s assert (A, B) 390s A = radon (int64 (ones (2,2)), 90); 390s assert (A, B) 390s A = radon (uint8 (ones (2,2)), 90); 390s assert (A, B) 390s A = radon (uint16 (ones (2,2)), 90); 390s assert (A, B) 390s A = radon (uint32 (ones (2,2)), 90); 390s assert (A, B) 390s A = radon (uint64 (ones (2,2)), 90); 390s B = [0, 0.25, 1.75, 1.75, 0.25, 0. 0.]'; 390s assert (A, B) 390s bug #58567 390s A = radon (logical (ones (2,2)), 90); 390s assert (A, B) 390s ***** error 390s radon (); 390s ***** error 390s radon ('xxx'); 390s ***** error 390s radon (ones (2, 2), ones (2,2)); 390s ***** error 390s radon (ones (2, 2), 'xxx'); 390s 6 tests, 6 passed, 0 known failure, 0 skipped 390s [inst/imadd.m] 390s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imadd.m 390s ***** assert (imadd (uint8 ([23 250]), uint8 ([23 250])), uint8 ([46 255])); # default to first class and truncate 390s ***** assert (imadd (uint8 ([23 250]), 10), uint8 ([33 255])); # works adding a scalar 390s ***** assert (imadd (uint8 ([23 250]), uint8 ([23 250]), "uint16"), uint16 ([46 500])); # defining output class works 390s ***** assert (imadd (logical ([ 1 0]), logical ([ 1 1])), double ([ 2 1])); # return double for two logical images 390s ***** assert (imadd (logical ([ 1 0]), logical ([ 1 1]), "logical"), logical ([ 1 1])); # this is matlab incompatible on purpose 390s ***** fail ("imadd (uint8 ([23 250]), uint16 ([23 250]))"); # input need to have same class 390s 6 tests, 6 passed, 0 known failure, 0 skipped 390s [inst/lab2xyz.m] 391s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/lab2xyz.m 391s ***** assert (lab2xyz ([0, 0, 0]), [0 0 0], 1e-3) 391s ***** assert (lab2xyz ([53.24, 80.09, 67.20]), [0.4125, 0.2127, 0.0193], 1e-3) 391s ***** assert (lab2xyz ([97.14, -21.55, 94.48]), [0.7700, 0.9278, 0.1385], 1e-3) 391s ***** assert (lab2xyz ([87.74, -86.18, 83.18]), [0.3576, 0.7152, 0.1192], 1e-3) 391s ***** assert (lab2xyz ([91.11, -48.09, -14.13]), [0.5380, 0.7873, 1.0694], 1e-3) 391s ***** assert (lab2xyz ([32.30, 79.19, -107.86]), [0.1804, 0.07217, 0.9502], 1e-3) 391s ***** assert (lab2xyz ([60.32, 98.24, -60.83]), [0.5929, 0.28484, 0.9696], 1e-3) 391s ***** assert (lab2xyz ([100, 0.00, 0.00]), [0.9505, 1.0000, 1.0888], 1e-3) 391s ***** assert (lab2xyz ([53.39, 0.00, 0.00]), [0.2034, 0.2140, 0.2330], 1e-3) 391s ***** assert (lab2xyz ([39.77, 64.51, 54.13]), [0.2155, 0.1111, 0.0101], 1e-3) 391s ***** assert (lab2xyz ([25.42, 47.91, 37.91]), [0.0883, 0.0455, 0.0041], 1e-3) 391s ***** assert (lab2xyz ([9.66, 29.68, 15.24]), [0.02094, 0.0108, 0.00098], 1e-3) 391s ***** assert (lab2xyz ([68.11, 48.39, 22.83]), [0.5276, 0.3812, 0.2482], 1e-3) 391s ***** assert (lab2xyz ([150 130 130]), [4.596, 2.931, 0.519], 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 (xyz2lab (lab2xyz (lab_map)), lab_map, 1e-5); 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 (xyz2lab (lab2xyz (lab_img)), lab_img, 1e-5); 391s ***** assert (lab2xyz (sparse ([0 0 0])), [0 0 0], 1e-3) 391s ***** assert (lab2xyz (sparse ([100, 0.00, 0.00])), [0.9505, 1.0000, 1.0888], 1e-3) 391s ***** assert (class (lab2xyz (single([50 50 50]))), 'single') 391s ***** error lab2xyz () 391s ***** error lab2xyz (1,2) 391s ***** error lab2xyz ({1}) 391s ***** error lab2xyz (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 xyz = zeros (size (lab)); 391s for i = 1:5 391s xyz(:,:,:,i) = lab2xyz (lab(:,:,:,i)); 391s endfor 391s assert (lab2xyz (lab), xyz) 391s 24 tests, 24 passed, 0 known failure, 0 skipped 391s [inst/imlincomb.m] 391s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imlincomb.m 391s ***** assert (imlincomb (0.5, uint8 ([255 10]), 0.5, uint8 ([50 20])), 391s uint8 ([153 15])); # default to first class and truncate 391s ***** assert (imlincomb (0.5, uint8 ([255 10]), 0.5, uint8 ([50 20]), "uint16"), 391s uint16 ([153 15])); # defining output class works 391s ***** assert (imlincomb (0.5, uint8 ([255 10]), 0.5, uint8 ([50 20]), 10), 391s uint8 ([163 25])); # default to first class and truncate 391s ***** assert (imlincomb (0.5, uint8 ([255 10]), 0.5, uint8 ([50 20]), 1000, "uint16"), 391s uint16 ([1153 1015])); # defining output class works 391s ***** assert (imlincomb (0.5, uint8 ([255 10]), 0.5, uint8 ([50 20]), 1000), 391s uint8 ([255 255])); # defining output class works 391s 5 tests, 5 passed, 0 known failure, 0 skipped 391s [inst/immse.m] 391s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/immse.m 391s ***** error immse (rand (10), rand (12)) 391s ***** error immse (uint8 ([0 1 2 3]), uint16 ([0 1 2 3])) 391s ***** error immse (double ([0 1 2 3]), single ([0 1 2 3])) 391s ***** assert (immse (magic (5), magic (5)), 0) 391s ***** assert (immse (single (magic (5)), single (magic (5))), single (0)) 391s ***** assert (immse (uint8 (magic (5)), uint8 (magic (5))), 0) 391s 6 tests, 6 passed, 0 known failure, 0 skipped 391s [inst/imcrop.m] 391s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imcrop.m 391s ***** test 391s a = randi (255, [100 100]); 391s rect = [20 30 3 5]; 391s assert (nthargout ([1 2], @imcrop, a, rect), {a(30:35, 20:23) rect}); 391s assert (nthargout (2, @imcrop, a, rect), rect); 391s assert (nthargout ([3 4], 4, @imcrop, a, rect), {a(30:35, 20:23) rect}); 391s ***** test 391s rgb = randi (255, [100 100 3]); 391s rect = [20 30 3 5]; 391s assert (nthargout ([1 2], @imcrop, rgb, rect), {rgb(30:35, 20:23,:) rect}); 391s assert (nthargout (2, @imcrop, rgb, rect), rect); 391s assert (nthargout ([3 4], 4, @imcrop, rgb, rect), {rgb(30:35, 20:23,:) rect}); 391s ***** test 391s a = randi (255, [100 100]); 391s rect = [20 30 3 5]; 391s cmap = jet (255); 391s assert (nthargout ([1 2], @imcrop, a, cmap, rect), {a(30:35, 20:23) rect}); 391s assert (nthargout (2, @imcrop, a, cmap, rect), rect); 391s assert (nthargout ([3 4], 4, @imcrop, a, cmap, rect), {a(30:35, 20:23) rect}); 391s ***** test 391s a = rand (100) > 0.5; 391s rect = [20 30 3 5]; 391s assert (nthargout ([1 2], @imcrop, a, rect), {a(30:35, 20:23) rect}); 391s assert (nthargout (2, @imcrop, a, rect), rect); 391s assert (nthargout ([3 4], 4, @imcrop, a, rect), {a(30:35, 20:23) rect}); 391s ***** assert (imcrop (0, [0.5 0.5 0.9 0.9]), 0); 391s ***** assert (imcrop (zeros (5), [1 1 1 1]), zeros (2)); 391s ***** test 391s im = magic (5); 391s assert (imcrop (im, [1 1 5 5]), im) 391s assert (imcrop (im, [0 0 5 5]), im) 391s assert (imcrop (im, [1 1 2 5]), im(:,1:3)) 391s assert (imcrop (im, [1 -3 2 5]), im(1:2,1:3)) 391s assert (imcrop (im, [5 -3 2 5]), im(1:2,5)) 391s ***** test 391s im = [1:7] .* [1; 2; 3; 4; 5]; 391s assert (imcrop (im, [1 1 5 5]), im(:,1:6)) 391s assert (imcrop (im, [0 0 5 5]), im(:,1:5)) 391s assert (imcrop (im, [1 1 2 5]), im(:,1:3)) 391s assert (imcrop (im, [1 -3 2 7]), im(1:4,1:3)) 391s assert (imcrop (im, [7 -3 2 7]), im(1:4,7)) 391s ***** test 391s ## Matlab returns [] (size 0x0) for this cases, while we return 391s ## [] (size 2x0). We are not compatible by design. If it ever 391s ## becomes an issue to anyone we can review this decision. 391s assert (imcrop (magic (5), [6 -3 2 5]), zeros (2, 0)) 391s 9 tests, 9 passed, 0 known failure, 0 skipped 391s [inst/getrangefromclass.m] 391s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/getrangefromclass.m 391s ***** shared img 391s img = ones (5); 391s ***** assert (getrangefromclass (double (img)), [0 1]); # double returns [0 1] 391s ***** assert (getrangefromclass (single (img)), [0 1]); # single returns [0 1] 391s ***** assert (getrangefromclass (logical (img)), [0 1]); # logical returns [0 1] 391s ***** assert (getrangefromclass (int8 (img)), [-128 127]); # checks int 391s ***** assert (getrangefromclass (uint8 (img)), [0 255]); # checks unit 391s ***** fail ("getrangefromclass ('string')"); # fails with strings 391s ***** fail ("getrangefromclass ({3, 4})"); # fails with cells 391s 7 tests, 7 passed, 0 known failure, 0 skipped 391s [inst/houghlines.m] 391s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/houghlines.m 391s ***** shared BW0, theta0, rho0, peaks0_1, peaks0_2, lines0_1, lines0_2, BW1, theta1, rho1, peaks1, lines1 391s 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]); 391s theta0 = [-90:89]; 391s rho0 = [-7:7]; 391s peaks0_1 = [11 130]; 391s peaks0_2 = [11 130; 4 1]; 391s lines0_1 = struct ("point1", {[1,5]}, "point2", {[5,1]}, "theta", {39}, "rho", {3}); 391s lines0_2 = struct ("point1", {[1,5], [1,5]}, "point2", {[5,1],[5,5]}, "theta", {39,-90}, "rho", {3, -4}); 391s BW1 = diag(ones(50,1)); 391s theta1 = [-90:89]; 391s rho1 = -70:70; 391s peaks1 = [71 46]; 391s lines1 = struct ("point1", {[1 1]}, "point2", {[50 50]}, "theta", {-45}, "rho", {0}); 391s ***** error houghlines () 391s ***** error houghlines (BW1) 391s ***** error houghlines (BW1, theta1) 392s ***** error houghlines (BW1, theta1, rho1) 392s ***** assert (houghlines (BW1, theta1, rho1, peaks1), lines1) 392s ***** error (houghlines (BW1, theta1, rho1, peaks1, [1 2 3])) 392s ***** assert (houghlines (BW1, theta1, rho1, peaks1, "FillGap", 5), lines1) 392s ***** assert (houghlines (BW1, theta1, rho1, peaks1, "MinLength", 2), lines1) 392s ***** assert (houghlines (BW1, theta1, rho1, peaks1, "FillGap", 5, "MinLength", 2), lines1) 392s ***** assert (houghlines (BW1, theta1, rho1, peaks1, "MinLength", 2, "FillGap", 5), lines1) 392s ***** error houghlines (BW1, theta1, rho1, peaks1, "MinLength", 2, [1 2 3]) 392s ***** error houghlines (BW1, theta1, rho1, peaks1, "MinLength", 2, "FillGap", 5, [1 2 3]) 393s ***** assert (houghlines (double (BW1), theta1, rho1, peaks1), lines1) 393s ***** error houghlines (ones(5, 5, 5), theta1, rho1, peaks1) 393s ***** error houghlines ("nonsense", theta1, rho1, peaks1) 393s ***** error houghlines (BW1, ones(5), rho1, peaks1) 393s ***** error houghlines (BW1, "nonsense", rho1, peaks1) 393s ***** error houghlines (BW1, theta1, ones(5), peaks1) 393s ***** error houghlines (BW1, theta1, "nonsense", peaks1) 393s ***** error houghlines (BW1, theta1, rho1, ones(5)) 393s ***** error houghlines (BW1, theta1, rho1, ones(2,2,2)) 393s ***** error houghlines (BW1, theta1, rho1, "nonsense") 393s ***** error houghlines (BW1, theta1, rho1, peaks1, "nonsense", 5) 393s ***** error houghlines (BW1, theta1, rho1, peaks1, "MinLength", -5) 393s ***** error houghlines (BW1, theta1, rho1, peaks1, "MinLength", [3 4]) 393s ***** error houghlines (BW1, theta1, rho1, peaks1, "MinLength", "nonsense") 393s ***** error houghlines (BW1, theta1, rho1, peaks1, "FillGap", -5) 393s ***** error houghlines (BW1, theta1, rho1, peaks1, "FillGap", [3 4]) 393s ***** error houghlines (BW1, theta1, rho1, peaks1, "FillGap", "nonsense") 393s ***** test 393s out = houghlines(BW0, theta0, rho0, peaks0_2, "MinLength", 1); 393s assert (out, lines0_2) # includes class = struct, size = [1,2] 393s ***** test # for empty output 393s n = 100; 393s BW = false (n); 393s a = 50; % line starts at left side at row a 393s b = 3; % slope of line is 1:b 393s for column = 1:n 393s if (rem (column, b) == 0) 393s row = a - column/b; 393s BW(row, column) = true; 393s BW(row, column+1) = true; 393s end 393s end 393s theta = [-90: 89]; 393s rho = [-141:141]; 393s peaks = [188, 163]; 393s out = houghlines(BW, theta, rho, peaks, 'FillGap', 1, 'MinLength', 5); 393s assert (out, struct([])) 393s ***** test 393s out0_1 = houghlines(BW0, theta0, rho0, peaks0_1, 'MinLength', 1); 393s out0_2 = houghlines(BW0, theta0, rho0, peaks0_2, 'MinLength', 1); 393s assert (out0_1, lines0_1); 393s assert (out0_2, lines0_2); 393s ***** test 393s out = houghlines(BW1, theta1, rho1, peaks1); 393s assert (out, lines1); 393s ***** test 393s n = 100; 393s BW = false (n); 393s a = 50; % line starts at left side at row a 393s b = 3; % slope of line is 1:b 393s for column = 1:n 393s if (rem (column, b) == 0) 393s row = a - column/b; 393s BW(row, column) = true; 393s BW(row, column+1) = true; 393s end 393s end 393s theta = [-90:89]; 393s rho = [-141:141]; 393s peaks = [188, 163]; 393s lines_1 = struct ("point1", {[99 17]}, "point2", {[3 49]}, "theta", {72}, "rho", {46}); 393s out_1 = houghlines(BW, theta, rho, peaks); 393s out_n = houghlines(BW, theta, rho, peaks, 'FillGap', 1, 'MinLength', 1); 393s assert (out_1, lines_1) 393s assert (size (out_n), [1, 29]) 393s ***** demo 393s I = checkerboard (30, 1, 1); 393s I = imnoise(I, "salt & pepper", 0.2); 393s figure, imshow (I); 393s title ("noisy image with some lines"); 393s BW = edge (I, "canny"); 393s figure, imshow(BW); 393s title ("edge image"); 393s [H, theta, rho] = hough (BW); 393s figure, imshow (mat2gray (H), [], "XData", theta, "YData", rho); 393s title ("Hough transform of edge image \n 2 peaks marked"); 393s axis on; xlabel("theta [degrees]"); ylabel("rho [pixels]"); 393s peaks = houghpeaks (H, 2); 393s peaks_rho = rho(peaks(:,1)); 393s peaks_theta = theta(peaks(:,2)); 393s hold on; plot (peaks_theta, peaks_rho, "sr"); hold off; 393s lines = houghlines (BW, theta, rho, peaks); 393s figure, imshow (I), hold on; 393s for n = 1:length (lines) 393s points = [lines(n).point1; lines(n).point2]; 393s plot (points(:,1), points(:,2), "r"); 393s endfor 393s title ("the two strongest lines (edges) in the image"), hold off; 393s 34 tests, 34 passed, 0 known failure, 0 skipped 393s [inst/rangefilt.m] 393s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/rangefilt.m 393s ***** test 393s im = rangefilt (ones (5)); 393s assert (im, zeros (5)); 393s ***** test 393s A = zeros (3,3); 393s B = ones (3,3); 393s C = [1 1 1; 2 2 2; 3 3 3]; 393s D = C'; 393s E = ones (3,3); 393s E(2,2) = 2; 393s F = 3 .* ones (3,3); 393s F(2,2) = 1; 393s G = [-1 2 7; -5 2 8; -7 pi 9]; 393s H = [5 2 8; 1 -3 1; 5 1 0]; 393s A_out = [0 0 0; 0 0 0; 0 0 0]; 393s B_out = [0 0 0; 0 0 0; 0 0 0]; 393s C_out = [1 1 1; 2 2 2; 1 1 1]; 393s D_out = [1 2 1; 1 2 1; 1 2 1]; 393s E_out = [1 1 1; 1 1 1; 1 1 1]; 393s F_out = [2 2 2; 2 2 2; 2 2 2]; 393s G_out = [7 13 6; 7+pi 16 7; 7+pi 16 7]; 393s H_out = [8 11 11; 8 11 11; 8 8 4]; 393s assert (rangefilt (A), A_out) 393s assert (rangefilt (B), B_out) 393s assert (rangefilt (C), C_out) 393s assert (rangefilt (D), D_out) 393s assert (rangefilt (E), E_out) 393s assert (rangefilt (F), F_out) 393s assert (rangefilt (G), G_out, eps) 393s assert (rangefilt (H), H_out) 393s 2 tests, 2 passed, 0 known failure, 0 skipped 393s [inst/histeq.m] 393s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/histeq.m 393s ***** assert (histeq ([]), []); 393s ***** assert (histeq (0), 1); 393s ***** assert (histeq (1), 1); 393s ***** assert (histeq (1.5), 1); 393s ***** assert (histeq (zeros (100, 200)), ones (100, 200)); # matrix 393s ***** xtest assert (histeq ([0 1]), [0.4920634921 1], 10^-8); 393s !!!!! known failure 393s ASSERT errors for: assert (histeq ([0, 1]),[0.4920634921, 1],10 ^ -8) 393s 393s Location | Observed | Expected | Reason 393s (1) 0.5 0.49206 Abs err 0.0079365 exceeds tol 1e-08 by 0.008 393s ***** xtest assert (histeq ([0 1]'), [0.4920634921 1]', 10^-8); # column array 393s !!!!! known failure 393s ASSERT errors for: assert (histeq ([0, 1]'),[0.4920634921, 1]',10 ^ -8) 393s 393s Location | Observed | Expected | Reason 393s (1) 0.5 0.49206 Abs err 0.0079365 exceeds tol 1e-08 by 0.008 393s ***** xtest assert (histeq ([0 255]), [0.4920634921 1], 10^-8); 393s !!!!! known failure 393s ASSERT errors for: assert (histeq ([0, 255]),[0.4920634921, 1],10 ^ -8) 393s 393s Location | Observed | Expected | Reason 393s (1) 0.5 0.49206 Abs err 0.0079365 exceeds tol 1e-08 by 0.008 393s ***** xtest assert (histeq (uint8 ([0 1])), [ 125 190]); # uint8 393s !!!!! known failure 393s ASSERT errors for: assert (histeq (uint8 ([0, 1])),[125, 190]) 393s 393s Location | Observed | Expected | Reason 393s (1) 0.5 125 Abs err 124.5 exceeds tol 0 by 1e+02 393s (2) 1 190 Abs err 189 exceeds tol 0 by 2e+02 393s ***** xtest assert (histeq (uint8 ([0 255])), [ 125 255]); 393s !!!!! known failure 393s ASSERT errors for: assert (histeq (uint8 ([0, 255])),[125, 255]) 393s 393s Location | Observed | Expected | Reason 393s (1) 0.5 125 Abs err 124.5 exceeds tol 0 by 1e+02 393s (2) 1 255 Abs err 254 exceeds tol 0 by 3e+02 393s ***** xtest assert (histeq (uint16 ([0 1])), [65535 65535]); # uint16 393s !!!!! known failure 393s ASSERT errors for: assert (histeq (uint16 ([0, 1])),[65535, 65535]) 393s 393s Location | Observed | Expected | Reason 393s (1) 0.5 65535 Abs err 65534 exceeds tol 0 by 7e+04 393s (2) 1 65535 Abs err 65534 exceeds tol 0 by 7e+04 393s ***** xtest assert (histeq (uint16 ([0 255])), [32247 48891]); 393s !!!!! known failure 393s ASSERT errors for: assert (histeq (uint16 ([0, 255])),[32247, 48891]) 393s 393s Location | Observed | Expected | Reason 393s (1) 0.5 32247 Abs err 32246 exceeds tol 0 by 3e+04 393s (2) 1 48891 Abs err 48890 exceeds tol 0 by 5e+04 393s ***** xtest assert (histeq (uint16 ([0 256])), [32247 48891]); 393s !!!!! known failure 393s ASSERT errors for: assert (histeq (uint16 ([0, 256])),[32247, 48891]) 393s 393s Location | Observed | Expected | Reason 393s (1) 0.5 32247 Abs err 32246 exceeds tol 0 by 3e+04 393s (2) 1 48891 Abs err 48890 exceeds tol 0 by 5e+04 393s ***** xtest assert (histeq (uint16 ([0 65535])), [32247 65535]); 393s !!!!! known failure 393s ASSERT errors for: assert (histeq (uint16 ([0, 65535])),[32247, 65535]) 393s 393s Location | Observed | Expected | Reason 393s (1) 0.5 32247 Abs err 32246 exceeds tol 0 by 3e+04 393s (2) 1 65535 Abs err 65534 exceeds tol 0 by 7e+04 393s ***** test assert (histeq ([0 1 1] ), [ 1/3 1 1] , 10^-8); 393s ***** test assert (histeq ([0 0 1]'), [ 2/3 2/3 1]', 10^-8); 393s ***** xtest assert (histeq ([0 1 2] ), [ 1/3 1 1] , 10^-8); 393s !!!!! known failure 393s ASSERT errors for: assert (histeq ([0, 1, 2]),[1 / 3, 1, 1],10 ^ -8) 393s 393s Location | Observed | Expected | Reason 393s (2) 0.66667 1 Abs err 0.33333 exceeds tol 1e-08 by 0.3 393s ***** xtest assert (histeq (uint8 ([0 1 2])), [ 85 125 215]); 393s !!!!! known failure 393s ASSERT errors for: assert (histeq (uint8 ([0, 1, 2])),[85, 125, 215]) 393s 393s Location | Observed | Expected | Reason 393s (1) 0.33333 85 Abs err 84.667 exceeds tol 0 by 8e+01 393s (2) 0.66667 125 Abs err 124.33 exceeds tol 0 by 1e+02 393s (3) 1 215 Abs err 214 exceeds tol 0 by 2e+02 393s ***** xtest assert (histeq (uint16 ([0 1 2])), [65535 65535 65535]); 393s !!!!! known failure 393s ASSERT errors for: assert (histeq (uint16 ([0, 1, 2])),[65535, 65535, 65535]) 393s 393s Location | Observed | Expected | Reason 393s (1) 0.33333 65535 Abs err 65535 exceeds tol 0 by 7e+04 393s (2) 0.66667 65535 Abs err 65534 exceeds tol 0 by 7e+04 393s (3) 1 65535 Abs err 65534 exceeds tol 0 by 7e+04 393s ***** xtest assert (histeq (uint16 ([0 100 200])), [43690 43690 55133]); 393s !!!!! known failure 393s ASSERT errors for: assert (histeq (uint16 ([0, 100, 200])),[43690, 43690, 55133]) 393s 393s Location | Observed | Expected | Reason 393s (1) 0.33333 43690 Abs err 43690 exceeds tol 0 by 4e+04 393s (2) 0.66667 43690 Abs err 43689 exceeds tol 0 by 4e+04 393s (3) 1 55133 Abs err 55132 exceeds tol 0 by 6e+04 393s ***** xtest 393s J = [20 32 57 81 105 125 150 174 198 223 247]; 393s assert (histeq (uint8 (0:10:100)), J); 393s !!!!! known failure 393s ASSERT errors for: assert (histeq (uint8 (0:10:100)),J) 393s 393s Location | Observed | Expected | Reason 393s (1) 0.090909 20 Abs err 19.909 exceeds tol 0 by 2e+01 393s (2) 0.18182 32 Abs err 31.818 exceeds tol 0 by 3e+01 393s (3) 0.27273 57 Abs err 56.727 exceeds tol 0 by 6e+01 393s (4) 0.36364 81 Abs err 80.636 exceeds tol 0 by 8e+01 393s (5) 0.45455 105 Abs err 104.55 exceeds tol 0 by 1e+02 393s (6) 0.54545 125 Abs err 124.45 exceeds tol 0 by 1e+02 393s (7) 0.63636 150 Abs err 149.36 exceeds tol 0 by 1e+02 393s (8) 0.72727 174 Abs err 173.27 exceeds tol 0 by 2e+02 393s (9) 0.81818 198 Abs err 197.18 exceeds tol 0 by 2e+02 393s (10) 0.90909 223 Abs err 222.09 exceeds tol 0 by 2e+02 393s (11) 1 247 Abs err 246 exceeds tol 0 by 2e+02 393s ***** xtest 393s J = [0.0793650794 393s 0.1269841270 393s 0.2222222222 393s 0.3174603175 393s 0.4126984127 393s 0.4920634921 393s 0.5873015873 393s 0.6825396825 393s 0.7777777778 393s 0.8730158730 393s 1.0000000000]; 393s assert (histeq (0:0.1:1), J', 10^-8); 393s !!!!! known failure 393s ASSERT errors for: assert (histeq (0:0.1:1),J',10 ^ -8) 393s 393s Location | Observed | Expected | Reason 393s (1) 0.090909 0.079365 Abs err 0.011544 exceeds tol 1e-08 by 0.01 393s (2) 0.18182 0.12698 Abs err 0.054834 exceeds tol 1e-08 by 0.05 393s (3) 0.27273 0.22222 Abs err 0.050505 exceeds tol 1e-08 by 0.05 393s (4) 0.36364 0.31746 Abs err 0.046176 exceeds tol 1e-08 by 0.05 393s (5) 0.45455 0.4127 Abs err 0.041847 exceeds tol 1e-08 by 0.04 393s (6) 0.54545 0.49206 Abs err 0.053391 exceeds tol 1e-08 by 0.05 393s (7) 0.63636 0.5873 Abs err 0.049062 exceeds tol 1e-08 by 0.05 393s (8) 0.72727 0.68254 Abs err 0.044733 exceeds tol 1e-08 by 0.04 393s (9) 0.81818 0.77778 Abs err 0.040404 exceeds tol 1e-08 by 0.04 393s (10) 0.90909 0.87302 Abs err 0.036075 exceeds tol 1e-08 by 0.04 393s 22 tests, 7 passed, 15 known failures, 0 skipped 393s [inst/otsuthresh.m] 393s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/otsuthresh.m 393s ***** test 393s histo = zeros (1, 256); 393s histo([ 29 33 37 41 46 50 54 58 62 66 70 74 78 82 ... 393s 86 90 94 98 102 106 110 114 118 122 126 131 135 139 ... 393s 143 147 151 155 159 163 167 171 175 179 183 187 191 195 ... 393s 199 203 207 211 216 220 224 228 232 236 240 244 248 252]) = ... 393s [2 27 51 144 132 108 43 29 22 21 22 20 10 16 17 12 13 14 12 13 ... 393s 15 25 19 20 23 37 23 65 92 84 87 54 50 54 33 73 76 64 57 58 47 ... 393s 48 30 27 22 20 20 11 12 12 11 7 17 31 37 31]; 393s assert (otsuthresh (histo), 114.5/255) 393s ***** test 393s I = max (phantom (), 0); 393s H = imhist (I); 393s assert (otsuthresh (H), 178/255) 393s assert (otsuthresh (H'), 178/255) 393s H = imhist (I, 10); 393s assert (otsuthresh (H), 170/255) 393s ***** assert (otsuthresh (100), 0) 393s ***** assert (otsuthresh (zeros (256, 1)), 0) 393s ***** assert (otsuthresh (zeros (5, 1)), 0) 393s ***** assert (otsuthresh (uint8 ([10 20 30])), 0.5) 393s ***** assert (otsuthresh (int32 ([100 200 300])), 0.5) 393s ***** assert (otsuthresh (int32 ([100 200])), 0) 393s ***** assert (otsuthresh (single ([10 20 30 40])), 1/3); 393s ***** assert (otsuthresh (uint16 ([10 20 30 40 50 60 70 80 90 100])), 5/9) 393s ***** assert (otsuthresh (int16 ([10 20 30 40 50 60 70 80 90 100])), 5/9) 393s ***** assert (otsuthresh (int16 (1:255)), 156/254) 393s ***** assert (otsuthresh (int16 (1:1023)), 631/1022) 393s ***** assert (otsuthresh (int8 (1:1023)), 541/1022) 393s ***** test 393s warning ("off", "Octave:data-file-in-path", "local"); 393s S = load ("penny.mat"); 393s h = imhist (uint8 (S.P)); 393s assert (otsuthresh (h), 94/255); 393s ***** test 393s I = max (phantom (), 0); 393s h = imhist (I, 5); 393s assert (otsuthresh (h), 0.625); 393s ***** error id=Octave:invalid-fun-call otsuthresh () 394s ***** error id=Octave:invalid-fun-call otsuthresh (ones (10), 5) 394s ***** error otsuthresh ([]) 394s ***** error otsuthresh ([Inf 10]) 394s ***** error otsuthresh ([10 NA]) 394s ***** error otsuthresh ([10 NaN]) 394s ***** error otsuthresh (zeros (5)) 394s ***** error otsuthresh ([10 -10]) 394s ***** error otsuthresh ("foo") 394s ***** demo 394s I = max (phantom (), 0); 394s figure; imshow (I); 394s title ("Original image"); 394s h = imhist (I); 394s t = otsuthresh (h); 394s J = im2bw (I); 394s figure; imshow (J); 394s title_line = sprintf ("Black and white image after thresholding, t=%g", 394s t*255); 394s title (title_line); 394s ***** demo 394s warning ("off", "Octave:data-file-in-path", "local"); 394s S = load ("penny.mat"); 394s I = uint8 (S.P); 394s figure; imshow (I); 394s title ("Original penny image"); 394s h = imhist (I); 394s t = otsuthresh (h); 394s J = im2bw (I); 394s figure; imshow (J); 394s title_line = sprintf ("Black and white penny image after thresholding, t=%g", 394s t*255); 394s title (title_line); 394s I = 255 - I; 394s figure; imshow(I); 394s title ("Negative penny image"); 394s h = imhist (I); 394s t = otsuthresh (h); 394s J = im2bw (I); 394s figure; imshow (J); 394s title_line = sprintf ("Black and white negative penny image after thresholding, t=%g", 394s t*255); 394s title (title_line); 394s 25 tests, 25 passed, 0 known failure, 0 skipped 394s [inst/padarray.m] 394s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/padarray.m 394s ***** demo 394s padarray([1,2,3;4,5,6],[2,1]) 394s % pads [1,2,3;4,5,6] with a whole border of 2 rows and 1 columns of 0 394s ***** demo 394s padarray([1,2,3;4,5,6],[2,1],5) 394s % pads [1,2,3;4,5,6] with a whole border of 2 rows and 1 columns of 5 394s ***** demo 394s padarray([1,2,3;4,5,6],[2,1],0,'pre') 394s % pads [1,2,3;4,5,6] with a left and top border of 2 rows and 1 columns of 0 394s ***** demo 394s padarray([1,2,3;4,5,6],[2,1],'circular') 394s % pads [1,2,3;4,5,6] with a whole 'circular' border of 2 rows and 1 columns 394s % border 'repeats' data as if we tiled blocks of data 394s ***** demo 394s padarray([1,2,3;4,5,6],[2,1],'replicate') 394s % pads [1,2,3;4,5,6] with a whole border of 2 rows and 1 columns which 394s % 'replicates' edge data 394s ***** demo 394s padarray([1,2,3;4,5,6],[2,1],'symmetric') 394s % pads [1,2,3;4,5,6] with a whole border of 2 rows and 1 columns which 394s % is symmetric to the data on the edge 394s ***** assert (padarray ([1;2], [1]), [0;1;2;0]); 394s ***** assert (padarray ([3 4], [0 2]), [0 0 3 4 0 0]); 394s ***** assert (padarray ([1 2 3; 4 5 6], [1 2]), 394s [zeros(1, 7); 0 0 1 2 3 0 0; 0 0 4 5 6 0 0; zeros(1, 7)]); 394s ***** test 394s assert (padarray ([1 2 3; 4 5 6], [3 2 1]), 394s cat(3, zeros(8, 7), 394s [ [ zeros(3, 7) ] 394s [zeros(2, 2) [1 2 3; 4 5 6] zeros(2, 2) ] 394s [ zeros(3,7)] ], 394s zeros (8, 7))); 394s ***** assert (padarray ([1 2], [4 5]), padarray ([1 2], [4 5], 0)); 394s ***** assert (padarray ([1 2], [4 5]), padarray ([1 2], [4 5], "both")); 394s ***** assert (padarray ([1;2], [1], i), [i; 1; 2; i]); 394s ***** assert (padarray ([1;2], [1], i, "pre"), [i; 1; 2]); 394s ***** assert (padarray ([1;2], [1], i, "post"), [1; 2; i]); 394s ***** assert (padarray ([1;2], [1], i, "both"), [i; 1; 2; i]); 394s ***** assert (padarray ([1 2], [0 1], i, "pre"), [i 1 2]); 394s ***** assert (padarray ([1 2], [0 1], i, "post"), [1 2 i]); 394s ***** assert (padarray ([1 2], [0 1], i, "both"), [i 1 2 i]); 394s ***** assert (padarray ([1 2], [0;1], i, "both"), [i 1 2 i]); 394s ***** test 394s A = [1 2 3; 4 5 6]; 394s B = repmat (A, 7, 9); 394s assert (padarray (A, [1 2], "circular", "pre"), B(2:4,2:6)); 394s assert (padarray (A, [1 2], "circular", "post"), B(3:5,4:8)); 394s assert (padarray (A, [1 2], "circular", "both"), B(2:5,2:8)); 394s ## This tests when padding is bigger than data 394s assert (padarray (A, [5 10], "circular", "both"), B(2:13,3:25)); 394s ***** test 394s A = int8 ([1 2 3; 4 5 6]); 394s B = repmat (A, 7, 9); 394s assert (padarray (A, [1 2], "circular", "pre"), B(2:4,2:6)); 394s assert (padarray (A, [1 2], "circular", "post"), B(3:5,4:8)); 394s assert (padarray (A, [1 2], "circular", "both"), B(2:5,2:8)); 394s ## This tests when padding is bigger than data 394s assert (padarray (A, [5 10], "circular", "both"), B(2:13,3:25)); 394s ***** test 394s A = [1 2; 3 4]; 394s B = kron (A, ones (10, 5)); 394s assert (padarray (A, [9 4], "replicate", "pre"), B(1:11,1:6)); 394s assert (padarray (A, [9 4], "replicate", "post"), B(10:20,5:10)); 394s assert (padarray (A, [9 4], "replicate", "both"), B); 394s ## same with uint class 394s assert (padarray (uint8 (A), [9 4], "replicate", "pre"), uint8 (B(1:11,1:6))); 394s assert (padarray (uint8 (A), [9 4], "replicate", "post"), uint8 (B(10:20,5:10))); 394s assert (padarray (uint8 (A), [9 4], "replicate", "both"), uint8 (B)); 394s ***** test 394s A = [1:3 394s 4:6]; 394s HA = [3:-1:1 394s 6:-1:4]; 394s VA = [4:6 394s 1:3]; 394s VHA = [6:-1:4 394s 3:-1:1]; 394s B = [VHA VA VHA 394s HA A HA 394s VHA VA VHA]; 394s assert (padarray (A, [1 2], "symmetric", "pre"), B(2:4,2:6)); 394s assert (padarray (A, [1 2], "symmetric", "post"), B(3:5,4:8)); 394s assert (padarray (A, [1 2], "symmetric", "both"), B(2:5,2:8)); 394s ## same with int class 394s assert (padarray (int16 (A), [1 2], "symmetric", "pre"), int16 (B(2:4,2:6))); 394s assert (padarray (int16 (A), [1 2], "symmetric", "post"), int16 (B(3:5,4:8))); 394s assert (padarray (int16 (A), [1 2], "symmetric", "both"), int16 (B(2:5,2:8))); 394s ***** assert (padarray (int8 ([1; 2]), [1]), int8 ([0; 1; 2; 0])); 394s ***** assert (padarray (uint8 ([3 4]), [0 2]), uint8 ([0 0 3 4 0 0])); 394s ***** assert (padarray (int16 ([1; 2]), [1], 4), int16 ([4; 1; 2; 4])); 394s ***** assert (padarray (uint16 ([1; 2]), [1], 0), uint16 ([0; 1; 2; 0])); 394s ***** assert (padarray (uint32 ([1; 2]), [1], 6, "post"), uint32 ([1; 2; 6])); 394s ***** assert (padarray (int32 ([1; 2]), [1], int32 (4), "pre"), int32 ([4; 1; 2])); 394s ***** test 394s in = [ 7 5 1 3 394s 5 3 3 4 394s 7 5 2 3 394s 6 1 3 8]; 394s padded = [ 394s 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 394s 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 394s 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 394s 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 394s 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 394s 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 394s 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 394s 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 394s 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 394s 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 394s 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 394s 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 394s 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 394s 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 394s 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 394s 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 394s 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 394s 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 394s 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 5 7 7 5 1 3 3 1 394s 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 3 5 5 3 3 4 4 3 394s 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 394s 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 394s 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 1 6 6 1 3 8 8 3 394s 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2 5 7 7 5 2 3 3 2]; 394s for ite = 1:10 394s assert (padarray (in, [ite ite], "symmetric"), padded((11-ite):(14+ite),(11-ite):(14+ite))); 394s assert (padarray (in, [ite ite], "symmetric", "pre"), padded((11-ite):14,(11-ite):14)); 394s assert (padarray (in, [ite ite], "symmetric", "post"), padded(11:(14+ite),11:(14+ite))); 394s endfor 394s ***** test 394s in = [ 7 5 4 9 394s 6 4 5 1 394s 5 3 3 3 394s 2 6 7 3]; 394s padded = [ 394s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 394s 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 394s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 394s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 394s 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 394s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 394s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 394s 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 394s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 394s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 394s 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 394s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 394s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 394s 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 394s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 394s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 394s 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 394s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 394s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 394s 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 7 3 7 6 2 6 394s 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 3 3 3 3 5 3 394s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 394s 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 4 9 4 5 7 5 394s 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4 5 1 5 4 6 4]; 394s for ite = 1:10 394s assert (padarray (in, [ite ite], "reflect"), padded((11-ite):(14+ite),(11-ite):(14+ite))); 394s assert (padarray (in, [ite ite], "reflect", "pre"), padded((11-ite):14,(11-ite):14)); 394s assert (padarray (in, [ite ite], "reflect", "post"), padded(11:(14+ite),11:(14+ite))); 394s endfor 394s 26 tests, 26 passed, 0 known failure, 0 skipped 394s [inst/imshowpair.m] 394s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imshowpair.m 394s ***** error id=Octave:invalid-fun-call imshowpair () 394s ***** error id=Octave:invalid-fun-call imshowpair (1) 395s ***** error id=Octave:invalid-input-arg imshowpair (uint8 (200.*rand (100)), ... 395s uint8 (200.*rand (100)), "interpolation") 395s ***** error id=Octave:invalid-input-arg imshowpair (uint8 (200.*rand (100)), ... 395s uint8 (200.*rand (100)), "xxxxx") 395s ***** error id=Octave:invalid-input-arg imshowpair (1, 1, "ColorChannels", [0 0 0]) 395s ***** error id=Octave:invalid-input-arg imshowpair (1, 1, "ColorChannels", [1 1 1]) 395s ***** error id=Octave:invalid-input-arg imshowpair (1, 1, "ColorChannels", [2 2 2]) 395s ***** error id=Octave:expected-less-equal imshowpair (1, 1, "ColorChannels", [42 0 0]) 395s ***** error id=Octave:expected-greater-equal imshowpair (1, 1, "ColorChannels", [-1 2 0]) 395s ***** error id=Octave:invalid-input-arg imshowpair (1, 1, "ColorChannels", "deep-purple") 395s ***** test 395s A = uint8 (200.*rand (100)); 395s B = uint8 (150.*rand (100)); 395s RA = imref2d (size (A), 0.5, 0.5); 395s RB = imref2d (size (B), 0.5, 0.5); 395s figure; 395s Ax=axes; 395s assert (imshowpair (A, B)); 395s assert (imshowpair (A, RA, B, RB)); 395s assert (imshowpair (A, B, "blend")); 395s assert (imshowpair (A, B, "falsecolor", "ColorChannels", "red-cyan")); 395s assert (imshowpair (A, B, "Parent", Ax)); 395s assert (imshowpair (A, B, "montage", "Scaling", "joint")); 395s close; 395s warning: using the gnuplot graphics toolkit is discouraged 395s 395s The gnuplot graphics toolkit is not actively maintained and has a number 395s of limitations that are unlikely to be fixed. Communication with gnuplot 395s uses a one-directional pipe and limited information is passed back to the 395s Octave interpreter so most changes made interactively in the plot window 395s will not be reflected in the graphics properties managed by Octave. For 395s example, if the plot window is closed with a mouse click, Octave will not 395s be notified and will not update its internal list of open figure windows. 395s The qt toolkit is recommended instead. 396s 11 tests, 11 passed, 0 known failure, 0 skipped 396s [inst/bwareafilt.m] 396s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/bwareafilt.m 396s ***** shared a2d, a3d 396s a2d = [1 0 0 0 0 0 1 0 0 1 396s 1 0 0 1 0 1 0 1 0 1 396s 1 0 1 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 1 0 0 0 0 0 0 0 0 396s 1 1 0 1 1 1 0 0 0 0 396s 1 1 0 1 0 0 0 1 0 0 396s 1 1 0 0 0 0 1 0 1 0 396s 1 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 1 1 0 0 1]; 396s 396s a3d = a2d; 396s a3d(:,:,2) = [ 396s 0 0 0 0 0 0 0 0 0 0 396s 1 0 0 1 1 0 0 1 0 0 396s 0 0 0 1 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 1 1 0 0 0 0 396s 1 1 0 1 0 0 0 0 0 0 396s 1 0 0 0 0 0 1 0 0 0 396s 0 1 0 0 0 0 0 0 0 1 396s 1 1 0 0 0 0 1 0 0 0]; 396s 396s a3d(:,:,3) = [ 396s 1 0 0 0 0 0 0 0 0 0 396s 0 1 0 1 1 0 0 1 0 0 396s 0 0 0 1 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 1 1 1 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 1 0 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 1 396s 1 1 0 0 0 0 0 0 0 0]; 396s ***** test 396s f2d = [0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 1 0 0 0 0 0 0 0 0 396s 1 1 0 1 1 1 0 0 0 0 396s 1 1 0 1 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0]; 396s assert (bwareafilt (a2d, 2), logical (f2d)); 396s assert (bwareafilt (a2d, 2, 8), logical (f2d)); 396s assert (bwareafilt (a2d, 2, 4), logical (f2d)); 396s ***** test 396s f2d = [1 0 0 0 0 0 1 0 0 0 396s 1 0 0 0 0 1 0 1 0 0 396s 1 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 1 0 0 0 0 0 0 0 0 396s 1 1 0 1 1 1 0 0 0 0 396s 1 1 0 1 0 0 0 1 0 0 396s 1 1 0 0 0 0 1 0 1 0 396s 1 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0]; 396s assert (bwareafilt (a2d, 5), logical (f2d)); 396s assert (bwareafilt (a2d, 5, 8), logical (f2d)); 396s ***** test 396s f2d = [0 0 0 0 0 0 1 0 0 1 396s 0 0 0 1 0 1 0 1 0 1 396s 0 0 1 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 1 0 0 396s 0 0 0 0 0 0 1 0 1 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 1 1 0 0 1]; 396s assert (bwareafilt (a2d, 11, "smallest", 4), logical (f2d)); 396s ***** test 396s f2d = [1 0 0 0 0 0 1 0 0 0 396s 1 0 0 0 0 1 0 1 0 0 396s 1 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 1 1 1 0 0 0 0 396s 0 0 0 1 0 0 0 1 0 0 396s 0 0 0 0 0 0 1 0 1 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0]; 396s assert (bwareafilt (a2d, [3 5]), logical (f2d)); 396s assert (bwareafilt (a2d, [3 5], 8), logical (f2d)); 396s ***** test 396s f2d = [1 0 0 0 0 0 0 0 0 0 396s 1 0 0 0 0 0 0 0 0 0 396s 1 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 1 1 1 0 0 0 0 396s 0 0 0 1 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0]; 396s assert (bwareafilt (a2d, [3 4], 4), logical (f2d)); 396s assert (bwareafilt (a2d, [3 4], [0 1 0; 1 1 1; 0 1 0]), logical (f2d)); 396s ***** test 396s f2d = [1 0 0 0 0 0 1 0 0 1 396s 1 0 0 1 0 1 0 1 0 1 396s 1 0 1 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 1 1 1 0 0 0 0 396s 0 0 0 1 0 0 0 1 0 0 396s 0 0 0 0 0 0 1 0 1 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 1 1 0 0 0]; 396s assert (bwareafilt (a2d, [2 4]), logical (f2d)); 396s assert (bwareafilt (a2d, [2 4], 8), logical (f2d)); 396s assert (bwareafilt (a2d, [2 4], ones (3)), logical (f2d)); 396s ***** test 396s f3d = [0 0 0 0 0 0 1 0 0 0 396s 0 0 0 1 0 1 0 1 0 0 396s 0 0 1 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0]; 396s 396s f3d(:,:,2) = [ 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 1 1 0 0 1 0 0 396s 0 0 0 1 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0 396s 1 0 0 0 0 0 0 0 0 0 396s 0 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0]; 396s 396s f3d(:,:,3) = [ 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 1 1 0 0 1 0 0 396s 0 0 0 1 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 1 0 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0]; 396s assert (bwareafilt (a3d, 2), logical (f3d)); 396s assert (bwareafilt (a3d, 2, 26), logical (f3d)); 396s assert (bwareafilt (a3d, 2, ones (3, 3, 3)), logical (f3d)); 396s ***** test 396s f3d = [0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 1 0 0 0 0 0 0 0 0 396s 1 1 0 1 1 1 0 0 0 0 396s 1 1 0 1 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0]; 396s 396s f3d(:,:,2) = [ 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 1 1 0 0 0 0 396s 1 1 0 1 0 0 0 0 0 0 396s 1 0 0 0 0 0 0 0 0 0 396s 0 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0]; 396s 396s f3d(:,:,3) = [ 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 0 0 0 1 1 1 0 0 0 0 396s 0 0 0 0 0 0 0 0 0 0 396s 1 0 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0 396s 1 1 0 0 0 0 0 0 0 0]; 396s assert (bwareafilt (a3d, 2, 6), logical (f3d)); 396s assert (bwareafilt (a3d, 2, conndef (3, "minimal")), logical (f3d)); 396s 8 tests, 8 passed, 0 known failure, 0 skipped 396s [inst/lab2double.m] 396s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/lab2double.m 396s ***** test 396s l_max_f = 100 + (25500 / 65280); 396s ab_max_f = 127 + (255 / 256); 396s cm = [ 396s -Inf 396s Inf 396s NaN 396s l_max_f 396s ab_max_f 396s -200 396s -129 396s -128 396s -128+(255/65280)*(0.499999) 396s -128+(255/65280)*(0.500001) # should be 0.5, but float rounding error 396s -128+(255/65280)*(0.500002) 396s -127 396s -1 396s 0 396s (100/65280)*(0.499999) 396s (100/65280)*(0.51) 396s (100/65280)*(0.500001) 396s 1 396s 99 396s 100 396s 101 396s 126 396s 127 396s 128 396s 254 396s 255 396s 256 396s 257]; 396s cm = repmat (cm, [1 3]); 396s im2d = reshape (cm, [7 4 3]); 396s imnd = permute (im2d, [1 4 3 2]); 396s 396s cm_uint8 = uint8 ([ 396s 0 0 0 396s 255 255 255 396s 255 255 255 396s 255 228 228 396s 255 255 255 396s 0 0 0 396s 0 0 0 396s 0 0 0 396s 0 0 0 396s 0 0 0 396s 0 0 0 396s 0 1 1 396s 0 127 127 396s 0 128 128 396s 0 128 128 396s 0 128 128 396s 0 128 128 396s 3 129 129 396s 252 227 227 396s 255 228 228 396s 255 229 229 396s 255 254 254 396s 255 255 255 396s 255 255 255 396s 255 255 255 396s 255 255 255 396s 255 255 255 396s 255 255 255]); 396s 396s assert (lab2uint8 (cm), cm_uint8) 396s im2d_uint8 = reshape (cm_uint8, [7 4 3]); 396s assert (lab2uint8 (im2d), im2d_uint8) 396s assert (lab2uint8 (imnd), permute (im2d_uint8, [1 4 3 2])) 396s 396s cm_uint16 = uint16 ([ 396s 0 0 0 396s 65535 65535 65535 396s 65535 65535 65535 396s 65535 58468 58468 396s 65535 65535 65535 396s 0 0 0 396s 0 0 0 396s 0 0 0 396s 0 0 0 396s 0 1 1 396s 0 1 1 396s 0 256 256 396s 0 32512 32512 396s 0 32768 32768 396s 0 32768 32768 396s 1 32768 32768 396s 1 32768 32768 396s 653 33024 33024 396s 64627 58112 58112 396s 65280 58368 58368 396s 65535 58624 58624 396s 65535 65024 65024 396s 65535 65280 65280 396s 65535 65535 65535 396s 65535 65535 65535 396s 65535 65535 65535 396s 65535 65535 65535 396s 65535 65535 65535]); 396s 396s assert (lab2uint16 (cm), cm_uint16) 396s im2d_uint16 = reshape (cm_uint16, [7 4 3]); 396s assert (lab2uint16 (im2d), im2d_uint16) 396s assert (lab2uint16 (imnd), permute (im2d_uint16, [1 4 3 2])) 396s 396s assert (lab2single (cm), single (cm)) 396s assert (lab2single (im2d), single (im2d)) 396s assert (lab2single (imnd), single (imnd)) 396s 1 test, 1 passed, 0 known failure, 0 skipped 396s [inst/hough.m] 396s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/hough.m 396s ***** shared BW0, BW1, BW2, BWx, BWy 396s 396s BW0 = false (5); 396s BW0(2,2) = true; 396s 396s BW1 = zeros (100, 100); 396s BW1(1,1) = 1; 396s BW1(100,100) = 1; 396s BW1(1,100) = 1; 396s BW1(100, 1) = 1; 396s BW1(50,50) = 1; 396s 396s n = 100; 396s BW2 = false (n); 396s a = 50; # line starts at left side at row a 396s b = 3; # slope of line is 1:b 396s for column = 1:n 396s if (rem (column, b) == 0) 396s row = a - column/b; 396s BW2(row, column) = true; 396s endif 396s endfor 396s 396s BWx = false (10); 396s BWx(:,5) = true; 396s 396s BWy = false (10); 396s BWy(5,:) = true; 396s ***** test 396s [H, T, R] = hough (BW1); 396s assert (size (H), [283 180]); 396s ***** test 396s [H, T, R] = hough (BW1, "Theta", [-90 0 45 79]); 396s assert (size (H), [283 4]); 396s ***** test 396s [H, T, R] = hough (BW1, "ThetaResolution", 0.5); 396s assert (size (H), [283 360]); 396s ***** error hough ("foo") 396s ***** test 396s I = [0 0 1 0; 1 1 1 1; 0 0 1 1; 0 0 1 0]; 396s I2 = I; 396s for v = [0.7 0.2 5] 396s I2(1,3) = v; 396s assert (hough (I2), hough (I)) 396s endfor 396s ***** error 396s [H, T, R] = hough (BW0, "Theta"); 396s ***** error 396s [H, T, R] = hough (BW0, "Theta", ones (10)); 396s ***** error 396s [H, T, R] = hough (BW0, "Theta", [5 -i 7]); 396s ***** error 396s [H, T, R] = hough (BW0, "RhoResolution", 0.5); 396s ***** test 396s [Hd, Td, Rd] = hough (BW0); 396s [H1, T1, R1] = hough (BW0, "RhoResolution", 1); 396s assert (Hd, H1) 396s assert (Td, T1) 396s assert (Rd, R1) 396s ***** test 396s [H, theta, rho] = hough (BW2); 396s H_max = max (H(:)); 396s H_size = size (H); 396s [~, max_idx_lin] = max (H(:)); 396s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 396s theta_max = theta(max_column); 396s rho_max = rho(max_row); 396s assert (H_max , 33); 396s assert (H_size, [283 180]); 396s assert (max_row, 188); 396s assert (max_column, 163); 396s assert (theta_max, 72); 396s assert (rho_max, 46); 396s ***** test 396s [H, theta, rho] = hough (BW2, "Theta", [65:1:75]); 396s H_max = max (H(:)); 396s H_size = size (H); 396s [~, max_idx_lin] = max (H(:)); 396s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 396s theta_max = theta(max_column); 396s rho_max = rho(max_row); 396s assert (H_max , 33); 396s assert (H_size, [283 11]); 396s assert (max_row, 188); 396s assert (max_column, 8); 396s assert (theta_max, 72); 396s assert (rho_max, 46); 396s ***** test 396s [H, theta, rho] = hough (BW2, "Theta", [-90:0.5:89.5]); 396s H_max = max (H(:)); 396s H_size = size (H); 396s [~, max_idx_lin] = max (H(:)); 396s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 396s theta_max = theta(max_column); 396s rho_max = rho(max_row); 396s assert (H_max , 33); 396s assert (H_size, [283 360]); 396s assert (max_row, 188); 396s assert (max_column, 324); 396s assert (theta_max, 71.5); 396s assert (rho_max, 46); 396s ***** test 396s [H, theta, rho] = hough (BW2, "ThetaResolution", 0.5); 396s H_max = max (H(:)); 396s H_size = size (H); 396s [~, max_idx_lin] = max (H(:)); 396s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 396s theta_max = theta(max_column); 396s rho_max = rho(max_row); 396s assert (H_max , 33); 396s assert (H_size, [283 360]); 396s assert (max_row, 188); 396s assert (max_column, 324); 396s assert (theta_max, 71.5); 396s assert (rho_max, 46); 396s ***** test 396s [H, theta, rho] = hough (BWx); 396s H_max = max (H(:)); 396s [~, max_idx_lin] = max (H(:)); 396s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 396s theta_max = theta(max_column); 396s rho_max = rho(max_row); 396s assert (H_max , 10); 396s assert (max_column, 88); 396s assert (theta_max, -3); 396s assert (rho_max, 4); 396s ***** test 396s [H, theta, rho] = hough (BWx); 396s H_size = size (H); 396s [~, max_idx_lin] = max (H(:)); 396s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 396s assert (H_size, [27 180]); 396s assert (max_row, 18); 396s ***** test 396s [H, theta, rho] = hough (BWy); 396s H_max = max (H(:)); 396s [~, max_idx_lin] = max (H(:)); 396s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 396s theta_max = theta(max_column); 396s rho_max = rho(max_row); 396s assert (H_max , 10); 396s assert (max_column, 1); 396s assert (theta_max, -90); 396s assert (rho_max, -4); 396s ***** test 396s [H, theta, rho] = hough (BWy); 396s H_size = size (H); 396s [~, max_idx_lin] = max (H(:)); 396s [max_row, max_column] = ind2sub (size (H), max_idx_lin); 396s assert (H_size, [27 180]); 396s assert (max_row, 10); 396s ***** demo 396s BW = zeros (100, 150); 396s BW(30,:) = 1; 396s BW(:, 65) = 1; 396s BW(35:45, 35:50) = 1; 396s for i = 1:90 396s BW(i,i) = 1; 396s endfor 396s BW = imnoise (BW, "salt & pepper"); 396s figure (); 396s imshow (BW); 396s title ("BW"); 396s [H, theta, rho] = hough (BW); 396s H /= max (H(:)); 396s figure (); 396s imshow (H, "XData", theta, "YData", rho); 396s title ("hough transform of BW"); 396s axis on; 396s xlabel ("angle \\theta [degrees]"); 396s ylabel ("distance \\rho to origin [pixels]"); 396s 18 tests, 18 passed, 0 known failure, 0 skipped 396s [inst/montage.m] 396s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/montage.m 396s ***** function cdata = montage_cdata (varargin) 396s h = figure (); 396s set (h, "visible", "off"); 396s mh = montage (varargin{:}); 396s cdata = get (mh, "cdata"); 396s close (h); 396s ***** endfunction 396s ***** test 396s im = uint8 (ones (2, 2, 1, 5)) .* reshape ([1 2 3 4 5], [1 1 1 5]); 396s cdata = montage_cdata (im); 396s expected = uint8 ([ 396s 1 1 2 2 3 3 396s 1 1 2 2 3 3 396s 4 4 5 5 0 0 396s 4 4 5 5 0 0 396s ]); 396s assert (cdata, expected) 396s ***** test 396s im = uint8 (ones (2, 4, 1, 6)) .* reshape ([1 2 3 4 5 6], [1 1 1 6]); 396s cdata = montage_cdata (im); 396s expected = uint8 ([ 396s 1 1 1 1 2 2 2 2 396s 1 1 1 1 2 2 2 2 396s 3 3 3 3 4 4 4 4 396s 3 3 3 3 4 4 4 4 396s 5 5 5 5 6 6 6 6 396s 5 5 5 5 6 6 6 6 396s ]); 396s assert (cdata, expected) 396s 2 tests, 2 passed, 0 known failure, 0 skipped 396s [inst/ordfiltn.m] 396s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/ordfiltn.m 396s ***** shared b, f, s 396s b = [ 0 1 2 3 396s 1 8 12 12 396s 4 20 24 21 396s 7 22 25 18]; 396s 396s f = [ 8 12 12 12 396s 20 24 24 24 396s 22 25 25 25 396s 22 25 25 25]; 396s ***** assert (ordfiltn (b, 9, true (3)), f); 396s 396s f = [ 1 8 12 12 396s 8 20 21 21 396s 20 24 24 24 396s 20 24 24 24]; 396s ***** assert (ordfiltn (b, 8, true (3)), f); 396s 396s f = [ 1 2 8 12 396s 4 12 20 21 396s 8 22 22 21 396s 20 24 24 24]; 396s ***** assert (ordfiltn (b, 7, true (3), "symmetric"), f); 396s 396s f = [ 1 8 12 12 396s 4 20 24 21 396s 7 22 25 21 396s 7 22 25 21]; 396s ***** assert (ordfiltn (b, 3, true (3, 1)), f); 396s 396s f = [ 1 8 12 12 396s 4 20 24 18 396s 4 20 24 18 396s 4 20 24 18]; 396s ***** assert (ordfiltn (b, 3, true (4, 1)), f); 396s 396s f = [ 4 20 24 21 396s 7 22 25 21 396s 7 22 25 21 396s 7 22 25 21]; 397s ***** assert (ordfiltn (b, 4, true (4, 1)), f); 397s 397s s = [0 0 1 397s 0 0 1 397s 0 0 1]; 397s f = [ 2 8 12 12 397s 9 20 22 21 397s 21 25 24 24 397s 21 25 24 24]; 397s ***** assert (ordfiltn (b, 8, true (3), s), f); 397s 397s b(:,:,2) = b(:,:,1) - 1; 397s b(:,:,3) = b(:,:,2) - 1; 397s f(:,:,1) = [ 1 8 11 11 397s 8 20 21 21 397s 20 24 24 24 397s 20 24 24 24]; 397s f(:,:,2) = [ 6 10 11 11 397s 18 22 22 22 397s 20 24 24 24 397s 20 24 24 24]; 397s f(:,:,3) = [ 0 7 10 10 397s 7 19 20 20 397s 19 23 23 23 397s 19 23 23 23]; 397s ***** assert (ordfiltn (b, 25, true (3, 3, 3)), f); 397s 8 tests, 8 passed, 0 known failure, 0 skipped 397s [inst/imtophat.m] 397s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imtophat.m 397s ***** assert (imtophat (ones (3), [1 1; 0 1]), zeros (3)); 397s ***** assert (imtophat (true (3), [1 1; 0 1]), false (3)); 397s ***** shared in, out, se 397s in = [ 0 0 0 1 1 1 0 0 1 1 397s 0 1 0 1 1 1 0 0 0 1 397s 1 1 1 1 1 0 0 0 0 0 397s 0 1 1 1 1 0 0 0 0 0 397s 0 0 0 1 0 0 0 0 1 0 397s 0 0 0 0 0 0 0 1 1 1 397s 0 0 0 0 1 0 1 0 1 0 397s 0 0 0 1 1 1 1 1 0 0 397s 0 0 0 0 1 1 1 0 0 0 397s 0 0 0 1 1 1 0 0 0 0]; 397s 397s out = [ 0 0 0 0 0 0 0 0 1 1 397s 0 1 0 0 0 0 0 0 0 1 397s 1 1 1 1 1 0 0 0 0 0 397s 0 1 1 1 1 0 0 0 0 0 397s 0 0 0 1 0 0 0 0 1 0 397s 0 0 0 0 0 0 0 1 1 1 397s 0 0 0 0 1 0 1 0 1 0 397s 0 0 0 1 1 1 1 1 0 0 397s 0 0 0 0 1 1 1 0 0 0 397s 0 0 0 1 1 1 0 0 0 0]; 397s ***** assert (imtophat (logical (in), ones (3)), logical (out)); 397s 397s out = [12 19 0 0 0 16 23 0 7 0 397s 18 0 0 6 1 19 0 2 9 1 397s 0 74 81 12 7 0 1 8 15 7 397s 68 70 2 14 0 6 7 14 16 0 397s 69 76 8 0 0 7 14 21 0 1 397s 0 7 59 54 61 13 20 0 0 32 397s 18 0 69 60 62 19 0 0 0 27 397s 73 0 0 66 68 0 1 6 6 33 397s 0 0 17 19 1 0 2 9 7 14 397s 1 6 23 0 7 1 8 15 0 32]; 397s ***** assert (imtophat (magic (10), ones (3)), out); 397s ***** assert (imtophat (uint8 (magic (10)), strel ("square", 3)), uint8 (out)); 397s 397s ## using a se that will be decomposed in 2 pieces 397s out =[91 98 0 0 0 27 34 11 18 0 397s 94 76 3 6 1 33 15 17 24 1 397s 0 77 84 12 7 14 16 23 30 7 397s 80 82 14 18 0 32 34 41 43 0 397s 81 88 20 0 0 33 40 47 24 6 397s 12 19 63 57 64 16 23 0 7 39 397s 18 0 69 60 62 19 1 3 12 39 397s 73 0 0 66 68 0 2 9 18 45 397s 4 6 81 67 49 6 8 15 19 26 397s 5 12 87 48 55 7 14 21 0 32]; 397s ***** assert (imtophat (magic (10), ones(5)), out); 397s 397s ## using a weird non-symmetric and even-size se 397s out =[85 92 0 0 0 12 23 0 17 0 397s 91 73 0 6 0 18 0 2 13 0 397s 0 72 81 13 6 0 1 9 15 0 397s 60 62 10 12 0 8 8 17 17 0 397s 61 69 0 0 0 28 16 41 0 0 397s 0 0 47 52 61 12 16 0 0 31 397s 6 0 53 58 60 17 0 0 0 33 397s 69 0 0 60 62 0 0 6 0 33 397s 0 0 17 60 42 0 2 13 1 8 397s 0 6 23 0 7 0 7 15 0 14]; 397s ***** assert (imtophat (magic (10), [1 0 0 0; 1 1 1 0; 0 1 0 1]), out); 397s 397s ## N dimensional and weird se 397s in = reshape (magic(16), [4 8 4 2]); 397s se = ones (3, 3, 3); 397s se(:,:,1) = [1 0 1; 0 1 1; 0 0 0]; 397s se(:,:,3) = [1 0 1; 0 1 1; 0 0 1]; 397s out = zeros (size (in)); 397s out(:,:,1,1) = [ 397s 239 146 82 18 0 19 83 133 397s 0 35 99 163 219 128 64 0 397s 0 46 128 195 187 123 59 0 397s 157 93 47 0 14 78 142 211]; 397s out(:,:,2,1) = [ 397s 0 21 85 149 233 146 64 0 397s 205 128 64 0 0 41 87 151 397s 171 107 57 0 0 64 121 185 397s 0 64 142 213 169 105 41 0]; 397s out(:,:,3,1) = [ 397s 231 146 78 14 0 27 77 137 397s 0 43 107 167 211 128 64 0 397s 0 46 128 199 179 119 51 0 397s 149 85 39 0 18 78 142 219]; 397s out(:,:,4,1) = [ 397s 0 29 93 157 225 128 64 0 397s 197 128 64 0 0 31 95 159 397s 163 99 53 0 0 61 125 189 397s 0 64 146 221 161 97 33 0]; 397s out(:,:,1,2) = [ 397s 223 146 82 18 0 35 99 149 397s 0 48 115 179 203 128 64 0 397s 0 46 128 211 171 107 43 0 397s 141 77 31 0 14 78 142 227]; 397s out(:,:,2,2) = [ 397s 0 37 101 165 217 146 64 0 397s 189 125 64 0 0 57 103 167 397s 155 91 41 0 0 64 128 201 397s 0 64 142 229 153 89 25 0]; 397s out(:,:,3,2) = [ 397s 215 146 78 14 0 43 93 153 397s 0 48 123 183 195 128 64 0 397s 0 46 128 215 163 103 35 0 397s 133 69 23 0 18 78 142 235]; 397s out(:,:,4,2) = [ 397s 0 45 109 173 209 128 64 0 397s 181 117 64 0 0 47 111 175 397s 147 83 37 0 0 64 128 205 397s 0 64 146 237 145 81 17 0]; 397s ***** assert (imtophat (in, se), out); 397s 8 tests, 8 passed, 0 known failure, 0 skipped 397s [inst/im2uint8.m] 397s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/im2uint8.m 397s ***** assert (im2uint8 (uint8 ([1 2 3])), uint8 ([1 2 3])); 397s ***** assert (im2uint8 (uint16 ([0 65535])), uint8 ([0 255])); 397s ***** assert (im2uint8 ([0 0.5 1]), uint8 ([0 128 255])); 397s ***** assert (im2uint8 ([1 2]), uint8 ([255 255])); 397s ***** assert (im2uint8 ([-1 0 0.5 1 2]), uint8 ([0 0 128 255 255])); 397s ***** assert (im2uint8 (int16 ([-32768 0 32768])), uint8 ([0 128 255])); 397s ***** assert (im2uint8 ([false true]), uint8 ([0 255])); 397s ***** assert (im2uint8 ([true false]), uint8 ([255 0])); 397s ***** assert (im2uint8 ([1 256], "indexed"), uint8 ([0 255])); 397s ***** assert (im2uint8 ([3 25], "indexed"), uint8 ([2 24])); 397s ***** assert (im2uint8 (uint16 ([3 25]), "indexed"), uint8 ([3 25])); 397s ***** error im2uint8 ([0 1 2], "indexed"); 397s ***** error im2uint8 (int16 ([17 8]), "indexed"); 397s ***** error im2uint8 (int16 ([-7 8]), "indexed"); 397s ***** error im2uint8 ([false true], "indexed"); 397s ***** error im2uint8 (uint16 (256), "indexed"); 397s ***** error im2uint8 (257, "indexed"); 397s ***** assert (im2uint8 ((1:255) ./ 256), uint8 ([1:128 128:254])) 397s ***** assert (im2uint8 ((0:255) ./ 256), uint8 ([0:128 128:254])) 397s 19 tests, 19 passed, 0 known failure, 0 skipped 397s [inst/nlfilter.m] 397s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/nlfilter.m 397s ***** demo 397s ## creates a "wide" diagonal (although it can be performed more 397s ## efficiently with "imdilate (A, true (3))") 397s nlfilter (eye (10), [3 3], @(x) any (x(:) > 0)) 397s ***** assert (nlfilter (eye (4), [2 3], @(x) sum (x(:))), 397s [2 2 1 0 397s 1 2 2 1 397s 0 1 2 2 397s 0 0 1 1]); 397s ***** assert (nlfilter (eye (4), "indexed", [2 3], @(x) sum (x(:))), 397s [4 2 1 2 397s 3 2 2 3 397s 2 1 2 4 397s 4 3 4 5]); 397s ***** assert (nlfilter (eye (4), "indexed", [2 3], @(x, y) sum (x(:)) == y, 2), 397s logical ([0 1 0 1 397s 0 1 1 0 397s 1 0 1 0 397s 0 0 0 0])); 397s ***** assert (nlfilter (uint8 (eye (4)), "indexed", [2 3], @(x) sum (x(:))), 397s [2 2 1 0 397s 1 2 2 1 397s 0 1 2 2 397s 0 0 1 1]); 397s ***** assert (nlfilter (int16 (eye (4)), "indexed", [2 3], @(x) sum (x(:))), 397s [4 2 1 2 397s 3 2 2 3 397s 2 1 2 4 397s 4 3 4 5]); 397s ***** assert (nlfilter (uint8 (eye (4)), "indexed", [2 3], @(x) int8 (sum (x(:)))), 397s int8 ([2 2 1 0 397s 1 2 2 1 397s 0 1 2 2 397s 0 0 1 1])); 397s ***** test 397s ## Effect of out of border elements. 397s expected = [ 397s 0.5 6.0 6.0 0.5 0 397s 5.5 10.5 13.5 10.5 4.0 397s 6.5 12.5 13.5 13.5 1.5 397s 10.5 12.5 15.5 11.0 1.0 397s 5.0 10.5 6.0 1.0 0 397s ]; 397s assert (nlfilter (magic (5), [3 4], @(x) median (x(:))), expected) 397s ***** test 397s ## The center pixel of a sliding window when its length is even 397s ## sized is ceil ((size (NHOOD) +1) /2) 397s expected = [ 397s 24 24 24 16 16 397s 24 24 24 22 22 397s 23 23 22 22 22 397s 25 25 25 25 22 397s 25 25 25 25 21 397s ]; 397s assert (nlfilter (magic (5), [3 4], @(x) max (x(:))), expected) 397s ***** function dilated = imdilate_like_nlfilter (im, nhood) 397s even_nhood_dims = find (mod (size (nhood), 2) == 0); 397s for i = 1:even_nhood_dims 397s im = flip (im, i); 397s endfor 397s dilated = imdilate (im, nhood); 397s for i = 1:even_nhood_dims 397s dilated = flip (dilated, i); 397s endfor 397s ***** endfunction 397s ***** test 397s a = randi (65535, 20, 20, 20, "uint16"); 397s ## extra dimensions on matrix only 397s assert (nlfilter (a, [5 5], @(x) max(x(:))), imdilate (a, ones (5))) 397s ## extra dimensions on both matrix and block 397s assert (nlfilter (a, [5 5 5], @(x) max(x(:))), imdilate (a, ones ([5 5 5]))) 397s ## extra dimensions and padding 397s assert (nlfilter (a, [3 7], @(x) max(x(:))), imdilate (a, ones ([3 7]))) 397s assert (nlfilter (a, [3 7 3], @(x) max(x(:))), imdilate (a, ones ([3 7 3]))) 398s ***** test 398s a = randi (65535, 15, 15, 4, 8, 3, "uint16"); 398s assert (nlfilter (a, [3 4 7 5], @(x) max(x(:))), 398s imdilate_like_nlfilter (a, ones ([3 4 7 5]))) 399s ***** test 399s a = randi (65535, 15, 15, 4, 3, 8, "uint16"); 399s ord = ordfiltn (a, 3, ones ([3 7 3 1 5])); 399s assert (nlfilter (a, [3 7 3 1 5], @(x) sort (x(:))(3)), ord) 399s assert (nlfilter (a, [3 7 3 1 5], @(x, y) sort (x(:))(y), 3), ord) 401s 11 tests, 11 passed, 0 known failure, 0 skipped 401s [inst/labelmatrix.m] 401s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/labelmatrix.m 401s ***** test 401s cc = struct (); 401s cc.Connectivity = 8; 401s cc.ImageSize = [7 7]; 401s cc.NumObjects = 4; 401s cc.PixelIdxList = {[1;2], [5;7;12;13;14], [22;23], [26;32;33;36;37;38]}; 401s 401s l = uint8 ([ 401s 1 0 0 3 0 4 0 401s 1 0 0 3 0 4 0 401s 0 0 0 0 0 4 0 401s 0 0 0 0 4 0 0 401s 2 2 0 4 4 0 0 401s 0 2 0 0 0 0 0 401s 2 2 0 0 0 0 0 401s ]); 401s assert (labelmatrix (cc), l) 401s 1 test, 1 passed, 0 known failure, 0 skipped 401s [inst/medfilt2.m] 401s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/medfilt2.m 401s ***** shared b, f 401s b = [ 0 1 2 3 401s 1 8 12 12 401s 4 20 24 21 401s 7 22 25 18]; 401s f = [ 0 1 2 0 401s 1 4 12 3 401s 4 12 20 12 401s 0 7 20 0]; 401s ***** assert (medfilt2 (b), f); 401s 401s f = [ 0 1 2 3 401s 1 8 12 12 401s 4 20 24 18 401s 4 20 24 18]; 401s ***** assert (medfilt2 (b, true (3, 1)), f); 401s ***** assert (medfilt2 (b, [3 1]), f); 401s 401s f = [ 1 8 10 10 401s 1 8 12 12 401s 4 20 24 18 401s 7 20 24 18]; 401s ***** assert (medfilt2 (b, [3 1], 10), f); 401s ***** assert (medfilt2 (b, 10, [3 1]), f); 401s 401s f = [ 0.5 4.5 7.0 7.5 401s 2.5 14.0 18.0 15.0 401s 2.5 14.0 18.0 15.0 401s 2.0 10.0 12.0 9.0]; 401s ***** assert (medfilt2 (b, true (4, 1)), f); 401s ***** assert (medfilt2 (b, [4 1]), f); 401s ***** test 401s A = zeros (3, 3); 401s B = ones (3, 3); 401s C = [1 1 1; 2 2 2; 3 3 3]; 401s D = C'; 401s E = ones (3, 3); 401s E(2,2) = 2; 401s F = 3 .* ones (3, 3); 401s F(2,2) = 1; 401s G = [-1 2 7; -5 2 8; -7 pi 9]; 401s H = [5 2 8; 1 -3 1; 5 1 0]; 401s A_out = [0 0 0; 0 0 0; 0 0 0]; 401s B_out = [0 1 0; 1 1 1; 0 1 0]; 401s C_out = [0 1 0; 1 2 1; 0 2 0]; 401s D_out = [0 1 0; 1 2 2; 0 1 0]; 401s E_out = [0 1 0; 1 1 1; 0 1 0]; 401s F_out = [0 3 0; 3 3 3; 0 3 0]; 401s G_out = [0 0 0; 0 2 2; 0 0 0]; 401s H_out = [0 1 0; 1 1 0; 0 0 0]; 401s assert (medfilt2 (A), A_out); 401s assert (medfilt2 (B), B_out); 401s assert (medfilt2 (C), C_out); 401s assert (medfilt2 (D), D_out); 401s assert (medfilt2 (E), E_out); 401s assert (medfilt2 (F), F_out); 401s assert (medfilt2 (G), G_out); 401s assert (medfilt2 (H), H_out); 401s 8 tests, 8 passed, 0 known failure, 0 skipped 401s [inst/makelut.m] 401s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/makelut.m 401s ***** demo 401s makelut(@(x) sum(x(:))>=3, 2) 401s % Returns '1' if one or more values 401s % in the input matrix are 1 401s ***** 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 401s ***** assert(prod(makelut(@(x) x(1,1)==1, 2)==[zeros(2^3,1);ones(2^3,1)])==1); # test 2-by-2 401s ***** assert(prod(makelut(@(x) x(1,1)==1, 3)==[zeros(2^8,1);ones(2^8,1)])==1); # test 3-by-3 401s ***** assert(prod(makelut(@(x) x(1,1)==1, 4)==[zeros(2^15,1);ones(2^15,1)])==1); # test 4-by-4 403s ***** 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 403s 5 tests, 5 passed, 0 known failure, 0 skipped 403s [inst/houghpeaks.m] 403s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/houghpeaks.m 403s ***** shared im1 403s im1 = magic (5); 403s ***** error houghpeaks () 403s ***** error houghpeaks (1, 2, 3, 4, 5, 6, 7) 403s ***** assert (houghpeaks (im1)) 403s ***** assert (houghpeaks (im1, 2)) 403s ***** assert (houghpeaks (im1, "Threshold", 10)) 403s ***** assert (houghpeaks (im1, 2, "Threshold", 10)) 403s ***** assert (houghpeaks (im1, "NHoodSize", [3 3])) 403s ***** assert (houghpeaks (im1, 2, "NHoodSize", [3 3])) 403s ***** assert (houghpeaks (im1, "Threshold", 10, "NHoodSize", [3 3])) 403s ***** assert (houghpeaks (im1, "NHoodSize", [3 3], "Threshold", 10)) 403s ***** assert (houghpeaks (im1, 2, "Threshold", 10, "NHoodSize", [3 3])) 403s ***** assert (houghpeaks (im1, 2, "NHoodSize", [3 3], "Threshold", 10)) 403s ***** error houghpeaks (ones (5, 5, 5)) 403s ***** error houghpeaks ("hello") 403s ***** error houghpeaks (im1, 1.5) 403s ***** error houghpeaks (im1, -2) 403s ***** error houghpeaks (im1, [1 1]) 403s ***** error houghpeaks (im1, "Threshold", "hello") 403s ***** error houghpeaks (im1, "Threshold", -2) 403s ***** error houghpeaks (im1, "Threshold", [1 1]) 403s ***** error houghpeaks (im1, "NHoodSize", [3 3 3]) 403s ***** error houghpeaks (im1, "NHoodSize", "hello") 403s ***** error houghpeaks (im1, "NHoodSize", [-3 -3]) 403s ***** error houghpeaks (im1, "NHoodSize", [4 4]) 403s ***** test 403s out = houghpeaks (im1); 403s assert (size (out), [1 2]) 403s assert (class (out), "double") 403s ***** test 403s out = houghpeaks (im1, 3); 403s assert (size (out), [3 2]) 403s ***** test 403s expected = [5 3; 1 2; 3 5; 1 5]; 403s assert (houghpeaks (im1, 4), expected) # this checks for undocumented nhood >=3 403s assert (houghpeaks (im1, 4, "nhoodsize", [3,3]), expected) 403s assert (houghpeaks (im1, 4, "threshold", 10), expected) 403s assert (houghpeaks (im1, 4, "threshold", 24), expected(1:2,:)) 403s ***** test 403s im2 = magic (7); 403s expected_a = [7 4; 1 3; 3 1; 5 6]; 403s expected_b = [7 4; 1 3; 4 7; 1 7]; 403s assert (houghpeaks (im2, 4), expected_a) 403s assert (houghpeaks (im2, 4, "nhoodsize", [5,5]), expected_b) 403s assert (houghpeaks (im2, 4, "threshold", 24), expected_a) 403s assert (houghpeaks (im2, 4, "threshold", 47), expected_a(1:2,:)) 403s ***** test 403s im3 = magic (99); 403s expected_a = [99 50; 1 49; 3 47; 5 45; 7 43; 9 41; 11 39]; 403s expected_b = [99 50; 1 49; 7 43; 13 37; 19 31; 25 25; 31 19]; 403s expected_c = [99 50; 1 49; 2 48; 3 47; 4 46; 5 45; 6 44]; 403s assert (houghpeaks (im3, 7), expected_a) 403s assert (houghpeaks (im3, 7, "nhoodsize", [11 11]), expected_b) 403s assert (houghpeaks (im3, 7, "nhoodsize", [11 1]), expected_c) 403s assert (houghpeaks (im3, 7, "nhoodsize", [11 1]), expected_c) 403s ***** test 403s im4 = double (im2uint16 (peaks ())); 403s expected_a = [37 15; 39 15; 41 15; 15 16; 17 16]; 403s expected_b = [37 15; 15 16; 26 21; 37 26; 20 32]; 403s expected_c = [37 15; 15 16; 35 16; 15 17; 35 17]; 403s expected_d = [37 15; 38 15; 39 15; 40 15; 41 15]; 403s assert (houghpeaks (im4, 5), expected_a) 403s assert (houghpeaks (im4, 5, "nhoodsize", [21 21]), expected_b) 403s assert (houghpeaks (im4, 5, "nhoodsize", [21 1]), expected_c) 403s assert (houghpeaks (im4, 5, "nhoodsize", [1 21]), expected_d) 403s ***** test # tests use of anti-symmetry in H 403s im5 = zeros (6,4); im5(2,1) = 1; im5(5,4) = 2; 403s expected = [5 4; 2 1]; 403s assert (houghpeaks (im5, 2, "nhoodsize", [1 1]), expected); 403s assert (houghpeaks (im5, 2, "nhoodsize", [3 3]), expected(1,:)); 403s ***** test #test use of anti-symmetry in the other direction 403s im6 = magic (100); 403s expected_a = [1 1; 100 99; 1 4; 100 95; 1 8; 100 91; 1 12]; 403s expected_b = [1 1; 100 95; 1 8; 100 87; 1 16; 100 79; 1 24]; 403s expected_c = [1 1; 100 99; 100 98; 1 4; 1 5; 100 95; 100 94]; 403s expected_d = expected_b; 403s assert (houghpeaks (im6, 7), expected_a) 403s assert (houghpeaks (im6, 7, "nhoodsize", [11 11]), expected_b) 403s assert (houghpeaks (im6, 7, "nhoodsize", [11 1]), expected_c) 403s assert (houghpeaks (im6, 7, "nhoodsize", [1 11]), expected_d) 403s ***** test # test undocumented Matlab default value for nhoodsize 403s im = zeros (723, 180); 403s im(585,136) = 8; 403s im(593,135) = 7; 403s im(310,46) = 6; 403s expected = [585, 136; 310, 46]; 403s assert (houghpeaks (im, 2), expected) 403s ***** test 403s I = max (0, phantom ()); 403s H = hough (I); 403s P0 = [585, 136; 310, 46; 595, 136; 522, 104; 373, 46]; 403s assert (houghpeaks (H, 5), P0) 404s ***** demo 404s I = checkerboard (30, 1, 1); 404s I = imnoise(I, "salt & pepper", 0.2); 404s figure, imshow (I); 404s title ("noisy image with some lines"); 404s BW = edge (I, "canny"); 404s figure, imshow(BW); 404s title ("edge image"); 404s [H, theta, rho] = hough (BW); 404s figure, imshow (mat2gray (H), [],"XData",theta,"YData",rho); 404s title ("Hough transform of edge image \n 2 peaks marked"); 404s axis on; xlabel("theta [degrees]"); ylabel("rho [pixels]"); 404s peaks = houghpeaks (H, 2); 404s peaks_rho = rho(peaks(:,1)) 404s peaks_theta = theta(peaks(:,2)) 404s hold on; 404s plot(peaks_theta,peaks_rho,"sr"); 404s hold off; 404s 34 tests, 34 passed, 0 known failure, 0 skipped 404s [inst/lab2rgb.m] 404s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/lab2rgb.m 404s ***** assert (lab2rgb ([0 0 0]), [0, 0, 0], 1e-3) 404s ***** assert (lab2rgb ([53.24, 80.09, 67.20]), [1 0 0], 1e-3) 404s ***** assert (lab2rgb ([97.14, -21.55, 94.48]), [1 1 0], 1e-3) 404s ***** assert (lab2rgb ([87.74, -86.18, 83.18]), [0 1 0], 1e-3) 404s ***** assert (lab2rgb ([91.11, -48.09, -14.13]), [0 1 1], 1e-3) 404s ***** assert (lab2rgb ([32.30, 79.19, -107.86]), [0 0 1], 1e-3) 404s ***** assert (lab2rgb ([60.32, 98.24, -60.83]), [1 0 1], 1e-3) 404s ***** assert (lab2rgb ([100, 0.00, 0.00]), [1 1 1], 1e-3) 404s ***** assert (lab2rgb ([53.39, 0.00, 0.00]), [0.5 0.5 0.5], 1e-3) 404s ***** assert (lab2rgb ([39.77, 64.51, 54.13]), [0.75 0 0], 1e-3) 404s ***** assert (lab2rgb ([25.42, 47.91, 37.91]), [0.5 0 0], 1e-3) 404s ***** assert (lab2rgb ([9.66, 29.68, 15.24]), [0.25 0 0], 1e-3) 404s ***** assert (lab2rgb ([68.11, 48.39, 22.83]), [1 0.5 0.5], 1e-3) 404s ***** assert (lab2rgb ([150 130 130]), [2.714, 1.028, 0.492], 1e-3) 404s ***** test 404s lab_map = rand (64, 3); 404s lab_map(:,1) = lab_map(:,1) .* 100; 404s lab_map(:,2) = lab_map(:,2) .* 254 - 127; 404s lab_map(:,3) = lab_map(:,3) .* 254 - 127; 404s assert (rgb2lab (lab2rgb (lab_map)), lab_map, 5e-3); 404s ***** test 404s lab_img = rand (64, 64, 3); 404s lab_img(:,:,1) = lab_img(:,:,1) .* 100; 404s lab_img(:,:,2) = lab_img(:,:,2) .* 254 - 127; 404s lab_img(:,:,3) = lab_img(:,:,3) .* 254 - 127; 404s assert (rgb2lab (lab2rgb (lab_img)), lab_img, 5e-3); 404s ***** assert (lab2rgb (sparse ([0 0 0])), [0 0 0], 1e-3) 404s ***** assert (lab2rgb (sparse ([100, 0.00, 0.00])), [1 1 1], 1e-3) 404s ***** assert (class (lab2rgb (single([50 50 50]))), 'single') 404s ***** error lab2rgb () 404s ***** error lab2rgb (1,2) 404s ***** error lab2rgb ({1}) 404s ***** error lab2rgb (ones (2,2)) 404s ***** test 404s lab = rand (16, 16, 3, 5); 404s lab(:,:,1,:) = lab(:,:,1,:) .* 100; 404s lab(:,:,2,:) = lab(:,:,2,:) .* 254 - 127; 404s lab(:,:,3,:) = lab(:,:,3,:) .* 254 - 127; 404s rgb = zeros (size (lab)); 404s for i = 1:5 404s rgb(:,:,:,i) = lab2rgb (lab(:,:,:,i)); 404s endfor 404s assert (lab2rgb (lab), rgb) 404s 24 tests, 24 passed, 0 known failure, 0 skipped 404s [inst/fftconvn.m] 404s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/fftconvn.m 404s ***** function test_shapes (a, b, precision) 404s shapes = {"valid", "same", "full"}; 404s for i = 1:3 404s shape = shapes{i}; 404s assert (fftconvn (a, b, shape), convn (a, b, shape), precision); 404s endfor 404s assert (fftconvn (a, b), fftconvn (a, b, "full")); 404s ***** endfunction 404s ***** test test_shapes (randi (255, 100), randi (255, 10), 0.1) 404s ***** test test_shapes (randi (255, 100, 100), randi (255, 10, 10), 0.1) 404s ***** test test_shapes (randi (255, 100, 100, 100), randi (255, 10, 10, 10), 0.1) 408s ***** test test_shapes (randi (255, 100, 50, 20), randi (255, 10, 7), 0.1) 409s ***** test test_shapes (randi (255, 100, 50, 20), randi (255, 10), 0.1) 409s ***** test 409s for s = [55 56 57 58] 409s test_shapes (randi (255, 200, 200), randi (255, s, s), 0.1) 409s endfor 410s ***** test 410s for s = [203 204 205 206] 410s test_shapes (randi (255, s, s), randi (255, 52, 52), 0.1) 410s endfor 412s ***** test test_shapes (randi (255, 100, 100, "uint8"), randi (255, 10, 10, "uint8"), 0.1) 412s ***** test test_shapes (randi (255, 100, 100, "uint8"), randi (255, 10, 10), 0.1) 412s ***** test test_shapes (randi (255, 100, 100, "single"), randi (255, 10, 10, "single"), 0.9) 412s ***** test test_shapes (randi (255, 100, 100, "single"), randi (255, 10, 10), 0.9) 412s 11 tests, 11 passed, 0 known failure, 0 skipped 412s [inst/imfill.m] 412s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imfill.m 412s ***** test 412s I = uint8 (5.*[1 1 1; 1 0 1; 1 1 1]); 412s bw = logical ([1 1 1; 1 0 1; 1 1 1]); 412s I2 = uint8 (5.*ones (3)); 412s bw2 = logical (ones (3)); 412s 412s assert (imfill (int8 (I)), int8 (I2)) 412s assert (imfill (int16 (I)), int16 (I2)) 412s assert (imfill (int32 (I)), int32 (I2)) 412s assert (imfill (int64 (I)), int64 (I2)) 412s assert (imfill (uint8 (I)), uint8 (I2)) 412s assert (imfill (uint16 (I)), uint16 (I2)) 412s assert (imfill (uint32 (I)), uint32 (I2)) 412s assert (imfill (uint64 (I)), uint64 (I2)) 412s assert (imfill (single (I)), single (I2)) 412s assert (imfill (double (I)), double (I2)) 412s assert (imfill (bw, "holes"), bw2) 412s assert (imfill (uint8 (bw)), uint8 (bw2)) 412s ***** error 412s imfill (i + ones (3, 3)); # complex input 412s ***** error 412s imfill (sparse (double (I))); # sparse input 412s ***** error 412s imfill (); 412s ***** error 412s imfill (true (3), 4, "holes", 5) 412s ***** error 412s imfill (false (3), ones (2, 3)) 412s ***** error 412s imfill (false (3), ones (2, 3), 4) 412s ***** error 412s imfill (false (3)) 412s ***** error 412s imfill (false (3), 0, 4) 412s ***** warning 412s bw = logical ([1 1 1; 1 0 1; 1 1 1]); 412s assert (imfill (bw, [5 5]), bw) 412s assert (imfill (bw, 15), bw) 412s 412s bw = repmat (bw, [1 1 3]); 412s assert (imfill (bw, 30), bw) 412s assert (imfill (bw, [2 2 5]), bw) 412s ***** test 412s bw = logical ([1 0 0 0 0 0 0 0 412s 1 1 1 1 1 0 0 0 412s 1 0 0 0 1 0 1 0 412s 1 0 0 0 1 1 1 0 412s 1 1 1 1 0 1 1 1 412s 1 0 0 1 1 0 1 0 412s 1 0 0 0 1 0 1 0 412s 1 0 0 0 1 1 1 0]); 412s bw2 = logical ([1 0 0 0 0 0 0 0 412s 1 1 1 1 1 0 0 0 412s 1 1 1 1 1 0 1 0 412s 1 1 1 1 1 1 1 0 412s 1 1 1 1 1 1 1 1 412s 1 0 0 1 1 1 1 0 412s 1 0 0 0 1 1 1 0 412s 1 0 0 0 1 1 1 0]); 412s bw3 = logical ([1 0 0 0 0 0 0 0 412s 1 1 1 1 1 0 0 0 412s 1 1 1 1 1 0 1 0 412s 1 1 1 1 1 1 1 0 412s 1 1 1 1 0 1 1 1 412s 1 0 0 1 1 0 1 0 412s 1 0 0 0 1 0 1 0 412s 1 0 0 0 1 1 1 0]); 412s assert (imfill (bw, "holes"), bw2) 412s assert (imfill (bw, 8, "holes"), bw2) 412s assert (imfill (bw, 4, "holes"), bw2) 412s assert (imfill (bw, [3 3]), bw3) 412s assert (imfill (bw, 19), bw3) 412s assert (imfill (bw, [3 3], 4), bw3) 412s assert (imfill (bw, 19, 4), bw3) 412s assert (imfill (bw, [3 3], 8), bw2) 412s assert (imfill (bw, 19, 8), bw2) 412s assert (imfill (bw, [19; 20]), bw3) 412s assert (imfill (bw, [19; 20], 4), bw3) 412s assert (imfill (bw, [19; 20], 8), bw2) 412s ***** warning 412s bw = logical ([1 1 1 1 1 1 1 412s 1 0 0 0 0 0 1 412s 1 0 1 1 1 0 1 412s 1 0 1 0 1 0 1 412s 1 0 1 1 1 0 1 412s 1 0 0 0 0 0 1 412s 1 1 1 1 1 1 1]); 412s bw44 = logical ([1 1 1 1 1 1 1 412s 1 0 0 0 0 0 1 412s 1 0 1 1 1 0 1 412s 1 0 1 1 1 0 1 412s 1 0 1 1 1 0 1 412s 1 0 0 0 0 0 1 412s 1 1 1 1 1 1 1]); 412s bw9 = logical ([1 1 1 1 1 1 1 412s 1 1 1 1 1 1 1 412s 1 1 1 1 1 1 1 412s 1 1 1 0 1 1 1 412s 1 1 1 1 1 1 1 412s 1 1 1 1 1 1 1 412s 1 1 1 1 1 1 1]); 412s assert (imfill (bw, "holes"), logical (ones (7))) 412s assert (imfill (bw, [4 4]), bw44) 412s assert (imfill (bw, 9), bw9) 412s assert (imfill (bw, [4 4; 10 10]), bw44) 412s ***** test 412s bw = logical ([1 1 0 1 1]); 412s assert (imfill (bw, "holes"), bw) 412s bw = logical([1 1 0 1 1; 1 1 1 1 1]); 412s assert (imfill (bw, "holes"), bw) 412s ***** test 412s I = zeros (5); 412s I(:, [2 4]) = 1; 412s I2_expected = [0 1 1 1 0 412s 0 1 1 1 0 412s 0 1 1 1 0 412s 0 1 1 1 0 412s 0 1 1 1 0]; 412s I2 = imfill (I, [0 0 0; 1 1 1; 0 0 0], "holes"); 412s assert (I2, I2_expected) 412s ***** test 412s I = zeros (5); 412s I(:, [2 4]) = 1; 412s I2_expected = I; 412s I2 = imfill (I, [0 1 0; 0 1 0; 0 1 0], "holes"); 412s assert (I2, I2_expected) 412s ***** test # this test is Matlab compatible 412s I = zeros (5); 412s I(:, [2 4]) = 1; 412s I2_expected = inf .* ones (5); 412s I2 = imfill (I, [0 0 0; 0 1 0; 0 0 0], "holes"); 412s assert (I2, I2_expected) 412s ***** test 412s I = false (5); 412s I(:, [2 4]) = true; 412s I2_expected = true (5); 412s I2 = imfill (I, [0 0 0; 0 1 0; 0 0 0], "holes"); 412s assert (I2, I2_expected) 412s ***** test 412s I = uint8 ([10 20 80 85 20 412s 15 90 03 25 88 412s 05 85 02 50 83 412s 90 04 03 80 80 412s 10 81 83 85 30]); 412s I2 = uint8 ([10 20 80 85 20 412s 15 90 80 80 88 412s 05 85 80 80 83 412s 90 80 80 80 80 412s 10 81 83 85 30]); 412s I3 = uint8 ([10 20 80 85 20 412s 15 90 05 25 88 412s 05 85 05 50 83 412s 90 05 05 80 80 412s 10 81 83 85 30]); 412s assert (imfill (I), I2) 412s assert (imfill (I, 4), I2) 412s assert (imfill (I, 4, "holes"), I2) 412s assert (imfill (I, 8), I3) 412s assert (imfill (I, "holes"), I2) 412s ***** test 412s v_line = [0 1 0; 0 1 0; 0 1 0]; 412s h_line = [0 0 0; 1 1 1; 0 0 0]; 412s im = [0 1 0 0 1 0]; 412s 412s assert (imfill (im, h_line, "holes"), [0 1 1 1 1 0]) 412s assert (imfill (im, v_line, "holes"), [0 1 0 0 1 0]) 412s assert (imfill (im', h_line, "holes"), [0 1 0 0 1 0]') 412s assert (imfill (im', v_line, "holes"), [0 1 1 1 1 0]') 412s 412s im = repmat (im, [1 1 5]); 412s assert (imfill (im, h_line, "holes"), repmat ([0 1 1 1 1 0], [1 1 5])) 412s assert (imfill (im, v_line, "holes"), im) 412s 412s im = permute (im, [2 1 3]); 412s assert (imfill (im, h_line, "holes"), im) 412s assert (imfill (im, v_line, "holes"), repmat ([0 1 1 1 1 0]', [1 1 5])) 412s ***** test 412s im = logical ([0 0 0 0 0 0 412s 0 1 1 1 1 0 412s 0 1 0 0 1 0 412s 0 1 1 1 1 0 412s 0 0 0 0 0 0]); 412s fi = logical ([0 0 0 0 0 0 412s 0 1 1 1 1 0 412s 0 1 1 1 1 0 412s 0 1 1 1 1 0 412s 0 0 0 0 0 0]); 412s 412s assert (imfill (cat (3, im, im, im), 8, 'holes'), cat (3, fi, fi, fi)) 412s assert (imfill (cat (3, im, im, im), 'holes'), cat (3, im, im, im)) 412s assert (imfill (cat (3, fi, im, fi), 'holes'), cat (3, fi, fi, fi)) 412s ***** test 412s emp = false (5, 6); 412s im = logical ([0 0 0 0 0 0 412s 0 1 1 1 1 0 412s 0 1 0 1 0 1 412s 0 1 1 1 1 0 412s 0 0 0 0 0 0]); 412s fi = logical ([0 0 0 0 0 0 412s 0 1 1 1 1 0 412s 0 1 1 1 1 1 412s 0 1 1 1 1 0 412s 0 0 0 0 0 0]); 412s fi1 = logical ([0 0 0 0 0 0 412s 0 1 1 1 1 0 412s 0 1 1 1 0 1 412s 0 1 1 1 1 0 412s 0 0 0 0 0 0]); 412s fi2 = logical ([0 0 0 0 0 0 412s 0 1 1 1 1 0 412s 0 1 0 1 1 1 412s 0 1 1 1 1 0 412s 0 0 0 0 0 0]); 412s 412s assert (imfill (cat (3, im, im, im), [3 3 2]), cat (3, fi1, fi1, fi1)) 412s assert (imfill (cat (3, im, im, im), [3 5 2]), cat (3, fi2, fi2, fi2)) 412s assert (imfill (cat (3, im, im, im), [3 3 2; 3 5 2]), cat (3, fi, fi, fi)) 412s assert (imfill (cat (3, emp, im, emp), [3 3 2]), true (5, 6, 3)) 412s 21 tests, 21 passed, 0 known failure, 0 skipped 412s [inst/imhmax.m] 413s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imhmax.m 413s ***** shared im0, im0_h2_out 413s im0 = uint8 ([0 0 0 0 0; 413s 0 1 2 1 0; 413s 0 2 5 2 0; 413s 0 1 2 1 0; 413s 0 0 0 0 0]); 413s im0_h2_out = uint8 ([0 0 0 0 0; 413s 0 1 2 1 0; 413s 0 2 3 2 0; 413s 0 1 2 1 0; 413s 0 0 0 0 0]); 413s ***** error imhmax () 413s ***** error imhmax (im0) 413s ***** error imhmax ("hello", 2) 413s ***** error imhmax (i.*im0, 2) 413s ***** error imhmax (sparse (im0), 2) 413s ***** error imhmax (im0, -2) 413s ***** error imhmax (im0, 'a') 413s ***** error imhmax (im0, ones (2)) 413s ***** error imhmax (im0, 2*i) 413s ***** assert (imhmax (im0, 2), im0_h2_out) 413s ***** assert (imhmax (double (im0), 2), double (im0_h2_out)) 413s ***** assert (imhmax (im0, 2, 8), im0_h2_out) 413s ***** assert (imhmax (im0, 2, 4), im0_h2_out) 413s ***** assert (imhmax (im0, 2, true (3)), im0_h2_out) 413s ***** test 413s out = imhmax (double (im0), 2); 413s assert (size (out), size (im0)) 413s assert (class (out), "double") 413s ***** test 413s out = imhmax (single (im0), 2); 413s assert (size (out), size (im0)) 413s assert (class (out), "single") 413s ***** test 413s out = imhmax (uint8 (im0), 2); 413s assert (size (out), size (im0)) 413s assert (class (out), "uint8") 413s ***** test 413s out = imhmax (uint16 (im0), 2); 413s assert (size (out), size (im0)) 413s assert (class (out), "uint16") 413s ***** test 413s im = cat (3, im0, im0, im0, im0); 413s out = imhmax (im, 2); 413s assert (size (out), size (im)) 413s ***** test 413s im = zeros (10); 413s im(2:4, 2:4) = 3; 413s im(6:8, 6:8) = 8; 413s expected_4 = zeros (10); 413s expected_4(6:8, 6:8) = 4; 413s expected_2 = zeros (10); 413s expected_2(2:4, 2:4) = 1; 413s expected_2(6:8, 6:8) = 6; 413s out = imhmax (im, 4); 413s assert (out, expected_4, eps) 413s out = imhmax (im, 2); 413s assert (out, expected_2, eps) 413s out = imhmax (0.1 .* im, 0.4); 413s assert (out, 0.1 .* expected_4, eps) 413s ***** test 413s im2 = zeros (10); 413s im2(2:4, 2:4) = 3; 413s im2(6:9, 6:9)=8; 413s im2(5, 5)=8; 413s im2(6, 7)=0; 413s im2(7, 8)=0; 413s expected_4 = zeros (10); 413s expected_4(6:9, 6:9) = 4; 413s expected_4(5, 5) = 4; 413s expected_4(6, 7) = 0; 413s expected_4(7, 8) = 0; 413s expected_8 = expected_4; 413s expected_8(2:4, 2:4) = 3; 413s out2 = imhmax (im2, 4); 413s assert (out2, expected_8, eps) 413s out2 = imhmax (im2, 4, 4); 413s assert (out2, expected_4, eps) 413s out2 = imhmax (im2, 4, 8); 413s assert (out2, expected_8, eps) 413s 21 tests, 21 passed, 0 known failure, 0 skipped 413s [inst/checkerboard.m] 413s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/checkerboard.m 413s ***** demo 413s ## Simplest case, default checkerboard size: 413s ## 8 by 8 checkerboard, with squares 10 pixel wide 413s board = checkerboard (); 413s imshow (board) 413s ***** demo 413s ## Simplest case, default checkerboard size: 413s ## 8 by 16 checkerboard, with squares 5 pixel wide 413s board = checkerboard (5, 4, 8); 413s imshow (board) 413s ***** assert (checkerboard (0), zeros (0, 0)) 413s ***** assert (checkerboard (0, 3), zeros (0, 0)) 413s ***** assert (checkerboard (0, 2, 4), zeros (0, 0)) 413s ***** assert (checkerboard (0, 2, 4, 3), zeros (0, 0, 0)) 413s ***** assert (checkerboard (0, 2, 4, 3, 2), zeros (0, 0, 0, 0)) 413s ***** assert (checkerboard (1, 4, 2, 3, 0), zeros (8, 4, 6, 0)) 413s ***** assert (checkerboard (1, 4, 0, 3, 2), zeros (8, 0, 6, 4)) 413s ***** assert (checkerboard (2, 4, 0, 3, 2), zeros (16, 0, 12, 8)) 413s ***** test 413s out = zeros (80); 413s i1 = ((1:20:80) + (0:9)')(:); 413s i2 = ((11:20:80) + (0:9)')(:); 413s out(i1, i2) = 1; 413s out(i2, i1) = 1; 413s i1r = ((41:20:80) + (0:9)')(:); 413s i2r = ((51:20:80) + (0:9)')(:); 413s out(i2, i1r) = 0.7; 413s out(i1, i2r) = 0.7; 413s assert (checkerboard (), out) 413s assert (checkerboard (10, 4, 4), out) 413s assert (checkerboard (10, [4 4]), out) 413s assert (checkerboard (10, [4; 4]), out) 413s ***** test 413s out = zeros (8); 413s out(2:2:8, 1:2:8) = 1; 413s out(1:2:8, 2:2:8) = 1; 413s out(1:2:8, 6:2:8) = 0.7; 413s out(2:2:8, 5:2:8) = 0.7; 413s assert (checkerboard (1), out) 413s assert (checkerboard (1, 4), out) 413s assert (checkerboard (1, 4, 4), out) 413s assert (checkerboard (1, [4 4]), out) 413s ***** test 413s out = zeros (10); 413s out(2:2:10, 1:2:10) = 1; 413s out(1:2:10, 2:2:10) = 1; 413s out(1:2:10, 6:2:10) = 0.7; 413s out(2:2:10, 7:2:10) = 0.7; 413s assert (checkerboard (1, 5), out) 413s assert (checkerboard (1, 5, 5), out) 413s assert (checkerboard (1, [5 5]), out) 413s ***** test 413s out = zeros (20); 413s out([1:4:20 2:4:20], [3:4:20 4:4:20]) = 1; 413s out([3:4:20 4:4:20], [1:4:20 2:4:20]) = 1; 413s out([1:4:20 2:4:20], [11:4:20 12:4:20]) = 0.7; 413s out([3:4:20 4:4:20], [13:4:20 14:4:20]) = 0.7; 413s assert (checkerboard (2, 5), out) 413s assert (checkerboard (2, 5, 5), out) 413s assert (checkerboard (2, [5 5]), out) 413s ***** test 413s out = zeros (4, 4, 4); 413s out([1 3], 1, [1 3]) = 1; 413s out([2 4], 2, [1 3]) = 1; 413s out([1 3], 2, [2 4]) = 1; 413s out([2 4], 1, [2 4]) = 1; 413s out([1 3], 3, [1 3]) = 0.7; 413s out([2 4], 4, [1 3]) = 0.7; 413s out([1 3], 4, [2 4]) = 0.7; 413s out([2 4], 3, [2 4]) = 0.7; 413s assert (checkerboard (1, [2 2 2]), out) 413s assert (checkerboard (1, 2, 2, 2), out) 413s ***** test 413s out = zeros (8, 8, 8); 413s out([1 2 5 6], [1 2], [1 2 5 6]) = 1; 413s out([3 4 7 8], [3 4], [1 2 5 6]) = 1; 413s out([1 2 5 6], [3 4], [3 4 7 8]) = 1; 413s out([3 4 7 8], [1 2], [3 4 7 8]) = 1; 413s out([1 2 5 6], [5 6], [1 2 5 6]) = 0.7; 413s out([3 4 7 8], [7 8], [1 2 5 6]) = 0.7; 413s out([1 2 5 6], [7 8], [3 4 7 8]) = 0.7; 413s out([3 4 7 8], [5 6], [3 4 7 8]) = 0.7; 413s assert (checkerboard (2, [2 2 2]), out) 413s assert (checkerboard (2, 2, 2, 2), out) 413s 14 tests, 14 passed, 0 known failure, 0 skipped 413s [inst/bestblk.m] 413s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/bestblk.m 413s ***** demo 413s siz = bestblk ([200; 10], 50); 413s disp (siz) 413s ***** error bestblk ("string") 413s ***** error bestblk ([100 200], "string") 413s ***** error <2 elements> bestblk ([100], 5) 413s ***** assert (bestblk ([ 10 12], 2), [ 2 2]); 413s ***** assert (bestblk ([ 10 12], 3), [ 2 3]); 413s ***** assert (bestblk ([300 100], 150), [150 100]); 413s ***** assert (bestblk ([256 128], 17), [ 16 16]); 413s ***** assert (bestblk ([ 17 17], 3), [ 3 3]); 413s ***** assert (bestblk ([230 470]), bestblk ([230 470], 100)) 413s ***** assert (bestblk ([10 12 10], 3), [2 3 2]); 413s ***** assert (bestblk ([ 9 12 9], 3), [3 3 3]); 413s ***** assert (bestblk ([10 12 10 11], 5), [5 4 5 4]); 413s 12 tests, 12 passed, 0 known failure, 0 skipped 413s [inst/poly2mask.m] 413s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/poly2mask.m 413s ***** demo 413s s = [0:pi/4:2*pi]; 413s x = cos (s) * 90 + 101; 413s y = sin (s) * 90 + 101; 413s bw = poly2mask(x, y, 200, 200); 413s imshow (bw); 413s ***** demo 413s s = [0:2*pi/5:pi*4]; 413s s = s ([1, 3, 5, 2, 4, 6]); 413s x = cos (s) * 90 + 101; 413s y = sin (s) * 90 + 101; 413s bw = poly2mask (x, y, 200, 200); 413s imshow (bw); 413s ***** # Convex polygons 413s ***** shared xs, ys, Rs, xt, yt, Rt 413s xs=[3,3,10,10]; 413s ys=[4,12,12,4]; 413s Rs=zeros(16,14); 413s Rs(5:12,4:10)=1; 413s Rs=logical(Rs); 413s xt=[1,4,7]; 413s yt=[1,4,1]; 413s Rt=[0,0,0,0,0,0,0; 413s 0,0,1,1,1,1,0; 413s 0,0,0,1,1,0,0; 413s 0,0,0,1,0,0,0; 413s 0,0,0,0,0,0,0]; 413s Rt=logical(Rt); 413s ***** assert(poly2mask(xs,ys,16,14),Rs); # rectangle 413s ***** assert(poly2mask(xs,ys,8,7),Rs(1:8,1:7)); # clipped 413s ***** assert(poly2mask(xs-7,ys-8,8,7),Rs(9:16,8:14)); # more clipping 413s ***** assert(poly2mask(xt,yt,5,7),Rt); # triangle 413s ***** assert(poly2mask(xt,yt,3,3),Rt(1:3,1:3)); # clipped 413s ***** # Concave polygons 413s ***** test 413s x=[3,3,5,5,8,8,10,10]; 413s y=[4,12,12,8,8,11,11,4]; 413s R=zeros(16,14); 413s R(5:12,4:5)=1; 413s R(5:8,6:8)=1; 413s R(5:11,9:10)=1; 413s R=logical(R); 413s assert(poly2mask(x,y,16,14), R); 413s ***** # Complex polygons 413s ***** test 413s x=[1,5,1,5]; 413s y=[1,1,4,4]; 413s R=[0,0,0,0,0,0; 413s 0,0,1,1,0,0; 413s 0,0,1,1,0,0; 413s 0,1,1,1,1,0; 413s 0,0,0,0,0,0]; 413s R=logical(R); 413s assert(poly2mask(x,y,5,6), R); 413s 7 tests, 7 passed, 0 known failure, 0 skipped 413s [inst/ycbcr2rgb.m] 413s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/ycbcr2rgb.m 413s ***** assert (ycbcr2rgb (rgb2ycbcr (jet (10))), jet (10), 0.00001); 413s ***** assert (class (ycbcr2rgb (single (rand (5, 5, 3)))), "single") 413s 2 tests, 2 passed, 0 known failure, 0 skipped 413s [inst/imfindcircles.m] 413s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imfindcircles.m 413s ***** shared im0, rgb0, im1 413s im0 = [0 0 0 0 0; 413s 0 1 2 1 0; 413s 0 2 5 2 0; 413s 0 1 2 1 0; 413s 0 0 0 0 0]; 413s rgb0 = cat (3, im0, 3.*im0, 2.*im0); 413s im1 = zeros (20); 413s im1(2:6, 5:9) = 1; 413s im1(13:19, 13:19) = 1; 413s ***** function image = circlesimage (numx, numy, centersx, centersy, rs, values) 413s ## create an image with circles of given parameters 413s num = length (centersx); 413s image = zeros (numy, numx); 413s [indy, indx] = meshgrid (1:numx, 1:numy); 413s for n = 1:num 413s centerx = centersx(n); 413s centery = centersy(n); 413s r = rs(n); 413s value = values(n); 413s dist_squared = (indx - centerx).^ 2 + (indy - centery).^ 2; 413s image(dist_squared <= (r-0.5)^2) = value; 413s endfor 413s ***** endfunction 413s ***** error imfindcircles () 414s ***** error imfindcircles (im0) 414s ***** error imfindcircles (im0, [1 2 3]) 414s ***** error imfindcircles (im0, -3) 414s ***** error imfindcircles (im0, 4+2*i) 414s ***** error imfindcircles (ones (5,5,4), 2) 414s ***** error imfindcircles (ones (5,5,5,5), 2) 414s ***** error imfindcircles (im0, [2 1]) 414s ***** error imfindcircles (im0, 2, "rubbish") 414s ***** error imfindcircles (im0, 2, "more", "rubbish") 414s ***** error imfindcircles (im0, 2, "ObjectPolarity", "rubbish") 414s ***** error imfindcircles (im0, 2, "ObjectPolarity", 5) 414s ***** error imfindcircles (im0, 2, "ObjectPolarity") 414s ***** error imfindcircles (im0, 2, "Method", "rubbish") 414s ***** error imfindcircles (im0, 2, "Method", 5) 414s ***** error imfindcircles (im0, 2, "Method") 414s ***** error imfindcircles (im0, 2, "Sensitivity", "rubbish") 414s ***** error imfindcircles (im0, 2, "Sensitivity") 415s ***** error imfindcircles (im0, 2, "Sensitivity", -0.1) 415s ***** error imfindcircles (im0, 2, "Sensitivity", 1.1) 415s ***** error imfindcircles (im0, 2, "Sensitivity", [0.1 0.2]) 415s ***** error imfindcircles (im0, 2, "EdgeThreshold", "rubbish") 415s ***** error imfindcircles (im0, 2, "EdgeThreshold") 415s ***** error imfindcircles (im0, 2, "EdgeThreshold", -0.1) 415s ***** error imfindcircles (im0, 2, "EdgeThreshold", 1.1) 415s ***** error imfindcircles (im0, 2, "EdgeThreshold", [0.1 0.2]) 415s ***** error imfindcircles (im0, 2, "EdgeThreshold", 0.1, "ObjectPolarity", "bright", 415s "Sensitivity", 0.3, "Method", "PhaseCode", "more", 1) 415s ***** test # none of this should fail 415s imfindcircles (im0, 2); 415s imfindcircles (im0, [1 2]); 415s imfindcircles (logical (im0), 2); 415s imfindcircles (logical (im0), [1 2]); 415s imfindcircles (rgb0, 2); 415s imfindcircles (rgb0, [1 2]); 415s imfindcircles (uint8 (im0), 2); 415s imfindcircles (uint8 (im0), [1 2]); 415s imfindcircles (im0, 2, "ObjectPolarity", "bright"); 415s imfindcircles (im0, 2, "ObjectPolarity", "dark"); 415s imfindcircles (im0, 2, "Method", "PhaseCode"); 415s imfindcircles (im0, 2, "Sensitivity", 0.5); 415s imfindcircles (im0, 2, "EdgeThreshold", 0.5); 415s imfindcircles (im0, 2, "ObjectPolarity", "bright", "Method", "PhaseCode"); 415s imfindcircles (im0, 2, "ObjectPolarity", "bright", "Sensitivity", 0.3, 415s "Method", "PhaseCode"); 415s imfindcircles (im0, 2, "EdgeThreshold", 0.1, "ObjectPolarity", "bright", 415s "Sensitivity", 0.3, "Method", "PhaseCode"); 415s ***** test 415s centers = imfindcircles (im1, 2); 415s assert (size (centers, 2), 2) 415s assert (class (centers), "double") 415s ***** test 415s [centers, radii] = imfindcircles (im1, [1 5]); 415s assert (size (centers, 2), 2) 415s assert (size (radii, 2), 1) 415s assert (class (radii), "double") 415s ***** test 415s [centers, radii, strengths] = imfindcircles (im1, [1 5]); 415s assert (size (strengths, 2), 1) 415s assert (class (strengths), "double") 415s ***** error [a b c d] = imfindcircles (im0, 2); 415s ***** test ## sub-pixel accuracy of circle center 415s xs = [95.7]; 415s ys = [101.1]; 415s rs = [50]; 415s vals = [0.5]; 415s im = circlesimage (200, 200, xs, ys, rs, vals); 415s filt = ones (3) ./ 9; 415s im = imfilter (im, filt); 415s [centers, radii] = imfindcircles (im, [40 60]); 415s assert (centers, [101.1, 95.7], 0.1); 415s assert (radii, 50, 1); 416s ***** test 416s ## specificity to circular shapes and strengths output value 416s xs = [100 202]; 416s ys = [101, 203]; 416s rs = [40, 41]; 416s vals = [0.8, 0.9]; 416s im = circlesimage (300, 300, xs, ys, rs, vals); 416s filt = ones (3) ./ 9; 416s im = imfilter (im, filt); 416s im(30:170, 50:100) = 0; 416s im(20:120, 180:280) = 1; 416s [centers, radii, strengths] = imfindcircles (im, [30 50], "Sensitivity", 0.9); 416s assert (size (centers), [2 2]); 416s assert (centers, [203, 202; 101, 100], 1.5); 416s assert (radii, [40; 41], 2.5); 416s assert (strengths(1) / strengths(2) > 1.8, true); 416s ***** test # radius range parameter & dark circles 416s xs = [50, 420, 180]; 416s ys = [80, 100, 200]; 416s rs = [35, 30, 40]; 416s vals = [0.7, 0.8, 0.9]; 416s im = circlesimage (300, 500, xs, ys, rs, vals); 416s filt = ones (3) ./ 9; 416s im = imfilter (im, filt); 416s [centers1, radii1] = imfindcircles (im, [28 36]); 416s [centers2, radii2] = imfindcircles (im, [28 42]); 416s assert (size (centers1), [2 2]); 416s assert (centers1, [100 420; 80 50], 0.2); 416s assert (radii1, [30; 35], 2); 416s assert (size (centers2), [3 2]); 416s im_dark = 1-im; 416s [centers_dark, radii_dark, strengths_dark] = imfindcircles (im_dark, [25 42], "ObjectPolarity", "dark"); 416s assert (sortrows (centers_dark), [80 50; 100 420; 200 180], 0.2); 416s assert (sortrows (radii_dark), [30; 35; 40], 1); 416s ***** test # ability to find circles with big radius 416s xs = [111, 555, 341]; 416s ys = [222, 401, 161]; 416s rs = [45, 50, 150]; 416s vals = [0.6, 0.8, 0.7]; 416s im = circlesimage (400, 701, xs, ys, rs, vals); 416s [centers, radii] = imfindcircles (im, [140 160], "Sensitivity", 0.98); 416s assert (centers, [161, 341], 0.2); 416s assert (radii, 150, 1); 416s ***** test # overlapping circles 416s xs = [105, 155]; 416s ys = [202, 221]; 416s rs = [45, 50]; 416s vals = [0.5, 0.8]; 416s im = circlesimage(385, 422, xs, ys, rs, vals); 416s filt = ones (3) ./ 9; 416s im = imfilter (im, filt); 416s [centers, radii] = imfindcircles (im, [30 80]); 416s assert (centers, [221, 155; 202, 105], 0.5); 416s assert (radii, [50; 45], 1); 416s ***** test # overlapping circles, only 10 pixels apart 416s xs = [155, 155]; 416s ys = [175, 157]; 416s rs = [50, 50]; 416s vals = [0.7, 0.8]; 416s im = circlesimage (300, 300, xs, ys, rs, vals); 416s filt = ones (3) ./ 9; 416s im = imfilter (im, filt); 416s [centers, radii] = imfindcircles (im, [30 80], "Sensitivity", 0.95); 416s assert (centers, [157, 155; 175, 155], 1); 416s assert (radii, [50; 50], 1); 416s ***** test # edge threshold parameter 416s xs = [100 202]; 416s ys = [101, 203]; 416s rs = [40, 41]; 416s vals = [0.1, 0.9]; 416s im = circlesimage (300, 300, xs, ys, rs, vals); 416s filt = ones (3) ./ 9; 416s im= imfilter (im, filt); 416s [centers_auto, radii_auto] = imfindcircles (im, [30 50]); 416s [centers_0, radii_0] = imfindcircles (im, [30 50], "EdgeThreshold", 0); 416s [centers_05, radii_05] = imfindcircles (im, [30 50], "EdgeThreshold", 0.5); 416s assert (centers_auto, [203, 202], 0.2); 416s assert (radii_auto, 41, 1); 416s assert (centers_0, [101, 100; 203, 202], 0.2); 416s assert (radii_0, [40; 41], 1); 416s assert (centers_05, [203, 202], 0.2); 416s assert (radii_05, 41, 1); 417s ***** demo 417s ## First generate an input image: 417s model = [ 1.0 0.2 0.2 0.2 0.5 0 417s 1.0 0.3 0.3 -0.1 -0.2 0 417s -0.5 0.7 0.7 -0.5 0.5 0]; 417s im = phantom (model); 417s im(170:230,170:230) = 1; 417s im = imfilter (im, fspecial ("average", 3)); 417s im = imnoise (im, "salt & pepper"); 417s imshow (im); 417s 417s ## Find and show circles with radius between 20 and 50: 417s [centers, radii] = imfindcircles (im, [20 50]); 417s viscircles (centers, radii) 417s title ("found circles in red") 417s 39 tests, 39 passed, 0 known failure, 0 skipped 417s [inst/viscircles.m] 417s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/viscircles.m 417s ***** demo 417s centers = randi ([0 100], 5, 2); 417s radii = randi ([10 100], 5, 1); 417s axis equal 417s viscircles (centers, radii, 417s "Color", "magenta", 417s "LineStyle", ":", 417s "LineWidth", 5); 417s title ("5 random circles"); 417s #---------------------------------------------- 417s # the figure window shows 5 circles with random 417s # radii and positions 417s ***** test # old undocumented property 417s h = viscircles ([0 0], 1, "EdgeColor", "black"); 417s assert (get (get (h, "children")(1), "color"), [0 0 0]) 417s ***** test # old undocumented property 417s h = viscircles ([0 0], 1, "DrawBackgroundCircle", false); 417s assert (numel (get (h, "children")), 1) 417s ***** error ... 417s viscircles ([0 0], 1, "Color", "magenta", "EdgeColor", "black") 417s ***** test 417s centers = randi ([0 100], 5, 2); 417s radii = randi ([0 100], 5, 1); 417s h = viscircles (centers, radii); 417s close; 417s ***** test 417s centers = randi ([0 100], 5, 2); 417s radii = randi ([0 100], 5, 1); 417s figure (); 417s h = viscircles (gca (), centers, radii); 417s close; 417s ***** test 417s centers = randi ([0 100], 5, 2); 417s radii = randi ([0 100], 5, 1); 417s h = viscircles (centers, radii, "Color", "magenta", 417s "LineStyle", ":", "LineWidth", 5); 417s close; 417s ***** test 417s centers = randi ([0 100],5,2); 417s radii = randi ([0 100],5,1); 417s figure (); 417s h = viscircles (centers, radii, "Color", "magenta", 417s "LineStyle", ":", "LineWidth", 5); 417s close; 417s 7 tests, 7 passed, 0 known failure, 0 skipped 417s [inst/integralImage.m] 417s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/integralImage.m 417s ***** test 417s assert (integralImage (10), [0 0; 0 10]); 417s assert (integralImage (10, "rotated"), [0 0 0; 0 10 0]); 417s ***** test 417s J = integralImage (10); 417s assert (class(J), "double"); 417s J = integralImage (uint8(10)); 417s assert (class(J), "double"); 417s ***** test 417s I = [1, 2; 3, 4]; 417s J = integralImage (I); 417s J1 = [0 0 0; 0 1 3; 0 4 10]; 417s assert (J, J1) 417s J = integralImage (I, "rotated"); 417s J1 = [0 0 0 0; 0 1 2 0; 1 6 7 2]; 417s assert (J, J1) 417s ***** test 417s I1 = [1, 2; 3, 4]; 417s I2 = [5, 6; 7, 8]; 417s I3 = [9, 10; 11, 12]; 417s I = cat (3, I1, I2, I3); 417s J = integralImage (I); 417s J1 = [0 0 0; 0 1 3; 0 4 10]; 417s J2 = [0 0 0; 0 5 11; 0 12 26]; 417s J3 = [0 0 0; 0 9 19; 0 20 42]; 417s J0 = cat (3, J1, J2, J3); 417s assert (J, J0) 417s ***** test 417s I1 = [1, 2; 3, 4]; 417s I2 = [5, 6; 7, 8]; 417s I3 = [9, 10; 11, 12]; 417s I = cat (3, I1, I2, I3); 417s J = integralImage (I, "rotated"); 417s J1 = [0 0 0 0; 0 1 2 0; 1 6 7 2]; 417s J2 = [0 0 0 0; 0 5 6 0; 5 18 19 6]; 417s J3 = [0 0 0 0; 0 9 10 0; 9 30 31 10]; 417s J0 = cat (3, J1, J2, J3); 417s assert (J, J0) 417s ***** test 417s I = magic (5); 417s J = integralImage (I); 417s J_res = [0 0 0 0 0 0; 417s 0 17 41 42 50 65; 417s 0 40 69 77 99 130; 417s 0 44 79 100 142 195; 417s 0 54 101 141 204 260; 417s 0 65 130 195 260 325]; 417s assert (J, J_res) 417s 417s J = integralImage (I, "rotated"); 417s J_res_R = [0 0 0 0 0 0 0; 417s 0 17 24 1 8 15 0; 417s 17 64 47 40 38 39 15; 417s 64 74 91 104 105 76 39; 417s 74 105 149 188 183 130 76; 417s 105 170 232 272 236 195 130]; 417s assert (J, J_res_R) 417s ***** error 417s integralImage (); 417s ***** error 417s integralImage (1, "xxx", 2); 417s ***** error 417s integralImage ("abcd"); 417s ***** error 417s integralImage ([1 2; 3 4], "xxx"); 417s 10 tests, 10 passed, 0 known failure, 0 skipped 417s [inst/imtranslate.m] 417s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imtranslate.m 417s ***** test 417s obs = imtranslate (ones (5, 5), 2, 1, "crop"); 417s exp = zeros (5, 5); 417s exp(1:4, 3:5) = 1; 417s assert (obs, exp, eps * 10) 417s 417s obs = imtranslate (ones (5, 5), -2, -1, "crop"); 417s exp = zeros (5, 5); 417s exp(2:5, 1:3) = 1; 417s assert (obs, exp, eps * 10) 417s 1 test, 1 passed, 0 known failure, 0 skipped 417s [inst/imhmin.m] 417s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imhmin.m 417s ***** shared im0, im0_h2_out 417s im0 = uint8 ([5 5 5 5 5; 417s 5 4 3 4 5; 417s 5 3 0 3 5; 417s 5 4 3 4 5; 417s 5 5 5 5 5]); 417s im0_h2_out = uint8 ([5 5 5 5 5; 417s 5 4 3 4 5; 417s 5 3 2 3 5; 417s 5 4 3 4 5; 417s 5 5 5 5 5]); 417s ***** error imhmin () 418s ***** error imhmin (im0) 418s ***** error imhmin ("hello", 2) 418s ***** error imhmin (i.*im0, 2) 418s ***** error imhmin (sparse (im0), 2) 418s ***** error imhmin (im0, -2) 418s ***** error imhmin (im0, 'a') 418s ***** error imhmin (im0, ones (2)) 418s ***** error imhmin (im0, 2*i) 418s ***** assert (imhmin (im0, 2), im0_h2_out) 418s ***** assert (imhmin (double (im0), 2), double (im0_h2_out)) 418s ***** assert (imhmin (im0, 2, 8), im0_h2_out) 418s ***** assert (imhmin (im0, 2, 4), im0_h2_out) 418s ***** assert (imhmin (im0, 2, true (3)), im0_h2_out) 418s ***** test 418s out = imhmin (double (im0), 2); 418s assert (size (out), size (im0)) 418s assert (class (out), "double") 418s ***** test 418s out = imhmin (single (im0), 2); 418s assert (size (out), size (im0)) 418s assert (class (out), "single") 418s ***** test 418s out = imhmin (uint8 (im0), 2); 418s assert (size (out), size (im0)) 418s assert (class (out), "uint8") 418s ***** test 418s out = imhmin (uint16 (im0), 2); 418s assert (size (out), size (im0)) 418s assert (class (out), "uint16") 418s ***** test 418s im = cat (3, im0, im0, im0, im0); 418s out = imhmin (im, 2); 418s assert (size (out), size (im)) 418s ***** test 418s im = 10 .* ones (10); 418s im(2:4, 2:4) = 7; 418s im(6:8, 6:8) = 2; 418s expected_4 = 10 .* ones (10); 418s expected_4(6:8, 6:8) = 6; 418s expected_2 = 10 .* ones (10); 418s expected_2(6:8, 6:8) = 4; 418s expected_2(2:4, 2:4) = 9; 418s out = imhmin (im, 4); 418s assert (out, expected_4, eps) 418s out = imhmin (im, 2); 418s assert (out, expected_2, eps) 418s out = imhmin (0.1.*im, 0.4); 418s assert (out, 0.1 .* expected_4, eps) 418s ***** test 418s im2 = 10 .* ones (10); 418s im2(2:4, 2:4) = 7; 418s im2(6:9, 6:9)=2; 418s im2(5, 5)=2; 418s im2(6, 7)=10; 418s im2(7, 8)=10; 418s expected_4 = 10 .* ones (10); 418s expected_4(6:9, 6:9) = 6; 418s expected_4(5, 5) = 6; 418s expected_4(6, 7) = 10; 418s expected_4(7, 8) = 10; 418s expected_8 = expected_4; 418s expected_8(2:4, 2:4) = 7; 418s out2 = imhmin (im2, 4); 418s assert (out2, expected_8, eps) 418s out2 = imhmin (im2, 4, 4); 418s assert (out2, expected_4, eps) 418s out2 = imhmin (im2, 4, 8); 418s assert (out2, expected_8, eps) 418s 21 tests, 21 passed, 0 known failure, 0 skipped 418s [inst/im2uint16.m] 418s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/im2uint16.m 418s ***** assert (im2uint16 (uint16 ([1 2 3])), uint16 ([1 2 3])); 418s ***** assert (im2uint16 (uint8 ([0 127 128 255])), uint16 ([0 32639 32896 65535])); 418s ***** assert (im2uint16 ([0 0.5 1]), uint16 ([0 32768 65535])); 418s ***** assert (im2uint16 ([0 1/65535 1.4/65535 1.5/65535 1]), uint16 ([0 1 1 2 65535])); 418s ***** assert (im2uint16 ([1 2]), uint16 ([65535 65535])); 418s ***** assert (im2uint16 ([-1 0 0.5 1]), uint16 ([0 0 32768 65535])); 418s ***** assert (im2uint16 (int16 ([-32768 -1 0 32768])), uint16 ([0 32767 32768 65535])); 418s ***** assert (im2uint16 ([false true]), uint16 ([0 65535])); 418s ***** assert (im2uint16 ([true false]), uint16 ([65535 0])); 418s ***** assert (im2uint16 (uint8 ([3 25]), "indexed"), uint16 ([3 25])); 418s ***** assert (im2uint16 ([1 3 25], "indexed"), uint16 ([0 2 24])); 418s ***** error im2uint16 ([0 1 2], "indexed"); 418s ***** error im2uint16 (int16 ([17 8]), "indexed"); 418s ***** error im2uint16 (int16 ([-7 8]), "indexed"); 418s ***** error im2uint16 ([false true], "indexed"); 418s ***** error im2uint16 (65537, "indexed"); 418s 16 tests, 16 passed, 0 known failure, 0 skipped 418s [inst/imabsdiff.m] 418s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imabsdiff.m 418s ***** assert (imabsdiff (uint8 ([23 250]), uint8 ([26 50])), uint8 ([ 3 200])); # default to first class and abs works 418s ***** assert (imabsdiff (uint8 ([23 250]), uint8 ([24 50]), "uint16"), uint16 ([ 1 200])); # defining output class works (not in matlab) 418s ***** assert (imabsdiff (uint8 ([23 250]), uint8 ([24 255]), "int8"), int8 ([ 1 5])); # signed integers kinda work (not in matlab) 418s ***** assert (imabsdiff (logical ([ 1 0]), logical ([ 1 1])), double ([ 0 1])); # return double for two logical images 418s ***** fail ("imabsdiff (uint8 ([23 250]), 30"); # fails subtracting a scalar 418s ***** fail ("imabsdiff (uint8 ([23 250]), uint16 ([23 250]))"); # input need to have same class 418s 6 tests, 6 passed, 0 known failure, 0 skipped 418s [inst/ordfilt2.m] 418s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/ordfilt2.m 418s ***** test 418s order = 3; 418s domain = ones (3); 418s A = zeros (3,3); 418s B = ones (3,3); 418s C = [1 1 1; 2 2 2; 3 3 3]; 418s D = C'; 418s E = ones (3,3); 418s E(2,2) = 2; 418s F = 3 .* ones (3,3); 418s F(2,2) = 1; 418s G = [-1 2 7; -5 2 8; -7 pi 9]; 418s H = [5 2 8; 1 -3 1; 5 1 0]; 418s A_out = [0 0 0; 0 0 0; 0 0 0]; 418s B_out = [0 0 0; 0 1 0; 0 0 0]; 418s C_out = [0 0 0; 0 1 0; 0 0 0]; 418s D_out = [0 0 0; 0 1 0; 0 0 0]; 418s E_out = [0 0 0; 0 1 0; 0 0 0]; 418s F_out = [0 0 0; 0 3 0; 0 0 0]; 418s G_out = [0 0 0; -1 -1 0; 0 0 0]; 418s H_out = [0 0 0; 0 1 0; 0 0 0]; 418s assert (ordfilt2 (A, order, domain), A_out); 418s assert (ordfilt2 (B, order, domain), B_out); 418s assert (ordfilt2 (C, order, domain), C_out); 418s assert (ordfilt2 (D, order, domain), D_out); 418s assert (ordfilt2 (E, order, domain), E_out); 418s assert (ordfilt2 (F, order, domain), F_out); 418s assert (ordfilt2 (G, order, domain), G_out); 418s assert (ordfilt2 (H, order, domain), H_out); 418s 1 test, 1 passed, 0 known failure, 0 skipped 418s [inst/entropy.m] 418s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/entropy.m 418s ***** assert (entropy ([0 1]), 1) 418s ***** assert (entropy (uint8 ([0 1])), 1) 418s ***** assert (entropy ([0 0]), 0) 418s ***** assert (entropy ([0]), 0) 418s ***** assert (entropy ([1]), 0) 418s ***** assert (entropy ([0 .5; 2 0]), 1.5) 418s ***** assert (entropy (repmat ([0 .5; 2 0], 1, 1, 3)), 418s entropy ([0 .5; 2 0])) 418s ***** test 418s A = zeros (3,3); 418s B = ones (3,3); 418s C = [1 1 1; 2 2 2; 3 3 3]; 418s D = C'; 418s E = ones (3,3); 418s E(2,2)=2; 418s F = 3 .* ones (3,3); 418s F(2,2)=1; 418s G = [-1 2 7; -5 2 8; -7 pi 9]; 418s H = [5 2 8; 1 -3 1; 5 1 0]; 418s pG = [1 2] ./ 3; 418s G_out = -sum (pG.*log2 (pG)); 418s pH = [2 7] ./ 9; 418s H_out = -sum (pH.*log2 (pH)); 418s assert (entropy (A), 0, eps); 418s assert (entropy (B), 0, eps); 418s assert (entropy (C), 0, eps); 418s assert (entropy (D), 0, eps); 418s assert (entropy (E), 0, eps); 418s assert (entropy (F), 0, eps); 418s assert (entropy (G), G_out, eps); 418s assert (entropy (H), H_out, eps); 418s ***** test 418s A = uint8 (zeros (3,3)); 418s B = uint8 (ones (3,3)); 418s C = uint8 ([1 1 1; 2 2 2; 3 3 3]); 418s D = C'; 418s E = uint8 (ones (3,3)); 418s E(2,2)=2; 418s F = 3 .* uint8 (ones (3,3)); 418s F(2,2)=1; 418s G = uint8 ([0 2 7; 0 2 8; 0 3 9]); 418s H = uint8 ([5 2 8; 1 0 1; 5 1 0]); 418s pC = [1 1 1] ./ 3; 418s C_out = -sum (pC.*log2 (pC)); 418s D_out = C_out; 418s pE = [8 1] ./ 9; 418s E_out = -sum (pE.*log2 (pE)); 418s F_out = E_out; 418s pG = [3 2 1 1 1 1] ./ 9; 418s G_out = -sum (pG.*log2 (pG)); 418s pH = [2 3 1 2 1] ./ 9; 418s H_out = -sum (pH.*log2 (pH)); 418s assert (entropy (A), 0); 418s assert (entropy (B), 0); 418s assert (entropy (C), C_out, eps); 418s assert (entropy (D), D_out, eps); 418s assert (entropy (E), E_out, eps); 418s assert (entropy (F), F_out, eps); 418s assert (entropy (G), G_out, eps); 418s assert (entropy (H), H_out, eps); 418s ***** test 418s L1 = false (3,3); 418s L1(2,2)=true; 418s L2 = true (3,3); 418s L2(2,2)=false; 418s L3 = logical ([0 1 1; 0 1 1; 0 0 1]); 418s p12 = [1 8] ./ 9; 418s out12 = -sum (p12.*log2 (p12)); 418s p3 = [5 4] ./9; 418s out3 = -sum (p3.*log2 (p3)); 418s assert (entropy (L1), out12, eps); 418s assert (entropy (L2), out12, eps); 418s assert (entropy (L3), out3, eps); 418s 10 tests, 10 passed, 0 known failure, 0 skipped 418s [inst/graythresh.m] 418s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/graythresh.m 418s ***** shared img, histo 418s ## this is the old default.img that came with GNU Octave. While the current 418s ## is very very similar, is off just enough for us to get precision errors 418s 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])); 418s ***** assert (graythresh (img, "percentile"), 142/255); 418s ***** assert (graythresh (img, "percentile", 0.5), 142/255); 418s ***** assert (graythresh (img, "moments"), 142/255); 418s ***** assert (graythresh (img, "minimum"), 93/255); 419s ***** assert (graythresh (img, "maxentropy"), 150/255); 419s ***** assert (graythresh (img, "intermodes"), 99/255); 419s ***** assert (graythresh (img, "otsu"), 114.5/255); 419s histo = hist (img(:), 0:255); 419s ***** assert (graythresh (histo, "otsu"), 114.5/255); 419s ***** assert (graythresh (img, "mean"), 0.51445615982, 0.000000001); # here our results differ from ImageJ 419s ***** test 419s im = repmat (0.5, 100, 100); 419s [t, g] = graythresh (im); 419s assert (t, 0) 419s assert (g, 0) 419s ***** test 419s im = [-2 1 0; 43 .5 .2]; 419s clip_im = [ 0 1 0; 1 .5 .2]; 419s t = graythresh (clip_im); 419s assert (graythresh (im), t) 419s assert (graythresh (single (im)), t) 419s ***** test 419s H(1) = 100; 419s assert (graythresh (H), 0) 419s 12 tests, 12 passed, 0 known failure, 0 skipped 419s [inst/imcast.m] 419s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imcast.m 419s ***** test 419s im = randi ([0 255], 40, "uint8"); 419s assert (imcast (im, "uint8"), im2uint8 (im)) 419s assert (imcast (im, "uint16"), im2uint16 (im)) 419s assert (imcast (im, "single"), im2single (im)) 419s assert (imcast (im, "uint8", "indexed"), im2uint8 (im, "indexed")) 419s assert (imcast (im, "uint16", "indexed"), im2uint16 (im, "indexed")) 419s assert (imcast (im, "single", "indexed"), im2single (im, "indexed")) 419s ***** test 419s im = randi ([1 256], 40, "double"); 419s assert (imcast (im, "uint8"), im2uint8 (im)) 419s assert (imcast (im, "uint8", "indexed"), im2uint8 (im, "indexed")) 419s assert (imcast (im, "single", "indexed"), im2single (im, "indexed")) 419s ***** test 419s im = randi ([0 65535], 40, "uint16"); 419s assert (imcast (im, "uint8"), im2uint8 (im)) 419s assert (imcast (im, "single"), im2single (im)) 419s assert (imcast (im, "single", "indexed"), im2single (im, "indexed")) 419s ***** test 419s im = randi ([1 255], 40, "double"); 419s assert (imcast (im, "uint8", "indexed"), im2uint8 (im, "indexed")) 419s assert (imcast (im, "single", "indexed"), im2single (im, "indexed")) 419s ***** test 419s im = rand (40); 419s assert (imcast (im, "uint8"), im2uint8 (im)) 419s ***** error imcast (randi (127, 40, "int8"), "uint8") 419s ***** error imcast (randi (255, 40, "uint8"), "uint32") 419s ***** error imcast (randi (255, 40, "uint8"), "not a class") 419s ***** error imcast (randi ([0 65535], 40, "uint16"), "uint8", "indexed") 419s ***** assert (imcast ([0 1 .2; 2 -0 Inf], "logical"), logical ([0 1 1; 1 0 1])) 419s 10 tests, 10 passed, 0 known failure, 0 skipped 419s [inst/blockproc.m] 419s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/blockproc.m 419s ***** demo 419s blockproc (eye (6), [2, 2], @(x) any (x(:))) 419s # Returns a 3-by-3 diagonal 419s ***** assert (blockproc (eye (6), [2, 2], "sum"), 419s blockproc (eye (6), [2, 2], @sum)) 419s ***** assert (blockproc (eye (6), [2, 2], "sum"), 419s blockproc (eye (6), [2, 2], @(x) sum (x))) 419s ***** assert (blockproc (eye (6), [1,2], @sum), 419s kron (eye (3), [1; 1])) 419s ***** assert (blockproc (eye (6), [2,2], @(x) any (x(:))), 419s eye (3) != 0) 419s ***** assert (blockproc (eye (6), [1,2],[1,1], @(x) sum (x(:))), 419s [2,1,0; 3,2,0; 2,3,1; 1,3,2; 0,2,3; 0,1,2]) 419s ***** assert (blockproc (eye (6), "indexed", [1, 2], [1, 1], @(x) sum (x(:))), 419s [8,5,6; 6,2,3; 5,3,4; 4,3,5; 3,2,6; 6,5,8]) 419s ***** assert (blockproc (eye (6), [2,3],[4,3], @(x) sum (x(:))), 419s ones (3, 2) * 6) 419s ***** assert (blockproc (eye (6), [2, 2], @(x) int8 (sum (x(:)))), 419s eye (3, "int8") * 2) 419s ***** assert (blockproc (uint8 (eye (6)), [1,2], [1,1], @(x) sum (x(:))), 419s [2,1,0; 3,2,0; 2,3,1; 1,3,2; 0,2,3; 0,1,2]) 419s ***** assert (blockproc (uint8 (eye (6)), "indexed", [1,2], [1,1], @(x) sum (x(:))), 419s [2,1,0; 3,2,0; 2,3,1; 1,3,2; 0,2,3; 0,1,2]); 419s ***** assert (blockproc (uint16 (eye (6)), [1,2], [1,1], @(x) sum (x(:))), 419s [2,1,0; 3,2,0; 2,3,1; 1,3,2; 0,2,3; 0,1,2]); 419s ***** assert (blockproc (uint16 (eye (6)), "indexed", [1,2], [1,1], 419s @(x) sum (x(:))), 419s [2,1,0; 3,2,0; 2,3,1; 1,3,2; 0,2,3; 0,1,2]); 419s ***** assert (blockproc (eye (6), [2, 2], "sum"), 419s blockproc (eye (6), [2, 2], inline ("sum (x)", "x"))) 419s warning: inline is obsolete; use anonymous functions instead 419s 13 tests, 13 passed, 0 known failure, 0 skipped 419s [inst/imsmooth.m] 419s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imsmooth.m 419s ***** test 419s ## checking Bilateral Filter 419s 419s ## constant image remain the same after Bilateral Filter 419s A = uint8(255*ones(128,128)); 419s B = uint8(imsmooth(A, 'Bilateral', 2, 10)); 419s assert (A,B); 419s 419s ## Bilateral Filter does not smear outlayers 419s A = zeros(256,256); 419s A(128,128) = 256; 419s ## bilateral filter does not smear outlayers 419s B = imsmooth(A, 'Bilateral', 2, 10); 419s assert (A,B,1.e-140); 419s 419s ## When sigma_r is large the filter behaves almost 419s ## like the isotropic Gaussian filter 419s 419s A0 = fspecial ('gaussian',100,100); 419s A = uint8(A0/max(max(A0))*255); 419s B1 = imsmooth(A, 'Bilateral', 2, 100); 419s B2 = imsmooth(A, 'Gaussian', 2); 419s assert (B1,B2); 421s 1 test, 1 passed, 0 known failure, 0 skipped 421s [inst/label2rgb.m] 421s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/label2rgb.m 421s ***** function map = test_colormap (unused) 421s map = [0 0 0; 0.5 0.5 0.5; 0.125 0.125 0.125]; 421s ***** endfunction 421s ***** shared in, out, cmap 421s in = [ 0 1 1 0 2 2 0 3 3 421s 0 1 1 0 2 2 0 3 3]; 421s 421s out = [255 0 0 255 128 128 255 32 32 421s 255 0 0 255 128 128 255 32 32]; 421s out(:,:,2) = out(:,:,3) = out(:,:,1); 421s out = uint8(out); 421s 421s cmap = [0 0 0; 0.5 0.5 0.5; 0.125 0.125 0.125]; 421s ***** assert (label2rgb (in, cmap), out); 421s ***** assert (label2rgb (uint8 (in), cmap), out); 421s ***** assert (label2rgb (in, "test_colormap"), out); 421s ***** assert (label2rgb (in, @test_colormap), out); 421s 421s out(find (in == 0)) = 0; 421s ***** assert (label2rgb (in, cmap, "cyan"), out); 421s ***** assert (label2rgb (in, cmap, [0 1 1]), out); 421s 421s in(1) = 10; 421s ***** error label2rgb (in, cmap); 421s ***** error label2rgb (in, cmap, 89); 421s ***** error label2rgb (in, cmap, "g", "wrong"); 421s 9 tests, 9 passed, 0 known failure, 0 skipped 421s [inst/bwperim.m] 421s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/bwperim.m 421s ***** test 421s in = [ 1 1 1 1 0 1 1 0 1 1 421s 1 1 0 1 1 1 1 1 1 0 421s 1 1 1 0 1 1 1 1 1 1 421s 1 1 1 1 0 1 1 1 0 1 421s 1 1 1 0 1 1 1 1 1 0 421s 1 1 1 1 1 1 0 1 0 1 421s 1 1 1 1 1 1 1 1 1 0 421s 1 1 1 1 1 1 1 1 1 1 421s 1 1 1 1 1 1 0 0 1 1 421s 1 1 1 1 0 1 0 1 1 0]; 421s 421s out = [1 1 1 1 0 1 1 0 1 1 421s 1 1 0 1 1 0 0 1 1 0 421s 1 0 1 0 1 0 0 0 1 1 421s 1 0 0 1 0 1 0 1 0 1 421s 1 0 1 0 1 0 1 0 1 0 421s 1 0 0 1 0 1 0 1 0 1 421s 1 0 0 0 0 0 1 0 1 0 421s 1 0 0 0 0 0 1 1 0 1 421s 1 0 0 0 1 1 0 0 1 1 421s 1 1 1 1 0 1 0 1 1 0]; 421s assert (bwperim (in), logical (out)) 421s assert (bwperim (in, 4), logical (out)) 421s 421s out = [1 1 1 1 0 1 1 0 1 1 421s 1 1 0 1 1 1 1 1 1 0 421s 1 1 1 0 1 1 0 1 1 1 421s 1 0 1 1 0 1 0 1 0 1 421s 1 0 1 0 1 1 1 1 1 0 421s 1 0 1 1 1 1 0 1 0 1 421s 1 0 0 0 0 1 1 1 1 0 421s 1 0 0 0 0 1 1 1 1 1 421s 1 0 0 1 1 1 0 0 1 1 421s 1 1 1 1 0 1 0 1 1 0]; 421s assert (bwperim (in, 8), logical (out)) 421s 421s out = [1 1 1 1 0 1 1 0 1 1 421s 1 0 0 0 0 1 0 0 1 0 421s 1 0 0 0 0 0 0 1 0 1 421s 1 0 1 0 0 0 0 0 0 1 421s 1 0 0 0 0 1 0 1 0 0 421s 1 0 0 0 1 0 0 0 0 1 421s 1 0 0 0 0 0 0 1 0 0 421s 1 0 0 0 0 1 1 0 0 1 421s 1 0 0 1 0 1 0 0 1 1 421s 1 1 1 1 0 1 0 1 1 0]; 421s assert (bwperim (in, [1 0 0; 0 1 0; 0 0 1]), logical (out)) 421s ***** test 421s in = [ 0 0 0 0 0 0 0 421s 0 0 5 0 0 1 9 421s 0 Inf 9 7 0 0 0 421s 0 1.5 5 7 1 0 0 421s 0 0.5 -1 89 i 0 0 421s 0 4 10 15 1 0 0 421s 0 0 0 0 0 0 0]; 421s out = [0 0 0 0 0 0 0 421s 0 0 1 0 0 1 1 421s 0 1 0 1 0 0 0 421s 0 1 0 0 1 0 0 421s 0 1 0 0 1 0 0 421s 0 1 1 1 1 0 0 421s 0 0 0 0 0 0 0]; 421s assert (bwperim (in), logical (out)) 421s ***** test 421s in = reshape (magic(16), [8 8 4]) > 50; 421s out(:,:,1) = [ 421s 1 1 0 1 0 1 1 1 421s 0 1 1 1 1 1 0 1 421s 0 1 1 1 1 1 0 1 421s 1 1 0 1 1 1 1 1 421s 1 1 1 1 1 1 1 1 421s 1 1 1 0 1 0 1 1 421s 1 1 1 0 1 0 1 1 421s 1 0 1 1 1 1 1 0]; 421s out(:,:,2) = [ 421s 1 1 0 1 0 1 1 1 421s 0 1 1 0 1 1 0 1 421s 0 1 0 0 0 1 0 1 421s 1 0 1 0 0 0 1 1 421s 1 0 0 1 0 1 0 1 421s 1 0 1 0 1 0 1 1 421s 1 1 1 0 1 0 1 1 421s 1 0 1 1 1 1 1 0]; 421s out(:,:,3) = [ 421s 1 1 0 1 0 1 1 1 421s 0 1 1 0 1 1 0 1 421s 0 1 0 0 0 1 0 1 421s 1 0 0 0 0 0 1 1 421s 1 0 0 1 0 1 0 1 421s 1 0 1 0 1 0 1 1 421s 1 1 1 0 1 0 1 1 421s 1 0 1 1 1 1 1 0]; 421s out(:,:,4) = [ 421s 1 1 0 1 0 1 1 1 421s 0 1 1 1 1 1 0 1 421s 0 1 1 1 1 1 0 1 421s 1 1 1 1 1 1 1 1 421s 1 1 1 1 1 1 1 0 421s 1 1 1 0 1 0 1 1 421s 1 1 1 0 1 0 1 1 421s 1 0 1 1 1 1 1 0]; 421s assert (bwperim (in), logical (out)) 421s 421s out(:,:,1) = [ 421s 1 1 0 1 0 1 1 1 421s 0 1 1 1 1 1 0 1 421s 0 1 1 1 1 1 0 1 421s 1 1 0 1 1 1 1 1 421s 1 1 1 1 1 1 1 1 421s 1 1 1 0 1 0 1 1 421s 1 1 1 0 1 0 1 1 421s 1 0 1 1 1 1 1 0]; 421s out(:,:,2) = [ 421s 1 1 0 1 0 1 1 1 421s 0 1 1 1 1 1 0 1 421s 0 1 1 0 0 1 0 1 421s 1 1 1 1 0 1 1 1 421s 1 0 1 1 1 1 1 1 421s 1 0 1 0 1 0 1 1 421s 1 1 1 0 1 0 1 1 421s 1 0 1 1 1 1 1 0]; 421s out(:,:,3) = [ 421s 1 1 0 1 0 1 1 1 421s 0 1 1 1 1 1 0 1 421s 0 1 0 0 0 1 0 1 421s 1 1 0 0 0 1 1 1 421s 1 0 1 1 1 1 1 1 421s 1 0 1 0 1 0 1 1 421s 1 1 1 0 1 0 1 1 421s 1 0 1 1 1 1 1 0]; 421s out(:,:,4) = [ 421s 1 1 0 1 0 1 1 1 421s 0 1 1 1 1 1 0 1 421s 0 1 1 1 1 1 0 1 421s 1 1 1 1 1 1 1 1 421s 1 1 1 1 1 1 1 0 421s 1 1 1 0 1 0 1 1 421s 1 1 1 0 1 0 1 1 421s 1 0 1 1 1 1 1 0]; 421s assert (bwperim (in, 18), logical (out)) 421s ***** error bwperim ("text") 421s ***** error bwperim (rand (10), 5) 421s ***** error bwperim (rand (10), "text") 421s ***** test 421s a = false (5); 421s a(1:4,2:4) = true; 421s 421s p = false (5); 421s p(1:4,[2 4]) = true; 421s assert (bwperim (a, [0 0 0; 1 1 1; 0 0 0]), p) 421s ***** test 421s a = false (8, 8, 5); 421s a(4:5,4:5,2:4) = true; 421s a(2:7,2:7,3) = true; 421s assert (bwperim (a, 26), a) 421s 421s ## It is easy to forget that is correct 421s b = a; 421s b(4:5, 4:5, 3) = false; 421s assert (bwperim (a), b) 421s 421s c = a; 421s c(3:6,3:6,3) = false; 421s assert (bwperim (a, 4), c) 421s ***** test 421s conn_self = logical ([0 0 0; 0 1 0; 0 0 0]); 421s assert (bwperim (true), true) 421s assert (bwperim (true, conn_self), false) 421s assert (bwperim (true (1, 6)), true (1, 6)) 421s assert (bwperim (true (1, 6), conn_self), false (1, 6)) 421s assert (bwperim (true (6, 1)), true (6, 1)) 421s 421s bw_3d = true (1, 1, 6); 421s assert (bwperim (bw_3d), bw_3d) 421s assert (bwperim (bw_3d, conn_self), false (1, 1, 6)) 421s assert (bwperim (bw_3d, true (3)), bw_3d) 421s 421s perim_3d = bw_3d; 421s perim_3d(1, 1, 2:end-1) = false; 421s conn_3d = false (3, 3, 3); 421s conn_3d(2, 2, :) = true; 421s assert (bwperim (true (1, 1, 6), conn_3d), perim_3d) 421s 9 tests, 9 passed, 0 known failure, 0 skipped 421s [inst/imattributes.m] 421s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imattributes.m 421s ***** shared x, map, img, rgb, bw 421s [x, map] = imread ("default.img"); 421s rgb = ind2rgb (x, map); 421s img = ind2gray (x, map); 421s bw = im2bw (img); 421s ***** test 421s h = imshow (img); 421s a = imattributes (h); 421s assert ([a.("Height (rows)") a.("Width (columns)")], [53 40]); 421s assert (a.Class, "uint8"); 421s assert (a.("Image type"), "intensity"); 421s assert (a.("Minimum intensity"), uint8 (28)); 421s assert (a.("Maximum intensity"), uint8 (250)); 421s ***** xtest 421s h = imshow (rgb); 421s a = imattributes (h); 421s assert ([a.("Height (rows)") a.("Width (columns)")], [53 40]); 421s assert (a.Class, "uint8"); 421s assert (a.("Image type"), "truecolor"); 421s assert (isfield (a, "Minimum intensity"), false); 421s assert (isfield (a, "Maximum intensity"), false); 421s !!!!! known failure 421s ASSERT errors for: assert (a.Class,"uint8") 421s 421s Location | Observed | Expected | Reason 421s [] double uint8 Strings don't match 421s ***** test 421s h = imshow (bw); 421s a = imattributes (h); 421s assert ([a.("Height (rows)") a.("Width (columns)")], [53 40]); 421s assert (a.Class, "logical"); 421s assert (a.("Image type"), "binary"); 421s assert (isfield (a, "Minimum intensity"), false); 421s assert (isfield (a, "Maximum intensity"), false); 421s ***** test 421s h = imshow (x, map); 421s a = imattributes (h); 421s assert ([a.("Height (rows)") a.("Width (columns)")], [53 40]); 421s assert (a.Class, "uint8"); 421s assert (a.("Image type"), "indexed"); 421s assert (a.("Minimum intensity"), uint8 (0)); 421s assert (a.("Maximum intensity"), uint8 (55)); 421s ***** test 421s h = imshow (img); 421s a1 = imattributes (); 421s a2 = imattributes (h); 421s assert (a1, a2); 422s 5 tests, 4 passed, 1 known failure, 0 skipped 422s [inst/imnoise.m] 422s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imnoise.m 422s ***** assert(var(imnoise(ones(10)/2,'gaussian')(:)),0.01,0.005) # probabilistic 422s ***** assert(length(find(imnoise(ones(10)/2,'salt & pepper')~=0.5)),5,10) # probabilistic 422s ***** assert(var(imnoise(ones(10)/2,'speckle')(:)),0.01,0.005) # probabilistic 422s ***** test 422s A = imnoise (.5 * ones (100), 'poisson'); 422s assert (class (A), 'double') 422s ***** test 422s A = imnoise (.5 * ones (100, 'single'), 'poisson'); 422s assert (class (A), 'single') 422s ***** test 422s A = imnoise (128 * ones (100, 'uint8'), 'poisson'); 422s assert (class (A), 'uint8') 422s ***** test 422s A = imnoise (256 * ones (100, 'uint16'), 'poisson'); 422s assert (class (A), 'uint16') 422s ***** demo 422s A = imnoise (2^7 * ones (100, 'uint8'), 'poisson'); 422s subplot (2, 2, 1) 422s imshow (A) 422s title ('uint8 image with poisson noise') 422s A = imnoise (2^15 * ones (100, 'uint16'), 'poisson'); 422s subplot (2, 2, 2) 422s imshow (A) 422s title ('uint16 image with poisson noise') 422s A = imnoise (.5 * ones (100), 'poisson'); 422s subplot (2, 2, 3) 422s imshow (A) 422s title ('double image with poisson noise') 422s A = imnoise (.5 * ones (100, 'single'), 'poisson'); 422s subplot (2, 2, 4) 422s imshow (A) 422s title ('single image with poisson noise') 422s 7 tests, 7 passed, 0 known failure, 0 skipped 422s [inst/lab2single.m] 422s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/lab2single.m 422s ***** test 422s l_max_f = 100 + (25500 / 65280); 422s ab_max_f = 127 + (255 / 256); 422s cm = [ 422s -Inf 422s Inf 422s NaN 422s l_max_f 422s ab_max_f 422s -200 422s -129 422s -128 422s -128+(255/65280)*(0.499) 422s -128+(255/65280)*(0.500) 422s -128+(255/65280)*(0.501) 422s -127 422s -1 422s 0 422s (100/65280)*(0.499999) 422s (100/65280)*(0.51) 422s (100/65280)*(0.500001) 422s 1 422s 99 422s 100 422s 101 422s 126 422s 127 422s 128 422s 254 422s 255 422s 256 422s 257]; 422s cm = repmat (single (cm), [1 3]); 422s im2d = reshape (cm, [7 4 3]); 422s imnd = permute (im2d, [1 4 3 2]); 422s 422s cm_uint8 = uint8 ([ 422s 0 0 0 422s 255 255 255 422s 255 255 255 422s 255 228 228 422s 255 255 255 422s 0 0 0 422s 0 0 0 422s 0 0 0 422s 0 0 0 422s 0 0 0 422s 0 0 0 422s 0 1 1 422s 0 127 127 422s 0 128 128 422s 0 128 128 422s 0 128 128 422s 0 128 128 422s 3 129 129 422s 252 227 227 422s 255 228 228 422s 255 229 229 422s 255 254 254 422s 255 255 255 422s 255 255 255 422s 255 255 255 422s 255 255 255 422s 255 255 255 422s 255 255 255]); 422s 422s assert (lab2uint8 (cm), cm_uint8) 422s im2d_uint8 = reshape (cm_uint8, [7 4 3]); 422s assert (lab2uint8 (im2d), im2d_uint8) 422s assert (lab2uint8 (imnd), permute (im2d_uint8, [1 4 3 2])) 422s 422s cm_uint16 = uint16 ([ 422s 0 0 0 422s 65535 65535 65535 422s 65535 65535 65535 422s 65535 58468 58468 422s 65535 65535 65535 422s 0 0 0 422s 0 0 0 422s 0 0 0 422s 0 0 0 422s 0 1 1 422s 0 1 1 422s 0 256 256 422s 0 32512 32512 422s 0 32768 32768 422s 0 32768 32768 422s 1 32768 32768 422s 1 32768 32768 422s 653 33024 33024 422s 64627 58112 58112 422s 65280 58368 58368 422s 65535 58624 58624 422s 65535 65024 65024 422s 65535 65280 65280 422s 65535 65535 65535 422s 65535 65535 65535 422s 65535 65535 65535 422s 65535 65535 65535 422s 65535 65535 65535]); 422s 422s assert (lab2uint16 (cm), cm_uint16) 422s im2d_uint16 = reshape (cm_uint16, [7 4 3]); 422s assert (lab2uint16 (im2d), im2d_uint16) 422s assert (lab2uint16 (imnd), permute (im2d_uint16, [1 4 3 2])) 422s 422s assert (lab2double (cm), double (cm)) 422s assert (lab2double (im2d), double (im2d)) 422s assert (lab2double (imnd), double (imnd)) 422s 1 test, 1 passed, 0 known failure, 0 skipped 422s [inst/fftconv2.m] 422s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/fftconv2.m 422s ***** xtest 422s a = repmat (1:10, 5); 422s b = repmat (10:-1:3, 7); 422s assert (fftconv2 (a, b), conv2 (a, b), 1.8e4*eps) 422s assert (fftconv2 (b, a), conv2 (b, a), 1.8e4*eps) 422s assert (fftconv2 (a, b, "full"), conv2 (a, b, "full"), 1.8e4*eps) 422s assert (fftconv2 (b, a, "full"), conv2 (b, a, "full"), 1.8e4*eps) 422s assert (fftconv2 (a, b, "same"), conv2 (a, b, "same"), 1.8e4*eps) 422s assert (fftconv2 (b, a, "same"), conv2 (b, a, "same"), 1.8e4*eps) 422s assert (isempty (fftconv2 (a, b, "valid"))); 422s assert (fftconv2 (b, a, "valid"), conv2 (b, a, "valid"), 1e4*eps) 422s !!!!! known failure 422s ASSERT errors for: assert (fftconv2 (b, a, "valid"),conv2 (b, a, "valid"),1e4 * eps) 422s 422s Location | Observed | Expected | Reason 422s (2,1) 9245-3.2818899e-14i 9245 Abs err 3.6381e-12 exceeds tol 2.2204e-12 by 1e-12 422s ***** test 422s x = 1:4; 422s y = 4:-1:1; 422s a = repmat(1:10, 5); 422s assert (fftconv2 (x, y, a), conv2 (x, y, a), 1e4*eps) 422s assert (fftconv2 (x, y, a, "full"), conv2 (x, y, a, "full"), 1e4*eps) 422s assert (fftconv2 (x, y, a, "same"), conv2 (x, y, a, "same"), 1e4*eps) 422s assert (fftconv2 (x, y, a, "valid"), conv2 (x, y, a, "valid"), 1e4*eps) 422s ***** demo 422s ## Draw a cross 422s z = zeros (101, 101); 422s z(50, :) = 1; 422s z(:, 50) = 1; 422s subplot (1, 3, 1) 422s imshow (z); 422s title ("Original thin cross") 422s 422s ## Draw a sinc blob 422s b = getheight (strel ("ball", 10, 1)); 422s subplot (1, 3, 2) 422s imshow (b); 422s title ("Sync blob") 422s 422s ## Convolve the cross with the blob 422s fc = real (fftconv2 (z, b, "same")); 422s subplot (1, 3, 3) 422s imshow (fc, [min(fc(:)) max(fc(:))]) 422s title ("Convolution in the frequency domain") 422s 2 tests, 1 passed, 1 known failure, 0 skipped 422s [inst/otf2psf.m] 422s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/otf2psf.m 422s ***** function otf = rand_otf (varargin) 422s otf = complex (rand (varargin{:}), rand (varargin{:})); 422s ***** endfunction 422s ***** test 422s otf = rand_otf (6, 1); 422s assert (otf2psf (otf), circshift (ifft (otf), 3), eps); 422s ***** test 422s otf = rand_otf (6, 6); 422s assert (otf2psf (otf), circshift (ifft2 (otf), [3 3]), eps); 422s ***** test 422s otf = rand_otf (6, 6, 6); 422s assert (otf2psf (otf), circshift (ifftn (otf), [3 3 3]), eps); 422s ***** test 422s otf = rand_otf (7, 1); 422s assert (otf2psf (otf), circshift (ifft (otf), 3), eps); 422s ***** test 422s otf = rand_otf (7, 7); 422s assert (otf2psf (otf), circshift (ifft2 (otf), [3 3]), eps); 422s ***** test 422s otf = rand_otf (6, 7, 8); 422s assert (otf2psf (otf), circshift (ifftn (otf), [3 3 4]), eps); 422s ***** test 422s otf = rand_otf (7, 1); 422s ppsf = circshift (ifft (otf), 3); 422s assert (otf2psf (otf, 6), ppsf(1:6), eps); 422s assert (otf2psf (otf, [6 1]), ppsf(1:6), eps); 422s ***** test 422s otf = rand_otf (7, 7); 422s ppsf = circshift (ifft2 (otf), [3 3]); 422s assert (otf2psf (otf, [6 1]), ppsf(1:6,4), eps); 422s ***** test 422s otf = rand_otf (6, 7); 422s ppsf = circshift (ifft2 (otf), [3 3]); 422s assert (otf2psf (otf, [6 6]), ppsf(:,1:6), eps); 422s ***** error otf2psf ("not a otf") 422s ***** error otf2psf (rand_otf (16), 18) 422s ***** error otf2psf (rand_otf (16), [14 18]) 422s ***** error otf2psf (rand_otf (16), [18 18]) 422s ***** error otf2psf (rand_otf (16, 1), 18) 422s ***** test 422s psf = fspecial ("gaussian", 16); 422s otf = psf2otf (psf); 422s assert (otf2psf (otf), psf, eps); 422s ***** xtest 422s psf = rand (16); 422s otf = psf2otf (psf); 422s assert (otf2psf (otf), psf, 4*eps); 422s ***** test 422s psf = rand (8); 422s otf = psf2otf (psf, [16 16]); 422s assert (otf2psf (otf, [8 8]), psf, 2*eps); 422s 17 tests, 17 passed, 0 known failure, 0 skipped 422s [inst/psf2otf.m] 422s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/psf2otf.m 422s ***** test 422s psf = rand (6, 1); 422s assert (psf2otf (psf), fft (circshift (psf, [-3])), eps); 422s ***** test 422s psf = rand (6, 6); 422s assert (psf2otf (psf), fft2 (circshift (psf, [-3 -3])), eps); 422s ***** test 422s psf = rand (6, 6, 6); 422s assert (psf2otf (psf), fftn (circshift (psf, [-3 -3 -3])), eps); 422s ***** test 422s psf = rand (7, 1); 422s assert (psf2otf (psf), fft (circshift (psf, [-3])), eps); 422s ***** test 422s psf = rand (7, 7); 422s assert (psf2otf (psf), fft2 (circshift (psf, [-3 -3])), eps); 422s ***** test 422s psf = rand (6, 7, 8); 422s assert (psf2otf (psf), fftn (circshift (psf, [-3 -3 -4])), eps); 422s ***** test 422s psf = rand (6, 1); 422s ppsf = [psf; 0]; 422s assert (psf2otf (psf, 7), fft (circshift (ppsf, [-3])), eps); 422s ***** test 422s psf = rand (6, 1); 422s ppsf = [[psf; 0] zeros(7, 6)]; 422s assert (psf2otf (psf, [7 7]), fft2 (circshift (ppsf, [-3 0])), eps); 422s ***** test 422s psf = rand (6, 6); 422s ppsf = [psf zeros(6, 1)]; 422s assert (psf2otf (psf, [6 7]), fft2 (circshift (ppsf, [-3 -3])), eps); 422s ***** error psf2otf ('foo') 422s ***** error psf2otf (rand (16), 14) 422s ***** error psf2otf (rand (16), [14 14]) 422s ***** error psf2otf (rand (16), [18]) 422s ***** error psf2otf (rand (16), [18 14]) 422s ***** test 422s psf = fspecial ("gaussian", 16) + 1i; 422s otf = psf2otf (psf); 422s assert (otf2psf (otf), psf, eps); 422s 15 tests, 15 passed, 0 known failure, 0 skipped 422s [inst/imadjust.m] 422s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/imadjust.m 422s ***** error imadjust ("bad argument"); 422s ***** error imadjust ([1:100], "bad argument", [], 1); 422s ***** error <2 row column per plane> imadjust ([1:100], [0 1 1], [], 1); 422s ***** error <2 row column per plane> imadjust ([1:100], [], [0 1 1], 1); 422s ***** error imadjust ([1:100], [], [], [0; 1]); 422s ***** error imadjust (rand (5, 5, 3), [], [], [0 1]); 422s ***** error imadjust ([1:100], [0; 1], [], -1); 422s ***** error imadjust ([1:100], [0; 5], []); 422s ***** error imadjust ([1:100], [-2; 1], []); 422s ***** error imadjust ([1:100], [], [0; 4]); 422s ***** error imadjust ([1:100], [], [-2; 1]); 422s ***** error imadjust (rand (5) > .5); 422s ***** test 422s im = [0.01:0.01:1]; 422s assert (imadjust (im), [0 linspace(0, 1, 98) 1], eps) 422s assert (imadjust (im), imadjust (im, stretchlim (im, 0.01), [0; 1], 1)) 422s assert (imadjust (im, []), imadjust (im, [0; 1], [0; 1], 1)) 422s assert (imadjust (im, [], []), imadjust (im, [0; 1], [0; 1], 1)) 422s assert (imadjust (im, [], [.25 .75]), imadjust (im, [0; 1], [.25; .75], 1)) 422s assert (imadjust (im, [.25; .75], []), imadjust (im, [.25; .75], [0; 1], 1)) 422s ***** assert (imadjust (linspace (0, 1), [], [.25 .75]), linspace (.25, .75, 100), eps) 422s ***** assert (imadjust (linspace (0, 1, 100),[1/99; 98/99]), 422s [0 linspace(0, 1, 98) 1], eps) 422s ***** shared cm 422s cm = [[0:8]' [1:9]' [2:10]'] / 10; 422s ***** assert (imadjust (cm, [0; 1], [0.5; 1]), (cm /2) + .5) 422s ***** assert (imadjust (cm, [0 1], [0.5 1]), (cm /2) + .5) 422s ***** assert (imadjust (cm, [0; 1], [.1 .2 .3; .7 .8 .9]), 422s (cm*.6) + [.1 .2 .3], eps) 422s ***** assert (imadjust (cm, [.2 .4 .6; .7 .8 .9], [0; 1]), 422s [[0 0 linspace(0, 1, 6) 1]' ... 422s [0 0 0 linspace(0, 1, 5) 1]' ... 422s [0 0 0 0 linspace(0, 1, 4) 1]'], eps) 422s ***** assert (imadjust (cm, [.2 .4 .6; .7 .8 .9], [0 .1 .2; .8 .9 1]), 422s [[0 0 linspace(0, .8, 6) .8]' ... 422s [.1 .1 .1 linspace(.1, .9, 5) .9]' ... 422s [.2 .2 .2 .2 linspace(.2, 1, 4) 1]'], eps) 422s ***** assert (imadjust (cm, [.2 .4 .6; .7 .8 .9], [0 .1 .2; .8 .9 1], [0.5 1 2]), 422s [[0 0 0 (((([.3 .4 .5 .6]-.2)/.5).^.5)*.8) .8 .8]' ... 422s [.1 .1 .1 linspace(.1, .9, 5) .9]' ... 422s [.2 .2 .2 .2 .2 ((((([.7 .8]-.6)/.3).^2).*.8)+.2) 1 1]'], eps*10) 422s ***** test 422s im = [-0.4:.1:0.8 422s 0.0:.1:1.2 422s 0.1:.1:1.3 422s -0.4:.2:2.0]; 422s 422s ## just clipping 422s assert (imadjust (im, [0; 1], [0; 1]), 422s [0 0 0 0 (0:.1:.8) 422s (0:.1:1) 1 1 422s (.1:.1:1) 1 1 1 422s 0 0 (0:.2:1) 1 1 1 1 1], eps) 422s 422s ## clipping and invert 422s assert (imadjust (im, [0; 1], [1; 0]), 422s [1 1 1 1 (1:-.1:.2) 422s (1:-.1:0) 0 0 422s (.9:-.1:0) 0 0 0 422s 1 1 (1:-.2:0) 0 0 0 0 0], eps) 422s 422s ## rescale 422s assert (imadjust (im, [.2; .7], [.1; .9]), 422s [1 1 1 1 1 1 1 2.6 4.2 5.8 7.4 9 9 422s 1 1 1 2.6 4.2 5.8 7.4 9 9 9 9 9 9 422s 1 1 2.6 4.2 5.8 7.4 9 9 9 9 9 9 9 422s 1 1 1 1 4.2 7.4 9 9 9 9 9 9 9]/10, eps) 422s 422s ## rescale and invert 422s assert (imadjust (im, [.2; .7], [.9; .1]), 422s [9 9 9 9 9 9 9 7.4 5.8 4.2 2.6 1 1 422s 9 9 9 7.4 5.8 4.2 2.6 1 1 1 1 1 1 422s 9 9 7.4 5.8 4.2 2.6 1 1 1 1 1 1 1 422s 9 9 9 9 5.8 2.6 1 1 1 1 1 1 1]/10, eps) 422s ***** assert (imadjust (linspace (0, 1), [], [], 2), linspace (0, 1) .^ 2) 422s ***** shared oRGB 422s oRGB = zeros (10, 1, 3); 422s oRGB(:,:,1) = [0 linspace(0,1,6) 1 1 1]'; 422s oRGB(:,:,2) = [0 0 linspace(0,1,6) 1 1]'; 422s oRGB(:,:,3) = [0 0 0 linspace(0,1,6) 1]'; 422s ***** assert (imadjust (oRGB, [0; 1], [0; 1]), oRGB) 422s ***** assert (imadjust (oRGB, [.2; .8], [0; 1]), 422s reshape ([[0 0 0 1/3 2/3 1 1 1 1 1]' 422s [0 0 0 0 1/3 2/3 1 1 1 1]' 422s [0 0 0 0 0 1/3 2/3 1 1 1]'], [10 1 3]), eps) 422s ***** assert (imadjust (oRGB, [.2; .8], [.1; .9]), 422s reshape ([[.1 .1 .1 (1/3)+(.1/3) (2/3)-(.1/3) .9 .9 .9 .9 .9]' 422s [.1 .1 .1 .1 (1/3)+(.1/3) (2/3)-(.1/3) .9 .9 .9 .9]' 422s [.1 .1 .1 .1 .1 (1/3)+(.1/3) (2/3)-(.1/3) .9 .9 .9]'], 422s [10 1 3]), eps) 422s ***** assert (imadjust (oRGB, [.2; .8], [.2; .8]), 422s reshape ([[2 2 2 4 6 8 8 8 8 8]' 422s [2 2 2 2 4 6 8 8 8 8]' 422s [2 2 2 2 2 4 6 8 8 8]']/10, [10 1 3]), eps) 422s ***** assert (imadjust (oRGB, [0; 1], [.1 .2 .3; .9 .8 .7]), 422s reshape ([[1 1 2.6 4.2 5.8 7.4 9 9 9 9]' 422s [2 2 2 3.2 4.4 5.6 6.8 8 8 8]' 422s [3 3 3 3 3.8 4.6 5.4 6.2 7 7]']/10, [10 1 3]), eps) 422s ***** assert (imadjust (oRGB, [.1 .2 .3; .9 .8 .7], [0; 1]), 422s reshape ([[0 0 .125 .375 .625 .875 1 1 1 1]' 422s [0 0 0 0 1/3 2/3 1 1 1 1]' 422s [0 0 0 0 0 .25 .75 1 1 1]'], [10 1 3]), eps*10) 422s ***** assert (imadjust (oRGB, [.1 .2 .3; .9 .8 .7], [.2 0 .4; .5 1 .7 ]), 422s reshape ([[.2 .2 .2375 .3125 .3875 .4625 .5 .5 .5 .5]' 422s [0 0 0 0 1/3 2/3 1 1 1 1]' 422s [.4 .4 .4 .4 .4 .475 .625 .7 .7 .7]'], [10 1 3]), eps) 422s ***** test 422s img = rand (4, 4, 2, 3, 4); 422s adj = zeros (4, 4, 2, 3, 4); 422s for p = 1:2 422s for q = 1:3 422s for r = 1:4 422s adj(:,:,p,q,r) = imadjust (img(:,:,p,q,r)); 422s endfor 422s endfor 422s endfor 422s assert (imadjust (img), adj) 422s ***** test 422s img = rand (4, 4, 2, 3, 2); 422s adj = zeros (4, 4, 2, 3, 2); 422s in = reshape ([ 3 5 7 9 11 13 15 17 19 21 23 25; 422s 97 95 93 91 89 87 85 83 81 79 77 75] / 100, [2 2 3 2]); 422s out = reshape ([ 5 7 9 11 14 15 17 19 21 23 25 27; 422s 95 93 91 89 87 85 83 81 79 77 75 73] / 100, [2 2 3 2]); 422s gamma = reshape (0.6:.1:1.7, [1 2 3 2]); 422s for p = 1:2 422s for q = 1:3 422s for r = 1:2 422s adj(:,:,p,q,r) = imadjust (img(:,:,p,q,r), in(:,p,q,r), 422s out(:,p,q,r), gamma(1,p,q,r)); 422s endfor 422s endfor 422s endfor 422s assert (imadjust (img, in, out, gamma), adj, eps) 422s ***** test 422s in = int16 (1:6); 422s assert (imadjust (in), int16 ([-32768 -19661 -6554 6553 19660 32767])) 422s assert (imadjust (in, []), in) 422s ***** test 422s in = uint8([ 422s 35 1 6 26 19 24 422s 3 32 7 21 23 25 422s 31 9 2 22 27 20 422s 8 28 33 17 10 15 422s 30 5 34 12 14 16 422s 4 36 29 13 18 11]); 422s out = uint8([ 422s 12 0 0 1 0 0 422s 0 8 0 0 0 0 422s 7 0 0 0 2 0 422s 0 3 9 0 0 0 422s 6 0 11 0 0 0 422s 0 13 4 0 0 0]); 422s assert (imadjust (in, [.1 .9], [0 1]), out); 422s ***** test 422s in = uint8([ 422s 140 4 24 104 76 96 422s 12 128 28 84 92 100 422s 124 36 8 88 108 80 422s 32 112 132 68 40 60 422s 120 20 136 48 56 64 422s 16 144 116 52 72 44]); 422s out = uint8([ 422s 143 0 0 98 63 88 422s 0 128 3 73 83 93 422s 123 13 0 78 103 68 422s 8 108 133 53 18 43 422s 118 0 138 28 38 48 422s 0 148 113 33 58 23]); 422s assert (imadjust (in, [.1 .9], [0 1]), out); 422s ***** xtest 422s in_u8 = randi ([0 255], 5, 5, 2, 3, "uint8"); 422s in_u16 = randi ([0 65535], 5, 5, 2, 3, "uint16"); 422s in_i16 = randi ([-32768 32767], 5, 5, 2, 3, "int16"); 422s in_u8_d = im2double (in_u8); 422s in_u16_d = im2double (in_u16); 422s in_i16_d = im2double (in_i16); 422s lim_u8 = eps + 0.5 / double (intmax ("uint8")); 422s lim_u16 = eps + 0.5 / double (intmax ("uint16")); 422s lim_i16 = eps + 0.5 / ( double (intmax("int16")) - double (intmin ("int16")) ); 422s 422s ## default values 422s assert (im2double (imadjust (in_u8)), imadjust (in_u8_d), lim_u8) 422s assert (im2double( imadjust (in_u16)), imadjust (in_u16_d), lim_u16) 422s assert (im2double( imadjust (in_i16)), imadjust (in_i16_d), lim_i16) 422s 422s ## single adjustment for all planes 422s args = {[.3; .7], [.1; .9], [1.5]}; 422s assert (im2double (imadjust (in_u8, args{:})), imadjust (in_u8_d, args{:}), lim_u8) 422s assert (im2double (imadjust (in_u16, args{:})), imadjust (in_u16_d, args{:}), lim_u16) 422s assert (im2double (imadjust (in_i16, args{:})), imadjust (in_i16_d, args{:}), lim_i16) 422s 422s ## single adjustment for all planes (mixed with some complement) 422s args = {reshape([.2 .3 .25 .1 0 .1; .9 .7 .85 .9 1 .8], [2 2 3]), 422s reshape([.1 .2 .05 .9 1 .3; .9 .85 .7 .1 0 .9], [2 2 3]), 422s reshape([1 .75 1 1.2 1.5 2], [1 2 3])}; 422s assert (im2double (imadjust (in_u8, args{:})), imadjust (in_u8_d, args{:}), lim_u8) 422s assert (im2double (imadjust (in_u16, args{:})), imadjust (in_u16_d, args{:}), lim_u16) 422s assert (im2double (imadjust (in_i16, args{:})), imadjust (in_i16_d, args{:}), lim_i16) 422s 422s ## test use of [] as limit and negative 422s args = {[], [.95; 0], 1.25}; 422s assert (im2double (imadjust (in_u8, args{:})), imadjust (in_u8_d, args{:}), lim_u8) 422s assert (im2double (imadjust (in_u16, args{:})), imadjust (in_u16_d, args{:}), lim_u16) 422s assert (im2double (imadjust (in_i16, args{:})), imadjust (in_i16_d, args{:}), lim_i16) 423s 36 tests, 36 passed, 0 known failure, 0 skipped 423s [inst/normxcorr2.m] 423s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/normxcorr2.m 423s ***** function offsets = get_max_offsets (c) 423s l = find (c == max (c(:))); 423s offsets = nthargout (1:ndims (c), @ind2sub, size (c), l); 423s ***** endfunction 423s ***** test 423s row_shift = 18; 423s col_shift = 20; 423s a = randi (255, 30, 30); 423s b = a(row_shift-10:row_shift, col_shift-7:col_shift); 423s c = normxcorr2 (b, a); 423s ## should return exact coordinates 423s assert (get_max_offsets (c), {row_shift col_shift}); 423s 423s ## Even with some small noise, should return exact coordinates 423s b = imnoise (b, "gaussian"); 423s c = normxcorr2 (b, a); 423s assert (get_max_offsets (c), {row_shift col_shift}); 423s ***** xtest 423s a = rand (10, 10); 423s c = normxcorr2 (a(5:7, 6:9), a); 423s assert (c(7, 9), 1, eps*100); 423s ***** test 423s a = 10 * randn (100, 100); 423s auto = normxcorr2 (a, a); 423s add_in = normxcorr2 (a, -a); 423s assert (auto, -add_in); 423s ***** test 423s a = 10 * randn (50, 50); 423s b = 10 * randn (100, 100); 423s do 423s scale = 100 * rand (); 423s until (scale != 0) 423s 423s assert (max ((normxcorr2 (scale*a,b) - normxcorr2 (a,b))(:)), 0, 1e-10); 423s assert (max ((normxcorr2 (a,scale*b) - normxcorr2 (a,b))(:)), 0, 1e-10); 423s 423s a_shift1 = a + scale * ones (size (a)); 423s b_shift1 = b + scale * ones (size (b)); 423s a_shift2 = a - scale * ones (size (a)); 423s b_shift2 = b - scale * ones (size (b)); 423s assert (max ((normxcorr2 (a_shift1,b) - normxcorr2 (a,b))(:)), 0, 1e-10); 423s assert (max ((normxcorr2 (a,b_shift1) - normxcorr2 (a,b))(:)), 0, 1e-10); 423s assert (max ((normxcorr2 (a_shift2,b) - normxcorr2 (a,b))(:)), 0, 1e-10); 423s assert (max ((normxcorr2 (a,b_shift2) - normxcorr2 (a,b))(:)), 0, 1e-10); 424s ***** test 424s a = randi (100, 15, 15, 15); 424s c = normxcorr2 (a(5:10, 2:6, 3:7), a); 424s assert (get_max_offsets (c), {10 6 7}); 424s 424s a = randi (100, 15, 15, 15); 424s c = normxcorr2 (a(5:10, 2:6, 1:1), a); 424s assert (get_max_offsets (c), {10 6 1}); 424s ***** warning normxcorr2 (rand (20), rand (5)); 424s ***** error normxcorr2 (rand (5)); 424s ***** error normxcorr2 (rand (5), rand (20), 2); 424s ***** test 424s a = [ 252 168 50 1 59; 424s 114 0 0 0 0] ./ 255; 424s b = [ 1 171 255 255 255 255 240 71 131 254 255 255 255; 424s 0 109 254 255 255 233 59 0 131 254 255 255 255; 424s 76 13 195 253 194 34 0 19 217 255 255 255 255; 424s 110 0 0 0 0 0 3 181 255 255 255 255 255; 424s 153 0 0 0 0 2 154 254 255 255 255 255 255]./255; 424s c = normxcorr2 (a, b); 424s assert (max (imag (c(:))), 0); 424s ***** test 424s img = [1 1 1 0]; 424s t = [1 1 0]; 424s c = normxcorr2 (t, img); 424s assert (c(3), 0) 424s 10 tests, 10 passed, 0 known failure, 0 skipped 424s [inst/stretchlim.m] 424s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/stretchlim.m 424s ***** error (stretchlim ()); 424s ***** error (stretchlim ("bad parameter")); 424s ***** error (stretchlim (zeros (10, 10), "bad parameter")); 424s ***** error (stretchlim (zeros (10, 10), 0.01, 2)); 424s ***** assert (stretchlim (0.01:.01:1), [0.02; 0.99]) 424s ***** assert (stretchlim (0.01:.01:1), stretchlim (0.01:.01:1, [0.01 0.99])) 424s ***** assert (stretchlim (0.01:.01:1, 0.15), stretchlim (0.01:.01:1, [0.15 0.85])) 424s ***** assert (stretchlim (0.01:.01:1, [0.01,0.95]), [0.02; 0.95], eps) 424s ***** assert (stretchlim (0.01:.01:1, 0), [0.01; 1]) 424s ***** test 424s im = rand (5); 424s assert (stretchlim (im, 0), [min(im(:)); max(im(:))]) 424s ***** test 424s im = rand (5, 5, 3); 424s assert (stretchlim (im, 0), 424s [min(im(:,:,1)(:)) min(im(:,:,2)(:)) min(im(:,:,3)(:)); 424s max(im(:,:,1)(:)) max(im(:,:,2)(:)) max(im(:,:,3)(:))]) 424s ***** test 424s im = rand (5); 424s assert (stretchlim (im, 0.03), [min(im(:)); max(im(:))]) 424s assert (stretchlim (im, 0.0399), [min(im(:)); max(im(:))]) 424s ***** assert (stretchlim (uint8 (1:100)), im2double (uint8 ([2; 99]))) 424s ***** assert (stretchlim (uint8 (1:100), .25), im2double (uint8 ([26; 75]))) 424s ***** assert (stretchlim (uint16 (1:1000)), im2double (uint16 ([11; 990]))) 424s ***** assert (stretchlim (int16 (-100:100)), im2double (int16 ([-98; 98]))) 424s ***** assert (stretchlim (single (0.01:.01:1)), 424s double (single (0.01:.01:1)([2; 99])).') 424s ***** assert (stretchlim (uint8 ([1 repmat(2, [1, 90]) 92:100]), 0.05), 424s im2double (uint8 ([2; 95]))) 424s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 4]) 6:100]), 0.05), 424s im2double (uint8 ([6; 95]))) 424s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 5]) 7:100]), 0.05), 424s im2double (uint8 ([2; 95]))) 424s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 6]) 8:100]), 0.05), 424s im2double (uint8 ([2; 95]))) 424s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 7]) 9:100]), 0.05), 424s im2double (uint8 ([2; 95]))) 424s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 8]) 10:100]), 0.05), 424s im2double (uint8 ([2; 95]))) 424s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 5]) repmat(3, [1 5]) 9:100]), 0.04), 424s im2double (uint8 ([2; 96]))) 424s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 5]) repmat(3, [1 5]) 9:100]), 0.05), 424s im2double (uint8 ([2; 95]))) 424s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 5]) repmat(3, [1 5]) 9:100]), 0.06), 424s im2double (uint8 ([3; 94]))) 424s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 5]) repmat(3, [1 5]) 9:100]), 0.07), 424s im2double (uint8 ([3; 93]))) 424s ***** assert (stretchlim (uint8 ([1 repmat(2, [1 5]) repmat(3, [1 5]) 9:100]), 0.08), 424s im2double (uint8 ([3; 92]))) 424s ***** test 424s RGB = zeros (100, 1, 3, "uint16"); 424s RGB(:,:,1) = [1:1:100]; 424s RGB(:,:,2) = [2:2:200]; 424s RGB(:,:,3) = [4:4:400]; 424s assert (stretchlim (RGB) , im2double (uint16 ([2 4 8; 99 198 396]))) 424s ***** test 424s im6c = zeros (100, 1, 6, "uint16"); 424s im6c(:,:,1) = [1:1:100]; 424s im6c(:,:,2) = [2:2:200]; 424s im6c(:,:,3) = [4:4:400]; 424s im6c(:,:,4) = [8:8:800]; 424s im6c(:,:,5) = [16:16:1600]; 424s im6c(:,:,6) = [32:32:3200]; 424s assert (stretchlim (im6c) , 424s im2double (uint16 ([2 4 8 16 32 64; 99 198 396 792 1584 3168]))) 424s ***** test 424s im = [0 0 .1 .1 .1 .1 .2 .2 .2 .4 .4 .6 .6 .7 .7 .9 .9 .9 1 1]; 424s 424s assert (stretchlim (im), [0; 1]) 424s 424s ## Consider the returned lower limit in this test. A lower limit 424s ## of 0.1 will saturate two elements (10%), while 0.2 will saturate 424s ## 6 elements (30%). Both have the same distance to 20% but returning 424s ## 0.1 is Matlab compatible. 424s ## Now looking at the higher limit. A limit of .9 will saturate 424s ## 2 elements (10%), while a limit of 0.7 will saturate 5 elements (25%). 424s ## However, for Matlab compatibility we must return .9 even though 424s ## 25% would be closer to 20%. 424s ## Basically, it's not just rounded. 424s assert (stretchlim (im, .2), [0.1; 0.9]) 424s 424s assert (stretchlim (im, .15), [0.1; 0.9]) 424s assert (stretchlim (im, .1), [0.1; 0.9]) 424s assert (stretchlim (im, .25), [0.1; 0.7]) 424s 424s ## Reorder the vector of values (real images don't have the values 424s ## already sorted), just to be sure it all works. 424s im([6 3 16 11 7 17 14 8 5 19 15 1 2 4 18 13 9 20 10 12]) = im; 424s assert (stretchlim (im, .2), [0.1; 0.9]) 424s assert (stretchlim (im, .15), [0.1; 0.9]) 424s assert (stretchlim (im, .1), [0.1; 0.9]) 424s assert (stretchlim (im, .25), [0.1; 0.7]) 425s ***** assert (stretchlim (0.01:.001:1), [0.019; 0.991], eps) 425s ***** assert (stretchlim (0.01:.001:1, [0.01,0.95]), [0.019; 0.951], eps) 425s ***** assert (stretchlim (0.01:.001:1, 0), [0.01; 1]) 425s ***** assert (stretchlim (single (0.01:.001:1)), 425s double (single (0.01:.001:1)([10; 982])).') 425s ***** xtest 425s assert (stretchlim ([(.05:.05:1) (2:4)], 0.2), [0.25; 0.95], eps) 425s assert (stretchlim ([(.05:.05:1) (2:5)], 0.2), [0.25; 1]) 425s assert (stretchlim ([(.05:.05:1) (2:6)], 0.2), [0.3; 1]) 425s assert (stretchlim ([(.05:.05:1) (2:7)], 0.2), [0.3; 1]) 425s ***** test 425s assert (stretchlim ([(-6:0) (.05:.05:1)], 0.2), [0; 0.75], eps) 425s assert (stretchlim ([(-5:0) (.05:.05:1)], 0.2), [0; 0.75], eps) 425s ***** test 425s im = rand (4, 4, 2, 3, 2); 425s rv = zeros (2, 2, 3, 2); 425s for p = 1:2 425s for q = 1:3 425s for r = 1:2 425s rv(:,p,q,r) = stretchlim (im(:,:,p,q,r), 0.25); 425s endfor 425s endfor 425s endfor 425s assert (stretchlim (im, 0.25), rv) 425s ***** test 425s im = rand (4, 4, 2, 3, 2); 425s rv = zeros (2, 2, 3, 2); 425s for p = 1:2 425s for q = 1:3 425s for r = 1:2 425s rv(:,p,q,r) = stretchlim (im(:,:,p,q,r), 0); 425s endfor 425s endfor 425s endfor 425s assert (stretchlim (im, 0), rv) 425s ***** assert (stretchlim (zeros (5)), [0; 1]) 425s ***** assert (stretchlim (ones (5)), [0; 1]) 425s ***** assert (stretchlim (.6 * ones (5)), [0; 1]) 425s ***** assert (stretchlim (zeros (3, 3, 3, 3)), repmat ([0; 1], [1 3 3])) 425s ***** assert (stretchlim ([0 .5 .5 .5 .5 1], .2), [0; 1]) 425s ***** test 425s im = repmat ((magic (5) -1) / 24, [1 1 3 3]); 425s im(:,:,1,1) = 0; 425s im(:,:,2,2) = .5; 425s im(:,:,3,3) = 1; 425s lims = stretchlim (im, 0.2); 425s assert (size (lims), [2 3 3]) 425s assert (lims(:, [2 3 4 6 7 8]), 425s repmat ([(1/24)*round(24*.2); 1-((1/24)*round(24*.2))], [1 6]), eps) 425s assert (lims(:, [1 5 9]), repmat ([0; 1], [1 3])) 425s 45 tests, 45 passed, 0 known failure, 0 skipped 425s [inst/cp2tform.m] 425s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/cp2tform.m 425s ***** function [crw, cap] = coords (npt = 1000, scale = 2, dtheta = pi/3, 425s dx = 2, dy = -6, sig2noise = 1e32) 425s theta = (rand(npt, 1)*2-1)*2*pi; 425s R = rand(npt,1); 425s y = R.*sin(theta); 425s x = R.*cos(theta); 425s crw = [y x]; 425s 425s thetap = theta + dtheta; 425s Rap = R * scale; 425s 425s yap = Rap.*sin(thetap); 425s yap = yap + dy; 425s yap = yap + rand (size (yap)) * norm (yap) / sig2noise; 425s 425s xap = Rap.*cos(thetap); 425s xap = xap + dx; 425s xap = xap + rand (size (xap)) * norm (xap) / sig2noise; 425s cap = [yap xap]; 425s ***** endfunction 425s ***** test 425s npt = 100000; 425s [crw, cap] = coords (npt); 425s ttype = 'projective'; 425s T = cp2tform (crw, cap, ttype); 425s crw2 = tforminv (T, cap); 425s finalerr = norm (crw - crw2)/npt; 425s assert (finalerr < 2*eps, "norm = %3.2e ( > 2*eps)", finalerr) 425s ***** test 425s npt = 100000; 425s [crw, cap] = coords (npt); 425s ttype = 'affine'; 425s T = cp2tform (crw, cap, ttype); 425s crw2 = tforminv (T, cap); 425s finalerr = norm (crw - crw2)/npt; 425s assert (finalerr < 2*eps, "norm = %3.2e ( > 2*eps)", finalerr) 425s ***** xtest 425s npt = 100000; 425s [crw, cap] = coords (npt); 425s ttype = 'nonreflective similarity'; 425s T = cp2tform (crw, cap, ttype); 425s crw2 = tforminv (T, cap); 425s finalerr = norm (crw - crw2)/npt; 425s assert (finalerr < 3*eps, "norm = %3.2e ( > 3*eps)", finalerr) 425s ***** test 425s npt = 100000; 425s [crw, cap] = coords (npt); 425s cap(:,2) *= -1; % reflection around y axis 425s ttype = 'similarity'; 425s T = cp2tform (crw, cap, ttype); 425s crw2 = tforminv (T, cap); 425s finalerr = norm (crw - crw2)/npt; 425s assert (finalerr < 3*eps, "norm = %3.2e ( > 3*eps)", finalerr) 425s ***** xtest 425s npt = 100000; 425s [crw, cap] = coords (npt); 425s ttype = 'polynomial'; 425s ord = 2; 425s T = cp2tform (crw, cap, ttype, ord); 425s crw2 = tforminv (T, cap); 425s finalerr = norm (crw - crw2)/npt; 425s assert (finalerr < eps, "norm = %3.2e ( > eps)", finalerr) 425s ***** xtest 425s npt = 100000; 425s [crw, cap] = coords (npt); 425s ttype = 'polynomial'; 425s ord = 3; 425s T = cp2tform (crw, cap, ttype, ord); 425s crw2 = tforminv (T, cap); 425s finalerr = norm (crw - crw2)/npt; 425s assert (finalerr < eps, "norm = %3.2e ( > eps)", finalerr) 425s ***** xtest 425s npt = 100000; 425s [crw, cap] = coords (npt); 425s ttype = 'polynomial'; 425s ord = 4; 425s T = cp2tform (crw, cap, ttype, ord); 425s crw2 = tforminv (T, cap); 425s finalerr = norm (crw - crw2)/npt; 425s assert (finalerr < 6*eps, "norm = %3.2e ( > 6*eps)", finalerr) 425s 7 tests, 7 passed, 0 known failure, 0 skipped 425s [inst/affine2d.m] 425s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/inst/affine2d.m 425s ***** test 425s theta = 10; 425s A = [cosd(theta) -sind(theta) 0 425s sind(theta) cosd(theta) 0 425s 0 0 1]; 425s tform = affine2d (A); 425s [X, Y] = transformPointsForward (tform, 5, 10); 425s assert (X, 6.6605, 1.e-4) 425s assert (Y, 8.9798, 1.e-4) 425s 425s [U, V] = transformPointsInverse (tform, X, Y); 425s assert (U, 5, 5*eps) 425s assert (V, 10, 9*eps) 425s assert (isRigid (tform)) 425s assert (! isTranslation (tform)) 425s assert (isSimilarity (tform)) 425s ***** test 425s theta = 30; 425s tform = affine2d([ cosd(theta) sind(theta) 0 425s -sind(theta) cosd(theta) 0 425s 0 0 1]); 425s assert (tform.T, [ 0.86603 0.5 0 425s -0.5 0.86603 0 425s 0 0 1], 1.e-5); 425s invtform = invert(tform); 425s assert (invtform.T, [ 0.86603 -0.5 0 425s 0.5 0.86603 0 425s 0 0 1], 1.e-5); 425s assert (isRigid (tform)) 425s assert (! isTranslation (tform)) 425s assert (isSimilarity (tform)) 425s ***** test 425s tform = affine2d ([1 0 0; 0 1 0; 5 10 1]); 425s [X, Y] = transformPointsForward (tform, [1 2; 3 4; 5 6; 7 8]); 425s assert (round (X), [6; 8; 10; 12]) 425s assert (round (Y), [12; 14; 16; 18]) 425s 425s [U, V] = transformPointsInverse (tform, X, Y); 425s assert (round (U), [1; 3; 5; 7]) 425s assert (round (V), [2; 4; 6; 8]) 425s assert (isRigid (tform)) 425s assert (isTranslation (tform)) 425s assert (isSimilarity (tform)) 425s ***** test 425s tform = affine2d ([1 1e-16 0; 1e-16 1 0; 5 10 1]); 425s assert (isRigid (tform)) 425s tform = affine2d ([2 1e-16 0; 1e-16 1 0; 5 10 1]); 425s assert (! isRigid (tform)) 425s ***** test 425s theta = 10; 425s A = [cosd(theta) -sind(theta) 0 425s sind(theta) cosd(theta) 0 425s 0 0 1]; 425s tform = affine2d (A); 425s [xlim, ylim] = outputLimits (tform, [1 240], [1 291]); 425s assert (xlim, [1.1585 286.8855], 1.e-4) 425s assert (ylim, [-40.6908 286.4054], 1.e-4) 425s ***** test 425s A = [1 0 0 425s 0 1 0 425s 40 40 1]; 425s tform = affine2d (A); 425s assert (isRigid (tform)); 425s assert (isSimilarity (tform)); 425s assert (isTranslation (tform)); 425s ***** test 425s a = invert (affine2d ([1 2 0; 3 4 0; 10 20 1])); 425s b = affine2d(a.T); 425s assert (b.T, [-2, 1, 0; 1.5, -0.5, 0; -10, 0, 1], 5*eps) 425s ***** assert (isTranslation (affine2d ([1, 0, 0; 0, 1, 0; 40, 40, 1]))) 425s ***** assert (! isTranslation (affine2d ([1 0 0; 0 -1 0; 0 0 1]))) 425s ***** assert (! isRigid (affine2d ([1 0 0; 0 -1 0; 0 0 1]))) 425s ***** error affine2d ([0 0 0; 0 0 0]) 425s ***** error affine2d ([0 0 0 0 0 0 0 0 1]) 425s ***** error affine2d ([0 0 0; 0 0 0; 0 0 0]) 425s ***** error affine2d ([1 0 0; 0 1 1; 0 0 1]) 425s ***** error affine2d ([0 0 0; 0 0 0; 0 0 1]) 425s ***** error affine2d (1, 2) 425s ***** error outputLimits (affine2d()) 425s ***** test 425s tform = affine2d; 425s assert (tform.T, eye (3)) 425s assert (tform.Dimensionality, 2) 425s 18 tests, 18 passed, 0 known failure, 0 skipped 425s Checking C++ files ... 425s [src/watershed.cc] 425s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/src/watershed.cc 425s ***** test 425s ex = tril (ones (50), -1) + triu (repmat (2, [50 50]), 2); 425s ex(1, 1) = 1; 425s ex(end, end) = 1; 425s 425s in = ones (50); 425s in(end,1) = 0; 425s in(1,end) = 0; 425s assert (watershed (in), ex) 425s ***** test 425s ex = tril (ones (49), -1) + triu (repmat (2, [49 49]), 2); 425s ex(1, 1) = 1; 425s ex(end, end) = 1; 425s 425s in = ones (49); 425s in(end,1) = 0; 425s in(1,end) = 0; 425s assert (watershed (in), ex) 425s 425s c = (fspecial ('disk', 5) > 0) + 1; 425s in(20:30,20:30) = c; 425s c = (fspecial ('disk', 4) > 0) + 2; 425s in(21:29,21:29) = c; 425s assert (watershed (in), ex) 425s ***** test 425s ex = tril (ones (49), -1) + triu (repmat (2, [49 49]), 2); 425s ex(1:28,1:28) = (tril (ones (28) ,7) + triu (repmat (2, [28 28]), 10)); 425s ex(1,9) = 1; 425s ex(end,end) = 1; 425s ex(20:29, 29) = 0; 425s 425s in = ones (49); 425s in(end,1) = 0; 425s in(1,end) = 0; 425s c = (fspecial ("disk", 5) > 0) + 1; 425s in(1:11,38:48) = c; 425s 425s assert (watershed (in), ex) 425s ***** test 425s im = [ 425s 3 4 5 6 0 425s 2 3 4 5 6 425s 1 2 3 4 5 425s 0 1 2 3 4 425s 1 0 1 2 3]; 425s 425s labeled8 = [ 425s 1 1 1 0 2 425s 1 1 1 0 0 425s 1 1 1 1 1 425s 1 1 1 1 1 425s 1 1 1 1 1]; 425s labeled4 = [ 425s 1 1 1 0 3 425s 1 1 1 0 0 425s 1 1 0 2 2 425s 1 0 2 2 2 425s 0 2 2 2 2]; 425s labeled_weird = [ 425s 1 1 1 0 2 425s 1 1 1 1 0 425s 1 1 1 1 1 425s 1 1 1 1 1 425s 1 1 1 1 1]; 425s 425s assert (watershed (im), labeled8); 425s assert (watershed (im, 8), labeled8); 425s assert (watershed (im, 4), labeled4); 425s assert (watershed (im, [1 1 0; 1 1 1; 0 1 1]), labeled_weird); 425s ***** test 425s im = [ 425s 2 3 30 2 425s 3 30 3 30 425s 255 31 30 4 425s 2 255 31 30 425s 1 2 255 5]; 425s 425s labeled4 = [ 425s 1 1 0 4 425s 1 0 3 0 425s 0 2 0 5 425s 2 2 2 0 425s 2 2 0 6]; 425s labeled_weird = [ 425s 1 1 0 3 425s 1 1 1 0 425s 0 1 1 1 425s 2 0 0 0 425s 2 2 0 4]; 425s 425s assert (watershed (im, 4), labeled4); 425s assert (watershed (im, [1 1 0; 1 1 1; 0 1 1]), labeled_weird); 425s ***** xtest 425s ## The following test is required for Matlab compatibility. There must be 425s ## something specific about their implementation that causes it to return 425s ## this value. Even when solving it on paper, we get different results. 425s im = [ 425s 2 3 30 2 425s 3 30 3 30 425s 255 31 30 4 425s 2 255 31 30 425s 1 2 255 5]; 425s 425s labeled8 = [ 425s 1 1 0 3 425s 1 1 0 3 425s 0 0 0 0 425s 2 2 0 4 425s 2 2 0 4]; 425s assert (watershed (im), labeled8); 425s assert (watershed (im, 8), labeled8); 425s !!!!! known failure 425s ASSERT errors for: assert (watershed (im),labeled8) 425s 425s Location | Observed | Expected | Reason 425s (3,4) 3 0 Abs err 3 exceeds tol 0 by 3 425s (4,4) 0 4 Abs err 4 exceeds tol 0 by 4 425s ***** test 425s im = [ 425s 2 2 2 2 2 2 2 425s 2 2 30 30 30 2 2 425s 2 30 20 20 20 30 2 425s 40 40 20 20 20 40 40 425s 1 40 20 20 20 40 0 425s 1 1 40 20 40 0 0 425s 1 1 1 20 0 0 0]; 425s 425s labeled8 = [ 425s 1 1 1 1 1 1 1 425s 1 1 1 1 1 1 1 425s 1 1 1 1 1 1 1 425s 0 0 0 0 0 0 0 425s 2 2 2 0 3 3 3 425s 2 2 2 0 3 3 3 425s 2 2 2 0 3 3 3]; 425s labeled4 = [ 425s 1 1 1 1 1 1 1 425s 1 1 1 1 1 1 1 425s 1 1 1 1 1 1 1 425s 0 1 1 1 1 1 0 425s 2 0 1 1 1 0 3 425s 2 2 0 1 0 3 3 425s 2 2 2 0 3 3 3]; 425s labeled_weird = [ 425s 1 1 1 1 1 1 1 425s 1 1 1 1 1 1 1 425s 1 1 1 1 1 1 1 425s 0 1 1 0 0 0 0 425s 2 0 0 0 3 3 3 425s 2 2 0 3 3 3 3 425s 2 2 2 0 3 3 3]; 425s 425s assert (watershed (im), labeled8); 425s assert (watershed (im, 8), labeled8); 425s assert (watershed (im, 4), labeled4); 425s assert (watershed (im, [1 1 0; 1 1 1; 0 1 1]), labeled_weird); 426s ***** test 426s im = [ 426s 40 40 40 40 40 40 40 40 40 40 40 40 40 426s 40 3 3 5 5 5 10 10 10 10 15 20 40 426s 40 3 3 5 5 30 30 30 10 15 15 20 40 426s 40 3 3 5 30 20 20 20 30 15 15 20 40 426s 40 40 40 40 40 20 20 20 40 40 40 40 40 426s 40 10 10 10 40 20 20 20 40 10 10 10 40 426s 40 5 5 5 10 40 20 40 10 10 5 5 40 426s 40 1 3 5 10 15 20 15 10 5 1 0 40 426s 40 1 3 5 10 15 20 15 10 5 1 0 40 426s 40 40 40 40 40 40 40 40 40 40 40 40 40]; 426s 426s labeled8 = [ 426s 1 1 1 1 1 1 1 1 1 1 1 1 1 426s 1 1 1 1 1 1 1 1 1 1 1 1 1 426s 1 1 1 1 1 1 1 1 1 1 1 1 1 426s 1 1 1 1 1 1 1 1 1 1 1 1 1 426s 0 0 0 0 0 0 0 0 0 0 0 0 0 426s 2 2 2 2 2 2 0 3 3 3 3 3 3 426s 2 2 2 2 2 2 0 3 3 3 3 3 3 426s 2 2 2 2 2 2 0 3 3 3 3 3 3 426s 2 2 2 2 2 2 0 3 3 3 3 3 3 426s 2 2 2 2 2 2 0 3 3 3 3 3 3]; 426s labeled4 = [ 426s 1 1 1 1 1 1 1 1 1 1 1 1 1 426s 1 1 1 1 1 1 1 1 1 1 1 1 1 426s 1 1 1 1 1 1 1 1 1 1 1 1 1 426s 1 1 1 1 1 1 1 1 1 1 1 1 1 426s 0 0 0 0 1 1 1 1 1 0 0 0 0 426s 2 2 2 2 0 1 1 1 0 3 3 3 3 426s 2 2 2 2 2 0 1 0 3 3 3 3 3 426s 2 2 2 2 2 2 0 3 3 3 3 3 3 426s 2 2 2 2 2 2 0 3 3 3 3 3 3 426s 2 2 2 2 2 2 0 3 3 3 3 3 3]; 426s labeled_weird = [ 426s 1 1 1 1 1 1 1 1 1 1 1 1 1 426s 1 1 1 1 1 1 1 1 1 1 1 1 1 426s 1 1 1 1 1 1 1 1 1 1 1 1 1 426s 1 1 1 1 1 1 1 1 1 1 1 1 1 426s 0 0 0 0 1 1 0 0 0 0 0 0 0 426s 2 2 2 2 0 0 0 3 3 3 3 3 3 426s 2 2 2 2 2 0 3 3 3 3 3 3 3 426s 2 2 2 2 2 2 0 3 3 3 3 3 3 426s 2 2 2 2 2 2 0 3 3 3 3 3 3 426s 2 2 2 2 2 2 0 3 3 3 3 3 3]; 426s 426s assert (watershed (im), labeled8); 426s assert (watershed (im, 8), labeled8); 426s assert (watershed (im, 4), labeled4); 426s assert (watershed (im, [1 1 0; 1 1 1; 0 1 1]), labeled_weird); 426s ***** xtest 426s ## This test is failing for Matlab compatibility 426s im_full = [ 426s 1 2 10 3 8 7 5 426s 3 2 5 10 8 1 4 426s 1 8 2 3 8 3 6]; 426s 426s matlab_result_full = [ 426s 1 1 0 3 0 4 4 426s 0 0 0 0 0 4 4 426s 2 2 2 0 4 4 4]; 426s 426s assert (watershed (im_full), matlab_result_full); 426s 426s im_crop = [ 426s 2 10 3 8 7 5 426s 2 5 10 8 1 4 426s 8 2 3 8 3 6]; 426s 426s matlab_result_crop = [ 426s 1 0 2 0 3 3 426s 1 0 0 0 3 3 426s 1 1 1 0 3 3]; 426s 426s assert (watershed (im_crop), matlab_result_crop); 426s !!!!! known failure 426s ASSERT errors for: assert (watershed (im_full),matlab_result_full) 426s 426s Location | Observed | Expected | Reason 426s (3,4) 2 0 Abs err 2 exceeds tol 0 by 2 426s (3,5) 0 4 Abs err 4 exceeds tol 0 by 4 426s 9 tests, 7 passed, 2 known failures, 0 skipped 426s [src/bwfill.cc] 426s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/src/bwfill.cc 426s ***** test 426s 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]; 426s R4 = logical(ones(5)); 426s 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]); 426s assert (bwfill (A,1,1,4), R4) 426s assert (bwfill (A,1,1,8), R8) 426s assert (bwfill (A,1,1), R8) 426s 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]); 426s assert (bwfill (A,3,3,4), B) 426s assert (bwfill (A,3,3,8), B) 426s assert (bwfill (A,3,3), B) 426s 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]); 426s assert (bwfill (A,3,1,8), C) 426s assert (bwfill (A,3,1,4), R4) 426s assert (bwfill (A, [3 1], [1 3], 4), R4); 426s 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]); 426s assert (bwfill (A, [3 1], [1 3], 8), D); 426s assert (bwfill (A, [3 1], [1 3]), D); 426s 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]); 426s assert (bwfill (A, "holes", 4), E); 426s 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]); 426s assert (bwfill (A, "holes", 8), F); 426s assert (bwfill (A, "holes"), F); 426s ***** error id=Octave:invalid-fun-call bwfill () 426s ***** error id=Octave:invalid-fun-call bwfill ("aaa") 426s ***** error id=Octave:invalid-fun-call bwfill (rand (5) > 0.5) 426s ***** error id=Octave:invalid-fun-call bwfill (rand (5) > 0.5, 2) 426s ***** error bwfill (rand (5) > 0.5, "holes", 1) 426s ***** error bwfill (rand (5) > 0.5, 2, 2, 5) 426s ***** error id=Octave:invalid-fun-call bwfill (rand (5) > 0.5, "xxx") 426s ***** error id=Octave:invalid-fun-call bwfill (rand (5) > 0.5, 2, 2, 4, 5) 427s ***** error id=Octave:invalid-fun-call bwfill (rand (5) > 0.5, "holes", 4, 2) 427s 10 tests, 10 passed, 0 known failure, 0 skipped 427s [src/bwlabeln.cc] 427s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/src/bwlabeln.cc 427s ***** shared a2d, a3d 427s a2d = [1 0 0 0 0 0 1 0 0 1 427s 1 0 0 1 0 1 0 1 0 1 427s 1 0 1 0 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 1 0 0 0 0 0 0 0 0 427s 1 1 0 1 1 1 0 0 0 0 427s 1 1 0 1 0 0 0 1 0 0 427s 1 1 0 0 0 0 1 0 1 0 427s 1 1 0 0 0 0 0 0 0 0 427s 1 1 0 0 0 1 1 0 0 1]; 427s 427s a3d = a2d; 427s a3d(:,:,2) = [ 427s 0 0 0 0 0 0 0 0 0 0 427s 1 0 0 1 1 0 0 1 0 0 427s 0 0 0 1 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 1 0 0 0 0 0 0 0 0 427s 1 1 0 0 1 1 0 0 0 0 427s 1 1 0 1 0 0 0 0 0 0 427s 1 0 0 0 0 0 1 0 0 0 427s 0 1 0 0 0 0 0 0 0 1 427s 1 1 0 0 0 0 1 0 0 0]; 427s 427s a3d(:,:,3) = [ 427s 1 0 0 0 0 0 0 0 0 0 427s 0 1 0 1 1 0 0 1 0 0 427s 0 0 0 1 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 0 0 1 1 1 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 1 0 0 0 0 0 0 0 0 0 427s 1 1 0 0 0 0 0 0 0 1 427s 1 1 0 0 0 0 0 0 0 0]; 427s ***** test 427s label2dc4 = [ 427s 1 0 0 0 0 0 8 0 0 13 427s 1 0 0 4 0 6 0 10 0 13 427s 1 0 3 0 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 2 0 0 0 0 0 0 0 0 427s 2 2 0 5 5 5 0 0 0 0 427s 2 2 0 5 0 0 0 11 0 0 427s 2 2 0 0 0 0 9 0 12 0 427s 2 2 0 0 0 0 0 0 0 0 427s 2 2 0 0 0 7 7 0 0 14]; 427s assert (bwlabeln (a2d, 4), label2dc4) 427s assert (bwlabeln (a2d, [0 1 0; 1 1 1; 0 1 0]), label2dc4) 427s assert (bwlabeln (a2d, conndef (2, "minimal")), label2dc4) 427s assert (bwlabeln (a2d, conndef (3, "minimal")), label2dc4) 427s ***** test 427s label2dc8 = [ 427s 1 0 0 0 0 0 5 0 0 8 427s 1 0 0 3 0 5 0 5 0 8 427s 1 0 3 0 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 2 0 0 0 0 0 0 0 0 427s 2 2 0 4 4 4 0 0 0 0 427s 2 2 0 4 0 0 0 7 0 0 427s 2 2 0 0 0 0 7 0 7 0 427s 2 2 0 0 0 0 0 0 0 0 427s 2 2 0 0 0 6 6 0 0 9]; 427s assert (bwlabeln (a2d, 8), label2dc8) 427s assert (bwlabeln (a2d, ones (3)), label2dc8) 427s assert (bwlabeln (a2d, conndef (2, "maximal")), label2dc8) 427s assert (bwlabeln (a2d, conndef (3, "maximal")), label2dc8) 427s ***** test 427s label3dc8 = [ 427s 1 0 0 0 0 0 5 0 0 8 427s 1 0 0 3 0 5 0 5 0 8 427s 1 0 3 0 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 2 0 0 0 0 0 0 0 0 427s 2 2 0 4 4 4 0 0 0 0 427s 2 2 0 4 0 0 0 7 0 0 427s 2 2 0 0 0 0 7 0 7 0 427s 2 2 0 0 0 0 0 0 0 0 427s 2 2 0 0 0 6 6 0 0 9]; 427s label3dc8(:,:,2) = [ 427s 0 0 0 0 0 0 0 0 0 0 427s 10 0 0 12 12 0 0 16 0 0 427s 0 0 0 12 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 11 0 0 0 0 0 0 0 0 427s 11 11 0 0 13 13 0 0 0 0 427s 11 11 0 13 0 0 0 0 0 0 427s 11 0 0 0 0 0 14 0 0 0 427s 0 11 0 0 0 0 0 0 0 17 427s 11 11 0 0 0 0 15 0 0 0]; 427s label3dc8(:,:,3) = [ 427s 18 0 0 0 0 0 0 0 0 0 427s 0 18 0 20 20 0 0 22 0 0 427s 0 0 0 20 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 0 0 21 21 21 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 19 0 0 0 0 0 0 0 0 0 427s 19 19 0 0 0 0 0 0 0 23 427s 19 19 0 0 0 0 0 0 0 0]; 427s assert (bwlabeln (a3d, 8), label3dc8) 427s assert (bwlabeln (a3d, ones (3, 3)), label3dc8) 427s assert (bwlabeln (a3d, conndef (2, "maximal")), label3dc8) 427s ***** test 427s label3dc26 = [ 427s 1 0 0 0 0 0 3 0 0 7 427s 1 0 0 3 0 3 0 3 0 7 427s 1 0 3 0 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 2 0 0 0 0 0 0 0 0 427s 2 2 0 4 4 4 0 0 0 0 427s 2 2 0 4 0 0 0 6 0 0 427s 2 2 0 0 0 0 6 0 6 0 427s 2 2 0 0 0 0 0 0 0 0 427s 2 2 0 0 0 5 5 0 0 6]; 427s label3dc26(:,:,2) = [ 427s 0 0 0 0 0 0 0 0 0 0 427s 1 0 0 3 3 0 0 3 0 0 427s 0 0 0 3 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 2 0 0 0 0 0 0 0 0 427s 2 2 0 0 4 4 0 0 0 0 427s 2 2 0 4 0 0 0 0 0 0 427s 2 0 0 0 0 0 6 0 0 0 427s 0 2 0 0 0 0 0 0 0 6 427s 2 2 0 0 0 0 5 0 0 0]; 427s label3dc26(:,:,3) = [ 427s 1 0 0 0 0 0 0 0 0 0 427s 0 1 0 3 3 0 0 3 0 0 427s 0 0 0 3 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 0 0 4 4 4 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 2 0 0 0 0 0 0 0 0 0 427s 2 2 0 0 0 0 0 0 0 6 427s 2 2 0 0 0 0 0 0 0 0]; 427s assert (bwlabeln (a3d, 26), label3dc26) 427s assert (bwlabeln (a3d, ones (3, 3, 3)), label3dc26) 427s assert (bwlabeln (a3d, conndef (3, "maximal")), label3dc26) 427s ***** test 427s label3dc18 = [ 427s 1 0 0 0 0 0 3 0 0 7 427s 1 0 0 3 0 3 0 3 0 7 427s 1 0 3 0 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 2 0 0 0 0 0 0 0 0 427s 2 2 0 4 4 4 0 0 0 0 427s 2 2 0 4 0 0 0 6 0 0 427s 2 2 0 0 0 0 6 0 6 0 427s 2 2 0 0 0 0 0 0 0 0 427s 2 2 0 0 0 5 5 0 0 8]; 427s label3dc18(:,:,2) = [ 427s 0 0 0 0 0 0 0 0 0 0 427s 1 0 0 3 3 0 0 3 0 0 427s 0 0 0 3 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 2 0 0 0 0 0 0 0 0 427s 2 2 0 0 4 4 0 0 0 0 427s 2 2 0 4 0 0 0 0 0 0 427s 2 0 0 0 0 0 6 0 0 0 427s 0 2 0 0 0 0 0 0 0 8 427s 2 2 0 0 0 0 5 0 0 0]; 427s label3dc18(:,:,3) = [ 427s 1 0 0 0 0 0 0 0 0 0 427s 0 1 0 3 3 0 0 3 0 0 427s 0 0 0 3 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 0 0 4 4 4 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 2 0 0 0 0 0 0 0 0 0 427s 2 2 0 0 0 0 0 0 0 8 427s 2 2 0 0 0 0 0 0 0 0]; 427s assert (bwlabeln (a3d, 18), label3dc18) 427s ***** test 427s label2dc3 = [ 427s 1 0 0 0 0 0 11 0 0 17 427s 1 0 0 5 0 8 0 14 0 17 427s 1 0 4 0 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 3 0 0 0 0 0 0 0 0 427s 2 3 0 6 7 9 0 0 0 0 427s 2 3 0 6 0 0 0 15 0 0 427s 2 3 0 0 0 0 12 0 16 0 427s 2 3 0 0 0 0 0 0 0 0 427s 2 3 0 0 0 10 13 0 0 18]; 427s assert (bwlabeln (a2d, [1 1 1]'), label2dc3) 427s 427s label3dc3 = label2dc3; 427s label3dc3(:,:,2) = [ 427s 0 0 0 0 0 0 0 0 0 0 427s 19 0 0 24 26 0 0 31 0 0 427s 0 0 0 24 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 22 0 0 0 0 0 0 0 0 427s 20 22 0 0 27 28 0 0 0 0 427s 20 22 0 25 0 0 0 0 0 0 427s 20 0 0 0 0 0 29 0 0 0 427s 0 23 0 0 0 0 0 0 0 32 427s 21 23 0 0 0 0 30 0 0 0]; 427s label3dc3(:,:,3) = [ 427s 33 0 0 0 0 0 0 0 0 0 427s 0 35 0 37 39 0 0 42 0 0 427s 0 0 0 37 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 0 0 38 40 41 0 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 34 0 0 0 0 0 0 0 0 0 427s 34 36 0 0 0 0 0 0 0 43 427s 34 36 0 0 0 0 0 0 0 0]; 427s assert (bwlabeln (a3d, [1 1 1]'), label3dc3) 427s ***** test 427s label2dc1 = zeros (size (a2d)); 427s label2dc1(a2d != 0) = 1:nnz (a2d); 427s assert (bwlabeln (a2d, [1]), label2dc1); 427s assert (bwlabeln (a2d, [0 1 0]'), label2dc1); 427s 427s label3dc1 = zeros (size (a3d)); 427s label3dc1(a3d != 0) = 1:nnz (a3d); 427s assert (bwlabeln (a3d, [1]), label3dc1); 427s assert (bwlabeln (a3d, [0 1 0]'), label3dc1); 427s ***** shared in 427s in = rand (10) > 0.8; 427s ***** assert (bwlabel (in, 4), bwlabeln (in, 4)); 427s ***** assert (bwlabel (in, 4), bwlabeln (in, [0 1 0; 1 1 1; 0 1 0])); 427s ***** assert (bwlabel (in, 8), bwlabeln (in, 8)); 427s ***** assert (bwlabel (in, 8), bwlabeln (in, [1 1 1; 1 1 1; 1 1 1])); 427s ***** assert (bwlabel (logical ([0 1 0; 0 0 0; 1 0 1])), [0 2 0; 0 0 0; 1 0 3]); 427s ***** assert (bwlabel ([0 1 0; 0 0 0; 1 0 1]), [0 2 0; 0 0 0; 1 0 3]); 427s ***** assert (bwlabel ([0 -1 0; 0 0 0; 5 0 0.2]), [0 2 0; 0 0 0; 1 0 3]); 427s ***** shared in, out 427s 427s in = [ 0 1 1 0 0 1 0 0 0 0 427s 0 0 0 1 0 0 0 0 0 1 427s 0 1 1 0 0 0 0 0 1 1 427s 1 0 0 0 0 0 0 1 0 0 427s 0 0 0 0 0 1 1 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 0 0 1 0 0 0 0 0 0 427s 0 0 0 0 1 1 0 1 0 0 427s 0 0 0 1 0 1 0 1 0 1 427s 1 1 0 0 0 0 0 1 1 0]; 427s 427s out = [ 0 3 3 0 0 9 0 0 0 0 427s 0 0 0 5 0 0 0 0 0 13 427s 0 4 4 0 0 0 0 0 13 13 427s 1 0 0 0 0 0 0 11 0 0 427s 0 0 0 0 0 10 10 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 0 0 6 0 0 0 0 0 0 427s 0 0 0 0 8 8 0 12 0 0 427s 0 0 0 7 0 8 0 12 0 14 427s 2 2 0 0 0 0 0 12 12 0]; 427s ***** assert (nthargout ([1 2], @bwlabel, in, 4), {out, 14}); 427s ***** assert (nthargout ([1 2], @bwlabel, logical (in), 4), {out, 14}); 427s 427s out = [ 0 3 3 0 0 7 0 0 0 0 427s 0 0 0 3 0 0 0 0 0 11 427s 0 4 4 0 0 0 0 0 11 11 427s 1 0 0 0 0 0 0 9 0 0 427s 0 0 0 0 0 8 8 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 0 0 5 0 0 0 0 0 0 427s 0 0 0 0 5 5 0 10 0 0 427s 0 0 0 6 0 5 0 10 0 12 427s 2 2 0 0 0 0 0 10 10 0]; 427s ***** assert (nthargout ([1 2], @bwlabel, in, 6), {out, 12}); 427s ***** assert (nthargout ([1 2], @bwlabel, logical (in), 6), {out, 12}); 427s 427s ## The labeled image is not the same as Matlab, but they are 427s ## labeled correctly. Do we really need to get them properly 427s ## ordered? (the algorithm in bwlabeln does it) 427s mout = [0 1 1 0 0 4 0 0 0 0 427s 0 0 0 1 0 0 0 0 0 5 427s 0 1 1 0 0 0 0 0 5 5 427s 1 0 0 0 0 0 0 5 0 0 427s 0 0 0 0 0 5 5 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 0 0 3 0 0 0 0 0 0 427s 0 0 0 0 3 3 0 6 0 0 427s 0 0 0 3 0 3 0 6 0 6 427s 2 2 0 0 0 0 0 6 6 0]; 427s 427s out = [ 0 2 2 0 0 4 0 0 0 0 427s 0 0 0 2 0 0 0 0 0 5 427s 0 2 2 0 0 0 0 0 5 5 427s 2 0 0 0 0 0 0 5 0 0 427s 0 0 0 0 0 5 5 0 0 0 427s 0 0 0 0 0 0 0 0 0 0 427s 0 0 0 3 0 0 0 0 0 0 427s 0 0 0 0 3 3 0 6 0 0 427s 0 0 0 3 0 3 0 6 0 6 427s 1 1 0 0 0 0 0 6 6 0]; 427s ***** assert (nthargout ([1 2], @bwlabel, in, 8), {out, 6}); 427s ***** assert (nthargout ([1 2], @bwlabel, logical (in), 8), {out, 6}); 427s 427s ***** error bwlabel (rand (10, 10, 10) > 0.8, 4) 427s ***** error bwlabel (rand (10) > 0.8, "text") 427s ***** error bwlabel ("text", 6) 427s 23 tests, 23 passed, 0 known failure, 0 skipped 427s [src/graycomatrix.cc] 427s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/src/graycomatrix.cc 427s ***** shared a 427s ***** test 427s a = [0 0 0 1 2; 427s 1 1 0 1 1; 427s 2 2 1 0 0; 427s 1 1 0 2 0; 427s 0 0 1 0 1]; 427s squeeze(graycomatrix(a, 3, 1, -pi/4)) == [4 2 0; 427s 2 3 2; 427s 1 2 0]; 427s 427s ***** assert(size(graycomatrix(a, 3, 1:5, [0:3]*-pi/4)), [3, 3, 5, 4]) 427s ***** demo 427s 427s # Pattern Recognition Engineering (Nadler & Smith) 427s # Digital Image Processing (Gonzales & Woods), p. 668 427s 427s a = [0 0 0 1 2; 427s 1 1 0 1 1; 427s 2 2 1 0 0; 427s 1 1 0 2 0; 427s 0 0 1 0 1]; 427s 427s graycomatrix(a, 3, 1, [0 1]*-pi/4) 427s 427s 2 tests, 2 passed, 0 known failure, 0 skipped 427s [src/bwdist.cc] 427s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/src/bwdist.cc 427s ***** shared bw 427s 427s bw = [0 1 0 1 0 1 1 0 427s 0 0 0 1 1 0 0 0 427s 0 0 0 1 1 0 0 0 427s 0 0 0 1 1 0 0 0 427s 0 0 1 1 1 1 1 1 427s 1 1 1 1 0 0 0 1 427s 1 1 1 0 0 0 1 0 427s 0 0 1 0 0 0 1 1]; 427s ***** test 427s out = [ 1.00000 0.00000 1.00000 0.00000 1.00000 0.00000 0.00000 1.00000 427s 1.41421 1.00000 1.00000 0.00000 0.00000 1.00000 1.00000 1.41421 427s 2.23607 2.00000 1.00000 0.00000 0.00000 1.00000 2.00000 2.00000 427s 2.00000 1.41421 1.00000 0.00000 0.00000 1.00000 1.00000 1.00000 427s 1.00000 1.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 427s 0.00000 0.00000 0.00000 0.00000 1.00000 1.00000 1.00000 0.00000 427s 0.00000 0.00000 0.00000 1.00000 1.41421 1.00000 0.00000 1.00000 427s 1.00000 1.00000 0.00000 1.00000 2.00000 1.00000 0.00000 0.00000]; 427s out = single (out); 427s 427s assert (bwdist (bw), out, 0.0001); # default is euclidean 427s assert (bwdist (bw, "euclidean"), out, 0.0001); 427s assert (bwdist (logical (bw), "euclidean"), out, 0.0001); 427s ***** test 427s out = [ 1 0 1 0 1 0 0 1 427s 1 1 1 0 0 1 1 1 427s 2 2 1 0 0 1 2 2 427s 2 1 1 0 0 1 1 1 427s 1 1 0 0 0 0 0 0 427s 0 0 0 0 1 1 1 0 427s 0 0 0 1 1 1 0 1 427s 1 1 0 1 2 1 0 0]; 427s out = single (out); 427s 427s assert (bwdist (bw, "chessboard"), out); 427s ***** test 427s out = [ 1 0 1 0 1 0 0 1 427s 2 1 1 0 0 1 1 2 427s 3 2 1 0 0 1 2 2 427s 2 2 1 0 0 1 1 1 427s 1 1 0 0 0 0 0 0 427s 0 0 0 0 1 1 1 0 427s 0 0 0 1 2 1 0 1 427s 1 1 0 1 2 1 0 0]; 427s out = single (out); 427s 427s assert (bwdist (bw, "cityblock"), out); 427s ***** test 427s out = [ 1.00000 0.00000 1.00000 0.00000 1.00000 0.00000 0.00000 1.00000 427s 1.41421 1.00000 1.00000 0.00000 0.00000 1.00000 1.00000 1.41421 427s 2.41421 2.00000 1.00000 0.00000 0.00000 1.00000 2.00000 2.00000 427s 2.00000 1.41421 1.00000 0.00000 0.00000 1.00000 1.00000 1.00000 427s 1.00000 1.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 427s 0.00000 0.00000 0.00000 0.00000 1.00000 1.00000 1.00000 0.00000 427s 0.00000 0.00000 0.00000 1.00000 1.41421 1.00000 0.00000 1.00000 427s 1.00000 1.00000 0.00000 1.00000 2.00000 1.00000 0.00000 0.00000]; 427s out = single (out); 427s 427s assert (bwdist (bw, "quasi-euclidean"), out, 0.0001); 427s 427s bw(logical (bw)) = 3; # there is no actual check if matrix is binary or 0 and 1 427s assert (bwdist (bw, "quasi-euclidean"), out, 0.0001); 427s 427s bw(logical (bw)) = -2; # anything non-zero is considered object 427s assert (bwdist (bw, "quasi-euclidean"), out, 0.0001); 427s ***** test 427s bw = [ 1 1 1 1 0 1 1 1 1 427s 1 1 1 1 0 1 1 1 1 427s 1 1 0 1 1 1 1 1 1 427s 0 1 1 1 1 1 1 1 1]; 427s 427s dist = [ 0 0 0 0 1 0 0 0 0 427s 0 0 0 0 1 0 0 0 0 427s 0 0 1 0 0 0 0 0 0 427s 1 0 0 0 0 0 0 0 0]; 427s dist = single (dist); 427s 427s c = [ 1 5 9 13 13 21 25 29 33 427s 2 6 10 14 14 22 26 30 34 427s 3 7 10 15 19 23 27 31 35 427s 8 8 12 16 20 24 28 32 36]; 427s c = uint32 (c); 427s 427s [dout, cout] = bwdist (bw, "euclidean"); 427s assert (dout, dist) 427s assert (cout, c) 427s ***** test 427s bw = [ 0 1 1 0 0 0 1 0 427s 0 0 0 0 0 0 0 0 427s 1 1 0 0 0 0 0 0 427s 0 0 0 0 0 0 1 0 427s 0 0 0 0 1 0 0 1 427s 0 0 0 0 0 0 0 0 427s 1 0 0 0 0 0 0 0 427s 0 0 1 0 0 1 1 0]; 427s out = single ([ 427s 1.00000 0.00000 0.00000 1.00000 2.00000 1.00000 0.00000 1.00000 427s 1.00000 1.00000 1.00000 sqrt(2) sqrt(2)+1 sqrt(2) 1.00000 sqrt(2) 427s 0.00000 0.00000 1.00000 2.00000 2.00000 sqrt(2) 1.00000 sqrt(2) 427s 1.00000 1.00000 sqrt(2) sqrt(2) 1.00000 1.00000 0.00000 1.00000 427s 2.00000 2.00000 2.00000 1.00000 0.00000 1.00000 1.00000 0.00000 427s 1.00000 sqrt(2) 2.00000 sqrt(2) 1.00000 sqrt(2) sqrt(2) 1.00000 427s 0.00000 1.00000 1.00000 sqrt(2) sqrt(2) 1.00000 1.00000 sqrt(2) 427s 1.00000 1.00000 0.00000 1.00000 1.00000 0.00000 0.00000 1.00000 427s ]); 427s assert (bwdist (bw, "quasi-euclidean"), out); 427s ***** error bwdist (bw, "not a valid method"); 427s ***** test 427s ## Special case of there being no foreground element (bug #50874) 427s expected_dist = single (Inf (2, 2)); 427s expected_idx = uint32 ([0 0; 0 0]); 427s 427s [dist, idx] = bwdist (false (2, 2)); 427s assert (dist, expected_dist) 427s assert (idx, expected_idx) 427s 427s [dist, idx] = bwdist (zeros (2, 2)); 427s assert (dist, expected_dist) 427s assert (idx, expected_idx) 427s ***** test 427s ## Special case of 1D input (bug #50874) 427s assert (bwdist ([1 0]), single ([0 1])) 427s assert (bwdist ([1 0]'), single ([0 1]')) 427s assert (bwdist ([0 1 0 0 0 0 1 1]), single ([1 0 1 2 2 1 0 0])) 427s assert (bwdist ([1 1 0 0 0 0 1 1]'), single ([0 0 1 2 2 1 0 0])') 427s assert (bwdist ([1 0], "euclidean"), single ([0 1])) 427s assert (bwdist ([1 0], "chessboard"), single ([0 1])) 427s assert (bwdist ([1 0], "cityblock"), single ([0 1])) 427s assert (bwdist ([1 0], "quasi-euclidean"), single ([0 1])) 427s ***** test 427s ## test 1D input with 2nd output argument (indices) (bug #50874) 427s expected_dist = single ([1 0 1]); 427s expected_idx = uint32 ([2 2 2]); 427s 427s [dist, idx] = bwdist ([0 1 0]); 427s assert (dist, expected_dist) 427s assert (idx, expected_idx) 427s 427s [dist, idx] = bwdist ([0 1 0]'); 427s assert (dist, expected_dist') 427s assert (idx, expected_idx') 427s 427s expected_dist = single ([0 0 1 0 0]); 427s expected_idx = uint32 ([1 2 2 4 5]); 427s [dist, idx] = bwdist ([1 1 0 1 1]); 427s assert (dist, expected_dist) 427s assert (idx, expected_idx) 427s 427s expected_dist = single ([1 0 1 2 1 0 0 0 1 1 0 0 0 0 1 2 3 4]); 427s expected_idx = uint32 ([2 2 2 2 6 6 7 8 8 11 11 12 13 14 14 14 14 14]); 427s [dist, idx] = bwdist ([0 1 0 0 0 1 1 1 0 0 1 1 1 1 0 0 0 0]); 427s assert (dist, expected_dist) 427s assert (idx, expected_idx) 427s 427s expected_dist = single ([0 0 1 2 1 0 0 0 1 1 0 0 0 0 1 2 1 0]); 427s expected_idx = uint32 ([1 2 2 2 6 6 7 8 8 11 11 12 13 14 14 14 18 18]); 427s [dist, idx] = bwdist ([1 1 0 0 0 1 1 1 0 0 1 1 1 1 0 0 0 1]); 427s assert (dist, expected_dist) 427s assert (idx, expected_idx) 427s ***** test 427s assert (bwdist ([0 0]), single ([Inf, Inf])) 427s assert (bwdist ([0 0]'), single ([Inf, Inf]')) 427s ***** xtest 427s ## This is Matlab incompatible because the bottom right corners is 427s ## equally distant to the top right and bottom left corners. However, 427s ## both are correct answers, and the returned value is just 427s ## implementation dependent. 427s bw = logical ([ 427s 0 0 1 427s 0 0 0 427s 1 0 0 427s ]); 427s expected_dist = single ([ 427s 2.0 1.0 0.0 427s 1.0 sqrt(2) 1.0 427s 0.0 1.0 2.0 427s ]); 427s expected_idx = uint32 ([ 427s 3 7 7 427s 3 3 7 427s 3 3 3 427s ]); 427s [dist, idx] = bwdist (bw); 427s assert (dist, expected_dist) 427s assert (idx, expected_idx) 427s !!!!! known failure 427s ASSERT errors for: assert (idx,expected_idx) 427s 427s Location | Observed | Expected | Reason 427s (3,3) 7 3 Abs err 4 exceeds tol 0 by 4 427s 12 tests, 11 passed, 1 known failure, 0 skipped 427s [src/intlut.cc] 427s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/src/intlut.cc 427s ***** assert (intlut (uint8 (1:4), uint8 ( 255:-1:0)), uint8 (254:-1:251)); 427s ***** assert (intlut (uint16 (1:4), uint16 (65535:-1:0)), uint16 (65534:-1:65531)); 427s ***** assert (intlut (int16 (1:4), int16 (32767:-1:-32768)), int16 (-2:-1:-5)); 427s ***** assert (intlut (uint8 (255), uint8 (0:255)), uint8 (255)); 427s ***** assert (intlut (uint16 (65535), uint16 (0:65535)), uint16 (65535)); 427s ***** assert (intlut (int16 (32767), int16 (-32768:32767)), int16 (32767)); 427s ***** error intlut () 427s ***** error intlut ("text") 427s ***** error intlut (1:20, uint8 (0:255)); 427s ***** error intlut (uint16 (1:20), uint8 (0:255)); 427s ***** error intlut (uint8 (1:20), uint8 (0:200)); 427s ***** error intlut (uint16 (1:20), uint16 (0:500)); 427s ***** error intlut (uint8 (56), uint8 (magic (16) -1)) 427s 13 tests, 13 passed, 0 known failure, 0 skipped 427s [src/conndef.cc] 427s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/src/conndef.cc 427s ***** assert (conndef (1, "minimal"), [1; 1; 1]); 427s ***** assert (conndef (2, "minimal"), [0 1 0; 1 1 1; 0 1 0]); 427s ***** test 427s C = zeros (3, 3, 3); 427s C(:,2,2) = 1; 427s C(2,:,2) = 1; 427s C(2,2,:) = 1; 427s assert (conndef (3, "minimal"), C); 427s ***** test 427s C = zeros (3, 3, 3, 3); 427s C(:,:,2,1) = [0 0 0 427s 0 1 0 427s 0 0 0]; 427s C(:,:,1,2) = [0 0 0 427s 0 1 0 427s 0 0 0]; 427s C(:,:,2,2) = [0 1 0 427s 1 1 1 427s 0 1 0]; 427s C(:,:,3,2) = [0 0 0 427s 0 1 0 427s 0 0 0]; 427s C(:,:,2,3) = [0 0 0 427s 0 1 0 427s 0 0 0]; 427s assert (conndef (4, "minimal"), C); 427s ***** assert (conndef (1, "maximal"), ones (3, 1)); 427s ***** assert (conndef (2, "maximal"), ones (3, 3)); 427s ***** assert (conndef (3, "maximal"), ones (3, 3, 3)); 427s ***** assert (conndef (4, "maximal"), ones (3, 3, 3, 3)); 427s ***** assert (nnz (conndef (3, "minimal")), 7) 427s ***** assert (nnz (conndef (4, "minimal")), 9) 427s ***** assert (nnz (conndef (5, "minimal")), 11) 427s ***** assert (nnz (conndef (6, "minimal")), 13) 427s ***** assert (find (conndef (3, "minimal")), [5 11 13 14 15 17 23](:)) 427s ***** assert (find (conndef (4, "minimal")), [14 32 38 40 41 42 44 50 68](:)) 427s ***** assert (find (conndef (5, "minimal")), 427s [ 41 95 113 119 121 122 123 125 131 149 203](:)) 427s ***** assert (find (conndef (6, "minimal")), 427s [ 122 284 338 356 362 364 365 366 368 374 392 446 608](:)) 427s ***** error conndef () 427s ***** error conndef (-2, "minimal") 427s ***** error conndef (char (2), "minimal") 427s ***** error conndef ("minimal", 3) 427s ***** error conndef (3, "invalid") 427s ***** error conndef (10) 427s ***** assert (conndef (2, "minimal"), conndef (4)) 428s ***** assert (conndef (2, "maximal"), conndef (8)) 428s ***** assert (conndef (3, "minimal"), conndef (6)) 428s ***** assert (conndef (3, "maximal"), conndef (26)) 428s ***** assert (conndef (18), reshape ([0 1 0 1 1 1 0 1 0 428s 1 1 1 1 1 1 1 1 1 428s 0 1 0 1 1 1 0 1 0], [3 3 3])) 428s ***** test iptcheckconn ( 4, "func", "var") 428s ***** test iptcheckconn ( 6, "func", "var") 428s ***** test iptcheckconn ( 8, "func", "var") 428s ***** test iptcheckconn (18, "func", "var") 428s ***** test iptcheckconn (26, "func", "var") 428s ***** test iptcheckconn (1, "func", "var") 428s ***** test iptcheckconn (ones (3, 1), "func", "var") 428s ***** test iptcheckconn (ones (3, 3), "func", "var") 428s ***** test iptcheckconn (ones (3, 3, 3), "func", "var") 428s ***** test iptcheckconn (ones (3, 3, 3, 3), "func", "var") 428s ***** error 428s iptcheckconn (3, "func", "VAR"); 428s ***** error 428s iptcheckconn ([1 1 1; 1 0 1; 1 1 1], "func", "VAR"); 428s ***** error 428s iptcheckconn ([1 2 1; 1 1 1; 1 1 1], "func", "VAR"); 428s ***** error 428s iptcheckconn ([0 1 1; 1 1 1; 1 1 1], "func", "VAR"); 428s ***** error 428s iptcheckconn (ones (3, 3, 3, 4), "func", "VAR"); 428s 42 tests, 42 passed, 0 known failure, 0 skipped 428s [src/hough_line.cc] 428s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/src/hough_line.cc 428s ***** test 428s I = zeros(100, 100); 428s I(1,1) = 1; I(100,100) = 1; I(1,100) = 1; I(100, 1) = 1; I(50,50) = 1; 428s [J, R] = houghtf(I); J = J / max(J(:)); 428s assert(size(J) == [length(R) 181]); 428s 428s ***** demo 428s I = zeros(100, 150); 428s I(30,:) = 1; I(:, 65) = 1; I(35:45, 35:50) = 1; 428s for i = 1:90, I(i,i) = 1;endfor 428s I = imnoise(I, 'salt & pepper'); 428s imshow(I); 428s J = houghtf(I); J = J / max(J(:)); 428s imshow(J); 428s 1 test, 1 passed, 0 known failure, 0 skipped 428s [src/__spatial_filtering__.cc] 428s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/src/__spatial_filtering__.cc 428s ***** error 428s __spatial_filtering__ (ones (10), ones (3), "std", ones (10), 0) 428s ***** error 428s __spatial_filtering__ (ones (10), ones (3), "std", ones (3, 3, 3), 0) 428s ***** error 428s __spatial_filtering__ (ones (10), ones (3), "std", ones (1, 9), 0) 428s ***** shared a, domain, s, out 428s a = [ 82 2 97 43 79 43 41 65 51 11 428s 60 65 21 56 94 77 36 38 75 39 428s 32 68 78 1 16 75 76 90 81 56 428s 43 90 82 41 36 1 87 19 18 63 428s 63 64 2 48 18 43 38 25 22 99 428s 12 46 90 79 3 92 39 79 10 22 428s 38 98 11 10 40 90 88 38 4 76 428s 54 37 9 4 33 98 36 47 53 57 428s 38 76 82 50 14 74 64 99 7 33 428s 88 96 41 62 84 89 97 23 41 3]; 428s 428s domain = ones (3); 428s s = zeros (3); 428s 428s out = [ 2 1 1 1 16 36 36 11 428s 21 1 1 1 1 1 18 18 428s 2 1 1 1 1 1 18 18 428s 2 2 2 1 1 1 10 10 428s 2 2 2 3 3 25 4 4 428s 9 4 3 3 3 36 4 4 428s 9 4 4 4 14 36 4 4 428s 9 4 4 4 14 23 7 3]; 428s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, 1), out); 428s 428s out = [ 97 97 97 94 94 90 90 90 428s 90 90 94 94 94 90 90 90 428s 90 90 82 75 87 90 90 99 428s 90 90 90 92 92 92 87 99 428s 98 98 90 92 92 92 88 99 428s 98 98 90 98 98 98 88 79 428s 98 98 82 98 98 99 99 99 428s 96 96 84 98 98 99 99 99]; 428s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, nnz (domain)), out); 428s 428s out = [ 60 43 43 43 43 43 51 51 428s 60 56 36 36 36 38 38 39 428s 63 48 18 18 36 38 25 25 428s 46 48 36 36 36 38 22 22 428s 38 46 11 40 39 39 25 22 428s 37 11 10 33 39 47 38 38 428s 38 11 11 33 40 64 38 38 428s 41 41 33 50 64 64 41 33]; 428s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, 4), out); 428s 428s out = [ 31.223 33.788 35.561 31.011 26.096 20.630 20.403 24.712 428s 23.428 29.613 32.376 34.002 33.593 32.470 29.605 26.333 428s 27.834 32.890 29.903 24.207 30.083 32.497 31.898 32.600 428s 32.027 28.995 33.530 31.002 32.241 32.004 27.501 32.070 428s 34.682 36.030 33.046 33.745 32.509 27.352 28.607 34.180 428s 32.709 37.690 32.992 40.036 34.456 26.656 27.685 26.863 428s 30.971 36.227 25.775 34.873 29.917 25.269 32.292 30.410 428s 29.135 31.626 30.056 33.594 30.814 28.853 30.917 29.120]; 428s ***** assert (__spatial_filtering__ (a, domain, "std", s), out, 0.001); 428s 428s out = [ 95 96 96 93 78 54 54 79 428s 69 89 93 93 93 89 72 72 428s 88 89 81 74 86 89 72 81 428s 88 88 88 91 91 91 77 89 428s 96 96 88 89 89 67 84 95 428s 89 94 87 95 95 62 84 75 428s 89 94 78 94 84 63 95 95 428s 87 92 80 94 84 76 92 96]; 428s ***** assert (__spatial_filtering__ (a, domain, "range", s), out); 428s 428s domain = [ 1 1 0 428s 0 1 1 428s 0 1 0]; 428s 428s out = [ 2 2 1 16 36 36 38 39 428s 60 1 1 16 1 36 19 18 428s 32 2 1 1 1 19 18 18 428s 2 2 18 3 1 1 19 10 428s 46 2 2 3 18 38 10 4 428s 11 9 4 3 3 36 4 4 428s 9 4 4 10 36 36 38 4 428s 37 9 4 4 33 36 7 7]; 428s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, 1), out); 428s 428s out = [ 82 97 97 94 79 76 90 81 428s 90 82 56 94 94 90 90 81 428s 90 82 78 36 87 87 90 90 428s 90 90 82 43 92 87 87 99 428s 98 90 79 92 92 88 79 25 428s 98 90 90 90 98 92 79 79 428s 98 98 50 98 98 90 99 57 428s 96 82 62 84 98 99 99 53]; 428s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, nnz (domain)), out); 428s 428s out = [ 68 78 94 79 77 43 75 75 428s 78 78 41 75 77 87 81 75 428s 82 78 48 18 75 76 76 81 428s 64 90 79 41 43 39 79 22 428s 90 79 48 48 90 79 38 22 428s 46 46 79 79 92 88 47 76 428s 76 82 33 40 90 88 88 53 428s 82 50 50 74 89 98 47 47]; 428s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, 4), out); 428s 428s out = [ 34.2389 39.2772 39.6699 31.6812 20.7364 16.5439 22.2419 17.2395 428s 11.9248 36.3084 21.6217 30.8350 36.4047 21.6726 30.9144 26.1017 428s 22.2980 33.2746 27.5808 14.5017 36.8890 29.0259 34.6020 33.2521 428s 32.2490 37.9579 26.9685 17.1959 32.5346 31.3847 33.5976 36.8280 428s 21.3354 40.1833 34.0044 33.9882 32.9894 24.1102 25.6613 9.0995 428s 35.4641 35.3794 39.0871 35.4753 39.9775 28.7193 26.7451 35.6553 428s 35.2179 45.3398 19.3210 35.2987 28.4042 24.0832 26.8421 25.0539 428s 23.4307 26.2812 26.3287 35.6959 25.2646 28.1016 34.9829 17.9221]; 428s ***** assert (__spatial_filtering__ (a, domain, "std", s), out, 0.001); 428s 428s out = [ 80 95 96 78 43 40 52 42 428s 30 81 55 78 93 54 71 63 428s 58 80 77 35 86 68 72 72 428s 88 88 64 40 91 86 68 89 428s 52 88 77 89 74 50 69 21 428s 87 81 86 87 95 56 75 75 428s 89 94 46 88 62 54 61 53 428s 59 73 58 80 65 63 92 46]; 428s ***** assert (__spatial_filtering__ (a, domain, "range", s), out); 428s 428s s = [ 1 -3 4 428s 6 -7 2 428s -1 3 -5]; 428s 428s out = [ -1 3 4 19 38 29 31 41 428s 61 3 -6 9 4 33 22 21 428s 33 5 -2 2 -6 21 12 11 428s 4 -5 20 6 -2 2 16 13 428s 39 -1 3 -4 19 32 12 3 428s 13 4 3 0 4 36 6 -3 428s 11 2 -3 11 38 29 35 1 428s 34 6 1 5 34 33 9 0]; 428s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, 1), out); 428s 428s out = [ 83 94 98 87 80 79 93 84 428s 93 85 53 91 95 92 83 74 428s 84 75 79 29 89 80 87 91 428s 87 93 83 45 95 84 88 101 428s 101 83 72 94 93 91 72 26 428s 91 87 91 92 101 93 76 80 428s 95 99 53 100 91 91 102 59 428s 99 75 65 87 95 101 92 50]; 428s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, nnz (domain)), out); 428s 428s out = [ 71 81 96 79 78 44 77 68 428s 80 71 44 77 78 90 83 72 428s 83 75 51 21 72 76 77 78 428s 57 91 82 42 40 42 82 20 428s 92 81 45 49 85 81 41 24 428s 43 47 76 80 90 81 50 78 428s 79 85 35 37 87 85 89 46 428s 84 52 43 76 92 100 44 48]; 428s ***** assert (__spatial_filtering__ (a, domain, "ordered", s, 4), out); 428s 428s out = [ 34.903 40.206 39.885 28.627 20.620 19.248 25.209 17.111 428s 14.536 35.865 23.221 32.230 34.903 23.923 28.879 22.621 428s 20.635 30.113 29.351 11.610 38.863 25.936 34.608 34.482 428s 29.811 40.998 28.279 17.897 34.666 29.978 36.150 38.213 428s 25.066 39.240 30.013 37.300 31.856 27.428 22.884 10.281 428s 31.890 34.761 39.645 37.526 39.336 27.031 25.648 39.285 428s 35.017 47.776 22.764 35.912 25.460 25.636 29.861 24.566 428s 25.213 25.000 26.391 38.451 24.631 31.305 31.118 20.611]; 428s ***** assert (__spatial_filtering__ (a, domain, "std", s), out, 0.001); 428s 428s out = [ 84 91 94 68 42 50 62 43 428s 32 82 59 82 91 59 61 53 428s 51 70 81 27 95 59 75 80 428s 83 98 63 39 97 82 72 88 428s 62 84 69 98 74 59 60 23 428s 78 83 88 92 97 57 70 83 428s 84 97 56 89 53 62 67 58 428s 65 69 64 82 61 68 83 50]; 428s ***** assert (__spatial_filtering__ (a, domain, "range", s), out); 428s 18 tests, 18 passed, 0 known failure, 0 skipped 428s [src/imreconstruct.cc] 428s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/src/imreconstruct.cc 428s ***** function recon = parallel_reconstruction (marker, mask, 428s conn = conndef (ndims (marker), "maximal")) 428s do 428s previous = marker; 428s marker = imdilate (marker, conn); 428s ## FIXME https://savannah.gnu.org/bugs/index.php?43712 428s if (strcmp (class (marker), "logical")) 428s marker = marker & mask; 428s else 428s marker = min (marker, mask); 428s endif 428s until (all ((marker == previous)(:))) 428s recon = marker; 428s ***** endfunction 428s ***** test 428s for cl = {"int8", "uint8", "int16", "uint16", "int32", "uint32"} 428s cl = cl{1}; 428s a = randi ([intmin(cl) intmax(cl)-30], 100, 100, cl); 428s b = a + randi (20, 100, 100, cl); 428s assert (imreconstruct (a, b), parallel_reconstruction (a, b)) 428s endfor 428s for cl = {"double", "single"} 428s cl = cl{1}; 428s a = (rand (100, 100, cl) - 0.5) .* 1000; 428s b = a + rand (100, 100, cl) * 100; 428s assert (imreconstruct (a, b), parallel_reconstruction (a, b)) 428s endfor 428s ***** test 428s for cl = {"int8", "uint8", "int16", "uint16", "int32", "uint32"} 428s cl = cl{1}; 428s a = randi ([intmin(cl) intmax(cl)-30], 100, 100, cl); 428s b = a + randi (20, 100, 100, cl); 428s c = [0 1 0; 1 1 1; 0 1 0]; 428s assert (imreconstruct (a, b, c), parallel_reconstruction (a, b, c)) 428s endfor 428s ***** test 428s a = randi (210, 100, 100); 428s b = a + randi (20, 100, 100); 428s c = ones (3, 1); 428s assert (imreconstruct (a, b, c), parallel_reconstruction (a, b, c)) 428s ***** test 428s a = randi (210, 500, 500, 10, 4); 428s b = a + randi (20, 500, 500, 10, 4); 428s c = ones (3, 3, 3); 428s assert (imreconstruct (a, b, c), parallel_reconstruction (a, b, c)) 448s ***** test 448s a = randi (210, 500, 500, 10, 4); 448s b = a + randi (20, 500, 500, 10, 4); 448s c = conndef (4, "minimal"); 448s assert (imreconstruct (a, b, c), parallel_reconstruction (a, b, c)) 457s ***** test 457s a = [ 0 0 0 0 0 0 0 1 0 0 457s 0 0 0 0 0 0 0 1 0 0 457s 1 0 0 0 0 0 0 0 0 0 457s 0 0 0 0 0 0 0 0 0 0 457s 0 0 0 0 0 0 0 1 0 0 457s 0 0 0 0 0 0 1 0 0 0 457s 0 0 0 0 0 0 0 0 0 0 457s 0 0 0 0 0 0 0 0 0 0 457s 0 0 0 0 1 0 0 0 0 0 457s 0 0 0 0 0 0 0 1 0 0]; 457s 457s b = [ 0 1 0 0 0 0 0 1 1 0 457s 1 1 0 0 0 1 0 1 1 0 457s 1 1 0 0 1 0 0 0 0 0 457s 1 1 0 0 0 1 1 0 0 0 457s 1 0 0 0 0 0 1 1 0 0 457s 0 1 0 0 0 0 1 1 0 0 457s 0 0 0 1 0 0 0 0 0 0 457s 0 0 0 0 1 1 0 0 0 0 457s 0 0 0 1 1 0 0 0 0 0 457s 1 0 0 0 1 0 0 1 0 1]; 457s 457s c = [ 0 1 0 0 0 0 0 1 1 0 457s 1 1 0 0 0 1 0 1 1 0 457s 1 1 0 0 1 0 0 0 0 0 457s 1 1 0 0 0 1 1 0 0 0 457s 1 0 0 0 0 0 1 1 0 0 457s 0 1 0 0 0 0 1 1 0 0 457s 0 0 0 1 0 0 0 0 0 0 457s 0 0 0 0 1 1 0 0 0 0 457s 0 0 0 1 1 0 0 0 0 0 457s 0 0 0 0 1 0 0 1 0 0]; 457s assert (imreconstruct (logical (a), logical (b)), logical (c)); 457s 457s c = [ 0 1 0 0 0 0 0 1 1 0 457s 1 1 0 0 0 0 0 1 1 0 457s 1 1 0 0 0 0 0 0 0 0 457s 1 1 0 0 0 1 1 0 0 0 457s 1 0 0 0 0 0 1 1 0 0 457s 0 0 0 0 0 0 1 1 0 0 457s 0 0 0 0 0 0 0 0 0 0 457s 0 0 0 0 1 1 0 0 0 0 457s 0 0 0 1 1 0 0 0 0 0 457s 0 0 0 0 1 0 0 1 0 0]; 457s assert (imreconstruct (logical (a), logical (b), [0 1 0; 1 1 1; 0 1 0]), 457s logical (c)); 457s ***** test 457s do 457s b = rand (100, 100, 100) > 0.98; 457s until (nnz (b) > 4) 457s b = imdilate (b, ones (5, 5, 5)); 457s a = false (size (b)); 457s f = find (b); 457s a(f(randi (numel (f), 6, 1))) = true; 457s assert (imreconstruct (a, b), parallel_reconstruction (a, b)) 459s ***** test 459s a = randi (200, 100,100, 10, 10); 459s b = a + randi (20, 100,100, 10, 10); 459s c1 = ones (3, 3, 3); 459s c2 = zeros (3, 3, 3, 3); 459s c2(:,:,:,2) = c1; 459s assert (imreconstruct (a, b, c1), imreconstruct (a, b, c2)) 460s ***** test 460s ## Values in MARKER above MASK should be clipped (bug #48794) 460s ## (well, treated internally as if they were clipped) 460s mask = logical ([1 1 1; 1 0 1; 1 1 1]); 460s assert (imreconstruct (true (3, 3), mask), mask) 460s 460s mask = ones (5, 5); 460s mask(2:4,2:4) = 0; 460s assert (imreconstruct (ones (5, 5), mask), mask) 460s 460s mask = ones (5, 5); 460s mask(2:4,2:4) = 0; 460s assert (imreconstruct (repmat (2, [5, 5]), mask), mask) 460s 460s mask = ones (5, 5); 460s mask(2:4,2:4) = 0; 460s assert (imreconstruct (repmat (2, [5, 5]), mask), mask) 460s 460s marker = ones (3, 3, 3, 3); 460s mask = marker; 460s mask(2, 2, 2, 2) = 0; 460s assert (imreconstruct (marker, mask), mask) 460s 460s marker = randi (210, 100, 100); 460s assert (imreconstruct (marker +1, marker), marker) 460s assert (imreconstruct (marker +1, marker), imreconstruct (marker, marker)) 460s 9 tests, 9 passed, 0 known failure, 0 skipped 460s [src/bwconncomp.cc] 460s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/src/bwconncomp.cc 460s ***** test 460s a = rand (10) > 0.5; 460s cc = bwconncomp (a, 4); 460s assert (cc.Connectivity, 4) 460s assert (cc.ImageSize, [10 10]) 460s 460s b = false (10); 460s for i = 1:numel (cc.PixelIdxList) 460s b(cc.PixelIdxList{i}) = true; 460s endfor 460s assert (a, b) 460s ***** test 460s a = rand (10, 13) > 0.5; 460s cc = bwconncomp (a, 4); 460s assert (cc.ImageSize, [10 13]) 460s 460s b = false (10, 13); 460s for i = 1:numel (cc.PixelIdxList) 460s b(cc.PixelIdxList{i}) = true; 460s endfor 460s assert (a, b) 460s ***** test 460s a = rand (15) > 0.5; 460s conn_8 = bwconncomp (a, 8); 460s assert (conn_8, bwconncomp (a)) 460s assert (conn_8, bwconncomp (a, ones (3))) 460s assert (conn_8.Connectivity, 8) 460s assert (bwconncomp (a, ones (3)).Connectivity, 8) 460s assert (bwconncomp (a, [0 1 0; 1 1 1; 0 1 0]).Connectivity, 4) 460s ***** test 460s bw = logical ([ 460s 1 0 0 1 0 1 0 460s 1 0 0 1 0 1 0 460s 0 0 0 0 0 1 0 460s 0 0 0 0 1 0 0 460s 1 1 0 1 1 0 0 460s 0 1 0 0 0 0 0 460s 1 1 0 0 0 0 0 460s ]); 460s cc = bwconncomp (bw); 460s cc = struct (); 460s cc.Connectivity = 8; 460s cc.ImageSize = [7 7]; 460s cc.NumObjects = 4; 460s ## The commented line has the results from Matlab. We return the 460s ## same result but in a slightly different order. Since the order 460s ## is not defined, it is not required for compatibility. 460s #cc.PixelIdxList = {[1;2], [5;7;12;13;14], [22;23], [26;32;33;36;37;38]}; 460s cc.PixelIdxList = {[1;2], [5;12;13;7;14], [22;23], [26;32;33;38;37;36]}; 460s assert (bwconncomp (bw), cc) 460s ***** test 460s ## test that PixelIdxList is a row vector 460s a = rand (40, 40) > 0.2; 460s cc = bwconncomp (a, 4); 460s assert (rows (cc.PixelIdxList), 1) 460s assert (columns (cc.PixelIdxList), cc.NumObjects) 460s ***** assert (bwconncomp (false (5)), struct ("ImageSize", [5 5], "NumObjects", 0, 460s "PixelIdxList", {cell(1, 0)}, 460s "Connectivity", 8)) 460s ***** test 460s in = [ 0 0 1 0 0 1 0 1 0 0 460s 0 0 1 0 0 0 0 0 1 1 460s 1 0 0 0 0 1 1 0 0 0 460s 1 0 0 0 1 0 0 0 0 0 460s 1 1 1 1 0 0 0 0 0 1 460s 0 1 0 1 1 0 0 1 0 0 460s 1 0 0 0 1 0 0 0 0 0 460s 0 0 0 1 1 0 0 1 0 0 460s 0 1 0 1 1 0 0 1 1 0 460s 0 1 0 1 1 1 0 0 1 0]; 460s assert (bwareaopen (in, 1, 4), logical (in)) 460s 460s out = [0 0 0 0 0 0 0 0 0 0 460s 0 0 0 0 0 0 0 0 0 0 460s 1 0 0 0 0 0 0 0 0 0 460s 1 0 0 0 0 0 0 0 0 0 460s 1 1 1 1 0 0 0 0 0 0 460s 0 1 0 1 1 0 0 0 0 0 460s 0 0 0 0 1 0 0 0 0 0 460s 0 0 0 1 1 0 0 0 0 0 460s 0 0 0 1 1 0 0 0 0 0 460s 0 0 0 1 1 1 0 0 0 0]; 460s assert (bwareaopen (logical (in), 10, 4), logical (out)) 460s assert (bwareaopen (in, 10, 4), logical (out)) 460s assert (bwareaopen (in, 10, [0 1 0; 1 1 1; 0 1 0]), logical (out)) 460s 460s out = [0 0 0 0 0 0 0 0 0 0 460s 0 0 0 0 0 0 0 0 0 0 460s 1 0 0 0 0 1 1 0 0 0 460s 1 0 0 0 1 0 0 0 0 0 460s 1 1 1 1 0 0 0 0 0 0 460s 0 1 0 1 1 0 0 0 0 0 460s 1 0 0 0 1 0 0 0 0 0 460s 0 0 0 1 1 0 0 0 0 0 460s 0 0 0 1 1 0 0 0 0 0 460s 0 0 0 1 1 1 0 0 0 0]; 460s assert (bwareaopen (in, 10, 8), logical (out)) 460s assert (bwareaopen (in, 10, ones (3)), logical (out)) 460s assert (bwareaopen (in, 10), logical (out)) 460s 460s out = [0 0 0 0 0 0 0 0 0 0 460s 0 0 0 0 0 0 0 0 0 0 460s 1 0 0 0 0 0 0 0 0 0 460s 1 0 0 0 0 0 0 0 0 0 460s 1 1 1 1 0 0 0 0 0 0 460s 0 1 0 1 1 0 0 0 0 0 460s 0 0 0 0 1 0 0 0 0 0 460s 0 0 0 1 1 0 0 1 0 0 460s 0 0 0 1 1 0 0 1 1 0 460s 0 0 0 1 1 1 0 0 1 0]; 460s assert (bwareaopen (in, 4, [1 1 0; 1 1 1; 0 1 1]), logical (out)) 460s ***** error bwareaopen ("not an image", 78, 8) 460s ***** error bwareaopen (rand (10) > 0.5, 10, 100) 460s ***** error bwareaopen (rand (10) > 0.5, 10, "maximal") 460s ***** error bwareaopen (rand (10) > 0.5, 10, [1 1 1; 0 1 1; 0 1 0]) 460s 11 tests, 11 passed, 0 known failure, 0 skipped 460s [src/imerode.cc] 460s >>>>> /tmp/autopkgtest.4IPbOI/build.IWd/src/src/imerode.cc 460s ***** assert (imerode (eye (3), [1]), eye (3)); 460s ***** assert (imerode (eye (3), []), Inf (3, 3)); 460s ***** test 460s im = [0 1 0 460s 1 1 1 460s 0 1 0]; 460s se = [1 0 0 460s 0 1 0 460s 0 1 1]; 460s assert (imerode (im, se), [0 1 0; 0 0 0; 0 1 0]); 460s assert (imerode (logical(im), se), logical ([0 1 0; 0 0 0; 0 1 0])); 460s assert (imerode (im, se, "full"), 460s [ 0 0 0 0 Inf 460s 1 0 1 0 Inf 460s 0 0 0 0 0 460s Inf 0 1 0 1 460s Inf Inf 0 1 0]); 460s assert (imerode (logical(im), se, "full"), 460s logical([0 0 0 0 1 460s 1 0 1 0 1 460s 0 0 0 0 0 460s 1 0 1 0 1 460s 1 1 0 1 0])); 460s ***** xtest 460s a = rand ([10 40 15 6 8 5]) > 0.2; 460s se = ones ([5 3 7]); 460s 460s ## the image is not really indexed but this way it is padded with 1s 460s assert (imerode (a, se), colfilt (a, "indexed", size (se), "sliding", @all)) 460s 460s assert (imerode (a, se, "valid"), convn (a, se, "valid") == nnz (se)) 460s ## again, we need to pad it ourselves because convn pads with zeros 460s b = true (size (a) + [4 2 6 0 0 0]); 460s b(3:12, 2:41, 4:18,:,:,:) = a; 460s assert (imdilate (b, se, "same"), convn (b, se, "same") > 0) 460s b = true (size (a) + [8 4 12 0 0 0]); 460s b(5:14, 3:42, 7:21,:,:,:) = a; 460s assert (imdilate (b, se, "full"), convn (b, se, "full") > 0) 465s ***** test 465s im = [0 0 0 0 0 0 0 465s 0 0 1 0 1 0 0 465s 0 0 1 1 0 1 0 465s 0 0 1 1 1 0 0 465s 0 0 0 0 0 0 0]; 465s se = [0 0 0 465s 0 1 0 465s 0 1 1]; 465s out = [0 0 0 0 0 0 0 465s 0 0 1 0 0 0 0 465s 0 0 1 1 0 0 0 465s 0 0 0 0 0 0 0 465s 0 0 0 0 0 0 0]; 465s assert (imerode (im, se), out); 465s assert (imerode (logical (im), se), logical (out)); 465s assert (imerode (im, logical (se)), out); 465s assert (imerode (logical (im), logical (se)), logical (out)); 465s 465s # with an even-size SE 465s se = [0 0 0 1 465s 0 1 0 0 465s 0 1 1 1]; 465s out = [0 0 0 0 0 0 0 465s 0 0 0 0 0 0 0 465s 0 0 1 0 0 0 0 465s 0 0 0 0 0 0 0 465s 0 0 0 0 0 0 0]; 465s assert (imerode (im, se), out); 465s out = [ 0 0 0 0 1 0 1 465s 0 0 1 0 1 1 0 465s 0 0 1 1 1 1 1 465s 0 0 1 1 1 1 1 465s 0 0 1 1 1 1 1]; 465s assert (imdilate (im, se), out); 465s ***** test 465s a = [ 82 2 97 43 79 43 41 65 51 11 465s 60 65 21 56 94 77 36 38 75 39 465s 32 68 78 1 16 75 76 90 81 56 465s 43 90 82 41 36 1 87 19 18 63 465s 63 64 2 48 18 43 38 25 22 99 465s 12 46 90 79 3 92 39 79 10 22 465s 38 98 11 10 40 90 88 38 4 76 465s 54 37 9 4 33 98 36 47 53 57 465s 38 76 82 50 14 74 64 99 7 33 465s 88 96 41 62 84 89 97 23 41 3]; 465s 465s domain = ones (3); 465s out = [ 2 1 1 1 16 36 36 11 465s 21 1 1 1 1 1 18 18 465s 2 1 1 1 1 1 18 18 465s 2 2 2 1 1 1 10 10 465s 2 2 2 3 3 25 4 4 465s 9 4 3 3 3 36 4 4 465s 9 4 4 4 14 36 4 4 465s 9 4 4 4 14 23 7 3]; 465s assert (imerode (a, domain, "valid"), out); 465s assert (imerode (uint8 (a), domain, "valid"), uint8 (out)); 465s assert (imerode (uint8 (a), strel ("arbitrary", domain), "valid"), uint8 (out)); 465s assert (imerode (uint8 (a), strel ("square", 3), "valid"), uint8 (out)); 465s 465s ***** ## Test for non-flat strel 465s assert (imerode (a, strel ("arbitrary", domain, ones (3)), "valid"), out -1); 465s 465s out = [ 97 97 97 94 94 90 90 90 465s 90 90 94 94 94 90 90 90 465s 90 90 82 75 87 90 90 99 465s 90 90 90 92 92 92 87 99 465s 98 98 90 92 92 92 88 99 465s 98 98 90 98 98 98 88 79 465s 98 98 82 98 98 99 99 99 465s 96 96 84 98 98 99 99 99]; 465s assert (imdilate (a, domain, "valid"), out); 465s assert (imdilate (uint8 (a), domain, "valid"), uint8 (out)); 465s 465s ***** ## Test for non-flat strel 465s assert (imdilate (a, strel ("arbitrary", domain, ones (3)), "valid"), out +1); 465s 465s ## test while using SE that can be decomposed and an actual sequence 465s domain = ones (5); 465s out = [ 2 1 1 1 1 1 16 11 11 11 465s 2 1 1 1 1 1 1 1 11 11 465s 2 1 1 1 1 1 1 1 11 11 465s 2 1 1 1 1 1 1 1 10 10 465s 2 1 1 1 1 1 1 1 4 4 465s 2 2 2 1 1 1 1 1 4 4 465s 2 2 2 2 2 3 3 4 4 4 465s 9 4 3 3 3 3 3 3 3 3 465s 9 4 4 4 4 4 4 3 3 3 465s 9 4 4 4 4 4 7 3 3 3]; 465s assert (imerode (a, domain), out); 465s assert (imerode (a, strel ("square", 5)), out); 465s assert (imerode (a, getsequence (strel ("square", 5))), out); 465s 465s ## using a non-symmetric SE 465s domain = [ 1 1 0 465s 0 1 1 465s 0 1 0]; 465s 465s out = [ 2 2 1 16 36 36 38 39 465s 60 1 1 16 1 36 19 18 465s 32 2 1 1 1 19 18 18 465s 2 2 18 3 1 1 19 10 465s 46 2 2 3 18 38 10 4 465s 11 9 4 3 3 36 4 4 465s 9 4 4 10 36 36 38 4 465s 37 9 4 4 33 36 7 7]; 465s assert (imerode (a, domain, "valid"), out); 465s assert (imerode (a, strel ("arbitrary", domain, ones (3)), "valid"), out -1); 465s 465s out = [ 78 97 56 94 94 90 90 81 465s 90 82 78 94 87 87 90 90 465s 90 90 82 43 75 87 90 99 465s 90 90 79 92 92 87 79 25 465s 98 90 90 90 92 92 79 79 465s 98 98 79 98 98 90 88 57 465s 98 82 50 74 98 99 99 53 465s 96 82 84 89 98 97 99 99]; 465s assert (imdilate (a, domain, "valid"), out); 465s assert (imdilate (a, strel ("arbitrary", domain, ones (3)), "valid"), out +1); 465s ***** test 465s im = reshape (magic(16), [4 8 4 2]); 465s se = true (3, 3, 3); 465s out = zeros (4, 8, 4, 2); 465s out(:,:,1,1) = [ 465s 3 3 46 2 2 2 47 47 465s 3 3 30 2 2 2 31 31 465s 17 17 16 16 16 20 13 13 465s 33 33 16 16 16 36 13 13]; 465s out(:,:,2,1) = [ 465s 3 3 46 2 2 2 43 43 465s 3 3 30 2 2 2 27 27 465s 17 17 12 12 12 20 13 13 465s 33 33 12 12 12 36 13 13]; 465s out(:,:,3,1) = [ 465s 3 3 42 6 6 6 43 43 465s 3 3 26 6 6 6 27 27 465s 21 21 12 12 12 20 9 9 465s 37 37 12 12 12 36 9 9]; 465s out(:,:,4,1) = [ 465s 7 7 42 6 6 6 43 43 465s 7 7 26 6 6 6 27 27 465s 21 21 12 12 12 24 9 9 465s 37 37 12 12 12 40 9 9]; 465s out(:,:,1,2) = [ 465s 11 11 38 10 10 10 39 39 465s 11 11 22 10 10 10 23 23 465s 25 25 8 8 8 28 5 5 465s 41 41 8 8 8 44 5 5]; 465s out(:,:,2,2) = [ 465s 11 11 38 10 10 10 35 35 465s 11 11 22 10 10 10 19 19 465s 25 25 4 4 4 28 5 5 465s 41 41 4 4 4 44 5 5]; 465s out(:,:,3,2) = [ 465s 11 11 34 14 14 14 35 35 465s 11 11 18 14 14 14 19 19 465s 29 29 4 4 4 28 1 1 465s 45 45 4 4 4 44 1 1]; 465s out(:,:,4,2) = [ 465s 15 15 34 14 14 14 35 35 465s 15 15 18 14 14 14 19 19 465s 29 29 4 4 4 32 1 1 465s 45 45 4 4 4 48 1 1]; 465s assert (imerode (im, se), out); 465s assert (imerode (uint16 (im), se), uint16 (out)); 465s 465s ## trying a more weird SE 465s se(:,:,1) = [1 0 1; 0 1 1; 0 0 0]; 465s se(:,:,3) = [1 0 1; 0 1 1; 0 0 1]; 465s out(:,:,1,1) = [ 465s 3 17 46 2 2 2 47 47 465s 17 3 30 2 2 2 31 31 465s 17 17 16 16 16 20 13 31 465s 33 33 16 16 16 36 13 13]; 465s out(:,:,2,1) = [ 465s 3 3 46 2 2 20 43 61 465s 3 3 30 2 20 2 27 43 465s 33 17 12 20 20 20 13 13 465s 51 33 12 12 30 36 13 13]; 465s out(:,:,3,1) = [ 465s 3 21 42 6 6 6 43 43 465s 21 3 26 6 6 6 27 27 465s 21 21 12 12 12 20 9 27 465s 37 37 12 12 12 36 9 9]; 465s out(:,:,4,1) = [ 465s 7 7 42 6 6 24 57 57 465s 7 7 26 6 24 6 43 43 465s 37 21 26 24 24 24 9 9 465s 55 37 12 12 26 40 9 9]; 465s out(:,:,1,2) = [ 465s 11 25 38 10 10 10 39 39 465s 25 11 22 10 10 10 23 23 465s 25 25 8 8 8 28 5 23 465s 41 41 8 8 8 44 5 5]; 465s out(:,:,2,2) = [ 465s 11 11 38 10 10 28 35 53 465s 11 11 22 10 22 10 19 35 465s 41 25 4 22 22 28 5 5 465s 59 41 4 4 22 44 5 5]; 465s out(:,:,3,2) = [ 465s 11 29 34 14 14 14 35 35 465s 29 11 18 14 14 14 19 19 465s 29 29 4 4 4 28 1 19 465s 45 45 4 4 4 44 1 1]; 465s out(:,:,4,2) = [ 465s 15 15 34 14 14 32 49 49 465s 15 15 18 14 18 14 35 35 465s 45 29 18 18 18 32 1 1 465s 63 45 4 4 18 48 1 1]; 465s assert (imerode (im, se), out); 465s assert (imerode (uint16 (im), se), uint16 (out)); 465s ***** error imerode (ones (10), 45) 465s ***** error imerode (ones (10), "some text") 465s ***** error imerode (ones (10), {23, 45}) 465s ***** error imerode (rand (10) > 10 , strel ("arbitrary", true (3), ones (3))) 465s ***** xtest 465s a = rand ([10 40 15 6 8 5]) > 0.8; 465s se = ones ([5 3 7]); 465s assert (imdilate (a, se), convn (a, se, "same") > 0) 465s assert (imdilate (a, se, "full"), convn (a, se, "full") > 0) 465s assert (imdilate (a, se, "valid"), convn (a, se, "valid") > 0) 465s assert (imdilate (a, se), colfilt (a, size (se), "sliding", @any)) 469s ***** test 469s im = reshape (magic(16), [4 8 4 2]); 469s se = true (3, 3, 3); 469s out = zeros (4, 8, 4, 2); 469s 469s out(:,:,1,1) = [ 469s 256 256 209 253 253 253 212 212 469s 256 256 225 253 253 253 228 228 469s 238 238 243 243 243 239 242 242 469s 222 222 243 243 243 223 242 242]; 469s out(:,:,2,1) = [ 469s 256 256 213 253 253 253 212 212 469s 256 256 229 253 253 253 228 228 469s 238 238 243 243 243 239 246 246 469s 222 222 243 243 243 223 246 246]; 469s out(:,:,3,1) = [ 469s 252 252 213 253 253 253 216 216 469s 252 252 229 253 253 253 232 232 469s 238 238 247 247 247 235 246 246 469s 222 222 247 247 247 219 246 246]; 469s out(:,:,4,1) = [ 469s 252 252 213 249 249 249 216 216 469s 252 252 229 249 249 249 232 232 469s 234 234 247 247 247 235 246 246 469s 218 218 247 247 247 219 246 246]; 469s out(:,:,1,2) = [ 469s 248 248 217 245 245 245 220 220 469s 248 248 233 245 245 245 236 236 469s 230 230 251 251 251 231 250 250 469s 214 214 251 251 251 215 250 250]; 469s out(:,:,2,2) = [ 469s 248 248 221 245 245 245 220 220 469s 248 248 237 245 245 245 236 236 469s 230 230 251 251 251 231 254 254 469s 214 214 251 251 251 215 254 254]; 469s out(:,:,3,2) = [ 469s 244 244 221 245 245 245 224 224 469s 244 244 237 245 245 245 240 240 469s 230 230 255 255 255 227 254 254 469s 214 214 255 255 255 211 254 254]; 469s out(:,:,4,2) = [ 469s 244 244 221 241 241 241 224 224 469s 244 244 237 241 241 241 240 240 469s 226 226 255 255 255 227 254 254 469s 210 210 255 255 255 211 254 254]; 469s assert (imdilate (im, se), out); 469s assert (imdilate (uint16 (im), se), uint16 (out)); 469s 469s ## trying a more weird SE 469s se(:,:,1) = [1 0 1; 0 1 1; 0 0 0]; 469s se(:,:,3) = [1 0 1; 0 1 1; 0 0 1]; 469s out(:,:,1,1) = [ 469s 256 256 209 239 253 253 212 194 469s 256 256 225 239 239 239 228 212 469s 222 222 243 239 243 239 242 242 469s 208 208 225 243 243 223 242 242]; 469s out(:,:,2,1) = [ 469s 256 256 213 253 253 253 212 212 469s 238 256 229 253 253 253 228 228 469s 238 238 243 243 243 239 246 228 469s 222 222 243 243 243 223 228 246]; 469s out(:,:,3,1) = [ 469s 252 252 213 235 253 253 216 198 469s 252 252 229 235 235 253 232 216 469s 222 238 247 235 247 235 246 246 469s 204 222 229 247 247 219 246 246]; 469s out(:,:,4,1) = [ 469s 252 252 213 249 249 249 216 216 469s 234 252 229 249 249 249 232 232 469s 234 234 247 247 247 235 246 232 469s 218 218 247 247 247 219 232 246]; 469s out(:,:,1,2) = [ 469s 248 248 217 231 245 245 220 202 469s 248 248 233 233 233 231 236 220 469s 214 214 251 233 251 231 250 250 469s 200 200 233 251 251 215 250 250]; 469s out(:,:,2,2) = [ 469s 248 248 221 245 245 245 220 220 469s 230 248 237 245 245 245 236 236 469s 230 230 251 251 251 231 254 236 469s 214 214 251 251 251 215 236 254]; 469s out(:,:,3,2) = [ 469s 244 244 221 227 245 245 224 206 469s 244 244 237 237 237 245 240 224 469s 214 230 255 237 255 227 254 254 469s 196 214 237 255 255 211 254 254]; 469s out(:,:,4,2) = [ 469s 244 244 221 241 241 241 224 224 469s 226 244 237 241 241 241 240 240 469s 226 226 255 255 255 227 254 240 469s 210 210 255 255 255 211 240 254]; 469s assert (imdilate (im, se), out); 469s assert (imdilate (uint16 (im), se), uint16 (out)); 469s ***** test # scalar blank SE 469s se = 0; 469s assert (imerode (5, se), Inf) 469s assert (imerode (true, se), true) 469s assert (imerode (false, se), true) 469s assert (imerode (uint8 (3), se), uint8 (255)) 469s 469s assert (imdilate (5, se), -Inf) 469s assert (imdilate (true, se), false) 469s assert (imdilate (false, se), false) 469s assert (imdilate (uint8 (3), se), uint8 (0)) 469s ***** test # empty SE 469s se = []; 469s assert (imerode (5, se), Inf) 469s assert (imerode (true, se), true) 469s assert (imerode (false, se), true) 469s assert (imerode (uint8 (3), se), uint8 (255)) 469s 469s assert (imdilate (5, se), -Inf) 469s assert (imdilate (true, se), false) 469s assert (imdilate (false, se), false) 469s assert (imdilate (uint8 (3), se), uint8 (0)) 469s ***** test # non-scalar blank SE 469s se = zeros (3, 3); 469s assert (imerode (5, se), Inf) 469s assert (imerode (true, se), true) 469s assert (imerode (false, se), true) 469s assert (imerode (uint8 (3), se), uint8 (255)) 469s 469s assert (imdilate (5, se), -Inf) 469s assert (imdilate(true, se), false) 469s assert (imdilate (false, se), false) 469s assert (imdilate (uint8 (3), se), uint8 (0)) 469s ***** test # erode only with out-of-border elements 469s se = [1 1 1; 1 0 1; 1 1 1]; 469s assert (imerode (5, se), Inf) 469s assert (imerode (true, se), true) 469s 469s assert (imdilate (5, se), -Inf) 469s assert (imdilate (true, se), false) 469s ***** test # only true elements of SE are out-of-border 469s se = [0 0 0; 1 0 0; 1 1 0]; 469s assert (imerode (zeros (3), se), [0 0 0; 0 0 0; Inf 0 0]) 469s assert (imerode (false (3), se), logical ([0 0 0; 0 0 0; 1 0 0])) 469s assert (imdilate (zeros (3), se), [0 0 -Inf; 0 0 0; 0 0 0]) 469s assert (imdilate (false (3), se), false (3, 3)) 469s 469s se = [0 0 0; 0 0 0; 1 1 1]; 469s assert (imerode (zeros (3, 3), se), [0 0 0; 0 0 0; Inf Inf Inf]) 469s assert (imerode (false (3, 3), se), logical ([0 0 0; 0 0 0; 1 1 1])) 469s assert (imdilate (zeros (3, 3), se), [-Inf -Inf -Inf; 0 0 0; 0 0 0]) 469s assert (imdilate (false (3, 3), se), false (3, 3)) 469s ***** test # only true elements of even-sized SE are out-of-border 469s se = logical ([0 1; 1 1]); 469s assert (imerode (false (3, 3), se), logical ([0 0 0; 0 0 0; 0 0 1])) 469s assert (imerode (zeros (3, 3), se), [0 0 0; 0 0 0; 0 0 Inf]) 469s 469s assert (imdilate (false (3, 3), se), false (3, 3)) 469s assert (imdilate (zeros (3, 3), se), [-Inf 0 0; 0 0 0; 0 0 0]) 469s 19 tests, 19 passed, 0 known failure, 0 skipped 470s Done running the unit tests. 470s Summary: 2033 tests, 1998 passed, 35 known failures, 0 skipped 470s autopkgtest [23:31:45]: test command1: -----------------------] 474s command1 PASS 474s autopkgtest [23:31:49]: test command1: - - - - - - - - - - results - - - - - - - - - - 478s autopkgtest [23:31:53]: @@@@@@@@@@@@@@@@@@@@ summary 478s command1 PASS